]> git.saurik.com Git - wxWidgets.git/blob - configure
use C compiler for tests again, it's useless to use the C++ one for AC_CHECK_FUNCS...
[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.1.
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.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
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 wx_top_builddir 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 WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS 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 EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON 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 AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_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_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_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_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_0 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_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 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_PCH_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 USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE 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 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.7.1
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=7
1805 wx_release_number=2
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2196 DEFAULT_wxUSE_RPATH=yes
2197 DEFAULT_wxUSE_PERMISSIVE=no
2198 DEFAULT_wxUSE_DEBUG_FLAG=yes
2199 DEFAULT_wxUSE_DEBUG_INFO=yes
2200 DEFAULT_wxUSE_DEBUG_GDB=yes
2201 DEFAULT_wxUSE_MEM_TRACING=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2203 DEFAULT_wxUSE_DMALLOC=no
2204 DEFAULT_wxUSE_APPLE_IEEE=no
2205
2206 DEFAULT_wxUSE_EXCEPTIONS=no
2207 DEFAULT_wxUSE_LOG=yes
2208 DEFAULT_wxUSE_LOGWINDOW=no
2209 DEFAULT_wxUSE_LOGGUI=no
2210 DEFAULT_wxUSE_LOGDIALOG=no
2211
2212 DEFAULT_wxUSE_GUI=yes
2213 DEFAULT_wxUSE_CONTROLS=no
2214
2215 DEFAULT_wxUSE_REGEX=no
2216 DEFAULT_wxUSE_XML=no
2217 DEFAULT_wxUSE_EXPAT=no
2218 DEFAULT_wxUSE_ZLIB=no
2219 DEFAULT_wxUSE_LIBPNG=no
2220 DEFAULT_wxUSE_LIBJPEG=no
2221 DEFAULT_wxUSE_LIBTIFF=no
2222 DEFAULT_wxUSE_LIBXPM=no
2223 DEFAULT_wxUSE_LIBMSPACK=no
2224 DEFAULT_wxUSE_LIBSDL=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS=no
2227 DEFAULT_wxUSE_LIBHILDON=no
2228 DEFAULT_wxUSE_ODBC=no
2229 DEFAULT_wxUSE_OPENGL=no
2230
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2232 DEFAULT_wxUSE_STACKWALKER=no
2233 DEFAULT_wxUSE_DEBUGREPORT=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2235 DEFAULT_wxUSE_STD_IOSTREAM=no
2236 DEFAULT_wxUSE_STD_STRING=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER=no
2238 DEFAULT_wxUSE_DATETIME=no
2239 DEFAULT_wxUSE_TIMER=no
2240 DEFAULT_wxUSE_STOPWATCH=no
2241 DEFAULT_wxUSE_FILE=no
2242 DEFAULT_wxUSE_FFILE=no
2243 DEFAULT_wxUSE_STDPATHS=no
2244 DEFAULT_wxUSE_TEXTBUFFER=no
2245 DEFAULT_wxUSE_TEXTFILE=no
2246 DEFAULT_wxUSE_SOUND=no
2247 DEFAULT_wxUSE_MEDIACTRL=no
2248 DEFAULT_wxUSE_GSTREAMER8=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2250 DEFAULT_wxUSE_INTL=no
2251 DEFAULT_wxUSE_CONFIG=no
2252 DEFAULT_wxUSE_FONTMAP=no
2253 DEFAULT_wxUSE_STREAMS=no
2254 DEFAULT_wxUSE_SOCKETS=no
2255 DEFAULT_wxUSE_OLE=no
2256 DEFAULT_wxUSE_DATAOBJ=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER=no
2258 DEFAULT_wxUSE_JOYSTICK=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2261 DEFAULT_wxUSE_LONGLONG=no
2262 DEFAULT_wxUSE_GEOMETRY=no
2263
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2266 DEFAULT_wxUSE_POSTSCRIPT=no
2267
2268 DEFAULT_wxUSE_CLIPBOARD=no
2269 DEFAULT_wxUSE_TOOLTIPS=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP=no
2271 DEFAULT_wxUSE_DRAGIMAGE=no
2272 DEFAULT_wxUSE_SPLINES=no
2273 DEFAULT_wxUSE_MOUSEWHEEL=no
2274
2275 DEFAULT_wxUSE_MDI=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_WEBKIT=no
2320 DEFAULT_wxUSE_FILESYSTEM=no
2321 DEFAULT_wxUSE_FS_INET=no
2322 DEFAULT_wxUSE_FS_ZIP=no
2323 DEFAULT_wxUSE_FS_ARCHIVE=no
2324 DEFAULT_wxUSE_BUSYINFO=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2326 DEFAULT_wxUSE_ZIPSTREAM=no
2327 DEFAULT_wxUSE_TARSTREAM=no
2328 DEFAULT_wxUSE_VALIDATORS=no
2329
2330 DEFAULT_wxUSE_ACCEL=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL=no
2332 DEFAULT_wxUSE_BUTTON=no
2333 DEFAULT_wxUSE_BMPBUTTON=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2335 DEFAULT_wxUSE_CALCTRL=no
2336 DEFAULT_wxUSE_CARET=no
2337 DEFAULT_wxUSE_CHECKBOX=no
2338 DEFAULT_wxUSE_CHECKLST=no
2339 DEFAULT_wxUSE_CHOICE=no
2340 DEFAULT_wxUSE_CHOICEBOOK=no
2341 DEFAULT_wxUSE_COLLPANE=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2343 DEFAULT_wxUSE_COMBOBOX=no
2344 DEFAULT_wxUSE_COMBOCTRL=no
2345 DEFAULT_wxUSE_DATEPICKCTRL=no
2346 DEFAULT_wxUSE_DISPLAY=no
2347 DEFAULT_wxUSE_DETECT_SM=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL=no
2351 DEFAULT_wxUSE_GAUGE=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2353 DEFAULT_wxUSE_GRID=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL=no
2356 DEFAULT_wxUSE_IMAGLIST=no
2357 DEFAULT_wxUSE_LISTBOOK=no
2358 DEFAULT_wxUSE_LISTBOX=no
2359 DEFAULT_wxUSE_LISTCTRL=no
2360 DEFAULT_wxUSE_NOTEBOOK=no
2361 DEFAULT_wxUSE_ODCOMBOBOX=no
2362 DEFAULT_wxUSE_RADIOBOX=no
2363 DEFAULT_wxUSE_RADIOBTN=no
2364 DEFAULT_wxUSE_SASH=no
2365 DEFAULT_wxUSE_SCROLLBAR=no
2366 DEFAULT_wxUSE_SLIDER=no
2367 DEFAULT_wxUSE_SPINBTN=no
2368 DEFAULT_wxUSE_SPINCTRL=no
2369 DEFAULT_wxUSE_SPLITTER=no
2370 DEFAULT_wxUSE_STATBMP=no
2371 DEFAULT_wxUSE_STATBOX=no
2372 DEFAULT_wxUSE_STATLINE=no
2373 DEFAULT_wxUSE_STATTEXT=no
2374 DEFAULT_wxUSE_STATUSBAR=yes
2375 DEFAULT_wxUSE_TAB_DIALOG=no
2376 DEFAULT_wxUSE_TEXTCTRL=no
2377 DEFAULT_wxUSE_TOGGLEBTN=no
2378 DEFAULT_wxUSE_TOOLBAR=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2380 DEFAULT_wxUSE_TREEBOOK=no
2381 DEFAULT_wxUSE_TOOLBOOK=no
2382 DEFAULT_wxUSE_TREECTRL=no
2383 DEFAULT_wxUSE_POPUPWIN=no
2384 DEFAULT_wxUSE_TIPWINDOW=no
2385
2386 DEFAULT_wxUSE_UNICODE=no
2387 DEFAULT_wxUSE_UNICODE_MSLU=no
2388 DEFAULT_wxUSE_WCSRTOMBS=no
2389
2390 DEFAULT_wxUSE_PALETTE=no
2391 DEFAULT_wxUSE_IMAGE=no
2392 DEFAULT_wxUSE_GIF=no
2393 DEFAULT_wxUSE_PCX=no
2394 DEFAULT_wxUSE_TGA=no
2395 DEFAULT_wxUSE_PNM=no
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_XPM=no
2398 DEFAULT_wxUSE_ICO_CUR=no
2399 DEFAULT_wxUSE_ACCESSIBILITY=no
2400
2401 DEFAULT_wxUSE_MONOLITHIC=no
2402 DEFAULT_wxUSE_PLUGINS=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2404 else
2405 DEFAULT_wxUSE_UNIVERSAL=no
2406 DEFAULT_wxUSE_STL=no
2407
2408 DEFAULT_wxUSE_NANOX=no
2409
2410 DEFAULT_wxUSE_THREADS=yes
2411
2412 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE=yes
2414 DEFAULT_wxUSE_PROFILE=no
2415 DEFAULT_wxUSE_NO_DEPS=no
2416 DEFAULT_wxUSE_NO_RTTI=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2419 DEFAULT_wxUSE_RPATH=yes
2420 DEFAULT_wxUSE_PERMISSIVE=no
2421 DEFAULT_wxUSE_DEBUG_FLAG=no
2422 DEFAULT_wxUSE_DEBUG_INFO=no
2423 DEFAULT_wxUSE_DEBUG_GDB=no
2424 DEFAULT_wxUSE_MEM_TRACING=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2426 DEFAULT_wxUSE_DMALLOC=no
2427 DEFAULT_wxUSE_APPLE_IEEE=yes
2428
2429 DEFAULT_wxUSE_EXCEPTIONS=yes
2430 DEFAULT_wxUSE_LOG=yes
2431 DEFAULT_wxUSE_LOGWINDOW=yes
2432 DEFAULT_wxUSE_LOGGUI=yes
2433 DEFAULT_wxUSE_LOGDIALOG=yes
2434
2435 DEFAULT_wxUSE_GUI=yes
2436
2437 DEFAULT_wxUSE_REGEX=yes
2438 DEFAULT_wxUSE_XML=yes
2439 DEFAULT_wxUSE_EXPAT=yes
2440 DEFAULT_wxUSE_ZLIB=yes
2441 DEFAULT_wxUSE_LIBPNG=yes
2442 DEFAULT_wxUSE_LIBJPEG=yes
2443 DEFAULT_wxUSE_LIBTIFF=yes
2444 DEFAULT_wxUSE_LIBXPM=yes
2445 DEFAULT_wxUSE_LIBMSPACK=yes
2446 DEFAULT_wxUSE_LIBSDL=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS=no
2449 DEFAULT_wxUSE_LIBHILDON=no
2450 DEFAULT_wxUSE_ODBC=no
2451 DEFAULT_wxUSE_OPENGL=no
2452
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2454 DEFAULT_wxUSE_STACKWALKER=yes
2455 DEFAULT_wxUSE_DEBUGREPORT=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2460 DEFAULT_wxUSE_DATETIME=yes
2461 DEFAULT_wxUSE_TIMER=yes
2462 DEFAULT_wxUSE_STOPWATCH=yes
2463 DEFAULT_wxUSE_FILE=yes
2464 DEFAULT_wxUSE_FFILE=yes
2465 DEFAULT_wxUSE_STDPATHS=yes
2466 DEFAULT_wxUSE_TEXTBUFFER=yes
2467 DEFAULT_wxUSE_TEXTFILE=yes
2468 DEFAULT_wxUSE_SOUND=yes
2469 DEFAULT_wxUSE_MEDIACTRL=no
2470 DEFAULT_wxUSE_GSTREAMER8=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2472 DEFAULT_wxUSE_INTL=yes
2473 DEFAULT_wxUSE_CONFIG=yes
2474 DEFAULT_wxUSE_FONTMAP=yes
2475 DEFAULT_wxUSE_STREAMS=yes
2476 DEFAULT_wxUSE_SOCKETS=yes
2477 DEFAULT_wxUSE_OLE=yes
2478 DEFAULT_wxUSE_DATAOBJ=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2480 DEFAULT_wxUSE_JOYSTICK=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2483 DEFAULT_wxUSE_LONGLONG=yes
2484 DEFAULT_wxUSE_GEOMETRY=yes
2485
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2488 DEFAULT_wxUSE_POSTSCRIPT=yes
2489
2490 DEFAULT_wxUSE_CLIPBOARD=yes
2491 DEFAULT_wxUSE_TOOLTIPS=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2493 DEFAULT_wxUSE_DRAGIMAGE=yes
2494 DEFAULT_wxUSE_SPLINES=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL=yes
2496
2497 DEFAULT_wxUSE_MDI=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2501
2502 DEFAULT_wxUSE_RESOURCES=no
2503 DEFAULT_wxUSE_CONSTRAINTS=yes
2504 DEFAULT_wxUSE_IPC=yes
2505 DEFAULT_wxUSE_HELP=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP=yes
2507 DEFAULT_wxUSE_WXHTML_HELP=yes
2508 DEFAULT_wxUSE_TREELAYOUT=yes
2509 DEFAULT_wxUSE_METAFILE=yes
2510 DEFAULT_wxUSE_MIMETYPE=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2512 DEFAULT_wxUSE_PROTOCOL=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2516 DEFAULT_wxUSE_URL=yes
2517 DEFAULT_wxUSE_VARIANT=yes
2518
2519 DEFAULT_wxUSE_ABOUTDLG=yes
2520 DEFAULT_wxUSE_COMMONDLGS=yes
2521 DEFAULT_wxUSE_CHOICEDLG=yes
2522 DEFAULT_wxUSE_COLOURDLG=yes
2523 DEFAULT_wxUSE_DIRDLG=yes
2524 DEFAULT_wxUSE_FILEDLG=yes
2525 DEFAULT_wxUSE_FINDREPLDLG=yes
2526 DEFAULT_wxUSE_FONTDLG=yes
2527 DEFAULT_wxUSE_MSGDLG=yes
2528 DEFAULT_wxUSE_NUMBERDLG=yes
2529 DEFAULT_wxUSE_TEXTDLG=yes
2530 DEFAULT_wxUSE_SPLASH=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS=yes
2532 DEFAULT_wxUSE_PROGRESSDLG=yes
2533 DEFAULT_wxUSE_WIZARDDLG=yes
2534
2535 DEFAULT_wxUSE_MENUS=yes
2536 DEFAULT_wxUSE_MINIFRAME=yes
2537 DEFAULT_wxUSE_HTML=yes
2538 DEFAULT_wxUSE_RICHTEXT=yes
2539 DEFAULT_wxUSE_XRC=yes
2540 DEFAULT_wxUSE_AUI=yes
2541 DEFAULT_wxUSE_WEBKIT=yes
2542 DEFAULT_wxUSE_FILESYSTEM=yes
2543 DEFAULT_wxUSE_FS_INET=yes
2544 DEFAULT_wxUSE_FS_ZIP=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE=yes
2546 DEFAULT_wxUSE_BUSYINFO=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2548 DEFAULT_wxUSE_ZIPSTREAM=yes
2549 DEFAULT_wxUSE_TARSTREAM=yes
2550 DEFAULT_wxUSE_VALIDATORS=yes
2551
2552 DEFAULT_wxUSE_ACCEL=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2554 DEFAULT_wxUSE_BUTTON=yes
2555 DEFAULT_wxUSE_BMPBUTTON=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2557 DEFAULT_wxUSE_CALCTRL=yes
2558 DEFAULT_wxUSE_CARET=yes
2559 DEFAULT_wxUSE_CHECKBOX=yes
2560 DEFAULT_wxUSE_CHECKLST=yes
2561 DEFAULT_wxUSE_CHOICE=yes
2562 DEFAULT_wxUSE_CHOICEBOOK=yes
2563 DEFAULT_wxUSE_COLLPANE=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2565 DEFAULT_wxUSE_COMBOBOX=yes
2566 DEFAULT_wxUSE_COMBOCTRL=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL=yes
2568 DEFAULT_wxUSE_DISPLAY=yes
2569 DEFAULT_wxUSE_DETECT_SM=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2573 DEFAULT_wxUSE_GAUGE=yes
2574 DEFAULT_wxUSE_GRID=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL=no
2578 DEFAULT_wxUSE_IMAGLIST=yes
2579 DEFAULT_wxUSE_LISTBOOK=yes
2580 DEFAULT_wxUSE_LISTBOX=yes
2581 DEFAULT_wxUSE_LISTCTRL=yes
2582 DEFAULT_wxUSE_NOTEBOOK=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX=yes
2584 DEFAULT_wxUSE_RADIOBOX=yes
2585 DEFAULT_wxUSE_RADIOBTN=yes
2586 DEFAULT_wxUSE_SASH=yes
2587 DEFAULT_wxUSE_SCROLLBAR=yes
2588 DEFAULT_wxUSE_SLIDER=yes
2589 DEFAULT_wxUSE_SPINBTN=yes
2590 DEFAULT_wxUSE_SPINCTRL=yes
2591 DEFAULT_wxUSE_SPLITTER=yes
2592 DEFAULT_wxUSE_STATBMP=yes
2593 DEFAULT_wxUSE_STATBOX=yes
2594 DEFAULT_wxUSE_STATLINE=yes
2595 DEFAULT_wxUSE_STATTEXT=yes
2596 DEFAULT_wxUSE_STATUSBAR=yes
2597 DEFAULT_wxUSE_TAB_DIALOG=no
2598 DEFAULT_wxUSE_TEXTCTRL=yes
2599 DEFAULT_wxUSE_TOGGLEBTN=yes
2600 DEFAULT_wxUSE_TOOLBAR=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2602 DEFAULT_wxUSE_TREEBOOK=yes
2603 DEFAULT_wxUSE_TOOLBOOK=yes
2604 DEFAULT_wxUSE_TREECTRL=yes
2605 DEFAULT_wxUSE_POPUPWIN=yes
2606 DEFAULT_wxUSE_TIPWINDOW=yes
2607
2608 DEFAULT_wxUSE_UNICODE=no
2609 DEFAULT_wxUSE_UNICODE_MSLU=yes
2610 DEFAULT_wxUSE_WCSRTOMBS=no
2611
2612 DEFAULT_wxUSE_PALETTE=yes
2613 DEFAULT_wxUSE_IMAGE=yes
2614 DEFAULT_wxUSE_GIF=yes
2615 DEFAULT_wxUSE_PCX=yes
2616 DEFAULT_wxUSE_TGA=yes
2617 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2618 DEFAULT_wxUSE_XPM=yes
2619 DEFAULT_wxUSE_ICO_CUR=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY=no
2621
2622 DEFAULT_wxUSE_MONOLITHIC=no
2623 DEFAULT_wxUSE_PLUGINS=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2625
2626 DEFAULT_wxUSE_GTK2=yes
2627 fi
2628
2629
2630
2631
2632 for toolkit in `echo $ALL_TOOLKITS`; do
2633 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2638
2639 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2642 fi
2643 fi
2644 done
2645
2646
2647
2648 enablestring=
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2651 no_cache=0
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval="$enable_gui"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui='wxUSE_GUI=yes'
2658 else
2659 ac_cv_use_gui='wxUSE_GUI=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672
2673 fi;
2674
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 else
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 fi
2687
2688
2689 enablestring=
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2692 no_cache=0
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval="$enable_monolithic"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2699 else
2700 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713
2714 fi;
2715
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2719 fi
2720
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2724 else
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2727 fi
2728
2729
2730 enablestring=
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2733 no_cache=0
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval="$enable_plugins"
2737
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2740 else
2741 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2742 fi
2743
2744 else
2745
2746 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2749 else
2750 no_cache=1
2751 fi
2752
2753 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754
2755 fi;
2756
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 else
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2768 fi
2769
2770
2771 withstring=without
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2774 no_cache=0
2775
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval="$with_subdirs"
2779
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2782 else
2783 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796
2797 fi;
2798
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 else
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 fi
2811
2812
2813 if test "$wxUSE_GUI" = "yes"; then
2814
2815
2816 enablestring=
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2819 no_cache=0
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval="$enable_universal"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2826 else
2827 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840
2841 fi;
2842
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 else
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 fi
2855
2856
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2859 withval="$with_gtk"
2860 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval="$with_motif"
2866 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2871 withval="$with_mac"
2872 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval="$with_cocoa"
2878 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval="$with_wine"
2884 wxUSE_WINE="$withval" CACHE_WINE=1
2885 fi;
2886
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2889 withval="$with_msw"
2890 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2895 withval="$with_pm"
2896 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2901 withval="$with_mgl"
2902 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval="$with_directfb"
2908 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval="$with_microwin"
2914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2919 withval="$with_x11"
2920 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 enablestring=
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2926 no_cache=0
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval="$enable_nanox"
2930
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox='wxUSE_NANOX=yes'
2933 else
2934 ac_cv_use_nanox='wxUSE_NANOX=no'
2935 fi
2936
2937 else
2938
2939 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x ; then
2941 eval "DEFAULT_$LINE"
2942 else
2943 no_cache=1
2944 fi
2945
2946 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947
2948 fi;
2949
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2953 fi
2954
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2958 else
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2961 fi
2962
2963
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval="$enable_gtk2"
2967 wxUSE_GTK2="$enableval"
2968 fi;
2969
2970 enablestring=
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2973 no_cache=0
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval="$enable_gpe"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe='wxUSE_GPE=yes'
2980 else
2981 ac_cv_use_gpe='wxUSE_GPE=no'
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994
2995 fi;
2996
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 else
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 fi
3009
3010
3011
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3014 no_cache=0
3015
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval="$with_libpng"
3019
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no; then
3023 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys; then
3025 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044
3045 fi;
3046
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3064 else
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval="$with_libjpeg"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103
3104 fi;
3105
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval="$with_libtiff"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162
3163 fi;
3164
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval="$with_libxpm"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221
3222 fi;
3223
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 withstring=
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3251 no_cache=0
3252
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval="$with_libmspack"
3256
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3259 else
3260 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273
3274 fi;
3275
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 withstring=
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3293 no_cache=0
3294
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3297 withval="$with_sdl"
3298
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3301 else
3302 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315
3316 fi;
3317
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 else
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 fi
3330
3331
3332 withstring=
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3335 no_cache=0
3336
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval="$with_gnomeprint"
3340
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3343 else
3344 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3345 fi
3346
3347 else
3348
3349 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357
3358 fi;
3359
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 fi
3372
3373
3374 withstring=
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3377 no_cache=0
3378
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval="$with_gnomevfs"
3382
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3385 else
3386 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399
3400 fi;
3401
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3413 fi
3414
3415
3416 withstring=
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3419 no_cache=0
3420
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval="$with_hildon"
3424
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3427 else
3428 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441
3442 fi;
3443
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 withstring=
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3461 no_cache=0
3462
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval="$with_opengl"
3466
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3469 else
3470 ac_cv_use_opengl='wxUSE_OPENGL=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483
3484 fi;
3485
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3501
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval="$with_themes"
3505 wxUNIV_THEMES="$withval"
3506 fi;
3507 fi
3508
3509 fi
3510
3511
3512 withstring=
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3515 no_cache=0
3516
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval="$with_dmalloc"
3520
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3523 else
3524 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537
3538 fi;
3539
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval="$with_regex"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex='wxUSE_REGEX=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_regex='wxUSE_REGEX=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_regex='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex='wxUSE_REGEX=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586
3587 fi;
3588
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3615 no_cache=0
3616
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval="$with_zlib"
3620
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no; then
3624 ac_cv_use_zlib='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys; then
3626 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3629 else
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645
3646 fi;
3647
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3674 no_cache=0
3675
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval="$with_odbc"
3679
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc='wxUSE_ODBC=yes'
3682 elif test "$withval" = no; then
3683 ac_cv_use_odbc='wxUSE_ODBC=no'
3684 elif test "$withval" = sys; then
3685 ac_cv_use_odbc='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704
3705 fi;
3706
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3733 no_cache=0
3734
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval="$with_expat"
3738
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_expat='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_expat='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763
3764 fi;
3765
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval="$enable_shared"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared='wxUSE_SHARED=yes'
3802 else
3803 ac_cv_use_shared='wxUSE_SHARED=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_SHARED" ${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_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816
3817 fi;
3818
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_SHARED" = 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}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval="$enable_optimise"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3843 else
3844 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_OPTIMISE" ${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_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857
3858 fi;
3859
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_OPTIMISE" = 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}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval="$enable_debug"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug='wxUSE_DEBUG=yes'
3884 else
3885 ac_cv_use_debug='wxUSE_DEBUG=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_DEBUG" ${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_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898
3899 fi;
3900
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_DEBUG" = 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}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval="$enable_stl"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl='wxUSE_STL=yes'
3925 else
3926 ac_cv_use_stl='wxUSE_STL=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_STL" ${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_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3939
3940 fi;
3941
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_STL" = 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 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF=no
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval="$enable_omf"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf='wxUSE_OMF=yes'
3968 else
3969 ac_cv_use_omf='wxUSE_OMF=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982
3983 fi;
3984
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998 fi
3999
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG=yes
4002 DEFAULT_wxUSE_DEBUG_INFO=yes
4003 BUILD=debug
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG=no
4006 DEFAULT_wxUSE_DEBUG_INFO=no
4007 BUILD=release
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval="$enable_debug_flag"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4021 else
4022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035
4036 fi;
4037
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval="$enable_debug_info"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4062 else
4063 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076
4077 fi;
4078
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval="$enable_debug_gdb"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4103 else
4104 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117
4118 fi;
4119
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval="$enable_debug_cntxt"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4144 else
4145 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158
4159 fi;
4160
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval="$enable_mem_tracing"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4185 else
4186 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199
4200 fi;
4201
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval="$enable_profile"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile='wxUSE_PROFILE=yes'
4226 else
4227 ac_cv_use_profile='wxUSE_PROFILE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval="$enable_no_rtti"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4267 else
4268 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281
4282 fi;
4283
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval="$enable_no_exceptions"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4308 else
4309 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322
4323 fi;
4324
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval="$enable_permissive"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4349 else
4350 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363
4364 fi;
4365
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval="$enable_no_deps"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4390 else
4391 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404
4405 fi;
4406
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval="$enable_universal_binary"
4428
4429 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430
4431 else
4432
4433 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4437 else
4438 no_cache=1
4439 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4440 fi
4441
4442 fi;
4443
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4451
4452
4453
4454 enablestring=enable
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval="$enable_compat24"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4464 else
4465 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${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_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478
4479 fi;
4480
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$WXWIN_COMPATIBILITY_2_4" = 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=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval="$enable_compat26"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4505 else
4506 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${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_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519
4520 fi;
4521
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$WXWIN_COMPATIBILITY_2_6" = 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
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval="$enable_rpath"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath='wxUSE_RPATH=yes'
4547 else
4548 ac_cv_use_rpath='wxUSE_RPATH=no'
4549 fi
4550
4551 else
4552
4553 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561
4562 fi;
4563
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval="$enable_intl"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl='wxUSE_INTL=yes'
4591 else
4592 ac_cv_use_intl='wxUSE_INTL=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605
4606 fi;
4607
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622 enablestring=
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4625 no_cache=0
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval="$enable_config"
4629
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config='wxUSE_CONFIG=yes'
4632 else
4633 ac_cv_use_config='wxUSE_CONFIG=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646
4647 fi;
4648
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4652 fi
4653
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4657 else
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4660 fi
4661
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval="$enable_protocols"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4674 else
4675 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688
4689 fi;
4690
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval="$enable_ftp"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4715 else
4716 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729
4730 fi;
4731
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval="$enable_http"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4756 else
4757 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770
4771 fi;
4772
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval="$enable_fileproto"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4797 else
4798 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval="$enable_sockets"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4838 else
4839 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852
4853 fi;
4854
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval="$enable_ole"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole='wxUSE_OLE=yes'
4879 else
4880 ac_cv_use_ole='wxUSE_OLE=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893
4894 fi;
4895
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval="$enable_dataobj"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4920 else
4921 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934
4935 fi;
4936
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951
4952 enablestring=
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4955 no_cache=0
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval="$enable_ipc"
4959
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc='wxUSE_IPC=yes'
4962 else
4963 ac_cv_use_ipc='wxUSE_IPC=no'
4964 fi
4965
4966 else
4967
4968 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x ; then
4970 eval "DEFAULT_$LINE"
4971 else
4972 no_cache=1
4973 fi
4974
4975 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976
4977 fi;
4978
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4987 else
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4990 fi
4991
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval="$enable_apple_ieee"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5004 else
5005 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval="$enable_arcstream"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5045 else
5046 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059
5060 fi;
5061
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval="$enable_backtrace"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5086 else
5087 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100
5101 fi;
5102
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval="$enable_catch_segvs"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5127 else
5128 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141
5142 fi;
5143
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval="$enable_cmdline"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5168 else
5169 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182
5183 fi;
5184
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval="$enable_datetime"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5209 else
5210 ac_cv_use_datetime='wxUSE_DATETIME=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223
5224 fi;
5225
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval="$enable_debugreport"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5250 else
5251 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264
5265 fi;
5266
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval="$enable_dialupman"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5291 else
5292 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305
5306 fi;
5307
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval="$enable_dynlib"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5332 else
5333 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346
5347 fi;
5348
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval="$enable_dynamicloader"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5373 else
5374 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387
5388 fi;
5389
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval="$enable_exceptions"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5414 else
5415 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428
5429 fi;
5430
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval="$enable_ffile"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile='wxUSE_FFILE=yes'
5455 else
5456 ac_cv_use_ffile='wxUSE_FFILE=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469
5470 fi;
5471
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval="$enable_file"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file='wxUSE_FILE=yes'
5496 else
5497 ac_cv_use_file='wxUSE_FILE=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510
5511 fi;
5512
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval="$enable_filesystem"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5537 else
5538 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551
5552 fi;
5553
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval="$enable_fontmap"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5578 else
5579 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592
5593 fi;
5594
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval="$enable_fs_archive"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5619 else
5620 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633
5634 fi;
5635
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval="$enable_fs_inet"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5660 else
5661 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674
5675 fi;
5676
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval="$enable_fs_zip"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5701 else
5702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715
5716 fi;
5717
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval="$enable_geometry"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5742 else
5743 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756
5757 fi;
5758
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval="$enable_log"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log='wxUSE_LOG=yes'
5783 else
5784 ac_cv_use_log='wxUSE_LOG=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797
5798 fi;
5799
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval="$enable_longlong"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5824 else
5825 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838
5839 fi;
5840
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval="$enable_mimetype"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5865 else
5866 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879
5880 fi;
5881
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval="$enable_mslu"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5906 else
5907 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920
5921 fi;
5922
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937 enablestring=
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5940 no_cache=0
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval="$enable_snglinst"
5944
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5947 else
5948 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961
5962 fi;
5963
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5972 else
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5975 fi
5976
5977
5978 enablestring=
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5981 no_cache=0
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval="$enable_std_iostreams"
5985
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5988 else
5989 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002
6003 fi;
6004
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6013 else
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6016 fi
6017
6018
6019 enablestring=
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6022 no_cache=0
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval="$enable_std_string"
6026
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 else
6030 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043
6044 fi;
6045
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6054 else
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6057 fi
6058
6059
6060 enablestring=
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6063 no_cache=0
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval="$enable_stdpaths"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6070 else
6071 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084
6085 fi;
6086
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6095 else
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6098 fi
6099
6100
6101 enablestring=
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6104 no_cache=0
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval="$enable_stopwatch"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6111 else
6112 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125
6126 fi;
6127
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6136 else
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6139 fi
6140
6141
6142 enablestring=
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6145 no_cache=0
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval="$enable_streams"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams='wxUSE_STREAMS=yes'
6152 else
6153 ac_cv_use_streams='wxUSE_STREAMS=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166
6167 fi;
6168
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6177 else
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6180 fi
6181
6182
6183 enablestring=
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6186 no_cache=0
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval="$enable_system_options"
6190
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6193 else
6194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207
6208 fi;
6209
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6218 else
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6221 fi
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval="$enable_tarstream"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6234 else
6235 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248
6249 fi;
6250
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265 enablestring=
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6268 no_cache=0
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval="$enable_textbuf"
6272
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6275 else
6276 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289
6290 fi;
6291
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6300 else
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6303 fi
6304
6305
6306 enablestring=
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval="$enable_textfile"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6316 else
6317 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330
6331 fi;
6332
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346
6347 enablestring=
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6350 no_cache=0
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval="$enable_timer"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer='wxUSE_TIMER=yes'
6357 else
6358 ac_cv_use_timer='wxUSE_TIMER=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371
6372 fi;
6373
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6382 else
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6385 fi
6386
6387
6388 enablestring=
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6391 no_cache=0
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval="$enable_unicode"
6395
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6398 else
6399 ac_cv_use_unicode='wxUSE_UNICODE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412
6413 fi;
6414
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6423 else
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6426 fi
6427
6428
6429 enablestring=
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6432 no_cache=0
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval="$enable_sound"
6436
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound='wxUSE_SOUND=yes'
6439 else
6440 ac_cv_use_sound='wxUSE_SOUND=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453
6454 fi;
6455
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 else
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6467 fi
6468
6469
6470 enablestring=
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6473 no_cache=0
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval="$enable_mediactrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6480 else
6481 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494
6495 fi;
6496
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6505 else
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6508 fi
6509
6510
6511 enablestring=
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6514 no_cache=0
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval="$enable_gstreamer8"
6518
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6521 else
6522 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535
6536 fi;
6537
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6546 else
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6549 fi
6550
6551
6552 enablestring=
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6555 no_cache=0
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval="$enable_printfposparam"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6562 else
6563 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576
6577 fi;
6578
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6587 else
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6590 fi
6591
6592
6593 enablestring=
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6596 no_cache=0
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval="$enable_zipstream"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6603 else
6604 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617
6618 fi;
6619
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6628 else
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6631 fi
6632
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval="$enable_url"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url='wxUSE_URL=yes'
6645 else
6646 ac_cv_use_url='wxUSE_URL=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6659
6660 fi;
6661
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval="$enable_variant"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant='wxUSE_VARIANT=yes'
6686 else
6687 ac_cv_use_variant='wxUSE_VARIANT=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700
6701 fi;
6702
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval="$enable_protocol"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6727 else
6728 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741
6742 fi;
6743
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval="$enable_protocol_http"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6768 else
6769 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782
6783 fi;
6784
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval="$enable_protocol_ftp"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6809 else
6810 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823
6824 fi;
6825
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval="$enable_protocol_file"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6850 else
6851 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864
6865 fi;
6866
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval="$enable_threads"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads='wxUSE_THREADS=yes'
6894 else
6895 ac_cv_use_threads='wxUSE_THREADS=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908
6909 fi;
6910
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 if test "$wxUSE_GUI" = "yes"; then
6926
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval="$enable_docview"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6939 else
6940 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953
6954 fi;
6955
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval="$enable_help"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help='wxUSE_HELP=yes'
6980 else
6981 ac_cv_use_help='wxUSE_HELP=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994
6995 fi;
6996
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval="$enable_mshtmlhelp"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7021 else
7022 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035
7036 fi;
7037
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval="$enable_html"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html='wxUSE_HTML=yes'
7062 else
7063 ac_cv_use_html='wxUSE_HTML=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076
7077 fi;
7078
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval="$enable_htmlhelp"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7103 else
7104 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117
7118 fi;
7119
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval="$enable_xrc"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc='wxUSE_XRC=yes'
7144 else
7145 ac_cv_use_xrc='wxUSE_XRC=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158
7159 fi;
7160
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval="$enable_aui"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui='wxUSE_AUI=yes'
7185 else
7186 ac_cv_use_aui='wxUSE_AUI=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199
7200 fi;
7201
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval="$enable_constraints"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7226 else
7227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval="$enable_printarch"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7267 else
7268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281
7282 fi;
7283
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval="$enable_mdi"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi='wxUSE_MDI=yes'
7308 else
7309 ac_cv_use_mdi='wxUSE_MDI=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322
7323 fi;
7324
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval="$enable_mdidoc"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7349 else
7350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363
7364 fi;
7365
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval="$enable_loggui"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7390 else
7391 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404
7405 fi;
7406
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval="$enable_logwin"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7431 else
7432 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445
7446 fi;
7447
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval="$enable_logdialog"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7472 else
7473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486
7487 fi;
7488
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval="$enable_webkit"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7513 else
7514 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527
7528 fi;
7529
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval="$enable_richtext"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7554 else
7555 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568
7569 fi;
7570
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval="$enable_graphics_ctx"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7595 else
7596 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609
7610 fi;
7611
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval="$enable_postscript"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7637 else
7638 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651
7652 fi;
7653
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval="$enable_prologio"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7681 else
7682 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695
7696 fi;
7697
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval="$enable_resources"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7722 else
7723 ac_cv_use_resources='wxUSE_RESOURCES=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736
7737 fi;
7738
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval="$enable_clipboard"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7765 else
7766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779
7780 fi;
7781
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval="$enable_dnd"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7806 else
7807 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820
7821 fi;
7822
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval="$enable_metafile"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7847 else
7848 ac_cv_use_metafile='wxUSE_METAFILE=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861
7862 fi;
7863
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval="$enable_controls"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7891 else
7892 ac_cv_use_controls='wxUSE_CONTROLS=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905
7906 fi;
7907
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7925 DEFAULT_wxUSE_BMPBUTTON=yes
7926 DEFAULT_wxUSE_BUTTON=yes
7927 DEFAULT_wxUSE_CALCTRL=yes
7928 DEFAULT_wxUSE_CARET=yes
7929 DEFAULT_wxUSE_COMBOBOX=yes
7930 DEFAULT_wxUSE_CHECKBOX=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX=yes
7932 DEFAULT_wxUSE_CHOICE=yes
7933 DEFAULT_wxUSE_CHOICEBOOK=yes
7934 DEFAULT_wxUSE_COLLPANE=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7936 DEFAULT_wxUSE_COMBOBOX=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL=yes
7938 DEFAULT_wxUSE_DISPLAY=yes
7939 DEFAULT_wxUSE_DETECT_SM=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7943 DEFAULT_wxUSE_GAUGE=yes
7944 DEFAULT_wxUSE_GRID=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL=no
7947 DEFAULT_wxUSE_IMAGLIST=yes
7948 DEFAULT_wxUSE_LISTBOOK=yes
7949 DEFAULT_wxUSE_LISTBOX=yes
7950 DEFAULT_wxUSE_LISTCTRL=yes
7951 DEFAULT_wxUSE_NOTEBOOK=yes
7952 DEFAULT_wxUSE_RADIOBOX=yes
7953 DEFAULT_wxUSE_RADIOBTN=yes
7954 DEFAULT_wxUSE_SASH=yes
7955 DEFAULT_wxUSE_SCROLLBAR=yes
7956 DEFAULT_wxUSE_SLIDER=yes
7957 DEFAULT_wxUSE_SPINBTN=yes
7958 DEFAULT_wxUSE_SPINCTRL=yes
7959 DEFAULT_wxUSE_SPLITTER=yes
7960 DEFAULT_wxUSE_STATBMP=yes
7961 DEFAULT_wxUSE_STATBOX=yes
7962 DEFAULT_wxUSE_STATLINE=yes
7963 DEFAULT_wxUSE_STATUSBAR=yes
7964 DEFAULT_wxUSE_TAB_DIALOG=yes
7965 DEFAULT_wxUSE_TOGGLEBTN=yes
7966 DEFAULT_wxUSE_TOOLBAR=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7968 DEFAULT_wxUSE_TOOLTIPS=yes
7969 DEFAULT_wxUSE_TREEBOOK=yes
7970 DEFAULT_wxUSE_TOOLBOOK=yes
7971 DEFAULT_wxUSE_TREECTRL=yes
7972 DEFAULT_wxUSE_POPUPWIN=yes
7973 DEFAULT_wxUSE_TIPWINDOW=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL=no
7977 DEFAULT_wxUSE_BMPBUTTON=no
7978 DEFAULT_wxUSE_BUTTON=no
7979 DEFAULT_wxUSE_CALCTRL=no
7980 DEFAULT_wxUSE_CARET=no
7981 DEFAULT_wxUSE_COLLPANE=no
7982 DEFAULT_wxUSE_COMBOBOX=no
7983 DEFAULT_wxUSE_CHECKBOX=no
7984 DEFAULT_wxUSE_CHECKLISTBOX=no
7985 DEFAULT_wxUSE_CHOICE=no
7986 DEFAULT_wxUSE_CHOICEBOOK=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7988 DEFAULT_wxUSE_COMBOBOX=no
7989 DEFAULT_wxUSE_DATEPICKCTRL=no
7990 DEFAULT_wxUSE_DISPLAY=no
7991 DEFAULT_wxUSE_DETECT_SM=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL=no
7995 DEFAULT_wxUSE_GAUGE=no
7996 DEFAULT_wxUSE_GRID=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL=no
7999 DEFAULT_wxUSE_IMAGLIST=no
8000 DEFAULT_wxUSE_LISTBOOK=no
8001 DEFAULT_wxUSE_LISTBOX=no
8002 DEFAULT_wxUSE_LISTCTRL=no
8003 DEFAULT_wxUSE_NOTEBOOK=no
8004 DEFAULT_wxUSE_RADIOBOX=no
8005 DEFAULT_wxUSE_RADIOBTN=no
8006 DEFAULT_wxUSE_SASH=no
8007 DEFAULT_wxUSE_SCROLLBAR=no
8008 DEFAULT_wxUSE_SLIDER=no
8009 DEFAULT_wxUSE_SPINBTN=no
8010 DEFAULT_wxUSE_SPINCTRL=no
8011 DEFAULT_wxUSE_SPLITTER=no
8012 DEFAULT_wxUSE_STATBMP=no
8013 DEFAULT_wxUSE_STATBOX=no
8014 DEFAULT_wxUSE_STATLINE=no
8015 DEFAULT_wxUSE_STATUSBAR=no
8016 DEFAULT_wxUSE_TAB_DIALOG=no
8017 DEFAULT_wxUSE_TOGGLEBTN=no
8018 DEFAULT_wxUSE_TOOLBAR=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8020 DEFAULT_wxUSE_TOOLTIPS=no
8021 DEFAULT_wxUSE_TREEBOOK=no
8022 DEFAULT_wxUSE_TOOLBOOK=no
8023 DEFAULT_wxUSE_TREECTRL=no
8024 DEFAULT_wxUSE_POPUPWIN=no
8025 DEFAULT_wxUSE_TIPWINDOW=no
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval="$enable_accel"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel='wxUSE_ACCEL=yes'
8039 else
8040 ac_cv_use_accel='wxUSE_ACCEL=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053
8054 fi;
8055
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval="$enable_animatectrl"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8080 else
8081 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094
8095 fi;
8096
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval="$enable_button"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button='wxUSE_BUTTON=yes'
8121 else
8122 ac_cv_use_button='wxUSE_BUTTON=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135
8136 fi;
8137
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval="$enable_bmpbutton"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8162 else
8163 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176
8177 fi;
8178
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval="$enable_bmpcombobox"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8203 else
8204 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217
8218 fi;
8219
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval="$enable_calendar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8244 else
8245 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258
8259 fi;
8260
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval="$enable_caret"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret='wxUSE_CARET=yes'
8285 else
8286 ac_cv_use_caret='wxUSE_CARET=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299
8300 fi;
8301
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval="$enable_checkbox"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8326 else
8327 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340
8341 fi;
8342
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval="$enable_checklst"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8367 else
8368 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381
8382 fi;
8383
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval="$enable_choice"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice='wxUSE_CHOICE=yes'
8408 else
8409 ac_cv_use_choice='wxUSE_CHOICE=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422
8423 fi;
8424
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval="$enable_choicebook"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8449 else
8450 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463
8464 fi;
8465
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval="$enable_collpane"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8490 else
8491 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504
8505 fi;
8506
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval="$enable_colourpicker"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8531 else
8532 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545
8546 fi;
8547
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval="$enable_combobox"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8572 else
8573 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586
8587 fi;
8588
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval="$enable_comboctrl"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8613 else
8614 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627
8628 fi;
8629
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval="$enable_datepick"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8654 else
8655 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668
8669 fi;
8670
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval="$enable_dirpicker"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8695 else
8696 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709
8710 fi;
8711
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval="$enable_display"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display='wxUSE_DISPLAY=yes'
8736 else
8737 ac_cv_use_display='wxUSE_DISPLAY=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750
8751 fi;
8752
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval="$enable_detect_sm"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8777 else
8778 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791
8792 fi;
8793
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval="$enable_filepicker"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8818 else
8819 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832
8833 fi;
8834
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval="$enable_fontpicker"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8859 else
8860 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873
8874 fi;
8875
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval="$enable_gauge"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8900 else
8901 ac_cv_use_gauge='wxUSE_GAUGE=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914
8915 fi;
8916
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval="$enable_grid"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid='wxUSE_GRID=yes'
8941 else
8942 ac_cv_use_grid='wxUSE_GRID=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955
8956 fi;
8957
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval="$enable_dataviewctrl"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8982 else
8983 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996
8997 fi;
8998
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval="$enable_hyperlink"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9023 else
9024 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037
9038 fi;
9039
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054 enablestring=
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9057 no_cache=0
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval="$enable_imaglist"
9061
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9064 else
9065 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9066 fi
9067
9068 else
9069
9070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 else
9074 no_cache=1
9075 fi
9076
9077 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078
9079 fi;
9080
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9084 fi
9085
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9089 else
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9092 fi
9093
9094
9095 enablestring=
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9098 no_cache=0
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval="$enable_listbook"
9102
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9105 else
9106 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9107 fi
9108
9109 else
9110
9111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9114 else
9115 no_cache=1
9116 fi
9117
9118 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119
9120 fi;
9121
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9130 else
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9133 fi
9134
9135
9136 enablestring=
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9139 no_cache=0
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval="$enable_listbox"
9143
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9146 else
9147 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9148 fi
9149
9150 else
9151
9152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 else
9156 no_cache=1
9157 fi
9158
9159 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160
9161 fi;
9162
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9171 else
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9174 fi
9175
9176
9177 enablestring=
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9180 no_cache=0
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval="$enable_listctrl"
9184
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9187 else
9188 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9189 fi
9190
9191 else
9192
9193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x ; then
9195 eval "DEFAULT_$LINE"
9196 else
9197 no_cache=1
9198 fi
9199
9200 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201
9202 fi;
9203
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9207 fi
9208
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9212 else
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9215 fi
9216
9217
9218 enablestring=
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval="$enable_notebook"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9228 else
9229 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242
9243 fi;
9244
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9253 else
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9256 fi
9257
9258
9259 enablestring=
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9262 no_cache=0
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval="$enable_odcombobox"
9266
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9269 else
9270 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9271 fi
9272
9273 else
9274
9275 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x ; then
9277 eval "DEFAULT_$LINE"
9278 else
9279 no_cache=1
9280 fi
9281
9282 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283
9284 fi;
9285
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9294 else
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 fi
9298
9299
9300 enablestring=
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9303 no_cache=0
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval="$enable_radiobox"
9307
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9310 else
9311 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324
9325 fi;
9326
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9335 else
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9338 fi
9339
9340
9341 enablestring=
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9344 no_cache=0
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval="$enable_radiobtn"
9348
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9351 else
9352 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9353 fi
9354
9355 else
9356
9357 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x ; then
9359 eval "DEFAULT_$LINE"
9360 else
9361 no_cache=1
9362 fi
9363
9364 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365
9366 fi;
9367
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9371 fi
9372
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9376 else
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9379 fi
9380
9381
9382 enablestring=
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9385 no_cache=0
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval="$enable_sash"
9389
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash='wxUSE_SASH=yes'
9392 else
9393 ac_cv_use_sash='wxUSE_SASH=no'
9394 fi
9395
9396 else
9397
9398 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 else
9402 no_cache=1
9403 fi
9404
9405 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406
9407 fi;
9408
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9412 fi
9413
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9417 else
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9420 fi
9421
9422
9423 enablestring=
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9426 no_cache=0
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval="$enable_scrollbar"
9430
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9433 else
9434 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9435 fi
9436
9437 else
9438
9439 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9442 else
9443 no_cache=1
9444 fi
9445
9446 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447
9448 fi;
9449
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9458 else
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9461 fi
9462
9463
9464 enablestring=
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9467 no_cache=0
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval="$enable_slider"
9471
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider='wxUSE_SLIDER=yes'
9474 else
9475 ac_cv_use_slider='wxUSE_SLIDER=no'
9476 fi
9477
9478 else
9479
9480 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x ; then
9482 eval "DEFAULT_$LINE"
9483 else
9484 no_cache=1
9485 fi
9486
9487 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488
9489 fi;
9490
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9494 fi
9495
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9499 else
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9502 fi
9503
9504
9505 enablestring=
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9508 no_cache=0
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval="$enable_spinbtn"
9512
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9515 else
9516 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9517 fi
9518
9519 else
9520
9521 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x ; then
9523 eval "DEFAULT_$LINE"
9524 else
9525 no_cache=1
9526 fi
9527
9528 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529
9530 fi;
9531
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9535 fi
9536
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9540 else
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9543 fi
9544
9545
9546 enablestring=
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9549 no_cache=0
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval="$enable_spinctrl"
9553
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9556 else
9557 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9558 fi
9559
9560 else
9561
9562 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x ; then
9564 eval "DEFAULT_$LINE"
9565 else
9566 no_cache=1
9567 fi
9568
9569 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570
9571 fi;
9572
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9581 else
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9584 fi
9585
9586
9587 enablestring=
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9590 no_cache=0
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval="$enable_splitter"
9594
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9597 else
9598 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611
9612 fi;
9613
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9622 else
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9625 fi
9626
9627
9628 enablestring=
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9631 no_cache=0
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval="$enable_statbmp"
9635
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9638 else
9639 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9640 fi
9641
9642 else
9643
9644 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x ; then
9646 eval "DEFAULT_$LINE"
9647 else
9648 no_cache=1
9649 fi
9650
9651 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652
9653 fi;
9654
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9658 fi
9659
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668
9669 enablestring=
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9672 no_cache=0
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval="$enable_statbox"
9676
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9679 else
9680 ac_cv_use_statbox='wxUSE_STATBOX=no'
9681 fi
9682
9683 else
9684
9685 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 else
9689 no_cache=1
9690 fi
9691
9692 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693
9694 fi;
9695
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9704 else
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9707 fi
9708
9709
9710 enablestring=
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9713 no_cache=0
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval="$enable_statline"
9717
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline='wxUSE_STATLINE=yes'
9720 else
9721 ac_cv_use_statline='wxUSE_STATLINE=no'
9722 fi
9723
9724 else
9725
9726 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x ; then
9728 eval "DEFAULT_$LINE"
9729 else
9730 no_cache=1
9731 fi
9732
9733 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734
9735 fi;
9736
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9740 fi
9741
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9745 else
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9748 fi
9749
9750
9751 enablestring=
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9754 no_cache=0
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval="$enable_stattext"
9758
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9761 else
9762 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775
9776 fi;
9777
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9786 else
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9789 fi
9790
9791
9792 enablestring=
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9795 no_cache=0
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval="$enable_statusbar"
9799
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9802 else
9803 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9804 fi
9805
9806 else
9807
9808 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x ; then
9810 eval "DEFAULT_$LINE"
9811 else
9812 no_cache=1
9813 fi
9814
9815 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816
9817 fi;
9818
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9827 else
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9830 fi
9831
9832
9833 enablestring=
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9836 no_cache=0
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval="$enable_tabdialog"
9840
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9843 else
9844 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9845 fi
9846
9847 else
9848
9849 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x ; then
9851 eval "DEFAULT_$LINE"
9852 else
9853 no_cache=1
9854 fi
9855
9856 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857
9858 fi;
9859
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9863 fi
9864
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9868 else
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9871 fi
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval="$enable_textctrl"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9884 else
9885 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898
9899 fi;
9900
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval="$enable_togglebtn"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9925 else
9926 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939
9940 fi;
9941
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval="$enable_toolbar"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9966 else
9967 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980
9981 fi;
9982
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval="$enable_tbarnative"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10007 else
10008 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021
10022 fi;
10023
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval="$enable_treebook"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10048 else
10049 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062
10063 fi;
10064
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval="$enable_toolbook"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10089 else
10090 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103
10104 fi;
10105
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval="$enable_treectrl"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10130 else
10131 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144
10145 fi;
10146
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval="$enable_tipwindow"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10171 else
10172 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185
10186 fi;
10187
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval="$enable_popupwin"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10212 else
10213 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226
10227 fi;
10228
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243
10244
10245 enablestring=
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10248 no_cache=0
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval="$enable_commondlg"
10252
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10255 else
10256 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10257 fi
10258
10259 else
10260
10261 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10264 else
10265 no_cache=1
10266 fi
10267
10268 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269
10270 fi;
10271
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10280 else
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10283 fi
10284
10285
10286 enablestring=
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10289 no_cache=0
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval="$enable_aboutdlg"
10293
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10296 else
10297 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10298 fi
10299
10300 else
10301
10302 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 else
10306 no_cache=1
10307 fi
10308
10309 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310
10311 fi;
10312
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10321 else
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10324 fi
10325
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval="$enable_choicedlg"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10337 else
10338 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351
10352 fi;
10353
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367
10368 enablestring=
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10371 no_cache=0
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval="$enable_coldlg"
10375
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10378 else
10379 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10380 fi
10381
10382 else
10383
10384 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 else
10388 no_cache=1
10389 fi
10390
10391 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392
10393 fi;
10394
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10403 else
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10406 fi
10407
10408
10409 enablestring=
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10412 no_cache=0
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval="$enable_filedlg"
10416
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10419 else
10420 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10421 fi
10422
10423 else
10424
10425 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10428 else
10429 no_cache=1
10430 fi
10431
10432 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433
10434 fi;
10435
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10444 else
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10447 fi
10448
10449
10450 enablestring=
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10453 no_cache=0
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval="$enable_finddlg"
10457
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10460 else
10461 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10462 fi
10463
10464 else
10465
10466 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 else
10470 no_cache=1
10471 fi
10472
10473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474
10475 fi;
10476
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490
10491 enablestring=
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10494 no_cache=0
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval="$enable_fontdlg"
10498
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10501 else
10502 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10503 fi
10504
10505 else
10506
10507 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10510 else
10511 no_cache=1
10512 fi
10513
10514 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515
10516 fi;
10517
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10526 else
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10529 fi
10530
10531
10532 enablestring=
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10535 no_cache=0
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval="$enable_dirdlg"
10539
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10542 else
10543 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10544 fi
10545
10546 else
10547
10548 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10551 else
10552 no_cache=1
10553 fi
10554
10555 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556
10557 fi;
10558
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10567 else
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10570 fi
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval="$enable_msgdlg"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10583 else
10584 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597
10598 fi;
10599
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613
10614 enablestring=
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10617 no_cache=0
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval="$enable_numberdlg"
10621
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10624 else
10625 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10626 fi
10627
10628 else
10629
10630 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 else
10634 no_cache=1
10635 fi
10636
10637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638
10639 fi;
10640
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654
10655 enablestring=
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10658 no_cache=0
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval="$enable_splash"
10662
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash='wxUSE_SPLASH=yes'
10665 else
10666 ac_cv_use_splash='wxUSE_SPLASH=no'
10667 fi
10668
10669 else
10670
10671 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10674 else
10675 no_cache=1
10676 fi
10677
10678 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679
10680 fi;
10681
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695
10696 enablestring=
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10699 no_cache=0
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval="$enable_textdlg"
10703
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10706 else
10707 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10708 fi
10709
10710 else
10711
10712 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10715 else
10716 no_cache=1
10717 fi
10718
10719 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720
10721 fi;
10722
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735
10736
10737 enablestring=
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10740 no_cache=0
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval="$enable_tipdlg"
10744
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10747 else
10748 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10749 fi
10750
10751 else
10752
10753 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 else
10757 no_cache=1
10758 fi
10759
10760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761
10762 fi;
10763
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777
10778 enablestring=
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10781 no_cache=0
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval="$enable_progressdlg"
10785
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10788 else
10789 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10790 fi
10791
10792 else
10793
10794 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 else
10798 no_cache=1
10799 fi
10800
10801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802
10803 fi;
10804
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10813 else
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10816 fi
10817
10818
10819 enablestring=
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10822 no_cache=0
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval="$enable_wizarddlg"
10826
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10829 else
10830 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10831 fi
10832
10833 else
10834
10835 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10838 else
10839 no_cache=1
10840 fi
10841
10842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843
10844 fi;
10845
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859
10860
10861
10862 enablestring=
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10865 no_cache=0
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval="$enable_menus"
10869
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus='wxUSE_MENUS=yes'
10872 else
10873 ac_cv_use_menus='wxUSE_MENUS=no'
10874 fi
10875
10876 else
10877
10878 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x ; then
10880 eval "DEFAULT_$LINE"
10881 else
10882 no_cache=1
10883 fi
10884
10885 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886
10887 fi;
10888
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10892 fi
10893
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902
10903 enablestring=
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10906 no_cache=0
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval="$enable_miniframe"
10910
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10913 else
10914 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10915 fi
10916
10917 else
10918
10919 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x ; then
10921 eval "DEFAULT_$LINE"
10922 else
10923 no_cache=1
10924 fi
10925
10926 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927
10928 fi;
10929
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10933 fi
10934
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943
10944 enablestring=
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10947 no_cache=0
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval="$enable_tooltips"
10951
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10954 else
10955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10956 fi
10957
10958 else
10959
10960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x ; then
10962 eval "DEFAULT_$LINE"
10963 else
10964 no_cache=1
10965 fi
10966
10967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968
10969 fi;
10970
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10974 fi
10975
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10979 else
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10982 fi
10983
10984
10985 enablestring=
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10988 no_cache=0
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval="$enable_splines"
10992
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines='wxUSE_SPLINES=yes'
10995 else
10996 ac_cv_use_splines='wxUSE_SPLINES=no'
10997 fi
10998
10999 else
11000
11001 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x ; then
11003 eval "DEFAULT_$LINE"
11004 else
11005 no_cache=1
11006 fi
11007
11008 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009
11010 fi;
11011
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11015 fi
11016
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11020 else
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11023 fi
11024
11025
11026 enablestring=
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11029 no_cache=0
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval="$enable_mousewheel"
11033
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11036 else
11037 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11038 fi
11039
11040 else
11041
11042 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x ; then
11044 eval "DEFAULT_$LINE"
11045 else
11046 no_cache=1
11047 fi
11048
11049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050
11051 fi;
11052
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11061 else
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11064 fi
11065
11066
11067 enablestring=
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11070 no_cache=0
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval="$enable_validators"
11074
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11077 else
11078 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11079 fi
11080
11081 else
11082
11083 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11086 else
11087 no_cache=1
11088 fi
11089
11090 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091
11092 fi;
11093
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11102 else
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11105 fi
11106
11107
11108 enablestring=
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11111 no_cache=0
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval="$enable_busyinfo"
11115
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11118 else
11119 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11120 fi
11121
11122 else
11123
11124 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 else
11128 no_cache=1
11129 fi
11130
11131 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132
11133 fi;
11134
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148
11149 enablestring=
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11152 no_cache=0
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval="$enable_joystick"
11156
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11159 else
11160 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11161 fi
11162
11163 else
11164
11165 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11168 else
11169 no_cache=1
11170 fi
11171
11172 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173
11174 fi;
11175
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11184 else
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11187 fi
11188
11189
11190 enablestring=
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11193 no_cache=0
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval="$enable_metafile"
11197
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11200 else
11201 ac_cv_use_metafile='wxUSE_METAFILE=no'
11202 fi
11203
11204 else
11205
11206 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11209 else
11210 no_cache=1
11211 fi
11212
11213 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214
11215 fi;
11216
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11225 else
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230
11231 enablestring=
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11234 no_cache=0
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval="$enable_dragimage"
11238
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11241 else
11242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11243 fi
11244
11245 else
11246
11247 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 else
11251 no_cache=1
11252 fi
11253
11254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255
11256 fi;
11257
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval="$enable_accessibility"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11282 else
11283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296
11297 fi;
11298
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312
11313 if test "$wxUSE_MSW" = "1"; then
11314
11315 enablestring=
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11318 no_cache=0
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval="$enable_dccache"
11322
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11325 else
11326 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11327 fi
11328
11329 else
11330
11331 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x ; then
11333 eval "DEFAULT_$LINE"
11334 else
11335 no_cache=1
11336 fi
11337
11338 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339
11340 fi;
11341
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval="$enable_palette"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette='wxUSE_PALETTE=yes'
11369 else
11370 ac_cv_use_palette='wxUSE_PALETTE=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383
11384 fi;
11385
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 enablestring=
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11403 no_cache=0
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval="$enable_image"
11407
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image='wxUSE_IMAGE=yes'
11410 else
11411 ac_cv_use_image='wxUSE_IMAGE=no'
11412 fi
11413
11414 else
11415
11416 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x ; then
11418 eval "DEFAULT_$LINE"
11419 else
11420 no_cache=1
11421 fi
11422
11423 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424
11425 fi;
11426
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11430 fi
11431
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440
11441 enablestring=
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11444 no_cache=0
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval="$enable_gif"
11448
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif='wxUSE_GIF=yes'
11451 else
11452 ac_cv_use_gif='wxUSE_GIF=no'
11453 fi
11454
11455 else
11456
11457 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x ; then
11459 eval "DEFAULT_$LINE"
11460 else
11461 no_cache=1
11462 fi
11463
11464 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465
11466 fi;
11467
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480
11481
11482 enablestring=
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11485 no_cache=0
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval="$enable_pcx"
11489
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx='wxUSE_PCX=yes'
11492 else
11493 ac_cv_use_pcx='wxUSE_PCX=no'
11494 fi
11495
11496 else
11497
11498 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 else
11502 no_cache=1
11503 fi
11504
11505 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506
11507 fi;
11508
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11517 else
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11520 fi
11521
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval="$enable_tga"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga='wxUSE_TGA=yes'
11533 else
11534 ac_cv_use_tga='wxUSE_TGA=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547
11548 fi;
11549
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563
11564 enablestring=
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11567 no_cache=0
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval="$enable_iff"
11571
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff='wxUSE_IFF=yes'
11574 else
11575 ac_cv_use_iff='wxUSE_IFF=no'
11576 fi
11577
11578 else
11579
11580 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x ; then
11582 eval "DEFAULT_$LINE"
11583 else
11584 no_cache=1
11585 fi
11586
11587 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588
11589 fi;
11590
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604
11605 enablestring=
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11608 no_cache=0
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval="$enable_pnm"
11612
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm='wxUSE_PNM=yes'
11615 else
11616 ac_cv_use_pnm='wxUSE_PNM=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629
11630 fi;
11631
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11635 fi
11636
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11640 else
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11643 fi
11644
11645
11646 enablestring=
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11649 no_cache=0
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval="$enable_xpm"
11653
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm='wxUSE_XPM=yes'
11656 else
11657 ac_cv_use_xpm='wxUSE_XPM=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670
11671 fi;
11672
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11676 fi
11677
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686
11687 enablestring=
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11690 no_cache=0
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval="$enable_ico_cur"
11694
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11697 else
11698 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711
11712 fi;
11713
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11717 fi
11718
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727
11728 fi
11729
11730
11731
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval="$with_flavour"
11735 WX_FLAVOUR="$withval"
11736 fi;
11737
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval="$enable_official_build"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11750 else
11751 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764
11765 fi;
11766
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval="$enable_vendor"
11783 VENDOR="$enableval"
11784 fi;
11785 if test "x$VENDOR" = "x"; then
11786 VENDOR="custom"
11787 fi
11788
11789
11790
11791
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11794
11795
11796
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11799
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11804 DEFAULT_DEFAULT_wxUSE_MSW=1
11805 wxUSE_SHARED=no
11806 fi
11807
11808
11809 if test "$wxUSE_GUI" = "yes"; then
11810
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11815 fi
11816
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit in `echo $ALL_TOOLKITS`; do
11819 var=wxUSE_$toolkit
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11822 eval "$var=0"
11823 elif test "x$value" != "x"; then
11824 eval "$var=1"
11825 fi
11826
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11829 fi
11830 done
11831 else
11832 for toolkit in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11835 else
11836 var=DEFAULT_wxUSE_$toolkit
11837
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11841 fi
11842 fi
11843 eval "wxUSE_$toolkit=\$${var}"
11844 done
11845 fi
11846
11847 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11850
11851 case "${host}" in
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11854 esac
11855
11856 case "$NUM_TOOLKITS" in
11857 1)
11858 ;;
11859 0)
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11863 ;;
11864 *)
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11868 esac
11869
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11872 wxGTK_VERSION=2
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11874 wxGTK_VERSION=1
11875 fi
11876
11877 for toolkit in `echo $ALL_TOOLKITS`; do
11878 var=wxUSE_$toolkit
11879 eval "value=\$${var}"
11880 if test "x$value" != x; then
11881 cache_var=CACHE_$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11888 fi
11889 fi
11890 if test "$value" = 1; then
11891 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11894 fi
11895 fi
11896 done
11897 else
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11901 else
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11904 fi
11905 fi
11906
11907
11908 cat >confcache <<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11914 #
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11917 #
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11921
11922 _ACEOF
11923
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11929 {
11930 (set) 2>&1 |
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11932 *ac_space=\ *)
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11935 sed -n \
11936 "s/'/'\\\\''/g;
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11938 ;;
11939 *)
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11941 sed -n \
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11943 ;;
11944 esac;
11945 } |
11946 sed '
11947 t clear
11948 : clear
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11950 t end
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11952 : end' >>confcache
11953 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache >$cache_file
11957 else
11958 echo "not updating unwritable cache $cache_file"
11959 fi
11960 fi
11961 rm -f confcache
11962
11963 CFLAGS=${CFLAGS:=}
11964
11965
11966
11967 ac_ext=c
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC="$CC" # Let the user override the test.
11982 else
11983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11984 for as_dir in $PATH
11985 do
11986 IFS=$as_save_IFS
11987 test -z "$as_dir" && as_dir=.
11988 for ac_exec_ext in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 break 2
11993 fi
11994 done
11995 done
11996
11997 fi
11998 fi
11999 CC=$ac_cv_prog_CC
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12003 else
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12006 fi
12007
12008 fi
12009 if test -z "$ac_cv_prog_CC"; then
12010 ac_ct_CC=$CC
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc; ac_word=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12020 else
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12023 do
12024 IFS=$as_save_IFS
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 break 2
12031 fi
12032 done
12033 done
12034
12035 fi
12036 fi
12037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12041 else
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12044 fi
12045
12046 CC=$ac_ct_CC
12047 else
12048 CC="$ac_cv_prog_CC"
12049 fi
12050
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy ${ac_tool_prefix}cc; ac_word=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC="$CC" # Let the user override the test.
12062 else
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12065 do
12066 IFS=$as_save_IFS
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 break 2
12073 fi
12074 done
12075 done
12076
12077 fi
12078 fi
12079 CC=$ac_cv_prog_CC
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12083 else
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12086 fi
12087
12088 fi
12089 if test -z "$ac_cv_prog_CC"; then
12090 ac_ct_CC=$CC
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc; ac_word=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12100 else
12101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102 for as_dir in $PATH
12103 do
12104 IFS=$as_save_IFS
12105 test -z "$as_dir" && as_dir=.
12106 for ac_exec_ext in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 break 2
12111 fi
12112 done
12113 done
12114
12115 fi
12116 fi
12117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12121 else
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12124 fi
12125
12126 CC=$ac_ct_CC
12127 else
12128 CC="$ac_cv_prog_CC"
12129 fi
12130
12131 fi
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc; ac_word=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC="$CC" # Let the user override the test.
12142 else
12143 ac_prog_rejected=no
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12146 do
12147 IFS=$as_save_IFS
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected=yes
12153 continue
12154 fi
12155 ac_cv_prog_CC="cc"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy $ac_cv_prog_CC
12165 shift
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12170 shift
12171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12172 fi
12173 fi
12174 fi
12175 fi
12176 CC=$ac_cv_prog_CC
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12180 else
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12183 fi
12184
12185 fi
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12188 for ac_prog in cl
12189 do
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC="$CC" # Let the user override the test.
12199 else
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12202 do
12203 IFS=$as_save_IFS
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 break 2
12210 fi
12211 done
12212 done
12213
12214 fi
12215 fi
12216 CC=$ac_cv_prog_CC
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12220 else
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12223 fi
12224
12225 test -n "$CC" && break
12226 done
12227 fi
12228 if test -z "$CC"; then
12229 ac_ct_CC=$CC
12230 for ac_prog in cl
12231 do
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy $ac_prog; ac_word=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 else
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12241 else
12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12244 do
12245 IFS=$as_save_IFS
12246 test -z "$as_dir" && as_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 break 2
12252 fi
12253 done
12254 done
12255
12256 fi
12257 fi
12258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12262 else
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12265 fi
12266
12267 test -n "$ac_ct_CC" && break
12268 done
12269
12270 CC=$ac_ct_CC
12271 fi
12272
12273 fi
12274
12275
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12281
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev/null >&5) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev/null >&5) 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev/null >&5) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 ac_clean_files_save=$ac_clean_files
12318 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12321 # of exeext.
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12332 # resort.
12333
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12336 ac_cv_exeext=
12337 # b.out is created by i960 compilers.
12338 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12339 do
12340 test -f "$ac_file" || continue
12341 case $ac_file in
12342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12343 ;;
12344 conftest.$ac_ext )
12345 # This is the source file.
12346 ;;
12347 [ab].out )
12348 # We found the default executable, but exeext='' is most
12349 # certainly right.
12350 break;;
12351 *.* )
12352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12357 break;;
12358 * )
12359 break;;
12360 esac
12361 done
12362 else
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.$ac_ext >&5
12365
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12371 fi
12372
12373 ac_exeext=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12376
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 cross_compiling=no
12391 else
12392 if test "$cross_compiling" = maybe; then
12393 cross_compiling=yes
12394 else
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12402 fi
12403 fi
12404 fi
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12407
12408 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12409 ac_clean_files=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12416
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12427 # `rm'.
12428 for ac_file in conftest.exe conftest conftest.*; do
12429 test -f "$ac_file" || continue
12430 case $ac_file in
12431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12434 break;;
12435 * ) break;;
12436 esac
12437 done
12438 else
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12444 fi
12445
12446 rm -f conftest$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12449
12450 rm -f conftest.$ac_ext
12451 EXEEXT=$ac_cv_exeext
12452 ac_exeext=$EXEEXT
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 else
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464
12465 int
12466 main ()
12467 {
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12480 case $ac_file in
12481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12483 break;;
12484 esac
12485 done
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12495 fi
12496
12497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT=$ac_cv_objext
12502 ac_objext=$OBJEXT
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12508 cat >conftest.$ac_ext <<_ACEOF
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514
12515 int
12516 main ()
12517 {
12518 #ifndef __GNUC__
12519 choke me
12520 #endif
12521
12522 ;
12523 return 0;
12524 }
12525 _ACEOF
12526 rm -f conftest.$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 ac_compiler_gnu=no
12553 fi
12554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12556
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS=${CFLAGS+set}
12562 ac_save_CFLAGS=$CFLAGS
12563 CFLAGS="-g"
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575
12576 int
12577 main ()
12578 {
12579
12580 ;
12581 return 0;
12582 }
12583 _ACEOF
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12602 ac_status=$?
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g=yes
12606 else
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_cv_prog_cc_g=no
12611 fi
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 fi
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12620 CFLAGS="-g -O2"
12621 else
12622 CFLAGS="-g"
12623 fi
12624 else
12625 if test "$GCC" = yes; then
12626 CFLAGS="-O2"
12627 else
12628 CFLAGS=
12629 fi
12630 fi
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636 ac_cv_prog_cc_stdc=no
12637 ac_save_CC=$CC
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12645 #include <stdio.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12652 char **p;
12653 int i;
12654 {
12655 return p[i];
12656 }
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12658 {
12659 char *s;
12660 va_list v;
12661 va_start (v,p);
12662 s = g (p, va_arg (v,int));
12663 va_end (v);
12664 return s;
12665 }
12666
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12675
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12680 int argc;
12681 char **argv;
12682 int
12683 main ()
12684 {
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12698 do
12699 CC="$ac_save_CC $ac_arg"
12700 rm -f conftest.$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12712 ac_status=$?
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc=$ac_arg
12722 break
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 fi
12728 rm -f conftest.err conftest.$ac_objext
12729 done
12730 rm -f conftest.$ac_ext conftest.$ac_objext
12731 CC=$ac_save_CC
12732
12733 fi
12734
12735 case "x$ac_cv_prog_cc_stdc" in
12736 x|xno)
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12739 *)
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC="$CC $ac_cv_prog_cc_stdc" ;;
12743 esac
12744
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12751 choke me
12752 #endif
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration in \
12776 '' \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12781 'void exit (int);'
12782 do
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 $ac_declaration
12790 #include <stdlib.h>
12791 int
12792 main ()
12793 {
12794 exit (42);
12795 ;
12796 return 0;
12797 }
12798 _ACEOF
12799 rm -f conftest.$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 :
12821 else
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12824
12825 continue
12826 fi
12827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12828 cat >conftest.$ac_ext <<_ACEOF
12829 /* confdefs.h. */
12830 _ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 $ac_declaration
12835 int
12836 main ()
12837 {
12838 exit (42);
12839 ;
12840 return 0;
12841 }
12842 _ACEOF
12843 rm -f conftest.$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12846 ac_status=$?
12847 grep -v '^ *+' conftest.er1 >conftest.err
12848 rm -f conftest.er1
12849 cat conftest.err >&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 break
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12868
12869 fi
12870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 done
12872 rm -f conftest*
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12877 fi
12878
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 fi
12884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12885 ac_ext=c
12886 ac_cpp='$CPP $CPPFLAGS'
12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12890
12891
12892
12893 ac_ext=c
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 else
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910
12911 int
12912 main ()
12913 {
12914
12915 #ifndef __INTEL_COMPILER
12916 choke me
12917 #endif
12918
12919 ;
12920 return 0;
12921 }
12922 _ACEOF
12923 rm -f conftest.$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12926 ac_status=$?
12927 grep -v '^ *+' conftest.er1 >conftest.err
12928 rm -f conftest.er1
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12945 else
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.$ac_ext >&5
12948
12949 bakefile_cv_c_compiler___INTEL_COMPILER=no
12950
12951 fi
12952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12953
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12958 ac_ext=c
12959 ac_cpp='$CPP $CPPFLAGS'
12960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12963
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12965 :; INTELCC=yes
12966 else
12967 :;
12968 fi
12969
12970
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 else
12978 cat >conftest.$ac_ext <<_ACEOF
12979 /* confdefs.h. */
12980 _ACEOF
12981 cat confdefs.h >>conftest.$ac_ext
12982 cat >>conftest.$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12984
12985 int
12986 main ()
12987 {
12988
12989 ;
12990 return 0;
12991 }
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest.$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13000 case $ac_file in
13001 conftest.$ac_ext.o)
13002 bakefile_cv_c_exto="-ext o"
13003 ;;
13004 *)
13005 ;;
13006 esac
13007 done
13008 else
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13014
13015 fi
13016
13017 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13018
13019 fi
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13025 fi
13026 if test "c" = "cxx"; then
13027 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13028 fi
13029 fi
13030
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS=${CFLAGS+set}
13034 ac_save_CFLAGS=$CFLAGS
13035 CFLAGS="-g"
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041 cat >conftest.$ac_ext <<_ACEOF
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047
13048 int
13049 main ()
13050 {
13051
13052 ;
13053 return 0;
13054 }
13055 _ACEOF
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13059 ac_status=$?
13060 grep -v '^ *+' conftest.er1 >conftest.err
13061 rm -f conftest.er1
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g=yes
13078 else
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13081
13082 ac_cv_prog_cc_g=no
13083 fi
13084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13085 fi
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13092 CFLAGS="-g -O2"
13093 else
13094 CFLAGS="-g"
13095 fi
13096 else
13097 if test "$GCC" = yes; then
13098 CFLAGS="-O2"
13099 else
13100 CFLAGS=
13101 fi
13102 fi
13103 fi
13104 fi
13105
13106 case `uname -s` in
13107 AIX*)
13108 ac_ext=c
13109 ac_cpp='$CPP $CPPFLAGS'
13110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13113
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */
13121 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125
13126 int
13127 main ()
13128 {
13129 #ifndef __xlC__
13130 choke me
13131 #endif
13132
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13149 ac_status=$?
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc=yes
13159 else
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13162
13163 bakefile_compiler_xlc=no
13164 fi
13165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13166 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13167
13168 fi
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13171
13172 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13173 ac_ext=c
13174 ac_cpp='$CPP $CPPFLAGS'
13175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13178
13179
13180 ;;
13181
13182 Darwin)
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200
13201 int
13202 main ()
13203 {
13204 #ifndef __MWERKS__
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_compiler_mwerks=no
13239 fi
13240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13241 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13242
13243 fi
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13246
13247 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13248 ac_ext=c
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253
13254
13255 ac_ext=c
13256 ac_cpp='$CPP $CPPFLAGS'
13257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276 #ifndef __xlC__
13277 choke me
13278 #endif
13279
13280 ;
13281 return 0;
13282 }
13283 _ACEOF
13284 rm -f conftest.$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_compiler_xlc=yes
13306 else
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13309
13310 bakefile_compiler_xlc=no
13311 fi
13312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13314
13315 fi
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13318
13319 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13320 ac_ext=c
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325
13326
13327 ;;
13328
13329 IRIX*)
13330
13331
13332 ac_ext=c
13333 ac_cpp='$CPP $CPPFLAGS'
13334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13337
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349
13350 int
13351 main ()
13352 {
13353
13354 #ifndef _SGI_COMPILER_VERSION
13355 choke me
13356 #endif
13357
13358 ;
13359 return 0;
13360 }
13361 _ACEOF
13362 rm -f conftest.$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13387
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13389
13390 fi
13391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13392
13393
13394 fi
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13404 :; SGICC=yes
13405 else
13406 :;
13407 fi
13408
13409
13410 ;;
13411
13412 HP-UX*)
13413
13414
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432
13433 int
13434 main ()
13435 {
13436
13437 #ifndef __HP_cc
13438 choke me
13439 #endif
13440
13441 ;
13442 return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc=yes
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 bakefile_cv_c_compiler___HP_cc=no
13472
13473 fi
13474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13475
13476
13477 fi
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13480 ac_ext=c
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13485
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13487 :; HPCC=yes
13488 else
13489 :;
13490 fi
13491
13492
13493 ;;
13494
13495 OSF1)
13496
13497
13498 ac_ext=c
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13503
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515
13516 int
13517 main ()
13518 {
13519
13520 #ifndef __DECC
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_c_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_cv_c_compiler___DECC=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 bakefile_cv_c_compiler___DECC=no
13555
13556 fi
13557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13558
13559
13560 fi
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13563 ac_ext=c
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13568
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13570 :; COMPAQCC=yes
13571 else
13572 :;
13573 fi
13574
13575
13576 ;;
13577
13578 SunOS)
13579
13580
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13586
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598
13599 int
13600 main ()
13601 {
13602
13603 #ifndef __SUNPRO_C
13604 choke me
13605 #endif
13606
13607 ;
13608 return 0;
13609 }
13610 _ACEOF
13611 rm -f conftest.$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C=yes
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13636
13637 bakefile_cv_c_compiler___SUNPRO_C=no
13638
13639 fi
13640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641
13642
13643 fi
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13653 :; SUNCC=yes
13654 else
13655 :;
13656 fi
13657
13658
13659 ;;
13660 esac
13661 fi
13662
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13674 CPP=
13675 fi
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 else
13680 # Double quotes because CPP needs to be expanded
13681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13682 do
13683 ac_preproc_ok=false
13684 for ac_c_preproc_warn_flag in '' yes
13685 do
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #ifdef __STDC__
13699 # include <limits.h>
13700 #else
13701 # include <assert.h>
13702 #endif
13703 Syntax error
13704 _ACEOF
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev/null; then
13713 if test -s conftest.err; then
13714 ac_cpp_err=$ac_c_preproc_warn_flag
13715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13716 else
13717 ac_cpp_err=
13718 fi
13719 else
13720 ac_cpp_err=yes
13721 fi
13722 if test -z "$ac_cpp_err"; then
13723 :
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728 # Broken: fails on valid input.
13729 continue
13730 fi
13731 rm -f conftest.err conftest.$ac_ext
13732
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.$ac_ext <<_ACEOF
13736 /* confdefs.h. */
13737 _ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13742 _ACEOF
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev/null; then
13751 if test -s conftest.err; then
13752 ac_cpp_err=$ac_c_preproc_warn_flag
13753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13754 else
13755 ac_cpp_err=
13756 fi
13757 else
13758 ac_cpp_err=yes
13759 fi
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13762 continue
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 # Passes both tests.
13768 ac_preproc_ok=:
13769 break
13770 fi
13771 rm -f conftest.err conftest.$ac_ext
13772
13773 done
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.$ac_ext
13776 if $ac_preproc_ok; then
13777 break
13778 fi
13779
13780 done
13781 ac_cv_prog_CPP=$CPP
13782
13783 fi
13784 CPP=$ac_cv_prog_CPP
13785 else
13786 ac_cv_prog_CPP=$CPP
13787 fi
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok=false
13791 for ac_c_preproc_warn_flag in '' yes
13792 do
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13810 Syntax error
13811 _ACEOF
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev/null; then
13820 if test -s conftest.err; then
13821 ac_cpp_err=$ac_c_preproc_warn_flag
13822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13823 else
13824 ac_cpp_err=
13825 fi
13826 else
13827 ac_cpp_err=yes
13828 fi
13829 if test -z "$ac_cpp_err"; then
13830 :
13831 else
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.$ac_ext >&5
13834
13835 # Broken: fails on valid input.
13836 continue
13837 fi
13838 rm -f conftest.err conftest.$ac_ext
13839
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13849 _ACEOF
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13852 ac_status=$?
13853 grep -v '^ *+' conftest.er1 >conftest.err
13854 rm -f conftest.er1
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev/null; then
13858 if test -s conftest.err; then
13859 ac_cpp_err=$ac_c_preproc_warn_flag
13860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13861 else
13862 ac_cpp_err=
13863 fi
13864 else
13865 ac_cpp_err=yes
13866 fi
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13869 continue
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 # Passes both tests.
13875 ac_preproc_ok=:
13876 break
13877 fi
13878 rm -f conftest.err conftest.$ac_ext
13879
13880 done
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.$ac_ext
13883 if $ac_preproc_ok; then
13884 :
13885 else
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13891 fi
13892
13893 ac_ext=c
13894 ac_cpp='$CPP $CPPFLAGS'
13895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898
13899
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13906 then ac_cv_prog_egrep='grep -E'
13907 else ac_cv_prog_egrep='egrep'
13908 fi
13909 fi
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP=$ac_cv_prog_egrep
13913
13914
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 ac_pattern="Autoconf.*'x'"
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 #include <sgtty.h>
13929 Autoconf TIOCGETP
13930 _ACEOF
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13933 ac_cv_prog_gcc_traditional=yes
13934 else
13935 ac_cv_prog_gcc_traditional=no
13936 fi
13937 rm -f conftest*
13938
13939
13940 if test $ac_cv_prog_gcc_traditional = no; then
13941 cat >conftest.$ac_ext <<_ACEOF
13942 /* confdefs.h. */
13943 _ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13948 Autoconf TCGETA
13949 _ACEOF
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13952 ac_cv_prog_gcc_traditional=yes
13953 fi
13954 rm -f conftest*
13955
13956 fi
13957 fi
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC="$CC -traditional"
13962 fi
13963 fi
13964
13965
13966 CXXFLAGS=${CXXFLAGS:=}
13967
13968
13969
13970 ac_ext=cc
13971 ac_cpp='$CXXCPP $CPPFLAGS'
13972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13975 if test -n "$ac_tool_prefix"; then
13976 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13977 do
13978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13980 echo "$as_me:$LINENO: checking for $ac_word" >&5
13981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13982 if test "${ac_cv_prog_CXX+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 if test -n "$CXX"; then
13986 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13987 else
13988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13989 for as_dir in $PATH
13990 do
13991 IFS=$as_save_IFS
13992 test -z "$as_dir" && as_dir=.
13993 for ac_exec_ext in '' $ac_executable_extensions; do
13994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13997 break 2
13998 fi
13999 done
14000 done
14001
14002 fi
14003 fi
14004 CXX=$ac_cv_prog_CXX
14005 if test -n "$CXX"; then
14006 echo "$as_me:$LINENO: result: $CXX" >&5
14007 echo "${ECHO_T}$CXX" >&6
14008 else
14009 echo "$as_me:$LINENO: result: no" >&5
14010 echo "${ECHO_T}no" >&6
14011 fi
14012
14013 test -n "$CXX" && break
14014 done
14015 fi
14016 if test -z "$CXX"; then
14017 ac_ct_CXX=$CXX
14018 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14019 do
14020 # Extract the first word of "$ac_prog", so it can be a program name with args.
14021 set dummy $ac_prog; ac_word=$2
14022 echo "$as_me:$LINENO: checking for $ac_word" >&5
14023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14024 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 else
14027 if test -n "$ac_ct_CXX"; then
14028 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14029 else
14030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14031 for as_dir in $PATH
14032 do
14033 IFS=$as_save_IFS
14034 test -z "$as_dir" && as_dir=.
14035 for ac_exec_ext in '' $ac_executable_extensions; do
14036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14037 ac_cv_prog_ac_ct_CXX="$ac_prog"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14039 break 2
14040 fi
14041 done
14042 done
14043
14044 fi
14045 fi
14046 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14047 if test -n "$ac_ct_CXX"; then
14048 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14049 echo "${ECHO_T}$ac_ct_CXX" >&6
14050 else
14051 echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14053 fi
14054
14055 test -n "$ac_ct_CXX" && break
14056 done
14057 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14058
14059 CXX=$ac_ct_CXX
14060 fi
14061
14062
14063 # Provide some information about the compiler.
14064 echo "$as_me:$LINENO:" \
14065 "checking for C++ compiler version" >&5
14066 ac_compiler=`set X $ac_compile; echo $2`
14067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14068 (eval $ac_compiler --version </dev/null >&5) 2>&5
14069 ac_status=$?
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }
14072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14073 (eval $ac_compiler -v </dev/null >&5) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }
14077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14078 (eval $ac_compiler -V </dev/null >&5) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }
14082
14083 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 else
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094
14095 int
14096 main ()
14097 {
14098 #ifndef __GNUC__
14099 choke me
14100 #endif
14101
14102 ;
14103 return 0;
14104 }
14105 _ACEOF
14106 rm -f conftest.$ac_objext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14108 (eval $ac_compile) 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try='test -s conftest.$ac_objext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_compiler_gnu=yes
14128 else
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14131
14132 ac_compiler_gnu=no
14133 fi
14134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14135 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14136
14137 fi
14138 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14139 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14140 GXX=`test $ac_compiler_gnu = yes && echo yes`
14141 ac_test_CXXFLAGS=${CXXFLAGS+set}
14142 ac_save_CXXFLAGS=$CXXFLAGS
14143 CXXFLAGS="-g"
14144 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14145 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14146 if test "${ac_cv_prog_cxx_g+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 else
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155
14156 int
14157 main ()
14158 {
14159
14160 ;
14161 return 0;
14162 }
14163 _ACEOF
14164 rm -f conftest.$ac_objext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>conftest.er1
14167 ac_status=$?
14168 grep -v '^ *+' conftest.er1 >conftest.err
14169 rm -f conftest.er1
14170 cat conftest.err >&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_prog_cxx_g=yes
14186 else
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14189
14190 ac_cv_prog_cxx_g=no
14191 fi
14192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14193 fi
14194 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14195 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14196 if test "$ac_test_CXXFLAGS" = set; then
14197 CXXFLAGS=$ac_save_CXXFLAGS
14198 elif test $ac_cv_prog_cxx_g = yes; then
14199 if test "$GXX" = yes; then
14200 CXXFLAGS="-g -O2"
14201 else
14202 CXXFLAGS="-g"
14203 fi
14204 else
14205 if test "$GXX" = yes; then
14206 CXXFLAGS="-O2"
14207 else
14208 CXXFLAGS=
14209 fi
14210 fi
14211 for ac_declaration in \
14212 '' \
14213 'extern "C" void std::exit (int) throw (); using std::exit;' \
14214 'extern "C" void std::exit (int); using std::exit;' \
14215 'extern "C" void exit (int) throw ();' \
14216 'extern "C" void exit (int);' \
14217 'void exit (int);'
14218 do
14219 cat >conftest.$ac_ext <<_ACEOF
14220 /* confdefs.h. */
14221 _ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_declaration
14226 #include <stdlib.h>
14227 int
14228 main ()
14229 {
14230 exit (42);
14231 ;
14232 return 0;
14233 }
14234 _ACEOF
14235 rm -f conftest.$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14238 ac_status=$?
14239 grep -v '^ *+' conftest.er1 >conftest.err
14240 rm -f conftest.er1
14241 cat conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14247 ac_status=$?
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try='test -s conftest.$ac_objext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14253 ac_status=$?
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14256 :
14257 else
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.$ac_ext >&5
14260
14261 continue
14262 fi
14263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 $ac_declaration
14271 int
14272 main ()
14273 {
14274 exit (42);
14275 ;
14276 return 0;
14277 }
14278 _ACEOF
14279 rm -f conftest.$ac_objext
14280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14281 (eval $ac_compile) 2>conftest.er1
14282 ac_status=$?
14283 grep -v '^ *+' conftest.er1 >conftest.err
14284 rm -f conftest.er1
14285 cat conftest.err >&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } &&
14288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14291 ac_status=$?
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try='test -s conftest.$ac_objext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14297 ac_status=$?
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 break
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14304
14305 fi
14306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14307 done
14308 rm -f conftest*
14309 if test -n "$ac_declaration"; then
14310 echo '#ifdef __cplusplus' >>confdefs.h
14311 echo $ac_declaration >>confdefs.h
14312 echo '#endif' >>confdefs.h
14313 fi
14314
14315 ac_ext=c
14316 ac_cpp='$CPP $CPPFLAGS'
14317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14320
14321
14322
14323 ac_ext=cc
14324 ac_cpp='$CXXCPP $CPPFLAGS'
14325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14328
14329 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14330 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14331 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14334 cat >conftest.$ac_ext <<_ACEOF
14335 /* confdefs.h. */
14336 _ACEOF
14337 cat confdefs.h >>conftest.$ac_ext
14338 cat >>conftest.$ac_ext <<_ACEOF
14339 /* end confdefs.h. */
14340
14341 int
14342 main ()
14343 {
14344
14345 #ifndef __INTEL_COMPILER
14346 choke me
14347 #endif
14348
14349 ;
14350 return 0;
14351 }
14352 _ACEOF
14353 rm -f conftest.$ac_objext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355 (eval $ac_compile) 2>conftest.er1
14356 ac_status=$?
14357 grep -v '^ *+' conftest.er1 >conftest.err
14358 rm -f conftest.er1
14359 cat conftest.err >&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } &&
14362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14375 else
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.$ac_ext >&5
14378
14379 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14380
14381 fi
14382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14383
14384
14385 fi
14386 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14388 ac_ext=c
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14393
14394 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14395 :; INTELCXX=yes
14396 else
14397 :;
14398 fi
14399
14400
14401 if test "x$GCXX" != "xyes"; then
14402 if test "xCXX" = "xC"; then
14403 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14404 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14405 if test "${bakefile_cv_c_exto+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 else
14408 cat >conftest.$ac_ext <<_ACEOF
14409 /* confdefs.h. */
14410 _ACEOF
14411 cat confdefs.h >>conftest.$ac_ext
14412 cat >>conftest.$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414
14415 int
14416 main ()
14417 {
14418
14419 ;
14420 return 0;
14421 }
14422 _ACEOF
14423 rm -f conftest.$ac_objext conftest.$ac_ext.o
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; then
14429 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14430 case $ac_file in
14431 conftest.$ac_ext.o)
14432 bakefile_cv_c_exto="-ext o"
14433 ;;
14434 *)
14435 ;;
14436 esac
14437 done
14438 else
14439 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14440 See \`config.log' for more details." >&5
14441 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14442 See \`config.log' for more details." >&2;}
14443 { (exit 1); exit 1; }; }
14444
14445 fi
14446
14447 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14448
14449 fi
14450 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14451 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14452 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14453 if test "c" = "c"; then
14454 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14455 fi
14456 if test "c" = "cxx"; then
14457 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14458 fi
14459 fi
14460
14461 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14462 unset ac_cv_prog_cc_g
14463 ac_test_CFLAGS=${CFLAGS+set}
14464 ac_save_CFLAGS=$CFLAGS
14465 CFLAGS="-g"
14466 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14467 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14468 if test "${ac_cv_prog_cc_g+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471 cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477
14478 int
14479 main ()
14480 {
14481
14482 ;
14483 return 0;
14484 }
14485 _ACEOF
14486 rm -f conftest.$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>conftest.er1
14489 ac_status=$?
14490 grep -v '^ *+' conftest.er1 >conftest.err
14491 rm -f conftest.er1
14492 cat conftest.err >&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497 (eval $ac_try) 2>&5
14498 ac_status=$?
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try='test -s conftest.$ac_objext'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14504 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 ac_cv_prog_cc_g=yes
14508 else
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.$ac_ext >&5
14511
14512 ac_cv_prog_cc_g=no
14513 fi
14514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14515 fi
14516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14518 if test "$ac_test_CFLAGS" = set; then
14519 CFLAGS=$ac_save_CFLAGS
14520 elif test $ac_cv_prog_cc_g = yes; then
14521 if test "$GCC" = yes; then
14522 CFLAGS="-g -O2"
14523 else
14524 CFLAGS="-g"
14525 fi
14526 else
14527 if test "$GCC" = yes; then
14528 CFLAGS="-O2"
14529 else
14530 CFLAGS=
14531 fi
14532 fi
14533 fi
14534 fi
14535
14536 case `uname -s` in
14537 AIX*)
14538 ac_ext=cc
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14543
14544 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14545 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14546 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 else
14549 cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555
14556 int
14557 main ()
14558 {
14559 #ifndef __xlC__
14560 choke me
14561 #endif
14562
14563 ;
14564 return 0;
14565 }
14566 _ACEOF
14567 rm -f conftest.$ac_objext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14569 (eval $ac_compile) 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14579 ac_status=$?
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 bakefile_compiler_xlc=yes
14589 else
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.$ac_ext >&5
14592
14593 bakefile_compiler_xlc=no
14594 fi
14595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14596 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14597
14598 fi
14599 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14600 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14601
14602 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14603 ac_ext=c
14604 ac_cpp='$CPP $CPPFLAGS'
14605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14608
14609
14610 ;;
14611
14612 Darwin)
14613 ac_ext=cc
14614 ac_cpp='$CXXCPP $CPPFLAGS'
14615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14618
14619 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14620 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14621 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624 cat >conftest.$ac_ext <<_ACEOF
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630
14631 int
14632 main ()
14633 {
14634 #ifndef __MWERKS__
14635 choke me
14636 #endif
14637
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 bakefile_compiler_mwerks=yes
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668 bakefile_compiler_mwerks=no
14669 fi
14670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14671 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14672
14673 fi
14674 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14675 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14676
14677 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14678 ac_ext=c
14679 ac_cpp='$CPP $CPPFLAGS'
14680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14683
14684
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14692 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14693 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696 cat >conftest.$ac_ext <<_ACEOF
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702
14703 int
14704 main ()
14705 {
14706 #ifndef __xlC__
14707 choke me
14708 #endif
14709
14710 ;
14711 return 0;
14712 }
14713 _ACEOF
14714 rm -f conftest.$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 (eval $ac_compile) 2>conftest.er1
14717 ac_status=$?
14718 grep -v '^ *+' conftest.er1 >conftest.err
14719 rm -f conftest.er1
14720 cat conftest.err >&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } &&
14723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 bakefile_compiler_xlc=yes
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 bakefile_compiler_xlc=no
14741 fi
14742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14743 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14744
14745 fi
14746 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14747 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14748
14749 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14750 ac_ext=c
14751 ac_cpp='$CPP $CPPFLAGS'
14752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14755
14756
14757 ;;
14758
14759 IRIX*)
14760
14761
14762 ac_ext=cc
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14767
14768 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14769 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14770 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779
14780 int
14781 main ()
14782 {
14783
14784 #ifndef _SGI_COMPILER_VERSION
14785 choke me
14786 #endif
14787
14788 ;
14789 return 0;
14790 }
14791 _ACEOF
14792 rm -f conftest.$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14795 ac_status=$?
14796 grep -v '^ *+' conftest.er1 >conftest.err
14797 rm -f conftest.er1
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14819
14820 fi
14821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14822
14823
14824 fi
14825 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14826 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14827 ac_ext=c
14828 ac_cpp='$CPP $CPPFLAGS'
14829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14832
14833 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14834 :; SGICXX=yes
14835 else
14836 :;
14837 fi
14838
14839
14840 ;;
14841
14842 HP-UX*)
14843
14844
14845 ac_ext=cc
14846 ac_cpp='$CXXCPP $CPPFLAGS'
14847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14850
14851 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14852 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14853 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862
14863 int
14864 main ()
14865 {
14866
14867 #ifndef __HP_aCC
14868 choke me
14869 #endif
14870
14871 ;
14872 return 0;
14873 }
14874 _ACEOF
14875 rm -f conftest.$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14878 ac_status=$?
14879 grep -v '^ *+' conftest.er1 >conftest.err
14880 rm -f conftest.er1
14881 cat conftest.err >&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 bakefile_cv_cxx_compiler___HP_aCC=yes
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14900
14901 bakefile_cv_cxx_compiler___HP_aCC=no
14902
14903 fi
14904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14905
14906
14907 fi
14908 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14909 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14910 ac_ext=c
14911 ac_cpp='$CPP $CPPFLAGS'
14912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14915
14916 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14917 :; HPCXX=yes
14918 else
14919 :;
14920 fi
14921
14922
14923 ;;
14924
14925 OSF1)
14926
14927
14928 ac_ext=cc
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14935 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14936 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945
14946 int
14947 main ()
14948 {
14949
14950 #ifndef __DECCXX
14951 choke me
14952 #endif
14953
14954 ;
14955 return 0;
14956 }
14957 _ACEOF
14958 rm -f conftest.$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14961 ac_status=$?
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; } &&
14973 { ac_try='test -s conftest.$ac_objext'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14976 ac_status=$?
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; }; then
14979 bakefile_cv_cxx_compiler___DECCXX=yes
14980 else
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14983
14984 bakefile_cv_cxx_compiler___DECCXX=no
14985
14986 fi
14987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14988
14989
14990 fi
14991 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14992 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998
14999 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15000 :; COMPAQCXX=yes
15001 else
15002 :;
15003 fi
15004
15005
15006 ;;
15007
15008 SunOS)
15009
15010
15011 ac_ext=cc
15012 ac_cpp='$CXXCPP $CPPFLAGS'
15013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15016
15017 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15018 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15019 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 else
15022 cat >conftest.$ac_ext <<_ACEOF
15023 /* confdefs.h. */
15024 _ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028
15029 int
15030 main ()
15031 {
15032
15033 #ifndef __SUNPRO_CC
15034 choke me
15035 #endif
15036
15037 ;
15038 return 0;
15039 }
15040 _ACEOF
15041 rm -f conftest.$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15053 ac_status=$?
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; } &&
15056 { ac_try='test -s conftest.$ac_objext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15063 else
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.$ac_ext >&5
15066
15067 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15068
15069 fi
15070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15071
15072
15073 fi
15074 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15076 ac_ext=c
15077 ac_cpp='$CPP $CPPFLAGS'
15078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15081
15082 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15083 :; SUNCXX=yes
15084 else
15085 :;
15086 fi
15087
15088
15089 ;;
15090 esac
15091 fi
15092
15093
15094
15095 if test -n "$ac_tool_prefix"; then
15096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15098 echo "$as_me:$LINENO: checking for $ac_word" >&5
15099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15100 if test "${ac_cv_prog_RANLIB+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 else
15103 if test -n "$RANLIB"; then
15104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15105 else
15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15108 do
15109 IFS=$as_save_IFS
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 break 2
15116 fi
15117 done
15118 done
15119
15120 fi
15121 fi
15122 RANLIB=$ac_cv_prog_RANLIB
15123 if test -n "$RANLIB"; then
15124 echo "$as_me:$LINENO: result: $RANLIB" >&5
15125 echo "${ECHO_T}$RANLIB" >&6
15126 else
15127 echo "$as_me:$LINENO: result: no" >&5
15128 echo "${ECHO_T}no" >&6
15129 fi
15130
15131 fi
15132 if test -z "$ac_cv_prog_RANLIB"; then
15133 ac_ct_RANLIB=$RANLIB
15134 # Extract the first word of "ranlib", so it can be a program name with args.
15135 set dummy ranlib; ac_word=$2
15136 echo "$as_me:$LINENO: checking for $ac_word" >&5
15137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 if test -n "$ac_ct_RANLIB"; then
15142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15143 else
15144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15145 for as_dir in $PATH
15146 do
15147 IFS=$as_save_IFS
15148 test -z "$as_dir" && as_dir=.
15149 for ac_exec_ext in '' $ac_executable_extensions; do
15150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15151 ac_cv_prog_ac_ct_RANLIB="ranlib"
15152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15153 break 2
15154 fi
15155 done
15156 done
15157
15158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15159 fi
15160 fi
15161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15162 if test -n "$ac_ct_RANLIB"; then
15163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15164 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15165 else
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15168 fi
15169
15170 RANLIB=$ac_ct_RANLIB
15171 else
15172 RANLIB="$ac_cv_prog_RANLIB"
15173 fi
15174
15175
15176 if test -n "$ac_tool_prefix"; then
15177 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15178 set dummy ${ac_tool_prefix}ar; ac_word=$2
15179 echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15181 if test "${ac_cv_prog_AR+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$AR"; then
15185 ac_cv_prog_AR="$AR" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15194 ac_cv_prog_AR="${ac_tool_prefix}ar"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200
15201 fi
15202 fi
15203 AR=$ac_cv_prog_AR
15204 if test -n "$AR"; then
15205 echo "$as_me:$LINENO: result: $AR" >&5
15206 echo "${ECHO_T}$AR" >&6
15207 else
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15210 fi
15211
15212 fi
15213 if test -z "$ac_cv_prog_AR"; then
15214 ac_ct_AR=$AR
15215 # Extract the first word of "ar", so it can be a program name with args.
15216 set dummy ar; ac_word=$2
15217 echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15219 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 if test -n "$ac_ct_AR"; then
15223 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15224 else
15225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15226 for as_dir in $PATH
15227 do
15228 IFS=$as_save_IFS
15229 test -z "$as_dir" && as_dir=.
15230 for ac_exec_ext in '' $ac_executable_extensions; do
15231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15232 ac_cv_prog_ac_ct_AR="ar"
15233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 break 2
15235 fi
15236 done
15237 done
15238
15239 fi
15240 fi
15241 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15242 if test -n "$ac_ct_AR"; then
15243 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15244 echo "${ECHO_T}$ac_ct_AR" >&6
15245 else
15246 echo "$as_me:$LINENO: result: no" >&5
15247 echo "${ECHO_T}no" >&6
15248 fi
15249
15250 AR=$ac_ct_AR
15251 else
15252 AR="$ac_cv_prog_AR"
15253 fi
15254
15255 if test "x$AR" = "x" ; then
15256 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15257 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15258 { (exit 1); exit 1; }; }
15259 fi
15260
15261 # Find a good install program. We prefer a C program (faster),
15262 # so one script is as good as another. But avoid the broken or
15263 # incompatible versions:
15264 # SysV /etc/install, /usr/sbin/install
15265 # SunOS /usr/etc/install
15266 # IRIX /sbin/install
15267 # AIX /bin/install
15268 # AmigaOS /C/install, which installs bootblocks on floppy discs
15269 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15270 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15271 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15272 # OS/2's system install, which has a completely different semantic
15273 # ./install, which can be erroneously created by make from ./install.sh.
15274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15276 if test -z "$INSTALL"; then
15277 if test "${ac_cv_path_install+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283 IFS=$as_save_IFS
15284 test -z "$as_dir" && as_dir=.
15285 # Account for people who put trailing slashes in PATH elements.
15286 case $as_dir/ in
15287 ./ | .// | /cC/* | \
15288 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15289 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15290 /usr/ucb/* ) ;;
15291 *)
15292 # OSF1 and SCO ODT 3.0 have their own names for install.
15293 # Don't use installbsd from OSF since it installs stuff as root
15294 # by default.
15295 for ac_prog in ginstall scoinst install; do
15296 for ac_exec_ext in '' $ac_executable_extensions; do
15297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15298 if test $ac_prog = install &&
15299 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15300 # AIX install. It has an incompatible calling convention.
15301 :
15302 elif test $ac_prog = install &&
15303 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15304 # program-specific install script used by HP pwplus--don't use.
15305 :
15306 else
15307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15308 break 3
15309 fi
15310 fi
15311 done
15312 done
15313 ;;
15314 esac
15315 done
15316
15317
15318 fi
15319 if test "${ac_cv_path_install+set}" = set; then
15320 INSTALL=$ac_cv_path_install
15321 else
15322 # As a last resort, use the slow shell script. We don't cache a
15323 # path for INSTALL within a source directory, because that will
15324 # break other packages using the cache if that directory is
15325 # removed, or if the path is relative.
15326 INSTALL=$ac_install_sh
15327 fi
15328 fi
15329 echo "$as_me:$LINENO: result: $INSTALL" >&5
15330 echo "${ECHO_T}$INSTALL" >&6
15331
15332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15333 # It thinks the first close brace ends the variable substitution.
15334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15335
15336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15337
15338 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15339
15340
15341 case ${INSTALL} in
15342 /* ) # Absolute
15343 ;;
15344 ?:* ) # Drive letter, considered as absolute.
15345 ;;
15346 *)
15347 INSTALL=`pwd`/${INSTALL} ;;
15348 esac
15349
15350
15351 case "${host}" in
15352
15353 *-*-darwin* )
15354 INSTALL_PROGRAM="cp -fp"
15355 INSTALL_DATA="cp -fp"
15356 ;;
15357 *)
15358 ;;
15359 esac
15360
15361 if test -n "$ac_tool_prefix"; then
15362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15363 set dummy ${ac_tool_prefix}strip; ac_word=$2
15364 echo "$as_me:$LINENO: checking for $ac_word" >&5
15365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15366 if test "${ac_cv_prog_STRIP+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 if test -n "$STRIP"; then
15370 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15371 else
15372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15373 for as_dir in $PATH
15374 do
15375 IFS=$as_save_IFS
15376 test -z "$as_dir" && as_dir=.
15377 for ac_exec_ext in '' $ac_executable_extensions; do
15378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15379 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15381 break 2
15382 fi
15383 done
15384 done
15385
15386 fi
15387 fi
15388 STRIP=$ac_cv_prog_STRIP
15389 if test -n "$STRIP"; then
15390 echo "$as_me:$LINENO: result: $STRIP" >&5
15391 echo "${ECHO_T}$STRIP" >&6
15392 else
15393 echo "$as_me:$LINENO: result: no" >&5
15394 echo "${ECHO_T}no" >&6
15395 fi
15396
15397 fi
15398 if test -z "$ac_cv_prog_STRIP"; then
15399 ac_ct_STRIP=$STRIP
15400 # Extract the first word of "strip", so it can be a program name with args.
15401 set dummy strip; ac_word=$2
15402 echo "$as_me:$LINENO: checking for $ac_word" >&5
15403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15404 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 if test -n "$ac_ct_STRIP"; then
15408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15409 else
15410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15411 for as_dir in $PATH
15412 do
15413 IFS=$as_save_IFS
15414 test -z "$as_dir" && as_dir=.
15415 for ac_exec_ext in '' $ac_executable_extensions; do
15416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15417 ac_cv_prog_ac_ct_STRIP="strip"
15418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15419 break 2
15420 fi
15421 done
15422 done
15423
15424 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15425 fi
15426 fi
15427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15428 if test -n "$ac_ct_STRIP"; then
15429 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15430 echo "${ECHO_T}$ac_ct_STRIP" >&6
15431 else
15432 echo "$as_me:$LINENO: result: no" >&5
15433 echo "${ECHO_T}no" >&6
15434 fi
15435
15436 STRIP=$ac_ct_STRIP
15437 else
15438 STRIP="$ac_cv_prog_STRIP"
15439 fi
15440
15441
15442 if test "$wxUSE_WINE" = "yes"; then
15443 if test -n "$ac_tool_prefix"; then
15444 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15445 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15446 echo "$as_me:$LINENO: checking for $ac_word" >&5
15447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15448 if test "${ac_cv_prog_WINDRES+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 else
15451 if test -n "$WINDRES"; then
15452 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15453 else
15454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15455 for as_dir in $PATH
15456 do
15457 IFS=$as_save_IFS
15458 test -z "$as_dir" && as_dir=.
15459 for ac_exec_ext in '' $ac_executable_extensions; do
15460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15461 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15463 break 2
15464 fi
15465 done
15466 done
15467
15468 fi
15469 fi
15470 WINDRES=$ac_cv_prog_WINDRES
15471 if test -n "$WINDRES"; then
15472 echo "$as_me:$LINENO: result: $WINDRES" >&5
15473 echo "${ECHO_T}$WINDRES" >&6
15474 else
15475 echo "$as_me:$LINENO: result: no" >&5
15476 echo "${ECHO_T}no" >&6
15477 fi
15478
15479 fi
15480 if test -z "$ac_cv_prog_WINDRES"; then
15481 ac_ct_WINDRES=$WINDRES
15482 # Extract the first word of "wrc", so it can be a program name with args.
15483 set dummy wrc; ac_word=$2
15484 echo "$as_me:$LINENO: checking for $ac_word" >&5
15485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15486 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 if test -n "$ac_ct_WINDRES"; then
15490 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15491 else
15492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15493 for as_dir in $PATH
15494 do
15495 IFS=$as_save_IFS
15496 test -z "$as_dir" && as_dir=.
15497 for ac_exec_ext in '' $ac_executable_extensions; do
15498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15499 ac_cv_prog_ac_ct_WINDRES="wrc"
15500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15501 break 2
15502 fi
15503 done
15504 done
15505
15506 fi
15507 fi
15508 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15509 if test -n "$ac_ct_WINDRES"; then
15510 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15511 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15512 else
15513 echo "$as_me:$LINENO: result: no" >&5
15514 echo "${ECHO_T}no" >&6
15515 fi
15516
15517 WINDRES=$ac_ct_WINDRES
15518 else
15519 WINDRES="$ac_cv_prog_WINDRES"
15520 fi
15521
15522 RESCOMP="$WINDRES"
15523 else
15524 case "${host}" in
15525 *-*-cygwin* | *-*-mingw32* )
15526 if test -n "$ac_tool_prefix"; then
15527 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15528 set dummy ${ac_tool_prefix}windres; ac_word=$2
15529 echo "$as_me:$LINENO: checking for $ac_word" >&5
15530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15531 if test "${ac_cv_prog_WINDRES+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 else
15534 if test -n "$WINDRES"; then
15535 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15536 else
15537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15538 for as_dir in $PATH
15539 do
15540 IFS=$as_save_IFS
15541 test -z "$as_dir" && as_dir=.
15542 for ac_exec_ext in '' $ac_executable_extensions; do
15543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15544 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15546 break 2
15547 fi
15548 done
15549 done
15550
15551 fi
15552 fi
15553 WINDRES=$ac_cv_prog_WINDRES
15554 if test -n "$WINDRES"; then
15555 echo "$as_me:$LINENO: result: $WINDRES" >&5
15556 echo "${ECHO_T}$WINDRES" >&6
15557 else
15558 echo "$as_me:$LINENO: result: no" >&5
15559 echo "${ECHO_T}no" >&6
15560 fi
15561
15562 fi
15563 if test -z "$ac_cv_prog_WINDRES"; then
15564 ac_ct_WINDRES=$WINDRES
15565 # Extract the first word of "windres", so it can be a program name with args.
15566 set dummy windres; ac_word=$2
15567 echo "$as_me:$LINENO: checking for $ac_word" >&5
15568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15569 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15572 if test -n "$ac_ct_WINDRES"; then
15573 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15574 else
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15577 do
15578 IFS=$as_save_IFS
15579 test -z "$as_dir" && as_dir=.
15580 for ac_exec_ext in '' $ac_executable_extensions; do
15581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15582 ac_cv_prog_ac_ct_WINDRES="windres"
15583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15584 break 2
15585 fi
15586 done
15587 done
15588
15589 fi
15590 fi
15591 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15592 if test -n "$ac_ct_WINDRES"; then
15593 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15594 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15595 else
15596 echo "$as_me:$LINENO: result: no" >&5
15597 echo "${ECHO_T}no" >&6
15598 fi
15599
15600 WINDRES=$ac_ct_WINDRES
15601 else
15602 WINDRES="$ac_cv_prog_WINDRES"
15603 fi
15604
15605 RESCOMP="$WINDRES"
15606 if test -n "$ac_tool_prefix"; then
15607 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15608 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15609 echo "$as_me:$LINENO: checking for $ac_word" >&5
15610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15611 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 if test -n "$DLLTOOL"; then
15615 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15616 else
15617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15618 for as_dir in $PATH
15619 do
15620 IFS=$as_save_IFS
15621 test -z "$as_dir" && as_dir=.
15622 for ac_exec_ext in '' $ac_executable_extensions; do
15623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15624 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15626 break 2
15627 fi
15628 done
15629 done
15630
15631 fi
15632 fi
15633 DLLTOOL=$ac_cv_prog_DLLTOOL
15634 if test -n "$DLLTOOL"; then
15635 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15636 echo "${ECHO_T}$DLLTOOL" >&6
15637 else
15638 echo "$as_me:$LINENO: result: no" >&5
15639 echo "${ECHO_T}no" >&6
15640 fi
15641
15642 fi
15643 if test -z "$ac_cv_prog_DLLTOOL"; then
15644 ac_ct_DLLTOOL=$DLLTOOL
15645 # Extract the first word of "dlltool", so it can be a program name with args.
15646 set dummy dlltool; ac_word=$2
15647 echo "$as_me:$LINENO: checking for $ac_word" >&5
15648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15649 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 if test -n "$ac_ct_DLLTOOL"; then
15653 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15654 else
15655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15656 for as_dir in $PATH
15657 do
15658 IFS=$as_save_IFS
15659 test -z "$as_dir" && as_dir=.
15660 for ac_exec_ext in '' $ac_executable_extensions; do
15661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15662 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15664 break 2
15665 fi
15666 done
15667 done
15668
15669 fi
15670 fi
15671 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15672 if test -n "$ac_ct_DLLTOOL"; then
15673 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15674 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15675 else
15676 echo "$as_me:$LINENO: result: no" >&5
15677 echo "${ECHO_T}no" >&6
15678 fi
15679
15680 DLLTOOL=$ac_ct_DLLTOOL
15681 else
15682 DLLTOOL="$ac_cv_prog_DLLTOOL"
15683 fi
15684
15685 ;;
15686 esac
15687 fi
15688
15689 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15690 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15691 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694
15695 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15696 egrep -s GNU > /dev/null); then
15697 wx_cv_prog_makeisgnu="yes"
15698 else
15699 wx_cv_prog_makeisgnu="no"
15700 fi
15701
15702 fi
15703 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15704 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15705
15706 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15707 IF_GNU_MAKE=""
15708 else
15709 IF_GNU_MAKE="#"
15710 fi
15711
15712
15713
15714 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15715 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15716 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15717 if test "${wx_cv_prog_makevpath+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 else
15720
15721 cat - << EOF > confMake
15722 check : file
15723 cp \$? \$@
15724 cp \$? final_file
15725 EOF
15726
15727 if test ! -d sub ; then
15728 mkdir sub
15729 fi
15730 echo dummy > sub/file
15731 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15732 RESULT=$?
15733 rm -f sub/file check final_file confMake
15734 rmdir sub
15735 if test "$RESULT" = 0; then
15736 wx_cv_prog_makevpath="yes"
15737 else
15738 wx_cv_prog_makevpath="no"
15739 fi
15740
15741 fi
15742 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15743 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15744
15745 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15746 { { echo "$as_me:$LINENO: error:
15747 You need a make-utility that is able to use the variable
15748 VPATH correctly.
15749 If your version of make does not support VPATH correctly,
15750 please install GNU-make (possibly as gmake), and start
15751 configure with the following command:
15752 export MAKE=gmake; ./configure for sh-type shells
15753 setenv MAKE gmake; ./configure for csh-type shells
15754 Also please do remember to use gmake in this case every time
15755 you are trying to compile.
15756 " >&5
15757 echo "$as_me: error:
15758 You need a make-utility that is able to use the variable
15759 VPATH correctly.
15760 If your version of make does not support VPATH correctly,
15761 please install GNU-make (possibly as gmake), and start
15762 configure with the following command:
15763 export MAKE=gmake; ./configure for sh-type shells
15764 setenv MAKE gmake; ./configure for csh-type shells
15765 Also please do remember to use gmake in this case every time
15766 you are trying to compile.
15767 " >&2;}
15768 { (exit 1); exit 1; }; }
15769 fi fi
15770 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15771 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15772 LN_S=$as_ln_s
15773 if test "$LN_S" = "ln -s"; then
15774 echo "$as_me:$LINENO: result: yes" >&5
15775 echo "${ECHO_T}yes" >&6
15776 else
15777 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15778 echo "${ECHO_T}no, using $LN_S" >&6
15779 fi
15780
15781
15782
15783
15784 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15785 CXXFLAGS="-qunique $CXXFLAGS"
15786 fi
15787
15788 case "${host}" in
15789 powerpc-*-darwin* )
15790 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15791 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798
15799 int
15800 main ()
15801 {
15802 #ifndef __POWERPC__
15803 choke me for lack of PowerPC
15804 #endif
15805
15806 ;
15807 return 0;
15808 }
15809 _ACEOF
15810 rm -f conftest.$ac_objext
15811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15812 (eval $ac_compile) 2>conftest.er1
15813 ac_status=$?
15814 grep -v '^ *+' conftest.er1 >conftest.err
15815 rm -f conftest.er1
15816 cat conftest.err >&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15828 ac_status=$?
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 echo "$as_me:$LINENO: result: yes" >&5
15832 echo "${ECHO_T}yes" >&6
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15836
15837 echo "$as_me:$LINENO: result: no" >&5
15838 echo "${ECHO_T}no" >&6
15839 cat >>confdefs.h <<\_ACEOF
15840 #define __POWERPC__ 1
15841 _ACEOF
15842
15843
15844 fi
15845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15846 ;;
15847 esac
15848
15849 case "${host}" in
15850 *-*-darwin* )
15851 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15852 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15853 cat >conftest.$ac_ext <<_ACEOF
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 #include <CoreFoundation/CFBase.h>
15860
15861 int
15862 main ()
15863 {
15864
15865 ;
15866 return 0;
15867 }
15868 _ACEOF
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15881 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 echo "$as_me:$LINENO: result: yes" >&5
15891 echo "${ECHO_T}yes" >&6
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 echo "$as_me:$LINENO: result: no" >&5
15897 echo "${ECHO_T}no" >&6
15898 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15899 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15900 cat >conftest.$ac_ext <<_ACEOF
15901 /* confdefs.h. */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 #define __CF_USE_FRAMEWORK_INCLUDES__
15907 #include <CoreFoundation/CFBase.h>
15908
15909 int
15910 main ()
15911 {
15912
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 rm -f conftest.$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>conftest.er1
15920 ac_status=$?
15921 grep -v '^ *+' conftest.er1 >conftest.err
15922 rm -f conftest.er1
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 echo "$as_me:$LINENO: result: yes" >&5
15939 echo "${ECHO_T}yes" >&6
15940 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15941 else
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15944
15945 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15946 See \`config.log' for more details." >&5
15947 echo "$as_me: error: no. CoreFoundation not available.
15948 See \`config.log' for more details." >&2;}
15949 { (exit 1); exit 1; }; }
15950
15951 fi
15952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15953
15954
15955 fi
15956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15957 ;;
15958 esac
15959
15960 wants_win32=0
15961 doesnt_want_win32=0
15962 case "${host}" in
15963 *-*-cygwin*)
15964 if test "$wxUSE_MSW" = 1 ; then
15965 wants_win32=1
15966 else
15967 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15968 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15969 if test "${wx_cv_nocygwin+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979
15980 int
15981 main ()
15982 {
15983
15984 #ifdef __MINGW32__
15985 choke me
15986 #endif
15987
15988 ;
15989 return 0;
15990 }
15991 _ACEOF
15992 rm -f conftest.$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994 (eval $ac_compile) 2>conftest.er1
15995 ac_status=$?
15996 grep -v '^ *+' conftest.er1 >conftest.err
15997 rm -f conftest.er1
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16004 ac_status=$?
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; } &&
16007 { ac_try='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16010 ac_status=$?
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 wx_cv_nocygwin=no
16014 else
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16017
16018 wx_cv_nocygwin=yes
16019
16020 fi
16021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16022
16023
16024 fi
16025 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16026 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16027
16028 if test "$wx_cv_nocygwin" = "yes"; then
16029 wants_win32=1
16030 else
16031 doesnt_want_win32=1
16032 fi
16033 fi
16034 if test "$wants_win32" = 1 ; then
16035 BAKEFILE_FORCE_PLATFORM=win32
16036 fi
16037 ;;
16038 *-*-mingw*)
16039 wants_win32=1
16040 ;;
16041 esac
16042
16043 if test "$wxUSE_WINE" = "yes"; then
16044 wants_win32=1
16045 CC=winegcc
16046 CXX=wineg++
16047 LDFLAGS_GUI="-mwindows"
16048 fi
16049
16050 if test "$wants_win32" = 1 ; then
16051 USE_UNIX=0
16052 USE_WIN32=1
16053 cat >>confdefs.h <<\_ACEOF
16054 #define __WIN32__ 1
16055 _ACEOF
16056
16057 cat >>confdefs.h <<\_ACEOF
16058 #define __WIN95__ 1
16059 _ACEOF
16060
16061 cat >>confdefs.h <<\_ACEOF
16062 #define __WINDOWS__ 1
16063 _ACEOF
16064
16065 cat >>confdefs.h <<\_ACEOF
16066 #define __GNUWIN32__ 1
16067 _ACEOF
16068
16069 cat >>confdefs.h <<\_ACEOF
16070 #define STRICT 1
16071 _ACEOF
16072
16073 fi
16074 if test "$doesnt_want_win32" = 1 ; then
16075 USE_UNIX=1
16076 USE_WIN32=0
16077 fi
16078
16079 if test "$USE_UNIX" = 1 ; then
16080 wxUSE_UNIX=yes
16081 cat >>confdefs.h <<\_ACEOF
16082 #define __UNIX__ 1
16083 _ACEOF
16084
16085 fi
16086
16087 case "${host}" in
16088 *-pc-os2_emx | *-pc-os2-emx )
16089 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16090 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16091 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16092 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095 ac_check_lib_save_LIBS=$LIBS
16096 LIBS="-lcExt $LIBS"
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103
16104 /* Override any gcc2 internal prototype to avoid an error. */
16105 #ifdef __cplusplus
16106 extern "C"
16107 #endif
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16110 char drand48 ();
16111 int
16112 main ()
16113 {
16114 drand48 ();
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest.$ac_objext conftest$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>conftest.er1
16122 ac_status=$?
16123 grep -v '^ *+' conftest.er1 >conftest.err
16124 rm -f conftest.er1
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try='test -s conftest$ac_exeext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_lib_cExt_drand48=yes
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 ac_cv_lib_cExt_drand48=no
16146 fi
16147 rm -f conftest.err conftest.$ac_objext \
16148 conftest$ac_exeext conftest.$ac_ext
16149 LIBS=$ac_check_lib_save_LIBS
16150 fi
16151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16153 if test $ac_cv_lib_cExt_drand48 = yes; then
16154 LIBS="$LIBS -lcExt"
16155 fi
16156
16157 else
16158 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16159 fi
16160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16162 if test "${wx_cv_gccversion+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 else
16165
16166 if test "$cross_compiling" = yes; then
16167 wx_cv_gccversion="EMX2"
16168
16169 else
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176
16177 #include <stdio.h>
16178
16179 int main()
16180 {
16181 FILE *f=fopen("conftestval", "w");
16182 if (!f) exit(1);
16183 fprintf(f,
16184 #if (__GNUC__ < 3)
16185 "EMX2"
16186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16187 "EMX3"
16188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16189 "Innotek5"
16190 #else
16191 "Innotek6"
16192 #endif
16193 );
16194 exit(0);
16195 }
16196
16197 _ACEOF
16198 rm -f conftest$ac_exeext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16200 (eval $ac_link) 2>&5
16201 ac_status=$?
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 wx_cv_gccversion=`cat conftestval`
16210 else
16211 echo "$as_me: program exited with status $ac_status" >&5
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.$ac_ext >&5
16214
16215 ( exit $ac_status )
16216 wx_cv_gccversion="EMX2"
16217 fi
16218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16219 fi
16220
16221 fi
16222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16223 echo "${ECHO_T}$wx_cv_gccversion" >&6
16224 if test "$wx_cv_gccversion" = "EMX2"; then
16225 LIBS="$LIBS -lstdcpp"
16226 LDFLAGS="$LDFLAGS -Zsysv-signals"
16227 else
16228 if test "$wx_cv_gccversion" = "EMX3"; then
16229 LIBS="$LIBS -lstdcxx -lgcc"
16230 LDFLAGS="$LDFLAGS -Zsysv-signals"
16231 else
16232 LIBS="$LIBS -lstdc++"
16233 fi
16234 fi
16235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16238 wxUSE_OMF=yes
16239 enable_omf=yes
16240 fi
16241 ;;
16242 *)
16243
16244 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16245 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16246 if test "${ac_cv_string_strcasecmp+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256
16257 #include <string.h>
16258
16259 int
16260 main ()
16261 {
16262
16263 strcasecmp("foo", "bar");
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext conftest$ac_exeext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16271 (eval $ac_link) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_cv_string_strcasecmp=yes
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_cv_string_strcasecmp=no
16296
16297 fi
16298 rm -f conftest.err conftest.$ac_objext \
16299 conftest$ac_exeext conftest.$ac_ext
16300
16301 fi
16302 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16303 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16304
16305 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16306 cat >>confdefs.h <<\_ACEOF
16307 #define HAVE_STRCASECMP_IN_STRING_H 1
16308 _ACEOF
16309
16310 else
16311 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16312 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16313 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323
16324 #include <strings.h>
16325
16326 int
16327 main ()
16328 {
16329
16330 strcasecmp("foo", "bar");
16331
16332 ;
16333 return 0;
16334 }
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try='test -s conftest$ac_exeext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_strings_strcasecmp=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 ac_cv_strings_strcasecmp=no
16363
16364 fi
16365 rm -f conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16367
16368 fi
16369 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16370 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16371
16372 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16373 cat >>confdefs.h <<\_ACEOF
16374 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16375 _ACEOF
16376
16377 else
16378 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16379 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16380 { (exit 1); exit 1; }; }
16381 fi
16382 fi
16383
16384 ;;
16385 esac
16386
16387
16388 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16389 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16390 if test "${ac_cv_header_stdc+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 #include <stdlib.h>
16400 #include <stdarg.h>
16401 #include <string.h>
16402 #include <float.h>
16403
16404 int
16405 main ()
16406 {
16407
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 rm -f conftest.$ac_objext
16413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16414 (eval $ac_compile) 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16430 ac_status=$?
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_cv_header_stdc=yes
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 ac_cv_header_stdc=no
16439 fi
16440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16441
16442 if test $ac_cv_header_stdc = yes; then
16443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <string.h>
16451
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "memchr" >/dev/null 2>&1; then
16455 :
16456 else
16457 ac_cv_header_stdc=no
16458 fi
16459 rm -f conftest*
16460
16461 fi
16462
16463 if test $ac_cv_header_stdc = yes; then
16464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <stdlib.h>
16472
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "free" >/dev/null 2>&1; then
16476 :
16477 else
16478 ac_cv_header_stdc=no
16479 fi
16480 rm -f conftest*
16481
16482 fi
16483
16484 if test $ac_cv_header_stdc = yes; then
16485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16486 if test "$cross_compiling" = yes; then
16487 :
16488 else
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <ctype.h>
16496 #if ((' ' & 0x0FF) == 0x020)
16497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16499 #else
16500 # define ISLOWER(c) \
16501 (('a' <= (c) && (c) <= 'i') \
16502 || ('j' <= (c) && (c) <= 'r') \
16503 || ('s' <= (c) && (c) <= 'z'))
16504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16505 #endif
16506
16507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16508 int
16509 main ()
16510 {
16511 int i;
16512 for (i = 0; i < 256; i++)
16513 if (XOR (islower (i), ISLOWER (i))
16514 || toupper (i) != TOUPPER (i))
16515 exit(2);
16516 exit (0);
16517 }
16518 _ACEOF
16519 rm -f conftest$ac_exeext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16521 (eval $ac_link) 2>&5
16522 ac_status=$?
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16530 :
16531 else
16532 echo "$as_me: program exited with status $ac_status" >&5
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16535
16536 ( exit $ac_status )
16537 ac_cv_header_stdc=no
16538 fi
16539 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16540 fi
16541 fi
16542 fi
16543 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16544 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16545 if test $ac_cv_header_stdc = yes; then
16546
16547 cat >>confdefs.h <<\_ACEOF
16548 #define STDC_HEADERS 1
16549 _ACEOF
16550
16551 fi
16552
16553 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16564 inttypes.h stdint.h unistd.h
16565 do
16566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16579
16580 #include <$ac_header>
16581 _ACEOF
16582 rm -f conftest.$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 eval "$as_ac_Header=yes"
16604 else
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 eval "$as_ac_Header=no"
16609 fi
16610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16611 fi
16612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16615 cat >>confdefs.h <<_ACEOF
16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16617 _ACEOF
16618
16619 fi
16620
16621 done
16622
16623
16624
16625 for ac_header in stdlib.h
16626 do
16627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16629 echo "$as_me:$LINENO: checking for $ac_header" >&5
16630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16633 fi
16634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16636 else
16637 # Is the header compilable?
16638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16647 #include <$ac_header>
16648 _ACEOF
16649 rm -f conftest.$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16652 ac_status=$?
16653 grep -v '^ *+' conftest.er1 >conftest.err
16654 rm -f conftest.er1
16655 cat conftest.err >&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; } &&
16664 { ac_try='test -s conftest.$ac_objext'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; }; then
16670 ac_header_compiler=yes
16671 else
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675 ac_header_compiler=no
16676 fi
16677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16679 echo "${ECHO_T}$ac_header_compiler" >&6
16680
16681 # Is the header present?
16682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16684 cat >conftest.$ac_ext <<_ACEOF
16685 /* confdefs.h. */
16686 _ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 #include <$ac_header>
16691 _ACEOF
16692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16694 ac_status=$?
16695 grep -v '^ *+' conftest.er1 >conftest.err
16696 rm -f conftest.er1
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } >/dev/null; then
16700 if test -s conftest.err; then
16701 ac_cpp_err=$ac_c_preproc_warn_flag
16702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16703 else
16704 ac_cpp_err=
16705 fi
16706 else
16707 ac_cpp_err=yes
16708 fi
16709 if test -z "$ac_cpp_err"; then
16710 ac_header_preproc=yes
16711 else
16712 echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16714
16715 ac_header_preproc=no
16716 fi
16717 rm -f conftest.err conftest.$ac_ext
16718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16719 echo "${ECHO_T}$ac_header_preproc" >&6
16720
16721 # So? What about this header?
16722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16723 yes:no: )
16724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16728 ac_header_preproc=yes
16729 ;;
16730 no:yes:* )
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16743 (
16744 cat <<\_ASBOX
16745 ## ----------------------------------------- ##
16746 ## Report this to wx-dev@lists.wxwidgets.org ##
16747 ## ----------------------------------------- ##
16748 _ASBOX
16749 ) |
16750 sed "s/^/$as_me: WARNING: /" >&2
16751 ;;
16752 esac
16753 echo "$as_me:$LINENO: checking for $ac_header" >&5
16754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16758 eval "$as_ac_Header=\$ac_header_preproc"
16759 fi
16760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16762
16763 fi
16764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16765 cat >>confdefs.h <<_ACEOF
16766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16767 _ACEOF
16768
16769 fi
16770
16771 done
16772
16773
16774 for ac_header in malloc.h
16775 do
16776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16778 echo "$as_me:$LINENO: checking for $ac_header" >&5
16779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 fi
16783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16785 else
16786 # Is the header compilable?
16787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16796 #include <$ac_header>
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16800 (eval $ac_compile) 2>conftest.er1
16801 ac_status=$?
16802 grep -v '^ *+' conftest.er1 >conftest.err
16803 rm -f conftest.er1
16804 cat conftest.err >&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } &&
16807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; } &&
16813 { ac_try='test -s conftest.$ac_objext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 ac_header_compiler=yes
16820 else
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16823
16824 ac_header_compiler=no
16825 fi
16826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16828 echo "${ECHO_T}$ac_header_compiler" >&6
16829
16830 # Is the header present?
16831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16833 cat >conftest.$ac_ext <<_ACEOF
16834 /* confdefs.h. */
16835 _ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <$ac_header>
16840 _ACEOF
16841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16843 ac_status=$?
16844 grep -v '^ *+' conftest.er1 >conftest.err
16845 rm -f conftest.er1
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } >/dev/null; then
16849 if test -s conftest.err; then
16850 ac_cpp_err=$ac_c_preproc_warn_flag
16851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16852 else
16853 ac_cpp_err=
16854 fi
16855 else
16856 ac_cpp_err=yes
16857 fi
16858 if test -z "$ac_cpp_err"; then
16859 ac_header_preproc=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 ac_header_preproc=no
16865 fi
16866 rm -f conftest.err conftest.$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16868 echo "${ECHO_T}$ac_header_preproc" >&6
16869
16870 # So? What about this header?
16871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16872 yes:no: )
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16877 ac_header_preproc=yes
16878 ;;
16879 no:yes:* )
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16892 (
16893 cat <<\_ASBOX
16894 ## ----------------------------------------- ##
16895 ## Report this to wx-dev@lists.wxwidgets.org ##
16896 ## ----------------------------------------- ##
16897 _ASBOX
16898 ) |
16899 sed "s/^/$as_me: WARNING: /" >&2
16900 ;;
16901 esac
16902 echo "$as_me:$LINENO: checking for $ac_header" >&5
16903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 else
16907 eval "$as_ac_Header=\$ac_header_preproc"
16908 fi
16909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16911
16912 fi
16913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16914 cat >>confdefs.h <<_ACEOF
16915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16916 _ACEOF
16917
16918 fi
16919
16920 done
16921
16922
16923 for ac_header in unistd.h
16924 do
16925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16927 echo "$as_me:$LINENO: checking for $ac_header" >&5
16928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 fi
16932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16934 else
16935 # Is the header compilable?
16936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16938 cat >conftest.$ac_ext <<_ACEOF
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 $ac_includes_default
16945 #include <$ac_header>
16946 _ACEOF
16947 rm -f conftest.$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16950 ac_status=$?
16951 grep -v '^ *+' conftest.er1 >conftest.err
16952 rm -f conftest.er1
16953 cat conftest.err >&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_header_compiler=yes
16969 else
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.$ac_ext >&5
16972
16973 ac_header_compiler=no
16974 fi
16975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16977 echo "${ECHO_T}$ac_header_compiler" >&6
16978
16979 # Is the header present?
16980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 #include <$ac_header>
16989 _ACEOF
16990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } >/dev/null; then
16998 if test -s conftest.err; then
16999 ac_cpp_err=$ac_c_preproc_warn_flag
17000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17001 else
17002 ac_cpp_err=
17003 fi
17004 else
17005 ac_cpp_err=yes
17006 fi
17007 if test -z "$ac_cpp_err"; then
17008 ac_header_preproc=yes
17009 else
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17012
17013 ac_header_preproc=no
17014 fi
17015 rm -f conftest.err conftest.$ac_ext
17016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17017 echo "${ECHO_T}$ac_header_preproc" >&6
17018
17019 # So? What about this header?
17020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17021 yes:no: )
17022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17026 ac_header_preproc=yes
17027 ;;
17028 no:yes:* )
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17041 (
17042 cat <<\_ASBOX
17043 ## ----------------------------------------- ##
17044 ## Report this to wx-dev@lists.wxwidgets.org ##
17045 ## ----------------------------------------- ##
17046 _ASBOX
17047 ) |
17048 sed "s/^/$as_me: WARNING: /" >&2
17049 ;;
17050 esac
17051 echo "$as_me:$LINENO: checking for $ac_header" >&5
17052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 else
17056 eval "$as_ac_Header=\$ac_header_preproc"
17057 fi
17058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17060
17061 fi
17062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17063 cat >>confdefs.h <<_ACEOF
17064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17065 _ACEOF
17066
17067 fi
17068
17069 done
17070
17071
17072 for ac_header in wchar.h
17073 do
17074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17076 echo "$as_me:$LINENO: checking for $ac_header" >&5
17077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 fi
17081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17083 else
17084 # Is the header compilable?
17085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17087 cat >conftest.$ac_ext <<_ACEOF
17088 /* confdefs.h. */
17089 _ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17094 #include <$ac_header>
17095 _ACEOF
17096 rm -f conftest.$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098 (eval $ac_compile) 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } &&
17105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try='test -s conftest.$ac_objext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_header_compiler=yes
17118 else
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17121
17122 ac_header_compiler=no
17123 fi
17124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17126 echo "${ECHO_T}$ac_header_compiler" >&6
17127
17128 # Is the header present?
17129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17131 cat >conftest.$ac_ext <<_ACEOF
17132 /* confdefs.h. */
17133 _ACEOF
17134 cat confdefs.h >>conftest.$ac_ext
17135 cat >>conftest.$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17137 #include <$ac_header>
17138 _ACEOF
17139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } >/dev/null; then
17147 if test -s conftest.err; then
17148 ac_cpp_err=$ac_c_preproc_warn_flag
17149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17150 else
17151 ac_cpp_err=
17152 fi
17153 else
17154 ac_cpp_err=yes
17155 fi
17156 if test -z "$ac_cpp_err"; then
17157 ac_header_preproc=yes
17158 else
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17161
17162 ac_header_preproc=no
17163 fi
17164 rm -f conftest.err conftest.$ac_ext
17165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17166 echo "${ECHO_T}$ac_header_preproc" >&6
17167
17168 # So? What about this header?
17169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17170 yes:no: )
17171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17175 ac_header_preproc=yes
17176 ;;
17177 no:yes:* )
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17190 (
17191 cat <<\_ASBOX
17192 ## ----------------------------------------- ##
17193 ## Report this to wx-dev@lists.wxwidgets.org ##
17194 ## ----------------------------------------- ##
17195 _ASBOX
17196 ) |
17197 sed "s/^/$as_me: WARNING: /" >&2
17198 ;;
17199 esac
17200 echo "$as_me:$LINENO: checking for $ac_header" >&5
17201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205 eval "$as_ac_Header=\$ac_header_preproc"
17206 fi
17207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17209
17210 fi
17211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17212 cat >>confdefs.h <<_ACEOF
17213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17214 _ACEOF
17215
17216 fi
17217
17218 done
17219
17220
17221 if test "$ac_cv_header_wchar_h" != "yes"; then
17222
17223 for ac_header in wcstr.h
17224 do
17225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17227 echo "$as_me:$LINENO: checking for $ac_header" >&5
17228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 fi
17232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17234 else
17235 # Is the header compilable?
17236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17238 cat >conftest.$ac_ext <<_ACEOF
17239 /* confdefs.h. */
17240 _ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244 $ac_includes_default
17245 #include <$ac_header>
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; } &&
17262 { ac_try='test -s conftest.$ac_objext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 ac_header_compiler=yes
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17272
17273 ac_header_compiler=no
17274 fi
17275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17277 echo "${ECHO_T}$ac_header_compiler" >&6
17278
17279 # Is the header present?
17280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17282 cat >conftest.$ac_ext <<_ACEOF
17283 /* confdefs.h. */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 #include <$ac_header>
17289 _ACEOF
17290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } >/dev/null; then
17298 if test -s conftest.err; then
17299 ac_cpp_err=$ac_c_preproc_warn_flag
17300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17301 else
17302 ac_cpp_err=
17303 fi
17304 else
17305 ac_cpp_err=yes
17306 fi
17307 if test -z "$ac_cpp_err"; then
17308 ac_header_preproc=yes
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17312
17313 ac_header_preproc=no
17314 fi
17315 rm -f conftest.err conftest.$ac_ext
17316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17317 echo "${ECHO_T}$ac_header_preproc" >&6
17318
17319 # So? What about this header?
17320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17321 yes:no: )
17322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17326 ac_header_preproc=yes
17327 ;;
17328 no:yes:* )
17329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17341 (
17342 cat <<\_ASBOX
17343 ## ----------------------------------------- ##
17344 ## Report this to wx-dev@lists.wxwidgets.org ##
17345 ## ----------------------------------------- ##
17346 _ASBOX
17347 ) |
17348 sed "s/^/$as_me: WARNING: /" >&2
17349 ;;
17350 esac
17351 echo "$as_me:$LINENO: checking for $ac_header" >&5
17352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 else
17356 eval "$as_ac_Header=\$ac_header_preproc"
17357 fi
17358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17360
17361 fi
17362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17365 _ACEOF
17366
17367 fi
17368
17369 done
17370
17371 fi
17372
17373
17374 for ac_header in fnmatch.h
17375 do
17376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17378 echo "$as_me:$LINENO: checking for $ac_header" >&5
17379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 fi
17383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17385 else
17386 # Is the header compilable?
17387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 $ac_includes_default
17396 #include <$ac_header>
17397 _ACEOF
17398 rm -f conftest.$ac_objext
17399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17400 (eval $ac_compile) 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } &&
17407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 (eval $ac_try) 2>&5
17410 ac_status=$?
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; } &&
17413 { ac_try='test -s conftest.$ac_objext'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17416 ac_status=$?
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; }; then
17419 ac_header_compiler=yes
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 ac_header_compiler=no
17425 fi
17426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17428 echo "${ECHO_T}$ac_header_compiler" >&6
17429
17430 # Is the header present?
17431 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 #include <$ac_header>
17440 _ACEOF
17441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17443 ac_status=$?
17444 grep -v '^ *+' conftest.er1 >conftest.err
17445 rm -f conftest.er1
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } >/dev/null; then
17449 if test -s conftest.err; then
17450 ac_cpp_err=$ac_c_preproc_warn_flag
17451 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17452 else
17453 ac_cpp_err=
17454 fi
17455 else
17456 ac_cpp_err=yes
17457 fi
17458 if test -z "$ac_cpp_err"; then
17459 ac_header_preproc=yes
17460 else
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17463
17464 ac_header_preproc=no
17465 fi
17466 rm -f conftest.err conftest.$ac_ext
17467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17468 echo "${ECHO_T}$ac_header_preproc" >&6
17469
17470 # So? What about this header?
17471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17472 yes:no: )
17473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17474 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17476 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17477 ac_header_preproc=yes
17478 ;;
17479 no:yes:* )
17480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17484 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17485 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17486 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17487 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17491 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17492 (
17493 cat <<\_ASBOX
17494 ## ----------------------------------------- ##
17495 ## Report this to wx-dev@lists.wxwidgets.org ##
17496 ## ----------------------------------------- ##
17497 _ASBOX
17498 ) |
17499 sed "s/^/$as_me: WARNING: /" >&2
17500 ;;
17501 esac
17502 echo "$as_me:$LINENO: checking for $ac_header" >&5
17503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 else
17507 eval "$as_ac_Header=\$ac_header_preproc"
17508 fi
17509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17511
17512 fi
17513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17514 cat >>confdefs.h <<_ACEOF
17515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17516 _ACEOF
17517
17518 fi
17519
17520 done
17521
17522
17523
17524 for ac_header in langinfo.h
17525 do
17526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17528 echo "$as_me:$LINENO: checking for $ac_header" >&5
17529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 fi
17533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17535 else
17536 # Is the header compilable?
17537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17539 cat >conftest.$ac_ext <<_ACEOF
17540 /* confdefs.h. */
17541 _ACEOF
17542 cat confdefs.h >>conftest.$ac_ext
17543 cat >>conftest.$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17545 $ac_includes_default
17546 #include <$ac_header>
17547 _ACEOF
17548 rm -f conftest.$ac_objext
17549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17550 (eval $ac_compile) 2>conftest.er1
17551 ac_status=$?
17552 grep -v '^ *+' conftest.er1 >conftest.err
17553 rm -f conftest.er1
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } &&
17557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17560 ac_status=$?
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; } &&
17563 { ac_try='test -s conftest.$ac_objext'
17564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17565 (eval $ac_try) 2>&5
17566 ac_status=$?
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; }; then
17569 ac_header_compiler=yes
17570 else
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.$ac_ext >&5
17573
17574 ac_header_compiler=no
17575 fi
17576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17578 echo "${ECHO_T}$ac_header_compiler" >&6
17579
17580 # Is the header present?
17581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17583 cat >conftest.$ac_ext <<_ACEOF
17584 /* confdefs.h. */
17585 _ACEOF
17586 cat confdefs.h >>conftest.$ac_ext
17587 cat >>conftest.$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 #include <$ac_header>
17590 _ACEOF
17591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } >/dev/null; then
17599 if test -s conftest.err; then
17600 ac_cpp_err=$ac_c_preproc_warn_flag
17601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17602 else
17603 ac_cpp_err=
17604 fi
17605 else
17606 ac_cpp_err=yes
17607 fi
17608 if test -z "$ac_cpp_err"; then
17609 ac_header_preproc=yes
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17613
17614 ac_header_preproc=no
17615 fi
17616 rm -f conftest.err conftest.$ac_ext
17617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17618 echo "${ECHO_T}$ac_header_preproc" >&6
17619
17620 # So? What about this header?
17621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17622 yes:no: )
17623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17627 ac_header_preproc=yes
17628 ;;
17629 no:yes:* )
17630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17642 (
17643 cat <<\_ASBOX
17644 ## ----------------------------------------- ##
17645 ## Report this to wx-dev@lists.wxwidgets.org ##
17646 ## ----------------------------------------- ##
17647 _ASBOX
17648 ) |
17649 sed "s/^/$as_me: WARNING: /" >&2
17650 ;;
17651 esac
17652 echo "$as_me:$LINENO: checking for $ac_header" >&5
17653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 else
17657 eval "$as_ac_Header=\$ac_header_preproc"
17658 fi
17659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17661
17662 fi
17663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17664 cat >>confdefs.h <<_ACEOF
17665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17666 _ACEOF
17667
17668 fi
17669
17670 done
17671
17672
17673 case "${host}" in
17674 *-pc-os2_emx | *-pc-os2-emx )
17675 if test $ac_cv_header_langinfo_h = "yes" \
17676 -a \( "$wx_cv_gccversion" = "EMX2" \
17677 -o "$wx_cv_gccversion" = "EMX3" \
17678 -o "$wx_cv_gccversion" = "Innotek5" \); then
17679 LIBS="$LIBS -lintl"
17680 fi
17681 ;;
17682 esac
17683
17684 if test "$USE_UNIX" = 1 ; then
17685
17686 for ac_header in sys/select.h
17687 do
17688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17690 echo "$as_me:$LINENO: checking for $ac_header" >&5
17691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 fi
17695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17697 else
17698 # Is the header compilable?
17699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 $ac_includes_default
17708 #include <$ac_header>
17709 _ACEOF
17710 rm -f conftest.$ac_objext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17712 (eval $ac_compile) 2>conftest.er1
17713 ac_status=$?
17714 grep -v '^ *+' conftest.er1 >conftest.err
17715 rm -f conftest.er1
17716 cat conftest.err >&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; } &&
17725 { ac_try='test -s conftest.$ac_objext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17728 ac_status=$?
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17731 ac_header_compiler=yes
17732 else
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17735
17736 ac_header_compiler=no
17737 fi
17738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17740 echo "${ECHO_T}$ac_header_compiler" >&6
17741
17742 # Is the header present?
17743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17745 cat >conftest.$ac_ext <<_ACEOF
17746 /* confdefs.h. */
17747 _ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751 #include <$ac_header>
17752 _ACEOF
17753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } >/dev/null; then
17761 if test -s conftest.err; then
17762 ac_cpp_err=$ac_c_preproc_warn_flag
17763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17764 else
17765 ac_cpp_err=
17766 fi
17767 else
17768 ac_cpp_err=yes
17769 fi
17770 if test -z "$ac_cpp_err"; then
17771 ac_header_preproc=yes
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 ac_header_preproc=no
17777 fi
17778 rm -f conftest.err conftest.$ac_ext
17779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17780 echo "${ECHO_T}$ac_header_preproc" >&6
17781
17782 # So? What about this header?
17783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17784 yes:no: )
17785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17789 ac_header_preproc=yes
17790 ;;
17791 no:yes:* )
17792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17804 (
17805 cat <<\_ASBOX
17806 ## ----------------------------------------- ##
17807 ## Report this to wx-dev@lists.wxwidgets.org ##
17808 ## ----------------------------------------- ##
17809 _ASBOX
17810 ) |
17811 sed "s/^/$as_me: WARNING: /" >&2
17812 ;;
17813 esac
17814 echo "$as_me:$LINENO: checking for $ac_header" >&5
17815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 eval "$as_ac_Header=\$ac_header_preproc"
17820 fi
17821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17823
17824 fi
17825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17826 cat >>confdefs.h <<_ACEOF
17827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17828 _ACEOF
17829
17830 fi
17831
17832 done
17833
17834 fi
17835
17836
17837 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17838 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17839 if test "${ac_cv_c_const+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848
17849 int
17850 main ()
17851 {
17852 /* FIXME: Include the comments suggested by Paul. */
17853 #ifndef __cplusplus
17854 /* Ultrix mips cc rejects this. */
17855 typedef int charset[2];
17856 const charset x;
17857 /* SunOS 4.1.1 cc rejects this. */
17858 char const *const *ccp;
17859 char **p;
17860 /* NEC SVR4.0.2 mips cc rejects this. */
17861 struct point {int x, y;};
17862 static struct point const zero = {0,0};
17863 /* AIX XL C 1.02.0.0 rejects this.
17864 It does not let you subtract one const X* pointer from another in
17865 an arm of an if-expression whose if-part is not a constant
17866 expression */
17867 const char *g = "string";
17868 ccp = &g + (g ? g-g : 0);
17869 /* HPUX 7.0 cc rejects these. */
17870 ++ccp;
17871 p = (char**) ccp;
17872 ccp = (char const *const *) p;
17873 { /* SCO 3.2v4 cc rejects this. */
17874 char *t;
17875 char const *s = 0 ? (char *) 0 : (char const *) 0;
17876
17877 *t++ = 0;
17878 }
17879 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17880 int x[] = {25, 17};
17881 const int *foo = &x[0];
17882 ++foo;
17883 }
17884 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17885 typedef const int *iptr;
17886 iptr p = 0;
17887 ++p;
17888 }
17889 { /* AIX XL C 1.02.0.0 rejects this saying
17890 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17891 struct s { int j; const int *ap[3]; };
17892 struct s *b; b->j = 5;
17893 }
17894 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17895 const int foo = 10;
17896 }
17897 #endif
17898
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 rm -f conftest.$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17906 ac_status=$?
17907 grep -v '^ *+' conftest.er1 >conftest.err
17908 rm -f conftest.er1
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17915 ac_status=$?
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try='test -s conftest.$ac_objext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_cv_c_const=yes
17925 else
17926 echo "$as_me: failed program was:" >&5
17927 sed 's/^/| /' conftest.$ac_ext >&5
17928
17929 ac_cv_c_const=no
17930 fi
17931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17932 fi
17933 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17934 echo "${ECHO_T}$ac_cv_c_const" >&6
17935 if test $ac_cv_c_const = no; then
17936
17937 cat >>confdefs.h <<\_ACEOF
17938 #define const
17939 _ACEOF
17940
17941 fi
17942
17943 echo "$as_me:$LINENO: checking for inline" >&5
17944 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17945 if test "${ac_cv_c_inline+set}" = set; then
17946 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 else
17948 ac_cv_c_inline=no
17949 for ac_kw in inline __inline__ __inline; do
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 #ifndef __cplusplus
17957 typedef int foo_t;
17958 static $ac_kw foo_t static_foo () {return 0; }
17959 $ac_kw foo_t foo () {return 0; }
17960 #endif
17961
17962 _ACEOF
17963 rm -f conftest.$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; } &&
17978 { ac_try='test -s conftest.$ac_objext'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; }; then
17984 ac_cv_c_inline=$ac_kw; break
17985 else
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17988
17989 fi
17990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17991 done
17992
17993 fi
17994 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17995 echo "${ECHO_T}$ac_cv_c_inline" >&6
17996
17997
17998 case $ac_cv_c_inline in
17999 inline | yes) ;;
18000 *)
18001 case $ac_cv_c_inline in
18002 no) ac_val=;;
18003 *) ac_val=$ac_cv_c_inline;;
18004 esac
18005 cat >>confdefs.h <<_ACEOF
18006 #ifndef __cplusplus
18007 #define inline $ac_val
18008 #endif
18009 _ACEOF
18010 ;;
18011 esac
18012
18013
18014 echo "$as_me:$LINENO: checking for char" >&5
18015 echo $ECHO_N "checking for char... $ECHO_C" >&6
18016 if test "${ac_cv_type_char+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 $ac_includes_default
18026 int
18027 main ()
18028 {
18029 if ((char *) 0)
18030 return 0;
18031 if (sizeof (char))
18032 return 0;
18033 ;
18034 return 0;
18035 }
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18039 (eval $ac_compile) 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; } &&
18052 { ac_try='test -s conftest.$ac_objext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18055 ac_status=$?
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 ac_cv_type_char=yes
18059 else
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18062
18063 ac_cv_type_char=no
18064 fi
18065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18066 fi
18067 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18068 echo "${ECHO_T}$ac_cv_type_char" >&6
18069
18070 echo "$as_me:$LINENO: checking size of char" >&5
18071 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18072 if test "${ac_cv_sizeof_char+set}" = set; then
18073 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 else
18075 if test "$ac_cv_type_char" = yes; then
18076 # The cast to unsigned long works around a bug in the HP C Compiler
18077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18079 # This bug is HP SR number 8606223364.
18080 if test "$cross_compiling" = yes; then
18081 # Depending upon the size, compute the lo and hi bounds.
18082 cat >conftest.$ac_ext <<_ACEOF
18083 /* confdefs.h. */
18084 _ACEOF
18085 cat confdefs.h >>conftest.$ac_ext
18086 cat >>conftest.$ac_ext <<_ACEOF
18087 /* end confdefs.h. */
18088 $ac_includes_default
18089 int
18090 main ()
18091 {
18092 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18093 test_array [0] = 0
18094
18095 ;
18096 return 0;
18097 }
18098 _ACEOF
18099 rm -f conftest.$ac_objext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18101 (eval $ac_compile) 2>conftest.er1
18102 ac_status=$?
18103 grep -v '^ *+' conftest.er1 >conftest.err
18104 rm -f conftest.er1
18105 cat conftest.err >&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; } &&
18114 { ac_try='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_lo=0 ac_mid=0
18121 while :; do
18122 cat >conftest.$ac_ext <<_ACEOF
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 $ac_includes_default
18129 int
18130 main ()
18131 {
18132 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18133 test_array [0] = 0
18134
18135 ;
18136 return 0;
18137 }
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18141 (eval $ac_compile) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18151 ac_status=$?
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi=$ac_mid; break
18161 else
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.$ac_ext >&5
18164
18165 ac_lo=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18167 ac_lo= ac_hi=
18168 break
18169 fi
18170 ac_mid=`expr 2 '*' $ac_mid + 1`
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173 done
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18185 int
18186 main ()
18187 {
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18189 test_array [0] = 0
18190
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18207 ac_status=$?
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18213 ac_status=$?
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_hi=-1 ac_mid=-1
18217 while :; do
18218 cat >conftest.$ac_ext <<_ACEOF
18219 /* confdefs.h. */
18220 _ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 $ac_includes_default
18225 int
18226 main ()
18227 {
18228 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18229 test_array [0] = 0
18230
18231 ;
18232 return 0;
18233 }
18234 _ACEOF
18235 rm -f conftest.$ac_objext
18236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18237 (eval $ac_compile) 2>conftest.er1
18238 ac_status=$?
18239 grep -v '^ *+' conftest.er1 >conftest.err
18240 rm -f conftest.er1
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } &&
18244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18247 ac_status=$?
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; } &&
18250 { ac_try='test -s conftest.$ac_objext'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18253 ac_status=$?
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; }; then
18256 ac_lo=$ac_mid; break
18257 else
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.$ac_ext >&5
18260
18261 ac_hi=`expr '(' $ac_mid ')' - 1`
18262 if test $ac_mid -le $ac_hi; then
18263 ac_lo= ac_hi=
18264 break
18265 fi
18266 ac_mid=`expr 2 '*' $ac_mid`
18267 fi
18268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18269 done
18270 else
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18273
18274 ac_lo= ac_hi=
18275 fi
18276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 # Binary search between lo and hi bounds.
18280 while test "x$ac_lo" != "x$ac_hi"; do
18281 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18282 cat >conftest.$ac_ext <<_ACEOF
18283 /* confdefs.h. */
18284 _ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18289 int
18290 main ()
18291 {
18292 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18293 test_array [0] = 0
18294
18295 ;
18296 return 0;
18297 }
18298 _ACEOF
18299 rm -f conftest.$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try='test -s conftest.$ac_objext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18320 ac_hi=$ac_mid
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18324
18325 ac_lo=`expr '(' $ac_mid ')' + 1`
18326 fi
18327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18328 done
18329 case $ac_lo in
18330 ?*) ac_cv_sizeof_char=$ac_lo;;
18331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18332 See \`config.log' for more details." >&5
18333 echo "$as_me: error: cannot compute sizeof (char), 77
18334 See \`config.log' for more details." >&2;}
18335 { (exit 1); exit 1; }; } ;;
18336 esac
18337 else
18338 if test "$cross_compiling" = yes; then
18339 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18340 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18341 { (exit 1); exit 1; }; }
18342 else
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 $ac_includes_default
18350 long longval () { return (long) (sizeof (char)); }
18351 unsigned long ulongval () { return (long) (sizeof (char)); }
18352 #include <stdio.h>
18353 #include <stdlib.h>
18354 int
18355 main ()
18356 {
18357
18358 FILE *f = fopen ("conftest.val", "w");
18359 if (! f)
18360 exit (1);
18361 if (((long) (sizeof (char))) < 0)
18362 {
18363 long i = longval ();
18364 if (i != ((long) (sizeof (char))))
18365 exit (1);
18366 fprintf (f, "%ld\n", i);
18367 }
18368 else
18369 {
18370 unsigned long i = ulongval ();
18371 if (i != ((long) (sizeof (char))))
18372 exit (1);
18373 fprintf (f, "%lu\n", i);
18374 }
18375 exit (ferror (f) || fclose (f) != 0);
18376
18377 ;
18378 return 0;
18379 }
18380 _ACEOF
18381 rm -f conftest$ac_exeext
18382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18383 (eval $ac_link) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_cv_sizeof_char=`cat conftest.val`
18393 else
18394 echo "$as_me: program exited with status $ac_status" >&5
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398 ( exit $ac_status )
18399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18400 See \`config.log' for more details." >&5
18401 echo "$as_me: error: cannot compute sizeof (char), 77
18402 See \`config.log' for more details." >&2;}
18403 { (exit 1); exit 1; }; }
18404 fi
18405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18406 fi
18407 fi
18408 rm -f conftest.val
18409 else
18410 ac_cv_sizeof_char=0
18411 fi
18412 fi
18413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18414 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18415 cat >>confdefs.h <<_ACEOF
18416 #define SIZEOF_CHAR $ac_cv_sizeof_char
18417 _ACEOF
18418
18419
18420 echo "$as_me:$LINENO: checking for short" >&5
18421 echo $ECHO_N "checking for short... $ECHO_C" >&6
18422 if test "${ac_cv_type_short+set}" = set; then
18423 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 else
18425 cat >conftest.$ac_ext <<_ACEOF
18426 /* confdefs.h. */
18427 _ACEOF
18428 cat confdefs.h >>conftest.$ac_ext
18429 cat >>conftest.$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 $ac_includes_default
18432 int
18433 main ()
18434 {
18435 if ((short *) 0)
18436 return 0;
18437 if (sizeof (short))
18438 return 0;
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18445 (eval $ac_compile) 2>conftest.er1
18446 ac_status=$?
18447 grep -v '^ *+' conftest.er1 >conftest.err
18448 rm -f conftest.er1
18449 cat conftest.err >&5
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); } &&
18452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18455 ac_status=$?
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; } &&
18458 { ac_try='test -s conftest.$ac_objext'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; }; then
18464 ac_cv_type_short=yes
18465 else
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.$ac_ext >&5
18468
18469 ac_cv_type_short=no
18470 fi
18471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18472 fi
18473 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18474 echo "${ECHO_T}$ac_cv_type_short" >&6
18475
18476 echo "$as_me:$LINENO: checking size of short" >&5
18477 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18478 if test "${ac_cv_sizeof_short+set}" = set; then
18479 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 else
18481 if test "$ac_cv_type_short" = yes; then
18482 # The cast to unsigned long works around a bug in the HP C Compiler
18483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18485 # This bug is HP SR number 8606223364.
18486 if test "$cross_compiling" = yes; then
18487 # Depending upon the size, compute the lo and hi bounds.
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 $ac_includes_default
18495 int
18496 main ()
18497 {
18498 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18499 test_array [0] = 0
18500
18501 ;
18502 return 0;
18503 }
18504 _ACEOF
18505 rm -f conftest.$ac_objext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18507 (eval $ac_compile) 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 ac_lo=0 ac_mid=0
18527 while :; do
18528 cat >conftest.$ac_ext <<_ACEOF
18529 /* confdefs.h. */
18530 _ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 $ac_includes_default
18535 int
18536 main ()
18537 {
18538 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18539 test_array [0] = 0
18540
18541 ;
18542 return 0;
18543 }
18544 _ACEOF
18545 rm -f conftest.$ac_objext
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>conftest.er1
18548 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18557 ac_status=$?
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest.$ac_objext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18563 ac_status=$?
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18566 ac_hi=$ac_mid; break
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 ac_lo=`expr $ac_mid + 1`
18572 if test $ac_lo -le $ac_mid; then
18573 ac_lo= ac_hi=
18574 break
18575 fi
18576 ac_mid=`expr 2 '*' $ac_mid + 1`
18577 fi
18578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18579 done
18580 else
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18583
18584 cat >conftest.$ac_ext <<_ACEOF
18585 /* confdefs.h. */
18586 _ACEOF
18587 cat confdefs.h >>conftest.$ac_ext
18588 cat >>conftest.$ac_ext <<_ACEOF
18589 /* end confdefs.h. */
18590 $ac_includes_default
18591 int
18592 main ()
18593 {
18594 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18595 test_array [0] = 0
18596
18597 ;
18598 return 0;
18599 }
18600 _ACEOF
18601 rm -f conftest.$ac_objext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18603 (eval $ac_compile) 2>conftest.er1
18604 ac_status=$?
18605 grep -v '^ *+' conftest.er1 >conftest.err
18606 rm -f conftest.er1
18607 cat conftest.err >&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); } &&
18610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18613 ac_status=$?
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; } &&
18616 { ac_try='test -s conftest.$ac_objext'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; }; then
18622 ac_hi=-1 ac_mid=-1
18623 while :; do
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 $ac_includes_default
18631 int
18632 main ()
18633 {
18634 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18635 test_array [0] = 0
18636
18637 ;
18638 return 0;
18639 }
18640 _ACEOF
18641 rm -f conftest.$ac_objext
18642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18643 (eval $ac_compile) 2>conftest.er1
18644 ac_status=$?
18645 grep -v '^ *+' conftest.er1 >conftest.err
18646 rm -f conftest.er1
18647 cat conftest.err >&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18652 (eval $ac_try) 2>&5
18653 ac_status=$?
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try='test -s conftest.$ac_objext'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18659 ac_status=$?
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 ac_lo=$ac_mid; break
18663 else
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.$ac_ext >&5
18666
18667 ac_hi=`expr '(' $ac_mid ')' - 1`
18668 if test $ac_mid -le $ac_hi; then
18669 ac_lo= ac_hi=
18670 break
18671 fi
18672 ac_mid=`expr 2 '*' $ac_mid`
18673 fi
18674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18675 done
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18679
18680 ac_lo= ac_hi=
18681 fi
18682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18683 fi
18684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18685 # Binary search between lo and hi bounds.
18686 while test "x$ac_lo" != "x$ac_hi"; do
18687 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 $ac_includes_default
18695 int
18696 main ()
18697 {
18698 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18699 test_array [0] = 0
18700
18701 ;
18702 return 0;
18703 }
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18707 (eval $ac_compile) 2>conftest.er1
18708 ac_status=$?
18709 grep -v '^ *+' conftest.er1 >conftest.err
18710 rm -f conftest.er1
18711 cat conftest.err >&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } &&
18714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18716 (eval $ac_try) 2>&5
18717 ac_status=$?
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); }; } &&
18720 { ac_try='test -s conftest.$ac_objext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18723 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then
18726 ac_hi=$ac_mid
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 ac_lo=`expr '(' $ac_mid ')' + 1`
18732 fi
18733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18734 done
18735 case $ac_lo in
18736 ?*) ac_cv_sizeof_short=$ac_lo;;
18737 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18738 See \`config.log' for more details." >&5
18739 echo "$as_me: error: cannot compute sizeof (short), 77
18740 See \`config.log' for more details." >&2;}
18741 { (exit 1); exit 1; }; } ;;
18742 esac
18743 else
18744 if test "$cross_compiling" = yes; then
18745 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18746 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18747 { (exit 1); exit 1; }; }
18748 else
18749 cat >conftest.$ac_ext <<_ACEOF
18750 /* confdefs.h. */
18751 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 $ac_includes_default
18756 long longval () { return (long) (sizeof (short)); }
18757 unsigned long ulongval () { return (long) (sizeof (short)); }
18758 #include <stdio.h>
18759 #include <stdlib.h>
18760 int
18761 main ()
18762 {
18763
18764 FILE *f = fopen ("conftest.val", "w");
18765 if (! f)
18766 exit (1);
18767 if (((long) (sizeof (short))) < 0)
18768 {
18769 long i = longval ();
18770 if (i != ((long) (sizeof (short))))
18771 exit (1);
18772 fprintf (f, "%ld\n", i);
18773 }
18774 else
18775 {
18776 unsigned long i = ulongval ();
18777 if (i != ((long) (sizeof (short))))
18778 exit (1);
18779 fprintf (f, "%lu\n", i);
18780 }
18781 exit (ferror (f) || fclose (f) != 0);
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest$ac_exeext
18788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18789 (eval $ac_link) 2>&5
18790 ac_status=$?
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_cv_sizeof_short=`cat conftest.val`
18799 else
18800 echo "$as_me: program exited with status $ac_status" >&5
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.$ac_ext >&5
18803
18804 ( exit $ac_status )
18805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18806 See \`config.log' for more details." >&5
18807 echo "$as_me: error: cannot compute sizeof (short), 77
18808 See \`config.log' for more details." >&2;}
18809 { (exit 1); exit 1; }; }
18810 fi
18811 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18812 fi
18813 fi
18814 rm -f conftest.val
18815 else
18816 ac_cv_sizeof_short=0
18817 fi
18818 fi
18819 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18820 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18821 cat >>confdefs.h <<_ACEOF
18822 #define SIZEOF_SHORT $ac_cv_sizeof_short
18823 _ACEOF
18824
18825
18826 echo "$as_me:$LINENO: checking for void *" >&5
18827 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18828 if test "${ac_cv_type_void_p+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 $ac_includes_default
18838 int
18839 main ()
18840 {
18841 if ((void * *) 0)
18842 return 0;
18843 if (sizeof (void *))
18844 return 0;
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest.$ac_objext
18850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18851 (eval $ac_compile) 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } &&
18858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18861 ac_status=$?
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; } &&
18864 { ac_try='test -s conftest.$ac_objext'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18867 ac_status=$?
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; }; then
18870 ac_cv_type_void_p=yes
18871 else
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 ac_cv_type_void_p=no
18876 fi
18877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18878 fi
18879 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18880 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18881
18882 echo "$as_me:$LINENO: checking size of void *" >&5
18883 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18884 if test "${ac_cv_sizeof_void_p+set}" = set; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18886 else
18887 if test "$ac_cv_type_void_p" = yes; then
18888 # The cast to unsigned long works around a bug in the HP C Compiler
18889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18891 # This bug is HP SR number 8606223364.
18892 if test "$cross_compiling" = yes; then
18893 # Depending upon the size, compute the lo and hi bounds.
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 $ac_includes_default
18901 int
18902 main ()
18903 {
18904 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18905 test_array [0] = 0
18906
18907 ;
18908 return 0;
18909 }
18910 _ACEOF
18911 rm -f conftest.$ac_objext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18913 (eval $ac_compile) 2>conftest.er1
18914 ac_status=$?
18915 grep -v '^ *+' conftest.er1 >conftest.err
18916 rm -f conftest.er1
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } &&
18920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; } &&
18926 { ac_try='test -s conftest.$ac_objext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18932 ac_lo=0 ac_mid=0
18933 while :; do
18934 cat >conftest.$ac_ext <<_ACEOF
18935 /* confdefs.h. */
18936 _ACEOF
18937 cat confdefs.h >>conftest.$ac_ext
18938 cat >>conftest.$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18940 $ac_includes_default
18941 int
18942 main ()
18943 {
18944 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18945 test_array [0] = 0
18946
18947 ;
18948 return 0;
18949 }
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18954 ac_status=$?
18955 grep -v '^ *+' conftest.er1 >conftest.err
18956 rm -f conftest.er1
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try='test -s conftest.$ac_objext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18972 ac_hi=$ac_mid; break
18973 else
18974 echo "$as_me: failed program was:" >&5
18975 sed 's/^/| /' conftest.$ac_ext >&5
18976
18977 ac_lo=`expr $ac_mid + 1`
18978 if test $ac_lo -le $ac_mid; then
18979 ac_lo= ac_hi=
18980 break
18981 fi
18982 ac_mid=`expr 2 '*' $ac_mid + 1`
18983 fi
18984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18985 done
18986 else
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18989
18990 cat >conftest.$ac_ext <<_ACEOF
18991 /* confdefs.h. */
18992 _ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
18997 int
18998 main ()
18999 {
19000 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19001 test_array [0] = 0
19002
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 rm -f conftest.$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try='test -s conftest.$ac_objext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_hi=-1 ac_mid=-1
19029 while :; do
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 $ac_includes_default
19037 int
19038 main ()
19039 {
19040 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19041 test_array [0] = 0
19042
19043 ;
19044 return 0;
19045 }
19046 _ACEOF
19047 rm -f conftest.$ac_objext
19048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19049 (eval $ac_compile) 2>conftest.er1
19050 ac_status=$?
19051 grep -v '^ *+' conftest.er1 >conftest.err
19052 rm -f conftest.er1
19053 cat conftest.err >&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } &&
19056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_lo=$ac_mid; break
19069 else
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19072
19073 ac_hi=`expr '(' $ac_mid ')' - 1`
19074 if test $ac_mid -le $ac_hi; then
19075 ac_lo= ac_hi=
19076 break
19077 fi
19078 ac_mid=`expr 2 '*' $ac_mid`
19079 fi
19080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19081 done
19082 else
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.$ac_ext >&5
19085
19086 ac_lo= ac_hi=
19087 fi
19088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19089 fi
19090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19091 # Binary search between lo and hi bounds.
19092 while test "x$ac_lo" != "x$ac_hi"; do
19093 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 int
19102 main ()
19103 {
19104 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19105 test_array [0] = 0
19106
19107 ;
19108 return 0;
19109 }
19110 _ACEOF
19111 rm -f conftest.$ac_objext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19113 (eval $ac_compile) 2>conftest.er1
19114 ac_status=$?
19115 grep -v '^ *+' conftest.er1 >conftest.err
19116 rm -f conftest.er1
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; } &&
19126 { ac_try='test -s conftest.$ac_objext'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; }; then
19132 ac_hi=$ac_mid
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137 ac_lo=`expr '(' $ac_mid ')' + 1`
19138 fi
19139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19140 done
19141 case $ac_lo in
19142 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19144 See \`config.log' for more details." >&5
19145 echo "$as_me: error: cannot compute sizeof (void *), 77
19146 See \`config.log' for more details." >&2;}
19147 { (exit 1); exit 1; }; } ;;
19148 esac
19149 else
19150 if test "$cross_compiling" = yes; then
19151 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19152 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19153 { (exit 1); exit 1; }; }
19154 else
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 long longval () { return (long) (sizeof (void *)); }
19163 unsigned long ulongval () { return (long) (sizeof (void *)); }
19164 #include <stdio.h>
19165 #include <stdlib.h>
19166 int
19167 main ()
19168 {
19169
19170 FILE *f = fopen ("conftest.val", "w");
19171 if (! f)
19172 exit (1);
19173 if (((long) (sizeof (void *))) < 0)
19174 {
19175 long i = longval ();
19176 if (i != ((long) (sizeof (void *))))
19177 exit (1);
19178 fprintf (f, "%ld\n", i);
19179 }
19180 else
19181 {
19182 unsigned long i = ulongval ();
19183 if (i != ((long) (sizeof (void *))))
19184 exit (1);
19185 fprintf (f, "%lu\n", i);
19186 }
19187 exit (ferror (f) || fclose (f) != 0);
19188
19189 ;
19190 return 0;
19191 }
19192 _ACEOF
19193 rm -f conftest$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_cv_sizeof_void_p=`cat conftest.val`
19205 else
19206 echo "$as_me: program exited with status $ac_status" >&5
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ( exit $ac_status )
19211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19212 See \`config.log' for more details." >&5
19213 echo "$as_me: error: cannot compute sizeof (void *), 77
19214 See \`config.log' for more details." >&2;}
19215 { (exit 1); exit 1; }; }
19216 fi
19217 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19218 fi
19219 fi
19220 rm -f conftest.val
19221 else
19222 ac_cv_sizeof_void_p=0
19223 fi
19224 fi
19225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19226 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19227 cat >>confdefs.h <<_ACEOF
19228 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19229 _ACEOF
19230
19231
19232 echo "$as_me:$LINENO: checking for int" >&5
19233 echo $ECHO_N "checking for int... $ECHO_C" >&6
19234 if test "${ac_cv_type_int+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 int
19245 main ()
19246 {
19247 if ((int *) 0)
19248 return 0;
19249 if (sizeof (int))
19250 return 0;
19251 ;
19252 return 0;
19253 }
19254 _ACEOF
19255 rm -f conftest.$ac_objext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19257 (eval $ac_compile) 2>conftest.er1
19258 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } &&
19264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; } &&
19270 { ac_try='test -s conftest.$ac_objext'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 ac_cv_type_int=yes
19277 else
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19280
19281 ac_cv_type_int=no
19282 fi
19283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19284 fi
19285 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19286 echo "${ECHO_T}$ac_cv_type_int" >&6
19287
19288 echo "$as_me:$LINENO: checking size of int" >&5
19289 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19290 if test "${ac_cv_sizeof_int+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 else
19293 if test "$ac_cv_type_int" = yes; then
19294 # The cast to unsigned long works around a bug in the HP C Compiler
19295 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19296 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19297 # This bug is HP SR number 8606223364.
19298 if test "$cross_compiling" = yes; then
19299 # Depending upon the size, compute the lo and hi bounds.
19300 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 $ac_includes_default
19307 int
19308 main ()
19309 {
19310 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19311 test_array [0] = 0
19312
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 ac_lo=0 ac_mid=0
19339 while :; do
19340 cat >conftest.$ac_ext <<_ACEOF
19341 /* confdefs.h. */
19342 _ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346 $ac_includes_default
19347 int
19348 main ()
19349 {
19350 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19351 test_array [0] = 0
19352
19353 ;
19354 return 0;
19355 }
19356 _ACEOF
19357 rm -f conftest.$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19360 ac_status=$?
19361 grep -v '^ *+' conftest.er1 >conftest.err
19362 rm -f conftest.er1
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_hi=$ac_mid; break
19379 else
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383 ac_lo=`expr $ac_mid + 1`
19384 if test $ac_lo -le $ac_mid; then
19385 ac_lo= ac_hi=
19386 break
19387 fi
19388 ac_mid=`expr 2 '*' $ac_mid + 1`
19389 fi
19390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19391 done
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19395
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 $ac_includes_default
19403 int
19404 main ()
19405 {
19406 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19407 test_array [0] = 0
19408
19409 ;
19410 return 0;
19411 }
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>conftest.er1
19416 ac_status=$?
19417 grep -v '^ *+' conftest.er1 >conftest.err
19418 rm -f conftest.er1
19419 cat conftest.err >&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } &&
19422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 (eval $ac_try) 2>&5
19425 ac_status=$?
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }; } &&
19428 { ac_try='test -s conftest.$ac_objext'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19431 ac_status=$?
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; }; then
19434 ac_hi=-1 ac_mid=-1
19435 while :; do
19436 cat >conftest.$ac_ext <<_ACEOF
19437 /* confdefs.h. */
19438 _ACEOF
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 $ac_includes_default
19443 int
19444 main ()
19445 {
19446 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19447 test_array [0] = 0
19448
19449 ;
19450 return 0;
19451 }
19452 _ACEOF
19453 rm -f conftest.$ac_objext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19455 (eval $ac_compile) 2>conftest.er1
19456 ac_status=$?
19457 grep -v '^ *+' conftest.er1 >conftest.err
19458 rm -f conftest.er1
19459 cat conftest.err >&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } &&
19462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19465 ac_status=$?
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try='test -s conftest.$ac_objext'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19471 ac_status=$?
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; }; then
19474 ac_lo=$ac_mid; break
19475 else
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19478
19479 ac_hi=`expr '(' $ac_mid ')' - 1`
19480 if test $ac_mid -le $ac_hi; then
19481 ac_lo= ac_hi=
19482 break
19483 fi
19484 ac_mid=`expr 2 '*' $ac_mid`
19485 fi
19486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19487 done
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 ac_lo= ac_hi=
19493 fi
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19495 fi
19496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19497 # Binary search between lo and hi bounds.
19498 while test "x$ac_lo" != "x$ac_hi"; do
19499 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19507 int
19508 main ()
19509 {
19510 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19511 test_array [0] = 0
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19529 ac_status=$?
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19535 ac_status=$?
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19538 ac_hi=$ac_mid
19539 else
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19542
19543 ac_lo=`expr '(' $ac_mid ')' + 1`
19544 fi
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19546 done
19547 case $ac_lo in
19548 ?*) ac_cv_sizeof_int=$ac_lo;;
19549 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19550 See \`config.log' for more details." >&5
19551 echo "$as_me: error: cannot compute sizeof (int), 77
19552 See \`config.log' for more details." >&2;}
19553 { (exit 1); exit 1; }; } ;;
19554 esac
19555 else
19556 if test "$cross_compiling" = yes; then
19557 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19558 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19559 { (exit 1); exit 1; }; }
19560 else
19561 cat >conftest.$ac_ext <<_ACEOF
19562 /* confdefs.h. */
19563 _ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 $ac_includes_default
19568 long longval () { return (long) (sizeof (int)); }
19569 unsigned long ulongval () { return (long) (sizeof (int)); }
19570 #include <stdio.h>
19571 #include <stdlib.h>
19572 int
19573 main ()
19574 {
19575
19576 FILE *f = fopen ("conftest.val", "w");
19577 if (! f)
19578 exit (1);
19579 if (((long) (sizeof (int))) < 0)
19580 {
19581 long i = longval ();
19582 if (i != ((long) (sizeof (int))))
19583 exit (1);
19584 fprintf (f, "%ld\n", i);
19585 }
19586 else
19587 {
19588 unsigned long i = ulongval ();
19589 if (i != ((long) (sizeof (int))))
19590 exit (1);
19591 fprintf (f, "%lu\n", i);
19592 }
19593 exit (ferror (f) || fclose (f) != 0);
19594
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 rm -f conftest$ac_exeext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19601 (eval $ac_link) 2>&5
19602 ac_status=$?
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19607 ac_status=$?
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 ac_cv_sizeof_int=`cat conftest.val`
19611 else
19612 echo "$as_me: program exited with status $ac_status" >&5
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19615
19616 ( exit $ac_status )
19617 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19618 See \`config.log' for more details." >&5
19619 echo "$as_me: error: cannot compute sizeof (int), 77
19620 See \`config.log' for more details." >&2;}
19621 { (exit 1); exit 1; }; }
19622 fi
19623 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19624 fi
19625 fi
19626 rm -f conftest.val
19627 else
19628 ac_cv_sizeof_int=0
19629 fi
19630 fi
19631 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19632 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19633 cat >>confdefs.h <<_ACEOF
19634 #define SIZEOF_INT $ac_cv_sizeof_int
19635 _ACEOF
19636
19637
19638 echo "$as_me:$LINENO: checking for long" >&5
19639 echo $ECHO_N "checking for long... $ECHO_C" >&6
19640 if test "${ac_cv_type_long+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 int
19651 main ()
19652 {
19653 if ((long *) 0)
19654 return 0;
19655 if (sizeof (long))
19656 return 0;
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>conftest.er1
19664 ac_status=$?
19665 grep -v '^ *+' conftest.er1 >conftest.err
19666 rm -f conftest.er1
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_cv_type_long=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_cv_type_long=no
19688 fi
19689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690 fi
19691 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19692 echo "${ECHO_T}$ac_cv_type_long" >&6
19693
19694 echo "$as_me:$LINENO: checking size of long" >&5
19695 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19696 if test "${ac_cv_sizeof_long+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19698 else
19699 if test "$ac_cv_type_long" = yes; then
19700 # The cast to unsigned long works around a bug in the HP C Compiler
19701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19703 # This bug is HP SR number 8606223364.
19704 if test "$cross_compiling" = yes; then
19705 # Depending upon the size, compute the lo and hi bounds.
19706 cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h. */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 $ac_includes_default
19713 int
19714 main ()
19715 {
19716 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19717 test_array [0] = 0
19718
19719 ;
19720 return 0;
19721 }
19722 _ACEOF
19723 rm -f conftest.$ac_objext
19724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19725 (eval $ac_compile) 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } &&
19732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; } &&
19738 { ac_try='test -s conftest.$ac_objext'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 ac_lo=0 ac_mid=0
19745 while :; do
19746 cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h. */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 int
19754 main ()
19755 {
19756 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19757 test_array [0] = 0
19758
19759 ;
19760 return 0;
19761 }
19762 _ACEOF
19763 rm -f conftest.$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765 (eval $ac_compile) 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19775 ac_status=$?
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try='test -s conftest.$ac_objext'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 ac_hi=$ac_mid; break
19785 else
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19788
19789 ac_lo=`expr $ac_mid + 1`
19790 if test $ac_lo -le $ac_mid; then
19791 ac_lo= ac_hi=
19792 break
19793 fi
19794 ac_mid=`expr 2 '*' $ac_mid + 1`
19795 fi
19796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19797 done
19798 else
19799 echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.$ac_ext >&5
19801
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19809 int
19810 main ()
19811 {
19812 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19813 test_array [0] = 0
19814
19815 ;
19816 return 0;
19817 }
19818 _ACEOF
19819 rm -f conftest.$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; } &&
19834 { ac_try='test -s conftest.$ac_objext'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; }; then
19840 ac_hi=-1 ac_mid=-1
19841 while :; do
19842 cat >conftest.$ac_ext <<_ACEOF
19843 /* confdefs.h. */
19844 _ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 $ac_includes_default
19849 int
19850 main ()
19851 {
19852 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19853 test_array [0] = 0
19854
19855 ;
19856 return 0;
19857 }
19858 _ACEOF
19859 rm -f conftest.$ac_objext
19860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19861 (eval $ac_compile) 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } &&
19868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19871 ac_status=$?
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest.$ac_objext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19877 ac_status=$?
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 ac_lo=$ac_mid; break
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19884
19885 ac_hi=`expr '(' $ac_mid ')' - 1`
19886 if test $ac_mid -le $ac_hi; then
19887 ac_lo= ac_hi=
19888 break
19889 fi
19890 ac_mid=`expr 2 '*' $ac_mid`
19891 fi
19892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19893 done
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 ac_lo= ac_hi=
19899 fi
19900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19901 fi
19902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19903 # Binary search between lo and hi bounds.
19904 while test "x$ac_lo" != "x$ac_hi"; do
19905 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h. */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912 $ac_includes_default
19913 int
19914 main ()
19915 {
19916 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19917 test_array [0] = 0
19918
19919 ;
19920 return 0;
19921 }
19922 _ACEOF
19923 rm -f conftest.$ac_objext
19924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19925 (eval $ac_compile) 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } &&
19932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19935 ac_status=$?
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try='test -s conftest.$ac_objext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19944 ac_hi=$ac_mid
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19948
19949 ac_lo=`expr '(' $ac_mid ')' + 1`
19950 fi
19951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19952 done
19953 case $ac_lo in
19954 ?*) ac_cv_sizeof_long=$ac_lo;;
19955 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19956 See \`config.log' for more details." >&5
19957 echo "$as_me: error: cannot compute sizeof (long), 77
19958 See \`config.log' for more details." >&2;}
19959 { (exit 1); exit 1; }; } ;;
19960 esac
19961 else
19962 if test "$cross_compiling" = yes; then
19963 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19964 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19965 { (exit 1); exit 1; }; }
19966 else
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 long longval () { return (long) (sizeof (long)); }
19975 unsigned long ulongval () { return (long) (sizeof (long)); }
19976 #include <stdio.h>
19977 #include <stdlib.h>
19978 int
19979 main ()
19980 {
19981
19982 FILE *f = fopen ("conftest.val", "w");
19983 if (! f)
19984 exit (1);
19985 if (((long) (sizeof (long))) < 0)
19986 {
19987 long i = longval ();
19988 if (i != ((long) (sizeof (long))))
19989 exit (1);
19990 fprintf (f, "%ld\n", i);
19991 }
19992 else
19993 {
19994 unsigned long i = ulongval ();
19995 if (i != ((long) (sizeof (long))))
19996 exit (1);
19997 fprintf (f, "%lu\n", i);
19998 }
19999 exit (ferror (f) || fclose (f) != 0);
20000
20001 ;
20002 return 0;
20003 }
20004 _ACEOF
20005 rm -f conftest$ac_exeext
20006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20007 (eval $ac_link) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20013 ac_status=$?
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_cv_sizeof_long=`cat conftest.val`
20017 else
20018 echo "$as_me: program exited with status $ac_status" >&5
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 ( exit $ac_status )
20023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20024 See \`config.log' for more details." >&5
20025 echo "$as_me: error: cannot compute sizeof (long), 77
20026 See \`config.log' for more details." >&2;}
20027 { (exit 1); exit 1; }; }
20028 fi
20029 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20030 fi
20031 fi
20032 rm -f conftest.val
20033 else
20034 ac_cv_sizeof_long=0
20035 fi
20036 fi
20037 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20038 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20039 cat >>confdefs.h <<_ACEOF
20040 #define SIZEOF_LONG $ac_cv_sizeof_long
20041 _ACEOF
20042
20043
20044 echo "$as_me:$LINENO: checking for size_t" >&5
20045 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20046 if test "${ac_cv_type_size_t+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20056 int
20057 main ()
20058 {
20059 if ((size_t *) 0)
20060 return 0;
20061 if (sizeof (size_t))
20062 return 0;
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20079 ac_status=$?
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try='test -s conftest.$ac_objext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20085 ac_status=$?
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20088 ac_cv_type_size_t=yes
20089 else
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 ac_cv_type_size_t=no
20094 fi
20095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20096 fi
20097 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20098 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20099
20100 echo "$as_me:$LINENO: checking size of size_t" >&5
20101 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20102 if test "${ac_cv_sizeof_size_t+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 else
20105 if test "$ac_cv_type_size_t" = yes; then
20106 # The cast to unsigned long works around a bug in the HP C Compiler
20107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20109 # This bug is HP SR number 8606223364.
20110 if test "$cross_compiling" = yes; then
20111 # Depending upon the size, compute the lo and hi bounds.
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 $ac_includes_default
20119 int
20120 main ()
20121 {
20122 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20123 test_array [0] = 0
20124
20125 ;
20126 return 0;
20127 }
20128 _ACEOF
20129 rm -f conftest.$ac_objext
20130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20131 (eval $ac_compile) 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } &&
20138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20140 (eval $ac_try) 2>&5
20141 ac_status=$?
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); }; } &&
20144 { ac_try='test -s conftest.$ac_objext'
20145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20146 (eval $ac_try) 2>&5
20147 ac_status=$?
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); }; }; then
20150 ac_lo=0 ac_mid=0
20151 while :; do
20152 cat >conftest.$ac_ext <<_ACEOF
20153 /* confdefs.h. */
20154 _ACEOF
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 $ac_includes_default
20159 int
20160 main ()
20161 {
20162 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20163 test_array [0] = 0
20164
20165 ;
20166 return 0;
20167 }
20168 _ACEOF
20169 rm -f conftest.$ac_objext
20170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20171 (eval $ac_compile) 2>conftest.er1
20172 ac_status=$?
20173 grep -v '^ *+' conftest.er1 >conftest.err
20174 rm -f conftest.er1
20175 cat conftest.err >&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } &&
20178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; } &&
20184 { ac_try='test -s conftest.$ac_objext'
20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186 (eval $ac_try) 2>&5
20187 ac_status=$?
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); }; }; then
20190 ac_hi=$ac_mid; break
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 ac_lo=`expr $ac_mid + 1`
20196 if test $ac_lo -le $ac_mid; then
20197 ac_lo= ac_hi=
20198 break
20199 fi
20200 ac_mid=`expr 2 '*' $ac_mid + 1`
20201 fi
20202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20203 done
20204 else
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20207
20208 cat >conftest.$ac_ext <<_ACEOF
20209 /* confdefs.h. */
20210 _ACEOF
20211 cat confdefs.h >>conftest.$ac_ext
20212 cat >>conftest.$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20214 $ac_includes_default
20215 int
20216 main ()
20217 {
20218 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20219 test_array [0] = 0
20220
20221 ;
20222 return 0;
20223 }
20224 _ACEOF
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20228 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20237 ac_status=$?
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20243 ac_status=$?
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 ac_hi=-1 ac_mid=-1
20247 while :; do
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h. */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 int
20256 main ()
20257 {
20258 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20259 test_array [0] = 0
20260
20261 ;
20262 return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20268 ac_status=$?
20269 grep -v '^ *+' conftest.er1 >conftest.err
20270 rm -f conftest.er1
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20277 ac_status=$?
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try='test -s conftest.$ac_objext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_lo=$ac_mid; break
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 ac_hi=`expr '(' $ac_mid ')' - 1`
20292 if test $ac_mid -le $ac_hi; then
20293 ac_lo= ac_hi=
20294 break
20295 fi
20296 ac_mid=`expr 2 '*' $ac_mid`
20297 fi
20298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20299 done
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ac_lo= ac_hi=
20305 fi
20306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20307 fi
20308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20309 # Binary search between lo and hi bounds.
20310 while test "x$ac_lo" != "x$ac_hi"; do
20311 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20319 int
20320 main ()
20321 {
20322 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20323 test_array [0] = 0
20324
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; } &&
20344 { ac_try='test -s conftest.$ac_objext'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20347 ac_status=$?
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20350 ac_hi=$ac_mid
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ac_lo=`expr '(' $ac_mid ')' + 1`
20356 fi
20357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20358 done
20359 case $ac_lo in
20360 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20361 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20362 See \`config.log' for more details." >&5
20363 echo "$as_me: error: cannot compute sizeof (size_t), 77
20364 See \`config.log' for more details." >&2;}
20365 { (exit 1); exit 1; }; } ;;
20366 esac
20367 else
20368 if test "$cross_compiling" = yes; then
20369 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20370 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20371 { (exit 1); exit 1; }; }
20372 else
20373 cat >conftest.$ac_ext <<_ACEOF
20374 /* confdefs.h. */
20375 _ACEOF
20376 cat confdefs.h >>conftest.$ac_ext
20377 cat >>conftest.$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 $ac_includes_default
20380 long longval () { return (long) (sizeof (size_t)); }
20381 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20382 #include <stdio.h>
20383 #include <stdlib.h>
20384 int
20385 main ()
20386 {
20387
20388 FILE *f = fopen ("conftest.val", "w");
20389 if (! f)
20390 exit (1);
20391 if (((long) (sizeof (size_t))) < 0)
20392 {
20393 long i = longval ();
20394 if (i != ((long) (sizeof (size_t))))
20395 exit (1);
20396 fprintf (f, "%ld\n", i);
20397 }
20398 else
20399 {
20400 unsigned long i = ulongval ();
20401 if (i != ((long) (sizeof (size_t))))
20402 exit (1);
20403 fprintf (f, "%lu\n", i);
20404 }
20405 exit (ferror (f) || fclose (f) != 0);
20406
20407 ;
20408 return 0;
20409 }
20410 _ACEOF
20411 rm -f conftest$ac_exeext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20413 (eval $ac_link) 2>&5
20414 ac_status=$?
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20419 ac_status=$?
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_sizeof_size_t=`cat conftest.val`
20423 else
20424 echo "$as_me: program exited with status $ac_status" >&5
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20427
20428 ( exit $ac_status )
20429 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20430 See \`config.log' for more details." >&5
20431 echo "$as_me: error: cannot compute sizeof (size_t), 77
20432 See \`config.log' for more details." >&2;}
20433 { (exit 1); exit 1; }; }
20434 fi
20435 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20436 fi
20437 fi
20438 rm -f conftest.val
20439 else
20440 ac_cv_sizeof_size_t=0
20441 fi
20442 fi
20443 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20444 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20445 cat >>confdefs.h <<_ACEOF
20446 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20447 _ACEOF
20448
20449
20450
20451 case "${host}" in
20452 arm-*-linux* )
20453 echo "$as_me:$LINENO: checking for long long" >&5
20454 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20455 if test "${ac_cv_type_long_long+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 else
20458 cat >conftest.$ac_ext <<_ACEOF
20459 /* confdefs.h. */
20460 _ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20465 int
20466 main ()
20467 {
20468 if ((long long *) 0)
20469 return 0;
20470 if (sizeof (long long))
20471 return 0;
20472 ;
20473 return 0;
20474 }
20475 _ACEOF
20476 rm -f conftest.$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478 (eval $ac_compile) 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } &&
20485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_type_long_long=yes
20498 else
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_cv_type_long_long=no
20503 fi
20504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20505 fi
20506 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20507 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20508
20509 echo "$as_me:$LINENO: checking size of long long" >&5
20510 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20511 if test "${ac_cv_sizeof_long_long+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20513 else
20514 if test "$ac_cv_type_long_long" = yes; then
20515 # The cast to unsigned long works around a bug in the HP C Compiler
20516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20518 # This bug is HP SR number 8606223364.
20519 if test "$cross_compiling" = yes; then
20520 # Depending upon the size, compute the lo and hi bounds.
20521 cat >conftest.$ac_ext <<_ACEOF
20522 /* confdefs.h. */
20523 _ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20528 int
20529 main ()
20530 {
20531 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20532 test_array [0] = 0
20533
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20540 (eval $ac_compile) 2>conftest.er1
20541 ac_status=$?
20542 grep -v '^ *+' conftest.er1 >conftest.err
20543 rm -f conftest.er1
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20550 ac_status=$?
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; } &&
20553 { ac_try='test -s conftest.$ac_objext'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20556 ac_status=$?
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then
20559 ac_lo=0 ac_mid=0
20560 while :; do
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 $ac_includes_default
20568 int
20569 main ()
20570 {
20571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20572 test_array [0] = 0
20573
20574 ;
20575 return 0;
20576 }
20577 _ACEOF
20578 rm -f conftest.$ac_objext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20580 (eval $ac_compile) 2>conftest.er1
20581 ac_status=$?
20582 grep -v '^ *+' conftest.er1 >conftest.err
20583 rm -f conftest.er1
20584 cat conftest.err >&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; } &&
20593 { ac_try='test -s conftest.$ac_objext'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20596 ac_status=$?
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20599 ac_hi=$ac_mid; break
20600 else
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20603
20604 ac_lo=`expr $ac_mid + 1`
20605 if test $ac_lo -le $ac_mid; then
20606 ac_lo= ac_hi=
20607 break
20608 fi
20609 ac_mid=`expr 2 '*' $ac_mid + 1`
20610 fi
20611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20612 done
20613 else
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20616
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h. */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 $ac_includes_default
20624 int
20625 main ()
20626 {
20627 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20628 test_array [0] = 0
20629
20630 ;
20631 return 0;
20632 }
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20636 (eval $ac_compile) 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } &&
20643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; } &&
20649 { ac_try='test -s conftest.$ac_objext'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; }; then
20655 ac_hi=-1 ac_mid=-1
20656 while :; do
20657 cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h. */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663 $ac_includes_default
20664 int
20665 main ()
20666 {
20667 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20668 test_array [0] = 0
20669
20670 ;
20671 return 0;
20672 }
20673 _ACEOF
20674 rm -f conftest.$ac_objext
20675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20676 (eval $ac_compile) 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20686 ac_status=$?
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; } &&
20689 { ac_try='test -s conftest.$ac_objext'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; }; then
20695 ac_lo=$ac_mid; break
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 ac_hi=`expr '(' $ac_mid ')' - 1`
20701 if test $ac_mid -le $ac_hi; then
20702 ac_lo= ac_hi=
20703 break
20704 fi
20705 ac_mid=`expr 2 '*' $ac_mid`
20706 fi
20707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20708 done
20709 else
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713 ac_lo= ac_hi=
20714 fi
20715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20716 fi
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718 # Binary search between lo and hi bounds.
20719 while test "x$ac_lo" != "x$ac_hi"; do
20720 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 $ac_includes_default
20728 int
20729 main ()
20730 {
20731 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20732 test_array [0] = 0
20733
20734 ;
20735 return 0;
20736 }
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>conftest.er1
20741 ac_status=$?
20742 grep -v '^ *+' conftest.er1 >conftest.err
20743 rm -f conftest.er1
20744 cat conftest.err >&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try='test -s conftest.$ac_objext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_hi=$ac_mid
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 ac_lo=`expr '(' $ac_mid ')' + 1`
20765 fi
20766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20767 done
20768 case $ac_lo in
20769 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20770 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20771 See \`config.log' for more details." >&5
20772 echo "$as_me: error: cannot compute sizeof (long long), 77
20773 See \`config.log' for more details." >&2;}
20774 { (exit 1); exit 1; }; } ;;
20775 esac
20776 else
20777 if test "$cross_compiling" = yes; then
20778 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20779 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20780 { (exit 1); exit 1; }; }
20781 else
20782 cat >conftest.$ac_ext <<_ACEOF
20783 /* confdefs.h. */
20784 _ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 $ac_includes_default
20789 long longval () { return (long) (sizeof (long long)); }
20790 unsigned long ulongval () { return (long) (sizeof (long long)); }
20791 #include <stdio.h>
20792 #include <stdlib.h>
20793 int
20794 main ()
20795 {
20796
20797 FILE *f = fopen ("conftest.val", "w");
20798 if (! f)
20799 exit (1);
20800 if (((long) (sizeof (long long))) < 0)
20801 {
20802 long i = longval ();
20803 if (i != ((long) (sizeof (long long))))
20804 exit (1);
20805 fprintf (f, "%ld\n", i);
20806 }
20807 else
20808 {
20809 unsigned long i = ulongval ();
20810 if (i != ((long) (sizeof (long long))))
20811 exit (1);
20812 fprintf (f, "%lu\n", i);
20813 }
20814 exit (ferror (f) || fclose (f) != 0);
20815
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest$ac_exeext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20822 (eval $ac_link) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20828 ac_status=$?
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 ac_cv_sizeof_long_long=`cat conftest.val`
20832 else
20833 echo "$as_me: program exited with status $ac_status" >&5
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 ( exit $ac_status )
20838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20839 See \`config.log' for more details." >&5
20840 echo "$as_me: error: cannot compute sizeof (long long), 77
20841 See \`config.log' for more details." >&2;}
20842 { (exit 1); exit 1; }; }
20843 fi
20844 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20845 fi
20846 fi
20847 rm -f conftest.val
20848 else
20849 ac_cv_sizeof_long_long=0
20850 fi
20851 fi
20852 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20853 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20854 cat >>confdefs.h <<_ACEOF
20855 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20856 _ACEOF
20857
20858
20859 ;;
20860 *-hp-hpux* )
20861 echo "$as_me:$LINENO: checking for long long" >&5
20862 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20863 if test "${ac_cv_type_long_long+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873 int
20874 main ()
20875 {
20876 if ((long long *) 0)
20877 return 0;
20878 if (sizeof (long long))
20879 return 0;
20880 ;
20881 return 0;
20882 }
20883 _ACEOF
20884 rm -f conftest.$ac_objext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 (eval $ac_compile) 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; } &&
20899 { ac_try='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_type_long_long=yes
20906 else
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20909
20910 ac_cv_type_long_long=no
20911 fi
20912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20913 fi
20914 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20915 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20916
20917 echo "$as_me:$LINENO: checking size of long long" >&5
20918 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20919 if test "${ac_cv_sizeof_long_long+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 else
20922 if test "$ac_cv_type_long_long" = yes; then
20923 # The cast to unsigned long works around a bug in the HP C Compiler
20924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20926 # This bug is HP SR number 8606223364.
20927 if test "$cross_compiling" = yes; then
20928 # Depending upon the size, compute the lo and hi bounds.
20929 cat >conftest.$ac_ext <<_ACEOF
20930 /* confdefs.h. */
20931 _ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 $ac_includes_default
20936 int
20937 main ()
20938 {
20939 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20940 test_array [0] = 0
20941
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 rm -f conftest.$ac_objext
20947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20948 (eval $ac_compile) 2>conftest.er1
20949 ac_status=$?
20950 grep -v '^ *+' conftest.er1 >conftest.err
20951 rm -f conftest.er1
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } &&
20955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957 (eval $ac_try) 2>&5
20958 ac_status=$?
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_lo=0 ac_mid=0
20968 while :; do
20969 cat >conftest.$ac_ext <<_ACEOF
20970 /* confdefs.h. */
20971 _ACEOF
20972 cat confdefs.h >>conftest.$ac_ext
20973 cat >>conftest.$ac_ext <<_ACEOF
20974 /* end confdefs.h. */
20975 $ac_includes_default
20976 int
20977 main ()
20978 {
20979 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20980 test_array [0] = 0
20981
20982 ;
20983 return 0;
20984 }
20985 _ACEOF
20986 rm -f conftest.$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20989 ac_status=$?
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try='test -s conftest.$ac_objext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_hi=$ac_mid; break
21008 else
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21011
21012 ac_lo=`expr $ac_mid + 1`
21013 if test $ac_lo -le $ac_mid; then
21014 ac_lo= ac_hi=
21015 break
21016 fi
21017 ac_mid=`expr 2 '*' $ac_mid + 1`
21018 fi
21019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21020 done
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 $ac_includes_default
21032 int
21033 main ()
21034 {
21035 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21036 test_array [0] = 0
21037
21038 ;
21039 return 0;
21040 }
21041 _ACEOF
21042 rm -f conftest.$ac_objext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21044 (eval $ac_compile) 2>conftest.er1
21045 ac_status=$?
21046 grep -v '^ *+' conftest.er1 >conftest.err
21047 rm -f conftest.er1
21048 cat conftest.err >&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } &&
21051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; } &&
21057 { ac_try='test -s conftest.$ac_objext'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_hi=-1 ac_mid=-1
21064 while :; do
21065 cat >conftest.$ac_ext <<_ACEOF
21066 /* confdefs.h. */
21067 _ACEOF
21068 cat confdefs.h >>conftest.$ac_ext
21069 cat >>conftest.$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21071 $ac_includes_default
21072 int
21073 main ()
21074 {
21075 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21076 test_array [0] = 0
21077
21078 ;
21079 return 0;
21080 }
21081 _ACEOF
21082 rm -f conftest.$ac_objext
21083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21084 (eval $ac_compile) 2>conftest.er1
21085 ac_status=$?
21086 grep -v '^ *+' conftest.er1 >conftest.err
21087 rm -f conftest.er1
21088 cat conftest.err >&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try='test -s conftest.$ac_objext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 ac_lo=$ac_mid; break
21104 else
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21107
21108 ac_hi=`expr '(' $ac_mid ')' - 1`
21109 if test $ac_mid -le $ac_hi; then
21110 ac_lo= ac_hi=
21111 break
21112 fi
21113 ac_mid=`expr 2 '*' $ac_mid`
21114 fi
21115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21116 done
21117 else
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.$ac_ext >&5
21120
21121 ac_lo= ac_hi=
21122 fi
21123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21124 fi
21125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21126 # Binary search between lo and hi bounds.
21127 while test "x$ac_lo" != "x$ac_hi"; do
21128 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 int
21137 main ()
21138 {
21139 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21140 test_array [0] = 0
21141
21142 ;
21143 return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest.$ac_objext
21147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21148 (eval $ac_compile) 2>conftest.er1
21149 ac_status=$?
21150 grep -v '^ *+' conftest.er1 >conftest.err
21151 rm -f conftest.er1
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; } &&
21161 { ac_try='test -s conftest.$ac_objext'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21164 ac_status=$?
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_hi=$ac_mid
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ac_lo=`expr '(' $ac_mid ')' + 1`
21173 fi
21174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21175 done
21176 case $ac_lo in
21177 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21178 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21179 See \`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (long long), 77
21181 See \`config.log' for more details." >&2;}
21182 { (exit 1); exit 1; }; } ;;
21183 esac
21184 else
21185 if test "$cross_compiling" = yes; then
21186 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21187 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21188 { (exit 1); exit 1; }; }
21189 else
21190 cat >conftest.$ac_ext <<_ACEOF
21191 /* confdefs.h. */
21192 _ACEOF
21193 cat confdefs.h >>conftest.$ac_ext
21194 cat >>conftest.$ac_ext <<_ACEOF
21195 /* end confdefs.h. */
21196 $ac_includes_default
21197 long longval () { return (long) (sizeof (long long)); }
21198 unsigned long ulongval () { return (long) (sizeof (long long)); }
21199 #include <stdio.h>
21200 #include <stdlib.h>
21201 int
21202 main ()
21203 {
21204
21205 FILE *f = fopen ("conftest.val", "w");
21206 if (! f)
21207 exit (1);
21208 if (((long) (sizeof (long long))) < 0)
21209 {
21210 long i = longval ();
21211 if (i != ((long) (sizeof (long long))))
21212 exit (1);
21213 fprintf (f, "%ld\n", i);
21214 }
21215 else
21216 {
21217 unsigned long i = ulongval ();
21218 if (i != ((long) (sizeof (long long))))
21219 exit (1);
21220 fprintf (f, "%lu\n", i);
21221 }
21222 exit (ferror (f) || fclose (f) != 0);
21223
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest$ac_exeext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21230 (eval $ac_link) 2>&5
21231 ac_status=$?
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21239 ac_cv_sizeof_long_long=`cat conftest.val`
21240 else
21241 echo "$as_me: program exited with status $ac_status" >&5
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 ( exit $ac_status )
21246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21247 See \`config.log' for more details." >&5
21248 echo "$as_me: error: cannot compute sizeof (long long), 77
21249 See \`config.log' for more details." >&2;}
21250 { (exit 1); exit 1; }; }
21251 fi
21252 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21253 fi
21254 fi
21255 rm -f conftest.val
21256 else
21257 ac_cv_sizeof_long_long=0
21258 fi
21259 fi
21260 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21261 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21262 cat >>confdefs.h <<_ACEOF
21263 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21264 _ACEOF
21265
21266
21267 if test "$ac_cv_sizeof_long_long" != "0"; then
21268 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21269 fi
21270 ;;
21271 * )
21272 echo "$as_me:$LINENO: checking for long long" >&5
21273 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21274 if test "${ac_cv_type_long_long+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 else
21277 cat >conftest.$ac_ext <<_ACEOF
21278 /* confdefs.h. */
21279 _ACEOF
21280 cat confdefs.h >>conftest.$ac_ext
21281 cat >>conftest.$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21283 $ac_includes_default
21284 int
21285 main ()
21286 {
21287 if ((long long *) 0)
21288 return 0;
21289 if (sizeof (long long))
21290 return 0;
21291 ;
21292 return 0;
21293 }
21294 _ACEOF
21295 rm -f conftest.$ac_objext
21296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21297 (eval $ac_compile) 2>conftest.er1
21298 ac_status=$?
21299 grep -v '^ *+' conftest.er1 >conftest.err
21300 rm -f conftest.er1
21301 cat conftest.err >&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } &&
21304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21307 ac_status=$?
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; } &&
21310 { ac_try='test -s conftest.$ac_objext'
21311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21312 (eval $ac_try) 2>&5
21313 ac_status=$?
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); }; }; then
21316 ac_cv_type_long_long=yes
21317 else
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.$ac_ext >&5
21320
21321 ac_cv_type_long_long=no
21322 fi
21323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21324 fi
21325 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21326 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21327
21328 echo "$as_me:$LINENO: checking size of long long" >&5
21329 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21330 if test "${ac_cv_sizeof_long_long+set}" = set; then
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21332 else
21333 if test "$ac_cv_type_long_long" = yes; then
21334 # The cast to unsigned long works around a bug in the HP C Compiler
21335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21337 # This bug is HP SR number 8606223364.
21338 if test "$cross_compiling" = yes; then
21339 # Depending upon the size, compute the lo and hi bounds.
21340 cat >conftest.$ac_ext <<_ACEOF
21341 /* confdefs.h. */
21342 _ACEOF
21343 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 $ac_includes_default
21347 int
21348 main ()
21349 {
21350 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21351 test_array [0] = 0
21352
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 rm -f conftest.$ac_objext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21359 (eval $ac_compile) 2>conftest.er1
21360 ac_status=$?
21361 grep -v '^ *+' conftest.er1 >conftest.err
21362 rm -f conftest.er1
21363 cat conftest.err >&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try='test -s conftest.$ac_objext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21375 ac_status=$?
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_lo=0 ac_mid=0
21379 while :; do
21380 cat >conftest.$ac_ext <<_ACEOF
21381 /* confdefs.h. */
21382 _ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21387 int
21388 main ()
21389 {
21390 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21391 test_array [0] = 0
21392
21393 ;
21394 return 0;
21395 }
21396 _ACEOF
21397 rm -f conftest.$ac_objext
21398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21399 (eval $ac_compile) 2>conftest.er1
21400 ac_status=$?
21401 grep -v '^ *+' conftest.er1 >conftest.err
21402 rm -f conftest.er1
21403 cat conftest.err >&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); } &&
21406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; } &&
21412 { ac_try='test -s conftest.$ac_objext'
21413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414 (eval $ac_try) 2>&5
21415 ac_status=$?
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); }; }; then
21418 ac_hi=$ac_mid; break
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21422
21423 ac_lo=`expr $ac_mid + 1`
21424 if test $ac_lo -le $ac_mid; then
21425 ac_lo= ac_hi=
21426 break
21427 fi
21428 ac_mid=`expr 2 '*' $ac_mid + 1`
21429 fi
21430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21431 done
21432 else
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21435
21436 cat >conftest.$ac_ext <<_ACEOF
21437 /* confdefs.h. */
21438 _ACEOF
21439 cat confdefs.h >>conftest.$ac_ext
21440 cat >>conftest.$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21442 $ac_includes_default
21443 int
21444 main ()
21445 {
21446 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21447 test_array [0] = 0
21448
21449 ;
21450 return 0;
21451 }
21452 _ACEOF
21453 rm -f conftest.$ac_objext
21454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21455 (eval $ac_compile) 2>conftest.er1
21456 ac_status=$?
21457 grep -v '^ *+' conftest.er1 >conftest.err
21458 rm -f conftest.er1
21459 cat conftest.err >&5
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); } &&
21462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try='test -s conftest.$ac_objext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_hi=-1 ac_mid=-1
21475 while :; do
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 int
21484 main ()
21485 {
21486 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21487 test_array [0] = 0
21488
21489 ;
21490 return 0;
21491 }
21492 _ACEOF
21493 rm -f conftest.$ac_objext
21494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21495 (eval $ac_compile) 2>conftest.er1
21496 ac_status=$?
21497 grep -v '^ *+' conftest.er1 >conftest.err
21498 rm -f conftest.er1
21499 cat conftest.err >&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; } &&
21508 { ac_try='test -s conftest.$ac_objext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21511 ac_status=$?
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 ac_lo=$ac_mid; break
21515 else
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 ac_hi=`expr '(' $ac_mid ')' - 1`
21520 if test $ac_mid -le $ac_hi; then
21521 ac_lo= ac_hi=
21522 break
21523 fi
21524 ac_mid=`expr 2 '*' $ac_mid`
21525 fi
21526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21527 done
21528 else
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.$ac_ext >&5
21531
21532 ac_lo= ac_hi=
21533 fi
21534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21535 fi
21536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21537 # Binary search between lo and hi bounds.
21538 while test "x$ac_lo" != "x$ac_hi"; do
21539 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21540 cat >conftest.$ac_ext <<_ACEOF
21541 /* confdefs.h. */
21542 _ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 $ac_includes_default
21547 int
21548 main ()
21549 {
21550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21551 test_array [0] = 0
21552
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 rm -f conftest.$ac_objext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21559 (eval $ac_compile) 2>conftest.er1
21560 ac_status=$?
21561 grep -v '^ *+' conftest.er1 >conftest.err
21562 rm -f conftest.er1
21563 cat conftest.err >&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } &&
21566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; } &&
21572 { ac_try='test -s conftest.$ac_objext'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21575 ac_status=$?
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 ac_hi=$ac_mid
21579 else
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21582
21583 ac_lo=`expr '(' $ac_mid ')' + 1`
21584 fi
21585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21586 done
21587 case $ac_lo in
21588 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21590 See \`config.log' for more details." >&5
21591 echo "$as_me: error: cannot compute sizeof (long long), 77
21592 See \`config.log' for more details." >&2;}
21593 { (exit 1); exit 1; }; } ;;
21594 esac
21595 else
21596 if test "$cross_compiling" = yes; then
21597 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21598 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21599 { (exit 1); exit 1; }; }
21600 else
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 long longval () { return (long) (sizeof (long long)); }
21609 unsigned long ulongval () { return (long) (sizeof (long long)); }
21610 #include <stdio.h>
21611 #include <stdlib.h>
21612 int
21613 main ()
21614 {
21615
21616 FILE *f = fopen ("conftest.val", "w");
21617 if (! f)
21618 exit (1);
21619 if (((long) (sizeof (long long))) < 0)
21620 {
21621 long i = longval ();
21622 if (i != ((long) (sizeof (long long))))
21623 exit (1);
21624 fprintf (f, "%ld\n", i);
21625 }
21626 else
21627 {
21628 unsigned long i = ulongval ();
21629 if (i != ((long) (sizeof (long long))))
21630 exit (1);
21631 fprintf (f, "%lu\n", i);
21632 }
21633 exit (ferror (f) || fclose (f) != 0);
21634
21635 ;
21636 return 0;
21637 }
21638 _ACEOF
21639 rm -f conftest$ac_exeext
21640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21641 (eval $ac_link) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_cv_sizeof_long_long=`cat conftest.val`
21651 else
21652 echo "$as_me: program exited with status $ac_status" >&5
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 ( exit $ac_status )
21657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21658 See \`config.log' for more details." >&5
21659 echo "$as_me: error: cannot compute sizeof (long long), 77
21660 See \`config.log' for more details." >&2;}
21661 { (exit 1); exit 1; }; }
21662 fi
21663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21664 fi
21665 fi
21666 rm -f conftest.val
21667 else
21668 ac_cv_sizeof_long_long=0
21669 fi
21670 fi
21671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21672 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21673 cat >>confdefs.h <<_ACEOF
21674 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21675 _ACEOF
21676
21677
21678 esac
21679
21680 echo "$as_me:$LINENO: checking for wchar_t" >&5
21681 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21682 if test "${ac_cv_type_wchar_t+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21684 else
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h. */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691
21692 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21693 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21694 # error "fake wchar_t"
21695 #endif
21696 #ifdef HAVE_WCHAR_H
21697 # ifdef __CYGWIN__
21698 # include <stddef.h>
21699 # endif
21700 # include <wchar.h>
21701 #endif
21702 #ifdef HAVE_STDLIB_H
21703 # include <stdlib.h>
21704 #endif
21705 #include <stdio.h>
21706
21707
21708
21709 int
21710 main ()
21711 {
21712 if ((wchar_t *) 0)
21713 return 0;
21714 if (sizeof (wchar_t))
21715 return 0;
21716 ;
21717 return 0;
21718 }
21719 _ACEOF
21720 rm -f conftest.$ac_objext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21722 (eval $ac_compile) 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21731 (eval $ac_try) 2>&5
21732 ac_status=$?
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; } &&
21735 { ac_try='test -s conftest.$ac_objext'
21736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21737 (eval $ac_try) 2>&5
21738 ac_status=$?
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); }; }; then
21741 ac_cv_type_wchar_t=yes
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_cv_type_wchar_t=no
21747 fi
21748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21749 fi
21750 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21751 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21752
21753 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21754 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21755 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 if test "$ac_cv_type_wchar_t" = yes; then
21759 # The cast to unsigned long works around a bug in the HP C Compiler
21760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21762 # This bug is HP SR number 8606223364.
21763 if test "$cross_compiling" = yes; then
21764 # Depending upon the size, compute the lo and hi bounds.
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771
21772 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21773 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21774 # error "fake wchar_t"
21775 #endif
21776 #ifdef HAVE_WCHAR_H
21777 # ifdef __CYGWIN__
21778 # include <stddef.h>
21779 # endif
21780 # include <wchar.h>
21781 #endif
21782 #ifdef HAVE_STDLIB_H
21783 # include <stdlib.h>
21784 #endif
21785 #include <stdio.h>
21786
21787
21788
21789 int
21790 main ()
21791 {
21792 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21793 test_array [0] = 0
21794
21795 ;
21796 return 0;
21797 }
21798 _ACEOF
21799 rm -f conftest.$ac_objext
21800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21801 (eval $ac_compile) 2>conftest.er1
21802 ac_status=$?
21803 grep -v '^ *+' conftest.er1 >conftest.err
21804 rm -f conftest.er1
21805 cat conftest.err >&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } &&
21808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21811 ac_status=$?
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; } &&
21814 { ac_try='test -s conftest.$ac_objext'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21817 ac_status=$?
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; }; then
21820 ac_lo=0 ac_mid=0
21821 while :; do
21822 cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h. */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21828
21829 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21830 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21831 # error "fake wchar_t"
21832 #endif
21833 #ifdef HAVE_WCHAR_H
21834 # ifdef __CYGWIN__
21835 # include <stddef.h>
21836 # endif
21837 # include <wchar.h>
21838 #endif
21839 #ifdef HAVE_STDLIB_H
21840 # include <stdlib.h>
21841 #endif
21842 #include <stdio.h>
21843
21844
21845
21846 int
21847 main ()
21848 {
21849 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21850 test_array [0] = 0
21851
21852 ;
21853 return 0;
21854 }
21855 _ACEOF
21856 rm -f conftest.$ac_objext
21857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21858 (eval $ac_compile) 2>conftest.er1
21859 ac_status=$?
21860 grep -v '^ *+' conftest.er1 >conftest.err
21861 rm -f conftest.er1
21862 cat conftest.err >&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } &&
21865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; } &&
21871 { ac_try='test -s conftest.$ac_objext'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; }; then
21877 ac_hi=$ac_mid; break
21878 else
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 ac_lo=`expr $ac_mid + 1`
21883 if test $ac_lo -le $ac_mid; then
21884 ac_lo= ac_hi=
21885 break
21886 fi
21887 ac_mid=`expr 2 '*' $ac_mid + 1`
21888 fi
21889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21890 done
21891 else
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21894
21895 cat >conftest.$ac_ext <<_ACEOF
21896 /* confdefs.h. */
21897 _ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901
21902 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21903 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21904 # error "fake wchar_t"
21905 #endif
21906 #ifdef HAVE_WCHAR_H
21907 # ifdef __CYGWIN__
21908 # include <stddef.h>
21909 # endif
21910 # include <wchar.h>
21911 #endif
21912 #ifdef HAVE_STDLIB_H
21913 # include <stdlib.h>
21914 #endif
21915 #include <stdio.h>
21916
21917
21918
21919 int
21920 main ()
21921 {
21922 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21923 test_array [0] = 0
21924
21925 ;
21926 return 0;
21927 }
21928 _ACEOF
21929 rm -f conftest.$ac_objext
21930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21931 (eval $ac_compile) 2>conftest.er1
21932 ac_status=$?
21933 grep -v '^ *+' conftest.er1 >conftest.err
21934 rm -f conftest.er1
21935 cat conftest.err >&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } &&
21938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 ac_hi=-1 ac_mid=-1
21951 while :; do
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958
21959 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21960 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21961 # error "fake wchar_t"
21962 #endif
21963 #ifdef HAVE_WCHAR_H
21964 # ifdef __CYGWIN__
21965 # include <stddef.h>
21966 # endif
21967 # include <wchar.h>
21968 #endif
21969 #ifdef HAVE_STDLIB_H
21970 # include <stdlib.h>
21971 #endif
21972 #include <stdio.h>
21973
21974
21975
21976 int
21977 main ()
21978 {
21979 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21980 test_array [0] = 0
21981
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 rm -f conftest.$ac_objext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21988 (eval $ac_compile) 2>conftest.er1
21989 ac_status=$?
21990 grep -v '^ *+' conftest.er1 >conftest.err
21991 rm -f conftest.er1
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } &&
21995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21998 ac_status=$?
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; } &&
22001 { ac_try='test -s conftest.$ac_objext'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; }; then
22007 ac_lo=$ac_mid; break
22008 else
22009 echo "$as_me: failed program was:" >&5
22010 sed 's/^/| /' conftest.$ac_ext >&5
22011
22012 ac_hi=`expr '(' $ac_mid ')' - 1`
22013 if test $ac_mid -le $ac_hi; then
22014 ac_lo= ac_hi=
22015 break
22016 fi
22017 ac_mid=`expr 2 '*' $ac_mid`
22018 fi
22019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22020 done
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_lo= ac_hi=
22026 fi
22027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22028 fi
22029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22030 # Binary search between lo and hi bounds.
22031 while test "x$ac_lo" != "x$ac_hi"; do
22032 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22033 cat >conftest.$ac_ext <<_ACEOF
22034 /* confdefs.h. */
22035 _ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039
22040 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22041 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22042 # error "fake wchar_t"
22043 #endif
22044 #ifdef HAVE_WCHAR_H
22045 # ifdef __CYGWIN__
22046 # include <stddef.h>
22047 # endif
22048 # include <wchar.h>
22049 #endif
22050 #ifdef HAVE_STDLIB_H
22051 # include <stdlib.h>
22052 #endif
22053 #include <stdio.h>
22054
22055
22056
22057 int
22058 main ()
22059 {
22060 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22061 test_array [0] = 0
22062
22063 ;
22064 return 0;
22065 }
22066 _ACEOF
22067 rm -f conftest.$ac_objext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22069 (eval $ac_compile) 2>conftest.er1
22070 ac_status=$?
22071 grep -v '^ *+' conftest.er1 >conftest.err
22072 rm -f conftest.er1
22073 cat conftest.err >&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; } &&
22082 { ac_try='test -s conftest.$ac_objext'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22085 ac_status=$?
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 ac_hi=$ac_mid
22089 else
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22092
22093 ac_lo=`expr '(' $ac_mid ')' + 1`
22094 fi
22095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22096 done
22097 case $ac_lo in
22098 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22100 See \`config.log' for more details." >&5
22101 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22102 See \`config.log' for more details." >&2;}
22103 { (exit 1); exit 1; }; } ;;
22104 esac
22105 else
22106 if test "$cross_compiling" = yes; then
22107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22109 { (exit 1); exit 1; }; }
22110 else
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117
22118 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22119 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22120 # error "fake wchar_t"
22121 #endif
22122 #ifdef HAVE_WCHAR_H
22123 # ifdef __CYGWIN__
22124 # include <stddef.h>
22125 # endif
22126 # include <wchar.h>
22127 #endif
22128 #ifdef HAVE_STDLIB_H
22129 # include <stdlib.h>
22130 #endif
22131 #include <stdio.h>
22132
22133
22134
22135 long longval () { return (long) (sizeof (wchar_t)); }
22136 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22137 #include <stdio.h>
22138 #include <stdlib.h>
22139 int
22140 main ()
22141 {
22142
22143 FILE *f = fopen ("conftest.val", "w");
22144 if (! f)
22145 exit (1);
22146 if (((long) (sizeof (wchar_t))) < 0)
22147 {
22148 long i = longval ();
22149 if (i != ((long) (sizeof (wchar_t))))
22150 exit (1);
22151 fprintf (f, "%ld\n", i);
22152 }
22153 else
22154 {
22155 unsigned long i = ulongval ();
22156 if (i != ((long) (sizeof (wchar_t))))
22157 exit (1);
22158 fprintf (f, "%lu\n", i);
22159 }
22160 exit (ferror (f) || fclose (f) != 0);
22161
22162 ;
22163 return 0;
22164 }
22165 _ACEOF
22166 rm -f conftest$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 ac_cv_sizeof_wchar_t=`cat conftest.val`
22178 else
22179 echo "$as_me: program exited with status $ac_status" >&5
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ( exit $ac_status )
22184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22185 See \`config.log' for more details." >&5
22186 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22187 See \`config.log' for more details." >&2;}
22188 { (exit 1); exit 1; }; }
22189 fi
22190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22191 fi
22192 fi
22193 rm -f conftest.val
22194 else
22195 ac_cv_sizeof_wchar_t=0
22196 fi
22197 fi
22198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22199 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22200 cat >>confdefs.h <<_ACEOF
22201 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22202 _ACEOF
22203
22204
22205 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22206 wxUSE_WCHAR_T=yes
22207 else
22208 wxUSE_WCHAR_T=no
22209 fi
22210
22211 echo "$as_me:$LINENO: checking for va_copy" >&5
22212 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22213 if test "${wx_cv_func_va_copy+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 else
22216
22217 cat >conftest.$ac_ext <<_ACEOF
22218
22219 #include <stdarg.h>
22220 void foo(char *f, ...)
22221 {
22222 va_list ap1, ap2;
22223 va_start(ap1, f);
22224 va_copy(ap2, ap1);
22225 va_end(ap2);
22226 va_end(ap1);
22227 }
22228 int main()
22229 {
22230 foo("hi", 17);
22231 return 0;
22232 }
22233 _ACEOF
22234 rm -f conftest.$ac_objext conftest$ac_exeext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22236 (eval $ac_link) 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try='test -s conftest$ac_exeext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22252 ac_status=$?
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 wx_cv_func_va_copy=yes
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 wx_cv_func_va_copy=no
22261
22262 fi
22263 rm -f conftest.err conftest.$ac_objext \
22264 conftest$ac_exeext conftest.$ac_ext
22265
22266
22267 fi
22268 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22269 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22270
22271 if test $wx_cv_func_va_copy = "yes"; then
22272 cat >>confdefs.h <<\_ACEOF
22273 #define HAVE_VA_COPY 1
22274 _ACEOF
22275
22276 else
22277 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22278 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22279 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22282
22283 if test "$cross_compiling" = yes; then
22284 wx_cv_type_va_list_lvalue=yes
22285
22286 else
22287 cat >conftest.$ac_ext <<_ACEOF
22288
22289 #include <stdarg.h>
22290 int foo(char *f, ...)
22291 {
22292 va_list ap1, ap2;
22293 va_start(ap1, f);
22294 ap2 = ap1;
22295 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22296 return 1;
22297 va_end(ap2);
22298 va_end(ap1);
22299 return 0;
22300 }
22301 int main()
22302 {
22303 return foo("hi", 17);
22304 }
22305 _ACEOF
22306 rm -f conftest$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308 (eval $ac_link) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22314 ac_status=$?
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 wx_cv_type_va_list_lvalue=yes
22318 else
22319 echo "$as_me: program exited with status $ac_status" >&5
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 ( exit $ac_status )
22324 wx_cv_type_va_list_lvalue=no
22325 fi
22326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22327 fi
22328
22329
22330 fi
22331 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22332 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22333
22334 if test $wx_cv_type_va_list_lvalue != "yes"; then
22335 cat >>confdefs.h <<\_ACEOF
22336 #define VA_LIST_IS_ARRAY 1
22337 _ACEOF
22338
22339 fi
22340 fi
22341
22342 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22343 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22344 if test "${wx_cv_have_variadic_macros+set}" = set; then
22345 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 else
22347
22348 cat >conftest.$ac_ext <<_ACEOF
22349 /* confdefs.h. */
22350 _ACEOF
22351 cat confdefs.h >>conftest.$ac_ext
22352 cat >>conftest.$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22354
22355 #include <stdio.h>
22356 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22357
22358 int
22359 main ()
22360 {
22361
22362 test("%s %d %p", "test", 1, 0);
22363
22364
22365 ;
22366 return 0;
22367 }
22368 _ACEOF
22369 rm -f conftest.$ac_objext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22371 (eval $ac_compile) 2>conftest.er1
22372 ac_status=$?
22373 grep -v '^ *+' conftest.er1 >conftest.err
22374 rm -f conftest.er1
22375 cat conftest.err >&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } &&
22378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try='test -s conftest.$ac_objext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 wx_cv_have_variadic_macros=yes
22391 else
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22394
22395 wx_cv_have_variadic_macros=no
22396
22397 fi
22398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22399
22400
22401 fi
22402 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22403 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22404
22405 if test $wx_cv_have_variadic_macros = "yes"; then
22406 cat >>confdefs.h <<\_ACEOF
22407 #define HAVE_VARIADIC_MACROS 1
22408 _ACEOF
22409
22410 fi
22411
22412 # Check whether --enable-largefile or --disable-largefile was given.
22413 if test "${enable_largefile+set}" = set; then
22414 enableval="$enable_largefile"
22415
22416 fi;
22417 if test "$enable_largefile" != no; then
22418 wx_largefile=no
22419
22420 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22421 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22422 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 #define _FILE_OFFSET_BITS 64
22433 #include <sys/types.h>
22434 int
22435 main ()
22436 {
22437 typedef struct {
22438 unsigned int field: sizeof(off_t) == 8;
22439 } wxlf;
22440
22441 ;
22442 return 0;
22443 }
22444 _ACEOF
22445 rm -f conftest.$ac_objext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22447 (eval $ac_compile) 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; } &&
22460 { ac_try='test -s conftest.$ac_objext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_sys_file_offset_bits=64
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ac_cv_sys_file_offset_bits=no
22472 fi
22473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22474
22475
22476 fi
22477 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22478 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22479
22480 if test "$ac_cv_sys_file_offset_bits" != no; then
22481 wx_largefile=yes
22482 cat >>confdefs.h <<_ACEOF
22483 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22484 _ACEOF
22485
22486 fi
22487
22488 if test "x$wx_largefile" != "xyes"; then
22489
22490 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22491 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22492 if test "${ac_cv_sys_large_files+set}" = set; then
22493 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 else
22495
22496 cat >conftest.$ac_ext <<_ACEOF
22497 /* confdefs.h. */
22498 _ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502 #define _LARGE_FILES 1
22503 #include <sys/types.h>
22504 int
22505 main ()
22506 {
22507 typedef struct {
22508 unsigned int field: sizeof(off_t) == 8;
22509 } wxlf;
22510
22511 ;
22512 return 0;
22513 }
22514 _ACEOF
22515 rm -f conftest.$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try='test -s conftest.$ac_objext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 ac_cv_sys_large_files=1
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22540
22541 ac_cv_sys_large_files=no
22542 fi
22543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22544
22545
22546 fi
22547 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22548 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22549
22550 if test "$ac_cv_sys_large_files" != no; then
22551 wx_largefile=yes
22552 cat >>confdefs.h <<_ACEOF
22553 #define _LARGE_FILES $ac_cv_sys_large_files
22554 _ACEOF
22555
22556 fi
22557
22558 fi
22559
22560 echo "$as_me:$LINENO: checking if large file support is available" >&5
22561 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22562 if test "x$wx_largefile" = "xyes"; then
22563 cat >>confdefs.h <<\_ACEOF
22564 #define HAVE_LARGEFILE_SUPPORT 1
22565 _ACEOF
22566
22567 fi
22568 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22569 echo "${ECHO_T}$wx_largefile" >&6
22570 fi
22571
22572
22573 if test "x$wx_largefile" = "xyes"; then
22574 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22575 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22576
22577 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22578 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22579 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22580 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22581 echo $ECHO_N "(cached) $ECHO_C" >&6
22582 else
22583
22584 cat >conftest.$ac_ext <<_ACEOF
22585 /* confdefs.h. */
22586 _ACEOF
22587 cat confdefs.h >>conftest.$ac_ext
22588 cat >>conftest.$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590
22591 int
22592 main ()
22593 {
22594
22595 #ifndef __STDC_EXT__
22596 choke me
22597 #endif
22598
22599 ;
22600 return 0;
22601 }
22602 _ACEOF
22603 rm -f conftest.$ac_objext
22604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22605 (eval $ac_compile) 2>conftest.er1
22606 ac_status=$?
22607 grep -v '^ *+' conftest.er1 >conftest.err
22608 rm -f conftest.er1
22609 cat conftest.err >&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); } &&
22612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; } &&
22618 { ac_try='test -s conftest.$ac_objext'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22621 ac_status=$?
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; }; then
22624 wx_cv_STDC_EXT_required=no
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22628
22629 wx_cv_STDC_EXT_required=yes
22630
22631 fi
22632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22633
22634
22635 fi
22636 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22637 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22638 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22639 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22640 fi
22641 fi
22642 else
22643 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22644 fi
22645 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22646 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22647 if test "${ac_cv_sys_largefile_source+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650 while :; do
22651 ac_cv_sys_largefile_source=no
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h. */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 #include <stdio.h>
22659 int
22660 main ()
22661 {
22662 return !fseeko;
22663 ;
22664 return 0;
22665 }
22666 _ACEOF
22667 rm -f conftest.$ac_objext
22668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22669 (eval $ac_compile) 2>conftest.er1
22670 ac_status=$?
22671 grep -v '^ *+' conftest.er1 >conftest.err
22672 rm -f conftest.er1
22673 cat conftest.err >&5
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); } &&
22676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22678 (eval $ac_try) 2>&5
22679 ac_status=$?
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); }; } &&
22682 { ac_try='test -s conftest.$ac_objext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22685 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 break
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 fi
22694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22695 cat >conftest.$ac_ext <<_ACEOF
22696 /* confdefs.h. */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701 #define _LARGEFILE_SOURCE 1
22702 #include <stdio.h>
22703 int
22704 main ()
22705 {
22706 return !fseeko;
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22713 (eval $ac_compile) 2>conftest.er1
22714 ac_status=$?
22715 grep -v '^ *+' conftest.er1 >conftest.err
22716 rm -f conftest.er1
22717 cat conftest.err >&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_sys_largefile_source=1; break
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 fi
22738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22739 break
22740 done
22741 fi
22742 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22743 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22744 if test "$ac_cv_sys_largefile_source" != no; then
22745
22746 cat >>confdefs.h <<_ACEOF
22747 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22748 _ACEOF
22749
22750 fi
22751 rm -f conftest*
22752
22753 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22754 # in glibc 2.1.3, but that breaks too many other things.
22755 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22756 echo "$as_me:$LINENO: checking for fseeko" >&5
22757 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22758 if test "${ac_cv_func_fseeko+set}" = set; then
22759 echo $ECHO_N "(cached) $ECHO_C" >&6
22760 else
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 #include <stdio.h>
22768 int
22769 main ()
22770 {
22771 return fseeko && fseeko (stdin, 0, 0);
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext conftest$ac_exeext
22777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22778 (eval $ac_link) 2>conftest.er1
22779 ac_status=$?
22780 grep -v '^ *+' conftest.er1 >conftest.err
22781 rm -f conftest.er1
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } &&
22785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22787 (eval $ac_try) 2>&5
22788 ac_status=$?
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); }; } &&
22791 { ac_try='test -s conftest$ac_exeext'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22797 ac_cv_func_fseeko=yes
22798 else
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22801
22802 ac_cv_func_fseeko=no
22803 fi
22804 rm -f conftest.err conftest.$ac_objext \
22805 conftest$ac_exeext conftest.$ac_ext
22806 fi
22807 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22808 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22809 if test $ac_cv_func_fseeko = yes; then
22810
22811 cat >>confdefs.h <<\_ACEOF
22812 #define HAVE_FSEEKO 1
22813 _ACEOF
22814
22815 fi
22816
22817 if test "$ac_cv_sys_largefile_source" != no; then
22818 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22819 fi
22820 fi
22821
22822 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22823 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22824 if test "${ac_cv_c_bigendian+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 else
22827 ac_cv_c_bigendian=unknown
22828 # See if sys/param.h defines the BYTE_ORDER macro.
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 #include <sys/types.h>
22836 #include <sys/param.h>
22837 int
22838 main ()
22839 {
22840
22841 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22842 bogus endian macros
22843 #endif
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22850 (eval $ac_compile) 2>conftest.er1
22851 ac_status=$?
22852 grep -v '^ *+' conftest.er1 >conftest.err
22853 rm -f conftest.er1
22854 cat conftest.err >&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } &&
22857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; } &&
22863 { ac_try='test -s conftest.$ac_objext'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 # It does; now see whether it defined to BIG_ENDIAN or not.
22870 cat >conftest.$ac_ext <<_ACEOF
22871 /* confdefs.h. */
22872 _ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #include <sys/types.h>
22877 #include <sys/param.h>
22878 int
22879 main ()
22880 {
22881
22882 #if BYTE_ORDER != BIG_ENDIAN
22883 not big endian
22884 #endif
22885 ;
22886 return 0;
22887 }
22888 _ACEOF
22889 rm -f conftest.$ac_objext
22890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22891 (eval $ac_compile) 2>conftest.er1
22892 ac_status=$?
22893 grep -v '^ *+' conftest.er1 >conftest.err
22894 rm -f conftest.er1
22895 cat conftest.err >&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } &&
22898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22901 ac_status=$?
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; } &&
22904 { ac_try='test -s conftest.$ac_objext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22907 ac_status=$?
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_cv_c_bigendian=yes
22911 else
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 ac_cv_c_bigendian=no
22916 fi
22917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22918 else
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22921
22922 fi
22923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22924 if test $ac_cv_c_bigendian = unknown; then
22925 if test "$cross_compiling" = yes; then
22926 ac_cv_c_bigendian=unknown
22927 else
22928 cat >conftest.$ac_ext <<_ACEOF
22929 /* confdefs.h. */
22930 _ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 main () {
22935 /* Are we little or big endian? From Harbison&Steele. */
22936 union
22937 {
22938 long l;
22939 char c[sizeof (long)];
22940 } u;
22941 u.l = 1;
22942 exit (u.c[sizeof (long) - 1] == 1);
22943 }
22944 _ACEOF
22945 rm -f conftest$ac_exeext
22946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22947 (eval $ac_link) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22953 ac_status=$?
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; }; then
22956 ac_cv_c_bigendian=no
22957 else
22958 echo "$as_me: program exited with status $ac_status" >&5
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22961
22962 ( exit $ac_status )
22963 ac_cv_c_bigendian=yes
22964 fi
22965 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22966 fi
22967 fi
22968 fi
22969 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22970 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22971 if test $ac_cv_c_bigendian = unknown; then
22972 { 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
22973 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;}
22974 fi
22975 if test $ac_cv_c_bigendian = yes; then
22976 cat >>confdefs.h <<\_ACEOF
22977 #define WORDS_BIGENDIAN 1
22978 _ACEOF
22979
22980 fi
22981
22982
22983 ac_ext=cc
22984 ac_cpp='$CXXCPP $CPPFLAGS'
22985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22988 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22989 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22990 if test -z "$CXXCPP"; then
22991 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 else
22994 # Double quotes because CXXCPP needs to be expanded
22995 for CXXCPP in "$CXX -E" "/lib/cpp"
22996 do
22997 ac_preproc_ok=false
22998 for ac_cxx_preproc_warn_flag in '' yes
22999 do
23000 # Use a header file that comes with gcc, so configuring glibc
23001 # with a fresh cross-compiler works.
23002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23003 # <limits.h> exists even on freestanding compilers.
23004 # On the NeXT, cc -E runs the code through the compiler's parser,
23005 # not just through cpp. "Syntax error" is here to catch this case.
23006 cat >conftest.$ac_ext <<_ACEOF
23007 /* confdefs.h. */
23008 _ACEOF
23009 cat confdefs.h >>conftest.$ac_ext
23010 cat >>conftest.$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 #ifdef __STDC__
23013 # include <limits.h>
23014 #else
23015 # include <assert.h>
23016 #endif
23017 Syntax error
23018 _ACEOF
23019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23021 ac_status=$?
23022 grep -v '^ *+' conftest.er1 >conftest.err
23023 rm -f conftest.er1
23024 cat conftest.err >&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } >/dev/null; then
23027 if test -s conftest.err; then
23028 ac_cpp_err=$ac_cxx_preproc_warn_flag
23029 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23030 else
23031 ac_cpp_err=
23032 fi
23033 else
23034 ac_cpp_err=yes
23035 fi
23036 if test -z "$ac_cpp_err"; then
23037 :
23038 else
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.$ac_ext >&5
23041
23042 # Broken: fails on valid input.
23043 continue
23044 fi
23045 rm -f conftest.err conftest.$ac_ext
23046
23047 # OK, works on sane cases. Now check whether non-existent headers
23048 # can be detected and how.
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 #include <ac_nonexistent.h>
23056 _ACEOF
23057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23059 ac_status=$?
23060 grep -v '^ *+' conftest.er1 >conftest.err
23061 rm -f conftest.er1
23062 cat conftest.err >&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } >/dev/null; then
23065 if test -s conftest.err; then
23066 ac_cpp_err=$ac_cxx_preproc_warn_flag
23067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23068 else
23069 ac_cpp_err=
23070 fi
23071 else
23072 ac_cpp_err=yes
23073 fi
23074 if test -z "$ac_cpp_err"; then
23075 # Broken: success on invalid input.
23076 continue
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 # Passes both tests.
23082 ac_preproc_ok=:
23083 break
23084 fi
23085 rm -f conftest.err conftest.$ac_ext
23086
23087 done
23088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23089 rm -f conftest.err conftest.$ac_ext
23090 if $ac_preproc_ok; then
23091 break
23092 fi
23093
23094 done
23095 ac_cv_prog_CXXCPP=$CXXCPP
23096
23097 fi
23098 CXXCPP=$ac_cv_prog_CXXCPP
23099 else
23100 ac_cv_prog_CXXCPP=$CXXCPP
23101 fi
23102 echo "$as_me:$LINENO: result: $CXXCPP" >&5
23103 echo "${ECHO_T}$CXXCPP" >&6
23104 ac_preproc_ok=false
23105 for ac_cxx_preproc_warn_flag in '' yes
23106 do
23107 # Use a header file that comes with gcc, so configuring glibc
23108 # with a fresh cross-compiler works.
23109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23110 # <limits.h> exists even on freestanding compilers.
23111 # On the NeXT, cc -E runs the code through the compiler's parser,
23112 # not just through cpp. "Syntax error" is here to catch this case.
23113 cat >conftest.$ac_ext <<_ACEOF
23114 /* confdefs.h. */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119 #ifdef __STDC__
23120 # include <limits.h>
23121 #else
23122 # include <assert.h>
23123 #endif
23124 Syntax error
23125 _ACEOF
23126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23128 ac_status=$?
23129 grep -v '^ *+' conftest.er1 >conftest.err
23130 rm -f conftest.er1
23131 cat conftest.err >&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); } >/dev/null; then
23134 if test -s conftest.err; then
23135 ac_cpp_err=$ac_cxx_preproc_warn_flag
23136 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23137 else
23138 ac_cpp_err=
23139 fi
23140 else
23141 ac_cpp_err=yes
23142 fi
23143 if test -z "$ac_cpp_err"; then
23144 :
23145 else
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.$ac_ext >&5
23148
23149 # Broken: fails on valid input.
23150 continue
23151 fi
23152 rm -f conftest.err conftest.$ac_ext
23153
23154 # OK, works on sane cases. Now check whether non-existent headers
23155 # can be detected and how.
23156 cat >conftest.$ac_ext <<_ACEOF
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162 #include <ac_nonexistent.h>
23163 _ACEOF
23164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23166 ac_status=$?
23167 grep -v '^ *+' conftest.er1 >conftest.err
23168 rm -f conftest.er1
23169 cat conftest.err >&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } >/dev/null; then
23172 if test -s conftest.err; then
23173 ac_cpp_err=$ac_cxx_preproc_warn_flag
23174 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23175 else
23176 ac_cpp_err=
23177 fi
23178 else
23179 ac_cpp_err=yes
23180 fi
23181 if test -z "$ac_cpp_err"; then
23182 # Broken: success on invalid input.
23183 continue
23184 else
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23187
23188 # Passes both tests.
23189 ac_preproc_ok=:
23190 break
23191 fi
23192 rm -f conftest.err conftest.$ac_ext
23193
23194 done
23195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23196 rm -f conftest.err conftest.$ac_ext
23197 if $ac_preproc_ok; then
23198 :
23199 else
23200 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23201 See \`config.log' for more details." >&5
23202 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23203 See \`config.log' for more details." >&2;}
23204 { (exit 1); exit 1; }; }
23205 fi
23206
23207 ac_ext=cc
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212
23213
23214
23215
23216
23217 ac_ext=cc
23218 ac_cpp='$CXXCPP $CPPFLAGS'
23219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222
23223
23224
23225 for ac_header in iostream
23226 do
23227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23229 echo "$as_me:$LINENO: checking for $ac_header" >&5
23230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 fi
23234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23236 else
23237 # Is the header compilable?
23238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23240 cat >conftest.$ac_ext <<_ACEOF
23241 /* confdefs.h. */
23242 _ACEOF
23243 cat confdefs.h >>conftest.$ac_ext
23244 cat >>conftest.$ac_ext <<_ACEOF
23245 /* end confdefs.h. */
23246 $ac_includes_default
23247 #include <$ac_header>
23248 _ACEOF
23249 rm -f conftest.$ac_objext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23251 (eval $ac_compile) 2>conftest.er1
23252 ac_status=$?
23253 grep -v '^ *+' conftest.er1 >conftest.err
23254 rm -f conftest.er1
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } &&
23258 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23260 (eval $ac_try) 2>&5
23261 ac_status=$?
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); }; } &&
23264 { ac_try='test -s conftest.$ac_objext'
23265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23266 (eval $ac_try) 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 ac_header_compiler=yes
23271 else
23272 echo "$as_me: failed program was:" >&5
23273 sed 's/^/| /' conftest.$ac_ext >&5
23274
23275 ac_header_compiler=no
23276 fi
23277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23279 echo "${ECHO_T}$ac_header_compiler" >&6
23280
23281 # Is the header present?
23282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 #include <$ac_header>
23291 _ACEOF
23292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23294 ac_status=$?
23295 grep -v '^ *+' conftest.er1 >conftest.err
23296 rm -f conftest.er1
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } >/dev/null; then
23300 if test -s conftest.err; then
23301 ac_cpp_err=$ac_cxx_preproc_warn_flag
23302 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23303 else
23304 ac_cpp_err=
23305 fi
23306 else
23307 ac_cpp_err=yes
23308 fi
23309 if test -z "$ac_cpp_err"; then
23310 ac_header_preproc=yes
23311 else
23312 echo "$as_me: failed program was:" >&5
23313 sed 's/^/| /' conftest.$ac_ext >&5
23314
23315 ac_header_preproc=no
23316 fi
23317 rm -f conftest.err conftest.$ac_ext
23318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23319 echo "${ECHO_T}$ac_header_preproc" >&6
23320
23321 # So? What about this header?
23322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23323 yes:no: )
23324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23328 ac_header_preproc=yes
23329 ;;
23330 no:yes:* )
23331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23343 (
23344 cat <<\_ASBOX
23345 ## ----------------------------------------- ##
23346 ## Report this to wx-dev@lists.wxwidgets.org ##
23347 ## ----------------------------------------- ##
23348 _ASBOX
23349 ) |
23350 sed "s/^/$as_me: WARNING: /" >&2
23351 ;;
23352 esac
23353 echo "$as_me:$LINENO: checking for $ac_header" >&5
23354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 else
23358 eval "$as_ac_Header=\$ac_header_preproc"
23359 fi
23360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23362
23363 fi
23364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23365 cat >>confdefs.h <<_ACEOF
23366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23367 _ACEOF
23368
23369 fi
23370
23371 done
23372
23373
23374 if test "$ac_cv_header_iostream" = "yes" ; then
23375 :
23376 else
23377 cat >>confdefs.h <<\_ACEOF
23378 #define wxUSE_IOSTREAMH 1
23379 _ACEOF
23380
23381 fi
23382
23383 ac_ext=c
23384 ac_cpp='$CPP $CPPFLAGS'
23385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23388
23389
23390
23391
23392 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23393 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23394 if test "${wx_cv_cpp_bool+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397
23398
23399
23400 ac_ext=cc
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405
23406
23407 cat >conftest.$ac_ext <<_ACEOF
23408 /* confdefs.h. */
23409 _ACEOF
23410 cat confdefs.h >>conftest.$ac_ext
23411 cat >>conftest.$ac_ext <<_ACEOF
23412 /* end confdefs.h. */
23413
23414
23415 int
23416 main ()
23417 {
23418
23419 bool b = true;
23420
23421 return 0;
23422
23423 ;
23424 return 0;
23425 }
23426 _ACEOF
23427 rm -f conftest.$ac_objext
23428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23429 (eval $ac_compile) 2>conftest.er1
23430 ac_status=$?
23431 grep -v '^ *+' conftest.er1 >conftest.err
23432 rm -f conftest.er1
23433 cat conftest.err >&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } &&
23436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; } &&
23442 { ac_try='test -s conftest.$ac_objext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448
23449 wx_cv_cpp_bool=yes
23450
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455
23456 wx_cv_cpp_bool=no
23457
23458
23459 fi
23460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23461
23462 ac_ext=c
23463 ac_cpp='$CPP $CPPFLAGS'
23464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23467
23468
23469 fi
23470 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23471 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23472
23473 if test "$wx_cv_cpp_bool" = "yes"; then
23474 cat >>confdefs.h <<\_ACEOF
23475 #define HAVE_BOOL 1
23476 _ACEOF
23477
23478 fi
23479
23480
23481
23482 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23483 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23484 if test "${wx_cv_explicit+set}" = set; then
23485 echo $ECHO_N "(cached) $ECHO_C" >&6
23486 else
23487
23488
23489
23490 ac_ext=cc
23491 ac_cpp='$CXXCPP $CPPFLAGS'
23492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23495
23496
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503
23504 class Foo { public: explicit Foo(int) {} };
23505
23506 int
23507 main ()
23508 {
23509
23510 return 0;
23511
23512 ;
23513 return 0;
23514 }
23515 _ACEOF
23516 rm -f conftest.$ac_objext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23518 (eval $ac_compile) 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try='test -s conftest.$ac_objext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537
23538 cat >conftest.$ac_ext <<_ACEOF
23539 /* confdefs.h. */
23540 _ACEOF
23541 cat confdefs.h >>conftest.$ac_ext
23542 cat >>conftest.$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23544
23545 class Foo { public: explicit Foo(int) {} };
23546 static void TakeFoo(const Foo& foo) { }
23547
23548 int
23549 main ()
23550 {
23551
23552 TakeFoo(17);
23553 return 0;
23554
23555 ;
23556 return 0;
23557 }
23558 _ACEOF
23559 rm -f conftest.$ac_objext
23560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23561 (eval $ac_compile) 2>conftest.er1
23562 ac_status=$?
23563 grep -v '^ *+' conftest.er1 >conftest.err
23564 rm -f conftest.er1
23565 cat conftest.err >&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); } &&
23568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 wx_cv_explicit=no
23581 else
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23584
23585 wx_cv_explicit=yes
23586
23587 fi
23588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23589
23590 else
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23593
23594 wx_cv_explicit=no
23595
23596 fi
23597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23598
23599 ac_ext=c
23600 ac_cpp='$CPP $CPPFLAGS'
23601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23604
23605
23606 fi
23607 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23608 echo "${ECHO_T}$wx_cv_explicit" >&6
23609
23610 if test "$wx_cv_explicit" = "yes"; then
23611 cat >>confdefs.h <<\_ACEOF
23612 #define HAVE_EXPLICIT 1
23613 _ACEOF
23614
23615 fi
23616
23617
23618 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23619 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23620 if test "${ac_cv_cxx_const_cast+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23622 else
23623
23624
23625 ac_ext=cc
23626 ac_cpp='$CXXCPP $CPPFLAGS'
23627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23630
23631 cat >conftest.$ac_ext <<_ACEOF
23632 /* confdefs.h. */
23633 _ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637
23638 int
23639 main ()
23640 {
23641 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23642 ;
23643 return 0;
23644 }
23645 _ACEOF
23646 rm -f conftest.$ac_objext
23647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23648 (eval $ac_compile) 2>conftest.er1
23649 ac_status=$?
23650 grep -v '^ *+' conftest.er1 >conftest.err
23651 rm -f conftest.er1
23652 cat conftest.err >&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); } &&
23655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23658 ac_status=$?
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; } &&
23661 { ac_try='test -s conftest.$ac_objext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23664 ac_status=$?
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667 ac_cv_cxx_const_cast=yes
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_cv_cxx_const_cast=no
23673 fi
23674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23675 ac_ext=c
23676 ac_cpp='$CPP $CPPFLAGS'
23677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23680
23681
23682 fi
23683 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23684 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23685 if test "$ac_cv_cxx_const_cast" = yes; then
23686
23687 cat >>confdefs.h <<\_ACEOF
23688 #define HAVE_CONST_CAST
23689 _ACEOF
23690
23691 fi
23692
23693 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23694 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23695 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 else
23698
23699
23700 ac_ext=cc
23701 ac_cpp='$CXXCPP $CPPFLAGS'
23702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705
23706 cat >conftest.$ac_ext <<_ACEOF
23707 /* confdefs.h. */
23708 _ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 #include <typeinfo>
23713 class Base { public : Base () {} virtual void f () = 0;};
23714 class Derived : public Base { public : Derived () {} virtual void f () {} };
23715 class Unrelated { public : Unrelated () {} };
23716 int g (Unrelated&) { return 0; }
23717 int
23718 main ()
23719 {
23720
23721 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23722 ;
23723 return 0;
23724 }
23725 _ACEOF
23726 rm -f conftest.$ac_objext
23727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23728 (eval $ac_compile) 2>conftest.er1
23729 ac_status=$?
23730 grep -v '^ *+' conftest.er1 >conftest.err
23731 rm -f conftest.er1
23732 cat conftest.err >&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); } &&
23735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23737 (eval $ac_try) 2>&5
23738 ac_status=$?
23739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740 (exit $ac_status); }; } &&
23741 { ac_try='test -s conftest.$ac_objext'
23742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23743 (eval $ac_try) 2>&5
23744 ac_status=$?
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_cv_cxx_reinterpret_cast=yes
23748 else
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.$ac_ext >&5
23751
23752 ac_cv_cxx_reinterpret_cast=no
23753 fi
23754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23755 ac_ext=c
23756 ac_cpp='$CPP $CPPFLAGS'
23757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23760
23761
23762 fi
23763 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23764 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23765 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23766
23767 cat >>confdefs.h <<\_ACEOF
23768 #define HAVE_REINTERPRET_CAST
23769 _ACEOF
23770
23771 fi
23772
23773 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23774 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23775 if test "${ac_cv_cxx_static_cast+set}" = set; then
23776 echo $ECHO_N "(cached) $ECHO_C" >&6
23777 else
23778
23779
23780 ac_ext=cc
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785
23786 cat >conftest.$ac_ext <<_ACEOF
23787 /* confdefs.h. */
23788 _ACEOF
23789 cat confdefs.h >>conftest.$ac_ext
23790 cat >>conftest.$ac_ext <<_ACEOF
23791 /* end confdefs.h. */
23792 #include <typeinfo>
23793 class Base { public : Base () {} virtual void f () = 0; };
23794 class Derived : public Base { public : Derived () {} virtual void f () {} };
23795 int g (Derived&) { return 0; }
23796 int
23797 main ()
23798 {
23799
23800 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23801 ;
23802 return 0;
23803 }
23804 _ACEOF
23805 rm -f conftest.$ac_objext
23806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23807 (eval $ac_compile) 2>conftest.er1
23808 ac_status=$?
23809 grep -v '^ *+' conftest.er1 >conftest.err
23810 rm -f conftest.er1
23811 cat conftest.err >&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23816 (eval $ac_try) 2>&5
23817 ac_status=$?
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; } &&
23820 { ac_try='test -s conftest.$ac_objext'
23821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23822 (eval $ac_try) 2>&5
23823 ac_status=$?
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); }; }; then
23826 ac_cv_cxx_static_cast=yes
23827 else
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23830
23831 ac_cv_cxx_static_cast=no
23832 fi
23833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23834 ac_ext=c
23835 ac_cpp='$CPP $CPPFLAGS'
23836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23839
23840
23841 fi
23842 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23843 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23844 if test "$ac_cv_cxx_static_cast" = yes; then
23845
23846 cat >>confdefs.h <<\_ACEOF
23847 #define HAVE_STATIC_CAST
23848 _ACEOF
23849
23850 fi
23851
23852
23853 if test "x$SUNCXX" = xyes; then
23854 CXXFLAGS="-features=tmplife $CXXFLAGS"
23855 fi
23856
23857 if test "x$SUNCC" = xyes; then
23858 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23859 fi
23860
23861 if test "x$SGICC" = "xyes"; then
23862 CFLAGS="-woff 3970 $CFLAGS"
23863 fi
23864 if test "x$SGICXX" = "xyes"; then
23865 CXXFLAGS="-woff 3970 $CXXFLAGS"
23866 fi
23867
23868 if test "x$HPCC" = "xyes"; then
23869 CFLAGS="+W 2011,2450 $CFLAGS"
23870 fi
23871 if test "x$HPCXX" = "xyes"; then
23872 CXXFLAGS="+W 2340 $CXXFLAGS"
23873 fi
23874
23875 if test "x$COMPAQCXX" = "xyes"; then
23876 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23877 fi
23878
23879 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23880 if test "$wxUSE_UNICODE" = "yes"; then
23881 std_string="std::wstring"
23882 char_type="wchar_t"
23883 else
23884 std_string="std::string"
23885 char_type="char"
23886 fi
23887
23888 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23889 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23890 cat >conftest.$ac_ext <<_ACEOF
23891 /* confdefs.h. */
23892 _ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <string>
23897 int
23898 main ()
23899 {
23900 $std_string foo;
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23907 (eval $ac_compile) 2>conftest.er1
23908 ac_status=$?
23909 grep -v '^ *+' conftest.er1 >conftest.err
23910 rm -f conftest.er1
23911 cat conftest.err >&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); } &&
23914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; } &&
23920 { ac_try='test -s conftest.$ac_objext'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; }; then
23926 echo "$as_me:$LINENO: result: yes" >&5
23927 echo "${ECHO_T}yes" >&6
23928 cat >>confdefs.h <<\_ACEOF
23929 #define HAVE_STD_WSTRING 1
23930 _ACEOF
23931
23932 else
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23935
23936 echo "$as_me:$LINENO: result: no" >&5
23937 echo "${ECHO_T}no" >&6
23938 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23939 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23940 cat >conftest.$ac_ext <<_ACEOF
23941 /* confdefs.h. */
23942 _ACEOF
23943 cat confdefs.h >>conftest.$ac_ext
23944 cat >>conftest.$ac_ext <<_ACEOF
23945 /* end confdefs.h. */
23946
23947 #ifdef HAVE_WCHAR_H
23948 # ifdef __CYGWIN__
23949 # include <stddef.h>
23950 # endif
23951 # include <wchar.h>
23952 #endif
23953 #ifdef HAVE_STDLIB_H
23954 # include <stdlib.h>
23955 #endif
23956 #include <stdio.h>
23957 #include <string>
23958
23959 int
23960 main ()
23961 {
23962 std::basic_string<$char_type> foo;
23963 const $char_type* dummy = foo.c_str();
23964 ;
23965 return 0;
23966 }
23967 _ACEOF
23968 rm -f conftest.$ac_objext
23969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23970 (eval $ac_compile) 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; } &&
23983 { ac_try='test -s conftest.$ac_objext'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23986 ac_status=$?
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; }; then
23989 echo "$as_me:$LINENO: result: yes" >&5
23990 echo "${ECHO_T}yes" >&6
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23994
23995 echo "$as_me:$LINENO: result: no" >&5
23996 echo "${ECHO_T}no" >&6
23997 if test "$wxUSE_STL" = "yes"; then
23998 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23999 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24000 { (exit 1); exit 1; }; }
24001 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24002 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24003 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24004 { (exit 1); exit 1; }; }
24005 else
24006 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24007 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24008 wxUSE_STD_STRING=no
24009 fi
24010
24011
24012 fi
24013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24014
24015 fi
24016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24017 fi
24018
24019 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24020 echo "$as_me:$LINENO: checking for std::istream" >&5
24021 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24022 if test "${ac_cv_type_std__istream+set}" = set; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 else
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 #include <iostream>
24032
24033 int
24034 main ()
24035 {
24036 if ((std::istream *) 0)
24037 return 0;
24038 if (sizeof (std::istream))
24039 return 0;
24040 ;
24041 return 0;
24042 }
24043 _ACEOF
24044 rm -f conftest.$ac_objext
24045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24046 (eval $ac_compile) 2>conftest.er1
24047 ac_status=$?
24048 grep -v '^ *+' conftest.er1 >conftest.err
24049 rm -f conftest.er1
24050 cat conftest.err >&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } &&
24053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; } &&
24059 { ac_try='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24062 ac_status=$?
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 ac_cv_type_std__istream=yes
24066 else
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070 ac_cv_type_std__istream=no
24071 fi
24072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24073 fi
24074 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24075 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24076 if test $ac_cv_type_std__istream = yes; then
24077
24078 cat >>confdefs.h <<_ACEOF
24079 #define HAVE_STD__ISTREAM 1
24080 _ACEOF
24081
24082
24083 else
24084 wxUSE_STD_IOSTREAM=no
24085 fi
24086 echo "$as_me:$LINENO: checking for std::ostream" >&5
24087 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24088 if test "${ac_cv_type_std__ostream+set}" = set; then
24089 echo $ECHO_N "(cached) $ECHO_C" >&6
24090 else
24091 cat >conftest.$ac_ext <<_ACEOF
24092 /* confdefs.h. */
24093 _ACEOF
24094 cat confdefs.h >>conftest.$ac_ext
24095 cat >>conftest.$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 #include <iostream>
24098
24099 int
24100 main ()
24101 {
24102 if ((std::ostream *) 0)
24103 return 0;
24104 if (sizeof (std::ostream))
24105 return 0;
24106 ;
24107 return 0;
24108 }
24109 _ACEOF
24110 rm -f conftest.$ac_objext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24112 (eval $ac_compile) 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } &&
24119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24122 ac_status=$?
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try='test -s conftest.$ac_objext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24128 ac_status=$?
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
24131 ac_cv_type_std__ostream=yes
24132 else
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5
24135
24136 ac_cv_type_std__ostream=no
24137 fi
24138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24139 fi
24140 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24141 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24142 if test $ac_cv_type_std__ostream = yes; then
24143
24144 cat >>confdefs.h <<_ACEOF
24145 #define HAVE_STD__OSTREAM 1
24146 _ACEOF
24147
24148
24149 else
24150 wxUSE_STD_IOSTREAM=no
24151 fi
24152
24153
24154 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24155 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24156 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24157 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24158 { (exit 1); exit 1; }; }
24159 else
24160 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24161 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24162 fi
24163 fi
24164 fi
24165
24166 if test "$wxUSE_STL" = "yes"; then
24167 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24168 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 #include <string>
24176 #include <functional>
24177 #include <algorithm>
24178 #include <vector>
24179 #include <list>
24180 int
24181 main ()
24182 {
24183 std::vector<int> moo;
24184 std::list<int> foo;
24185 std::vector<int>::iterator it =
24186 std::find_if(moo.begin(), moo.end(),
24187 std::bind2nd(std::less<int>(), 3));
24188 ;
24189 return 0;
24190 }
24191 _ACEOF
24192 rm -f conftest.$ac_objext
24193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24194 (eval $ac_compile) 2>conftest.er1
24195 ac_status=$?
24196 grep -v '^ *+' conftest.er1 >conftest.err
24197 rm -f conftest.er1
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } &&
24201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try='test -s conftest.$ac_objext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 echo "$as_me:$LINENO: result: yes" >&5
24214 echo "${ECHO_T}yes" >&6
24215 else
24216 echo "$as_me: failed program was:" >&5
24217 sed 's/^/| /' conftest.$ac_ext >&5
24218
24219 echo "$as_me:$LINENO: result: no" >&5
24220 echo "${ECHO_T}no" >&6
24221 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24222 echo "$as_me: error: Basic STL functionality missing" >&2;}
24223 { (exit 1); exit 1; }; }
24224 fi
24225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24226
24227 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24228 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24229 cat >conftest.$ac_ext <<_ACEOF
24230 /* confdefs.h. */
24231 _ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235 #include <string>
24236 int
24237 main ()
24238 {
24239 std::string foo, bar;
24240 foo.compare(bar);
24241 foo.compare(1, 1, bar);
24242 foo.compare(1, 1, bar, 1, 1);
24243 foo.compare("");
24244 foo.compare(1, 1, "");
24245 foo.compare(1, 1, "", 2);
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24252 (eval $ac_compile) 2>conftest.er1
24253 ac_status=$?
24254 grep -v '^ *+' conftest.er1 >conftest.err
24255 rm -f conftest.er1
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } &&
24259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24261 (eval $ac_try) 2>&5
24262 ac_status=$?
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); }; } &&
24265 { ac_try='test -s conftest.$ac_objext'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; }; then
24271 echo "$as_me:$LINENO: result: yes" >&5
24272 echo "${ECHO_T}yes" >&6
24273 cat >>confdefs.h <<\_ACEOF
24274 #define HAVE_STD_STRING_COMPARE 1
24275 _ACEOF
24276
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 echo "$as_me:$LINENO: result: no" >&5
24282 echo "${ECHO_T}no" >&6
24283 fi
24284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24285
24286 if test "${ac_cv_header_hash_map+set}" = set; then
24287 echo "$as_me:$LINENO: checking for hash_map" >&5
24288 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24289 if test "${ac_cv_header_hash_map+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 fi
24292 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24293 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24294 else
24295 # Is the header compilable?
24296 echo "$as_me:$LINENO: checking hash_map usability" >&5
24297 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24298 cat >conftest.$ac_ext <<_ACEOF
24299 /* confdefs.h. */
24300 _ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304 $ac_includes_default
24305 #include <hash_map>
24306 _ACEOF
24307 rm -f conftest.$ac_objext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24309 (eval $ac_compile) 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try='test -s conftest.$ac_objext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 ac_header_compiler=yes
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24332
24333 ac_header_compiler=no
24334 fi
24335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24337 echo "${ECHO_T}$ac_header_compiler" >&6
24338
24339 # Is the header present?
24340 echo "$as_me:$LINENO: checking hash_map presence" >&5
24341 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24342 cat >conftest.$ac_ext <<_ACEOF
24343 /* confdefs.h. */
24344 _ACEOF
24345 cat confdefs.h >>conftest.$ac_ext
24346 cat >>conftest.$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24348 #include <hash_map>
24349 _ACEOF
24350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24351 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
24358 if test -s conftest.err; then
24359 ac_cpp_err=$ac_c_preproc_warn_flag
24360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24361 else
24362 ac_cpp_err=
24363 fi
24364 else
24365 ac_cpp_err=yes
24366 fi
24367 if test -z "$ac_cpp_err"; then
24368 ac_header_preproc=yes
24369 else
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24372
24373 ac_header_preproc=no
24374 fi
24375 rm -f conftest.err conftest.$ac_ext
24376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24377 echo "${ECHO_T}$ac_header_preproc" >&6
24378
24379 # So? What about this header?
24380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24381 yes:no: )
24382 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24383 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24384 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24385 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24386 ac_header_preproc=yes
24387 ;;
24388 no:yes:* )
24389 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24390 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24391 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24392 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24393 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24394 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24395 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24396 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24397 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24398 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24399 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24400 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24401 (
24402 cat <<\_ASBOX
24403 ## ----------------------------------------- ##
24404 ## Report this to wx-dev@lists.wxwidgets.org ##
24405 ## ----------------------------------------- ##
24406 _ASBOX
24407 ) |
24408 sed "s/^/$as_me: WARNING: /" >&2
24409 ;;
24410 esac
24411 echo "$as_me:$LINENO: checking for hash_map" >&5
24412 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24413 if test "${ac_cv_header_hash_map+set}" = set; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 else
24416 ac_cv_header_hash_map=$ac_header_preproc
24417 fi
24418 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24419 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24420
24421 fi
24422 if test $ac_cv_header_hash_map = yes; then
24423 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24424 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431 #include <hash_map>
24432 #include <hash_set>
24433 int
24434 main ()
24435 {
24436 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24437 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24438 ;
24439 return 0;
24440 }
24441 _ACEOF
24442 rm -f conftest.$ac_objext
24443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24444 (eval $ac_compile) 2>conftest.er1
24445 ac_status=$?
24446 grep -v '^ *+' conftest.er1 >conftest.err
24447 rm -f conftest.er1
24448 cat conftest.err >&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24454 ac_status=$?
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try='test -s conftest.$ac_objext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 echo "$as_me:$LINENO: result: yes" >&5
24464 echo "${ECHO_T}yes" >&6
24465 cat >>confdefs.h <<\_ACEOF
24466 #define HAVE_HASH_MAP 1
24467 _ACEOF
24468
24469 cat >>confdefs.h <<\_ACEOF
24470 #define HAVE_STD_HASH_MAP 1
24471 _ACEOF
24472
24473 else
24474 echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.$ac_ext >&5
24476
24477 echo "$as_me:$LINENO: result: no" >&5
24478 echo "${ECHO_T}no" >&6
24479 fi
24480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24481
24482 fi
24483
24484
24485
24486 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24487 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24488 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24489 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 fi
24492 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24493 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24494 else
24495 # Is the header compilable?
24496 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24497 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24498 cat >conftest.$ac_ext <<_ACEOF
24499 /* confdefs.h. */
24500 _ACEOF
24501 cat confdefs.h >>conftest.$ac_ext
24502 cat >>conftest.$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24504 $ac_includes_default
24505 #include <ext/hash_map>
24506 _ACEOF
24507 rm -f conftest.$ac_objext
24508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24509 (eval $ac_compile) 2>conftest.er1
24510 ac_status=$?
24511 grep -v '^ *+' conftest.er1 >conftest.err
24512 rm -f conftest.er1
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } &&
24516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518 (eval $ac_try) 2>&5
24519 ac_status=$?
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; } &&
24522 { ac_try='test -s conftest.$ac_objext'
24523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24524 (eval $ac_try) 2>&5
24525 ac_status=$?
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); }; }; then
24528 ac_header_compiler=yes
24529 else
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.$ac_ext >&5
24532
24533 ac_header_compiler=no
24534 fi
24535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24537 echo "${ECHO_T}$ac_header_compiler" >&6
24538
24539 # Is the header present?
24540 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24541 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24542 cat >conftest.$ac_ext <<_ACEOF
24543 /* confdefs.h. */
24544 _ACEOF
24545 cat confdefs.h >>conftest.$ac_ext
24546 cat >>conftest.$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24548 #include <ext/hash_map>
24549 _ACEOF
24550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24552 ac_status=$?
24553 grep -v '^ *+' conftest.er1 >conftest.err
24554 rm -f conftest.er1
24555 cat conftest.err >&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } >/dev/null; then
24558 if test -s conftest.err; then
24559 ac_cpp_err=$ac_c_preproc_warn_flag
24560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24561 else
24562 ac_cpp_err=
24563 fi
24564 else
24565 ac_cpp_err=yes
24566 fi
24567 if test -z "$ac_cpp_err"; then
24568 ac_header_preproc=yes
24569 else
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24572
24573 ac_header_preproc=no
24574 fi
24575 rm -f conftest.err conftest.$ac_ext
24576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24577 echo "${ECHO_T}$ac_header_preproc" >&6
24578
24579 # So? What about this header?
24580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24581 yes:no: )
24582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24583 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24585 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24586 ac_header_preproc=yes
24587 ;;
24588 no:yes:* )
24589 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24590 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24591 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24592 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24593 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24594 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24595 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24596 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24597 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24598 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24599 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24600 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24601 (
24602 cat <<\_ASBOX
24603 ## ----------------------------------------- ##
24604 ## Report this to wx-dev@lists.wxwidgets.org ##
24605 ## ----------------------------------------- ##
24606 _ASBOX
24607 ) |
24608 sed "s/^/$as_me: WARNING: /" >&2
24609 ;;
24610 esac
24611 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24612 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24613 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 else
24616 ac_cv_header_ext_hash_map=$ac_header_preproc
24617 fi
24618 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24619 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24620
24621 fi
24622 if test $ac_cv_header_ext_hash_map = yes; then
24623 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24624 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24625 cat >conftest.$ac_ext <<_ACEOF
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 #include <ext/hash_map>
24632 #include <ext/hash_set>
24633 int
24634 main ()
24635 {
24636 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24637 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24638 ;
24639 return 0;
24640 }
24641 _ACEOF
24642 rm -f conftest.$ac_objext
24643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24644 (eval $ac_compile) 2>conftest.er1
24645 ac_status=$?
24646 grep -v '^ *+' conftest.er1 >conftest.err
24647 rm -f conftest.er1
24648 cat conftest.err >&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } &&
24651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653 (eval $ac_try) 2>&5
24654 ac_status=$?
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; } &&
24657 { ac_try='test -s conftest.$ac_objext'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24660 ac_status=$?
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; }; then
24663 echo "$as_me:$LINENO: result: yes" >&5
24664 echo "${ECHO_T}yes" >&6
24665 cat >>confdefs.h <<\_ACEOF
24666 #define HAVE_EXT_HASH_MAP 1
24667 _ACEOF
24668
24669 cat >>confdefs.h <<\_ACEOF
24670 #define HAVE_GNU_CXX_HASH_MAP 1
24671 _ACEOF
24672
24673 else
24674 echo "$as_me: failed program was:" >&5
24675 sed 's/^/| /' conftest.$ac_ext >&5
24676
24677 echo "$as_me:$LINENO: result: no" >&5
24678 echo "${ECHO_T}no" >&6
24679 fi
24680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24681
24682 fi
24683
24684
24685 fi
24686
24687
24688 SEARCH_INCLUDE="\
24689 /usr/local/include \
24690 \
24691 /usr/Motif-2.1/include \
24692 /usr/Motif-1.2/include \
24693 /usr/include/Motif1.2 \
24694 \
24695 /usr/dt/include \
24696 /usr/openwin/include \
24697 \
24698 /usr/include/Xm \
24699 \
24700 /usr/X11R6/include \
24701 /usr/X11R6.4/include \
24702 /usr/X11R5/include \
24703 /usr/X11R4/include \
24704 \
24705 /usr/include/X11R6 \
24706 /usr/include/X11R5 \
24707 /usr/include/X11R4 \
24708 \
24709 /usr/local/X11R6/include \
24710 /usr/local/X11R5/include \
24711 /usr/local/X11R4/include \
24712 \
24713 /usr/local/include/X11R6 \
24714 /usr/local/include/X11R5 \
24715 /usr/local/include/X11R4 \
24716 \
24717 /usr/X11/include \
24718 /usr/include/X11 \
24719 /usr/local/X11/include \
24720 /usr/local/include/X11 \
24721 \
24722 /usr/XFree86/include/X11 \
24723 /usr/pkg/include \
24724 \
24725 /usr/openwin/share/include"
24726
24727 echo "$as_me:$LINENO: checking for libraries directory" >&5
24728 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24729
24730 case "${host}" in
24731 *-*-irix6* )
24732 if test "${wx_cv_std_libpath+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24734 else
24735
24736 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24737 for e in a so sl dylib dll.a; do
24738 libc="$d/libc.$e"
24739 if test -f $libc; then
24740 save_LIBS="$LIBS"
24741 LIBS="$libc"
24742 cat >conftest.$ac_ext <<_ACEOF
24743 int main() { return 0; }
24744 _ACEOF
24745 rm -f conftest.$ac_objext conftest$ac_exeext
24746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24747 (eval $ac_link) 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } &&
24754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24756 (eval $ac_try) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); }; } &&
24760 { ac_try='test -s conftest$ac_exeext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24767 else
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24770
24771 fi
24772 rm -f conftest.err conftest.$ac_objext \
24773 conftest$ac_exeext conftest.$ac_ext
24774 LIBS="$save_LIBS"
24775 if test "x$wx_cv_std_libpath" != "x"; then
24776 break 2
24777 fi
24778 fi
24779 done
24780 done
24781 if test "x$wx_cv_std_libpath" = "x"; then
24782 wx_cv_std_libpath="lib"
24783 fi
24784
24785
24786 fi
24787
24788 ;;
24789
24790 *-*-solaris2* )
24791 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24792 wx_cv_std_libpath="lib/64"
24793 else
24794 wx_cv_std_libpath="lib"
24795 fi
24796 ;;
24797
24798 *-*-linux* )
24799 if test "$ac_cv_sizeof_void_p" = 8 -a \
24800 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24801 wx_cv_std_libpath="lib64"
24802 else
24803 wx_cv_std_libpath="lib"
24804 fi
24805 ;;
24806
24807 *)
24808 wx_cv_std_libpath="lib";
24809 ;;
24810 esac
24811
24812 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24813 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24814
24815 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24816
24817 if test "$build" != "$host" -a "$GCC" = yes; then
24818 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24819 cross_root=`dirname $cross_root`
24820 cross_root=`dirname $cross_root`
24821
24822 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24823 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24824 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24825
24826 if test -z "$PKG_CONFIG_PATH"; then
24827 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24828 export PKG_CONFIG_PATH
24829 fi
24830
24831 if test -z "$x_includes" -o "$x_includes" = NONE; then
24832
24833 ac_find_includes=
24834 for ac_dir in $SEARCH_INCLUDE /usr/include;
24835 do
24836 if test -f "$ac_dir/X11/Intrinsic.h"; then
24837 ac_find_includes=$ac_dir
24838 break
24839 fi
24840 done
24841
24842 x_includes=$ac_find_includes
24843 fi
24844 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24845
24846 ac_find_libraries=
24847 for ac_dir in $SEARCH_LIB;
24848 do
24849 for ac_extension in a so sl dylib dll.a; do
24850 if test -f "$ac_dir/libXt.$ac_extension"; then
24851 ac_find_libraries=$ac_dir
24852 break 2
24853 fi
24854 done
24855 done
24856
24857 x_libraries=$ac_find_libraries
24858 fi
24859 fi
24860 fi
24861
24862
24863 cat >confcache <<\_ACEOF
24864 # This file is a shell script that caches the results of configure
24865 # tests run on this system so they can be shared between configure
24866 # scripts and configure runs, see configure's option --config-cache.
24867 # It is not useful on other systems. If it contains results you don't
24868 # want to keep, you may remove or edit it.
24869 #
24870 # config.status only pays attention to the cache file if you give it
24871 # the --recheck option to rerun configure.
24872 #
24873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24875 # following values.
24876
24877 _ACEOF
24878
24879 # The following way of writing the cache mishandles newlines in values,
24880 # but we know of no workaround that is simple, portable, and efficient.
24881 # So, don't put newlines in cache variables' values.
24882 # Ultrix sh set writes to stderr and can't be redirected directly,
24883 # and sets the high bit in the cache file unless we assign to the vars.
24884 {
24885 (set) 2>&1 |
24886 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24887 *ac_space=\ *)
24888 # `set' does not quote correctly, so add quotes (double-quote
24889 # substitution turns \\\\ into \\, and sed turns \\ into \).
24890 sed -n \
24891 "s/'/'\\\\''/g;
24892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24893 ;;
24894 *)
24895 # `set' quotes correctly as required by POSIX, so do not add quotes.
24896 sed -n \
24897 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24898 ;;
24899 esac;
24900 } |
24901 sed '
24902 t clear
24903 : clear
24904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24905 t end
24906 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24907 : end' >>confcache
24908 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24909 if test -w $cache_file; then
24910 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24911 cat confcache >$cache_file
24912 else
24913 echo "not updating unwritable cache $cache_file"
24914 fi
24915 fi
24916 rm -f confcache
24917
24918 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24919 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24920 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24921 if test "${wx_cv_lib_glibc21+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 else
24924
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h. */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931 #include <features.h>
24932 int
24933 main ()
24934 {
24935
24936 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24937 not glibc 2.1
24938 #endif
24939
24940 ;
24941 return 0;
24942 }
24943 _ACEOF
24944 rm -f conftest.$ac_objext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24946 (eval $ac_compile) 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24956 ac_status=$?
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; } &&
24959 { ac_try='test -s conftest.$ac_objext'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; }; then
24965
24966 wx_cv_lib_glibc21=yes
24967
24968 else
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.$ac_ext >&5
24971
24972
24973 wx_cv_lib_glibc21=no
24974
24975
24976 fi
24977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24978
24979 fi
24980 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24981 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24982 if test "$wx_cv_lib_glibc21" = "yes"; then
24983 cat >>confdefs.h <<\_ACEOF
24984 #define wxHAVE_GLIBC2 1
24985 _ACEOF
24986
24987 fi
24988 fi
24989
24990 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24991 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24992 cat >>confdefs.h <<\_ACEOF
24993 #define _GNU_SOURCE 1
24994 _ACEOF
24995
24996 fi
24997 fi
24998
24999 have_cos=0
25000 have_floor=0
25001
25002 for ac_func in cos
25003 do
25004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25005 echo "$as_me:$LINENO: checking for $ac_func" >&5
25006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25007 if eval "test \"\${$as_ac_var+set}\" = set"; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 else
25010 cat >conftest.$ac_ext <<_ACEOF
25011 /* confdefs.h. */
25012 _ACEOF
25013 cat confdefs.h >>conftest.$ac_ext
25014 cat >>conftest.$ac_ext <<_ACEOF
25015 /* end confdefs.h. */
25016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25018 #define $ac_func innocuous_$ac_func
25019
25020 /* System header to define __stub macros and hopefully few prototypes,
25021 which can conflict with char $ac_func (); below.
25022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25023 <limits.h> exists even on freestanding compilers. */
25024
25025 #ifdef __STDC__
25026 # include <limits.h>
25027 #else
25028 # include <assert.h>
25029 #endif
25030
25031 #undef $ac_func
25032
25033 /* Override any gcc2 internal prototype to avoid an error. */
25034 #ifdef __cplusplus
25035 extern "C"
25036 {
25037 #endif
25038 /* We use char because int might match the return type of a gcc2
25039 builtin and then its argument prototype would still apply. */
25040 char $ac_func ();
25041 /* The GNU C library defines this for functions which it implements
25042 to always fail with ENOSYS. Some functions are actually named
25043 something starting with __ and the normal name is an alias. */
25044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25045 choke me
25046 #else
25047 char (*f) () = $ac_func;
25048 #endif
25049 #ifdef __cplusplus
25050 }
25051 #endif
25052
25053 int
25054 main ()
25055 {
25056 return f != $ac_func;
25057 ;
25058 return 0;
25059 }
25060 _ACEOF
25061 rm -f conftest.$ac_objext conftest$ac_exeext
25062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25063 (eval $ac_link) 2>conftest.er1
25064 ac_status=$?
25065 grep -v '^ *+' conftest.er1 >conftest.err
25066 rm -f conftest.er1
25067 cat conftest.err >&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); } &&
25070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; } &&
25076 { ac_try='test -s conftest$ac_exeext'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25079 ac_status=$?
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; }; then
25082 eval "$as_ac_var=yes"
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 eval "$as_ac_var=no"
25088 fi
25089 rm -f conftest.err conftest.$ac_objext \
25090 conftest$ac_exeext conftest.$ac_ext
25091 fi
25092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25094 if test `eval echo '${'$as_ac_var'}'` = yes; then
25095 cat >>confdefs.h <<_ACEOF
25096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25097 _ACEOF
25098 have_cos=1
25099 fi
25100 done
25101
25102
25103 for ac_func in floor
25104 do
25105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25106 echo "$as_me:$LINENO: checking for $ac_func" >&5
25107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25108 if eval "test \"\${$as_ac_var+set}\" = set"; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 else
25111 cat >conftest.$ac_ext <<_ACEOF
25112 /* confdefs.h. */
25113 _ACEOF
25114 cat confdefs.h >>conftest.$ac_ext
25115 cat >>conftest.$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25119 #define $ac_func innocuous_$ac_func
25120
25121 /* System header to define __stub macros and hopefully few prototypes,
25122 which can conflict with char $ac_func (); below.
25123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25124 <limits.h> exists even on freestanding compilers. */
25125
25126 #ifdef __STDC__
25127 # include <limits.h>
25128 #else
25129 # include <assert.h>
25130 #endif
25131
25132 #undef $ac_func
25133
25134 /* Override any gcc2 internal prototype to avoid an error. */
25135 #ifdef __cplusplus
25136 extern "C"
25137 {
25138 #endif
25139 /* We use char because int might match the return type of a gcc2
25140 builtin and then its argument prototype would still apply. */
25141 char $ac_func ();
25142 /* The GNU C library defines this for functions which it implements
25143 to always fail with ENOSYS. Some functions are actually named
25144 something starting with __ and the normal name is an alias. */
25145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25146 choke me
25147 #else
25148 char (*f) () = $ac_func;
25149 #endif
25150 #ifdef __cplusplus
25151 }
25152 #endif
25153
25154 int
25155 main ()
25156 {
25157 return f != $ac_func;
25158 ;
25159 return 0;
25160 }
25161 _ACEOF
25162 rm -f conftest.$ac_objext conftest$ac_exeext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25164 (eval $ac_link) 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25174 ac_status=$?
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try='test -s conftest$ac_exeext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 eval "$as_ac_var=yes"
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 eval "$as_ac_var=no"
25189 fi
25190 rm -f conftest.err conftest.$ac_objext \
25191 conftest$ac_exeext conftest.$ac_ext
25192 fi
25193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25195 if test `eval echo '${'$as_ac_var'}'` = yes; then
25196 cat >>confdefs.h <<_ACEOF
25197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25198 _ACEOF
25199 have_floor=1
25200 fi
25201 done
25202
25203 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25204 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25205 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25206 echo "$as_me:$LINENO: result: yes" >&5
25207 echo "${ECHO_T}yes" >&6
25208 else
25209 echo "$as_me:$LINENO: result: no" >&5
25210 echo "${ECHO_T}no" >&6
25211 LIBS="$LIBS -lm"
25212 # use different functions to avoid configure caching
25213 have_sin=0
25214 have_ceil=0
25215
25216 for ac_func in sin
25217 do
25218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25219 echo "$as_me:$LINENO: checking for $ac_func" >&5
25220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25221 if eval "test \"\${$as_ac_var+set}\" = set"; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25232 #define $ac_func innocuous_$ac_func
25233
25234 /* System header to define __stub macros and hopefully few prototypes,
25235 which can conflict with char $ac_func (); below.
25236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25237 <limits.h> exists even on freestanding compilers. */
25238
25239 #ifdef __STDC__
25240 # include <limits.h>
25241 #else
25242 # include <assert.h>
25243 #endif
25244
25245 #undef $ac_func
25246
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25250 {
25251 #endif
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25254 char $ac_func ();
25255 /* The GNU C library defines this for functions which it implements
25256 to always fail with ENOSYS. Some functions are actually named
25257 something starting with __ and the normal name is an alias. */
25258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25259 choke me
25260 #else
25261 char (*f) () = $ac_func;
25262 #endif
25263 #ifdef __cplusplus
25264 }
25265 #endif
25266
25267 int
25268 main ()
25269 {
25270 return f != $ac_func;
25271 ;
25272 return 0;
25273 }
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286 (eval $ac_try) 2>&5
25287 ac_status=$?
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; } &&
25290 { ac_try='test -s conftest$ac_exeext'
25291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292 (eval $ac_try) 2>&5
25293 ac_status=$?
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); }; }; then
25296 eval "$as_ac_var=yes"
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 eval "$as_ac_var=no"
25302 fi
25303 rm -f conftest.err conftest.$ac_objext \
25304 conftest$ac_exeext conftest.$ac_ext
25305 fi
25306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25308 if test `eval echo '${'$as_ac_var'}'` = yes; then
25309 cat >>confdefs.h <<_ACEOF
25310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25311 _ACEOF
25312 have_sin=1
25313 fi
25314 done
25315
25316
25317 for ac_func in ceil
25318 do
25319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25320 echo "$as_me:$LINENO: checking for $ac_func" >&5
25321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25322 if eval "test \"\${$as_ac_var+set}\" = set"; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 else
25325 cat >conftest.$ac_ext <<_ACEOF
25326 /* confdefs.h. */
25327 _ACEOF
25328 cat confdefs.h >>conftest.$ac_ext
25329 cat >>conftest.$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25333 #define $ac_func innocuous_$ac_func
25334
25335 /* System header to define __stub macros and hopefully few prototypes,
25336 which can conflict with char $ac_func (); below.
25337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25338 <limits.h> exists even on freestanding compilers. */
25339
25340 #ifdef __STDC__
25341 # include <limits.h>
25342 #else
25343 # include <assert.h>
25344 #endif
25345
25346 #undef $ac_func
25347
25348 /* Override any gcc2 internal prototype to avoid an error. */
25349 #ifdef __cplusplus
25350 extern "C"
25351 {
25352 #endif
25353 /* We use char because int might match the return type of a gcc2
25354 builtin and then its argument prototype would still apply. */
25355 char $ac_func ();
25356 /* The GNU C library defines this for functions which it implements
25357 to always fail with ENOSYS. Some functions are actually named
25358 something starting with __ and the normal name is an alias. */
25359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25360 choke me
25361 #else
25362 char (*f) () = $ac_func;
25363 #endif
25364 #ifdef __cplusplus
25365 }
25366 #endif
25367
25368 int
25369 main ()
25370 {
25371 return f != $ac_func;
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 rm -f conftest.$ac_objext conftest$ac_exeext
25377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25378 (eval $ac_link) 2>conftest.er1
25379 ac_status=$?
25380 grep -v '^ *+' conftest.er1 >conftest.err
25381 rm -f conftest.er1
25382 cat conftest.err >&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } &&
25385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387 (eval $ac_try) 2>&5
25388 ac_status=$?
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); }; } &&
25391 { ac_try='test -s conftest$ac_exeext'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; }; then
25397 eval "$as_ac_var=yes"
25398 else
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25401
25402 eval "$as_ac_var=no"
25403 fi
25404 rm -f conftest.err conftest.$ac_objext \
25405 conftest$ac_exeext conftest.$ac_ext
25406 fi
25407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25409 if test `eval echo '${'$as_ac_var'}'` = yes; then
25410 cat >>confdefs.h <<_ACEOF
25411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25412 _ACEOF
25413 have_ceil=1
25414 fi
25415 done
25416
25417 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25418 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25419 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25420 echo "$as_me:$LINENO: result: yes" >&5
25421 echo "${ECHO_T}yes" >&6
25422 else
25423 echo "$as_me:$LINENO: result: no" >&5
25424 echo "${ECHO_T}no" >&6
25425 # not sure we should warn the user, crash, etc.
25426 fi
25427 fi
25428
25429 if test "wxUSE_UNICODE" = "yes"; then
25430
25431 for wx_func in wcstoull
25432 do
25433 echo "$as_me:$LINENO: checking for $wx_func" >&5
25434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
25435 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
25436 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 else
25438
25439 cat >conftest.$ac_ext <<_ACEOF
25440
25441 /* confdefs.h. */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446
25447
25448 $ac_includes_default
25449
25450 int
25451 main ()
25452 {
25453
25454 #ifndef $wx_func
25455 &$wx_func;
25456 #endif
25457
25458
25459 ;
25460 return 0;
25461 }
25462
25463 _ACEOF
25464 rm -f conftest.$ac_objext conftest$ac_exeext
25465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25466 (eval $ac_link) 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25476 ac_status=$?
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; } &&
25479 { ac_try='test -s conftest$ac_exeext'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25482 ac_status=$?
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; }; then
25485 eval wx_cv_func_$wx_func=yes
25486 else
25487 echo "$as_me: failed program was:" >&5
25488 sed 's/^/| /' conftest.$ac_ext >&5
25489
25490 eval wx_cv_func_$wx_func=no
25491 fi
25492 rm -f conftest.err conftest.$ac_objext \
25493 conftest$ac_exeext conftest.$ac_ext
25494
25495 fi
25496 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
25497 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
25498
25499 if eval test \$wx_cv_func_$wx_func = yes
25500 then
25501 cat >>confdefs.h <<_ACEOF
25502 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25503 _ACEOF
25504
25505
25506 else
25507 :
25508
25509 fi
25510 done
25511
25512 else
25513
25514 for wx_func in strtoull
25515 do
25516 echo "$as_me:$LINENO: checking for $wx_func" >&5
25517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
25518 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 else
25521
25522 cat >conftest.$ac_ext <<_ACEOF
25523
25524 /* confdefs.h. */
25525 _ACEOF
25526 cat confdefs.h >>conftest.$ac_ext
25527 cat >>conftest.$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529
25530
25531 $ac_includes_default
25532
25533 int
25534 main ()
25535 {
25536
25537 #ifndef $wx_func
25538 &$wx_func;
25539 #endif
25540
25541
25542 ;
25543 return 0;
25544 }
25545
25546 _ACEOF
25547 rm -f conftest.$ac_objext conftest$ac_exeext
25548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25549 (eval $ac_link) 2>conftest.er1
25550 ac_status=$?
25551 grep -v '^ *+' conftest.er1 >conftest.err
25552 rm -f conftest.er1
25553 cat conftest.err >&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); } &&
25556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558 (eval $ac_try) 2>&5
25559 ac_status=$?
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); }; } &&
25562 { ac_try='test -s conftest$ac_exeext'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25565 ac_status=$?
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; }; then
25568 eval wx_cv_func_$wx_func=yes
25569 else
25570 echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.$ac_ext >&5
25572
25573 eval wx_cv_func_$wx_func=no
25574 fi
25575 rm -f conftest.err conftest.$ac_objext \
25576 conftest$ac_exeext conftest.$ac_ext
25577
25578 fi
25579 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
25580 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
25581
25582 if eval test \$wx_cv_func_$wx_func = yes
25583 then
25584 cat >>confdefs.h <<_ACEOF
25585 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25586 _ACEOF
25587
25588
25589 else
25590 :
25591
25592 fi
25593 done
25594
25595 fi
25596
25597
25598
25599 if test "$wxUSE_REGEX" != "no"; then
25600 cat >>confdefs.h <<\_ACEOF
25601 #define wxUSE_REGEX 1
25602 _ACEOF
25603
25604
25605 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25606 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25607 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25608 wxUSE_REGEX=builtin
25609 fi
25610
25611 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25612 if test "${ac_cv_header_regex_h+set}" = set; then
25613 echo "$as_me:$LINENO: checking for regex.h" >&5
25614 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25615 if test "${ac_cv_header_regex_h+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 fi
25618 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25619 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25620 else
25621 # Is the header compilable?
25622 echo "$as_me:$LINENO: checking regex.h usability" >&5
25623 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 $ac_includes_default
25631 #include <regex.h>
25632 _ACEOF
25633 rm -f conftest.$ac_objext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25635 (eval $ac_compile) 2>conftest.er1
25636 ac_status=$?
25637 grep -v '^ *+' conftest.er1 >conftest.err
25638 rm -f conftest.er1
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25644 (eval $ac_try) 2>&5
25645 ac_status=$?
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); }; } &&
25648 { ac_try='test -s conftest.$ac_objext'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25651 ac_status=$?
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; }; then
25654 ac_header_compiler=yes
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 ac_header_compiler=no
25660 fi
25661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25663 echo "${ECHO_T}$ac_header_compiler" >&6
25664
25665 # Is the header present?
25666 echo "$as_me:$LINENO: checking regex.h presence" >&5
25667 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25668 cat >conftest.$ac_ext <<_ACEOF
25669 /* confdefs.h. */
25670 _ACEOF
25671 cat confdefs.h >>conftest.$ac_ext
25672 cat >>conftest.$ac_ext <<_ACEOF
25673 /* end confdefs.h. */
25674 #include <regex.h>
25675 _ACEOF
25676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25678 ac_status=$?
25679 grep -v '^ *+' conftest.er1 >conftest.err
25680 rm -f conftest.er1
25681 cat conftest.err >&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); } >/dev/null; then
25684 if test -s conftest.err; then
25685 ac_cpp_err=$ac_c_preproc_warn_flag
25686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25687 else
25688 ac_cpp_err=
25689 fi
25690 else
25691 ac_cpp_err=yes
25692 fi
25693 if test -z "$ac_cpp_err"; then
25694 ac_header_preproc=yes
25695 else
25696 echo "$as_me: failed program was:" >&5
25697 sed 's/^/| /' conftest.$ac_ext >&5
25698
25699 ac_header_preproc=no
25700 fi
25701 rm -f conftest.err conftest.$ac_ext
25702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25703 echo "${ECHO_T}$ac_header_preproc" >&6
25704
25705 # So? What about this header?
25706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25707 yes:no: )
25708 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25709 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25711 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25712 ac_header_preproc=yes
25713 ;;
25714 no:yes:* )
25715 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25716 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25717 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25718 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25719 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25720 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25721 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25722 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25723 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25724 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25725 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25726 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25727 (
25728 cat <<\_ASBOX
25729 ## ----------------------------------------- ##
25730 ## Report this to wx-dev@lists.wxwidgets.org ##
25731 ## ----------------------------------------- ##
25732 _ASBOX
25733 ) |
25734 sed "s/^/$as_me: WARNING: /" >&2
25735 ;;
25736 esac
25737 echo "$as_me:$LINENO: checking for regex.h" >&5
25738 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25739 if test "${ac_cv_header_regex_h+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 else
25742 ac_cv_header_regex_h=$ac_header_preproc
25743 fi
25744 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25745 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25746
25747 fi
25748 if test $ac_cv_header_regex_h = yes; then
25749
25750
25751 for ac_func in regcomp re_search
25752 do
25753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25754 echo "$as_me:$LINENO: checking for $ac_func" >&5
25755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25756 if eval "test \"\${$as_ac_var+set}\" = set"; then
25757 echo $ECHO_N "(cached) $ECHO_C" >&6
25758 else
25759 cat >conftest.$ac_ext <<_ACEOF
25760 /* confdefs.h. */
25761 _ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25767 #define $ac_func innocuous_$ac_func
25768
25769 /* System header to define __stub macros and hopefully few prototypes,
25770 which can conflict with char $ac_func (); below.
25771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25772 <limits.h> exists even on freestanding compilers. */
25773
25774 #ifdef __STDC__
25775 # include <limits.h>
25776 #else
25777 # include <assert.h>
25778 #endif
25779
25780 #undef $ac_func
25781
25782 /* Override any gcc2 internal prototype to avoid an error. */
25783 #ifdef __cplusplus
25784 extern "C"
25785 {
25786 #endif
25787 /* We use char because int might match the return type of a gcc2
25788 builtin and then its argument prototype would still apply. */
25789 char $ac_func ();
25790 /* The GNU C library defines this for functions which it implements
25791 to always fail with ENOSYS. Some functions are actually named
25792 something starting with __ and the normal name is an alias. */
25793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25794 choke me
25795 #else
25796 char (*f) () = $ac_func;
25797 #endif
25798 #ifdef __cplusplus
25799 }
25800 #endif
25801
25802 int
25803 main ()
25804 {
25805 return f != $ac_func;
25806 ;
25807 return 0;
25808 }
25809 _ACEOF
25810 rm -f conftest.$ac_objext conftest$ac_exeext
25811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25812 (eval $ac_link) 2>conftest.er1
25813 ac_status=$?
25814 grep -v '^ *+' conftest.er1 >conftest.err
25815 rm -f conftest.er1
25816 cat conftest.err >&5
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); } &&
25819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25821 (eval $ac_try) 2>&5
25822 ac_status=$?
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); }; } &&
25825 { ac_try='test -s conftest$ac_exeext'
25826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827 (eval $ac_try) 2>&5
25828 ac_status=$?
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); }; }; then
25831 eval "$as_ac_var=yes"
25832 else
25833 echo "$as_me: failed program was:" >&5
25834 sed 's/^/| /' conftest.$ac_ext >&5
25835
25836 eval "$as_ac_var=no"
25837 fi
25838 rm -f conftest.err conftest.$ac_objext \
25839 conftest$ac_exeext conftest.$ac_ext
25840 fi
25841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25843 if test `eval echo '${'$as_ac_var'}'` = yes; then
25844 cat >>confdefs.h <<_ACEOF
25845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25846 _ACEOF
25847
25848 fi
25849 done
25850
25851 fi
25852
25853
25854
25855 if test "x$ac_cv_func_regcomp" != "xyes"; then
25856 if test "$wxUSE_REGEX" = "sys" ; then
25857 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25858 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25859 { (exit 1); exit 1; }; }
25860 else
25861 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25862 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25863 wxUSE_REGEX=builtin
25864 fi
25865 else
25866 wxUSE_REGEX=sys
25867 cat >>confdefs.h <<\_ACEOF
25868 #define WX_NO_REGEX_ADVANCED 1
25869 _ACEOF
25870
25871 fi
25872 fi
25873 fi
25874
25875
25876 ZLIB_LINK=
25877 if test "$wxUSE_ZLIB" != "no" ; then
25878 cat >>confdefs.h <<\_ACEOF
25879 #define wxUSE_ZLIB 1
25880 _ACEOF
25881
25882
25883 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25884 if test "$USE_DARWIN" = 1; then
25885 system_zlib_h_ok="yes"
25886 else
25887 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25888 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25889 if test "${ac_cv_header_zlib_h+set}" = set; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25892 if test "$cross_compiling" = yes; then
25893 unset ac_cv_header_zlib_h
25894
25895 else
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h. */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25902
25903 #include <zlib.h>
25904 #include <stdio.h>
25905
25906 int main()
25907 {
25908 FILE *f=fopen("conftestval", "w");
25909 if (!f) exit(1);
25910 fprintf(f, "%s",
25911 ZLIB_VERSION[0] == '1' &&
25912 (ZLIB_VERSION[2] > '1' ||
25913 (ZLIB_VERSION[2] == '1' &&
25914 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25915 exit(0);
25916 }
25917
25918 _ACEOF
25919 rm -f conftest$ac_exeext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25921 (eval $ac_link) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25927 ac_status=$?
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; }; then
25930 ac_cv_header_zlib_h=`cat conftestval`
25931 else
25932 echo "$as_me: program exited with status $ac_status" >&5
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.$ac_ext >&5
25935
25936 ( exit $ac_status )
25937 ac_cv_header_zlib_h=no
25938 fi
25939 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25940 fi
25941
25942 fi
25943 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25944 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25945 if test "${ac_cv_header_zlib_h+set}" = set; then
25946 echo "$as_me:$LINENO: checking for zlib.h" >&5
25947 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25948 if test "${ac_cv_header_zlib_h+set}" = set; then
25949 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 fi
25951 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25952 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25953 else
25954 # Is the header compilable?
25955 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25956 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25957 cat >conftest.$ac_ext <<_ACEOF
25958 /* confdefs.h. */
25959 _ACEOF
25960 cat confdefs.h >>conftest.$ac_ext
25961 cat >>conftest.$ac_ext <<_ACEOF
25962 /* end confdefs.h. */
25963 $ac_includes_default
25964 #include <zlib.h>
25965 _ACEOF
25966 rm -f conftest.$ac_objext
25967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25968 (eval $ac_compile) 2>conftest.er1
25969 ac_status=$?
25970 grep -v '^ *+' conftest.er1 >conftest.err
25971 rm -f conftest.er1
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } &&
25975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25977 (eval $ac_try) 2>&5
25978 ac_status=$?
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); }; } &&
25981 { ac_try='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 ac_header_compiler=yes
25988 else
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.$ac_ext >&5
25991
25992 ac_header_compiler=no
25993 fi
25994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25996 echo "${ECHO_T}$ac_header_compiler" >&6
25997
25998 # Is the header present?
25999 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26000 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26001 cat >conftest.$ac_ext <<_ACEOF
26002 /* confdefs.h. */
26003 _ACEOF
26004 cat confdefs.h >>conftest.$ac_ext
26005 cat >>conftest.$ac_ext <<_ACEOF
26006 /* end confdefs.h. */
26007 #include <zlib.h>
26008 _ACEOF
26009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26011 ac_status=$?
26012 grep -v '^ *+' conftest.er1 >conftest.err
26013 rm -f conftest.er1
26014 cat conftest.err >&5
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); } >/dev/null; then
26017 if test -s conftest.err; then
26018 ac_cpp_err=$ac_c_preproc_warn_flag
26019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26020 else
26021 ac_cpp_err=
26022 fi
26023 else
26024 ac_cpp_err=yes
26025 fi
26026 if test -z "$ac_cpp_err"; then
26027 ac_header_preproc=yes
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 ac_header_preproc=no
26033 fi
26034 rm -f conftest.err conftest.$ac_ext
26035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26036 echo "${ECHO_T}$ac_header_preproc" >&6
26037
26038 # So? What about this header?
26039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26040 yes:no: )
26041 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26042 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26044 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26045 ac_header_preproc=yes
26046 ;;
26047 no:yes:* )
26048 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26049 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26050 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26051 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26053 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26054 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26055 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26056 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26057 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26058 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26059 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26060 (
26061 cat <<\_ASBOX
26062 ## ----------------------------------------- ##
26063 ## Report this to wx-dev@lists.wxwidgets.org ##
26064 ## ----------------------------------------- ##
26065 _ASBOX
26066 ) |
26067 sed "s/^/$as_me: WARNING: /" >&2
26068 ;;
26069 esac
26070 echo "$as_me:$LINENO: checking for zlib.h" >&5
26071 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26072 if test "${ac_cv_header_zlib_h+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26075 ac_cv_header_zlib_h=$ac_header_preproc
26076 fi
26077 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26078 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26079
26080 fi
26081
26082
26083
26084 system_zlib_h_ok=$ac_cv_header_zlib_h
26085 fi
26086
26087 if test "$system_zlib_h_ok" = "yes"; then
26088 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26089 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26090 if test "${ac_cv_lib_z_deflate+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093 ac_check_lib_save_LIBS=$LIBS
26094 LIBS="-lz $LIBS"
26095 cat >conftest.$ac_ext <<_ACEOF
26096 /* confdefs.h. */
26097 _ACEOF
26098 cat confdefs.h >>conftest.$ac_ext
26099 cat >>conftest.$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26101
26102 /* Override any gcc2 internal prototype to avoid an error. */
26103 #ifdef __cplusplus
26104 extern "C"
26105 #endif
26106 /* We use char because int might match the return type of a gcc2
26107 builtin and then its argument prototype would still apply. */
26108 char deflate ();
26109 int
26110 main ()
26111 {
26112 deflate ();
26113 ;
26114 return 0;
26115 }
26116 _ACEOF
26117 rm -f conftest.$ac_objext conftest$ac_exeext
26118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26119 (eval $ac_link) 2>conftest.er1
26120 ac_status=$?
26121 grep -v '^ *+' conftest.er1 >conftest.err
26122 rm -f conftest.er1
26123 cat conftest.err >&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } &&
26126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26129 ac_status=$?
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; } &&
26132 { ac_try='test -s conftest$ac_exeext'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26135 ac_status=$?
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 ac_cv_lib_z_deflate=yes
26139 else
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26142
26143 ac_cv_lib_z_deflate=no
26144 fi
26145 rm -f conftest.err conftest.$ac_objext \
26146 conftest$ac_exeext conftest.$ac_ext
26147 LIBS=$ac_check_lib_save_LIBS
26148 fi
26149 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26150 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26151 if test $ac_cv_lib_z_deflate = yes; then
26152 ZLIB_LINK=" -lz"
26153 fi
26154
26155 fi
26156
26157 if test "x$ZLIB_LINK" = "x" ; then
26158 if test "$wxUSE_ZLIB" = "sys" ; then
26159 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26160 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26161 { (exit 1); exit 1; }; }
26162 else
26163 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26164 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26165 wxUSE_ZLIB=builtin
26166 fi
26167 else
26168 wxUSE_ZLIB=sys
26169 fi
26170 fi
26171 fi
26172
26173
26174 PNG_LINK=
26175 if test "$wxUSE_LIBPNG" != "no" ; then
26176 cat >>confdefs.h <<\_ACEOF
26177 #define wxUSE_LIBPNG 1
26178 _ACEOF
26179
26180
26181 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26182 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26183 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26184 wxUSE_LIBPNG=sys
26185 fi
26186
26187 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26188 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26189 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26190 wxUSE_LIBPNG=builtin
26191 fi
26192
26193 if test "$wxUSE_MGL" != 1 ; then
26194 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26195 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26196 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26197 if test "${ac_cv_header_png_h+set}" = set; then
26198 echo $ECHO_N "(cached) $ECHO_C" >&6
26199 else
26200 if test "$cross_compiling" = yes; then
26201 unset ac_cv_header_png_h
26202
26203 else
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26210
26211 #include <png.h>
26212 #include <stdio.h>
26213
26214 int main()
26215 {
26216 FILE *f=fopen("conftestval", "w");
26217 if (!f) exit(1);
26218 fprintf(f, "%s",
26219 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26220 exit(0);
26221 }
26222
26223 _ACEOF
26224 rm -f conftest$ac_exeext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26226 (eval $ac_link) 2>&5
26227 ac_status=$?
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231 (eval $ac_try) 2>&5
26232 ac_status=$?
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); }; }; then
26235 ac_cv_header_png_h=`cat conftestval`
26236 else
26237 echo "$as_me: program exited with status $ac_status" >&5
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.$ac_ext >&5
26240
26241 ( exit $ac_status )
26242 ac_cv_header_png_h=no
26243 fi
26244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26245 fi
26246
26247 fi
26248 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26249 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26250 if test "${ac_cv_header_png_h+set}" = set; then
26251 echo "$as_me:$LINENO: checking for png.h" >&5
26252 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26253 if test "${ac_cv_header_png_h+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 fi
26256 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26257 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26258 else
26259 # Is the header compilable?
26260 echo "$as_me:$LINENO: checking png.h usability" >&5
26261 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26262 cat >conftest.$ac_ext <<_ACEOF
26263 /* confdefs.h. */
26264 _ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 $ac_includes_default
26269 #include <png.h>
26270 _ACEOF
26271 rm -f conftest.$ac_objext
26272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26273 (eval $ac_compile) 2>conftest.er1
26274 ac_status=$?
26275 grep -v '^ *+' conftest.er1 >conftest.err
26276 rm -f conftest.er1
26277 cat conftest.err >&5
26278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26279 (exit $ac_status); } &&
26280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26282 (eval $ac_try) 2>&5
26283 ac_status=$?
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; } &&
26286 { ac_try='test -s conftest.$ac_objext'
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 ac_header_compiler=yes
26293 else
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26296
26297 ac_header_compiler=no
26298 fi
26299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26301 echo "${ECHO_T}$ac_header_compiler" >&6
26302
26303 # Is the header present?
26304 echo "$as_me:$LINENO: checking png.h presence" >&5
26305 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26306 cat >conftest.$ac_ext <<_ACEOF
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 #include <png.h>
26313 _ACEOF
26314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26316 ac_status=$?
26317 grep -v '^ *+' conftest.er1 >conftest.err
26318 rm -f conftest.er1
26319 cat conftest.err >&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } >/dev/null; then
26322 if test -s conftest.err; then
26323 ac_cpp_err=$ac_c_preproc_warn_flag
26324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26325 else
26326 ac_cpp_err=
26327 fi
26328 else
26329 ac_cpp_err=yes
26330 fi
26331 if test -z "$ac_cpp_err"; then
26332 ac_header_preproc=yes
26333 else
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.$ac_ext >&5
26336
26337 ac_header_preproc=no
26338 fi
26339 rm -f conftest.err conftest.$ac_ext
26340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26341 echo "${ECHO_T}$ac_header_preproc" >&6
26342
26343 # So? What about this header?
26344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26345 yes:no: )
26346 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26347 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26349 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26350 ac_header_preproc=yes
26351 ;;
26352 no:yes:* )
26353 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26354 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26356 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26358 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26360 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26361 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26362 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26364 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26365 (
26366 cat <<\_ASBOX
26367 ## ----------------------------------------- ##
26368 ## Report this to wx-dev@lists.wxwidgets.org ##
26369 ## ----------------------------------------- ##
26370 _ASBOX
26371 ) |
26372 sed "s/^/$as_me: WARNING: /" >&2
26373 ;;
26374 esac
26375 echo "$as_me:$LINENO: checking for png.h" >&5
26376 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26377 if test "${ac_cv_header_png_h+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 else
26380 ac_cv_header_png_h=$ac_header_preproc
26381 fi
26382 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26383 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26384
26385 fi
26386
26387
26388
26389 if test "$ac_cv_header_png_h" = "yes"; then
26390 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26391 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26392 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395 ac_check_lib_save_LIBS=$LIBS
26396 LIBS="-lpng -lz -lm $LIBS"
26397 cat >conftest.$ac_ext <<_ACEOF
26398 /* confdefs.h. */
26399 _ACEOF
26400 cat confdefs.h >>conftest.$ac_ext
26401 cat >>conftest.$ac_ext <<_ACEOF
26402 /* end confdefs.h. */
26403
26404 /* Override any gcc2 internal prototype to avoid an error. */
26405 #ifdef __cplusplus
26406 extern "C"
26407 #endif
26408 /* We use char because int might match the return type of a gcc2
26409 builtin and then its argument prototype would still apply. */
26410 char png_check_sig ();
26411 int
26412 main ()
26413 {
26414 png_check_sig ();
26415 ;
26416 return 0;
26417 }
26418 _ACEOF
26419 rm -f conftest.$ac_objext conftest$ac_exeext
26420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26421 (eval $ac_link) 2>conftest.er1
26422 ac_status=$?
26423 grep -v '^ *+' conftest.er1 >conftest.err
26424 rm -f conftest.er1
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; } &&
26434 { ac_try='test -s conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 ac_cv_lib_png_png_check_sig=yes
26441 else
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26444
26445 ac_cv_lib_png_png_check_sig=no
26446 fi
26447 rm -f conftest.err conftest.$ac_objext \
26448 conftest$ac_exeext conftest.$ac_ext
26449 LIBS=$ac_check_lib_save_LIBS
26450 fi
26451 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26452 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26453 if test $ac_cv_lib_png_png_check_sig = yes; then
26454 PNG_LINK=" -lpng -lz"
26455 fi
26456
26457 fi
26458
26459 if test "x$PNG_LINK" = "x" ; then
26460 if test "$wxUSE_LIBPNG" = "sys" ; then
26461 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26462 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26463 { (exit 1); exit 1; }; }
26464 else
26465 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26466 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26467 wxUSE_LIBPNG=builtin
26468 fi
26469 else
26470 wxUSE_LIBPNG=sys
26471 fi
26472 fi
26473 fi
26474
26475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26476 fi
26477
26478
26479 JPEG_LINK=
26480 if test "$wxUSE_LIBJPEG" != "no" ; then
26481 cat >>confdefs.h <<\_ACEOF
26482 #define wxUSE_LIBJPEG 1
26483 _ACEOF
26484
26485
26486 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26487 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26488 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26489 wxUSE_LIBJPEG=sys
26490 fi
26491
26492 if test "$wxUSE_MGL" != 1 ; then
26493 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26494 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26495 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26496 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 else
26499 cat >conftest.$ac_ext <<_ACEOF
26500 /* confdefs.h. */
26501 _ACEOF
26502 cat confdefs.h >>conftest.$ac_ext
26503 cat >>conftest.$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26505
26506 #undef HAVE_STDLIB_H
26507 #include <stdio.h>
26508 #include <jpeglib.h>
26509
26510 int
26511 main ()
26512 {
26513
26514
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26522 ac_status=$?
26523 grep -v '^ *+' conftest.er1 >conftest.err
26524 rm -f conftest.er1
26525 cat conftest.err >&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest.$ac_objext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 ac_cv_header_jpeglib_h=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26544
26545 ac_cv_header_jpeglib_h=no
26546
26547 fi
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549
26550 fi
26551
26552 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26553 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26554
26555 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26556 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26557 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26558 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 else
26561 ac_check_lib_save_LIBS=$LIBS
26562 LIBS="-ljpeg $LIBS"
26563 cat >conftest.$ac_ext <<_ACEOF
26564 /* confdefs.h. */
26565 _ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569
26570 /* Override any gcc2 internal prototype to avoid an error. */
26571 #ifdef __cplusplus
26572 extern "C"
26573 #endif
26574 /* We use char because int might match the return type of a gcc2
26575 builtin and then its argument prototype would still apply. */
26576 char jpeg_read_header ();
26577 int
26578 main ()
26579 {
26580 jpeg_read_header ();
26581 ;
26582 return 0;
26583 }
26584 _ACEOF
26585 rm -f conftest.$ac_objext conftest$ac_exeext
26586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26587 (eval $ac_link) 2>conftest.er1
26588 ac_status=$?
26589 grep -v '^ *+' conftest.er1 >conftest.err
26590 rm -f conftest.er1
26591 cat conftest.err >&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } &&
26594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26597 ac_status=$?
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; } &&
26600 { ac_try='test -s conftest$ac_exeext'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26603 ac_status=$?
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; }; then
26606 ac_cv_lib_jpeg_jpeg_read_header=yes
26607 else
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26610
26611 ac_cv_lib_jpeg_jpeg_read_header=no
26612 fi
26613 rm -f conftest.err conftest.$ac_objext \
26614 conftest$ac_exeext conftest.$ac_ext
26615 LIBS=$ac_check_lib_save_LIBS
26616 fi
26617 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26618 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26619 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26620 JPEG_LINK=" -ljpeg"
26621 fi
26622
26623 fi
26624
26625 if test "x$JPEG_LINK" = "x" ; then
26626 if test "$wxUSE_LIBJPEG" = "sys" ; then
26627 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26628 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26629 { (exit 1); exit 1; }; }
26630 else
26631 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26632 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26633 wxUSE_LIBJPEG=builtin
26634 fi
26635 else
26636 wxUSE_LIBJPEG=sys
26637 fi
26638 fi
26639 fi
26640 fi
26641
26642
26643 TIFF_LINK=
26644 TIFF_PREREQ_LINKS=-lm
26645 if test "$wxUSE_LIBTIFF" != "no" ; then
26646 cat >>confdefs.h <<\_ACEOF
26647 #define wxUSE_LIBTIFF 1
26648 _ACEOF
26649
26650
26651 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26652 if test "$wxUSE_LIBJPEG" = "sys"; then
26653 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26654 fi
26655 if test "$wxUSE_ZLIB" = "sys"; then
26656 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26657 fi
26658 if test "${ac_cv_header_tiffio_h+set}" = set; then
26659 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26660 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26661 if test "${ac_cv_header_tiffio_h+set}" = set; then
26662 echo $ECHO_N "(cached) $ECHO_C" >&6
26663 fi
26664 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26665 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26666 else
26667 # Is the header compilable?
26668 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26669 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26670 cat >conftest.$ac_ext <<_ACEOF
26671 /* confdefs.h. */
26672 _ACEOF
26673 cat confdefs.h >>conftest.$ac_ext
26674 cat >>conftest.$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26676 $ac_includes_default
26677 #include <tiffio.h>
26678 _ACEOF
26679 rm -f conftest.$ac_objext
26680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26681 (eval $ac_compile) 2>conftest.er1
26682 ac_status=$?
26683 grep -v '^ *+' conftest.er1 >conftest.err
26684 rm -f conftest.er1
26685 cat conftest.err >&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26691 ac_status=$?
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; } &&
26694 { ac_try='test -s conftest.$ac_objext'
26695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696 (eval $ac_try) 2>&5
26697 ac_status=$?
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); }; }; then
26700 ac_header_compiler=yes
26701 else
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705 ac_header_compiler=no
26706 fi
26707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26709 echo "${ECHO_T}$ac_header_compiler" >&6
26710
26711 # Is the header present?
26712 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26713 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26714 cat >conftest.$ac_ext <<_ACEOF
26715 /* confdefs.h. */
26716 _ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26720 #include <tiffio.h>
26721 _ACEOF
26722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26724 ac_status=$?
26725 grep -v '^ *+' conftest.er1 >conftest.err
26726 rm -f conftest.er1
26727 cat conftest.err >&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } >/dev/null; then
26730 if test -s conftest.err; then
26731 ac_cpp_err=$ac_c_preproc_warn_flag
26732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26733 else
26734 ac_cpp_err=
26735 fi
26736 else
26737 ac_cpp_err=yes
26738 fi
26739 if test -z "$ac_cpp_err"; then
26740 ac_header_preproc=yes
26741 else
26742 echo "$as_me: failed program was:" >&5
26743 sed 's/^/| /' conftest.$ac_ext >&5
26744
26745 ac_header_preproc=no
26746 fi
26747 rm -f conftest.err conftest.$ac_ext
26748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26749 echo "${ECHO_T}$ac_header_preproc" >&6
26750
26751 # So? What about this header?
26752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26753 yes:no: )
26754 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26755 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26757 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26758 ac_header_preproc=yes
26759 ;;
26760 no:yes:* )
26761 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26762 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26764 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26766 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26768 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26769 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26770 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26772 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26773 (
26774 cat <<\_ASBOX
26775 ## ----------------------------------------- ##
26776 ## Report this to wx-dev@lists.wxwidgets.org ##
26777 ## ----------------------------------------- ##
26778 _ASBOX
26779 ) |
26780 sed "s/^/$as_me: WARNING: /" >&2
26781 ;;
26782 esac
26783 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26784 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26785 if test "${ac_cv_header_tiffio_h+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26788 ac_cv_header_tiffio_h=$ac_header_preproc
26789 fi
26790 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26791 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26792
26793 fi
26794 if test $ac_cv_header_tiffio_h = yes; then
26795
26796 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26797 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26798 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 /* Override any gcc2 internal prototype to avoid an error. */
26811 #ifdef __cplusplus
26812 extern "C"
26813 #endif
26814 /* We use char because int might match the return type of a gcc2
26815 builtin and then its argument prototype would still apply. */
26816 char TIFFError ();
26817 int
26818 main ()
26819 {
26820 TIFFError ();
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26827 (eval $ac_link) 2>conftest.er1
26828 ac_status=$?
26829 grep -v '^ *+' conftest.er1 >conftest.err
26830 rm -f conftest.er1
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } &&
26834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26836 (eval $ac_try) 2>&5
26837 ac_status=$?
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); }; } &&
26840 { ac_try='test -s conftest$ac_exeext'
26841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26842 (eval $ac_try) 2>&5
26843 ac_status=$?
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); }; }; then
26846 ac_cv_lib_tiff_TIFFError=yes
26847 else
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26850
26851 ac_cv_lib_tiff_TIFFError=no
26852 fi
26853 rm -f conftest.err conftest.$ac_objext \
26854 conftest$ac_exeext conftest.$ac_ext
26855 LIBS=$ac_check_lib_save_LIBS
26856 fi
26857 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26858 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26859 if test $ac_cv_lib_tiff_TIFFError = yes; then
26860 TIFF_LINK=" -ltiff"
26861 fi
26862
26863
26864
26865 fi
26866
26867
26868
26869 if test "x$TIFF_LINK" = "x" ; then
26870 if test "$wxUSE_LIBTIFF" = "sys" ; then
26871 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26872 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26873 { (exit 1); exit 1; }; }
26874 else
26875 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26876 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26877 wxUSE_LIBTIFF=builtin
26878 fi
26879 else
26880 wxUSE_LIBTIFF=sys
26881 fi
26882 fi
26883 fi
26884
26885
26886 if test "$wxUSE_WCHAR_T" != "yes"; then
26887 if test "$wxUSE_EXPAT" != "no"; then
26888 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26889 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26890 wxUSE_EXPAT=no
26891 fi
26892 if test "$wxUSE_XML" != "no"; then
26893 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26894 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26895 wxUSE_XML=no
26896 fi
26897 fi
26898
26899 if test "$wxUSE_EXPAT" != "no"; then
26900 wxUSE_XML=yes
26901 cat >>confdefs.h <<\_ACEOF
26902 #define wxUSE_EXPAT 1
26903 _ACEOF
26904
26905 cat >>confdefs.h <<\_ACEOF
26906 #define wxUSE_XML 1
26907 _ACEOF
26908
26909
26910 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26911 if test "${ac_cv_header_expat_h+set}" = set; then
26912 echo "$as_me:$LINENO: checking for expat.h" >&5
26913 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26914 if test "${ac_cv_header_expat_h+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 fi
26917 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26918 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26919 else
26920 # Is the header compilable?
26921 echo "$as_me:$LINENO: checking expat.h usability" >&5
26922 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 $ac_includes_default
26930 #include <expat.h>
26931 _ACEOF
26932 rm -f conftest.$ac_objext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26934 (eval $ac_compile) 2>conftest.er1
26935 ac_status=$?
26936 grep -v '^ *+' conftest.er1 >conftest.err
26937 rm -f conftest.er1
26938 cat conftest.err >&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26944 ac_status=$?
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try='test -s conftest.$ac_objext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_header_compiler=yes
26954 else
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26957
26958 ac_header_compiler=no
26959 fi
26960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26962 echo "${ECHO_T}$ac_header_compiler" >&6
26963
26964 # Is the header present?
26965 echo "$as_me:$LINENO: checking expat.h presence" >&5
26966 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26967 cat >conftest.$ac_ext <<_ACEOF
26968 /* confdefs.h. */
26969 _ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 #include <expat.h>
26974 _ACEOF
26975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26977 ac_status=$?
26978 grep -v '^ *+' conftest.er1 >conftest.err
26979 rm -f conftest.er1
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } >/dev/null; then
26983 if test -s conftest.err; then
26984 ac_cpp_err=$ac_c_preproc_warn_flag
26985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26986 else
26987 ac_cpp_err=
26988 fi
26989 else
26990 ac_cpp_err=yes
26991 fi
26992 if test -z "$ac_cpp_err"; then
26993 ac_header_preproc=yes
26994 else
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26997
26998 ac_header_preproc=no
26999 fi
27000 rm -f conftest.err conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27002 echo "${ECHO_T}$ac_header_preproc" >&6
27003
27004 # So? What about this header?
27005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27006 yes:no: )
27007 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27008 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27010 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27011 ac_header_preproc=yes
27012 ;;
27013 no:yes:* )
27014 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27015 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27016 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27017 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27018 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27019 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27020 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27021 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27022 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27023 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27024 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27025 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27026 (
27027 cat <<\_ASBOX
27028 ## ----------------------------------------- ##
27029 ## Report this to wx-dev@lists.wxwidgets.org ##
27030 ## ----------------------------------------- ##
27031 _ASBOX
27032 ) |
27033 sed "s/^/$as_me: WARNING: /" >&2
27034 ;;
27035 esac
27036 echo "$as_me:$LINENO: checking for expat.h" >&5
27037 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27038 if test "${ac_cv_header_expat_h+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27041 ac_cv_header_expat_h=$ac_header_preproc
27042 fi
27043 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27044 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27045
27046 fi
27047 if test $ac_cv_header_expat_h = yes; then
27048 found_expat_h=1
27049 fi
27050
27051
27052 if test "x$found_expat_h" = "x1"; then
27053 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27054 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27055 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27056 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 else
27058
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <expat.h>
27066 int
27067 main ()
27068 {
27069
27070 ;
27071 return 0;
27072 }
27073 _ACEOF
27074 rm -f conftest.$ac_objext
27075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27076 (eval $ac_compile) 2>conftest.er1
27077 ac_status=$?
27078 grep -v '^ *+' conftest.er1 >conftest.err
27079 rm -f conftest.er1
27080 cat conftest.err >&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest.$ac_objext'
27090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091 (eval $ac_try) 2>&5
27092 ac_status=$?
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); }; }; then
27095 wx_cv_expat_is_not_broken=yes
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27099
27100 wx_cv_expat_is_not_broken=no
27101
27102 fi
27103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27104
27105
27106 fi
27107 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27108 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27109 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27110 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27111 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27112 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 else
27115 ac_check_lib_save_LIBS=$LIBS
27116 LIBS="-lexpat $LIBS"
27117 cat >conftest.$ac_ext <<_ACEOF
27118 /* confdefs.h. */
27119 _ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27123
27124 /* Override any gcc2 internal prototype to avoid an error. */
27125 #ifdef __cplusplus
27126 extern "C"
27127 #endif
27128 /* We use char because int might match the return type of a gcc2
27129 builtin and then its argument prototype would still apply. */
27130 char XML_ParserCreate ();
27131 int
27132 main ()
27133 {
27134 XML_ParserCreate ();
27135 ;
27136 return 0;
27137 }
27138 _ACEOF
27139 rm -f conftest.$ac_objext conftest$ac_exeext
27140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27141 (eval $ac_link) 2>conftest.er1
27142 ac_status=$?
27143 grep -v '^ *+' conftest.er1 >conftest.err
27144 rm -f conftest.er1
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27151 ac_status=$?
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; } &&
27154 { ac_try='test -s conftest$ac_exeext'
27155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27156 (eval $ac_try) 2>&5
27157 ac_status=$?
27158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 (exit $ac_status); }; }; then
27160 ac_cv_lib_expat_XML_ParserCreate=yes
27161 else
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27164
27165 ac_cv_lib_expat_XML_ParserCreate=no
27166 fi
27167 rm -f conftest.err conftest.$ac_objext \
27168 conftest$ac_exeext conftest.$ac_ext
27169 LIBS=$ac_check_lib_save_LIBS
27170 fi
27171 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27172 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27173 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27174 EXPAT_LINK=" -lexpat"
27175 fi
27176
27177 fi
27178 fi
27179 if test "x$EXPAT_LINK" = "x" ; then
27180 if test "$wxUSE_EXPAT" = "sys" ; then
27181 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27182 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27183 { (exit 1); exit 1; }; }
27184 else
27185 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27186 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27187 wxUSE_EXPAT=builtin
27188 fi
27189 else
27190 wxUSE_EXPAT=sys
27191 fi
27192 fi
27193 if test "$wxUSE_EXPAT" = "builtin" ; then
27194
27195
27196 subdirs="$subdirs src/expat"
27197
27198 fi
27199 fi
27200
27201
27202
27203 if test "$wxUSE_LIBMSPACK" != "no"; then
27204 if test "${ac_cv_header_mspack_h+set}" = set; then
27205 echo "$as_me:$LINENO: checking for mspack.h" >&5
27206 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27207 if test "${ac_cv_header_mspack_h+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27209 fi
27210 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27211 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27212 else
27213 # Is the header compilable?
27214 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27215 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27216 cat >conftest.$ac_ext <<_ACEOF
27217 /* confdefs.h. */
27218 _ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222 $ac_includes_default
27223 #include <mspack.h>
27224 _ACEOF
27225 rm -f conftest.$ac_objext
27226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27227 (eval $ac_compile) 2>conftest.er1
27228 ac_status=$?
27229 grep -v '^ *+' conftest.er1 >conftest.err
27230 rm -f conftest.er1
27231 cat conftest.err >&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); } &&
27234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27236 (eval $ac_try) 2>&5
27237 ac_status=$?
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); }; } &&
27240 { ac_try='test -s conftest.$ac_objext'
27241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27242 (eval $ac_try) 2>&5
27243 ac_status=$?
27244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245 (exit $ac_status); }; }; then
27246 ac_header_compiler=yes
27247 else
27248 echo "$as_me: failed program was:" >&5
27249 sed 's/^/| /' conftest.$ac_ext >&5
27250
27251 ac_header_compiler=no
27252 fi
27253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27255 echo "${ECHO_T}$ac_header_compiler" >&6
27256
27257 # Is the header present?
27258 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27259 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27260 cat >conftest.$ac_ext <<_ACEOF
27261 /* confdefs.h. */
27262 _ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 #include <mspack.h>
27267 _ACEOF
27268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27270 ac_status=$?
27271 grep -v '^ *+' conftest.er1 >conftest.err
27272 rm -f conftest.er1
27273 cat conftest.err >&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } >/dev/null; then
27276 if test -s conftest.err; then
27277 ac_cpp_err=$ac_c_preproc_warn_flag
27278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27279 else
27280 ac_cpp_err=
27281 fi
27282 else
27283 ac_cpp_err=yes
27284 fi
27285 if test -z "$ac_cpp_err"; then
27286 ac_header_preproc=yes
27287 else
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27290
27291 ac_header_preproc=no
27292 fi
27293 rm -f conftest.err conftest.$ac_ext
27294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27295 echo "${ECHO_T}$ac_header_preproc" >&6
27296
27297 # So? What about this header?
27298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27299 yes:no: )
27300 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27301 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27303 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27304 ac_header_preproc=yes
27305 ;;
27306 no:yes:* )
27307 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27308 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27309 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27310 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27311 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27312 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27313 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27314 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27315 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27316 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27317 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27318 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27319 (
27320 cat <<\_ASBOX
27321 ## ----------------------------------------- ##
27322 ## Report this to wx-dev@lists.wxwidgets.org ##
27323 ## ----------------------------------------- ##
27324 _ASBOX
27325 ) |
27326 sed "s/^/$as_me: WARNING: /" >&2
27327 ;;
27328 esac
27329 echo "$as_me:$LINENO: checking for mspack.h" >&5
27330 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27331 if test "${ac_cv_header_mspack_h+set}" = set; then
27332 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 else
27334 ac_cv_header_mspack_h=$ac_header_preproc
27335 fi
27336 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27337 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27338
27339 fi
27340 if test $ac_cv_header_mspack_h = yes; then
27341 found_mspack_h=1
27342 fi
27343
27344
27345 if test "x$found_mspack_h" = "x1"; then
27346 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27347 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27348 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27349 echo $ECHO_N "(cached) $ECHO_C" >&6
27350 else
27351 ac_check_lib_save_LIBS=$LIBS
27352 LIBS="-lmspack $LIBS"
27353 cat >conftest.$ac_ext <<_ACEOF
27354 /* confdefs.h. */
27355 _ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359
27360 /* Override any gcc2 internal prototype to avoid an error. */
27361 #ifdef __cplusplus
27362 extern "C"
27363 #endif
27364 /* We use char because int might match the return type of a gcc2
27365 builtin and then its argument prototype would still apply. */
27366 char mspack_create_chm_decompressor ();
27367 int
27368 main ()
27369 {
27370 mspack_create_chm_decompressor ();
27371 ;
27372 return 0;
27373 }
27374 _ACEOF
27375 rm -f conftest.$ac_objext conftest$ac_exeext
27376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27377 (eval $ac_link) 2>conftest.er1
27378 ac_status=$?
27379 grep -v '^ *+' conftest.er1 >conftest.err
27380 rm -f conftest.er1
27381 cat conftest.err >&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); } &&
27384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27387 ac_status=$?
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; } &&
27390 { ac_try='test -s conftest$ac_exeext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27393 ac_status=$?
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27397 else
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27402 fi
27403 rm -f conftest.err conftest.$ac_objext \
27404 conftest$ac_exeext conftest.$ac_ext
27405 LIBS=$ac_check_lib_save_LIBS
27406 fi
27407 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27408 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27409 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27410 MSPACK_LINK=" -lmspack"
27411 fi
27412
27413 fi
27414 if test "x$MSPACK_LINK" = "x" ; then
27415 wxUSE_LIBMSPACK=no
27416 fi
27417 fi
27418
27419 if test "$wxUSE_LIBMSPACK" != "no"; then
27420 cat >>confdefs.h <<\_ACEOF
27421 #define wxUSE_LIBMSPACK 1
27422 _ACEOF
27423
27424 fi
27425
27426
27427
27428 AFMINSTALL=
27429 WIN32INSTALL=
27430
27431 TOOLKIT=
27432 TOOLKIT_INCLUDE=
27433 WIDGET_SET=
27434
27435 if test "$USE_WIN32" = 1 ; then
27436
27437 for ac_header in w32api.h
27438 do
27439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27441 echo "$as_me:$LINENO: checking for $ac_header" >&5
27442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27445 fi
27446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27448 else
27449 # Is the header compilable?
27450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27452 cat >conftest.$ac_ext <<_ACEOF
27453 /* confdefs.h. */
27454 _ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 $ac_includes_default
27459 #include <$ac_header>
27460 _ACEOF
27461 rm -f conftest.$ac_objext
27462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27463 (eval $ac_compile) 2>conftest.er1
27464 ac_status=$?
27465 grep -v '^ *+' conftest.er1 >conftest.err
27466 rm -f conftest.er1
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; } &&
27476 { ac_try='test -s conftest.$ac_objext'
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27479 ac_status=$?
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; }; then
27482 ac_header_compiler=yes
27483 else
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27486
27487 ac_header_compiler=no
27488 fi
27489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27491 echo "${ECHO_T}$ac_header_compiler" >&6
27492
27493 # Is the header present?
27494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27496 cat >conftest.$ac_ext <<_ACEOF
27497 /* confdefs.h. */
27498 _ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502 #include <$ac_header>
27503 _ACEOF
27504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27506 ac_status=$?
27507 grep -v '^ *+' conftest.er1 >conftest.err
27508 rm -f conftest.er1
27509 cat conftest.err >&5
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); } >/dev/null; then
27512 if test -s conftest.err; then
27513 ac_cpp_err=$ac_c_preproc_warn_flag
27514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27515 else
27516 ac_cpp_err=
27517 fi
27518 else
27519 ac_cpp_err=yes
27520 fi
27521 if test -z "$ac_cpp_err"; then
27522 ac_header_preproc=yes
27523 else
27524 echo "$as_me: failed program was:" >&5
27525 sed 's/^/| /' conftest.$ac_ext >&5
27526
27527 ac_header_preproc=no
27528 fi
27529 rm -f conftest.err conftest.$ac_ext
27530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27531 echo "${ECHO_T}$ac_header_preproc" >&6
27532
27533 # So? What about this header?
27534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27535 yes:no: )
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27540 ac_header_preproc=yes
27541 ;;
27542 no:yes:* )
27543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27555 (
27556 cat <<\_ASBOX
27557 ## ----------------------------------------- ##
27558 ## Report this to wx-dev@lists.wxwidgets.org ##
27559 ## ----------------------------------------- ##
27560 _ASBOX
27561 ) |
27562 sed "s/^/$as_me: WARNING: /" >&2
27563 ;;
27564 esac
27565 echo "$as_me:$LINENO: checking for $ac_header" >&5
27566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27568 echo $ECHO_N "(cached) $ECHO_C" >&6
27569 else
27570 eval "$as_ac_Header=\$ac_header_preproc"
27571 fi
27572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27574
27575 fi
27576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27577 cat >>confdefs.h <<_ACEOF
27578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27579 _ACEOF
27580
27581 fi
27582
27583 done
27584
27585 if test "${ac_cv_header_windows_h+set}" = set; then
27586 echo "$as_me:$LINENO: checking for windows.h" >&5
27587 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27588 if test "${ac_cv_header_windows_h+set}" = set; then
27589 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 fi
27591 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27592 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27593 else
27594 # Is the header compilable?
27595 echo "$as_me:$LINENO: checking windows.h usability" >&5
27596 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27597 cat >conftest.$ac_ext <<_ACEOF
27598 /* confdefs.h. */
27599 _ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27603 $ac_includes_default
27604 #include <windows.h>
27605 _ACEOF
27606 rm -f conftest.$ac_objext
27607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27608 (eval $ac_compile) 2>conftest.er1
27609 ac_status=$?
27610 grep -v '^ *+' conftest.er1 >conftest.err
27611 rm -f conftest.er1
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } &&
27615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617 (eval $ac_try) 2>&5
27618 ac_status=$?
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); }; } &&
27621 { ac_try='test -s conftest.$ac_objext'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27624 ac_status=$?
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; }; then
27627 ac_header_compiler=yes
27628 else
27629 echo "$as_me: failed program was:" >&5
27630 sed 's/^/| /' conftest.$ac_ext >&5
27631
27632 ac_header_compiler=no
27633 fi
27634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27636 echo "${ECHO_T}$ac_header_compiler" >&6
27637
27638 # Is the header present?
27639 echo "$as_me:$LINENO: checking windows.h presence" >&5
27640 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27641 cat >conftest.$ac_ext <<_ACEOF
27642 /* confdefs.h. */
27643 _ACEOF
27644 cat confdefs.h >>conftest.$ac_ext
27645 cat >>conftest.$ac_ext <<_ACEOF
27646 /* end confdefs.h. */
27647 #include <windows.h>
27648 _ACEOF
27649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27651 ac_status=$?
27652 grep -v '^ *+' conftest.er1 >conftest.err
27653 rm -f conftest.er1
27654 cat conftest.err >&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); } >/dev/null; then
27657 if test -s conftest.err; then
27658 ac_cpp_err=$ac_c_preproc_warn_flag
27659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27660 else
27661 ac_cpp_err=
27662 fi
27663 else
27664 ac_cpp_err=yes
27665 fi
27666 if test -z "$ac_cpp_err"; then
27667 ac_header_preproc=yes
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27671
27672 ac_header_preproc=no
27673 fi
27674 rm -f conftest.err conftest.$ac_ext
27675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27676 echo "${ECHO_T}$ac_header_preproc" >&6
27677
27678 # So? What about this header?
27679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27680 yes:no: )
27681 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27682 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27684 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27685 ac_header_preproc=yes
27686 ;;
27687 no:yes:* )
27688 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27689 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27690 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27691 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27692 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27693 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27694 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27695 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27696 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27697 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27698 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27699 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27700 (
27701 cat <<\_ASBOX
27702 ## ----------------------------------------- ##
27703 ## Report this to wx-dev@lists.wxwidgets.org ##
27704 ## ----------------------------------------- ##
27705 _ASBOX
27706 ) |
27707 sed "s/^/$as_me: WARNING: /" >&2
27708 ;;
27709 esac
27710 echo "$as_me:$LINENO: checking for windows.h" >&5
27711 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27712 if test "${ac_cv_header_windows_h+set}" = set; then
27713 echo $ECHO_N "(cached) $ECHO_C" >&6
27714 else
27715 ac_cv_header_windows_h=$ac_header_preproc
27716 fi
27717 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27718 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27719
27720 fi
27721 if test $ac_cv_header_windows_h = yes; then
27722 :
27723 else
27724
27725 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27726 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27727 { (exit 1); exit 1; }; }
27728
27729 fi
27730
27731
27732
27733 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27734
27735 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27736 LIBS="$LIBS -loleacc"
27737 fi
27738
27739 case "${host}" in
27740 *-*-cygwin* )
27741 LIBS="$LIBS -lkernel32 -luser32"
27742 esac
27743
27744 if test "$wxUSE_ODBC" = "sys" ; then
27745 wxUSE_ODBC = "yes"
27746 fi
27747 if test "$wxUSE_ODBC" = "yes" ; then
27748 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27749 cat >>confdefs.h <<\_ACEOF
27750 #define wxUSE_ODBC 1
27751 _ACEOF
27752
27753 fi
27754
27755 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27756 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27757
27758 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27759
27760 WIN32INSTALL=win32install
27761
27762 echo "$as_me:$LINENO: checking for boolean" >&5
27763 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27764 if test "${ac_cv_type_boolean+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 else
27767 cat >conftest.$ac_ext <<_ACEOF
27768 /* confdefs.h. */
27769 _ACEOF
27770 cat confdefs.h >>conftest.$ac_ext
27771 cat >>conftest.$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773 #include <windows.h>
27774
27775 int
27776 main ()
27777 {
27778 if ((boolean *) 0)
27779 return 0;
27780 if (sizeof (boolean))
27781 return 0;
27782 ;
27783 return 0;
27784 }
27785 _ACEOF
27786 rm -f conftest.$ac_objext
27787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27788 (eval $ac_compile) 2>conftest.er1
27789 ac_status=$?
27790 grep -v '^ *+' conftest.er1 >conftest.err
27791 rm -f conftest.er1
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } &&
27795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27798 ac_status=$?
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; } &&
27801 { ac_try='test -s conftest.$ac_objext'
27802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27803 (eval $ac_try) 2>&5
27804 ac_status=$?
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); }; }; then
27807 ac_cv_type_boolean=yes
27808 else
27809 echo "$as_me: failed program was:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27811
27812 ac_cv_type_boolean=no
27813 fi
27814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27815 fi
27816 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27817 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27818 if test $ac_cv_type_boolean = yes; then
27819
27820 cat >>confdefs.h <<_ACEOF
27821 #define HAVE_BOOLEAN 1
27822 _ACEOF
27823
27824
27825 fi
27826
27827
27828
27829 for ac_header in pbt.h
27830 do
27831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27833 echo "$as_me:$LINENO: checking for $ac_header" >&5
27834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27836 echo $ECHO_N "(cached) $ECHO_C" >&6
27837 fi
27838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27840 else
27841 # Is the header compilable?
27842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27844 cat >conftest.$ac_ext <<_ACEOF
27845 /* confdefs.h. */
27846 _ACEOF
27847 cat confdefs.h >>conftest.$ac_ext
27848 cat >>conftest.$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27850 $ac_includes_default
27851 #include <$ac_header>
27852 _ACEOF
27853 rm -f conftest.$ac_objext
27854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27855 (eval $ac_compile) 2>conftest.er1
27856 ac_status=$?
27857 grep -v '^ *+' conftest.er1 >conftest.err
27858 rm -f conftest.er1
27859 cat conftest.err >&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); } &&
27862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27865 ac_status=$?
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; } &&
27868 { ac_try='test -s conftest.$ac_objext'
27869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27870 (eval $ac_try) 2>&5
27871 ac_status=$?
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); }; }; then
27874 ac_header_compiler=yes
27875 else
27876 echo "$as_me: failed program was:" >&5
27877 sed 's/^/| /' conftest.$ac_ext >&5
27878
27879 ac_header_compiler=no
27880 fi
27881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27883 echo "${ECHO_T}$ac_header_compiler" >&6
27884
27885 # Is the header present?
27886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27888 cat >conftest.$ac_ext <<_ACEOF
27889 /* confdefs.h. */
27890 _ACEOF
27891 cat confdefs.h >>conftest.$ac_ext
27892 cat >>conftest.$ac_ext <<_ACEOF
27893 /* end confdefs.h. */
27894 #include <$ac_header>
27895 _ACEOF
27896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27898 ac_status=$?
27899 grep -v '^ *+' conftest.er1 >conftest.err
27900 rm -f conftest.er1
27901 cat conftest.err >&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } >/dev/null; then
27904 if test -s conftest.err; then
27905 ac_cpp_err=$ac_c_preproc_warn_flag
27906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27907 else
27908 ac_cpp_err=
27909 fi
27910 else
27911 ac_cpp_err=yes
27912 fi
27913 if test -z "$ac_cpp_err"; then
27914 ac_header_preproc=yes
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27918
27919 ac_header_preproc=no
27920 fi
27921 rm -f conftest.err conftest.$ac_ext
27922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27923 echo "${ECHO_T}$ac_header_preproc" >&6
27924
27925 # So? What about this header?
27926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27927 yes:no: )
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27932 ac_header_preproc=yes
27933 ;;
27934 no:yes:* )
27935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27947 (
27948 cat <<\_ASBOX
27949 ## ----------------------------------------- ##
27950 ## Report this to wx-dev@lists.wxwidgets.org ##
27951 ## ----------------------------------------- ##
27952 _ASBOX
27953 ) |
27954 sed "s/^/$as_me: WARNING: /" >&2
27955 ;;
27956 esac
27957 echo "$as_me:$LINENO: checking for $ac_header" >&5
27958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27962 eval "$as_ac_Header=\$ac_header_preproc"
27963 fi
27964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27966
27967 fi
27968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27969 cat >>confdefs.h <<_ACEOF
27970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27971 _ACEOF
27972
27973 else
27974 cat >>confdefs.h <<\_ACEOF
27975 #define NEED_PBT_H 1
27976 _ACEOF
27977
27978 fi
27979
27980 done
27981
27982 fi
27983
27984 if test "$wxUSE_GUI" = "yes"; then
27985 USE_GUI=1
27986
27987 GUI_TK_LIBRARY=
27988
27989 WXGTK12=
27990 WXGTK127=
27991 WXGTK20=
27992 WXGPE=
27993
27994 if test "$wxUSE_COCOA" = 1 ; then
27995 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27996 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27997 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27998 wxUSE_PRINTING_ARCHITECTURE=no
27999 fi
28000 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28001 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28002 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28003 wxUSE_DRAG_AND_DROP=no
28004 fi
28005 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28006 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28007 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28008 wxUSE_DRAGIMAGE=no
28009 fi
28010 fi
28011
28012 if test "$wxUSE_MSW" = 1 ; then
28013 TOOLKIT=MSW
28014 GUIDIST=MSW_DIST
28015
28016 case "${host}" in
28017 *-*-mingw32* )
28018 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28019 esac
28020 fi
28021
28022 if test "$wxUSE_GTK" = 1; then
28023 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28024 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28025
28026 gtk_version_cached=1
28027 if test "${wx_cv_lib_gtk+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030
28031 gtk_version_cached=0
28032 echo "$as_me:$LINENO: result: " >&5
28033 echo "${ECHO_T}" >&6
28034
28035 GTK_MODULES=
28036 if test "$wxUSE_THREADS" = "yes"; then
28037 GTK_MODULES=gthread
28038 fi
28039
28040 wx_cv_lib_gtk=
28041 if test "x$wxGTK_VERSION" != "x1"
28042 then
28043 case "${host}" in
28044 *-*-solaris2* )
28045 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28046 enable_gtktest=no
28047 fi
28048 esac
28049
28050 # Check whether --enable-gtktest or --disable-gtktest was given.
28051 if test "${enable_gtktest+set}" = set; then
28052 enableval="$enable_gtktest"
28053
28054 else
28055 enable_gtktest=yes
28056 fi;
28057
28058 pkg_config_args=gtk+-2.0
28059 for module in . $GTK_MODULES
28060 do
28061 case "$module" in
28062 gthread)
28063 pkg_config_args="$pkg_config_args gthread-2.0"
28064 ;;
28065 esac
28066 done
28067
28068 no_gtk=""
28069
28070 # Extract the first word of "pkg-config", so it can be a program name with args.
28071 set dummy pkg-config; ac_word=$2
28072 echo "$as_me:$LINENO: checking for $ac_word" >&5
28073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28074 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28075 echo $ECHO_N "(cached) $ECHO_C" >&6
28076 else
28077 case $PKG_CONFIG in
28078 [\\/]* | ?:[\\/]*)
28079 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28080 ;;
28081 *)
28082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28083 for as_dir in $PATH
28084 do
28085 IFS=$as_save_IFS
28086 test -z "$as_dir" && as_dir=.
28087 for ac_exec_ext in '' $ac_executable_extensions; do
28088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28089 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28091 break 2
28092 fi
28093 done
28094 done
28095
28096 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28097 ;;
28098 esac
28099 fi
28100 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28101
28102 if test -n "$PKG_CONFIG"; then
28103 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28104 echo "${ECHO_T}$PKG_CONFIG" >&6
28105 else
28106 echo "$as_me:$LINENO: result: no" >&5
28107 echo "${ECHO_T}no" >&6
28108 fi
28109
28110
28111 if test x$PKG_CONFIG != xno ; then
28112 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28113 :
28114 else
28115 echo "*** pkg-config too old; version 0.7 or better required."
28116 no_gtk=yes
28117 PKG_CONFIG=no
28118 fi
28119 else
28120 no_gtk=yes
28121 fi
28122
28123 min_gtk_version=2.0.0
28124 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28125 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28126
28127 if test x$PKG_CONFIG != xno ; then
28128 ## don't try to run the test against uninstalled libtool libs
28129 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28130 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28131 enable_gtktest=no
28132 fi
28133
28134 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28135 :
28136 else
28137 no_gtk=yes
28138 fi
28139 fi
28140
28141 if test x"$no_gtk" = x ; then
28142 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28143 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28144 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28146 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28148 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28150 if test "x$enable_gtktest" = "xyes" ; then
28151 ac_save_CFLAGS="$CFLAGS"
28152 ac_save_LIBS="$LIBS"
28153 CFLAGS="$CFLAGS $GTK_CFLAGS"
28154 LIBS="$GTK_LIBS $LIBS"
28155 rm -f conf.gtktest
28156 if test "$cross_compiling" = yes; then
28157 echo $ac_n "cross compiling; assumed OK... $ac_c"
28158 else
28159 cat >conftest.$ac_ext <<_ACEOF
28160 /* confdefs.h. */
28161 _ACEOF
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165
28166 #include <gtk/gtk.h>
28167 #include <stdio.h>
28168 #include <stdlib.h>
28169
28170 int
28171 main ()
28172 {
28173 int major, minor, micro;
28174 char *tmp_version;
28175
28176 system ("touch conf.gtktest");
28177
28178 /* HP/UX 9 (%@#!) writes to sscanf strings */
28179 tmp_version = g_strdup("$min_gtk_version");
28180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28181 printf("%s, bad version string\n", "$min_gtk_version");
28182 exit(1);
28183 }
28184
28185 if ((gtk_major_version != $gtk_config_major_version) ||
28186 (gtk_minor_version != $gtk_config_minor_version) ||
28187 (gtk_micro_version != $gtk_config_micro_version))
28188 {
28189 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28191 gtk_major_version, gtk_minor_version, gtk_micro_version);
28192 printf ("*** was found! If pkg-config was correct, then it is best\n");
28193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28196 printf("*** required on your system.\n");
28197 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28198 printf("*** to point to the correct configuration files\n");
28199 }
28200 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28201 (gtk_minor_version != GTK_MINOR_VERSION) ||
28202 (gtk_micro_version != GTK_MICRO_VERSION))
28203 {
28204 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28205 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28206 printf("*** library (version %d.%d.%d)\n",
28207 gtk_major_version, gtk_minor_version, gtk_micro_version);
28208 }
28209 else
28210 {
28211 if ((gtk_major_version > major) ||
28212 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28213 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28214 {
28215 return 0;
28216 }
28217 else
28218 {
28219 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28220 gtk_major_version, gtk_minor_version, gtk_micro_version);
28221 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28222 major, minor, micro);
28223 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28224 printf("***\n");
28225 printf("*** If you have already installed a sufficiently new version, this error\n");
28226 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28227 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28228 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28229 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28230 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28231 printf("*** so that the correct libraries are found at run-time))\n");
28232 }
28233 }
28234 return 1;
28235 }
28236
28237 _ACEOF
28238 rm -f conftest$ac_exeext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28240 (eval $ac_link) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28245 (eval $ac_try) 2>&5
28246 ac_status=$?
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); }; }; then
28249 :
28250 else
28251 echo "$as_me: program exited with status $ac_status" >&5
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ( exit $ac_status )
28256 no_gtk=yes
28257 fi
28258 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28259 fi
28260 CFLAGS="$ac_save_CFLAGS"
28261 LIBS="$ac_save_LIBS"
28262 fi
28263 fi
28264 if test "x$no_gtk" = x ; then
28265 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28266 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28267 wx_cv_lib_gtk=2.0
28268 else
28269 echo "$as_me:$LINENO: result: no" >&5
28270 echo "${ECHO_T}no" >&6
28271 if test "$PKG_CONFIG" = "no" ; then
28272 echo "*** A new enough version of pkg-config was not found."
28273 echo "*** See http://pkgconfig.sourceforge.net"
28274 else
28275 if test -f conf.gtktest ; then
28276 :
28277 else
28278 echo "*** Could not run GTK+ test program, checking why..."
28279 ac_save_CFLAGS="$CFLAGS"
28280 ac_save_LIBS="$LIBS"
28281 CFLAGS="$CFLAGS $GTK_CFLAGS"
28282 LIBS="$LIBS $GTK_LIBS"
28283 cat >conftest.$ac_ext <<_ACEOF
28284 /* confdefs.h. */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289
28290 #include <gtk/gtk.h>
28291 #include <stdio.h>
28292
28293 int
28294 main ()
28295 {
28296 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28297 ;
28298 return 0;
28299 }
28300 _ACEOF
28301 rm -f conftest.$ac_objext conftest$ac_exeext
28302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28303 (eval $ac_link) 2>conftest.er1
28304 ac_status=$?
28305 grep -v '^ *+' conftest.er1 >conftest.err
28306 rm -f conftest.er1
28307 cat conftest.err >&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } &&
28310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28313 ac_status=$?
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try='test -s conftest$ac_exeext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28319 ac_status=$?
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28322 echo "*** The test program compiled, but did not run. This usually means"
28323 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28324 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28325 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28326 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28327 echo "*** is required on your system"
28328 echo "***"
28329 echo "*** If you have an old version installed, it is best to remove it, although"
28330 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28331 else
28332 echo "$as_me: failed program was:" >&5
28333 sed 's/^/| /' conftest.$ac_ext >&5
28334
28335 echo "*** The test program failed to compile or link. See the file config.log for the"
28336 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28337 fi
28338 rm -f conftest.err conftest.$ac_objext \
28339 conftest$ac_exeext conftest.$ac_ext
28340 CFLAGS="$ac_save_CFLAGS"
28341 LIBS="$ac_save_LIBS"
28342 fi
28343 fi
28344 GTK_CFLAGS=""
28345 GTK_LIBS=""
28346 :
28347 fi
28348
28349
28350 rm -f conf.gtktest
28351
28352
28353 case "${host}" in
28354 *-*-solaris2* )
28355 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28356 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28357 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28358 fi
28359 if test "$wxUSE_SHARED" != "yes"; then
28360 GTK_LIBS="$GTK_LIBS -lX11"
28361 fi
28362 esac
28363 fi
28364
28365 if test -z "$wx_cv_lib_gtk"; then
28366 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28367
28368 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28369 if test "${with_gtk_prefix+set}" = set; then
28370 withval="$with_gtk_prefix"
28371 gtk_config_prefix="$withval"
28372 else
28373 gtk_config_prefix=""
28374 fi;
28375
28376 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28377 if test "${with_gtk_exec_prefix+set}" = set; then
28378 withval="$with_gtk_exec_prefix"
28379 gtk_config_exec_prefix="$withval"
28380 else
28381 gtk_config_exec_prefix=""
28382 fi;
28383 # Check whether --enable-gtktest or --disable-gtktest was given.
28384 if test "${enable_gtktest+set}" = set; then
28385 enableval="$enable_gtktest"
28386
28387 else
28388 enable_gtktest=yes
28389 fi;
28390
28391 for module in . $GTK_MODULES
28392 do
28393 case "$module" in
28394 gthread)
28395 gtk_config_args="$gtk_config_args gthread"
28396 ;;
28397 esac
28398 done
28399
28400 if test x$gtk_config_exec_prefix != x ; then
28401 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28402 if test x${GTK_CONFIG+set} != xset ; then
28403 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28404 fi
28405 fi
28406 if test x$gtk_config_prefix != x ; then
28407 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28408 if test x${GTK_CONFIG+set} != xset ; then
28409 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28410 fi
28411 fi
28412
28413 # Extract the first word of "gtk-config", so it can be a program name with args.
28414 set dummy gtk-config; ac_word=$2
28415 echo "$as_me:$LINENO: checking for $ac_word" >&5
28416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28417 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 else
28420 case $GTK_CONFIG in
28421 [\\/]* | ?:[\\/]*)
28422 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28423 ;;
28424 *)
28425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28426 for as_dir in $PATH
28427 do
28428 IFS=$as_save_IFS
28429 test -z "$as_dir" && as_dir=.
28430 for ac_exec_ext in '' $ac_executable_extensions; do
28431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28432 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28434 break 2
28435 fi
28436 done
28437 done
28438
28439 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28440 ;;
28441 esac
28442 fi
28443 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28444
28445 if test -n "$GTK_CONFIG"; then
28446 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28447 echo "${ECHO_T}$GTK_CONFIG" >&6
28448 else
28449 echo "$as_me:$LINENO: result: no" >&5
28450 echo "${ECHO_T}no" >&6
28451 fi
28452
28453 min_gtk_version=1.2.7
28454 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28455 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28456 no_gtk=""
28457 if test "$GTK_CONFIG" = "no" ; then
28458 no_gtk=yes
28459 else
28460 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28461 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28462 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28463 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28464 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28466 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28468 if test "x$enable_gtktest" = "xyes" ; then
28469 ac_save_CFLAGS="$CFLAGS"
28470 ac_save_LIBS="$LIBS"
28471 CFLAGS="$CFLAGS $GTK_CFLAGS"
28472 LIBS="$GTK_LIBS $LIBS"
28473 rm -f conf.gtktest
28474 if test "$cross_compiling" = yes; then
28475 echo $ac_n "cross compiling; assumed OK... $ac_c"
28476 else
28477 cat >conftest.$ac_ext <<_ACEOF
28478 /* confdefs.h. */
28479 _ACEOF
28480 cat confdefs.h >>conftest.$ac_ext
28481 cat >>conftest.$ac_ext <<_ACEOF
28482 /* end confdefs.h. */
28483
28484 #include <gtk/gtk.h>
28485 #include <stdio.h>
28486 #include <stdlib.h>
28487
28488 int
28489 main ()
28490 {
28491 int major, minor, micro;
28492 char *tmp_version;
28493
28494 system ("touch conf.gtktest");
28495
28496 /* HP/UX 9 (%@#!) writes to sscanf strings */
28497 tmp_version = g_strdup("$min_gtk_version");
28498 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28499 printf("%s, bad version string\n", "$min_gtk_version");
28500 exit(1);
28501 }
28502
28503 if ((gtk_major_version != $gtk_config_major_version) ||
28504 (gtk_minor_version != $gtk_config_minor_version) ||
28505 (gtk_micro_version != $gtk_config_micro_version))
28506 {
28507 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28508 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28509 gtk_major_version, gtk_minor_version, gtk_micro_version);
28510 printf ("*** was found! If gtk-config was correct, then it is best\n");
28511 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28512 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28513 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28514 printf("*** required on your system.\n");
28515 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28516 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28517 printf("*** before re-running configure\n");
28518 }
28519 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28520 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28521 (gtk_minor_version != GTK_MINOR_VERSION) ||
28522 (gtk_micro_version != GTK_MICRO_VERSION))
28523 {
28524 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28525 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28526 printf("*** library (version %d.%d.%d)\n",
28527 gtk_major_version, gtk_minor_version, gtk_micro_version);
28528 }
28529 #endif /* defined (GTK_MAJOR_VERSION) ... */
28530 else
28531 {
28532 if ((gtk_major_version > major) ||
28533 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28534 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28535 {
28536 return 0;
28537 }
28538 else
28539 {
28540 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28541 gtk_major_version, gtk_minor_version, gtk_micro_version);
28542 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28543 major, minor, micro);
28544 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28545 printf("***\n");
28546 printf("*** If you have already installed a sufficiently new version, this error\n");
28547 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28548 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28549 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28550 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28551 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28552 printf("*** so that the correct libraries are found at run-time))\n");
28553 }
28554 }
28555 return 1;
28556 }
28557
28558 _ACEOF
28559 rm -f conftest$ac_exeext
28560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28561 (eval $ac_link) 2>&5
28562 ac_status=$?
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28567 ac_status=$?
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 :
28571 else
28572 echo "$as_me: program exited with status $ac_status" >&5
28573 echo "$as_me: failed program was:" >&5
28574 sed 's/^/| /' conftest.$ac_ext >&5
28575
28576 ( exit $ac_status )
28577 no_gtk=yes
28578 fi
28579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28580 fi
28581 CFLAGS="$ac_save_CFLAGS"
28582 LIBS="$ac_save_LIBS"
28583 fi
28584 fi
28585 if test "x$no_gtk" = x ; then
28586 echo "$as_me:$LINENO: result: yes" >&5
28587 echo "${ECHO_T}yes" >&6
28588 wx_cv_lib_gtk=1.2.7
28589 else
28590 echo "$as_me:$LINENO: result: no" >&5
28591 echo "${ECHO_T}no" >&6
28592 if test "$GTK_CONFIG" = "no" ; then
28593 echo "*** The gtk-config script installed by GTK could not be found"
28594 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28595 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28596 echo "*** full path to gtk-config."
28597 else
28598 if test -f conf.gtktest ; then
28599 :
28600 else
28601 echo "*** Could not run GTK test program, checking why..."
28602 CFLAGS="$CFLAGS $GTK_CFLAGS"
28603 LIBS="$LIBS $GTK_LIBS"
28604 cat >conftest.$ac_ext <<_ACEOF
28605 /* confdefs.h. */
28606 _ACEOF
28607 cat confdefs.h >>conftest.$ac_ext
28608 cat >>conftest.$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28610
28611 #include <gtk/gtk.h>
28612 #include <stdio.h>
28613
28614 int
28615 main ()
28616 {
28617 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28618 ;
28619 return 0;
28620 }
28621 _ACEOF
28622 rm -f conftest.$ac_objext conftest$ac_exeext
28623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28624 (eval $ac_link) 2>conftest.er1
28625 ac_status=$?
28626 grep -v '^ *+' conftest.er1 >conftest.err
28627 rm -f conftest.er1
28628 cat conftest.err >&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); } &&
28631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28634 ac_status=$?
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; } &&
28637 { ac_try='test -s conftest$ac_exeext'
28638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28639 (eval $ac_try) 2>&5
28640 ac_status=$?
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); }; }; then
28643 echo "*** The test program compiled, but did not run. This usually means"
28644 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28645 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28646 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28647 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28648 echo "*** is required on your system"
28649 echo "***"
28650 echo "*** If you have an old version installed, it is best to remove it, although"
28651 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28652 echo "***"
28653 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28654 echo "*** came with the system with the command"
28655 echo "***"
28656 echo "*** rpm --erase --nodeps gtk gtk-devel"
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 echo "*** The test program failed to compile or link. See the file config.log for the"
28662 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28663 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28664 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28665 fi
28666 rm -f conftest.err conftest.$ac_objext \
28667 conftest$ac_exeext conftest.$ac_ext
28668 CFLAGS="$ac_save_CFLAGS"
28669 LIBS="$ac_save_LIBS"
28670 fi
28671 fi
28672 GTK_CFLAGS=""
28673 GTK_LIBS=""
28674 :
28675 fi
28676
28677
28678 rm -f conf.gtktest
28679
28680
28681 if test -z "$wx_cv_lib_gtk"; then
28682
28683 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28684 if test "${with_gtk_prefix+set}" = set; then
28685 withval="$with_gtk_prefix"
28686 gtk_config_prefix="$withval"
28687 else
28688 gtk_config_prefix=""
28689 fi;
28690
28691 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28692 if test "${with_gtk_exec_prefix+set}" = set; then
28693 withval="$with_gtk_exec_prefix"
28694 gtk_config_exec_prefix="$withval"
28695 else
28696 gtk_config_exec_prefix=""
28697 fi;
28698 # Check whether --enable-gtktest or --disable-gtktest was given.
28699 if test "${enable_gtktest+set}" = set; then
28700 enableval="$enable_gtktest"
28701
28702 else
28703 enable_gtktest=yes
28704 fi;
28705
28706 for module in . $GTK_MODULES
28707 do
28708 case "$module" in
28709 gthread)
28710 gtk_config_args="$gtk_config_args gthread"
28711 ;;
28712 esac
28713 done
28714
28715 if test x$gtk_config_exec_prefix != x ; then
28716 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28717 if test x${GTK_CONFIG+set} != xset ; then
28718 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28719 fi
28720 fi
28721 if test x$gtk_config_prefix != x ; then
28722 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28723 if test x${GTK_CONFIG+set} != xset ; then
28724 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28725 fi
28726 fi
28727
28728 # Extract the first word of "gtk-config", so it can be a program name with args.
28729 set dummy gtk-config; ac_word=$2
28730 echo "$as_me:$LINENO: checking for $ac_word" >&5
28731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28732 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28733 echo $ECHO_N "(cached) $ECHO_C" >&6
28734 else
28735 case $GTK_CONFIG in
28736 [\\/]* | ?:[\\/]*)
28737 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28738 ;;
28739 *)
28740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28741 for as_dir in $PATH
28742 do
28743 IFS=$as_save_IFS
28744 test -z "$as_dir" && as_dir=.
28745 for ac_exec_ext in '' $ac_executable_extensions; do
28746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28747 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28749 break 2
28750 fi
28751 done
28752 done
28753
28754 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28755 ;;
28756 esac
28757 fi
28758 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28759
28760 if test -n "$GTK_CONFIG"; then
28761 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28762 echo "${ECHO_T}$GTK_CONFIG" >&6
28763 else
28764 echo "$as_me:$LINENO: result: no" >&5
28765 echo "${ECHO_T}no" >&6
28766 fi
28767
28768 min_gtk_version=1.2.3
28769 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28770 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28771 no_gtk=""
28772 if test "$GTK_CONFIG" = "no" ; then
28773 no_gtk=yes
28774 else
28775 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28776 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28777 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28778 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28779 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28781 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28783 if test "x$enable_gtktest" = "xyes" ; then
28784 ac_save_CFLAGS="$CFLAGS"
28785 ac_save_LIBS="$LIBS"
28786 CFLAGS="$CFLAGS $GTK_CFLAGS"
28787 LIBS="$GTK_LIBS $LIBS"
28788 rm -f conf.gtktest
28789 if test "$cross_compiling" = yes; then
28790 echo $ac_n "cross compiling; assumed OK... $ac_c"
28791 else
28792 cat >conftest.$ac_ext <<_ACEOF
28793 /* confdefs.h. */
28794 _ACEOF
28795 cat confdefs.h >>conftest.$ac_ext
28796 cat >>conftest.$ac_ext <<_ACEOF
28797 /* end confdefs.h. */
28798
28799 #include <gtk/gtk.h>
28800 #include <stdio.h>
28801 #include <stdlib.h>
28802
28803 int
28804 main ()
28805 {
28806 int major, minor, micro;
28807 char *tmp_version;
28808
28809 system ("touch conf.gtktest");
28810
28811 /* HP/UX 9 (%@#!) writes to sscanf strings */
28812 tmp_version = g_strdup("$min_gtk_version");
28813 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28814 printf("%s, bad version string\n", "$min_gtk_version");
28815 exit(1);
28816 }
28817
28818 if ((gtk_major_version != $gtk_config_major_version) ||
28819 (gtk_minor_version != $gtk_config_minor_version) ||
28820 (gtk_micro_version != $gtk_config_micro_version))
28821 {
28822 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28823 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28824 gtk_major_version, gtk_minor_version, gtk_micro_version);
28825 printf ("*** was found! If gtk-config was correct, then it is best\n");
28826 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28827 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28828 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28829 printf("*** required on your system.\n");
28830 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28831 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28832 printf("*** before re-running configure\n");
28833 }
28834 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28835 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28836 (gtk_minor_version != GTK_MINOR_VERSION) ||
28837 (gtk_micro_version != GTK_MICRO_VERSION))
28838 {
28839 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28840 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28841 printf("*** library (version %d.%d.%d)\n",
28842 gtk_major_version, gtk_minor_version, gtk_micro_version);
28843 }
28844 #endif /* defined (GTK_MAJOR_VERSION) ... */
28845 else
28846 {
28847 if ((gtk_major_version > major) ||
28848 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28849 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28850 {
28851 return 0;
28852 }
28853 else
28854 {
28855 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28856 gtk_major_version, gtk_minor_version, gtk_micro_version);
28857 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28858 major, minor, micro);
28859 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28860 printf("***\n");
28861 printf("*** If you have already installed a sufficiently new version, this error\n");
28862 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28863 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28864 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28865 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28866 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28867 printf("*** so that the correct libraries are found at run-time))\n");
28868 }
28869 }
28870 return 1;
28871 }
28872
28873 _ACEOF
28874 rm -f conftest$ac_exeext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28876 (eval $ac_link) 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28882 ac_status=$?
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 :
28886 else
28887 echo "$as_me: program exited with status $ac_status" >&5
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 ( exit $ac_status )
28892 no_gtk=yes
28893 fi
28894 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28895 fi
28896 CFLAGS="$ac_save_CFLAGS"
28897 LIBS="$ac_save_LIBS"
28898 fi
28899 fi
28900 if test "x$no_gtk" = x ; then
28901 echo "$as_me:$LINENO: result: yes" >&5
28902 echo "${ECHO_T}yes" >&6
28903 wx_cv_lib_gtk=1.2.3
28904 else
28905 echo "$as_me:$LINENO: result: no" >&5
28906 echo "${ECHO_T}no" >&6
28907 if test "$GTK_CONFIG" = "no" ; then
28908 echo "*** The gtk-config script installed by GTK could not be found"
28909 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28910 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28911 echo "*** full path to gtk-config."
28912 else
28913 if test -f conf.gtktest ; then
28914 :
28915 else
28916 echo "*** Could not run GTK test program, checking why..."
28917 CFLAGS="$CFLAGS $GTK_CFLAGS"
28918 LIBS="$LIBS $GTK_LIBS"
28919 cat >conftest.$ac_ext <<_ACEOF
28920 /* confdefs.h. */
28921 _ACEOF
28922 cat confdefs.h >>conftest.$ac_ext
28923 cat >>conftest.$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925
28926 #include <gtk/gtk.h>
28927 #include <stdio.h>
28928
28929 int
28930 main ()
28931 {
28932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28933 ;
28934 return 0;
28935 }
28936 _ACEOF
28937 rm -f conftest.$ac_objext conftest$ac_exeext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28939 (eval $ac_link) 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; } &&
28952 { ac_try='test -s conftest$ac_exeext'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28955 ac_status=$?
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; }; then
28958 echo "*** The test program compiled, but did not run. This usually means"
28959 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28960 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28963 echo "*** is required on your system"
28964 echo "***"
28965 echo "*** If you have an old version installed, it is best to remove it, although"
28966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28967 echo "***"
28968 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28969 echo "*** came with the system with the command"
28970 echo "***"
28971 echo "*** rpm --erase --nodeps gtk gtk-devel"
28972 else
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976 echo "*** The test program failed to compile or link. See the file config.log for the"
28977 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28978 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28979 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28980 fi
28981 rm -f conftest.err conftest.$ac_objext \
28982 conftest$ac_exeext conftest.$ac_ext
28983 CFLAGS="$ac_save_CFLAGS"
28984 LIBS="$ac_save_LIBS"
28985 fi
28986 fi
28987 GTK_CFLAGS=""
28988 GTK_LIBS=""
28989 :
28990 fi
28991
28992
28993 rm -f conf.gtktest
28994
28995 fi
28996 fi
28997 fi
28998
28999 if test -z "$wx_cv_lib_gtk"; then
29000 wx_cv_lib_gtk=none
29001 else
29002 wx_cv_cflags_gtk=$GTK_CFLAGS
29003 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29004 fi
29005
29006
29007 fi
29008
29009
29010 if test "$gtk_version_cached" = 1; then
29011 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29012 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29013 fi
29014
29015 case "$wx_cv_lib_gtk" in
29016 2.0) WXGTK20=1
29017 TOOLKIT_VERSION=2
29018 ;;
29019 1.2.7) WXGTK127=1
29020 WXGTK12=1
29021 ;;
29022 1.2.3) WXGTK12=1
29023 ;;
29024 *) { { echo "$as_me:$LINENO: error:
29025 The development files for GTK+ were not found. For GTK+ 2, please
29026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29028 and that the version is 1.2.3 or above. Also check that the
29029 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29030 --libs' are in the LD_LIBRARY_PATH or equivalent.
29031 " >&5
29032 echo "$as_me: error:
29033 The development files for GTK+ were not found. For GTK+ 2, please
29034 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29035 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29036 and that the version is 1.2.3 or above. Also check that the
29037 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29038 --libs' are in the LD_LIBRARY_PATH or equivalent.
29039 " >&2;}
29040 { (exit 1); exit 1; }; }
29041 ;;
29042 esac
29043
29044 if test "$WXGTK20" = 1; then
29045 save_CFLAGS="$CFLAGS"
29046 save_LIBS="$LIBS"
29047 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29048 LIBS="$LIBS $wx_cv_libs_gtk"
29049
29050 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29051 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29052 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 else
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061 #include <gtk/gtk.h>
29062
29063 int
29064 main ()
29065 {
29066 #ifndef gtk_icon_size_lookup
29067 char *p = (char *) gtk_icon_size_lookup;
29068 #endif
29069
29070 ;
29071 return 0;
29072 }
29073 _ACEOF
29074 rm -f conftest.$ac_objext
29075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29076 (eval $ac_compile) 2>conftest.er1
29077 ac_status=$?
29078 grep -v '^ *+' conftest.er1 >conftest.err
29079 rm -f conftest.er1
29080 cat conftest.err >&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); } &&
29083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; } &&
29089 { ac_try='test -s conftest.$ac_objext'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; }; then
29095 ac_cv_have_decl_gtk_icon_size_lookup=yes
29096 else
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.$ac_ext >&5
29099
29100 ac_cv_have_decl_gtk_icon_size_lookup=no
29101 fi
29102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29103 fi
29104 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29105 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29106 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29107
29108 cat >>confdefs.h <<_ACEOF
29109 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29110 _ACEOF
29111
29112
29113 else
29114 cat >>confdefs.h <<_ACEOF
29115 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29116 _ACEOF
29117
29118 cat >>confdefs.h <<\_ACEOF
29119 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29120 _ACEOF
29121
29122 fi
29123
29124
29125
29126 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29127 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29128 cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h. */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29134
29135 #include <gtk/gtk.h>
29136
29137 int
29138 main ()
29139 {
29140
29141 #if !GTK_CHECK_VERSION(2,6,0)
29142 Not GTK+ 2.6
29143 #endif
29144
29145 ;
29146 return 0;
29147 }
29148 _ACEOF
29149 rm -f conftest.$ac_objext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29151 (eval $ac_compile) 2>conftest.er1
29152 ac_status=$?
29153 grep -v '^ *+' conftest.er1 >conftest.err
29154 rm -f conftest.er1
29155 cat conftest.err >&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try='test -s conftest.$ac_objext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29167 ac_status=$?
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170
29171 cat >>confdefs.h <<\_ACEOF
29172 #define __WXGTK26__ 1
29173 _ACEOF
29174
29175 cat >>confdefs.h <<\_ACEOF
29176 #define __WXGTK24__ 1
29177 _ACEOF
29178
29179 echo "$as_me:$LINENO: result: yes" >&5
29180 echo "${ECHO_T}yes" >&6
29181 ac_wxgtk26=1
29182
29183 else
29184 echo "$as_me: failed program was:" >&5
29185 sed 's/^/| /' conftest.$ac_ext >&5
29186
29187
29188 echo "$as_me:$LINENO: result: no" >&5
29189 echo "${ECHO_T}no" >&6
29190 ac_wxgtk26=0
29191
29192 fi
29193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29194
29195 if test "$ac_wxgtk26" = 0; then
29196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204
29205 #include <gtk/gtk.h>
29206
29207 int
29208 main ()
29209 {
29210
29211 #if !GTK_CHECK_VERSION(2,4,0)
29212 Not GTK+ 2.4
29213 #endif
29214
29215 ;
29216 return 0;
29217 }
29218 _ACEOF
29219 rm -f conftest.$ac_objext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29221 (eval $ac_compile) 2>conftest.er1
29222 ac_status=$?
29223 grep -v '^ *+' conftest.er1 >conftest.err
29224 rm -f conftest.er1
29225 cat conftest.err >&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; } &&
29234 { ac_try='test -s conftest.$ac_objext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29237 ac_status=$?
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240
29241 cat >>confdefs.h <<\_ACEOF
29242 #define __WXGTK24__ 1
29243 _ACEOF
29244
29245 echo "$as_me:$LINENO: result: yes" >&5
29246 echo "${ECHO_T}yes" >&6
29247
29248 else
29249 echo "$as_me: failed program was:" >&5
29250 sed 's/^/| /' conftest.$ac_ext >&5
29251
29252
29253 echo "$as_me:$LINENO: result: no" >&5
29254 echo "${ECHO_T}no" >&6
29255
29256 fi
29257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29258 fi
29259
29260 CFLAGS="$save_CFLAGS"
29261 LIBS="$save_LIBS"
29262 else
29263 if test "$wxUSE_UNICODE" = "yes"; then
29264 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29265 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29266 wxUSE_UNICODE=no
29267 fi
29268
29269 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29270 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29271 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29272 echo $ECHO_N "(cached) $ECHO_C" >&6
29273 else
29274 ac_check_lib_save_LIBS=$LIBS
29275 LIBS="-lgdk $LIBS"
29276 cat >conftest.$ac_ext <<_ACEOF
29277 /* confdefs.h. */
29278 _ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29282
29283 /* Override any gcc2 internal prototype to avoid an error. */
29284 #ifdef __cplusplus
29285 extern "C"
29286 #endif
29287 /* We use char because int might match the return type of a gcc2
29288 builtin and then its argument prototype would still apply. */
29289 char gdk_im_open ();
29290 int
29291 main ()
29292 {
29293 gdk_im_open ();
29294 ;
29295 return 0;
29296 }
29297 _ACEOF
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300 (eval $ac_link) 2>conftest.er1
29301 ac_status=$?
29302 grep -v '^ *+' conftest.er1 >conftest.err
29303 rm -f conftest.er1
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29310 ac_status=$?
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; } &&
29313 { ac_try='test -s conftest$ac_exeext'
29314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29315 (eval $ac_try) 2>&5
29316 ac_status=$?
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); }; }; then
29319 ac_cv_lib_gdk_gdk_im_open=yes
29320 else
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29323
29324 ac_cv_lib_gdk_gdk_im_open=no
29325 fi
29326 rm -f conftest.err conftest.$ac_objext \
29327 conftest$ac_exeext conftest.$ac_ext
29328 LIBS=$ac_check_lib_save_LIBS
29329 fi
29330 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29331 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29332 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29333 cat >>confdefs.h <<\_ACEOF
29334 #define HAVE_XIM 1
29335 _ACEOF
29336
29337 fi
29338
29339 fi
29340
29341 if test "$USE_DARWIN" != 1; then
29342
29343 for ac_func in poll
29344 do
29345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29346 echo "$as_me:$LINENO: checking for $ac_func" >&5
29347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29348 if eval "test \"\${$as_ac_var+set}\" = set"; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 else
29351 cat >conftest.$ac_ext <<_ACEOF
29352 /* confdefs.h. */
29353 _ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29359 #define $ac_func innocuous_$ac_func
29360
29361 /* System header to define __stub macros and hopefully few prototypes,
29362 which can conflict with char $ac_func (); below.
29363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29364 <limits.h> exists even on freestanding compilers. */
29365
29366 #ifdef __STDC__
29367 # include <limits.h>
29368 #else
29369 # include <assert.h>
29370 #endif
29371
29372 #undef $ac_func
29373
29374 /* Override any gcc2 internal prototype to avoid an error. */
29375 #ifdef __cplusplus
29376 extern "C"
29377 {
29378 #endif
29379 /* We use char because int might match the return type of a gcc2
29380 builtin and then its argument prototype would still apply. */
29381 char $ac_func ();
29382 /* The GNU C library defines this for functions which it implements
29383 to always fail with ENOSYS. Some functions are actually named
29384 something starting with __ and the normal name is an alias. */
29385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29386 choke me
29387 #else
29388 char (*f) () = $ac_func;
29389 #endif
29390 #ifdef __cplusplus
29391 }
29392 #endif
29393
29394 int
29395 main ()
29396 {
29397 return f != $ac_func;
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 rm -f conftest.$ac_objext conftest$ac_exeext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29404 (eval $ac_link) 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29413 (eval $ac_try) 2>&5
29414 ac_status=$?
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); }; } &&
29417 { ac_try='test -s conftest$ac_exeext'
29418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29419 (eval $ac_try) 2>&5
29420 ac_status=$?
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); }; }; then
29423 eval "$as_ac_var=yes"
29424 else
29425 echo "$as_me: failed program was:" >&5
29426 sed 's/^/| /' conftest.$ac_ext >&5
29427
29428 eval "$as_ac_var=no"
29429 fi
29430 rm -f conftest.err conftest.$ac_objext \
29431 conftest$ac_exeext conftest.$ac_ext
29432 fi
29433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29435 if test `eval echo '${'$as_ac_var'}'` = yes; then
29436 cat >>confdefs.h <<_ACEOF
29437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29438 _ACEOF
29439
29440 fi
29441 done
29442
29443 fi
29444
29445 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29446 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29447
29448 AFMINSTALL=afminstall
29449 TOOLKIT=GTK
29450 GUIDIST=GTK_DIST
29451
29452 if test "$wxUSE_GPE" = "yes"; then
29453 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29455
29456 ac_find_libraries=
29457 for ac_dir in $SEARCH_LIB;
29458 do
29459 for ac_extension in a so sl dylib dll.a; do
29460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29461 ac_find_libraries=$ac_dir
29462 break 2
29463 fi
29464 done
29465 done
29466
29467 if test "$ac_find_libraries" != "" ; then
29468
29469 if test "$ac_find_libraries" = "default location"; then
29470 ac_path_to_link=""
29471 else
29472 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29473 result=$?
29474 if test $result = 0; then
29475 ac_path_to_link=""
29476 else
29477 ac_path_to_link=" -L$ac_find_libraries"
29478 fi
29479 fi
29480
29481 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29482 WXGPE=1
29483 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29484 echo "${ECHO_T}found in $ac_find_libraries" >&6
29485 else
29486 echo "$as_me:$LINENO: result: not found" >&5
29487 echo "${ECHO_T}not found" >&6
29488 fi
29489
29490 fi
29491 fi
29492
29493 if test "$wxUSE_MGL" = 1; then
29494 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29495 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29496 if test "x$MGL_ROOT" = x ; then
29497 echo "$as_me:$LINENO: result: not found" >&5
29498 echo "${ECHO_T}not found" >&6
29499 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29500 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29501 { (exit 1); exit 1; }; }
29502 else
29503 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29504 echo "${ECHO_T}$MGL_ROOT" >&6
29505 fi
29506
29507 echo "$as_me:$LINENO: checking for libmgl location" >&5
29508 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29509 case "${host}" in
29510 *-*-linux* )
29511 if test "x$wxUSE_SHARED" = xyes ; then
29512 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29513 else
29514 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29515 fi
29516 ;;
29517 *-pc-msdosdjgpp )
29518 mgl_os_candidates="dos32/dj2"
29519 ;;
29520 *)
29521 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29522 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29523 { (exit 1); exit 1; }; }
29524 esac
29525
29526 mgl_lib_type=""
29527 mgl_os=""
29528
29529 for mgl_os_i in $mgl_os_candidates ; do
29530 if test "x$mgl_os" = x ; then
29531 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29532 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29533 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29534 mgl_lib_type=debug
29535 mgl_os=$mgl_os_i
29536 fi
29537 fi
29538 if test "x$mgl_lib_type" = x ; then
29539 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29540 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29541 mgl_lib_type=release
29542 mgl_os=$mgl_os_i
29543 fi
29544 fi
29545 fi
29546 done
29547
29548 if test "x$mgl_os" = x ; then
29549 echo "$as_me:$LINENO: result: not found" >&5
29550 echo "${ECHO_T}not found" >&6
29551 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29552 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29553 { (exit 1); exit 1; }; }
29554 fi
29555 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29556 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29557
29558 wxUSE_UNIVERSAL="yes"
29559
29560 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29561 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29562
29563 AFMINSTALL=afminstall
29564 TOOLKIT=MGL
29565 GUIDIST=MGL_DIST
29566 fi
29567
29568 if test "$wxUSE_DFB" = 1; then
29569
29570
29571 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29572 if test -n "$ac_tool_prefix"; then
29573 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29574 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29575 echo "$as_me:$LINENO: checking for $ac_word" >&5
29576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29577 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29578 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 else
29580 case $PKG_CONFIG in
29581 [\\/]* | ?:[\\/]*)
29582 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29583 ;;
29584 *)
29585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29586 for as_dir in $PATH
29587 do
29588 IFS=$as_save_IFS
29589 test -z "$as_dir" && as_dir=.
29590 for ac_exec_ext in '' $ac_executable_extensions; do
29591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29592 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29594 break 2
29595 fi
29596 done
29597 done
29598
29599 ;;
29600 esac
29601 fi
29602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29603
29604 if test -n "$PKG_CONFIG"; then
29605 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29606 echo "${ECHO_T}$PKG_CONFIG" >&6
29607 else
29608 echo "$as_me:$LINENO: result: no" >&5
29609 echo "${ECHO_T}no" >&6
29610 fi
29611
29612 fi
29613 if test -z "$ac_cv_path_PKG_CONFIG"; then
29614 ac_pt_PKG_CONFIG=$PKG_CONFIG
29615 # Extract the first word of "pkg-config", so it can be a program name with args.
29616 set dummy pkg-config; ac_word=$2
29617 echo "$as_me:$LINENO: checking for $ac_word" >&5
29618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29619 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29620 echo $ECHO_N "(cached) $ECHO_C" >&6
29621 else
29622 case $ac_pt_PKG_CONFIG in
29623 [\\/]* | ?:[\\/]*)
29624 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29625 ;;
29626 *)
29627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29628 for as_dir in $PATH
29629 do
29630 IFS=$as_save_IFS
29631 test -z "$as_dir" && as_dir=.
29632 for ac_exec_ext in '' $ac_executable_extensions; do
29633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29634 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29636 break 2
29637 fi
29638 done
29639 done
29640
29641 ;;
29642 esac
29643 fi
29644 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29645
29646 if test -n "$ac_pt_PKG_CONFIG"; then
29647 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29648 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29649 else
29650 echo "$as_me:$LINENO: result: no" >&5
29651 echo "${ECHO_T}no" >&6
29652 fi
29653
29654 PKG_CONFIG=$ac_pt_PKG_CONFIG
29655 else
29656 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29657 fi
29658
29659 fi
29660 if test -n "$PKG_CONFIG"; then
29661 _pkg_min_version=0.9.0
29662 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29663 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29664 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29665 echo "$as_me:$LINENO: result: yes" >&5
29666 echo "${ECHO_T}yes" >&6
29667 else
29668 echo "$as_me:$LINENO: result: no" >&5
29669 echo "${ECHO_T}no" >&6
29670 PKG_CONFIG=""
29671 fi
29672
29673 fi
29674
29675
29676 pkg_failed=no
29677 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29678 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29679
29680 if test -n "$PKG_CONFIG"; then
29681 if test -n "$DIRECTFB_CFLAGS"; then
29682 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29683 else
29684 if test -n "$PKG_CONFIG" && \
29685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29686 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29687 ac_status=$?
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); }; then
29690 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29691 else
29692 pkg_failed=yes
29693 fi
29694 fi
29695 else
29696 pkg_failed=untried
29697 fi
29698 if test -n "$PKG_CONFIG"; then
29699 if test -n "$DIRECTFB_LIBS"; then
29700 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29701 else
29702 if test -n "$PKG_CONFIG" && \
29703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29704 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29705 ac_status=$?
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; then
29708 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29709 else
29710 pkg_failed=yes
29711 fi
29712 fi
29713 else
29714 pkg_failed=untried
29715 fi
29716
29717
29718
29719 if test $pkg_failed = yes; then
29720
29721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29722 _pkg_short_errors_supported=yes
29723 else
29724 _pkg_short_errors_supported=no
29725 fi
29726 if test $_pkg_short_errors_supported = yes; then
29727 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29728 else
29729 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29730 fi
29731 # Put the nasty error message in config.log where it belongs
29732 echo "$DIRECTFB_PKG_ERRORS" >&5
29733
29734
29735 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29736 echo "$as_me: error: DirectFB not found." >&2;}
29737 { (exit 1); exit 1; }; }
29738
29739
29740 elif test $pkg_failed = untried; then
29741
29742 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29743 echo "$as_me: error: DirectFB not found." >&2;}
29744 { (exit 1); exit 1; }; }
29745
29746
29747 else
29748 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29749 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29750 echo "$as_me:$LINENO: result: yes" >&5
29751 echo "${ECHO_T}yes" >&6
29752
29753 wxUSE_UNIVERSAL="yes"
29754 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29755 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29756 TOOLKIT=DFB
29757 GUIDIST=DFB_DIST
29758
29759 fi
29760 fi
29761
29762 if test "$wxUSE_MICROWIN" = 1; then
29763 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29764 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29765 if test "x$MICROWINDOWS" = x ; then
29766 echo "$as_me:$LINENO: result: not found" >&5
29767 echo "${ECHO_T}not found" >&6
29768 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29769 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29770 { (exit 1); exit 1; }; }
29771 else
29772 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29773 echo "${ECHO_T}$MICROWINDOWS" >&6
29774 fi
29775
29776 if test -f $MICROWINDOWS/lib/libmwin.a; then
29777 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29778 echo "${ECHO_T}MicroWindows' libraries found." >&6
29779 else
29780 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29781 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29782 { (exit 1); exit 1; }; }
29783 fi
29784
29785 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29786 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29787
29788 wxUSE_UNIVERSAL="yes"
29789
29790 AFMINSTALL=afminstall
29791 TOOLKIT=MICROWIN
29792 GUIDIST=MICROWIN_DIST
29793
29794 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29795 fi
29796
29797 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29798
29799 if test "x$ac_path_x_has_been_run" != xyes; then
29800 echo "$as_me:$LINENO: checking for X" >&5
29801 echo $ECHO_N "checking for X... $ECHO_C" >&6
29802
29803 ac_path_x_has_been_run=yes
29804
29805 # Check whether --with-x or --without-x was given.
29806 if test "${with_x+set}" = set; then
29807 withval="$with_x"
29808
29809 fi;
29810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29811 if test "x$with_x" = xno; then
29812 # The user explicitly disabled X.
29813 have_x=disabled
29814 else
29815 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29816 # Both variables are already set.
29817 have_x=yes
29818 else
29819 if test "${ac_cv_have_x+set}" = set; then
29820 echo $ECHO_N "(cached) $ECHO_C" >&6
29821 else
29822 # One or both of the vars are not set, and there is no cached value.
29823 ac_x_includes=no ac_x_libraries=no
29824 rm -fr conftest.dir
29825 if mkdir conftest.dir; then
29826 cd conftest.dir
29827 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29828 cat >Imakefile <<'_ACEOF'
29829 acfindx:
29830 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29831 _ACEOF
29832 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29834 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29836 for ac_extension in a so sl; do
29837 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29838 test -f $ac_im_libdir/libX11.$ac_extension; then
29839 ac_im_usrlibdir=$ac_im_libdir; break
29840 fi
29841 done
29842 # Screen out bogus values from the imake configuration. They are
29843 # bogus both because they are the default anyway, and because
29844 # using them would break gcc on systems where it needs fixed includes.
29845 case $ac_im_incroot in
29846 /usr/include) ;;
29847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29848 esac
29849 case $ac_im_usrlibdir in
29850 /usr/lib | /lib) ;;
29851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29852 esac
29853 fi
29854 cd ..
29855 rm -fr conftest.dir
29856 fi
29857
29858 # Standard set of common directories for X headers.
29859 # Check X11 before X11Rn because it is often a symlink to the current release.
29860 ac_x_header_dirs='
29861 /usr/X11/include
29862 /usr/X11R6/include
29863 /usr/X11R5/include
29864 /usr/X11R4/include
29865
29866 /usr/include/X11
29867 /usr/include/X11R6
29868 /usr/include/X11R5
29869 /usr/include/X11R4
29870
29871 /usr/local/X11/include
29872 /usr/local/X11R6/include
29873 /usr/local/X11R5/include
29874 /usr/local/X11R4/include
29875
29876 /usr/local/include/X11
29877 /usr/local/include/X11R6
29878 /usr/local/include/X11R5
29879 /usr/local/include/X11R4
29880
29881 /usr/X386/include
29882 /usr/x386/include
29883 /usr/XFree86/include/X11
29884
29885 /usr/include
29886 /usr/local/include
29887 /usr/unsupported/include
29888 /usr/athena/include
29889 /usr/local/x11r5/include
29890 /usr/lpp/Xamples/include
29891
29892 /usr/openwin/include
29893 /usr/openwin/share/include'
29894
29895 if test "$ac_x_includes" = no; then
29896 # Guess where to find include files, by looking for a specified header file.
29897 # First, try using that file with no special directory specified.
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 #include <X11/Xlib.h>
29905 _ACEOF
29906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29908 ac_status=$?
29909 grep -v '^ *+' conftest.er1 >conftest.err
29910 rm -f conftest.er1
29911 cat conftest.err >&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } >/dev/null; then
29914 if test -s conftest.err; then
29915 ac_cpp_err=$ac_c_preproc_warn_flag
29916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29917 else
29918 ac_cpp_err=
29919 fi
29920 else
29921 ac_cpp_err=yes
29922 fi
29923 if test -z "$ac_cpp_err"; then
29924 # We can compile using X headers with no special include directory.
29925 ac_x_includes=
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 for ac_dir in $ac_x_header_dirs; do
29931 if test -r "$ac_dir/X11/Xlib.h"; then
29932 ac_x_includes=$ac_dir
29933 break
29934 fi
29935 done
29936 fi
29937 rm -f conftest.err conftest.$ac_ext
29938 fi # $ac_x_includes = no
29939
29940 if test "$ac_x_libraries" = no; then
29941 # Check for the libraries.
29942 # See if we find them without any special options.
29943 # Don't add to $LIBS permanently.
29944 ac_save_LIBS=$LIBS
29945 LIBS="-lX11 $LIBS"
29946 cat >conftest.$ac_ext <<_ACEOF
29947 /* confdefs.h. */
29948 _ACEOF
29949 cat confdefs.h >>conftest.$ac_ext
29950 cat >>conftest.$ac_ext <<_ACEOF
29951 /* end confdefs.h. */
29952 #include <X11/Xlib.h>
29953 int
29954 main ()
29955 {
29956 XrmInitialize ()
29957 ;
29958 return 0;
29959 }
29960 _ACEOF
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29963 (eval $ac_link) 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; } &&
29976 { ac_try='test -s conftest$ac_exeext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29979 ac_status=$?
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 LIBS=$ac_save_LIBS
29983 # We can link X programs with no special library path.
29984 ac_x_libraries=
29985 else
29986 echo "$as_me: failed program was:" >&5
29987 sed 's/^/| /' conftest.$ac_ext >&5
29988
29989 LIBS=$ac_save_LIBS
29990 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29991 do
29992 # Don't even attempt the hair of trying to link an X program!
29993 for ac_extension in a so sl; do
29994 if test -r $ac_dir/libX11.$ac_extension; then
29995 ac_x_libraries=$ac_dir
29996 break 2
29997 fi
29998 done
29999 done
30000 fi
30001 rm -f conftest.err conftest.$ac_objext \
30002 conftest$ac_exeext conftest.$ac_ext
30003 fi # $ac_x_libraries = no
30004
30005 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30006 # Didn't find X anywhere. Cache the known absence of X.
30007 ac_cv_have_x="have_x=no"
30008 else
30009 # Record where we found X for the cache.
30010 ac_cv_have_x="have_x=yes \
30011 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30012 fi
30013 fi
30014
30015 fi
30016 eval "$ac_cv_have_x"
30017 fi # $with_x != no
30018
30019 if test "$have_x" != yes; then
30020 echo "$as_me:$LINENO: result: $have_x" >&5
30021 echo "${ECHO_T}$have_x" >&6
30022 no_x=yes
30023 else
30024 # If each of the values was on the command line, it overrides each guess.
30025 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30026 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30027 # Update the cache value to reflect the command line values.
30028 ac_cv_have_x="have_x=yes \
30029 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30030 # It might be that x_includes is empty (headers are found in the
30031 # standard search path. Then output the corresponding message
30032 ac_out_x_includes=$x_includes
30033 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30034 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30035 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30036 fi
30037
30038 fi
30039 if test "$no_x" = yes; then
30040 # Not all programs may use this symbol, but it does not hurt to define it.
30041
30042 cat >>confdefs.h <<\_ACEOF
30043 #define X_DISPLAY_MISSING 1
30044 _ACEOF
30045
30046 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30047 else
30048 if test -n "$x_includes"; then
30049 X_CFLAGS="$X_CFLAGS -I$x_includes"
30050 fi
30051
30052 # It would also be nice to do this for all -L options, not just this one.
30053 if test -n "$x_libraries"; then
30054 X_LIBS="$X_LIBS -L$x_libraries"
30055 # For Solaris; some versions of Sun CC require a space after -R and
30056 # others require no space. Words are not sufficient . . . .
30057 case `(uname -sr) 2>/dev/null` in
30058 "SunOS 5"*)
30059 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30060 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30061 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30062 cat >conftest.$ac_ext <<_ACEOF
30063 /* confdefs.h. */
30064 _ACEOF
30065 cat confdefs.h >>conftest.$ac_ext
30066 cat >>conftest.$ac_ext <<_ACEOF
30067 /* end confdefs.h. */
30068
30069 int
30070 main ()
30071 {
30072
30073 ;
30074 return 0;
30075 }
30076 _ACEOF
30077 rm -f conftest.$ac_objext conftest$ac_exeext
30078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30079 (eval $ac_link) 2>conftest.er1
30080 ac_status=$?
30081 grep -v '^ *+' conftest.er1 >conftest.err
30082 rm -f conftest.er1
30083 cat conftest.err >&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); } &&
30086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30089 ac_status=$?
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; } &&
30092 { ac_try='test -s conftest$ac_exeext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30095 ac_status=$?
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 ac_R_nospace=yes
30099 else
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30102
30103 ac_R_nospace=no
30104 fi
30105 rm -f conftest.err conftest.$ac_objext \
30106 conftest$ac_exeext conftest.$ac_ext
30107 if test $ac_R_nospace = yes; then
30108 echo "$as_me:$LINENO: result: no" >&5
30109 echo "${ECHO_T}no" >&6
30110 X_LIBS="$X_LIBS -R$x_libraries"
30111 else
30112 LIBS="$ac_xsave_LIBS -R $x_libraries"
30113 cat >conftest.$ac_ext <<_ACEOF
30114 /* confdefs.h. */
30115 _ACEOF
30116 cat confdefs.h >>conftest.$ac_ext
30117 cat >>conftest.$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30119
30120 int
30121 main ()
30122 {
30123
30124 ;
30125 return 0;
30126 }
30127 _ACEOF
30128 rm -f conftest.$ac_objext conftest$ac_exeext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30130 (eval $ac_link) 2>conftest.er1
30131 ac_status=$?
30132 grep -v '^ *+' conftest.er1 >conftest.err
30133 rm -f conftest.er1
30134 cat conftest.err >&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } &&
30137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30139 (eval $ac_try) 2>&5
30140 ac_status=$?
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; } &&
30143 { ac_try='test -s conftest$ac_exeext'
30144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30145 (eval $ac_try) 2>&5
30146 ac_status=$?
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); }; }; then
30149 ac_R_space=yes
30150 else
30151 echo "$as_me: failed program was:" >&5
30152 sed 's/^/| /' conftest.$ac_ext >&5
30153
30154 ac_R_space=no
30155 fi
30156 rm -f conftest.err conftest.$ac_objext \
30157 conftest$ac_exeext conftest.$ac_ext
30158 if test $ac_R_space = yes; then
30159 echo "$as_me:$LINENO: result: yes" >&5
30160 echo "${ECHO_T}yes" >&6
30161 X_LIBS="$X_LIBS -R $x_libraries"
30162 else
30163 echo "$as_me:$LINENO: result: neither works" >&5
30164 echo "${ECHO_T}neither works" >&6
30165 fi
30166 fi
30167 LIBS=$ac_xsave_LIBS
30168 esac
30169 fi
30170
30171 # Check for system-dependent libraries X programs must link with.
30172 # Do this before checking for the system-independent R6 libraries
30173 # (-lICE), since we may need -lsocket or whatever for X linking.
30174
30175 if test "$ISC" = yes; then
30176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30177 else
30178 # Martyn Johnson says this is needed for Ultrix, if the X
30179 # libraries were built with DECnet support. And Karl Berry says
30180 # the Alpha needs dnet_stub (dnet does not exist).
30181 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h. */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188
30189 /* Override any gcc2 internal prototype to avoid an error. */
30190 #ifdef __cplusplus
30191 extern "C"
30192 #endif
30193 /* We use char because int might match the return type of a gcc2
30194 builtin and then its argument prototype would still apply. */
30195 char XOpenDisplay ();
30196 int
30197 main ()
30198 {
30199 XOpenDisplay ();
30200 ;
30201 return 0;
30202 }
30203 _ACEOF
30204 rm -f conftest.$ac_objext conftest$ac_exeext
30205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30206 (eval $ac_link) 2>conftest.er1
30207 ac_status=$?
30208 grep -v '^ *+' conftest.er1 >conftest.err
30209 rm -f conftest.er1
30210 cat conftest.err >&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); } &&
30213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30216 ac_status=$?
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; } &&
30219 { ac_try='test -s conftest$ac_exeext'
30220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30221 (eval $ac_try) 2>&5
30222 ac_status=$?
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); }; }; then
30225 :
30226 else
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30229
30230 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30231 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30232 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30233 echo $ECHO_N "(cached) $ECHO_C" >&6
30234 else
30235 ac_check_lib_save_LIBS=$LIBS
30236 LIBS="-ldnet $LIBS"
30237 cat >conftest.$ac_ext <<_ACEOF
30238 /* confdefs.h. */
30239 _ACEOF
30240 cat confdefs.h >>conftest.$ac_ext
30241 cat >>conftest.$ac_ext <<_ACEOF
30242 /* end confdefs.h. */
30243
30244 /* Override any gcc2 internal prototype to avoid an error. */
30245 #ifdef __cplusplus
30246 extern "C"
30247 #endif
30248 /* We use char because int might match the return type of a gcc2
30249 builtin and then its argument prototype would still apply. */
30250 char dnet_ntoa ();
30251 int
30252 main ()
30253 {
30254 dnet_ntoa ();
30255 ;
30256 return 0;
30257 }
30258 _ACEOF
30259 rm -f conftest.$ac_objext conftest$ac_exeext
30260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30261 (eval $ac_link) 2>conftest.er1
30262 ac_status=$?
30263 grep -v '^ *+' conftest.er1 >conftest.err
30264 rm -f conftest.er1
30265 cat conftest.err >&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); } &&
30268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270 (eval $ac_try) 2>&5
30271 ac_status=$?
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; } &&
30274 { ac_try='test -s conftest$ac_exeext'
30275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30276 (eval $ac_try) 2>&5
30277 ac_status=$?
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; }; then
30280 ac_cv_lib_dnet_dnet_ntoa=yes
30281 else
30282 echo "$as_me: failed program was:" >&5
30283 sed 's/^/| /' conftest.$ac_ext >&5
30284
30285 ac_cv_lib_dnet_dnet_ntoa=no
30286 fi
30287 rm -f conftest.err conftest.$ac_objext \
30288 conftest$ac_exeext conftest.$ac_ext
30289 LIBS=$ac_check_lib_save_LIBS
30290 fi
30291 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30292 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30293 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30294 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30295 fi
30296
30297 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30298 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30299 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30300 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30302 else
30303 ac_check_lib_save_LIBS=$LIBS
30304 LIBS="-ldnet_stub $LIBS"
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h. */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30311
30312 /* Override any gcc2 internal prototype to avoid an error. */
30313 #ifdef __cplusplus
30314 extern "C"
30315 #endif
30316 /* We use char because int might match the return type of a gcc2
30317 builtin and then its argument prototype would still apply. */
30318 char dnet_ntoa ();
30319 int
30320 main ()
30321 {
30322 dnet_ntoa ();
30323 ;
30324 return 0;
30325 }
30326 _ACEOF
30327 rm -f conftest.$ac_objext conftest$ac_exeext
30328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30329 (eval $ac_link) 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } &&
30336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30345 ac_status=$?
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30349 else
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.$ac_ext >&5
30352
30353 ac_cv_lib_dnet_stub_dnet_ntoa=no
30354 fi
30355 rm -f conftest.err conftest.$ac_objext \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30358 fi
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30360 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30361 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30362 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30363 fi
30364
30365 fi
30366 fi
30367 rm -f conftest.err conftest.$ac_objext \
30368 conftest$ac_exeext conftest.$ac_ext
30369 LIBS="$ac_xsave_LIBS"
30370
30371 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30372 # to get the SysV transport functions.
30373 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30374 # needs -lnsl.
30375 # The nsl library prevents programs from opening the X display
30376 # on Irix 5.2, according to T.E. Dickey.
30377 # The functions gethostbyname, getservbyname, and inet_addr are
30378 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30379 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30380 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30381 if test "${ac_cv_func_gethostbyname+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 else
30384 cat >conftest.$ac_ext <<_ACEOF
30385 /* confdefs.h. */
30386 _ACEOF
30387 cat confdefs.h >>conftest.$ac_ext
30388 cat >>conftest.$ac_ext <<_ACEOF
30389 /* end confdefs.h. */
30390 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30392 #define gethostbyname innocuous_gethostbyname
30393
30394 /* System header to define __stub macros and hopefully few prototypes,
30395 which can conflict with char gethostbyname (); below.
30396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30397 <limits.h> exists even on freestanding compilers. */
30398
30399 #ifdef __STDC__
30400 # include <limits.h>
30401 #else
30402 # include <assert.h>
30403 #endif
30404
30405 #undef gethostbyname
30406
30407 /* Override any gcc2 internal prototype to avoid an error. */
30408 #ifdef __cplusplus
30409 extern "C"
30410 {
30411 #endif
30412 /* We use char because int might match the return type of a gcc2
30413 builtin and then its argument prototype would still apply. */
30414 char gethostbyname ();
30415 /* The GNU C library defines this for functions which it implements
30416 to always fail with ENOSYS. Some functions are actually named
30417 something starting with __ and the normal name is an alias. */
30418 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30419 choke me
30420 #else
30421 char (*f) () = gethostbyname;
30422 #endif
30423 #ifdef __cplusplus
30424 }
30425 #endif
30426
30427 int
30428 main ()
30429 {
30430 return f != gethostbyname;
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30437 (eval $ac_link) 2>conftest.er1
30438 ac_status=$?
30439 grep -v '^ *+' conftest.er1 >conftest.err
30440 rm -f conftest.er1
30441 cat conftest.err >&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; } &&
30450 { ac_try='test -s conftest$ac_exeext'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30453 ac_status=$?
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; }; then
30456 ac_cv_func_gethostbyname=yes
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_func_gethostbyname=no
30462 fi
30463 rm -f conftest.err conftest.$ac_objext \
30464 conftest$ac_exeext conftest.$ac_ext
30465 fi
30466 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30467 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30468
30469 if test $ac_cv_func_gethostbyname = no; then
30470 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30471 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30472 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30473 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 else
30475 ac_check_lib_save_LIBS=$LIBS
30476 LIBS="-lnsl $LIBS"
30477 cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h. */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483
30484 /* Override any gcc2 internal prototype to avoid an error. */
30485 #ifdef __cplusplus
30486 extern "C"
30487 #endif
30488 /* We use char because int might match the return type of a gcc2
30489 builtin and then its argument prototype would still apply. */
30490 char gethostbyname ();
30491 int
30492 main ()
30493 {
30494 gethostbyname ();
30495 ;
30496 return 0;
30497 }
30498 _ACEOF
30499 rm -f conftest.$ac_objext conftest$ac_exeext
30500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30501 (eval $ac_link) 2>conftest.er1
30502 ac_status=$?
30503 grep -v '^ *+' conftest.er1 >conftest.err
30504 rm -f conftest.er1
30505 cat conftest.err >&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); } &&
30508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30517 ac_status=$?
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 ac_cv_lib_nsl_gethostbyname=yes
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 ac_cv_lib_nsl_gethostbyname=no
30526 fi
30527 rm -f conftest.err conftest.$ac_objext \
30528 conftest$ac_exeext conftest.$ac_ext
30529 LIBS=$ac_check_lib_save_LIBS
30530 fi
30531 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30532 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30533 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30534 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30535 fi
30536
30537 if test $ac_cv_lib_nsl_gethostbyname = no; then
30538 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30539 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30540 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30541 echo $ECHO_N "(cached) $ECHO_C" >&6
30542 else
30543 ac_check_lib_save_LIBS=$LIBS
30544 LIBS="-lbsd $LIBS"
30545 cat >conftest.$ac_ext <<_ACEOF
30546 /* confdefs.h. */
30547 _ACEOF
30548 cat confdefs.h >>conftest.$ac_ext
30549 cat >>conftest.$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30551
30552 /* Override any gcc2 internal prototype to avoid an error. */
30553 #ifdef __cplusplus
30554 extern "C"
30555 #endif
30556 /* We use char because int might match the return type of a gcc2
30557 builtin and then its argument prototype would still apply. */
30558 char gethostbyname ();
30559 int
30560 main ()
30561 {
30562 gethostbyname ();
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 rm -f conftest.$ac_objext conftest$ac_exeext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30569 (eval $ac_link) 2>conftest.er1
30570 ac_status=$?
30571 grep -v '^ *+' conftest.er1 >conftest.err
30572 rm -f conftest.er1
30573 cat conftest.err >&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; } &&
30582 { ac_try='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30588 ac_cv_lib_bsd_gethostbyname=yes
30589 else
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30592
30593 ac_cv_lib_bsd_gethostbyname=no
30594 fi
30595 rm -f conftest.err conftest.$ac_objext \
30596 conftest$ac_exeext conftest.$ac_ext
30597 LIBS=$ac_check_lib_save_LIBS
30598 fi
30599 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30600 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30601 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30603 fi
30604
30605 fi
30606 fi
30607
30608 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30609 # socket/setsockopt and other routines are undefined under SCO ODT
30610 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30611 # on later versions), says Simon Leinen: it contains gethostby*
30612 # variants that don't use the name server (or something). -lsocket
30613 # must be given before -lnsl if both are needed. We assume that
30614 # if connect needs -lnsl, so does gethostbyname.
30615 echo "$as_me:$LINENO: checking for connect" >&5
30616 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30617 if test "${ac_cv_func_connect+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 cat >conftest.$ac_ext <<_ACEOF
30621 /* confdefs.h. */
30622 _ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30626 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30628 #define connect innocuous_connect
30629
30630 /* System header to define __stub macros and hopefully few prototypes,
30631 which can conflict with char connect (); below.
30632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30633 <limits.h> exists even on freestanding compilers. */
30634
30635 #ifdef __STDC__
30636 # include <limits.h>
30637 #else
30638 # include <assert.h>
30639 #endif
30640
30641 #undef connect
30642
30643 /* Override any gcc2 internal prototype to avoid an error. */
30644 #ifdef __cplusplus
30645 extern "C"
30646 {
30647 #endif
30648 /* We use char because int might match the return type of a gcc2
30649 builtin and then its argument prototype would still apply. */
30650 char connect ();
30651 /* The GNU C library defines this for functions which it implements
30652 to always fail with ENOSYS. Some functions are actually named
30653 something starting with __ and the normal name is an alias. */
30654 #if defined (__stub_connect) || defined (__stub___connect)
30655 choke me
30656 #else
30657 char (*f) () = connect;
30658 #endif
30659 #ifdef __cplusplus
30660 }
30661 #endif
30662
30663 int
30664 main ()
30665 {
30666 return f != connect;
30667 ;
30668 return 0;
30669 }
30670 _ACEOF
30671 rm -f conftest.$ac_objext conftest$ac_exeext
30672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30673 (eval $ac_link) 2>conftest.er1
30674 ac_status=$?
30675 grep -v '^ *+' conftest.er1 >conftest.err
30676 rm -f conftest.er1
30677 cat conftest.err >&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); } &&
30680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30682 (eval $ac_try) 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; } &&
30686 { ac_try='test -s conftest$ac_exeext'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30689 ac_status=$?
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30692 ac_cv_func_connect=yes
30693 else
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.$ac_ext >&5
30696
30697 ac_cv_func_connect=no
30698 fi
30699 rm -f conftest.err conftest.$ac_objext \
30700 conftest$ac_exeext conftest.$ac_ext
30701 fi
30702 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30703 echo "${ECHO_T}$ac_cv_func_connect" >&6
30704
30705 if test $ac_cv_func_connect = no; then
30706 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30707 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30708 if test "${ac_cv_lib_socket_connect+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 else
30711 ac_check_lib_save_LIBS=$LIBS
30712 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719
30720 /* Override any gcc2 internal prototype to avoid an error. */
30721 #ifdef __cplusplus
30722 extern "C"
30723 #endif
30724 /* We use char because int might match the return type of a gcc2
30725 builtin and then its argument prototype would still apply. */
30726 char connect ();
30727 int
30728 main ()
30729 {
30730 connect ();
30731 ;
30732 return 0;
30733 }
30734 _ACEOF
30735 rm -f conftest.$ac_objext conftest$ac_exeext
30736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30737 (eval $ac_link) 2>conftest.er1
30738 ac_status=$?
30739 grep -v '^ *+' conftest.er1 >conftest.err
30740 rm -f conftest.er1
30741 cat conftest.err >&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); } &&
30744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30746 (eval $ac_try) 2>&5
30747 ac_status=$?
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); }; } &&
30750 { ac_try='test -s conftest$ac_exeext'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30753 ac_status=$?
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 ac_cv_lib_socket_connect=yes
30757 else
30758 echo "$as_me: failed program was:" >&5
30759 sed 's/^/| /' conftest.$ac_ext >&5
30760
30761 ac_cv_lib_socket_connect=no
30762 fi
30763 rm -f conftest.err conftest.$ac_objext \
30764 conftest$ac_exeext conftest.$ac_ext
30765 LIBS=$ac_check_lib_save_LIBS
30766 fi
30767 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30768 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30769 if test $ac_cv_lib_socket_connect = yes; then
30770 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30771 fi
30772
30773 fi
30774
30775 # Guillermo Gomez says -lposix is necessary on A/UX.
30776 echo "$as_me:$LINENO: checking for remove" >&5
30777 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30778 if test "${ac_cv_func_remove+set}" = set; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 else
30781 cat >conftest.$ac_ext <<_ACEOF
30782 /* confdefs.h. */
30783 _ACEOF
30784 cat confdefs.h >>conftest.$ac_ext
30785 cat >>conftest.$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30787 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30789 #define remove innocuous_remove
30790
30791 /* System header to define __stub macros and hopefully few prototypes,
30792 which can conflict with char remove (); below.
30793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30794 <limits.h> exists even on freestanding compilers. */
30795
30796 #ifdef __STDC__
30797 # include <limits.h>
30798 #else
30799 # include <assert.h>
30800 #endif
30801
30802 #undef remove
30803
30804 /* Override any gcc2 internal prototype to avoid an error. */
30805 #ifdef __cplusplus
30806 extern "C"
30807 {
30808 #endif
30809 /* We use char because int might match the return type of a gcc2
30810 builtin and then its argument prototype would still apply. */
30811 char remove ();
30812 /* The GNU C library defines this for functions which it implements
30813 to always fail with ENOSYS. Some functions are actually named
30814 something starting with __ and the normal name is an alias. */
30815 #if defined (__stub_remove) || defined (__stub___remove)
30816 choke me
30817 #else
30818 char (*f) () = remove;
30819 #endif
30820 #ifdef __cplusplus
30821 }
30822 #endif
30823
30824 int
30825 main ()
30826 {
30827 return f != remove;
30828 ;
30829 return 0;
30830 }
30831 _ACEOF
30832 rm -f conftest.$ac_objext conftest$ac_exeext
30833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30834 (eval $ac_link) 2>conftest.er1
30835 ac_status=$?
30836 grep -v '^ *+' conftest.er1 >conftest.err
30837 rm -f conftest.er1
30838 cat conftest.err >&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); } &&
30841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30844 ac_status=$?
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; } &&
30847 { ac_try='test -s conftest$ac_exeext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30850 ac_status=$?
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30853 ac_cv_func_remove=yes
30854 else
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.$ac_ext >&5
30857
30858 ac_cv_func_remove=no
30859 fi
30860 rm -f conftest.err conftest.$ac_objext \
30861 conftest$ac_exeext conftest.$ac_ext
30862 fi
30863 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30864 echo "${ECHO_T}$ac_cv_func_remove" >&6
30865
30866 if test $ac_cv_func_remove = no; then
30867 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30868 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30869 if test "${ac_cv_lib_posix_remove+set}" = set; then
30870 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 else
30872 ac_check_lib_save_LIBS=$LIBS
30873 LIBS="-lposix $LIBS"
30874 cat >conftest.$ac_ext <<_ACEOF
30875 /* confdefs.h. */
30876 _ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30880
30881 /* Override any gcc2 internal prototype to avoid an error. */
30882 #ifdef __cplusplus
30883 extern "C"
30884 #endif
30885 /* We use char because int might match the return type of a gcc2
30886 builtin and then its argument prototype would still apply. */
30887 char remove ();
30888 int
30889 main ()
30890 {
30891 remove ();
30892 ;
30893 return 0;
30894 }
30895 _ACEOF
30896 rm -f conftest.$ac_objext conftest$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898 (eval $ac_link) 2>conftest.er1
30899 ac_status=$?
30900 grep -v '^ *+' conftest.er1 >conftest.err
30901 rm -f conftest.er1
30902 cat conftest.err >&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } &&
30905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 ac_cv_lib_posix_remove=yes
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 ac_cv_lib_posix_remove=no
30923 fi
30924 rm -f conftest.err conftest.$ac_objext \
30925 conftest$ac_exeext conftest.$ac_ext
30926 LIBS=$ac_check_lib_save_LIBS
30927 fi
30928 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30929 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30930 if test $ac_cv_lib_posix_remove = yes; then
30931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30932 fi
30933
30934 fi
30935
30936 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30937 echo "$as_me:$LINENO: checking for shmat" >&5
30938 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30939 if test "${ac_cv_func_shmat+set}" = set; then
30940 echo $ECHO_N "(cached) $ECHO_C" >&6
30941 else
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30950 #define shmat innocuous_shmat
30951
30952 /* System header to define __stub macros and hopefully few prototypes,
30953 which can conflict with char shmat (); below.
30954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30955 <limits.h> exists even on freestanding compilers. */
30956
30957 #ifdef __STDC__
30958 # include <limits.h>
30959 #else
30960 # include <assert.h>
30961 #endif
30962
30963 #undef shmat
30964
30965 /* Override any gcc2 internal prototype to avoid an error. */
30966 #ifdef __cplusplus
30967 extern "C"
30968 {
30969 #endif
30970 /* We use char because int might match the return type of a gcc2
30971 builtin and then its argument prototype would still apply. */
30972 char shmat ();
30973 /* The GNU C library defines this for functions which it implements
30974 to always fail with ENOSYS. Some functions are actually named
30975 something starting with __ and the normal name is an alias. */
30976 #if defined (__stub_shmat) || defined (__stub___shmat)
30977 choke me
30978 #else
30979 char (*f) () = shmat;
30980 #endif
30981 #ifdef __cplusplus
30982 }
30983 #endif
30984
30985 int
30986 main ()
30987 {
30988 return f != shmat;
30989 ;
30990 return 0;
30991 }
30992 _ACEOF
30993 rm -f conftest.$ac_objext conftest$ac_exeext
30994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30995 (eval $ac_link) 2>conftest.er1
30996 ac_status=$?
30997 grep -v '^ *+' conftest.er1 >conftest.err
30998 rm -f conftest.er1
30999 cat conftest.err >&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } &&
31002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; } &&
31008 { ac_try='test -s conftest$ac_exeext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 ac_cv_func_shmat=yes
31015 else
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31018
31019 ac_cv_func_shmat=no
31020 fi
31021 rm -f conftest.err conftest.$ac_objext \
31022 conftest$ac_exeext conftest.$ac_ext
31023 fi
31024 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31025 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31026
31027 if test $ac_cv_func_shmat = no; then
31028 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31029 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31031 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 else
31033 ac_check_lib_save_LIBS=$LIBS
31034 LIBS="-lipc $LIBS"
31035 cat >conftest.$ac_ext <<_ACEOF
31036 /* confdefs.h. */
31037 _ACEOF
31038 cat confdefs.h >>conftest.$ac_ext
31039 cat >>conftest.$ac_ext <<_ACEOF
31040 /* end confdefs.h. */
31041
31042 /* Override any gcc2 internal prototype to avoid an error. */
31043 #ifdef __cplusplus
31044 extern "C"
31045 #endif
31046 /* We use char because int might match the return type of a gcc2
31047 builtin and then its argument prototype would still apply. */
31048 char shmat ();
31049 int
31050 main ()
31051 {
31052 shmat ();
31053 ;
31054 return 0;
31055 }
31056 _ACEOF
31057 rm -f conftest.$ac_objext conftest$ac_exeext
31058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31059 (eval $ac_link) 2>conftest.er1
31060 ac_status=$?
31061 grep -v '^ *+' conftest.er1 >conftest.err
31062 rm -f conftest.er1
31063 cat conftest.err >&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31069 ac_status=$?
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try='test -s conftest$ac_exeext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31075 ac_status=$?
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31078 ac_cv_lib_ipc_shmat=yes
31079 else
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31082
31083 ac_cv_lib_ipc_shmat=no
31084 fi
31085 rm -f conftest.err conftest.$ac_objext \
31086 conftest$ac_exeext conftest.$ac_ext
31087 LIBS=$ac_check_lib_save_LIBS
31088 fi
31089 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31090 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31091 if test $ac_cv_lib_ipc_shmat = yes; then
31092 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31093 fi
31094
31095 fi
31096 fi
31097
31098 # Check for libraries that X11R6 Xt/Xaw programs need.
31099 ac_save_LDFLAGS=$LDFLAGS
31100 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31101 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31102 # check for ICE first), but we must link in the order -lSM -lICE or
31103 # we get undefined symbols. So assume we have SM if we have ICE.
31104 # These have to be linked with before -lX11, unlike the other
31105 # libraries we check for below, so use a different variable.
31106 # John Interrante, Karl Berry
31107 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31108 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31109 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31110 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 else
31112 ac_check_lib_save_LIBS=$LIBS
31113 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31114 cat >conftest.$ac_ext <<_ACEOF
31115 /* confdefs.h. */
31116 _ACEOF
31117 cat confdefs.h >>conftest.$ac_ext
31118 cat >>conftest.$ac_ext <<_ACEOF
31119 /* end confdefs.h. */
31120
31121 /* Override any gcc2 internal prototype to avoid an error. */
31122 #ifdef __cplusplus
31123 extern "C"
31124 #endif
31125 /* We use char because int might match the return type of a gcc2
31126 builtin and then its argument prototype would still apply. */
31127 char IceConnectionNumber ();
31128 int
31129 main ()
31130 {
31131 IceConnectionNumber ();
31132 ;
31133 return 0;
31134 }
31135 _ACEOF
31136 rm -f conftest.$ac_objext conftest$ac_exeext
31137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31138 (eval $ac_link) 2>conftest.er1
31139 ac_status=$?
31140 grep -v '^ *+' conftest.er1 >conftest.err
31141 rm -f conftest.er1
31142 cat conftest.err >&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); } &&
31145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31147 (eval $ac_try) 2>&5
31148 ac_status=$?
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); }; } &&
31151 { ac_try='test -s conftest$ac_exeext'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; }; then
31157 ac_cv_lib_ICE_IceConnectionNumber=yes
31158 else
31159 echo "$as_me: failed program was:" >&5
31160 sed 's/^/| /' conftest.$ac_ext >&5
31161
31162 ac_cv_lib_ICE_IceConnectionNumber=no
31163 fi
31164 rm -f conftest.err conftest.$ac_objext \
31165 conftest$ac_exeext conftest.$ac_ext
31166 LIBS=$ac_check_lib_save_LIBS
31167 fi
31168 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31169 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31170 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31171 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31172 fi
31173
31174 LDFLAGS=$ac_save_LDFLAGS
31175
31176 fi
31177
31178
31179 if test "$no_x" = "yes"; then
31180 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31181 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31182 { (exit 1); exit 1; }; }
31183 fi
31184
31185 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31186 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31187 AFMINSTALL=afminstall
31188 COMPILED_X_PROGRAM=0
31189
31190 fi
31191
31192 if test "$wxUSE_X11" = 1; then
31193 if test "$wxUSE_NANOX" = "yes"; then
31194 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31195 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31196 if test "x$MICROWIN" = x ; then
31197 echo "$as_me:$LINENO: result: not found" >&5
31198 echo "${ECHO_T}not found" >&6
31199 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31200 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31201 { (exit 1); exit 1; }; }
31202 else
31203 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31204 echo "${ECHO_T}$MICROWIN" >&6
31205 cat >>confdefs.h <<\_ACEOF
31206 #define wxUSE_NANOX 1
31207 _ACEOF
31208
31209 fi
31210 fi
31211
31212 if test "$wxUSE_UNICODE" = "yes"; then
31213
31214
31215 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31216 if test -n "$ac_tool_prefix"; then
31217 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31218 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31219 echo "$as_me:$LINENO: checking for $ac_word" >&5
31220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31222 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 else
31224 case $PKG_CONFIG in
31225 [\\/]* | ?:[\\/]*)
31226 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31227 ;;
31228 *)
31229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31230 for as_dir in $PATH
31231 do
31232 IFS=$as_save_IFS
31233 test -z "$as_dir" && as_dir=.
31234 for ac_exec_ext in '' $ac_executable_extensions; do
31235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31236 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31238 break 2
31239 fi
31240 done
31241 done
31242
31243 ;;
31244 esac
31245 fi
31246 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31247
31248 if test -n "$PKG_CONFIG"; then
31249 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31250 echo "${ECHO_T}$PKG_CONFIG" >&6
31251 else
31252 echo "$as_me:$LINENO: result: no" >&5
31253 echo "${ECHO_T}no" >&6
31254 fi
31255
31256 fi
31257 if test -z "$ac_cv_path_PKG_CONFIG"; then
31258 ac_pt_PKG_CONFIG=$PKG_CONFIG
31259 # Extract the first word of "pkg-config", so it can be a program name with args.
31260 set dummy pkg-config; ac_word=$2
31261 echo "$as_me:$LINENO: checking for $ac_word" >&5
31262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31263 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 else
31266 case $ac_pt_PKG_CONFIG in
31267 [\\/]* | ?:[\\/]*)
31268 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31269 ;;
31270 *)
31271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31272 for as_dir in $PATH
31273 do
31274 IFS=$as_save_IFS
31275 test -z "$as_dir" && as_dir=.
31276 for ac_exec_ext in '' $ac_executable_extensions; do
31277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31278 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31280 break 2
31281 fi
31282 done
31283 done
31284
31285 ;;
31286 esac
31287 fi
31288 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31289
31290 if test -n "$ac_pt_PKG_CONFIG"; then
31291 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31292 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31293 else
31294 echo "$as_me:$LINENO: result: no" >&5
31295 echo "${ECHO_T}no" >&6
31296 fi
31297
31298 PKG_CONFIG=$ac_pt_PKG_CONFIG
31299 else
31300 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31301 fi
31302
31303 fi
31304 if test -n "$PKG_CONFIG"; then
31305 _pkg_min_version=0.9.0
31306 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31307 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31309 echo "$as_me:$LINENO: result: yes" >&5
31310 echo "${ECHO_T}yes" >&6
31311 else
31312 echo "$as_me:$LINENO: result: no" >&5
31313 echo "${ECHO_T}no" >&6
31314 PKG_CONFIG=""
31315 fi
31316
31317 fi
31318
31319
31320 pkg_failed=no
31321 echo "$as_me:$LINENO: checking for PANGOX" >&5
31322 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31323
31324 if test -n "$PKG_CONFIG"; then
31325 if test -n "$PANGOX_CFLAGS"; then
31326 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31327 else
31328 if test -n "$PKG_CONFIG" && \
31329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31330 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31331 ac_status=$?
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; then
31334 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31335 else
31336 pkg_failed=yes
31337 fi
31338 fi
31339 else
31340 pkg_failed=untried
31341 fi
31342 if test -n "$PKG_CONFIG"; then
31343 if test -n "$PANGOX_LIBS"; then
31344 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31345 else
31346 if test -n "$PKG_CONFIG" && \
31347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31348 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31349 ac_status=$?
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; then
31352 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31353 else
31354 pkg_failed=yes
31355 fi
31356 fi
31357 else
31358 pkg_failed=untried
31359 fi
31360
31361
31362
31363 if test $pkg_failed = yes; then
31364
31365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31366 _pkg_short_errors_supported=yes
31367 else
31368 _pkg_short_errors_supported=no
31369 fi
31370 if test $_pkg_short_errors_supported = yes; then
31371 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31372 else
31373 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31374 fi
31375 # Put the nasty error message in config.log where it belongs
31376 echo "$PANGOX_PKG_ERRORS" >&5
31377
31378
31379 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31380 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31381 { (exit 1); exit 1; }; }
31382
31383
31384 elif test $pkg_failed = untried; then
31385
31386 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31387 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31388 { (exit 1); exit 1; }; }
31389
31390
31391 else
31392 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31393 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31394 echo "$as_me:$LINENO: result: yes" >&5
31395 echo "${ECHO_T}yes" >&6
31396
31397 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31398 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31399
31400 fi
31401
31402 pkg_failed=no
31403 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31404 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31405
31406 if test -n "$PKG_CONFIG"; then
31407 if test -n "$PANGOFT2_CFLAGS"; then
31408 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31409 else
31410 if test -n "$PKG_CONFIG" && \
31411 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31412 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; then
31416 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31417 else
31418 pkg_failed=yes
31419 fi
31420 fi
31421 else
31422 pkg_failed=untried
31423 fi
31424 if test -n "$PKG_CONFIG"; then
31425 if test -n "$PANGOFT2_LIBS"; then
31426 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31427 else
31428 if test -n "$PKG_CONFIG" && \
31429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31430 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; then
31434 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31435 else
31436 pkg_failed=yes
31437 fi
31438 fi
31439 else
31440 pkg_failed=untried
31441 fi
31442
31443
31444
31445 if test $pkg_failed = yes; then
31446
31447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31448 _pkg_short_errors_supported=yes
31449 else
31450 _pkg_short_errors_supported=no
31451 fi
31452 if test $_pkg_short_errors_supported = yes; then
31453 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31454 else
31455 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31456 fi
31457 # Put the nasty error message in config.log where it belongs
31458 echo "$PANGOFT2_PKG_ERRORS" >&5
31459
31460
31461 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31462 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31463 wxUSE_PRINTING_ARCHITECTURE="no"
31464
31465
31466 elif test $pkg_failed = untried; then
31467
31468 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31469 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31470 wxUSE_PRINTING_ARCHITECTURE="no"
31471
31472
31473 else
31474 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31475 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31476 echo "$as_me:$LINENO: result: yes" >&5
31477 echo "${ECHO_T}yes" >&6
31478
31479 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31481
31482 fi
31483
31484 pkg_failed=no
31485 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31486 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31487
31488 if test -n "$PKG_CONFIG"; then
31489 if test -n "$PANGOXFT_CFLAGS"; then
31490 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31491 else
31492 if test -n "$PKG_CONFIG" && \
31493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31494 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31495 ac_status=$?
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; then
31498 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31499 else
31500 pkg_failed=yes
31501 fi
31502 fi
31503 else
31504 pkg_failed=untried
31505 fi
31506 if test -n "$PKG_CONFIG"; then
31507 if test -n "$PANGOXFT_LIBS"; then
31508 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31509 else
31510 if test -n "$PKG_CONFIG" && \
31511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31512 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31513 ac_status=$?
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; then
31516 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31517 else
31518 pkg_failed=yes
31519 fi
31520 fi
31521 else
31522 pkg_failed=untried
31523 fi
31524
31525
31526
31527 if test $pkg_failed = yes; then
31528
31529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31530 _pkg_short_errors_supported=yes
31531 else
31532 _pkg_short_errors_supported=no
31533 fi
31534 if test $_pkg_short_errors_supported = yes; then
31535 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31536 else
31537 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31538 fi
31539 # Put the nasty error message in config.log where it belongs
31540 echo "$PANGOXFT_PKG_ERRORS" >&5
31541
31542
31543 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31544 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31545
31546
31547 elif test $pkg_failed = untried; then
31548
31549 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31550 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31551
31552
31553 else
31554 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31555 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31556 echo "$as_me:$LINENO: result: yes" >&5
31557 echo "${ECHO_T}yes" >&6
31558
31559 cat >>confdefs.h <<\_ACEOF
31560 #define HAVE_PANGO_XFT 1
31561 _ACEOF
31562
31563 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31564 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31565
31566 fi
31567 save_CXXFLAGS="$CXXFLAGS"
31568 save_LIBS="$LIBS"
31569 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31570 LIBS="$LIBS $PANGOX_LIBS"
31571
31572 for ac_func in pango_font_family_is_monospace
31573 do
31574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31575 echo "$as_me:$LINENO: checking for $ac_func" >&5
31576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31577 if eval "test \"\${$as_ac_var+set}\" = set"; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 else
31580 cat >conftest.$ac_ext <<_ACEOF
31581 /* confdefs.h. */
31582 _ACEOF
31583 cat confdefs.h >>conftest.$ac_ext
31584 cat >>conftest.$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31588 #define $ac_func innocuous_$ac_func
31589
31590 /* System header to define __stub macros and hopefully few prototypes,
31591 which can conflict with char $ac_func (); below.
31592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31593 <limits.h> exists even on freestanding compilers. */
31594
31595 #ifdef __STDC__
31596 # include <limits.h>
31597 #else
31598 # include <assert.h>
31599 #endif
31600
31601 #undef $ac_func
31602
31603 /* Override any gcc2 internal prototype to avoid an error. */
31604 #ifdef __cplusplus
31605 extern "C"
31606 {
31607 #endif
31608 /* We use char because int might match the return type of a gcc2
31609 builtin and then its argument prototype would still apply. */
31610 char $ac_func ();
31611 /* The GNU C library defines this for functions which it implements
31612 to always fail with ENOSYS. Some functions are actually named
31613 something starting with __ and the normal name is an alias. */
31614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31615 choke me
31616 #else
31617 char (*f) () = $ac_func;
31618 #endif
31619 #ifdef __cplusplus
31620 }
31621 #endif
31622
31623 int
31624 main ()
31625 {
31626 return f != $ac_func;
31627 ;
31628 return 0;
31629 }
31630 _ACEOF
31631 rm -f conftest.$ac_objext conftest$ac_exeext
31632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31633 (eval $ac_link) 2>conftest.er1
31634 ac_status=$?
31635 grep -v '^ *+' conftest.er1 >conftest.err
31636 rm -f conftest.er1
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } &&
31640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31642 (eval $ac_try) 2>&5
31643 ac_status=$?
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); }; } &&
31646 { ac_try='test -s conftest$ac_exeext'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31649 ac_status=$?
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; }; then
31652 eval "$as_ac_var=yes"
31653 else
31654 echo "$as_me: failed program was:" >&5
31655 sed 's/^/| /' conftest.$ac_ext >&5
31656
31657 eval "$as_ac_var=no"
31658 fi
31659 rm -f conftest.err conftest.$ac_objext \
31660 conftest$ac_exeext conftest.$ac_ext
31661 fi
31662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31664 if test `eval echo '${'$as_ac_var'}'` = yes; then
31665 cat >>confdefs.h <<_ACEOF
31666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31667 _ACEOF
31668
31669 fi
31670 done
31671
31672 CXXFLAGS="$save_CXXFLAGS"
31673 LIBS="$save_LIBS"
31674 fi
31675
31676 wxUSE_UNIVERSAL="yes"
31677
31678 if test "$wxUSE_NANOX" = "yes"; then
31679 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31680 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"
31681 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31682 else
31683 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31684 fi
31685
31686 TOOLKIT=X11
31687 GUIDIST=X11_DIST
31688 fi
31689
31690 if test "$wxUSE_MOTIF" = 1; then
31691 if test "$wxUSE_UNICODE" = "yes"; then
31692 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31693 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31694 { (exit 1); exit 1; }; }
31695 fi
31696
31697 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31698 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31699
31700 ac_find_includes=
31701 for ac_dir in $SEARCH_INCLUDE /usr/include;
31702 do
31703 if test -f "$ac_dir/Xm/Xm.h"; then
31704 ac_find_includes=$ac_dir
31705 break
31706 fi
31707 done
31708
31709 if test "$ac_find_includes" != "" ; then
31710 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31711 echo "${ECHO_T}found in $ac_find_includes" >&6
31712
31713 if test "x$ac_find_includes" = "x/usr/include"; then
31714 ac_path_to_include=""
31715 else
31716 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31717 result=$?
31718 if test $result = 0; then
31719 ac_path_to_include=""
31720 else
31721 ac_path_to_include=" -I$ac_find_includes"
31722 fi
31723 fi
31724
31725 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31726 else
31727 save_CXXFLAGS=$CXXFLAGS
31728 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31729
31730 cat >conftest.$ac_ext <<_ACEOF
31731 /* confdefs.h. */
31732 _ACEOF
31733 cat confdefs.h >>conftest.$ac_ext
31734 cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736
31737 #include <Xm/Xm.h>
31738
31739 int
31740 main ()
31741 {
31742
31743 int version;
31744 version = xmUseVersion;
31745
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 rm -f conftest.$ac_objext
31751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31752 (eval $ac_compile) 2>conftest.er1
31753 ac_status=$?
31754 grep -v '^ *+' conftest.er1 >conftest.err
31755 rm -f conftest.er1
31756 cat conftest.err >&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } &&
31759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31761 (eval $ac_try) 2>&5
31762 ac_status=$?
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; } &&
31765 { ac_try='test -s conftest.$ac_objext'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; }; then
31771
31772 echo "$as_me:$LINENO: result: found in default search path" >&5
31773 echo "${ECHO_T}found in default search path" >&6
31774 COMPILED_X_PROGRAM=1
31775
31776 else
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31779
31780
31781 echo "$as_me:$LINENO: result: no" >&5
31782 echo "${ECHO_T}no" >&6
31783 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31784 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31785 { (exit 1); exit 1; }; }
31786
31787
31788 fi
31789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31790
31791 CXXFLAGS=$save_CXXFLAGS
31792 fi
31793
31794
31795 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31796 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31797
31798 ac_find_libraries=
31799 for ac_dir in $SEARCH_LIB;
31800 do
31801 for ac_extension in a so sl dylib dll.a; do
31802 if test -f "$ac_dir/libXm.$ac_extension"; then
31803 ac_find_libraries=$ac_dir
31804 break 2
31805 fi
31806 done
31807 done
31808
31809
31810 if test "x$ac_find_libraries" != "x" ; then
31811 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31812 echo "${ECHO_T}found in $ac_find_libraries" >&6
31813
31814
31815 if test "$ac_find_libraries" = "default location"; then
31816 ac_path_to_link=""
31817 else
31818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31819 result=$?
31820 if test $result = 0; then
31821 ac_path_to_link=""
31822 else
31823 ac_path_to_link=" -L$ac_find_libraries"
31824 fi
31825 fi
31826
31827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31828 else
31829 save_CXXFLAGS=$CXXFLAGS
31830 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31831 save_LIBS="$LIBS"
31832 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31833
31834 cat >conftest.$ac_ext <<_ACEOF
31835 /* confdefs.h. */
31836 _ACEOF
31837 cat confdefs.h >>conftest.$ac_ext
31838 cat >>conftest.$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840
31841 #include <Xm/Xm.h>
31842
31843 int
31844 main ()
31845 {
31846
31847 int version;
31848 version = xmUseVersion;
31849
31850 ;
31851 return 0;
31852 }
31853 _ACEOF
31854 rm -f conftest.$ac_objext conftest$ac_exeext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31856 (eval $ac_link) 2>conftest.er1
31857 ac_status=$?
31858 grep -v '^ *+' conftest.er1 >conftest.err
31859 rm -f conftest.er1
31860 cat conftest.err >&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } &&
31863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; } &&
31869 { ac_try='test -s conftest$ac_exeext'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; }; then
31875
31876 echo "$as_me:$LINENO: result: found in default search path" >&5
31877 echo "${ECHO_T}found in default search path" >&6
31878 COMPILED_X_PROGRAM=1
31879
31880 else
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31883
31884
31885 echo "$as_me:$LINENO: result: no" >&5
31886 echo "${ECHO_T}no" >&6
31887 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31888 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31889 { (exit 1); exit 1; }; }
31890
31891
31892 fi
31893 rm -f conftest.err conftest.$ac_objext \
31894 conftest$ac_exeext conftest.$ac_ext
31895
31896 CXXFLAGS=$save_CXXFLAGS
31897 LIBS="$save_LIBS"
31898 fi
31899
31900 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31901 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31902 libp_link=""
31903 libsm_ice_link=""
31904 libs_found=0
31905 for libp in "" " -lXp"; do
31906 if test "$libs_found" = "0"; then
31907 for libsm_ice in "" " -lSM -lICE"; do
31908 if test "$libs_found" = "0"; then
31909 save_LIBS="$LIBS"
31910 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31911 save_CXXFLAGS=$CXXFLAGS
31912 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31913
31914 cat >conftest.$ac_ext <<_ACEOF
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920
31921 #include <Xm/Xm.h>
31922 #include <Xm/List.h>
31923
31924 int
31925 main ()
31926 {
31927
31928 XmString string = NULL;
31929 Widget w = NULL;
31930 int position = 0;
31931 XmListAddItem(w, string, position);
31932
31933 ;
31934 return 0;
31935 }
31936 _ACEOF
31937 rm -f conftest.$ac_objext conftest$ac_exeext
31938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31939 (eval $ac_link) 2>conftest.er1
31940 ac_status=$?
31941 grep -v '^ *+' conftest.er1 >conftest.err
31942 rm -f conftest.er1
31943 cat conftest.err >&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); } &&
31946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31948 (eval $ac_try) 2>&5
31949 ac_status=$?
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); }; } &&
31952 { ac_try='test -s conftest$ac_exeext'
31953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31954 (eval $ac_try) 2>&5
31955 ac_status=$?
31956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957 (exit $ac_status); }; }; then
31958
31959 libp_link="$libp"
31960 libsm_ice_link="$libsm_ice"
31961 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31962 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31963 libs_found=1
31964
31965 else
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969
31970
31971 fi
31972 rm -f conftest.err conftest.$ac_objext \
31973 conftest$ac_exeext conftest.$ac_ext
31974
31975 LIBS="$save_LIBS"
31976 CXXFLAGS=$save_CXXFLAGS
31977 fi
31978 done
31979 fi
31980 done
31981
31982 if test "$libs_found" = "0"; then
31983 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31984 echo "${ECHO_T}can't find the right libraries" >&6
31985 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31986 echo "$as_me: error: can't link a simple motif program" >&2;}
31987 { (exit 1); exit 1; }; }
31988 fi
31989
31990 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31991 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31992 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lSgm $LIBS"
31997 cat >conftest.$ac_ext <<_ACEOF
31998 /* confdefs.h. */
31999 _ACEOF
32000 cat confdefs.h >>conftest.$ac_ext
32001 cat >>conftest.$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32003
32004 /* Override any gcc2 internal prototype to avoid an error. */
32005 #ifdef __cplusplus
32006 extern "C"
32007 #endif
32008 /* We use char because int might match the return type of a gcc2
32009 builtin and then its argument prototype would still apply. */
32010 char SgCreateList ();
32011 int
32012 main ()
32013 {
32014 SgCreateList ();
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32022 ac_status=$?
32023 grep -v '^ *+' conftest.er1 >conftest.err
32024 rm -f conftest.er1
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32030 (eval $ac_try) 2>&5
32031 ac_status=$?
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); }; } &&
32034 { ac_try='test -s conftest$ac_exeext'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; }; then
32040 ac_cv_lib_Sgm_SgCreateList=yes
32041 else
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32044
32045 ac_cv_lib_Sgm_SgCreateList=no
32046 fi
32047 rm -f conftest.err conftest.$ac_objext \
32048 conftest$ac_exeext conftest.$ac_ext
32049 LIBS=$ac_check_lib_save_LIBS
32050 fi
32051 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32052 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32053 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32054 libsgm_link=" -lSgm"
32055 fi
32056
32057
32058 save_CXXFLAGS=$CXXFLAGS
32059 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32060
32061 echo "$as_me:$LINENO: checking for Motif 2" >&5
32062 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32063 if test "${wx_cv_lib_motif2+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072
32073 #include <Xm/Xm.h>
32074
32075 int
32076 main ()
32077 {
32078
32079 #if XmVersion < 2000
32080 Not Motif 2
32081 #endif
32082
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 rm -f conftest.$ac_objext
32088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32089 (eval $ac_compile) 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } &&
32096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest.$ac_objext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 wx_cv_lib_motif2="yes"
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32112
32113 wx_cv_lib_motif2="no"
32114 fi
32115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32116 fi
32117 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32118 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32119 if test "$wx_cv_lib_motif2" = "yes"; then
32120 cat >>confdefs.h <<\_ACEOF
32121 #define __WXMOTIF20__ 1
32122 _ACEOF
32123
32124 else
32125 cat >>confdefs.h <<\_ACEOF
32126 #define __WXMOTIF20__ 0
32127 _ACEOF
32128
32129 fi
32130
32131 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32132 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32133 if test "${wx_cv_lib_lesstif+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 else
32136 cat >conftest.$ac_ext <<_ACEOF
32137 /* confdefs.h. */
32138 _ACEOF
32139 cat confdefs.h >>conftest.$ac_ext
32140 cat >>conftest.$ac_ext <<_ACEOF
32141 /* end confdefs.h. */
32142
32143 #include <Xm/Xm.h>
32144
32145 int
32146 main ()
32147 {
32148
32149 #if !defined(LesstifVersion) || LesstifVersion <= 0
32150 Not Lesstif
32151 #endif
32152
32153 ;
32154 return 0;
32155 }
32156 _ACEOF
32157 rm -f conftest.$ac_objext
32158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32159 (eval $ac_compile) 2>conftest.er1
32160 ac_status=$?
32161 grep -v '^ *+' conftest.er1 >conftest.err
32162 rm -f conftest.er1
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } &&
32166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32169 ac_status=$?
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; } &&
32172 { ac_try='test -s conftest.$ac_objext'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32175 ac_status=$?
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; }; then
32178 wx_cv_lib_lesstif="yes"
32179 else
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32182
32183 wx_cv_lib_lesstif="no"
32184 fi
32185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32186
32187 fi
32188 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32189 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32190 if test "$wx_cv_lib_lesstif" = "yes"; then
32191 cat >>confdefs.h <<\_ACEOF
32192 #define __WXLESSTIF__ 1
32193 _ACEOF
32194
32195 else
32196 cat >>confdefs.h <<\_ACEOF
32197 #define __WXLESSTIF__ 0
32198 _ACEOF
32199
32200 fi
32201
32202 CXXFLAGS=$save_CXXFLAGS
32203
32204 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32205 TOOLKIT=MOTIF
32206 GUIDIST=MOTIF_DIST
32207 fi
32208
32209 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32210 if test "$wxUSE_LIBXPM" = "sys"; then
32211 echo "$as_me:$LINENO: checking for Xpm library" >&5
32212 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32213
32214 ac_find_libraries=
32215 for ac_dir in $SEARCH_LIB;
32216 do
32217 for ac_extension in a so sl dylib dll.a; do
32218 if test -f "$ac_dir/libXpm.$ac_extension"; then
32219 ac_find_libraries=$ac_dir
32220 break 2
32221 fi
32222 done
32223 done
32224
32225 if test "$ac_find_libraries" != "" ; then
32226
32227 if test "$ac_find_libraries" = "default location"; then
32228 ac_path_to_link=""
32229 else
32230 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32231 result=$?
32232 if test $result = 0; then
32233 ac_path_to_link=""
32234 else
32235 ac_path_to_link=" -L$ac_find_libraries"
32236 fi
32237 fi
32238
32239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32240 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32241 echo "${ECHO_T}found in $ac_find_libraries" >&6
32242
32243 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32244 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32245 if test "${wx_cv_x11_xpm_h+set}" = set; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32247 else
32248
32249 save_CXXFLAGS=$CXXFLAGS
32250 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32251
32252 cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h. */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258
32259 #include <X11/xpm.h>
32260
32261 int
32262 main ()
32263 {
32264
32265 int version;
32266 version = XpmLibraryVersion();
32267
32268 ;
32269 return 0;
32270 }
32271 _ACEOF
32272 rm -f conftest.$ac_objext
32273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32274 (eval $ac_compile) 2>conftest.er1
32275 ac_status=$?
32276 grep -v '^ *+' conftest.er1 >conftest.err
32277 rm -f conftest.er1
32278 cat conftest.err >&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); } &&
32281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; } &&
32287 { ac_try='test -s conftest.$ac_objext'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32290 ac_status=$?
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; }; then
32293 wx_cv_x11_xpm_h=yes
32294 else
32295 echo "$as_me: failed program was:" >&5
32296 sed 's/^/| /' conftest.$ac_ext >&5
32297
32298 wx_cv_x11_xpm_h=no
32299
32300 fi
32301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32302
32303 CXXFLAGS=$save_CXXFLAGS
32304
32305
32306 fi
32307 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32308 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32309
32310 if test $wx_cv_x11_xpm_h = "yes"; then
32311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32312 cat >>confdefs.h <<\_ACEOF
32313 #define wxHAVE_LIB_XPM 1
32314 _ACEOF
32315
32316 else
32317 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32318 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32319 fi
32320 fi
32321
32322 fi
32323
32324 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32325 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32326 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32327 echo $ECHO_N "(cached) $ECHO_C" >&6
32328 else
32329 ac_check_lib_save_LIBS=$LIBS
32330 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32331 cat >conftest.$ac_ext <<_ACEOF
32332 /* confdefs.h. */
32333 _ACEOF
32334 cat confdefs.h >>conftest.$ac_ext
32335 cat >>conftest.$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32337
32338 /* Override any gcc2 internal prototype to avoid an error. */
32339 #ifdef __cplusplus
32340 extern "C"
32341 #endif
32342 /* We use char because int might match the return type of a gcc2
32343 builtin and then its argument prototype would still apply. */
32344 char XShapeQueryExtension ();
32345 int
32346 main ()
32347 {
32348 XShapeQueryExtension ();
32349 ;
32350 return 0;
32351 }
32352 _ACEOF
32353 rm -f conftest.$ac_objext conftest$ac_exeext
32354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32355 (eval $ac_link) 2>conftest.er1
32356 ac_status=$?
32357 grep -v '^ *+' conftest.er1 >conftest.err
32358 rm -f conftest.er1
32359 cat conftest.err >&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); } &&
32362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32365 ac_status=$?
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; } &&
32368 { ac_try='test -s conftest$ac_exeext'
32369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370 (eval $ac_try) 2>&5
32371 ac_status=$?
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); }; }; then
32374 ac_cv_lib_Xext_XShapeQueryExtension=yes
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 ac_cv_lib_Xext_XShapeQueryExtension=no
32380 fi
32381 rm -f conftest.err conftest.$ac_objext \
32382 conftest$ac_exeext conftest.$ac_ext
32383 LIBS=$ac_check_lib_save_LIBS
32384 fi
32385 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32386 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32387 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32388
32389 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32390 wxHAVE_XEXT_LIB=1
32391
32392 fi
32393
32394
32395 if test "$wxHAVE_XEXT_LIB" = 1; then
32396 save_CXXFLAGS="$CXXFLAGS"
32397 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32398
32399 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32400 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32401 cat >conftest.$ac_ext <<_ACEOF
32402 /* confdefs.h. */
32403 _ACEOF
32404 cat confdefs.h >>conftest.$ac_ext
32405 cat >>conftest.$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32407
32408 #include <X11/Xlib.h>
32409 #include <X11/extensions/shape.h>
32410
32411 int
32412 main ()
32413 {
32414
32415 int dummy1, dummy2;
32416 XShapeQueryExtension((Display*)NULL,
32417 (int*)NULL, (int*)NULL);
32418
32419 ;
32420 return 0;
32421 }
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425 (eval $ac_compile) 2>conftest.er1
32426 ac_status=$?
32427 grep -v '^ *+' conftest.er1 >conftest.err
32428 rm -f conftest.er1
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } &&
32438 { ac_try='test -s conftest.$ac_objext'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32441 ac_status=$?
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; }; then
32444
32445 cat >>confdefs.h <<\_ACEOF
32446 #define HAVE_XSHAPE 1
32447 _ACEOF
32448
32449 echo "$as_me:$LINENO: result: found" >&5
32450 echo "${ECHO_T}found" >&6
32451
32452 else
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.$ac_ext >&5
32455
32456
32457 echo "$as_me:$LINENO: result: not found" >&5
32458 echo "${ECHO_T}not found" >&6
32459
32460 fi
32461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32462 CXXFLAGS="$save_CXXFLAGS"
32463
32464 fi
32465 fi
32466
32467 if test "$wxUSE_MAC" = 1; then
32468 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32469 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32470 if test "$GCC" = yes; then
32471 echo "$as_me:$LINENO: result: gcc" >&5
32472 echo "${ECHO_T}gcc" >&6
32473 CPPFLAGS_PASCAL="-fpascal-strings"
32474 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32475 echo "$as_me:$LINENO: result: xlc" >&5
32476 echo "${ECHO_T}xlc" >&6
32477 CPPFLAGS_PASCAL="-qmacpstr"
32478 else
32479 echo "$as_me:$LINENO: result: none" >&5
32480 echo "${ECHO_T}none" >&6
32481 fi
32482
32483 if test "x$wxUSE_UNIX" = "xyes"; then
32484 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32485 else
32486 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32487 fi
32488
32489 TOOLKIT=MAC
32490 GUIDIST=MACX_DIST
32491 WXBASEPORT="_carbon"
32492 fi
32493
32494 if test "$wxUSE_COCOA" = 1; then
32495 TOOLKIT=COCOA
32496 GUIDIST=COCOA_DIST
32497 fi
32498
32499 if test "$wxUSE_PM" = 1; then
32500 TOOLKIT=PM
32501 GUIDIST=PM_DIST
32502 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32503 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32504 if test "${wx_cv_spbcdata+set}" = set; then
32505 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 else
32507
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 #define INCL_PM
32516 #include <os2.h>
32517
32518 int
32519 main ()
32520 {
32521
32522 SPBCDATA test;
32523
32524 ;
32525 return 0;
32526 }
32527 _ACEOF
32528 rm -f conftest.$ac_objext
32529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32530 (eval $ac_compile) 2>conftest.er1
32531 ac_status=$?
32532 grep -v '^ *+' conftest.er1 >conftest.err
32533 rm -f conftest.er1
32534 cat conftest.err >&5
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); } &&
32537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32540 ac_status=$?
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; } &&
32543 { ac_try='test -s conftest.$ac_objext'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32546 ac_status=$?
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; }; then
32549 wx_cv_spbcdata=yes
32550 else
32551 echo "$as_me: failed program was:" >&5
32552 sed 's/^/| /' conftest.$ac_ext >&5
32553
32554 wx_cv_spbcdata=no
32555
32556 fi
32557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32558
32559
32560 fi
32561 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32562 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32563
32564 if test $wx_cv_spbcdata = "yes"; then
32565 cat >>confdefs.h <<\_ACEOF
32566 #define HAVE_SPBCDATA 1
32567 _ACEOF
32568
32569 fi
32570 fi
32571
32572 if test "$TOOLKIT" = "PM" ; then
32573 TOOLKIT_DIR="os2"
32574 else
32575 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32576 fi
32577
32578 if test "$wxUSE_UNIVERSAL" = "yes"; then
32579 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32580 WIDGET_SET=univ
32581 fi
32582
32583 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32584 DISTDIR="wx\$(TOOLKIT)"
32585 else
32586 USE_GUI=0
32587
32588 TOOLKIT_DIR="base"
32589
32590 if test "$USE_WIN32" = 1 ; then
32591 TOOLKIT="MSW"
32592 fi
32593
32594 GUIDIST="BASE_DIST"
32595 DISTDIR="wxBase"
32596 fi
32597
32598
32599 if test "$wxUSE_GUI" = "yes"; then
32600 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32601
32602 for ac_header in X11/Xlib.h
32603 do
32604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32606 echo "$as_me:$LINENO: checking for $ac_header" >&5
32607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 fi
32611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32613 else
32614 # Is the header compilable?
32615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32617 cat >conftest.$ac_ext <<_ACEOF
32618 /* confdefs.h. */
32619 _ACEOF
32620 cat confdefs.h >>conftest.$ac_ext
32621 cat >>conftest.$ac_ext <<_ACEOF
32622 /* end confdefs.h. */
32623 $ac_includes_default
32624 #include <$ac_header>
32625 _ACEOF
32626 rm -f conftest.$ac_objext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32628 (eval $ac_compile) 2>conftest.er1
32629 ac_status=$?
32630 grep -v '^ *+' conftest.er1 >conftest.err
32631 rm -f conftest.er1
32632 cat conftest.err >&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try='test -s conftest.$ac_objext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 ac_header_compiler=yes
32648 else
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32651
32652 ac_header_compiler=no
32653 fi
32654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32656 echo "${ECHO_T}$ac_header_compiler" >&6
32657
32658 # Is the header present?
32659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32661 cat >conftest.$ac_ext <<_ACEOF
32662 /* confdefs.h. */
32663 _ACEOF
32664 cat confdefs.h >>conftest.$ac_ext
32665 cat >>conftest.$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 #include <$ac_header>
32668 _ACEOF
32669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev/null; then
32677 if test -s conftest.err; then
32678 ac_cpp_err=$ac_c_preproc_warn_flag
32679 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32680 else
32681 ac_cpp_err=
32682 fi
32683 else
32684 ac_cpp_err=yes
32685 fi
32686 if test -z "$ac_cpp_err"; then
32687 ac_header_preproc=yes
32688 else
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 ac_header_preproc=no
32693 fi
32694 rm -f conftest.err conftest.$ac_ext
32695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32696 echo "${ECHO_T}$ac_header_preproc" >&6
32697
32698 # So? What about this header?
32699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32700 yes:no: )
32701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32705 ac_header_preproc=yes
32706 ;;
32707 no:yes:* )
32708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32720 (
32721 cat <<\_ASBOX
32722 ## ----------------------------------------- ##
32723 ## Report this to wx-dev@lists.wxwidgets.org ##
32724 ## ----------------------------------------- ##
32725 _ASBOX
32726 ) |
32727 sed "s/^/$as_me: WARNING: /" >&2
32728 ;;
32729 esac
32730 echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32734 else
32735 eval "$as_ac_Header=\$ac_header_preproc"
32736 fi
32737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32739
32740 fi
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h <<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32744 _ACEOF
32745
32746 fi
32747
32748 done
32749
32750
32751 for ac_header in X11/XKBlib.h
32752 do
32753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32754 echo "$as_me:$LINENO: checking for $ac_header" >&5
32755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32758 else
32759 cat >conftest.$ac_ext <<_ACEOF
32760 /* confdefs.h. */
32761 _ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32765
32766 #if HAVE_X11_XLIB_H
32767 #include <X11/Xlib.h>
32768 #endif
32769
32770
32771 #include <$ac_header>
32772 _ACEOF
32773 rm -f conftest.$ac_objext
32774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32775 (eval $ac_compile) 2>conftest.er1
32776 ac_status=$?
32777 grep -v '^ *+' conftest.er1 >conftest.err
32778 rm -f conftest.er1
32779 cat conftest.err >&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); } &&
32782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784 (eval $ac_try) 2>&5
32785 ac_status=$?
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); }; } &&
32788 { ac_try='test -s conftest.$ac_objext'
32789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32790 (eval $ac_try) 2>&5
32791 ac_status=$?
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); }; }; then
32794 eval "$as_ac_Header=yes"
32795 else
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.$ac_ext >&5
32798
32799 eval "$as_ac_Header=no"
32800 fi
32801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32802 fi
32803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32806 cat >>confdefs.h <<_ACEOF
32807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32808 _ACEOF
32809
32810 fi
32811
32812 done
32813
32814 fi
32815 fi
32816
32817
32818
32819 IODBC_C_SRC=""
32820
32821
32822 if test "$TOOLKIT" != "MSW" ; then
32823
32824 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32825
32826 if test "${ac_cv_header_sql_h+set}" = set; then
32827 echo "$as_me:$LINENO: checking for sql.h" >&5
32828 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32829 if test "${ac_cv_header_sql_h+set}" = set; then
32830 echo $ECHO_N "(cached) $ECHO_C" >&6
32831 fi
32832 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32833 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32834 else
32835 # Is the header compilable?
32836 echo "$as_me:$LINENO: checking sql.h usability" >&5
32837 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h. */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32844 $ac_includes_default
32845 #include <sql.h>
32846 _ACEOF
32847 rm -f conftest.$ac_objext
32848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32849 (eval $ac_compile) 2>conftest.er1
32850 ac_status=$?
32851 grep -v '^ *+' conftest.er1 >conftest.err
32852 rm -f conftest.er1
32853 cat conftest.err >&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); } &&
32856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32859 ac_status=$?
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; } &&
32862 { ac_try='test -s conftest.$ac_objext'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32865 ac_status=$?
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; }; then
32868 ac_header_compiler=yes
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 ac_header_compiler=no
32874 fi
32875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32877 echo "${ECHO_T}$ac_header_compiler" >&6
32878
32879 # Is the header present?
32880 echo "$as_me:$LINENO: checking sql.h presence" >&5
32881 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32882 cat >conftest.$ac_ext <<_ACEOF
32883 /* confdefs.h. */
32884 _ACEOF
32885 cat confdefs.h >>conftest.$ac_ext
32886 cat >>conftest.$ac_ext <<_ACEOF
32887 /* end confdefs.h. */
32888 #include <sql.h>
32889 _ACEOF
32890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32892 ac_status=$?
32893 grep -v '^ *+' conftest.er1 >conftest.err
32894 rm -f conftest.er1
32895 cat conftest.err >&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); } >/dev/null; then
32898 if test -s conftest.err; then
32899 ac_cpp_err=$ac_c_preproc_warn_flag
32900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32901 else
32902 ac_cpp_err=
32903 fi
32904 else
32905 ac_cpp_err=yes
32906 fi
32907 if test -z "$ac_cpp_err"; then
32908 ac_header_preproc=yes
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32912
32913 ac_header_preproc=no
32914 fi
32915 rm -f conftest.err conftest.$ac_ext
32916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32917 echo "${ECHO_T}$ac_header_preproc" >&6
32918
32919 # So? What about this header?
32920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32921 yes:no: )
32922 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32923 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32924 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32925 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32926 ac_header_preproc=yes
32927 ;;
32928 no:yes:* )
32929 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32930 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32931 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32932 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32933 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32934 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32935 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32936 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32937 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32938 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32939 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32940 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32941 (
32942 cat <<\_ASBOX
32943 ## ----------------------------------------- ##
32944 ## Report this to wx-dev@lists.wxwidgets.org ##
32945 ## ----------------------------------------- ##
32946 _ASBOX
32947 ) |
32948 sed "s/^/$as_me: WARNING: /" >&2
32949 ;;
32950 esac
32951 echo "$as_me:$LINENO: checking for sql.h" >&5
32952 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32953 if test "${ac_cv_header_sql_h+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956 ac_cv_header_sql_h=$ac_header_preproc
32957 fi
32958 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32959 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32960
32961 fi
32962 if test $ac_cv_header_sql_h = yes; then
32963 found_sql_h=1
32964 fi
32965
32966
32967 if test "x$found_sql_h" = "x1" ; then
32968 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32969 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32970 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32971 echo $ECHO_N "(cached) $ECHO_C" >&6
32972 else
32973 ac_check_lib_save_LIBS=$LIBS
32974 LIBS="-liodbc $LIBS"
32975 cat >conftest.$ac_ext <<_ACEOF
32976 /* confdefs.h. */
32977 _ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h. */
32981
32982 /* Override any gcc2 internal prototype to avoid an error. */
32983 #ifdef __cplusplus
32984 extern "C"
32985 #endif
32986 /* We use char because int might match the return type of a gcc2
32987 builtin and then its argument prototype would still apply. */
32988 char SQLAllocEnv ();
32989 int
32990 main ()
32991 {
32992 SQLAllocEnv ();
32993 ;
32994 return 0;
32995 }
32996 _ACEOF
32997 rm -f conftest.$ac_objext conftest$ac_exeext
32998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32999 (eval $ac_link) 2>conftest.er1
33000 ac_status=$?
33001 grep -v '^ *+' conftest.er1 >conftest.err
33002 rm -f conftest.er1
33003 cat conftest.err >&5
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); } &&
33006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33009 ac_status=$?
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; } &&
33012 { ac_try='test -s conftest$ac_exeext'
33013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014 (eval $ac_try) 2>&5
33015 ac_status=$?
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); }; }; then
33018 ac_cv_lib_iodbc_SQLAllocEnv=yes
33019 else
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33022
33023 ac_cv_lib_iodbc_SQLAllocEnv=no
33024 fi
33025 rm -f conftest.err conftest.$ac_objext \
33026 conftest$ac_exeext conftest.$ac_ext
33027 LIBS=$ac_check_lib_save_LIBS
33028 fi
33029 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33030 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33031 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33032 ODBC_LINK=" -liodbc"
33033 else
33034
33035 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33036 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33037 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33038 echo $ECHO_N "(cached) $ECHO_C" >&6
33039 else
33040 ac_check_lib_save_LIBS=$LIBS
33041 LIBS="-lunixodbc $LIBS"
33042 cat >conftest.$ac_ext <<_ACEOF
33043 /* confdefs.h. */
33044 _ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048
33049 /* Override any gcc2 internal prototype to avoid an error. */
33050 #ifdef __cplusplus
33051 extern "C"
33052 #endif
33053 /* We use char because int might match the return type of a gcc2
33054 builtin and then its argument prototype would still apply. */
33055 char SQLAllocEnv ();
33056 int
33057 main ()
33058 {
33059 SQLAllocEnv ();
33060 ;
33061 return 0;
33062 }
33063 _ACEOF
33064 rm -f conftest.$ac_objext conftest$ac_exeext
33065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33066 (eval $ac_link) 2>conftest.er1
33067 ac_status=$?
33068 grep -v '^ *+' conftest.er1 >conftest.err
33069 rm -f conftest.er1
33070 cat conftest.err >&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); } &&
33073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
33079 { ac_try='test -s conftest$ac_exeext'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33082 ac_status=$?
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; }; then
33085 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33086 else
33087 echo "$as_me: failed program was:" >&5
33088 sed 's/^/| /' conftest.$ac_ext >&5
33089
33090 ac_cv_lib_unixodbc_SQLAllocEnv=no
33091 fi
33092 rm -f conftest.err conftest.$ac_objext \
33093 conftest$ac_exeext conftest.$ac_ext
33094 LIBS=$ac_check_lib_save_LIBS
33095 fi
33096 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33097 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33098 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33099 ODBC_LINK=" -lunixodbc"
33100 else
33101
33102 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33103 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33104 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33105 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 else
33107 ac_check_lib_save_LIBS=$LIBS
33108 LIBS="-lodbc $LIBS"
33109 cat >conftest.$ac_ext <<_ACEOF
33110 /* confdefs.h. */
33111 _ACEOF
33112 cat confdefs.h >>conftest.$ac_ext
33113 cat >>conftest.$ac_ext <<_ACEOF
33114 /* end confdefs.h. */
33115
33116 /* Override any gcc2 internal prototype to avoid an error. */
33117 #ifdef __cplusplus
33118 extern "C"
33119 #endif
33120 /* We use char because int might match the return type of a gcc2
33121 builtin and then its argument prototype would still apply. */
33122 char SQLAllocEnv ();
33123 int
33124 main ()
33125 {
33126 SQLAllocEnv ();
33127 ;
33128 return 0;
33129 }
33130 _ACEOF
33131 rm -f conftest.$ac_objext conftest$ac_exeext
33132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33133 (eval $ac_link) 2>conftest.er1
33134 ac_status=$?
33135 grep -v '^ *+' conftest.er1 >conftest.err
33136 rm -f conftest.er1
33137 cat conftest.err >&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); } &&
33140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33143 ac_status=$?
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; } &&
33146 { ac_try='test -s conftest$ac_exeext'
33147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33148 (eval $ac_try) 2>&5
33149 ac_status=$?
33150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33151 (exit $ac_status); }; }; then
33152 ac_cv_lib_odbc_SQLAllocEnv=yes
33153 else
33154 echo "$as_me: failed program was:" >&5
33155 sed 's/^/| /' conftest.$ac_ext >&5
33156
33157 ac_cv_lib_odbc_SQLAllocEnv=no
33158 fi
33159 rm -f conftest.err conftest.$ac_objext \
33160 conftest$ac_exeext conftest.$ac_ext
33161 LIBS=$ac_check_lib_save_LIBS
33162 fi
33163 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33164 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33165 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33166 ODBC_LINK=" -lodbc"
33167 fi
33168
33169
33170 fi
33171
33172
33173 fi
33174
33175 fi
33176 if test "x$ODBC_LINK" = "x" ; then
33177 if test "$wxUSE_ODBC" = "sys" ; then
33178 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33179 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33180 { (exit 1); exit 1; }; }
33181 else
33182 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33183 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33184 wxUSE_ODBC=builtin
33185 fi
33186 else
33187 wxUSE_ODBC=sys
33188 fi
33189 fi
33190
33191 if test "$wxUSE_ODBC" = "builtin" ; then
33192 cat >>confdefs.h <<\_ACEOF
33193 #define wxUSE_BUILTIN_IODBC 1
33194 _ACEOF
33195
33196 fi
33197 fi
33198
33199 if test "$wxUSE_ODBC" != "no" ; then
33200 cat >>confdefs.h <<\_ACEOF
33201 #define wxUSE_ODBC 1
33202 _ACEOF
33203
33204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33205
33206 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33207 fi
33208
33209
33210 if test "$wxUSE_DISPLAY" = "yes"; then
33211 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33212 echo "$as_me:$LINENO: checking for Xinerama" >&5
33213 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33214
33215 ac_find_libraries=
33216 for ac_dir in $SEARCH_LIB;
33217 do
33218 for ac_extension in a so sl dylib dll.a; do
33219 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33220 ac_find_libraries=$ac_dir
33221 break 2
33222 fi
33223 done
33224 done
33225
33226 if test "$ac_find_libraries" != "" ; then
33227
33228 if test "$ac_find_libraries" = "default location"; then
33229 ac_path_to_link=""
33230 else
33231 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33232 result=$?
33233 if test $result = 0; then
33234 ac_path_to_link=""
33235 else
33236 ac_path_to_link=" -L$ac_find_libraries"
33237 fi
33238 fi
33239
33240 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33241 LDFLAGS="$LDFLAGS $ac_path_to_link"
33242 fi
33243 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33244 echo "$as_me:$LINENO: result: yes" >&5
33245 echo "${ECHO_T}yes" >&6
33246
33247 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33248 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33249
33250 ac_find_libraries=
33251 for ac_dir in $SEARCH_LIB;
33252 do
33253 for ac_extension in a so sl dylib dll.a; do
33254 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33255 ac_find_libraries=$ac_dir
33256 break 2
33257 fi
33258 done
33259 done
33260
33261 if test "$ac_find_libraries" != "" ; then
33262 echo "$as_me:$LINENO: result: yes" >&5
33263 echo "${ECHO_T}yes" >&6
33264
33265 for ac_header in X11/extensions/xf86vmode.h
33266 do
33267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33268 echo "$as_me:$LINENO: checking for $ac_header" >&5
33269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33271 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 else
33273 cat >conftest.$ac_ext <<_ACEOF
33274 /* confdefs.h. */
33275 _ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
33278 /* end confdefs.h. */
33279
33280 #if HAVE_X11_XLIB_H
33281 #include <X11/Xlib.h>
33282 #endif
33283
33284
33285 #include <$ac_header>
33286 _ACEOF
33287 rm -f conftest.$ac_objext
33288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33289 (eval $ac_compile) 2>conftest.er1
33290 ac_status=$?
33291 grep -v '^ *+' conftest.er1 >conftest.err
33292 rm -f conftest.er1
33293 cat conftest.err >&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); } &&
33296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33299 ac_status=$?
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; } &&
33302 { ac_try='test -s conftest.$ac_objext'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; }; then
33308 eval "$as_ac_Header=yes"
33309 else
33310 echo "$as_me: failed program was:" >&5
33311 sed 's/^/| /' conftest.$ac_ext >&5
33312
33313 eval "$as_ac_Header=no"
33314 fi
33315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33316 fi
33317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33320 cat >>confdefs.h <<_ACEOF
33321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33322 _ACEOF
33323
33324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33325
33326 fi
33327
33328 done
33329
33330 else
33331 echo "$as_me:$LINENO: result: no" >&5
33332 echo "${ECHO_T}no" >&6
33333 fi
33334
33335 else
33336 echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6
33338 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33339 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33340 wxUSE_DISPLAY="no"
33341 fi
33342 elif test "$wxUSE_MSW" = 1; then
33343
33344 for ac_header in ddraw.h
33345 do
33346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33347 echo "$as_me:$LINENO: checking for $ac_header" >&5
33348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33350 echo $ECHO_N "(cached) $ECHO_C" >&6
33351 else
33352 cat >conftest.$ac_ext <<_ACEOF
33353 /* confdefs.h. */
33354 _ACEOF
33355 cat confdefs.h >>conftest.$ac_ext
33356 cat >>conftest.$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33358 #include <windows.h>
33359
33360 #include <$ac_header>
33361 _ACEOF
33362 rm -f conftest.$ac_objext
33363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33364 (eval $ac_compile) 2>conftest.er1
33365 ac_status=$?
33366 grep -v '^ *+' conftest.er1 >conftest.err
33367 rm -f conftest.er1
33368 cat conftest.err >&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); } &&
33371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; } &&
33377 { ac_try='test -s conftest.$ac_objext'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; }; then
33383 eval "$as_ac_Header=yes"
33384 else
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33387
33388 eval "$as_ac_Header=no"
33389 fi
33390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33391 fi
33392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33395 cat >>confdefs.h <<_ACEOF
33396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33397 _ACEOF
33398
33399 fi
33400
33401 done
33402
33403 fi
33404 fi
33405
33406 if test "$wxUSE_DETECT_SM" = "yes"; then
33407 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33408 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33409 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33410
33411 ac_find_libraries=
33412 for ac_dir in $SEARCH_LIB;
33413 do
33414 for ac_extension in a so sl dylib dll.a; do
33415 if test -f "$ac_dir/libSM.$ac_extension"; then
33416 ac_find_libraries=$ac_dir
33417 break 2
33418 fi
33419 done
33420 done
33421
33422 if test "$ac_find_libraries" != "" ; then
33423
33424 if test "$ac_find_libraries" = "default location"; then
33425 ac_path_to_link=""
33426 else
33427 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33428 result=$?
33429 if test $result = 0; then
33430 ac_path_to_link=""
33431 else
33432 ac_path_to_link=" -L$ac_find_libraries"
33433 fi
33434 fi
33435
33436 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33437 LDFLAGS="$LDFLAGS $ac_path_to_link"
33438 fi
33439 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33440 echo "$as_me:$LINENO: result: yes" >&5
33441 echo "${ECHO_T}yes" >&6
33442 else
33443 echo "$as_me:$LINENO: result: no" >&5
33444 echo "${ECHO_T}no" >&6
33445 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33446 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33447 wxUSE_DETECT_SM="no"
33448 fi
33449 else
33450 wxUSE_DETECT_SM="no"
33451 fi
33452 fi
33453
33454
33455
33456 USE_OPENGL=0
33457 if test "$wxUSE_OPENGL" = "yes"; then
33458 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33459 OPENGL_LIBS="-framework OpenGL -framework AGL"
33460 elif test "$wxUSE_MSW" = 1; then
33461 OPENGL_LIBS="-lopengl32 -lglu32"
33462 else
33463 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33464 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33465
33466 ac_find_includes=
33467 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33468 do
33469 if test -f "$ac_dir/GL/gl.h"; then
33470 ac_find_includes=$ac_dir
33471 break
33472 fi
33473 done
33474
33475 if test "$ac_find_includes" != "" ; then
33476 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33477 echo "${ECHO_T}found in $ac_find_includes" >&6
33478
33479 if test "x$ac_find_includes" = "x/usr/include"; then
33480 ac_path_to_include=""
33481 else
33482 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33483 result=$?
33484 if test $result = 0; then
33485 ac_path_to_include=""
33486 else
33487 ac_path_to_include=" -I$ac_find_includes"
33488 fi
33489 fi
33490
33491 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33492 else
33493 echo "$as_me:$LINENO: result: not found" >&5
33494 echo "${ECHO_T}not found" >&6
33495 fi
33496
33497 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33498 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33499 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33500 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33501 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 fi
33503 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33504 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33505 else
33506 # Is the header compilable?
33507 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33508 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 $ac_includes_default
33516 #include <GL/gl.h>
33517 _ACEOF
33518 rm -f conftest.$ac_objext
33519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33520 (eval $ac_compile) 2>conftest.er1
33521 ac_status=$?
33522 grep -v '^ *+' conftest.er1 >conftest.err
33523 rm -f conftest.er1
33524 cat conftest.err >&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } &&
33527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33529 (eval $ac_try) 2>&5
33530 ac_status=$?
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); }; } &&
33533 { ac_try='test -s conftest.$ac_objext'
33534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33535 (eval $ac_try) 2>&5
33536 ac_status=$?
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); }; }; then
33539 ac_header_compiler=yes
33540 else
33541 echo "$as_me: failed program was:" >&5
33542 sed 's/^/| /' conftest.$ac_ext >&5
33543
33544 ac_header_compiler=no
33545 fi
33546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33548 echo "${ECHO_T}$ac_header_compiler" >&6
33549
33550 # Is the header present?
33551 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33552 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33553 cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h. */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559 #include <GL/gl.h>
33560 _ACEOF
33561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } >/dev/null; then
33569 if test -s conftest.err; then
33570 ac_cpp_err=$ac_c_preproc_warn_flag
33571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33572 else
33573 ac_cpp_err=
33574 fi
33575 else
33576 ac_cpp_err=yes
33577 fi
33578 if test -z "$ac_cpp_err"; then
33579 ac_header_preproc=yes
33580 else
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33583
33584 ac_header_preproc=no
33585 fi
33586 rm -f conftest.err conftest.$ac_ext
33587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33588 echo "${ECHO_T}$ac_header_preproc" >&6
33589
33590 # So? What about this header?
33591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33592 yes:no: )
33593 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33594 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33595 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33596 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33597 ac_header_preproc=yes
33598 ;;
33599 no:yes:* )
33600 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33601 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33602 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33603 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33604 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33605 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33606 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33607 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33608 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33609 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33610 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33611 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33612 (
33613 cat <<\_ASBOX
33614 ## ----------------------------------------- ##
33615 ## Report this to wx-dev@lists.wxwidgets.org ##
33616 ## ----------------------------------------- ##
33617 _ASBOX
33618 ) |
33619 sed "s/^/$as_me: WARNING: /" >&2
33620 ;;
33621 esac
33622 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33623 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33624 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33626 else
33627 ac_cv_header_GL_gl_h=$ac_header_preproc
33628 fi
33629 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33630 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33631
33632 fi
33633 if test $ac_cv_header_GL_gl_h = yes; then
33634
33635 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33636 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33637 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33638 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 fi
33641 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33642 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33643 else
33644 # Is the header compilable?
33645 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33646 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33647 cat >conftest.$ac_ext <<_ACEOF
33648 /* confdefs.h. */
33649 _ACEOF
33650 cat confdefs.h >>conftest.$ac_ext
33651 cat >>conftest.$ac_ext <<_ACEOF
33652 /* end confdefs.h. */
33653 $ac_includes_default
33654 #include <GL/glu.h>
33655 _ACEOF
33656 rm -f conftest.$ac_objext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33658 (eval $ac_compile) 2>conftest.er1
33659 ac_status=$?
33660 grep -v '^ *+' conftest.er1 >conftest.err
33661 rm -f conftest.er1
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33668 ac_status=$?
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; } &&
33671 { ac_try='test -s conftest.$ac_objext'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; }; then
33677 ac_header_compiler=yes
33678 else
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33681
33682 ac_header_compiler=no
33683 fi
33684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33686 echo "${ECHO_T}$ac_header_compiler" >&6
33687
33688 # Is the header present?
33689 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33690 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33691 cat >conftest.$ac_ext <<_ACEOF
33692 /* confdefs.h. */
33693 _ACEOF
33694 cat confdefs.h >>conftest.$ac_ext
33695 cat >>conftest.$ac_ext <<_ACEOF
33696 /* end confdefs.h. */
33697 #include <GL/glu.h>
33698 _ACEOF
33699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33701 ac_status=$?
33702 grep -v '^ *+' conftest.er1 >conftest.err
33703 rm -f conftest.er1
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } >/dev/null; then
33707 if test -s conftest.err; then
33708 ac_cpp_err=$ac_c_preproc_warn_flag
33709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33710 else
33711 ac_cpp_err=
33712 fi
33713 else
33714 ac_cpp_err=yes
33715 fi
33716 if test -z "$ac_cpp_err"; then
33717 ac_header_preproc=yes
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722 ac_header_preproc=no
33723 fi
33724 rm -f conftest.err conftest.$ac_ext
33725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33726 echo "${ECHO_T}$ac_header_preproc" >&6
33727
33728 # So? What about this header?
33729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33730 yes:no: )
33731 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33732 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33733 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33734 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33735 ac_header_preproc=yes
33736 ;;
33737 no:yes:* )
33738 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33739 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33740 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33741 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33742 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33743 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33744 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33745 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33746 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33747 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33748 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33749 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33750 (
33751 cat <<\_ASBOX
33752 ## ----------------------------------------- ##
33753 ## Report this to wx-dev@lists.wxwidgets.org ##
33754 ## ----------------------------------------- ##
33755 _ASBOX
33756 ) |
33757 sed "s/^/$as_me: WARNING: /" >&2
33758 ;;
33759 esac
33760 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33761 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33762 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 ac_cv_header_GL_glu_h=$ac_header_preproc
33766 fi
33767 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33768 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33769
33770 fi
33771 if test $ac_cv_header_GL_glu_h = yes; then
33772
33773 found_gl=0
33774
33775 echo "$as_me:$LINENO: checking for -lGL" >&5
33776 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33777
33778 ac_find_libraries=
33779 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33780 do
33781 for ac_extension in a so sl dylib dll.a; do
33782 if test -f "$ac_dir/libGL.$ac_extension"; then
33783 ac_find_libraries=$ac_dir
33784 break 2
33785 fi
33786 done
33787 done
33788
33789 if test "$ac_find_libraries" != "" ; then
33790 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33791 echo "${ECHO_T}found in $ac_find_libraries" >&6
33792
33793
33794 if test "$ac_find_libraries" = "default location"; then
33795 ac_path_to_link=""
33796 else
33797 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33798 result=$?
33799 if test $result = 0; then
33800 ac_path_to_link=""
33801 else
33802 ac_path_to_link=" -L$ac_find_libraries"
33803 fi
33804 fi
33805
33806 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33807 LDFLAGS_GL="$ac_path_to_link"
33808 fi
33809
33810 echo "$as_me:$LINENO: checking for -lGLU" >&5
33811 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33812
33813 ac_find_libraries=
33814 for ac_dir in $SEARCH_LIB;
33815 do
33816 for ac_extension in a so sl dylib dll.a; do
33817 if test -f "$ac_dir/libGLU.$ac_extension"; then
33818 ac_find_libraries=$ac_dir
33819 break 2
33820 fi
33821 done
33822 done
33823
33824 if test "$ac_find_libraries" != "" ; then
33825
33826 if test "$ac_find_libraries" = "default location"; then
33827 ac_path_to_link=""
33828 else
33829 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33830 result=$?
33831 if test $result = 0; then
33832 ac_path_to_link=""
33833 else
33834 ac_path_to_link=" -L$ac_find_libraries"
33835 fi
33836 fi
33837
33838 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33839 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33840 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33841 fi
33842
33843 found_gl=1
33844 OPENGL_LIBS="-lGL -lGLU"
33845 echo "$as_me:$LINENO: result: yes" >&5
33846 echo "${ECHO_T}yes" >&6
33847 else
33848 echo "$as_me:$LINENO: result: no" >&5
33849 echo "${ECHO_T}no" >&6
33850 fi
33851 else
33852 echo "$as_me:$LINENO: result: no" >&5
33853 echo "${ECHO_T}no" >&6
33854 fi
33855
33856 if test "$found_gl" != 1; then
33857 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33858 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33859
33860 ac_find_libraries=
33861 for ac_dir in $SEARCH_LIB;
33862 do
33863 for ac_extension in a so sl dylib dll.a; do
33864 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33865 ac_find_libraries=$ac_dir
33866 break 2
33867 fi
33868 done
33869 done
33870
33871 if test "$ac_find_libraries" != "" ; then
33872
33873 if test "$ac_find_libraries" = "default location"; then
33874 ac_path_to_link=""
33875 else
33876 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33877 result=$?
33878 if test $result = 0; then
33879 ac_path_to_link=""
33880 else
33881 ac_path_to_link=" -L$ac_find_libraries"
33882 fi
33883 fi
33884
33885 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33886 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33887 echo "$as_me:$LINENO: result: yes" >&5
33888 echo "${ECHO_T}yes" >&6
33889 else
33890 echo "$as_me:$LINENO: result: no" >&5
33891 echo "${ECHO_T}no" >&6
33892 fi
33893 fi
33894
33895 fi
33896
33897
33898
33899 fi
33900
33901
33902
33903 if test "x$OPENGL_LIBS" = "x"; then
33904 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33905 echo "$as_me: error: OpenGL libraries not available" >&2;}
33906 { (exit 1); exit 1; }; }
33907 fi
33908 fi
33909
33910 if test "$wxUSE_OPENGL" = "yes"; then
33911 USE_OPENGL=1
33912 cat >>confdefs.h <<\_ACEOF
33913 #define wxUSE_OPENGL 1
33914 _ACEOF
33915
33916 cat >>confdefs.h <<\_ACEOF
33917 #define wxUSE_GLCANVAS 1
33918 _ACEOF
33919
33920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33921 fi
33922 fi
33923
33924
33925 if test -n "$TOOLKIT" ; then
33926 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33927 fi
33928
33929
33930
33931 if test "$wxUSE_SHARED" = "yes"; then
33932 case "${host}" in
33933 *-pc-msdosdjgpp )
33934 wxUSE_SHARED=no
33935 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33936 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33937 ;;
33938 esac
33939 fi
33940
33941 if test "$wxUSE_SHARED" = "yes"; then
33942
33943
33944 case "${host}" in
33945 *-*-cygwin* | *-*-mingw* )
33946 wx_cv_version_script=no
33947 ;;
33948
33949 *)
33950 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33951 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33952 if test "${wx_cv_version_script+set}" = set; then
33953 echo $ECHO_N "(cached) $ECHO_C" >&6
33954 else
33955
33956 echo "VER_1 { *; };" >conftest.sym
33957 echo "int main() { return 0; }" >conftest.cpp
33958
33959 if { ac_try='
33960 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33961 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33963 (eval $ac_try) 2>&5
33964 ac_status=$?
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; } ; then
33967 if test -s conftest.stderr ; then
33968 wx_cv_version_script=no
33969 else
33970 wx_cv_version_script=yes
33971 fi
33972 else
33973 wx_cv_version_script=no
33974 fi
33975
33976 if test $wx_cv_version_script = yes
33977 then
33978 echo "struct B { virtual ~B() { } }; \
33979 struct D : public B { }; \
33980 void F() { D d; }" > conftest.cpp
33981
33982 if { ac_try='
33983 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33984 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try='
33991 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33992 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994 (eval $ac_try) 2>&5
33995 ac_status=$?
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); }; }
33998 then
33999 if { ac_try='
34000 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34001 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34004 ac_status=$?
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }
34007 then
34008 wx_cv_version_script=yes
34009 else
34010 wx_cv_version_script=no
34011 fi
34012 fi
34013 fi
34014
34015 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34016 rm -f conftest1.output conftest2.output conftest3.output
34017
34018 fi
34019 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34020 echo "${ECHO_T}$wx_cv_version_script" >&6
34021
34022 if test $wx_cv_version_script = yes ; then
34023 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34024 fi
34025 ;;
34026 esac
34027
34028
34029 case "${host}" in
34030 *-*-linux* | *-*-gnu* )
34031 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34032 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34033 ;;
34034
34035 *-*-solaris2* )
34036 if test "$GCC" = yes ; then
34037 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34038
34039 saveLdflags="$LDFLAGS"
34040 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34041 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34042 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34043 cat >conftest.$ac_ext <<_ACEOF
34044 /* confdefs.h. */
34045 _ACEOF
34046 cat confdefs.h >>conftest.$ac_ext
34047 cat >>conftest.$ac_ext <<_ACEOF
34048 /* end confdefs.h. */
34049
34050 int
34051 main ()
34052 {
34053
34054 ;
34055 return 0;
34056 }
34057 _ACEOF
34058 rm -f conftest.$ac_objext conftest$ac_exeext
34059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34060 (eval $ac_link) 2>conftest.er1
34061 ac_status=$?
34062 grep -v '^ *+' conftest.er1 >conftest.err
34063 rm -f conftest.er1
34064 cat conftest.err >&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); } &&
34067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34069 (eval $ac_try) 2>&5
34070 ac_status=$?
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); }; } &&
34073 { ac_try='test -s conftest$ac_exeext'
34074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34075 (eval $ac_try) 2>&5
34076 ac_status=$?
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); }; }; then
34079
34080 echo "$as_me:$LINENO: result: yes" >&5
34081 echo "${ECHO_T}yes" >&6
34082 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34083 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34084
34085 else
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34088
34089
34090 echo "$as_me:$LINENO: result: no" >&5
34091 echo "${ECHO_T}no" >&6
34092 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34093 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34094 LDFLAGS="$saveLdflags -Wl,-R,/"
34095 cat >conftest.$ac_ext <<_ACEOF
34096 /* confdefs.h. */
34097 _ACEOF
34098 cat confdefs.h >>conftest.$ac_ext
34099 cat >>conftest.$ac_ext <<_ACEOF
34100 /* end confdefs.h. */
34101
34102 int
34103 main ()
34104 {
34105
34106 ;
34107 return 0;
34108 }
34109 _ACEOF
34110 rm -f conftest.$ac_objext conftest$ac_exeext
34111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34112 (eval $ac_link) 2>conftest.er1
34113 ac_status=$?
34114 grep -v '^ *+' conftest.er1 >conftest.err
34115 rm -f conftest.er1
34116 cat conftest.err >&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } &&
34119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try='test -s conftest$ac_exeext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131
34132 echo "$as_me:$LINENO: result: yes" >&5
34133 echo "${ECHO_T}yes" >&6
34134 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34135 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34136
34137 else
34138 echo "$as_me: failed program was:" >&5
34139 sed 's/^/| /' conftest.$ac_ext >&5
34140
34141
34142 echo "$as_me:$LINENO: result: no" >&5
34143 echo "${ECHO_T}no" >&6
34144
34145 fi
34146 rm -f conftest.err conftest.$ac_objext \
34147 conftest$ac_exeext conftest.$ac_ext
34148
34149 fi
34150 rm -f conftest.err conftest.$ac_objext \
34151 conftest$ac_exeext conftest.$ac_ext
34152 LDFLAGS="$saveLdflags"
34153 else
34154 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34155 WXCONFIG_RPATH="-R\$libdir"
34156 fi
34157 ;;
34158
34159 *-*-darwin* )
34160 install_name_tool=`which install_name_tool`
34161 if test "$install_name_tool" -a -x "$install_name_tool"; then
34162 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34163 cat <<EOF >change-install-names
34164 #!/bin/sh
34165 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34166 inst_cmd="install_name_tool "
34167 for i in \${libnames} ; do
34168 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34169 done
34170 \${inst_cmd} \${3}
34171 EOF
34172 chmod +x change-install-names
34173 fi
34174 ;;
34175
34176 *-*-cygwin* | *-*-mingw32* )
34177 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34178 ;;
34179
34180 *-*-hpux* )
34181 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34182 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34183 ;;
34184
34185 esac
34186
34187 if test $wxUSE_RPATH = "no"; then
34188 SAMPLES_RPATH_FLAG=''
34189 SAMPLES_RPATH_POSTLINK=''
34190 WXCONFIG_RPATH=''
34191 fi
34192
34193 SHARED=1
34194
34195 else
34196
34197 config_linkage_component="-static"
34198 SHARED=0
34199
34200 fi
34201
34202
34203 UNICODE=0
34204 lib_unicode_suffix=
34205 WX_CHARTYPE="ansi"
34206 if test "$wxUSE_UNICODE" = "yes"; then
34207 lib_unicode_suffix=u
34208 WX_CHARTYPE="unicode"
34209 UNICODE=1
34210 fi
34211
34212 lib_debug_suffix=
34213 WX_DEBUGTYPE="release"
34214 DEBUG_FLAG=0
34215 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34216 lib_debug_suffix=d
34217 WX_DEBUGTYPE="debug"
34218 DEBUG_FLAG=1
34219 fi
34220
34221 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34222 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34223
34224 DEBUG_INFO=0
34225 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34226 DEBUG_INFO=1
34227 fi
34228
34229 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34230
34231 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34232
34233 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34234
34235 if test "$cross_compiling" = "yes"; then
34236 HOST_SUFFIX="-$host_alias"
34237 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34238 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34239 fi
34240
34241 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34242 if test "${TOOLKIT_DIR}" = "os2"; then
34243 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34244 else
34245 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34246 fi
34247
34248
34249
34250 if test "$wxUSE_COCOA" = 1; then
34251
34252
34253 ac_ext=c
34254 ac_cpp='$CPP $CPPFLAGS'
34255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34258
34259 ac_ext=m
34260
34261 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34262 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34263 cat >conftest.$ac_ext <<_ACEOF
34264 /* confdefs.h. */
34265 _ACEOF
34266 cat confdefs.h >>conftest.$ac_ext
34267 cat >>conftest.$ac_ext <<_ACEOF
34268 /* end confdefs.h. */
34269 #include <AppKit/NSEvent.h>
34270 #include <CoreFoundation/CoreFoundation.h>
34271
34272 int
34273 main ()
34274 {
34275
34276 ;
34277 return 0;
34278 }
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34282 (eval $ac_compile) 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } &&
34289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34292 ac_status=$?
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; } &&
34295 { ac_try='test -s conftest.$ac_objext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34298 ac_status=$?
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 echo "$as_me:$LINENO: result: no" >&5
34302 echo "${ECHO_T}no" >&6
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307 echo "$as_me:$LINENO: result: yes" >&5
34308 echo "${ECHO_T}yes" >&6
34309 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34310 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34311 cat >conftest.$ac_ext <<_ACEOF
34312 /* confdefs.h. */
34313 _ACEOF
34314 cat confdefs.h >>conftest.$ac_ext
34315 cat >>conftest.$ac_ext <<_ACEOF
34316 /* end confdefs.h. */
34317 #define __Point__ 1
34318 #include <AppKit/NSEvent.h>
34319 #include <CoreFoundation/CoreFoundation.h>
34320
34321 int
34322 main ()
34323 {
34324
34325 ;
34326 return 0;
34327 }
34328 _ACEOF
34329 rm -f conftest.$ac_objext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34331 (eval $ac_compile) 2>conftest.er1
34332 ac_status=$?
34333 grep -v '^ *+' conftest.er1 >conftest.err
34334 rm -f conftest.er1
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } &&
34338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34341 ac_status=$?
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; } &&
34344 { ac_try='test -s conftest.$ac_objext'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34347 ac_status=$?
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; }; then
34350 echo "$as_me:$LINENO: result: yes" >&5
34351 echo "${ECHO_T}yes" >&6
34352 cat >>confdefs.h <<\_ACEOF
34353 #define __Point__ 1
34354 _ACEOF
34355
34356
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361 { { echo "$as_me:$LINENO: error: no
34362 See \`config.log' for more details." >&5
34363 echo "$as_me: error: no
34364 See \`config.log' for more details." >&2;}
34365 { (exit 1); exit 1; }; }
34366
34367 fi
34368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34369
34370 fi
34371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34372 ac_ext=c
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34377
34378 fi
34379
34380 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34381 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34382 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34383
34384 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34385
34386 # Extract the first word of "Rez", so it can be a program name with args.
34387 set dummy Rez; ac_word=$2
34388 echo "$as_me:$LINENO: checking for $ac_word" >&5
34389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34390 if test "${ac_cv_prog_REZ+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34393 if test -n "$REZ"; then
34394 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34395 else
34396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34397 for as_dir in $PATH
34398 do
34399 IFS=$as_save_IFS
34400 test -z "$as_dir" && as_dir=.
34401 for ac_exec_ext in '' $ac_executable_extensions; do
34402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34403 ac_cv_prog_REZ="Rez"
34404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34405 break 2
34406 fi
34407 done
34408 done
34409
34410 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34411 fi
34412 fi
34413 REZ=$ac_cv_prog_REZ
34414 if test -n "$REZ"; then
34415 echo "$as_me:$LINENO: result: $REZ" >&5
34416 echo "${ECHO_T}$REZ" >&6
34417 else
34418 echo "$as_me:$LINENO: result: no" >&5
34419 echo "${ECHO_T}no" >&6
34420 fi
34421
34422 # Extract the first word of "DeRez", so it can be a program name with args.
34423 set dummy DeRez; ac_word=$2
34424 echo "$as_me:$LINENO: checking for $ac_word" >&5
34425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34426 if test "${ac_cv_prog_DEREZ+set}" = set; then
34427 echo $ECHO_N "(cached) $ECHO_C" >&6
34428 else
34429 if test -n "$DEREZ"; then
34430 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34431 else
34432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34433 for as_dir in $PATH
34434 do
34435 IFS=$as_save_IFS
34436 test -z "$as_dir" && as_dir=.
34437 for ac_exec_ext in '' $ac_executable_extensions; do
34438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34439 ac_cv_prog_DEREZ="DeRez"
34440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34441 break 2
34442 fi
34443 done
34444 done
34445
34446 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34447 fi
34448 fi
34449 DEREZ=$ac_cv_prog_DEREZ
34450 if test -n "$DEREZ"; then
34451 echo "$as_me:$LINENO: result: $DEREZ" >&5
34452 echo "${ECHO_T}$DEREZ" >&6
34453 else
34454 echo "$as_me:$LINENO: result: no" >&5
34455 echo "${ECHO_T}no" >&6
34456 fi
34457
34458 # Extract the first word of "SetFile", so it can be a program name with args.
34459 set dummy SetFile; ac_word=$2
34460 echo "$as_me:$LINENO: checking for $ac_word" >&5
34461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34462 if test "${ac_cv_prog_SETFILE+set}" = set; then
34463 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 else
34465 if test -n "$SETFILE"; then
34466 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34467 else
34468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34469 for as_dir in $PATH
34470 do
34471 IFS=$as_save_IFS
34472 test -z "$as_dir" && as_dir=.
34473 for ac_exec_ext in '' $ac_executable_extensions; do
34474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34475 ac_cv_prog_SETFILE="SetFile"
34476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34477 break 2
34478 fi
34479 done
34480 done
34481
34482 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34483 fi
34484 fi
34485 SETFILE=$ac_cv_prog_SETFILE
34486 if test -n "$SETFILE"; then
34487 echo "$as_me:$LINENO: result: $SETFILE" >&5
34488 echo "${ECHO_T}$SETFILE" >&6
34489 else
34490 echo "$as_me:$LINENO: result: no" >&5
34491 echo "${ECHO_T}no" >&6
34492 fi
34493
34494
34495 MACSETFILE="\$(SETFILE)"
34496
34497 if test "$wxUSE_MAC" = 1; then
34498 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34499 RESCOMP="$REZ"
34500 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34501 else
34502 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34503 RESCOMP="echo -n \| $REZ"
34504 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34505 fi
34506
34507 else
34508 MACSETFILE="@true"
34509
34510 if test "$wxUSE_PM" = 1; then
34511 RESCOMP="emxbind"
34512 WXCONFIG_RESFLAGS="-ep"
34513
34514 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34515 else
34516 POSTLINK_COMMAND="@true"
34517 fi
34518
34519 fi
34520
34521
34522
34523 echo "$as_me:$LINENO: checking for mode_t" >&5
34524 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34525 if test "${ac_cv_type_mode_t+set}" = set; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34527 else
34528 cat >conftest.$ac_ext <<_ACEOF
34529 /* confdefs.h. */
34530 _ACEOF
34531 cat confdefs.h >>conftest.$ac_ext
34532 cat >>conftest.$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534 $ac_includes_default
34535 int
34536 main ()
34537 {
34538 if ((mode_t *) 0)
34539 return 0;
34540 if (sizeof (mode_t))
34541 return 0;
34542 ;
34543 return 0;
34544 }
34545 _ACEOF
34546 rm -f conftest.$ac_objext
34547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34548 (eval $ac_compile) 2>conftest.er1
34549 ac_status=$?
34550 grep -v '^ *+' conftest.er1 >conftest.err
34551 rm -f conftest.er1
34552 cat conftest.err >&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } &&
34555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34558 ac_status=$?
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; } &&
34561 { ac_try='test -s conftest.$ac_objext'
34562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34563 (eval $ac_try) 2>&5
34564 ac_status=$?
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); }; }; then
34567 ac_cv_type_mode_t=yes
34568 else
34569 echo "$as_me: failed program was:" >&5
34570 sed 's/^/| /' conftest.$ac_ext >&5
34571
34572 ac_cv_type_mode_t=no
34573 fi
34574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34575 fi
34576 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34577 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34578 if test $ac_cv_type_mode_t = yes; then
34579 :
34580 else
34581
34582 cat >>confdefs.h <<_ACEOF
34583 #define mode_t int
34584 _ACEOF
34585
34586 fi
34587
34588 echo "$as_me:$LINENO: checking for off_t" >&5
34589 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34590 if test "${ac_cv_type_off_t+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 $ac_includes_default
34600 int
34601 main ()
34602 {
34603 if ((off_t *) 0)
34604 return 0;
34605 if (sizeof (off_t))
34606 return 0;
34607 ;
34608 return 0;
34609 }
34610 _ACEOF
34611 rm -f conftest.$ac_objext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34613 (eval $ac_compile) 2>conftest.er1
34614 ac_status=$?
34615 grep -v '^ *+' conftest.er1 >conftest.err
34616 rm -f conftest.er1
34617 cat conftest.err >&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34623 ac_status=$?
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try='test -s conftest.$ac_objext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 ac_cv_type_off_t=yes
34633 else
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34636
34637 ac_cv_type_off_t=no
34638 fi
34639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34640 fi
34641 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34642 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34643 if test $ac_cv_type_off_t = yes; then
34644 :
34645 else
34646
34647 cat >>confdefs.h <<_ACEOF
34648 #define off_t long
34649 _ACEOF
34650
34651 fi
34652
34653 echo "$as_me:$LINENO: checking for pid_t" >&5
34654 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34655 if test "${ac_cv_type_pid_t+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 else
34658 cat >conftest.$ac_ext <<_ACEOF
34659 /* confdefs.h. */
34660 _ACEOF
34661 cat confdefs.h >>conftest.$ac_ext
34662 cat >>conftest.$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 $ac_includes_default
34665 int
34666 main ()
34667 {
34668 if ((pid_t *) 0)
34669 return 0;
34670 if (sizeof (pid_t))
34671 return 0;
34672 ;
34673 return 0;
34674 }
34675 _ACEOF
34676 rm -f conftest.$ac_objext
34677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34678 (eval $ac_compile) 2>conftest.er1
34679 ac_status=$?
34680 grep -v '^ *+' conftest.er1 >conftest.err
34681 rm -f conftest.er1
34682 cat conftest.err >&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); } &&
34685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34688 ac_status=$?
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; } &&
34691 { ac_try='test -s conftest.$ac_objext'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34694 ac_status=$?
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; }; then
34697 ac_cv_type_pid_t=yes
34698 else
34699 echo "$as_me: failed program was:" >&5
34700 sed 's/^/| /' conftest.$ac_ext >&5
34701
34702 ac_cv_type_pid_t=no
34703 fi
34704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34705 fi
34706 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34707 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34708 if test $ac_cv_type_pid_t = yes; then
34709 :
34710 else
34711
34712 cat >>confdefs.h <<_ACEOF
34713 #define pid_t int
34714 _ACEOF
34715
34716 fi
34717
34718 echo "$as_me:$LINENO: checking for size_t" >&5
34719 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34720 if test "${ac_cv_type_size_t+set}" = set; then
34721 echo $ECHO_N "(cached) $ECHO_C" >&6
34722 else
34723 cat >conftest.$ac_ext <<_ACEOF
34724 /* confdefs.h. */
34725 _ACEOF
34726 cat confdefs.h >>conftest.$ac_ext
34727 cat >>conftest.$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34729 $ac_includes_default
34730 int
34731 main ()
34732 {
34733 if ((size_t *) 0)
34734 return 0;
34735 if (sizeof (size_t))
34736 return 0;
34737 ;
34738 return 0;
34739 }
34740 _ACEOF
34741 rm -f conftest.$ac_objext
34742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34743 (eval $ac_compile) 2>conftest.er1
34744 ac_status=$?
34745 grep -v '^ *+' conftest.er1 >conftest.err
34746 rm -f conftest.er1
34747 cat conftest.err >&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } &&
34750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34752 (eval $ac_try) 2>&5
34753 ac_status=$?
34754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34755 (exit $ac_status); }; } &&
34756 { ac_try='test -s conftest.$ac_objext'
34757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34758 (eval $ac_try) 2>&5
34759 ac_status=$?
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); }; }; then
34762 ac_cv_type_size_t=yes
34763 else
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34766
34767 ac_cv_type_size_t=no
34768 fi
34769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34770 fi
34771 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34772 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34773 if test $ac_cv_type_size_t = yes; then
34774 :
34775 else
34776
34777 cat >>confdefs.h <<_ACEOF
34778 #define size_t unsigned
34779 _ACEOF
34780
34781 fi
34782
34783 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34784 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34785 if test "${ac_cv_type_uid_t+set}" = set; then
34786 echo $ECHO_N "(cached) $ECHO_C" >&6
34787 else
34788 cat >conftest.$ac_ext <<_ACEOF
34789 /* confdefs.h. */
34790 _ACEOF
34791 cat confdefs.h >>conftest.$ac_ext
34792 cat >>conftest.$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34794 #include <sys/types.h>
34795
34796 _ACEOF
34797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34798 $EGREP "uid_t" >/dev/null 2>&1; then
34799 ac_cv_type_uid_t=yes
34800 else
34801 ac_cv_type_uid_t=no
34802 fi
34803 rm -f conftest*
34804
34805 fi
34806 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34807 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34808 if test $ac_cv_type_uid_t = no; then
34809
34810 cat >>confdefs.h <<\_ACEOF
34811 #define uid_t int
34812 _ACEOF
34813
34814
34815 cat >>confdefs.h <<\_ACEOF
34816 #define gid_t int
34817 _ACEOF
34818
34819 fi
34820
34821
34822 echo "$as_me:$LINENO: checking for ssize_t" >&5
34823 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34824 if test "${ac_cv_type_ssize_t+set}" = set; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34826 else
34827 cat >conftest.$ac_ext <<_ACEOF
34828 /* confdefs.h. */
34829 _ACEOF
34830 cat confdefs.h >>conftest.$ac_ext
34831 cat >>conftest.$ac_ext <<_ACEOF
34832 /* end confdefs.h. */
34833 $ac_includes_default
34834 int
34835 main ()
34836 {
34837 if ((ssize_t *) 0)
34838 return 0;
34839 if (sizeof (ssize_t))
34840 return 0;
34841 ;
34842 return 0;
34843 }
34844 _ACEOF
34845 rm -f conftest.$ac_objext
34846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34847 (eval $ac_compile) 2>conftest.er1
34848 ac_status=$?
34849 grep -v '^ *+' conftest.er1 >conftest.err
34850 rm -f conftest.er1
34851 cat conftest.err >&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); } &&
34854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; } &&
34860 { ac_try='test -s conftest.$ac_objext'
34861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34862 (eval $ac_try) 2>&5
34863 ac_status=$?
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 ac_cv_type_ssize_t=yes
34867 else
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34870
34871 ac_cv_type_ssize_t=no
34872 fi
34873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34874 fi
34875 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34876 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34877 if test $ac_cv_type_ssize_t = yes; then
34878
34879 cat >>confdefs.h <<_ACEOF
34880 #define HAVE_SSIZE_T 1
34881 _ACEOF
34882
34883
34884 fi
34885
34886
34887 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34888 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34889 if test "${wx_cv_size_t_is_uint+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 else
34892
34893 cat >conftest.$ac_ext <<_ACEOF
34894 /* confdefs.h. */
34895 _ACEOF
34896 cat confdefs.h >>conftest.$ac_ext
34897 cat >>conftest.$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34899 #include <stddef.h>
34900 int
34901 main ()
34902 {
34903
34904 return 0; }
34905
34906 struct Foo { void foo(size_t); void foo(unsigned int); };
34907
34908 int bar() {
34909
34910 ;
34911 return 0;
34912 }
34913 _ACEOF
34914 rm -f conftest.$ac_objext
34915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34916 (eval $ac_compile) 2>conftest.er1
34917 ac_status=$?
34918 grep -v '^ *+' conftest.er1 >conftest.err
34919 rm -f conftest.er1
34920 cat conftest.err >&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } &&
34923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34929 { ac_try='test -s conftest.$ac_objext'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34932 ac_status=$?
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }; then
34935 wx_cv_size_t_is_uint=no
34936 else
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34939
34940 wx_cv_size_t_is_uint=yes
34941
34942 fi
34943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34944
34945
34946 fi
34947 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34948 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34949
34950 if test "$wx_cv_size_t_is_uint" = "yes"; then
34951 cat >>confdefs.h <<\_ACEOF
34952 #define wxSIZE_T_IS_UINT 1
34953 _ACEOF
34954
34955 else
34956 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34957 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34958 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961 cat >conftest.$ac_ext <<_ACEOF
34962 /* confdefs.h. */
34963 _ACEOF
34964 cat confdefs.h >>conftest.$ac_ext
34965 cat >>conftest.$ac_ext <<_ACEOF
34966 /* end confdefs.h. */
34967 #include <stddef.h>
34968 int
34969 main ()
34970 {
34971
34972 return 0; }
34973
34974 struct Foo { void foo(size_t); void foo(unsigned long); };
34975
34976 int bar() {
34977
34978 ;
34979 return 0;
34980 }
34981 _ACEOF
34982 rm -f conftest.$ac_objext
34983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34984 (eval $ac_compile) 2>conftest.er1
34985 ac_status=$?
34986 grep -v '^ *+' conftest.er1 >conftest.err
34987 rm -f conftest.er1
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); } &&
34991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34993 (eval $ac_try) 2>&5
34994 ac_status=$?
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); }; } &&
34997 { ac_try='test -s conftest.$ac_objext'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35000 ac_status=$?
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; }; then
35003 wx_cv_size_t_is_ulong=no
35004 else
35005 echo "$as_me: failed program was:" >&5
35006 sed 's/^/| /' conftest.$ac_ext >&5
35007
35008 wx_cv_size_t_is_ulong=yes
35009
35010 fi
35011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35012
35013 fi
35014 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35015 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35016
35017 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35018 cat >>confdefs.h <<\_ACEOF
35019 #define wxSIZE_T_IS_ULONG 1
35020 _ACEOF
35021
35022 fi
35023 fi
35024
35025
35026 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35027 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35028 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35029 echo $ECHO_N "(cached) $ECHO_C" >&6
35030 else
35031
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 #include <pwd.h>
35039 int
35040 main ()
35041 {
35042
35043 char *p;
35044 struct passwd *pw;
35045 p = pw->pw_gecos;
35046
35047 ;
35048 return 0;
35049 }
35050 _ACEOF
35051 rm -f conftest.$ac_objext
35052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35053 (eval $ac_compile) 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } &&
35060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35062 (eval $ac_try) 2>&5
35063 ac_status=$?
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); }; } &&
35066 { ac_try='test -s conftest.$ac_objext'
35067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35068 (eval $ac_try) 2>&5
35069 ac_status=$?
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); }; }; then
35072
35073 wx_cv_struct_pw_gecos=yes
35074
35075 else
35076 echo "$as_me: failed program was:" >&5
35077 sed 's/^/| /' conftest.$ac_ext >&5
35078
35079
35080 wx_cv_struct_pw_gecos=no
35081
35082
35083 fi
35084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35085
35086
35087 fi
35088 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35089 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35090
35091 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35092 cat >>confdefs.h <<\_ACEOF
35093 #define HAVE_PW_GECOS 1
35094 _ACEOF
35095
35096 fi
35097
35098
35099 if test "$wxUSE_WCHAR_T" = "yes"; then
35100 cat >>confdefs.h <<\_ACEOF
35101 #define wxUSE_WCHAR_T 1
35102 _ACEOF
35103
35104
35105 WCSLEN_FOUND=0
35106 WCHAR_LINK=
35107
35108 for ac_func in wcslen
35109 do
35110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35111 echo "$as_me:$LINENO: checking for $ac_func" >&5
35112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35113 if eval "test \"\${$as_ac_var+set}\" = set"; then
35114 echo $ECHO_N "(cached) $ECHO_C" >&6
35115 else
35116 cat >conftest.$ac_ext <<_ACEOF
35117 /* confdefs.h. */
35118 _ACEOF
35119 cat confdefs.h >>conftest.$ac_ext
35120 cat >>conftest.$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35124 #define $ac_func innocuous_$ac_func
35125
35126 /* System header to define __stub macros and hopefully few prototypes,
35127 which can conflict with char $ac_func (); below.
35128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35129 <limits.h> exists even on freestanding compilers. */
35130
35131 #ifdef __STDC__
35132 # include <limits.h>
35133 #else
35134 # include <assert.h>
35135 #endif
35136
35137 #undef $ac_func
35138
35139 /* Override any gcc2 internal prototype to avoid an error. */
35140 #ifdef __cplusplus
35141 extern "C"
35142 {
35143 #endif
35144 /* We use char because int might match the return type of a gcc2
35145 builtin and then its argument prototype would still apply. */
35146 char $ac_func ();
35147 /* The GNU C library defines this for functions which it implements
35148 to always fail with ENOSYS. Some functions are actually named
35149 something starting with __ and the normal name is an alias. */
35150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35151 choke me
35152 #else
35153 char (*f) () = $ac_func;
35154 #endif
35155 #ifdef __cplusplus
35156 }
35157 #endif
35158
35159 int
35160 main ()
35161 {
35162 return f != $ac_func;
35163 ;
35164 return 0;
35165 }
35166 _ACEOF
35167 rm -f conftest.$ac_objext conftest$ac_exeext
35168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35169 (eval $ac_link) 2>conftest.er1
35170 ac_status=$?
35171 grep -v '^ *+' conftest.er1 >conftest.err
35172 rm -f conftest.er1
35173 cat conftest.err >&5
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); } &&
35176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 (eval $ac_try) 2>&5
35179 ac_status=$?
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); }; } &&
35182 { ac_try='test -s conftest$ac_exeext'
35183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184 (eval $ac_try) 2>&5
35185 ac_status=$?
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; }; then
35188 eval "$as_ac_var=yes"
35189 else
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 eval "$as_ac_var=no"
35194 fi
35195 rm -f conftest.err conftest.$ac_objext \
35196 conftest$ac_exeext conftest.$ac_ext
35197 fi
35198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35200 if test `eval echo '${'$as_ac_var'}'` = yes; then
35201 cat >>confdefs.h <<_ACEOF
35202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35203 _ACEOF
35204 WCSLEN_FOUND=1
35205 fi
35206 done
35207
35208
35209 if test "$WCSLEN_FOUND" = 0; then
35210 if test "$TOOLKIT" = "MSW"; then
35211 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35212 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35213 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35215 else
35216 ac_check_lib_save_LIBS=$LIBS
35217 LIBS="-lmsvcrt $LIBS"
35218 cat >conftest.$ac_ext <<_ACEOF
35219 /* confdefs.h. */
35220 _ACEOF
35221 cat confdefs.h >>conftest.$ac_ext
35222 cat >>conftest.$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35224
35225 /* Override any gcc2 internal prototype to avoid an error. */
35226 #ifdef __cplusplus
35227 extern "C"
35228 #endif
35229 /* We use char because int might match the return type of a gcc2
35230 builtin and then its argument prototype would still apply. */
35231 char wcslen ();
35232 int
35233 main ()
35234 {
35235 wcslen ();
35236 ;
35237 return 0;
35238 }
35239 _ACEOF
35240 rm -f conftest.$ac_objext conftest$ac_exeext
35241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35242 (eval $ac_link) 2>conftest.er1
35243 ac_status=$?
35244 grep -v '^ *+' conftest.er1 >conftest.err
35245 rm -f conftest.er1
35246 cat conftest.err >&5
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); } &&
35249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 (eval $ac_try) 2>&5
35252 ac_status=$?
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); }; } &&
35255 { ac_try='test -s conftest$ac_exeext'
35256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35257 (eval $ac_try) 2>&5
35258 ac_status=$?
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); }; }; then
35261 ac_cv_lib_msvcrt_wcslen=yes
35262 else
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.$ac_ext >&5
35265
35266 ac_cv_lib_msvcrt_wcslen=no
35267 fi
35268 rm -f conftest.err conftest.$ac_objext \
35269 conftest$ac_exeext conftest.$ac_ext
35270 LIBS=$ac_check_lib_save_LIBS
35271 fi
35272 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35273 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35274 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35275 WCHAR_OK=1
35276 fi
35277
35278 else
35279 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35280 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35281 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284 ac_check_lib_save_LIBS=$LIBS
35285 LIBS="-lw $LIBS"
35286 cat >conftest.$ac_ext <<_ACEOF
35287 /* confdefs.h. */
35288 _ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292
35293 /* Override any gcc2 internal prototype to avoid an error. */
35294 #ifdef __cplusplus
35295 extern "C"
35296 #endif
35297 /* We use char because int might match the return type of a gcc2
35298 builtin and then its argument prototype would still apply. */
35299 char wcslen ();
35300 int
35301 main ()
35302 {
35303 wcslen ();
35304 ;
35305 return 0;
35306 }
35307 _ACEOF
35308 rm -f conftest.$ac_objext conftest$ac_exeext
35309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35310 (eval $ac_link) 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } &&
35317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35319 (eval $ac_try) 2>&5
35320 ac_status=$?
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); }; } &&
35323 { ac_try='test -s conftest$ac_exeext'
35324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35325 (eval $ac_try) 2>&5
35326 ac_status=$?
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); }; }; then
35329 ac_cv_lib_w_wcslen=yes
35330 else
35331 echo "$as_me: failed program was:" >&5
35332 sed 's/^/| /' conftest.$ac_ext >&5
35333
35334 ac_cv_lib_w_wcslen=no
35335 fi
35336 rm -f conftest.err conftest.$ac_objext \
35337 conftest$ac_exeext conftest.$ac_ext
35338 LIBS=$ac_check_lib_save_LIBS
35339 fi
35340 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35341 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35342 if test $ac_cv_lib_w_wcslen = yes; then
35343
35344 WCHAR_LINK=" -lw"
35345 WCSLEN_FOUND=1
35346
35347 fi
35348
35349 fi
35350 fi
35351
35352 if test "$WCSLEN_FOUND" = 1; then
35353 cat >>confdefs.h <<\_ACEOF
35354 #define HAVE_WCSLEN 1
35355 _ACEOF
35356
35357 fi
35358
35359 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35360 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35361 fi
35362
35363 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35364 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35365 if test "${ac_cv_type_mbstate_t+set}" = set; then
35366 echo $ECHO_N "(cached) $ECHO_C" >&6
35367 else
35368 cat >conftest.$ac_ext <<_ACEOF
35369 /* confdefs.h. */
35370 _ACEOF
35371 cat confdefs.h >>conftest.$ac_ext
35372 cat >>conftest.$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35374 #include <wchar.h>
35375
35376 int
35377 main ()
35378 {
35379 if ((mbstate_t *) 0)
35380 return 0;
35381 if (sizeof (mbstate_t))
35382 return 0;
35383 ;
35384 return 0;
35385 }
35386 _ACEOF
35387 rm -f conftest.$ac_objext
35388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35389 (eval $ac_compile) 2>conftest.er1
35390 ac_status=$?
35391 grep -v '^ *+' conftest.er1 >conftest.err
35392 rm -f conftest.er1
35393 cat conftest.err >&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); } &&
35396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35399 ac_status=$?
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; } &&
35402 { ac_try='test -s conftest.$ac_objext'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35405 ac_status=$?
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; }; then
35408 ac_cv_type_mbstate_t=yes
35409 else
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35412
35413 ac_cv_type_mbstate_t=no
35414 fi
35415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35416 fi
35417 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35418 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35419 if test $ac_cv_type_mbstate_t = yes; then
35420
35421 cat >>confdefs.h <<_ACEOF
35422 #define HAVE_MBSTATE_T 1
35423 _ACEOF
35424
35425
35426 for ac_func in wcsrtombs
35427 do
35428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35429 echo "$as_me:$LINENO: checking for $ac_func" >&5
35430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35431 if eval "test \"\${$as_ac_var+set}\" = set"; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35433 else
35434 cat >conftest.$ac_ext <<_ACEOF
35435 /* confdefs.h. */
35436 _ACEOF
35437 cat confdefs.h >>conftest.$ac_ext
35438 cat >>conftest.$ac_ext <<_ACEOF
35439 /* end confdefs.h. */
35440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35442 #define $ac_func innocuous_$ac_func
35443
35444 /* System header to define __stub macros and hopefully few prototypes,
35445 which can conflict with char $ac_func (); below.
35446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35447 <limits.h> exists even on freestanding compilers. */
35448
35449 #ifdef __STDC__
35450 # include <limits.h>
35451 #else
35452 # include <assert.h>
35453 #endif
35454
35455 #undef $ac_func
35456
35457 /* Override any gcc2 internal prototype to avoid an error. */
35458 #ifdef __cplusplus
35459 extern "C"
35460 {
35461 #endif
35462 /* We use char because int might match the return type of a gcc2
35463 builtin and then its argument prototype would still apply. */
35464 char $ac_func ();
35465 /* The GNU C library defines this for functions which it implements
35466 to always fail with ENOSYS. Some functions are actually named
35467 something starting with __ and the normal name is an alias. */
35468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35469 choke me
35470 #else
35471 char (*f) () = $ac_func;
35472 #endif
35473 #ifdef __cplusplus
35474 }
35475 #endif
35476
35477 int
35478 main ()
35479 {
35480 return f != $ac_func;
35481 ;
35482 return 0;
35483 }
35484 _ACEOF
35485 rm -f conftest.$ac_objext conftest$ac_exeext
35486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35487 (eval $ac_link) 2>conftest.er1
35488 ac_status=$?
35489 grep -v '^ *+' conftest.er1 >conftest.err
35490 rm -f conftest.er1
35491 cat conftest.err >&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } &&
35494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; } &&
35500 { ac_try='test -s conftest$ac_exeext'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; }; then
35506 eval "$as_ac_var=yes"
35507 else
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35510
35511 eval "$as_ac_var=no"
35512 fi
35513 rm -f conftest.err conftest.$ac_objext \
35514 conftest$ac_exeext conftest.$ac_ext
35515 fi
35516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35518 if test `eval echo '${'$as_ac_var'}'` = yes; then
35519 cat >>confdefs.h <<_ACEOF
35520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35521 _ACEOF
35522
35523 fi
35524 done
35525
35526 fi
35527
35528 else
35529 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35530 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35531 fi
35532
35533
35534
35535 for ac_func in snprintf vsnprintf
35536 do
35537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35538 echo "$as_me:$LINENO: checking for $ac_func" >&5
35539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35540 if eval "test \"\${$as_ac_var+set}\" = set"; then
35541 echo $ECHO_N "(cached) $ECHO_C" >&6
35542 else
35543 cat >conftest.$ac_ext <<_ACEOF
35544 /* confdefs.h. */
35545 _ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35551 #define $ac_func innocuous_$ac_func
35552
35553 /* System header to define __stub macros and hopefully few prototypes,
35554 which can conflict with char $ac_func (); below.
35555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35556 <limits.h> exists even on freestanding compilers. */
35557
35558 #ifdef __STDC__
35559 # include <limits.h>
35560 #else
35561 # include <assert.h>
35562 #endif
35563
35564 #undef $ac_func
35565
35566 /* Override any gcc2 internal prototype to avoid an error. */
35567 #ifdef __cplusplus
35568 extern "C"
35569 {
35570 #endif
35571 /* We use char because int might match the return type of a gcc2
35572 builtin and then its argument prototype would still apply. */
35573 char $ac_func ();
35574 /* The GNU C library defines this for functions which it implements
35575 to always fail with ENOSYS. Some functions are actually named
35576 something starting with __ and the normal name is an alias. */
35577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35578 choke me
35579 #else
35580 char (*f) () = $ac_func;
35581 #endif
35582 #ifdef __cplusplus
35583 }
35584 #endif
35585
35586 int
35587 main ()
35588 {
35589 return f != $ac_func;
35590 ;
35591 return 0;
35592 }
35593 _ACEOF
35594 rm -f conftest.$ac_objext conftest$ac_exeext
35595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35596 (eval $ac_link) 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } &&
35603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35606 ac_status=$?
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try='test -s conftest$ac_exeext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35612 ac_status=$?
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35615 eval "$as_ac_var=yes"
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35619
35620 eval "$as_ac_var=no"
35621 fi
35622 rm -f conftest.err conftest.$ac_objext \
35623 conftest$ac_exeext conftest.$ac_ext
35624 fi
35625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35627 if test `eval echo '${'$as_ac_var'}'` = yes; then
35628 cat >>confdefs.h <<_ACEOF
35629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35630 _ACEOF
35631
35632 fi
35633 done
35634
35635
35636 if test "$ac_cv_func_vsnprintf" = "yes"; then
35637 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35638 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35639 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 else
35642
35643 cat >conftest.$ac_ext <<_ACEOF
35644 /* confdefs.h. */
35645 _ACEOF
35646 cat confdefs.h >>conftest.$ac_ext
35647 cat >>conftest.$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649
35650 #include <stdio.h>
35651 #include <stdarg.h>
35652 #ifdef __MSL__
35653 #if __MSL__ >= 0x6000
35654 namespace std {}
35655 using namespace std;
35656 #endif
35657 #endif
35658
35659 int
35660 main ()
35661 {
35662
35663 char *buf;
35664 va_list ap;
35665 vsnprintf(buf, 10u, "%s", ap);
35666
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35673 (eval $ac_compile) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35683 ac_status=$?
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; } &&
35686 { ac_try='test -s conftest.$ac_objext'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35689 ac_status=$?
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; }; then
35692 wx_cv_func_vsnprintf_decl=yes
35693 else
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.$ac_ext >&5
35696
35697 wx_cv_func_vsnprintf_decl=no
35698
35699 fi
35700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35701
35702
35703 fi
35704 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35705 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35706
35707 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35708 cat >>confdefs.h <<\_ACEOF
35709 #define HAVE_VSNPRINTF_DECL 1
35710 _ACEOF
35711
35712
35713 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35714 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35715 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35716 echo $ECHO_N "(cached) $ECHO_C" >&6
35717 else
35718
35719 cat >conftest.$ac_ext <<_ACEOF
35720 /* confdefs.h. */
35721 _ACEOF
35722 cat confdefs.h >>conftest.$ac_ext
35723 cat >>conftest.$ac_ext <<_ACEOF
35724 /* end confdefs.h. */
35725
35726 #include <stdio.h>
35727 #include <stdarg.h>
35728 #ifdef __MSL__
35729 #if __MSL__ >= 0x6000
35730 namespace std {}
35731 using namespace std;
35732 #endif
35733 #endif
35734
35735 int
35736 main ()
35737 {
35738
35739 char *buf;
35740 va_list ap;
35741 const char *fmt = "%s";
35742 vsnprintf(buf, 10u, fmt, ap);
35743
35744 ;
35745 return 0;
35746 }
35747 _ACEOF
35748 rm -f conftest.$ac_objext
35749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35750 (eval $ac_compile) 2>conftest.er1
35751 ac_status=$?
35752 grep -v '^ *+' conftest.er1 >conftest.err
35753 rm -f conftest.er1
35754 cat conftest.err >&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } &&
35757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; } &&
35763 { ac_try='test -s conftest.$ac_objext'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35766 ac_status=$?
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; }; then
35769 wx_cv_func_broken_vsnprintf_decl=no
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 wx_cv_func_broken_vsnprintf_decl=yes
35775
35776 fi
35777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35778
35779
35780 fi
35781 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35782 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35783
35784 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35785 cat >>confdefs.h <<\_ACEOF
35786 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35787 _ACEOF
35788
35789 fi
35790 fi
35791 fi
35792
35793 if test "$ac_cv_func_snprintf" = "yes"; then
35794 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35795 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35796 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 else
35799
35800 cat >conftest.$ac_ext <<_ACEOF
35801 /* confdefs.h. */
35802 _ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35806
35807 #include <stdio.h>
35808 #include <stdarg.h>
35809 #ifdef __MSL__
35810 #if __MSL__ >= 0x6000
35811 namespace std {}
35812 using namespace std;
35813 #endif
35814 #endif
35815
35816 int
35817 main ()
35818 {
35819
35820 char *buf;
35821 snprintf(buf, 10u, "%s", "wx");
35822
35823 ;
35824 return 0;
35825 }
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try='test -s conftest.$ac_objext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35845 ac_status=$?
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 wx_cv_func_snprintf_decl=yes
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 wx_cv_func_snprintf_decl=no
35854
35855 fi
35856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35857
35858
35859 fi
35860 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35861 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35862
35863 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define HAVE_SNPRINTF_DECL 1
35866 _ACEOF
35867
35868
35869 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35870 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35871 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35872 echo $ECHO_N "(cached) $ECHO_C" >&6
35873 else
35874
35875 cat >conftest.$ac_ext <<_ACEOF
35876 /* confdefs.h. */
35877 _ACEOF
35878 cat confdefs.h >>conftest.$ac_ext
35879 cat >>conftest.$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35881
35882 #include <stdio.h>
35883 #include <stdarg.h>
35884 #ifdef __MSL__
35885 #if __MSL__ >= 0x6000
35886 namespace std {}
35887 using namespace std;
35888 #endif
35889 #endif
35890
35891 int
35892 main ()
35893 {
35894
35895 char *buf;
35896 const char *fmt = "%s";
35897 snprintf(buf, 10u, fmt, "wx");
35898
35899 ;
35900 return 0;
35901 }
35902 _ACEOF
35903 rm -f conftest.$ac_objext
35904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35905 (eval $ac_compile) 2>conftest.er1
35906 ac_status=$?
35907 grep -v '^ *+' conftest.er1 >conftest.err
35908 rm -f conftest.er1
35909 cat conftest.err >&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); } &&
35912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35914 (eval $ac_try) 2>&5
35915 ac_status=$?
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); }; } &&
35918 { ac_try='test -s conftest.$ac_objext'
35919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35920 (eval $ac_try) 2>&5
35921 ac_status=$?
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); }; }; then
35924 wx_cv_func_broken_snprintf_decl=no
35925 else
35926 echo "$as_me: failed program was:" >&5
35927 sed 's/^/| /' conftest.$ac_ext >&5
35928
35929 wx_cv_func_broken_snprintf_decl=yes
35930
35931 fi
35932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35933
35934
35935 fi
35936 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35937 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35938
35939 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35940 cat >>confdefs.h <<\_ACEOF
35941 #define HAVE_BROKEN_SNPRINTF_DECL 1
35942 _ACEOF
35943
35944 fi
35945 fi
35946
35947 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35948
35949 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35950 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35951 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954
35955 if test "$cross_compiling" = yes; then
35956
35957 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35958 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35959 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35960 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35961 wx_cv_func_snprintf_pos_params=no
35962
35963
35964 else
35965 cat >conftest.$ac_ext <<_ACEOF
35966 /* confdefs.h. */
35967 _ACEOF
35968 cat confdefs.h >>conftest.$ac_ext
35969 cat >>conftest.$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35971
35972 #include <stdio.h>
35973
35974 int main (void)
35975 {
35976 char buffer[128];
35977 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35978 if (strcmp ("2 3 1", buffer) == 0)
35979 exit (0);
35980 exit (1);
35981 }
35982
35983 _ACEOF
35984 rm -f conftest$ac_exeext
35985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35986 (eval $ac_link) 2>&5
35987 ac_status=$?
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35991 (eval $ac_try) 2>&5
35992 ac_status=$?
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); }; }; then
35995 wx_cv_func_snprintf_pos_params=no
35996 else
35997 echo "$as_me: program exited with status $ac_status" >&5
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36000
36001 ( exit $ac_status )
36002 wx_cv_func_snprintf_pos_params=yes
36003 fi
36004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36005 fi
36006
36007
36008 fi
36009 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36010 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36011
36012 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36013 cat >>confdefs.h <<\_ACEOF
36014 #define HAVE_UNIX98_PRINTF 1
36015 _ACEOF
36016
36017 fi
36018 fi
36019 fi
36020
36021 if test "$wxUSE_UNICODE" = yes; then
36022
36023
36024 for ac_func in swprintf
36025 do
36026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36027 echo "$as_me:$LINENO: checking for $ac_func" >&5
36028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36029 if eval "test \"\${$as_ac_var+set}\" = set"; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36031 else
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36040 #define $ac_func innocuous_$ac_func
36041
36042 /* System header to define __stub macros and hopefully few prototypes,
36043 which can conflict with char $ac_func (); below.
36044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36045 <limits.h> exists even on freestanding compilers. */
36046
36047 #ifdef __STDC__
36048 # include <limits.h>
36049 #else
36050 # include <assert.h>
36051 #endif
36052
36053 #undef $ac_func
36054
36055 /* Override any gcc2 internal prototype to avoid an error. */
36056 #ifdef __cplusplus
36057 extern "C"
36058 {
36059 #endif
36060 /* We use char because int might match the return type of a gcc2
36061 builtin and then its argument prototype would still apply. */
36062 char $ac_func ();
36063 /* The GNU C library defines this for functions which it implements
36064 to always fail with ENOSYS. Some functions are actually named
36065 something starting with __ and the normal name is an alias. */
36066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36067 choke me
36068 #else
36069 char (*f) () = $ac_func;
36070 #endif
36071 #ifdef __cplusplus
36072 }
36073 #endif
36074
36075 int
36076 main ()
36077 {
36078 return f != $ac_func;
36079 ;
36080 return 0;
36081 }
36082 _ACEOF
36083 rm -f conftest.$ac_objext conftest$ac_exeext
36084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36085 (eval $ac_link) 2>conftest.er1
36086 ac_status=$?
36087 grep -v '^ *+' conftest.er1 >conftest.err
36088 rm -f conftest.er1
36089 cat conftest.err >&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } &&
36092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36094 (eval $ac_try) 2>&5
36095 ac_status=$?
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); }; } &&
36098 { ac_try='test -s conftest$ac_exeext'
36099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36100 (eval $ac_try) 2>&5
36101 ac_status=$?
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); }; }; then
36104 eval "$as_ac_var=yes"
36105 else
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36108
36109 eval "$as_ac_var=no"
36110 fi
36111 rm -f conftest.err conftest.$ac_objext \
36112 conftest$ac_exeext conftest.$ac_ext
36113 fi
36114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36116 if test `eval echo '${'$as_ac_var'}'` = yes; then
36117 cat >>confdefs.h <<_ACEOF
36118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36119 _ACEOF
36120
36121 fi
36122 done
36123
36124
36125 if test "$ac_cv_func_swprintf" = "yes"; then
36126 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36127 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36128 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138
36139 #include <stdio.h>
36140 #include <stdarg.h>
36141 #include <wchar.h>
36142
36143 int
36144 main ()
36145 {
36146
36147 wchar_t *buf;
36148 const wchar_t *fmt = L"test";
36149 swprintf(buf, 10u, fmt);
36150
36151 ;
36152 return 0;
36153 }
36154 _ACEOF
36155 rm -f conftest.$ac_objext
36156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36157 (eval $ac_compile) 2>conftest.er1
36158 ac_status=$?
36159 grep -v '^ *+' conftest.er1 >conftest.err
36160 rm -f conftest.er1
36161 cat conftest.err >&5
36162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36163 (exit $ac_status); } &&
36164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest.$ac_objext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 wx_cv_func_broken_swprintf_decl=no
36177 else
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.$ac_ext >&5
36180
36181 wx_cv_func_broken_swprintf_decl=yes
36182
36183 fi
36184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36185
36186
36187 fi
36188 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36189 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36190
36191 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36192 cat >>confdefs.h <<\_ACEOF
36193 #define HAVE_BROKEN_SWPRINTF_DECL 1
36194 _ACEOF
36195
36196 fi
36197 fi
36198
36199
36200 for wx_func in wputc wputchar putws fputws wprintf vswprintf
36201 do
36202 echo "$as_me:$LINENO: checking for $wx_func" >&5
36203 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36204 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36205 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 else
36207
36208 cat >conftest.$ac_ext <<_ACEOF
36209
36210 /* confdefs.h. */
36211 _ACEOF
36212 cat confdefs.h >>conftest.$ac_ext
36213 cat >>conftest.$ac_ext <<_ACEOF
36214 /* end confdefs.h. */
36215
36216
36217 $ac_includes_default
36218
36219 int
36220 main ()
36221 {
36222
36223 #ifndef $wx_func
36224 &$wx_func;
36225 #endif
36226
36227
36228 ;
36229 return 0;
36230 }
36231
36232 _ACEOF
36233 rm -f conftest.$ac_objext conftest$ac_exeext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36235 (eval $ac_link) 2>conftest.er1
36236 ac_status=$?
36237 grep -v '^ *+' conftest.er1 >conftest.err
36238 rm -f conftest.er1
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } &&
36242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36244 (eval $ac_try) 2>&5
36245 ac_status=$?
36246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36247 (exit $ac_status); }; } &&
36248 { ac_try='test -s conftest$ac_exeext'
36249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36250 (eval $ac_try) 2>&5
36251 ac_status=$?
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); }; }; then
36254 eval wx_cv_func_$wx_func=yes
36255 else
36256 echo "$as_me: failed program was:" >&5
36257 sed 's/^/| /' conftest.$ac_ext >&5
36258
36259 eval wx_cv_func_$wx_func=no
36260 fi
36261 rm -f conftest.err conftest.$ac_objext \
36262 conftest$ac_exeext conftest.$ac_ext
36263
36264 fi
36265 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36266 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36267
36268 if eval test \$wx_cv_func_$wx_func = yes
36269 then
36270 cat >>confdefs.h <<_ACEOF
36271 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36272 _ACEOF
36273
36274
36275 else
36276 :
36277
36278 fi
36279 done
36280
36281
36282 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36283 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36284 cat >conftest.$ac_ext <<_ACEOF
36285 /* confdefs.h. */
36286 _ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36290 #include <wchar.h>
36291 int
36292 main ()
36293 {
36294 &_vsnwprintf;
36295 ;
36296 return 0;
36297 }
36298 _ACEOF
36299 rm -f conftest.$ac_objext
36300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36301 (eval $ac_compile) 2>conftest.er1
36302 ac_status=$?
36303 grep -v '^ *+' conftest.er1 >conftest.err
36304 rm -f conftest.er1
36305 cat conftest.err >&5
36306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36307 (exit $ac_status); } &&
36308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36310 (eval $ac_try) 2>&5
36311 ac_status=$?
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); }; } &&
36314 { ac_try='test -s conftest.$ac_objext'
36315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36316 (eval $ac_try) 2>&5
36317 ac_status=$?
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); }; }; then
36320 echo "$as_me:$LINENO: result: yes" >&5
36321 echo "${ECHO_T}yes" >&6
36322 cat >>confdefs.h <<\_ACEOF
36323 #define HAVE__VSNWPRINTF 1
36324 _ACEOF
36325
36326 else
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.$ac_ext >&5
36329
36330 echo "$as_me:$LINENO: result: no" >&5
36331 echo "${ECHO_T}no" >&6
36332 fi
36333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36334 fi
36335
36336 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36337
36338 for wx_func in fnmatch
36339 do
36340 echo "$as_me:$LINENO: checking for $wx_func" >&5
36341 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36342 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36343 echo $ECHO_N "(cached) $ECHO_C" >&6
36344 else
36345
36346 cat >conftest.$ac_ext <<_ACEOF
36347
36348 /* confdefs.h. */
36349 _ACEOF
36350 cat confdefs.h >>conftest.$ac_ext
36351 cat >>conftest.$ac_ext <<_ACEOF
36352 /* end confdefs.h. */
36353
36354
36355 $ac_includes_default
36356
36357 int
36358 main ()
36359 {
36360
36361 #ifndef $wx_func
36362 &$wx_func;
36363 #endif
36364
36365
36366 ;
36367 return 0;
36368 }
36369
36370 _ACEOF
36371 rm -f conftest.$ac_objext conftest$ac_exeext
36372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36373 (eval $ac_link) 2>conftest.er1
36374 ac_status=$?
36375 grep -v '^ *+' conftest.er1 >conftest.err
36376 rm -f conftest.er1
36377 cat conftest.err >&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } &&
36380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36383 ac_status=$?
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; } &&
36386 { ac_try='test -s conftest$ac_exeext'
36387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36388 (eval $ac_try) 2>&5
36389 ac_status=$?
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); }; }; then
36392 eval wx_cv_func_$wx_func=yes
36393 else
36394 echo "$as_me: failed program was:" >&5
36395 sed 's/^/| /' conftest.$ac_ext >&5
36396
36397 eval wx_cv_func_$wx_func=no
36398 fi
36399 rm -f conftest.err conftest.$ac_objext \
36400 conftest$ac_exeext conftest.$ac_ext
36401
36402 fi
36403 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36404 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36405
36406 if eval test \$wx_cv_func_$wx_func = yes
36407 then
36408 cat >>confdefs.h <<_ACEOF
36409 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36410 _ACEOF
36411
36412
36413 else
36414 :
36415
36416 fi
36417 done
36418
36419 fi
36420
36421 if test "$wxUSE_FILE" = "yes"; then
36422
36423 for wx_func in fsync
36424 do
36425 echo "$as_me:$LINENO: checking for $wx_func" >&5
36426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36427 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36428 echo $ECHO_N "(cached) $ECHO_C" >&6
36429 else
36430
36431 cat >conftest.$ac_ext <<_ACEOF
36432
36433 /* confdefs.h. */
36434 _ACEOF
36435 cat confdefs.h >>conftest.$ac_ext
36436 cat >>conftest.$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36438
36439
36440 $ac_includes_default
36441
36442 int
36443 main ()
36444 {
36445
36446 #ifndef $wx_func
36447 &$wx_func;
36448 #endif
36449
36450
36451 ;
36452 return 0;
36453 }
36454
36455 _ACEOF
36456 rm -f conftest.$ac_objext conftest$ac_exeext
36457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36458 (eval $ac_link) 2>conftest.er1
36459 ac_status=$?
36460 grep -v '^ *+' conftest.er1 >conftest.err
36461 rm -f conftest.er1
36462 cat conftest.err >&5
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); } &&
36465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36467 (eval $ac_try) 2>&5
36468 ac_status=$?
36469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36470 (exit $ac_status); }; } &&
36471 { ac_try='test -s conftest$ac_exeext'
36472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36473 (eval $ac_try) 2>&5
36474 ac_status=$?
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); }; }; then
36477 eval wx_cv_func_$wx_func=yes
36478 else
36479 echo "$as_me: failed program was:" >&5
36480 sed 's/^/| /' conftest.$ac_ext >&5
36481
36482 eval wx_cv_func_$wx_func=no
36483 fi
36484 rm -f conftest.err conftest.$ac_objext \
36485 conftest$ac_exeext conftest.$ac_ext
36486
36487 fi
36488 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36489 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36490
36491 if eval test \$wx_cv_func_$wx_func = yes
36492 then
36493 cat >>confdefs.h <<_ACEOF
36494 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36495 _ACEOF
36496
36497
36498 else
36499 :
36500
36501 fi
36502 done
36503
36504 fi
36505
36506
36507 for wx_func in round
36508 do
36509 echo "$as_me:$LINENO: checking for $wx_func" >&5
36510 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36511 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36512 echo $ECHO_N "(cached) $ECHO_C" >&6
36513 else
36514
36515 cat >conftest.$ac_ext <<_ACEOF
36516
36517 /* confdefs.h. */
36518 _ACEOF
36519 cat confdefs.h >>conftest.$ac_ext
36520 cat >>conftest.$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36522
36523 #include <math.h>
36524 $ac_includes_default
36525
36526 int
36527 main ()
36528 {
36529
36530 #ifndef $wx_func
36531 &$wx_func;
36532 #endif
36533
36534
36535 ;
36536 return 0;
36537 }
36538
36539 _ACEOF
36540 rm -f conftest.$ac_objext conftest$ac_exeext
36541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36542 (eval $ac_link) 2>conftest.er1
36543 ac_status=$?
36544 grep -v '^ *+' conftest.er1 >conftest.err
36545 rm -f conftest.er1
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } &&
36549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36551 (eval $ac_try) 2>&5
36552 ac_status=$?
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); }; } &&
36555 { ac_try='test -s conftest$ac_exeext'
36556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36557 (eval $ac_try) 2>&5
36558 ac_status=$?
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; }; then
36561 eval wx_cv_func_$wx_func=yes
36562 else
36563 echo "$as_me: failed program was:" >&5
36564 sed 's/^/| /' conftest.$ac_ext >&5
36565
36566 eval wx_cv_func_$wx_func=no
36567 fi
36568 rm -f conftest.err conftest.$ac_objext \
36569 conftest$ac_exeext conftest.$ac_ext
36570
36571 fi
36572 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36573 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36574
36575 if eval test \$wx_cv_func_$wx_func = yes
36576 then
36577 cat >>confdefs.h <<_ACEOF
36578 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36579 _ACEOF
36580
36581
36582 else
36583 :
36584
36585 fi
36586 done
36587
36588
36589 if test "$TOOLKIT" != "MSW"; then
36590
36591
36592
36593
36594
36595 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36596 if test "${with_libiconv_prefix+set}" = set; then
36597 withval="$with_libiconv_prefix"
36598
36599 for dir in `echo "$withval" | tr : ' '`; do
36600 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36601 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36602 done
36603
36604 fi;
36605
36606 echo "$as_me:$LINENO: checking for iconv" >&5
36607 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36608 if test "${am_cv_func_iconv+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36610 else
36611
36612 am_cv_func_iconv="no, consider installing GNU libiconv"
36613 am_cv_lib_iconv=no
36614 cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h. */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <stdlib.h>
36621 #include <iconv.h>
36622 int
36623 main ()
36624 {
36625 iconv_t cd = iconv_open("","");
36626 iconv(cd,NULL,NULL,NULL,NULL);
36627 iconv_close(cd);
36628 ;
36629 return 0;
36630 }
36631 _ACEOF
36632 rm -f conftest.$ac_objext conftest$ac_exeext
36633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36634 (eval $ac_link) 2>conftest.er1
36635 ac_status=$?
36636 grep -v '^ *+' conftest.er1 >conftest.err
36637 rm -f conftest.er1
36638 cat conftest.err >&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); } &&
36641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36644 ac_status=$?
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; } &&
36647 { ac_try='test -s conftest$ac_exeext'
36648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36649 (eval $ac_try) 2>&5
36650 ac_status=$?
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; }; then
36653 am_cv_func_iconv=yes
36654 else
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.$ac_ext >&5
36657
36658 fi
36659 rm -f conftest.err conftest.$ac_objext \
36660 conftest$ac_exeext conftest.$ac_ext
36661 if test "$am_cv_func_iconv" != yes; then
36662 am_save_LIBS="$LIBS"
36663 LIBS="$LIBS -liconv"
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 #include <stdlib.h>
36671 #include <iconv.h>
36672 int
36673 main ()
36674 {
36675 iconv_t cd = iconv_open("","");
36676 iconv(cd,NULL,NULL,NULL,NULL);
36677 iconv_close(cd);
36678 ;
36679 return 0;
36680 }
36681 _ACEOF
36682 rm -f conftest.$ac_objext conftest$ac_exeext
36683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36684 (eval $ac_link) 2>conftest.er1
36685 ac_status=$?
36686 grep -v '^ *+' conftest.er1 >conftest.err
36687 rm -f conftest.er1
36688 cat conftest.err >&5
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); } &&
36691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36693 (eval $ac_try) 2>&5
36694 ac_status=$?
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); }; } &&
36697 { ac_try='test -s conftest$ac_exeext'
36698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36699 (eval $ac_try) 2>&5
36700 ac_status=$?
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); }; }; then
36703 am_cv_lib_iconv=yes
36704 am_cv_func_iconv=yes
36705 else
36706 echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.$ac_ext >&5
36708
36709 fi
36710 rm -f conftest.err conftest.$ac_objext \
36711 conftest$ac_exeext conftest.$ac_ext
36712 LIBS="$am_save_LIBS"
36713 fi
36714
36715 fi
36716 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36717 echo "${ECHO_T}$am_cv_func_iconv" >&6
36718 if test "$am_cv_func_iconv" = yes; then
36719
36720 cat >>confdefs.h <<\_ACEOF
36721 #define HAVE_ICONV 1
36722 _ACEOF
36723
36724 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36725 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36726 if test "${wx_cv_func_iconv_const+set}" = set; then
36727 echo $ECHO_N "(cached) $ECHO_C" >&6
36728 else
36729 cat >conftest.$ac_ext <<_ACEOF
36730 /* confdefs.h. */
36731 _ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36735
36736 #include <stdlib.h>
36737 #include <iconv.h>
36738 extern
36739 #ifdef __cplusplus
36740 "C"
36741 #endif
36742 #if defined(__STDC__) || defined(__cplusplus)
36743 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36744 #else
36745 size_t iconv();
36746 #endif
36747
36748 int
36749 main ()
36750 {
36751
36752 ;
36753 return 0;
36754 }
36755 _ACEOF
36756 rm -f conftest.$ac_objext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36758 (eval $ac_compile) 2>conftest.er1
36759 ac_status=$?
36760 grep -v '^ *+' conftest.er1 >conftest.err
36761 rm -f conftest.er1
36762 cat conftest.err >&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36768 ac_status=$?
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; } &&
36771 { ac_try='test -s conftest.$ac_objext'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36774 ac_status=$?
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; }; then
36777 wx_cv_func_iconv_const="no"
36778 else
36779 echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.$ac_ext >&5
36781
36782 wx_cv_func_iconv_const="yes"
36783
36784 fi
36785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36786
36787 fi
36788 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36789 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36790
36791 iconv_const=
36792 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36793 iconv_const="const"
36794 fi
36795
36796
36797 cat >>confdefs.h <<_ACEOF
36798 #define ICONV_CONST $iconv_const
36799 _ACEOF
36800
36801 fi
36802 LIBICONV=
36803 if test "$am_cv_lib_iconv" = yes; then
36804 LIBICONV="-liconv"
36805 fi
36806
36807
36808 LIBS="$LIBICONV $LIBS"
36809
36810 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36811
36812 for ac_func in sigaction
36813 do
36814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36815 echo "$as_me:$LINENO: checking for $ac_func" >&5
36816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36817 if eval "test \"\${$as_ac_var+set}\" = set"; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36819 else
36820 cat >conftest.$ac_ext <<_ACEOF
36821 /* confdefs.h. */
36822 _ACEOF
36823 cat confdefs.h >>conftest.$ac_ext
36824 cat >>conftest.$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36828 #define $ac_func innocuous_$ac_func
36829
36830 /* System header to define __stub macros and hopefully few prototypes,
36831 which can conflict with char $ac_func (); below.
36832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36833 <limits.h> exists even on freestanding compilers. */
36834
36835 #ifdef __STDC__
36836 # include <limits.h>
36837 #else
36838 # include <assert.h>
36839 #endif
36840
36841 #undef $ac_func
36842
36843 /* Override any gcc2 internal prototype to avoid an error. */
36844 #ifdef __cplusplus
36845 extern "C"
36846 {
36847 #endif
36848 /* We use char because int might match the return type of a gcc2
36849 builtin and then its argument prototype would still apply. */
36850 char $ac_func ();
36851 /* The GNU C library defines this for functions which it implements
36852 to always fail with ENOSYS. Some functions are actually named
36853 something starting with __ and the normal name is an alias. */
36854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36855 choke me
36856 #else
36857 char (*f) () = $ac_func;
36858 #endif
36859 #ifdef __cplusplus
36860 }
36861 #endif
36862
36863 int
36864 main ()
36865 {
36866 return f != $ac_func;
36867 ;
36868 return 0;
36869 }
36870 _ACEOF
36871 rm -f conftest.$ac_objext conftest$ac_exeext
36872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36873 (eval $ac_link) 2>conftest.er1
36874 ac_status=$?
36875 grep -v '^ *+' conftest.er1 >conftest.err
36876 rm -f conftest.er1
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } &&
36880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36883 ac_status=$?
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; } &&
36886 { ac_try='test -s conftest$ac_exeext'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36889 ac_status=$?
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; }; then
36892 eval "$as_ac_var=yes"
36893 else
36894 echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.$ac_ext >&5
36896
36897 eval "$as_ac_var=no"
36898 fi
36899 rm -f conftest.err conftest.$ac_objext \
36900 conftest$ac_exeext conftest.$ac_ext
36901 fi
36902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36904 if test `eval echo '${'$as_ac_var'}'` = yes; then
36905 cat >>confdefs.h <<_ACEOF
36906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36907 _ACEOF
36908
36909 fi
36910 done
36911
36912
36913 if test "$ac_cv_func_sigaction" = "no"; then
36914 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36915 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36916 wxUSE_ON_FATAL_EXCEPTION=no
36917 fi
36918
36919 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36920 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36921 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36922 if test "${wx_cv_type_sa_handler+set}" = set; then
36923 echo $ECHO_N "(cached) $ECHO_C" >&6
36924 else
36925
36926 cat >conftest.$ac_ext <<_ACEOF
36927 /* confdefs.h. */
36928 _ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36932 #include <signal.h>
36933 int
36934 main ()
36935 {
36936
36937 extern void testSigHandler(int);
36938
36939 struct sigaction sa;
36940 sa.sa_handler = testSigHandler;
36941
36942 ;
36943 return 0;
36944 }
36945 _ACEOF
36946 rm -f conftest.$ac_objext
36947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36948 (eval $ac_compile) 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } &&
36955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 (eval $ac_try) 2>&5
36958 ac_status=$?
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); }; } &&
36961 { ac_try='test -s conftest.$ac_objext'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36964 ac_status=$?
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; }; then
36967
36968 wx_cv_type_sa_handler=int
36969
36970 else
36971 echo "$as_me: failed program was:" >&5
36972 sed 's/^/| /' conftest.$ac_ext >&5
36973
36974
36975 wx_cv_type_sa_handler=void
36976
36977 fi
36978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36979
36980 fi
36981 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36982 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36983
36984 cat >>confdefs.h <<_ACEOF
36985 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36986 _ACEOF
36987
36988 fi
36989 fi
36990
36991 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36992 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36993 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36994 if test "${wx_cv_func_backtrace+set}" = set; then
36995 echo $ECHO_N "(cached) $ECHO_C" >&6
36996 else
36997
36998 cat >conftest.$ac_ext <<_ACEOF
36999 /* confdefs.h. */
37000 _ACEOF
37001 cat confdefs.h >>conftest.$ac_ext
37002 cat >>conftest.$ac_ext <<_ACEOF
37003 /* end confdefs.h. */
37004 #include <execinfo.h>
37005 int
37006 main ()
37007 {
37008
37009 void *trace[1];
37010 char **messages;
37011
37012 backtrace(trace, 1);
37013 messages = backtrace_symbols(trace, 1);
37014
37015 ;
37016 return 0;
37017 }
37018 _ACEOF
37019 rm -f conftest.$ac_objext
37020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37021 (eval $ac_compile) 2>conftest.er1
37022 ac_status=$?
37023 grep -v '^ *+' conftest.er1 >conftest.err
37024 rm -f conftest.er1
37025 cat conftest.err >&5
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); } &&
37028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37030 (eval $ac_try) 2>&5
37031 ac_status=$?
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); }; } &&
37034 { ac_try='test -s conftest.$ac_objext'
37035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036 (eval $ac_try) 2>&5
37037 ac_status=$?
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); }; }; then
37040 wx_cv_func_backtrace=yes
37041 else
37042 echo "$as_me: failed program was:" >&5
37043 sed 's/^/| /' conftest.$ac_ext >&5
37044
37045 wx_cv_func_backtrace=no
37046
37047 fi
37048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37049
37050
37051 fi
37052 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37053 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37054
37055
37056 if test "$wx_cv_func_backtrace" = "no"; then
37057 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37058 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37059 wxUSE_STACKWALKER=no
37060 else
37061 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37062 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37063 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37065 else
37066
37067 cat >conftest.$ac_ext <<_ACEOF
37068 /* confdefs.h. */
37069 _ACEOF
37070 cat confdefs.h >>conftest.$ac_ext
37071 cat >>conftest.$ac_ext <<_ACEOF
37072 /* end confdefs.h. */
37073 #include <cxxabi.h>
37074 int
37075 main ()
37076 {
37077
37078 int rc;
37079 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37080
37081 ;
37082 return 0;
37083 }
37084 _ACEOF
37085 rm -f conftest.$ac_objext conftest$ac_exeext
37086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37087 (eval $ac_link) 2>conftest.er1
37088 ac_status=$?
37089 grep -v '^ *+' conftest.er1 >conftest.err
37090 rm -f conftest.er1
37091 cat conftest.err >&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); } &&
37094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37096 (eval $ac_try) 2>&5
37097 ac_status=$?
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); }; } &&
37100 { ac_try='test -s conftest$ac_exeext'
37101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102 (eval $ac_try) 2>&5
37103 ac_status=$?
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); }; }; then
37106 wx_cv_func_cxa_demangle=yes
37107 else
37108 echo "$as_me: failed program was:" >&5
37109 sed 's/^/| /' conftest.$ac_ext >&5
37110
37111 wx_cv_func_cxa_demangle=no
37112
37113 fi
37114 rm -f conftest.err conftest.$ac_objext \
37115 conftest$ac_exeext conftest.$ac_ext
37116
37117
37118 fi
37119 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37120 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37121
37122 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37123 cat >>confdefs.h <<\_ACEOF
37124 #define HAVE_CXA_DEMANGLE 1
37125 _ACEOF
37126
37127 fi
37128 fi
37129 fi
37130
37131 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37132 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37133 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37134 wxUSE_STACKWALKER=no
37135 fi
37136
37137
37138
37139
37140 for ac_func in mkstemp mktemp
37141 do
37142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37143 echo "$as_me:$LINENO: checking for $ac_func" >&5
37144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37145 if eval "test \"\${$as_ac_var+set}\" = set"; then
37146 echo $ECHO_N "(cached) $ECHO_C" >&6
37147 else
37148 cat >conftest.$ac_ext <<_ACEOF
37149 /* confdefs.h. */
37150 _ACEOF
37151 cat confdefs.h >>conftest.$ac_ext
37152 cat >>conftest.$ac_ext <<_ACEOF
37153 /* end confdefs.h. */
37154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37156 #define $ac_func innocuous_$ac_func
37157
37158 /* System header to define __stub macros and hopefully few prototypes,
37159 which can conflict with char $ac_func (); below.
37160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37161 <limits.h> exists even on freestanding compilers. */
37162
37163 #ifdef __STDC__
37164 # include <limits.h>
37165 #else
37166 # include <assert.h>
37167 #endif
37168
37169 #undef $ac_func
37170
37171 /* Override any gcc2 internal prototype to avoid an error. */
37172 #ifdef __cplusplus
37173 extern "C"
37174 {
37175 #endif
37176 /* We use char because int might match the return type of a gcc2
37177 builtin and then its argument prototype would still apply. */
37178 char $ac_func ();
37179 /* The GNU C library defines this for functions which it implements
37180 to always fail with ENOSYS. Some functions are actually named
37181 something starting with __ and the normal name is an alias. */
37182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37183 choke me
37184 #else
37185 char (*f) () = $ac_func;
37186 #endif
37187 #ifdef __cplusplus
37188 }
37189 #endif
37190
37191 int
37192 main ()
37193 {
37194 return f != $ac_func;
37195 ;
37196 return 0;
37197 }
37198 _ACEOF
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37201 (eval $ac_link) 2>conftest.er1
37202 ac_status=$?
37203 grep -v '^ *+' conftest.er1 >conftest.err
37204 rm -f conftest.er1
37205 cat conftest.err >&5
37206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37207 (exit $ac_status); } &&
37208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37210 (eval $ac_try) 2>&5
37211 ac_status=$?
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); }; } &&
37214 { ac_try='test -s conftest$ac_exeext'
37215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37216 (eval $ac_try) 2>&5
37217 ac_status=$?
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); }; }; then
37220 eval "$as_ac_var=yes"
37221 else
37222 echo "$as_me: failed program was:" >&5
37223 sed 's/^/| /' conftest.$ac_ext >&5
37224
37225 eval "$as_ac_var=no"
37226 fi
37227 rm -f conftest.err conftest.$ac_objext \
37228 conftest$ac_exeext conftest.$ac_ext
37229 fi
37230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37232 if test `eval echo '${'$as_ac_var'}'` = yes; then
37233 cat >>confdefs.h <<_ACEOF
37234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37235 _ACEOF
37236 break
37237 fi
37238 done
37239
37240
37241 echo "$as_me:$LINENO: checking for statfs" >&5
37242 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37243 if test "${wx_cv_func_statfs+set}" = set; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 else
37246 cat >conftest.$ac_ext <<_ACEOF
37247 /* confdefs.h. */
37248 _ACEOF
37249 cat confdefs.h >>conftest.$ac_ext
37250 cat >>conftest.$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37252
37253 #if defined(__BSD__)
37254 #include <sys/param.h>
37255 #include <sys/mount.h>
37256 #else
37257 #include <sys/vfs.h>
37258 #endif
37259
37260 int
37261 main ()
37262 {
37263
37264 long l;
37265 struct statfs fs;
37266 statfs("/", &fs);
37267 l = fs.f_bsize;
37268 l += fs.f_blocks;
37269 l += fs.f_bavail;
37270
37271 ;
37272 return 0;
37273 }
37274 _ACEOF
37275 rm -f conftest.$ac_objext
37276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37277 (eval $ac_compile) 2>conftest.er1
37278 ac_status=$?
37279 grep -v '^ *+' conftest.er1 >conftest.err
37280 rm -f conftest.er1
37281 cat conftest.err >&5
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); } &&
37284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37286 (eval $ac_try) 2>&5
37287 ac_status=$?
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); }; } &&
37290 { ac_try='test -s conftest.$ac_objext'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37293 ac_status=$?
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; }; then
37296 wx_cv_func_statfs=yes
37297 else
37298 echo "$as_me: failed program was:" >&5
37299 sed 's/^/| /' conftest.$ac_ext >&5
37300
37301 wx_cv_func_statfs=no
37302
37303 fi
37304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37305
37306 fi
37307 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37308 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37309
37310 if test "$wx_cv_func_statfs" = "yes"; then
37311 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37312 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37313 if test "${wx_cv_func_statfs_decl+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 cat >conftest.$ac_ext <<_ACEOF
37317 /* confdefs.h. */
37318 _ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37322
37323 #if defined(__BSD__)
37324 #include <sys/param.h>
37325 #include <sys/mount.h>
37326 #else
37327 #include <sys/vfs.h>
37328 #endif
37329
37330 int
37331 main ()
37332 {
37333
37334 struct statfs fs;
37335 statfs("", &fs);
37336
37337 ;
37338 return 0;
37339 }
37340 _ACEOF
37341 rm -f conftest.$ac_objext
37342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37343 (eval $ac_compile) 2>conftest.er1
37344 ac_status=$?
37345 grep -v '^ *+' conftest.er1 >conftest.err
37346 rm -f conftest.er1
37347 cat conftest.err >&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } &&
37350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37353 ac_status=$?
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; } &&
37356 { ac_try='test -s conftest.$ac_objext'
37357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37358 (eval $ac_try) 2>&5
37359 ac_status=$?
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); }; }; then
37362 wx_cv_func_statfs_decl=yes
37363 else
37364 echo "$as_me: failed program was:" >&5
37365 sed 's/^/| /' conftest.$ac_ext >&5
37366
37367 wx_cv_func_statfs_decl=no
37368
37369 fi
37370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37371
37372 fi
37373 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37374 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37375
37376 if test "$wx_cv_func_statfs_decl" = "yes"; then
37377 cat >>confdefs.h <<\_ACEOF
37378 #define HAVE_STATFS_DECL 1
37379 _ACEOF
37380
37381 fi
37382
37383 wx_cv_type_statvfs_t="struct statfs"
37384 cat >>confdefs.h <<\_ACEOF
37385 #define HAVE_STATFS 1
37386 _ACEOF
37387
37388 else
37389 echo "$as_me:$LINENO: checking for statvfs" >&5
37390 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37391 if test "${wx_cv_func_statvfs+set}" = set; then
37392 echo $ECHO_N "(cached) $ECHO_C" >&6
37393 else
37394 cat >conftest.$ac_ext <<_ACEOF
37395 /* confdefs.h. */
37396 _ACEOF
37397 cat confdefs.h >>conftest.$ac_ext
37398 cat >>conftest.$ac_ext <<_ACEOF
37399 /* end confdefs.h. */
37400
37401 #include <stddef.h>
37402 #include <sys/statvfs.h>
37403
37404 int
37405 main ()
37406 {
37407
37408 statvfs("/", NULL);
37409
37410 ;
37411 return 0;
37412 }
37413 _ACEOF
37414 rm -f conftest.$ac_objext
37415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37416 (eval $ac_compile) 2>conftest.er1
37417 ac_status=$?
37418 grep -v '^ *+' conftest.er1 >conftest.err
37419 rm -f conftest.er1
37420 cat conftest.err >&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); } &&
37423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37425 (eval $ac_try) 2>&5
37426 ac_status=$?
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); }; } &&
37429 { ac_try='test -s conftest.$ac_objext'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37432 ac_status=$?
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; }; then
37435 wx_cv_func_statvfs=yes
37436 else
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.$ac_ext >&5
37439
37440 wx_cv_func_statvfs=no
37441
37442 fi
37443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37444
37445 fi
37446 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37447 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37448
37449 if test "$wx_cv_func_statvfs" = "yes"; then
37450 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37451 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37452 if test "${wx_cv_type_statvfs_t+set}" = set; then
37453 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 else
37455 cat >conftest.$ac_ext <<_ACEOF
37456 /* confdefs.h. */
37457 _ACEOF
37458 cat confdefs.h >>conftest.$ac_ext
37459 cat >>conftest.$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461
37462 #include <sys/statvfs.h>
37463
37464 int
37465 main ()
37466 {
37467
37468 long l;
37469 statvfs_t fs;
37470 statvfs("/", &fs);
37471 l = fs.f_bsize;
37472 l += fs.f_blocks;
37473 l += fs.f_bavail;
37474
37475 ;
37476 return 0;
37477 }
37478 _ACEOF
37479 rm -f conftest.$ac_objext
37480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37481 (eval $ac_compile) 2>conftest.er1
37482 ac_status=$?
37483 grep -v '^ *+' conftest.er1 >conftest.err
37484 rm -f conftest.er1
37485 cat conftest.err >&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } &&
37488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37490 (eval $ac_try) 2>&5
37491 ac_status=$?
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); }; } &&
37494 { ac_try='test -s conftest.$ac_objext'
37495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37496 (eval $ac_try) 2>&5
37497 ac_status=$?
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); }; }; then
37500 wx_cv_type_statvfs_t=statvfs_t
37501 else
37502 echo "$as_me: failed program was:" >&5
37503 sed 's/^/| /' conftest.$ac_ext >&5
37504
37505
37506 cat >conftest.$ac_ext <<_ACEOF
37507 /* confdefs.h. */
37508 _ACEOF
37509 cat confdefs.h >>conftest.$ac_ext
37510 cat >>conftest.$ac_ext <<_ACEOF
37511 /* end confdefs.h. */
37512
37513 #include <sys/statvfs.h>
37514
37515 int
37516 main ()
37517 {
37518
37519 long l;
37520 struct statvfs fs;
37521 statvfs("/", &fs);
37522 l = fs.f_bsize;
37523 l += fs.f_blocks;
37524 l += fs.f_bavail;
37525
37526 ;
37527 return 0;
37528 }
37529 _ACEOF
37530 rm -f conftest.$ac_objext
37531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37532 (eval $ac_compile) 2>conftest.er1
37533 ac_status=$?
37534 grep -v '^ *+' conftest.er1 >conftest.err
37535 rm -f conftest.er1
37536 cat conftest.err >&5
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); } &&
37539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37541 (eval $ac_try) 2>&5
37542 ac_status=$?
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); }; } &&
37545 { ac_try='test -s conftest.$ac_objext'
37546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37547 (eval $ac_try) 2>&5
37548 ac_status=$?
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); }; }; then
37551 wx_cv_type_statvfs_t="struct statvfs"
37552 else
37553 echo "$as_me: failed program was:" >&5
37554 sed 's/^/| /' conftest.$ac_ext >&5
37555
37556 wx_cv_type_statvfs_t="unknown"
37557
37558 fi
37559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37560
37561
37562 fi
37563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37564
37565 fi
37566 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37567 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37568
37569 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37570 cat >>confdefs.h <<\_ACEOF
37571 #define HAVE_STATVFS 1
37572 _ACEOF
37573
37574 fi
37575 else
37576 wx_cv_type_statvfs_t="unknown"
37577 fi
37578 fi
37579
37580 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37581 cat >>confdefs.h <<_ACEOF
37582 #define WX_STATFS_T $wx_cv_type_statvfs_t
37583 _ACEOF
37584
37585 else
37586 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37587 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37588 fi
37589
37590 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37591
37592
37593 for ac_func in fcntl flock
37594 do
37595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 else
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37610
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37615
37616 #ifdef __STDC__
37617 # include <limits.h>
37618 #else
37619 # include <assert.h>
37620 #endif
37621
37622 #undef $ac_func
37623
37624 /* Override any gcc2 internal prototype to avoid an error. */
37625 #ifdef __cplusplus
37626 extern "C"
37627 {
37628 #endif
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37631 char $ac_func ();
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37636 choke me
37637 #else
37638 char (*f) () = $ac_func;
37639 #endif
37640 #ifdef __cplusplus
37641 }
37642 #endif
37643
37644 int
37645 main ()
37646 {
37647 return f != $ac_func;
37648 ;
37649 return 0;
37650 }
37651 _ACEOF
37652 rm -f conftest.$ac_objext conftest$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37664 ac_status=$?
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; } &&
37667 { ac_try='test -s conftest$ac_exeext'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37670 ac_status=$?
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; }; then
37673 eval "$as_ac_var=yes"
37674 else
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.$ac_ext >&5
37677
37678 eval "$as_ac_var=no"
37679 fi
37680 rm -f conftest.err conftest.$ac_objext \
37681 conftest$ac_exeext conftest.$ac_ext
37682 fi
37683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37685 if test `eval echo '${'$as_ac_var'}'` = yes; then
37686 cat >>confdefs.h <<_ACEOF
37687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37688 _ACEOF
37689 break
37690 fi
37691 done
37692
37693
37694 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37695 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37696 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37697 wxUSE_SNGLINST_CHECKER=no
37698 fi
37699 fi
37700
37701
37702 for ac_func in timegm
37703 do
37704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37705 echo "$as_me:$LINENO: checking for $ac_func" >&5
37706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37707 if eval "test \"\${$as_ac_var+set}\" = set"; then
37708 echo $ECHO_N "(cached) $ECHO_C" >&6
37709 else
37710 cat >conftest.$ac_ext <<_ACEOF
37711 /* confdefs.h. */
37712 _ACEOF
37713 cat confdefs.h >>conftest.$ac_ext
37714 cat >>conftest.$ac_ext <<_ACEOF
37715 /* end confdefs.h. */
37716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37718 #define $ac_func innocuous_$ac_func
37719
37720 /* System header to define __stub macros and hopefully few prototypes,
37721 which can conflict with char $ac_func (); below.
37722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37723 <limits.h> exists even on freestanding compilers. */
37724
37725 #ifdef __STDC__
37726 # include <limits.h>
37727 #else
37728 # include <assert.h>
37729 #endif
37730
37731 #undef $ac_func
37732
37733 /* Override any gcc2 internal prototype to avoid an error. */
37734 #ifdef __cplusplus
37735 extern "C"
37736 {
37737 #endif
37738 /* We use char because int might match the return type of a gcc2
37739 builtin and then its argument prototype would still apply. */
37740 char $ac_func ();
37741 /* The GNU C library defines this for functions which it implements
37742 to always fail with ENOSYS. Some functions are actually named
37743 something starting with __ and the normal name is an alias. */
37744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37745 choke me
37746 #else
37747 char (*f) () = $ac_func;
37748 #endif
37749 #ifdef __cplusplus
37750 }
37751 #endif
37752
37753 int
37754 main ()
37755 {
37756 return f != $ac_func;
37757 ;
37758 return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext conftest$ac_exeext
37762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37763 (eval $ac_link) 2>conftest.er1
37764 ac_status=$?
37765 grep -v '^ *+' conftest.er1 >conftest.err
37766 rm -f conftest.er1
37767 cat conftest.err >&5
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); } &&
37770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37772 (eval $ac_try) 2>&5
37773 ac_status=$?
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); }; } &&
37776 { ac_try='test -s conftest$ac_exeext'
37777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778 (eval $ac_try) 2>&5
37779 ac_status=$?
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; }; then
37782 eval "$as_ac_var=yes"
37783 else
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.$ac_ext >&5
37786
37787 eval "$as_ac_var=no"
37788 fi
37789 rm -f conftest.err conftest.$ac_objext \
37790 conftest$ac_exeext conftest.$ac_ext
37791 fi
37792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37794 if test `eval echo '${'$as_ac_var'}'` = yes; then
37795 cat >>confdefs.h <<_ACEOF
37796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37797 _ACEOF
37798
37799 fi
37800 done
37801
37802
37803
37804
37805 for ac_func in putenv setenv
37806 do
37807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37808 echo "$as_me:$LINENO: checking for $ac_func" >&5
37809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37810 if eval "test \"\${$as_ac_var+set}\" = set"; then
37811 echo $ECHO_N "(cached) $ECHO_C" >&6
37812 else
37813 cat >conftest.$ac_ext <<_ACEOF
37814 /* confdefs.h. */
37815 _ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37821 #define $ac_func innocuous_$ac_func
37822
37823 /* System header to define __stub macros and hopefully few prototypes,
37824 which can conflict with char $ac_func (); below.
37825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37826 <limits.h> exists even on freestanding compilers. */
37827
37828 #ifdef __STDC__
37829 # include <limits.h>
37830 #else
37831 # include <assert.h>
37832 #endif
37833
37834 #undef $ac_func
37835
37836 /* Override any gcc2 internal prototype to avoid an error. */
37837 #ifdef __cplusplus
37838 extern "C"
37839 {
37840 #endif
37841 /* We use char because int might match the return type of a gcc2
37842 builtin and then its argument prototype would still apply. */
37843 char $ac_func ();
37844 /* The GNU C library defines this for functions which it implements
37845 to always fail with ENOSYS. Some functions are actually named
37846 something starting with __ and the normal name is an alias. */
37847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37848 choke me
37849 #else
37850 char (*f) () = $ac_func;
37851 #endif
37852 #ifdef __cplusplus
37853 }
37854 #endif
37855
37856 int
37857 main ()
37858 {
37859 return f != $ac_func;
37860 ;
37861 return 0;
37862 }
37863 _ACEOF
37864 rm -f conftest.$ac_objext conftest$ac_exeext
37865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37866 (eval $ac_link) 2>conftest.er1
37867 ac_status=$?
37868 grep -v '^ *+' conftest.er1 >conftest.err
37869 rm -f conftest.er1
37870 cat conftest.err >&5
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); } &&
37873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875 (eval $ac_try) 2>&5
37876 ac_status=$?
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); }; } &&
37879 { ac_try='test -s conftest$ac_exeext'
37880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37881 (eval $ac_try) 2>&5
37882 ac_status=$?
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); }; }; then
37885 eval "$as_ac_var=yes"
37886 else
37887 echo "$as_me: failed program was:" >&5
37888 sed 's/^/| /' conftest.$ac_ext >&5
37889
37890 eval "$as_ac_var=no"
37891 fi
37892 rm -f conftest.err conftest.$ac_objext \
37893 conftest$ac_exeext conftest.$ac_ext
37894 fi
37895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37897 if test `eval echo '${'$as_ac_var'}'` = yes; then
37898 cat >>confdefs.h <<_ACEOF
37899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37900 _ACEOF
37901 break
37902 fi
37903 done
37904
37905
37906 HAVE_SOME_SLEEP_FUNC=0
37907 if test "$USE_BEOS" = 1; then
37908 cat >>confdefs.h <<\_ACEOF
37909 #define HAVE_SLEEP 1
37910 _ACEOF
37911
37912 HAVE_SOME_SLEEP_FUNC=1
37913 fi
37914
37915 if test "$USE_DARWIN" = 1; then
37916 cat >>confdefs.h <<\_ACEOF
37917 #define HAVE_USLEEP 1
37918 _ACEOF
37919
37920 HAVE_SOME_SLEEP_FUNC=1
37921 fi
37922
37923 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37924 POSIX4_LINK=
37925
37926 for ac_func in nanosleep
37927 do
37928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37929 echo "$as_me:$LINENO: checking for $ac_func" >&5
37930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37931 if eval "test \"\${$as_ac_var+set}\" = set"; then
37932 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 else
37934 cat >conftest.$ac_ext <<_ACEOF
37935 /* confdefs.h. */
37936 _ACEOF
37937 cat confdefs.h >>conftest.$ac_ext
37938 cat >>conftest.$ac_ext <<_ACEOF
37939 /* end confdefs.h. */
37940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37942 #define $ac_func innocuous_$ac_func
37943
37944 /* System header to define __stub macros and hopefully few prototypes,
37945 which can conflict with char $ac_func (); below.
37946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37947 <limits.h> exists even on freestanding compilers. */
37948
37949 #ifdef __STDC__
37950 # include <limits.h>
37951 #else
37952 # include <assert.h>
37953 #endif
37954
37955 #undef $ac_func
37956
37957 /* Override any gcc2 internal prototype to avoid an error. */
37958 #ifdef __cplusplus
37959 extern "C"
37960 {
37961 #endif
37962 /* We use char because int might match the return type of a gcc2
37963 builtin and then its argument prototype would still apply. */
37964 char $ac_func ();
37965 /* The GNU C library defines this for functions which it implements
37966 to always fail with ENOSYS. Some functions are actually named
37967 something starting with __ and the normal name is an alias. */
37968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37969 choke me
37970 #else
37971 char (*f) () = $ac_func;
37972 #endif
37973 #ifdef __cplusplus
37974 }
37975 #endif
37976
37977 int
37978 main ()
37979 {
37980 return f != $ac_func;
37981 ;
37982 return 0;
37983 }
37984 _ACEOF
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37987 (eval $ac_link) 2>conftest.er1
37988 ac_status=$?
37989 grep -v '^ *+' conftest.er1 >conftest.err
37990 rm -f conftest.er1
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } &&
37994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37997 ac_status=$?
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; } &&
38000 { ac_try='test -s conftest$ac_exeext'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38003 ac_status=$?
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 eval "$as_ac_var=yes"
38007 else
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38010
38011 eval "$as_ac_var=no"
38012 fi
38013 rm -f conftest.err conftest.$ac_objext \
38014 conftest$ac_exeext conftest.$ac_ext
38015 fi
38016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38018 if test `eval echo '${'$as_ac_var'}'` = yes; then
38019 cat >>confdefs.h <<_ACEOF
38020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38021 _ACEOF
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE_NANOSLEEP 1
38024 _ACEOF
38025
38026 else
38027
38028 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38029 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38030 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
38033 ac_check_lib_save_LIBS=$LIBS
38034 LIBS="-lposix4 $LIBS"
38035 cat >conftest.$ac_ext <<_ACEOF
38036 /* confdefs.h. */
38037 _ACEOF
38038 cat confdefs.h >>conftest.$ac_ext
38039 cat >>conftest.$ac_ext <<_ACEOF
38040 /* end confdefs.h. */
38041
38042 /* Override any gcc2 internal prototype to avoid an error. */
38043 #ifdef __cplusplus
38044 extern "C"
38045 #endif
38046 /* We use char because int might match the return type of a gcc2
38047 builtin and then its argument prototype would still apply. */
38048 char nanosleep ();
38049 int
38050 main ()
38051 {
38052 nanosleep ();
38053 ;
38054 return 0;
38055 }
38056 _ACEOF
38057 rm -f conftest.$ac_objext conftest$ac_exeext
38058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38059 (eval $ac_link) 2>conftest.er1
38060 ac_status=$?
38061 grep -v '^ *+' conftest.er1 >conftest.err
38062 rm -f conftest.er1
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } &&
38066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38068 (eval $ac_try) 2>&5
38069 ac_status=$?
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); }; } &&
38072 { ac_try='test -s conftest$ac_exeext'
38073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38074 (eval $ac_try) 2>&5
38075 ac_status=$?
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); }; }; then
38078 ac_cv_lib_posix4_nanosleep=yes
38079 else
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38082
38083 ac_cv_lib_posix4_nanosleep=no
38084 fi
38085 rm -f conftest.err conftest.$ac_objext \
38086 conftest$ac_exeext conftest.$ac_ext
38087 LIBS=$ac_check_lib_save_LIBS
38088 fi
38089 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38090 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38091 if test $ac_cv_lib_posix4_nanosleep = yes; then
38092
38093 cat >>confdefs.h <<\_ACEOF
38094 #define HAVE_NANOSLEEP 1
38095 _ACEOF
38096
38097 POSIX4_LINK=" -lposix4"
38098
38099 else
38100
38101
38102 for wx_func in usleep
38103 do
38104 echo "$as_me:$LINENO: checking for $wx_func" >&5
38105 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38106 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 else
38109
38110 cat >conftest.$ac_ext <<_ACEOF
38111
38112 /* confdefs.h. */
38113 _ACEOF
38114 cat confdefs.h >>conftest.$ac_ext
38115 cat >>conftest.$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38117
38118
38119 $ac_includes_default
38120
38121 int
38122 main ()
38123 {
38124
38125 #ifndef $wx_func
38126 &$wx_func;
38127 #endif
38128
38129
38130 ;
38131 return 0;
38132 }
38133
38134 _ACEOF
38135 rm -f conftest.$ac_objext conftest$ac_exeext
38136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38137 (eval $ac_link) 2>conftest.er1
38138 ac_status=$?
38139 grep -v '^ *+' conftest.er1 >conftest.err
38140 rm -f conftest.er1
38141 cat conftest.err >&5
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); } &&
38144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146 (eval $ac_try) 2>&5
38147 ac_status=$?
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); }; } &&
38150 { ac_try='test -s conftest$ac_exeext'
38151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152 (eval $ac_try) 2>&5
38153 ac_status=$?
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); }; }; then
38156 eval wx_cv_func_$wx_func=yes
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161 eval wx_cv_func_$wx_func=no
38162 fi
38163 rm -f conftest.err conftest.$ac_objext \
38164 conftest$ac_exeext conftest.$ac_ext
38165
38166 fi
38167 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38168 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38169
38170 if eval test \$wx_cv_func_$wx_func = yes
38171 then
38172 cat >>confdefs.h <<_ACEOF
38173 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38174 _ACEOF
38175
38176
38177 else
38178 :
38179 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38180 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38181
38182 fi
38183 done
38184
38185
38186
38187 fi
38188
38189
38190
38191 fi
38192 done
38193
38194 fi
38195
38196
38197 for wx_func in uname gethostname
38198 do
38199 echo "$as_me:$LINENO: checking for $wx_func" >&5
38200 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38201 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 else
38204
38205 cat >conftest.$ac_ext <<_ACEOF
38206
38207 /* confdefs.h. */
38208 _ACEOF
38209 cat confdefs.h >>conftest.$ac_ext
38210 cat >>conftest.$ac_ext <<_ACEOF
38211 /* end confdefs.h. */
38212
38213
38214 $ac_includes_default
38215
38216 int
38217 main ()
38218 {
38219
38220 #ifndef $wx_func
38221 &$wx_func;
38222 #endif
38223
38224
38225 ;
38226 return 0;
38227 }
38228
38229 _ACEOF
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38242 ac_status=$?
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try='test -s conftest$ac_exeext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38248 ac_status=$?
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 eval wx_cv_func_$wx_func=yes
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 eval wx_cv_func_$wx_func=no
38257 fi
38258 rm -f conftest.err conftest.$ac_objext \
38259 conftest$ac_exeext conftest.$ac_ext
38260
38261 fi
38262 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38264
38265 if eval test \$wx_cv_func_$wx_func = yes
38266 then
38267 cat >>confdefs.h <<_ACEOF
38268 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38269 _ACEOF
38270
38271 break
38272 else
38273 :
38274
38275 fi
38276 done
38277
38278
38279
38280 for wx_func in strtok_r
38281 do
38282 echo "$as_me:$LINENO: checking for $wx_func" >&5
38283 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38284 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38285 echo $ECHO_N "(cached) $ECHO_C" >&6
38286 else
38287
38288 cat >conftest.$ac_ext <<_ACEOF
38289
38290 /* confdefs.h. */
38291 _ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38295
38296 #define _REENTRANT
38297 $ac_includes_default
38298
38299 int
38300 main ()
38301 {
38302
38303 #ifndef $wx_func
38304 &$wx_func;
38305 #endif
38306
38307
38308 ;
38309 return 0;
38310 }
38311
38312 _ACEOF
38313 rm -f conftest.$ac_objext conftest$ac_exeext
38314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38315 (eval $ac_link) 2>conftest.er1
38316 ac_status=$?
38317 grep -v '^ *+' conftest.er1 >conftest.err
38318 rm -f conftest.er1
38319 cat conftest.err >&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); } &&
38322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38325 ac_status=$?
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; } &&
38328 { ac_try='test -s conftest$ac_exeext'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38331 ac_status=$?
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; }; then
38334 eval wx_cv_func_$wx_func=yes
38335 else
38336 echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.$ac_ext >&5
38338
38339 eval wx_cv_func_$wx_func=no
38340 fi
38341 rm -f conftest.err conftest.$ac_objext \
38342 conftest$ac_exeext conftest.$ac_ext
38343
38344 fi
38345 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38346 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38347
38348 if eval test \$wx_cv_func_$wx_func = yes
38349 then
38350 cat >>confdefs.h <<_ACEOF
38351 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38352 _ACEOF
38353
38354
38355 else
38356 :
38357
38358 fi
38359 done
38360
38361
38362 INET_LINK=
38363
38364 for ac_func in inet_addr
38365 do
38366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38367 echo "$as_me:$LINENO: checking for $ac_func" >&5
38368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38369 if eval "test \"\${$as_ac_var+set}\" = set"; then
38370 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 else
38372 cat >conftest.$ac_ext <<_ACEOF
38373 /* confdefs.h. */
38374 _ACEOF
38375 cat confdefs.h >>conftest.$ac_ext
38376 cat >>conftest.$ac_ext <<_ACEOF
38377 /* end confdefs.h. */
38378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38380 #define $ac_func innocuous_$ac_func
38381
38382 /* System header to define __stub macros and hopefully few prototypes,
38383 which can conflict with char $ac_func (); below.
38384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38385 <limits.h> exists even on freestanding compilers. */
38386
38387 #ifdef __STDC__
38388 # include <limits.h>
38389 #else
38390 # include <assert.h>
38391 #endif
38392
38393 #undef $ac_func
38394
38395 /* Override any gcc2 internal prototype to avoid an error. */
38396 #ifdef __cplusplus
38397 extern "C"
38398 {
38399 #endif
38400 /* We use char because int might match the return type of a gcc2
38401 builtin and then its argument prototype would still apply. */
38402 char $ac_func ();
38403 /* The GNU C library defines this for functions which it implements
38404 to always fail with ENOSYS. Some functions are actually named
38405 something starting with __ and the normal name is an alias. */
38406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38407 choke me
38408 #else
38409 char (*f) () = $ac_func;
38410 #endif
38411 #ifdef __cplusplus
38412 }
38413 #endif
38414
38415 int
38416 main ()
38417 {
38418 return f != $ac_func;
38419 ;
38420 return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38425 (eval $ac_link) 2>conftest.er1
38426 ac_status=$?
38427 grep -v '^ *+' conftest.er1 >conftest.err
38428 rm -f conftest.er1
38429 cat conftest.err >&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); } &&
38432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38434 (eval $ac_try) 2>&5
38435 ac_status=$?
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; } &&
38438 { ac_try='test -s conftest$ac_exeext'
38439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38440 (eval $ac_try) 2>&5
38441 ac_status=$?
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); }; }; then
38444 eval "$as_ac_var=yes"
38445 else
38446 echo "$as_me: failed program was:" >&5
38447 sed 's/^/| /' conftest.$ac_ext >&5
38448
38449 eval "$as_ac_var=no"
38450 fi
38451 rm -f conftest.err conftest.$ac_objext \
38452 conftest$ac_exeext conftest.$ac_ext
38453 fi
38454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38456 if test `eval echo '${'$as_ac_var'}'` = yes; then
38457 cat >>confdefs.h <<_ACEOF
38458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38459 _ACEOF
38460 cat >>confdefs.h <<\_ACEOF
38461 #define HAVE_INET_ADDR 1
38462 _ACEOF
38463
38464 else
38465
38466 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38467 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38468 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 else
38471 ac_check_lib_save_LIBS=$LIBS
38472 LIBS="-lnsl $LIBS"
38473 cat >conftest.$ac_ext <<_ACEOF
38474 /* confdefs.h. */
38475 _ACEOF
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38479
38480 /* Override any gcc2 internal prototype to avoid an error. */
38481 #ifdef __cplusplus
38482 extern "C"
38483 #endif
38484 /* We use char because int might match the return type of a gcc2
38485 builtin and then its argument prototype would still apply. */
38486 char inet_addr ();
38487 int
38488 main ()
38489 {
38490 inet_addr ();
38491 ;
38492 return 0;
38493 }
38494 _ACEOF
38495 rm -f conftest.$ac_objext conftest$ac_exeext
38496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38497 (eval $ac_link) 2>conftest.er1
38498 ac_status=$?
38499 grep -v '^ *+' conftest.er1 >conftest.err
38500 rm -f conftest.er1
38501 cat conftest.err >&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); } &&
38504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38506 (eval $ac_try) 2>&5
38507 ac_status=$?
38508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509 (exit $ac_status); }; } &&
38510 { ac_try='test -s conftest$ac_exeext'
38511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38512 (eval $ac_try) 2>&5
38513 ac_status=$?
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); }; }; then
38516 ac_cv_lib_nsl_inet_addr=yes
38517 else
38518 echo "$as_me: failed program was:" >&5
38519 sed 's/^/| /' conftest.$ac_ext >&5
38520
38521 ac_cv_lib_nsl_inet_addr=no
38522 fi
38523 rm -f conftest.err conftest.$ac_objext \
38524 conftest$ac_exeext conftest.$ac_ext
38525 LIBS=$ac_check_lib_save_LIBS
38526 fi
38527 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38528 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38529 if test $ac_cv_lib_nsl_inet_addr = yes; then
38530 INET_LINK="nsl"
38531 else
38532
38533 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38534 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38535 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 else
38538 ac_check_lib_save_LIBS=$LIBS
38539 LIBS="-lresolv $LIBS"
38540 cat >conftest.$ac_ext <<_ACEOF
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546
38547 /* Override any gcc2 internal prototype to avoid an error. */
38548 #ifdef __cplusplus
38549 extern "C"
38550 #endif
38551 /* We use char because int might match the return type of a gcc2
38552 builtin and then its argument prototype would still apply. */
38553 char inet_addr ();
38554 int
38555 main ()
38556 {
38557 inet_addr ();
38558 ;
38559 return 0;
38560 }
38561 _ACEOF
38562 rm -f conftest.$ac_objext conftest$ac_exeext
38563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38564 (eval $ac_link) 2>conftest.er1
38565 ac_status=$?
38566 grep -v '^ *+' conftest.er1 >conftest.err
38567 rm -f conftest.er1
38568 cat conftest.err >&5
38569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570 (exit $ac_status); } &&
38571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38573 (eval $ac_try) 2>&5
38574 ac_status=$?
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); }; } &&
38577 { ac_try='test -s conftest$ac_exeext'
38578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38579 (eval $ac_try) 2>&5
38580 ac_status=$?
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); }; }; then
38583 ac_cv_lib_resolv_inet_addr=yes
38584 else
38585 echo "$as_me: failed program was:" >&5
38586 sed 's/^/| /' conftest.$ac_ext >&5
38587
38588 ac_cv_lib_resolv_inet_addr=no
38589 fi
38590 rm -f conftest.err conftest.$ac_objext \
38591 conftest$ac_exeext conftest.$ac_ext
38592 LIBS=$ac_check_lib_save_LIBS
38593 fi
38594 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38595 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38596 if test $ac_cv_lib_resolv_inet_addr = yes; then
38597 INET_LINK="resolv"
38598 else
38599
38600 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38601 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38602 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38603 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 else
38605 ac_check_lib_save_LIBS=$LIBS
38606 LIBS="-lsocket $LIBS"
38607 cat >conftest.$ac_ext <<_ACEOF
38608 /* confdefs.h. */
38609 _ACEOF
38610 cat confdefs.h >>conftest.$ac_ext
38611 cat >>conftest.$ac_ext <<_ACEOF
38612 /* end confdefs.h. */
38613
38614 /* Override any gcc2 internal prototype to avoid an error. */
38615 #ifdef __cplusplus
38616 extern "C"
38617 #endif
38618 /* We use char because int might match the return type of a gcc2
38619 builtin and then its argument prototype would still apply. */
38620 char inet_addr ();
38621 int
38622 main ()
38623 {
38624 inet_addr ();
38625 ;
38626 return 0;
38627 }
38628 _ACEOF
38629 rm -f conftest.$ac_objext conftest$ac_exeext
38630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38631 (eval $ac_link) 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } &&
38638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38640 (eval $ac_try) 2>&5
38641 ac_status=$?
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); }; } &&
38644 { ac_try='test -s conftest$ac_exeext'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38647 ac_status=$?
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; }; then
38650 ac_cv_lib_socket_inet_addr=yes
38651 else
38652 echo "$as_me: failed program was:" >&5
38653 sed 's/^/| /' conftest.$ac_ext >&5
38654
38655 ac_cv_lib_socket_inet_addr=no
38656 fi
38657 rm -f conftest.err conftest.$ac_objext \
38658 conftest$ac_exeext conftest.$ac_ext
38659 LIBS=$ac_check_lib_save_LIBS
38660 fi
38661 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38662 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38663 if test $ac_cv_lib_socket_inet_addr = yes; then
38664 INET_LINK="socket"
38665
38666 fi
38667
38668
38669
38670 fi
38671
38672
38673
38674 fi
38675
38676
38677
38678 fi
38679 done
38680
38681
38682
38683 for ac_func in inet_aton
38684 do
38685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38686 echo "$as_me:$LINENO: checking for $ac_func" >&5
38687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38688 if eval "test \"\${$as_ac_var+set}\" = set"; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 else
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38699 #define $ac_func innocuous_$ac_func
38700
38701 /* System header to define __stub macros and hopefully few prototypes,
38702 which can conflict with char $ac_func (); below.
38703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38704 <limits.h> exists even on freestanding compilers. */
38705
38706 #ifdef __STDC__
38707 # include <limits.h>
38708 #else
38709 # include <assert.h>
38710 #endif
38711
38712 #undef $ac_func
38713
38714 /* Override any gcc2 internal prototype to avoid an error. */
38715 #ifdef __cplusplus
38716 extern "C"
38717 {
38718 #endif
38719 /* We use char because int might match the return type of a gcc2
38720 builtin and then its argument prototype would still apply. */
38721 char $ac_func ();
38722 /* The GNU C library defines this for functions which it implements
38723 to always fail with ENOSYS. Some functions are actually named
38724 something starting with __ and the normal name is an alias. */
38725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38726 choke me
38727 #else
38728 char (*f) () = $ac_func;
38729 #endif
38730 #ifdef __cplusplus
38731 }
38732 #endif
38733
38734 int
38735 main ()
38736 {
38737 return f != $ac_func;
38738 ;
38739 return 0;
38740 }
38741 _ACEOF
38742 rm -f conftest.$ac_objext conftest$ac_exeext
38743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38744 (eval $ac_link) 2>conftest.er1
38745 ac_status=$?
38746 grep -v '^ *+' conftest.er1 >conftest.err
38747 rm -f conftest.er1
38748 cat conftest.err >&5
38749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750 (exit $ac_status); } &&
38751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753 (eval $ac_try) 2>&5
38754 ac_status=$?
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); }; } &&
38757 { ac_try='test -s conftest$ac_exeext'
38758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759 (eval $ac_try) 2>&5
38760 ac_status=$?
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; }; then
38763 eval "$as_ac_var=yes"
38764 else
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38767
38768 eval "$as_ac_var=no"
38769 fi
38770 rm -f conftest.err conftest.$ac_objext \
38771 conftest$ac_exeext conftest.$ac_ext
38772 fi
38773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38775 if test `eval echo '${'$as_ac_var'}'` = yes; then
38776 cat >>confdefs.h <<_ACEOF
38777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38778 _ACEOF
38779 cat >>confdefs.h <<\_ACEOF
38780 #define HAVE_INET_ATON 1
38781 _ACEOF
38782
38783 else
38784
38785 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38786 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38787 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38788 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38789 echo $ECHO_N "(cached) $ECHO_C" >&6
38790 else
38791 ac_check_lib_save_LIBS=$LIBS
38792 LIBS="-l$INET_LINK $LIBS"
38793 cat >conftest.$ac_ext <<_ACEOF
38794 /* confdefs.h. */
38795 _ACEOF
38796 cat confdefs.h >>conftest.$ac_ext
38797 cat >>conftest.$ac_ext <<_ACEOF
38798 /* end confdefs.h. */
38799
38800 /* Override any gcc2 internal prototype to avoid an error. */
38801 #ifdef __cplusplus
38802 extern "C"
38803 #endif
38804 /* We use char because int might match the return type of a gcc2
38805 builtin and then its argument prototype would still apply. */
38806 char inet_aton ();
38807 int
38808 main ()
38809 {
38810 inet_aton ();
38811 ;
38812 return 0;
38813 }
38814 _ACEOF
38815 rm -f conftest.$ac_objext conftest$ac_exeext
38816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38817 (eval $ac_link) 2>conftest.er1
38818 ac_status=$?
38819 grep -v '^ *+' conftest.er1 >conftest.err
38820 rm -f conftest.er1
38821 cat conftest.err >&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } &&
38824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38826 (eval $ac_try) 2>&5
38827 ac_status=$?
38828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829 (exit $ac_status); }; } &&
38830 { ac_try='test -s conftest$ac_exeext'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38833 ac_status=$?
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; }; then
38836 eval "$as_ac_Lib=yes"
38837 else
38838 echo "$as_me: failed program was:" >&5
38839 sed 's/^/| /' conftest.$ac_ext >&5
38840
38841 eval "$as_ac_Lib=no"
38842 fi
38843 rm -f conftest.err conftest.$ac_objext \
38844 conftest$ac_exeext conftest.$ac_ext
38845 LIBS=$ac_check_lib_save_LIBS
38846 fi
38847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38848 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38849 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38850 cat >>confdefs.h <<\_ACEOF
38851 #define HAVE_INET_ATON 1
38852 _ACEOF
38853
38854 fi
38855
38856
38857 fi
38858 done
38859
38860
38861 if test "x$INET_LINK" != "x"; then
38862 cat >>confdefs.h <<\_ACEOF
38863 #define HAVE_INET_ADDR 1
38864 _ACEOF
38865
38866 INET_LINK=" -l$INET_LINK"
38867 fi
38868
38869
38870 for wx_func in fdopen
38871 do
38872 echo "$as_me:$LINENO: checking for $wx_func" >&5
38873 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38874 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38875 echo $ECHO_N "(cached) $ECHO_C" >&6
38876 else
38877
38878 cat >conftest.$ac_ext <<_ACEOF
38879
38880 /* confdefs.h. */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885
38886
38887 $ac_includes_default
38888
38889 int
38890 main ()
38891 {
38892
38893 #ifndef $wx_func
38894 &$wx_func;
38895 #endif
38896
38897
38898 ;
38899 return 0;
38900 }
38901
38902 _ACEOF
38903 rm -f conftest.$ac_objext conftest$ac_exeext
38904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38905 (eval $ac_link) 2>conftest.er1
38906 ac_status=$?
38907 grep -v '^ *+' conftest.er1 >conftest.err
38908 rm -f conftest.er1
38909 cat conftest.err >&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); } &&
38912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38915 ac_status=$?
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; } &&
38918 { ac_try='test -s conftest$ac_exeext'
38919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38920 (eval $ac_try) 2>&5
38921 ac_status=$?
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); }; }; then
38924 eval wx_cv_func_$wx_func=yes
38925 else
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38928
38929 eval wx_cv_func_$wx_func=no
38930 fi
38931 rm -f conftest.err conftest.$ac_objext \
38932 conftest$ac_exeext conftest.$ac_ext
38933
38934 fi
38935 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38936 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38937
38938 if eval test \$wx_cv_func_$wx_func = yes
38939 then
38940 cat >>confdefs.h <<_ACEOF
38941 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38942 _ACEOF
38943
38944
38945 else
38946 :
38947
38948 fi
38949 done
38950
38951
38952 fi
38953
38954
38955
38956
38957 EXTRALIBS_ESD=
38958 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38959 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38960 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38961 echo $ECHO_N "(cached) $ECHO_C" >&6
38962 else
38963 ac_check_lib_save_LIBS=$LIBS
38964 LIBS="-lesd $LIBS"
38965 cat >conftest.$ac_ext <<_ACEOF
38966 /* confdefs.h. */
38967 _ACEOF
38968 cat confdefs.h >>conftest.$ac_ext
38969 cat >>conftest.$ac_ext <<_ACEOF
38970 /* end confdefs.h. */
38971
38972 /* Override any gcc2 internal prototype to avoid an error. */
38973 #ifdef __cplusplus
38974 extern "C"
38975 #endif
38976 /* We use char because int might match the return type of a gcc2
38977 builtin and then its argument prototype would still apply. */
38978 char esd_close ();
38979 int
38980 main ()
38981 {
38982 esd_close ();
38983 ;
38984 return 0;
38985 }
38986 _ACEOF
38987 rm -f conftest.$ac_objext conftest$ac_exeext
38988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38989 (eval $ac_link) 2>conftest.er1
38990 ac_status=$?
38991 grep -v '^ *+' conftest.er1 >conftest.err
38992 rm -f conftest.er1
38993 cat conftest.err >&5
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); } &&
38996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
38999 ac_status=$?
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; } &&
39002 { ac_try='test -s conftest$ac_exeext'
39003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004 (eval $ac_try) 2>&5
39005 ac_status=$?
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); }; }; then
39008 ac_cv_lib_esd_esd_close=yes
39009 else
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39012
39013 ac_cv_lib_esd_esd_close=no
39014 fi
39015 rm -f conftest.err conftest.$ac_objext \
39016 conftest$ac_exeext conftest.$ac_ext
39017 LIBS=$ac_check_lib_save_LIBS
39018 fi
39019 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39020 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39021 if test $ac_cv_lib_esd_esd_close = yes; then
39022
39023
39024 for ac_header in esd.h
39025 do
39026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39028 echo "$as_me:$LINENO: checking for $ac_header" >&5
39029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39032 fi
39033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39035 else
39036 # Is the header compilable?
39037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 $ac_includes_default
39046 #include <$ac_header>
39047 _ACEOF
39048 rm -f conftest.$ac_objext
39049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39050 (eval $ac_compile) 2>conftest.er1
39051 ac_status=$?
39052 grep -v '^ *+' conftest.er1 >conftest.err
39053 rm -f conftest.er1
39054 cat conftest.err >&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); } &&
39057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059 (eval $ac_try) 2>&5
39060 ac_status=$?
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); }; } &&
39063 { ac_try='test -s conftest.$ac_objext'
39064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39065 (eval $ac_try) 2>&5
39066 ac_status=$?
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); }; }; then
39069 ac_header_compiler=yes
39070 else
39071 echo "$as_me: failed program was:" >&5
39072 sed 's/^/| /' conftest.$ac_ext >&5
39073
39074 ac_header_compiler=no
39075 fi
39076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39078 echo "${ECHO_T}$ac_header_compiler" >&6
39079
39080 # Is the header present?
39081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39083 cat >conftest.$ac_ext <<_ACEOF
39084 /* confdefs.h. */
39085 _ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 #include <$ac_header>
39090 _ACEOF
39091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39093 ac_status=$?
39094 grep -v '^ *+' conftest.er1 >conftest.err
39095 rm -f conftest.er1
39096 cat conftest.err >&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } >/dev/null; then
39099 if test -s conftest.err; then
39100 ac_cpp_err=$ac_c_preproc_warn_flag
39101 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39102 else
39103 ac_cpp_err=
39104 fi
39105 else
39106 ac_cpp_err=yes
39107 fi
39108 if test -z "$ac_cpp_err"; then
39109 ac_header_preproc=yes
39110 else
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39113
39114 ac_header_preproc=no
39115 fi
39116 rm -f conftest.err conftest.$ac_ext
39117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39118 echo "${ECHO_T}$ac_header_preproc" >&6
39119
39120 # So? What about this header?
39121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39122 yes:no: )
39123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39127 ac_header_preproc=yes
39128 ;;
39129 no:yes:* )
39130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39142 (
39143 cat <<\_ASBOX
39144 ## ----------------------------------------- ##
39145 ## Report this to wx-dev@lists.wxwidgets.org ##
39146 ## ----------------------------------------- ##
39147 _ASBOX
39148 ) |
39149 sed "s/^/$as_me: WARNING: /" >&2
39150 ;;
39151 esac
39152 echo "$as_me:$LINENO: checking for $ac_header" >&5
39153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39155 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 else
39157 eval "$as_ac_Header=\$ac_header_preproc"
39158 fi
39159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39161
39162 fi
39163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39164 cat >>confdefs.h <<_ACEOF
39165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39166 _ACEOF
39167
39168 EXTRALIBS_ESD="-lesd"
39169
39170 fi
39171
39172 done
39173
39174
39175 fi
39176
39177
39178
39179 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39180 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39181 cat >conftest.$ac_ext <<_ACEOF
39182 /* confdefs.h. */
39183 _ACEOF
39184 cat confdefs.h >>conftest.$ac_ext
39185 cat >>conftest.$ac_ext <<_ACEOF
39186 /* end confdefs.h. */
39187 #ifdef __linux__
39188 #include <linux/cdrom.h>
39189 #else
39190 /* For Solaris */
39191 #include <sys/cdio.h>
39192 #endif
39193
39194 int
39195 main ()
39196 {
39197 struct cdrom_tocentry entry, old_entry;
39198 ;
39199 return 0;
39200 }
39201 _ACEOF
39202 rm -f conftest.$ac_objext
39203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39204 (eval $ac_compile) 2>conftest.er1
39205 ac_status=$?
39206 grep -v '^ *+' conftest.er1 >conftest.err
39207 rm -f conftest.er1
39208 cat conftest.err >&5
39209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210 (exit $ac_status); } &&
39211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213 (eval $ac_try) 2>&5
39214 ac_status=$?
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); }; } &&
39217 { ac_try='test -s conftest.$ac_objext'
39218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39219 (eval $ac_try) 2>&5
39220 ac_status=$?
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); }; }; then
39223 echo "$as_me:$LINENO: result: yes" >&5
39224 echo "${ECHO_T}yes" >&6
39225 cat >>confdefs.h <<\_ACEOF
39226 #define HAVE_KNOWN_CDROM_INTERFACE 1
39227 _ACEOF
39228
39229 else
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.$ac_ext >&5
39232
39233 echo "$as_me:$LINENO: result: no" >&5
39234 echo "${ECHO_T}no" >&6
39235 fi
39236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39237
39238
39239 cat >confcache <<\_ACEOF
39240 # This file is a shell script that caches the results of configure
39241 # tests run on this system so they can be shared between configure
39242 # scripts and configure runs, see configure's option --config-cache.
39243 # It is not useful on other systems. If it contains results you don't
39244 # want to keep, you may remove or edit it.
39245 #
39246 # config.status only pays attention to the cache file if you give it
39247 # the --recheck option to rerun configure.
39248 #
39249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39251 # following values.
39252
39253 _ACEOF
39254
39255 # The following way of writing the cache mishandles newlines in values,
39256 # but we know of no workaround that is simple, portable, and efficient.
39257 # So, don't put newlines in cache variables' values.
39258 # Ultrix sh set writes to stderr and can't be redirected directly,
39259 # and sets the high bit in the cache file unless we assign to the vars.
39260 {
39261 (set) 2>&1 |
39262 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39263 *ac_space=\ *)
39264 # `set' does not quote correctly, so add quotes (double-quote
39265 # substitution turns \\\\ into \\, and sed turns \\ into \).
39266 sed -n \
39267 "s/'/'\\\\''/g;
39268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39269 ;;
39270 *)
39271 # `set' quotes correctly as required by POSIX, so do not add quotes.
39272 sed -n \
39273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39274 ;;
39275 esac;
39276 } |
39277 sed '
39278 t clear
39279 : clear
39280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39281 t end
39282 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39283 : end' >>confcache
39284 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39285 if test -w $cache_file; then
39286 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39287 cat confcache >$cache_file
39288 else
39289 echo "not updating unwritable cache $cache_file"
39290 fi
39291 fi
39292 rm -f confcache
39293
39294
39295 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39296
39297
39298 THREADS_LINK=
39299 THREADS_CXXFLAGS=
39300
39301 if test "$wxUSE_THREADS" = "yes" ; then
39302 if test "$USE_BEOS" = 1; then
39303 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39304 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39305 wxUSE_THREADS="no"
39306 fi
39307 fi
39308
39309 if test "$wxUSE_THREADS" = "yes" ; then
39310
39311
39312 THREAD_OPTS="-pthread"
39313 case "${host}" in
39314 *-*-solaris2* | *-*-sunos4* )
39315 if test "x$GCC" = "xyes"; then
39316 THREAD_OPTS="-pthreads $THREAD_OPTS"
39317 else
39318 THREAD_OPTS="-mt $THREAD_OPTS"
39319 fi
39320 ;;
39321 *-*-freebsd*)
39322 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39323 ;;
39324 *-*-darwin* | *-*-cygwin* )
39325 THREAD_OPTS=""
39326 ;;
39327 *-*-aix*)
39328 THREAD_OPTS="pthreads"
39329 ;;
39330 *-hp-hpux* )
39331 if test "x$GCC" = "xyes"; then
39332 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39333 THREAD_OPTS=""
39334 else
39335 THREAD_OPTS="-mt"
39336 fi
39337 ;;
39338
39339 *-*-irix* )
39340 if test "x$GCC" = "xyes"; then
39341 THREAD_OPTS=""
39342 fi
39343 ;;
39344
39345 *-*-*UnixWare*)
39346 if test "x$GCC" != "xyes"; then
39347 THREAD_OPTS="-Ethread"
39348 fi
39349 ;;
39350 esac
39351
39352 THREAD_OPTS="$THREAD_OPTS pthread none"
39353
39354 THREADS_OK=no
39355 for flag in $THREAD_OPTS; do
39356 case $flag in
39357 none)
39358 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39359 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39360 ;;
39361
39362 -*)
39363 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39364 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39365 THREADS_CXXFLAGS="$flag"
39366 ;;
39367
39368 *)
39369 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39370 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39371 THREADS_LINK="-l$flag"
39372 ;;
39373 esac
39374
39375 save_LIBS="$LIBS"
39376 save_CXXFLAGS="$CXXFLAGS"
39377 LIBS="$THREADS_LINK $LIBS"
39378 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39379
39380 cat >conftest.$ac_ext <<_ACEOF
39381 /* confdefs.h. */
39382 _ACEOF
39383 cat confdefs.h >>conftest.$ac_ext
39384 cat >>conftest.$ac_ext <<_ACEOF
39385 /* end confdefs.h. */
39386 #include <pthread.h>
39387 int
39388 main ()
39389 {
39390 pthread_create(0,0,0,0);
39391 ;
39392 return 0;
39393 }
39394 _ACEOF
39395 rm -f conftest.$ac_objext conftest$ac_exeext
39396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39397 (eval $ac_link) 2>conftest.er1
39398 ac_status=$?
39399 grep -v '^ *+' conftest.er1 >conftest.err
39400 rm -f conftest.er1
39401 cat conftest.err >&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } &&
39404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39406 (eval $ac_try) 2>&5
39407 ac_status=$?
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); }; } &&
39410 { ac_try='test -s conftest$ac_exeext'
39411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39412 (eval $ac_try) 2>&5
39413 ac_status=$?
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); }; }; then
39416 THREADS_OK=yes
39417 else
39418 echo "$as_me: failed program was:" >&5
39419 sed 's/^/| /' conftest.$ac_ext >&5
39420
39421 fi
39422 rm -f conftest.err conftest.$ac_objext \
39423 conftest$ac_exeext conftest.$ac_ext
39424
39425 LIBS="$save_LIBS"
39426 CXXFLAGS="$save_CXXFLAGS"
39427
39428 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39429 echo "${ECHO_T}$THREADS_OK" >&6
39430 if test "x$THREADS_OK" = "xyes"; then
39431 break;
39432 fi
39433
39434 THREADS_LINK=""
39435 THREADS_CXXFLAGS=""
39436 done
39437
39438 if test "x$THREADS_OK" != "xyes"; then
39439 wxUSE_THREADS=no
39440 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39441 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39442 else
39443 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39444 LIBS="$THREADS_LINK $LIBS"
39445
39446 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39447 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39448 flag=no
39449 case "${host}" in
39450 *-aix*)
39451 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39452 flag="-D_THREAD_SAFE"
39453 ;;
39454 *-freebsd*)
39455 flag="-D_THREAD_SAFE"
39456 ;;
39457 *-hp-hpux* )
39458 flag="-D_REENTRANT"
39459 if test "x$GCC" != "xyes"; then
39460 flag="$flag -D_RWSTD_MULTI_THREAD"
39461 fi
39462 ;;
39463 *solaris* | alpha*-osf*)
39464 flag="-D_REENTRANT"
39465 ;;
39466 esac
39467 echo "$as_me:$LINENO: result: ${flag}" >&5
39468 echo "${ECHO_T}${flag}" >&6
39469 if test "x$flag" != xno; then
39470 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39471 fi
39472
39473 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39474 fi
39475 fi
39476
39477 if test "$wxUSE_THREADS" = "yes" ; then
39478
39479 for ac_func in thr_setconcurrency
39480 do
39481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39482 echo "$as_me:$LINENO: checking for $ac_func" >&5
39483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39484 if eval "test \"\${$as_ac_var+set}\" = set"; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39486 else
39487 cat >conftest.$ac_ext <<_ACEOF
39488 /* confdefs.h. */
39489 _ACEOF
39490 cat confdefs.h >>conftest.$ac_ext
39491 cat >>conftest.$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39495 #define $ac_func innocuous_$ac_func
39496
39497 /* System header to define __stub macros and hopefully few prototypes,
39498 which can conflict with char $ac_func (); below.
39499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39500 <limits.h> exists even on freestanding compilers. */
39501
39502 #ifdef __STDC__
39503 # include <limits.h>
39504 #else
39505 # include <assert.h>
39506 #endif
39507
39508 #undef $ac_func
39509
39510 /* Override any gcc2 internal prototype to avoid an error. */
39511 #ifdef __cplusplus
39512 extern "C"
39513 {
39514 #endif
39515 /* We use char because int might match the return type of a gcc2
39516 builtin and then its argument prototype would still apply. */
39517 char $ac_func ();
39518 /* The GNU C library defines this for functions which it implements
39519 to always fail with ENOSYS. Some functions are actually named
39520 something starting with __ and the normal name is an alias. */
39521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39522 choke me
39523 #else
39524 char (*f) () = $ac_func;
39525 #endif
39526 #ifdef __cplusplus
39527 }
39528 #endif
39529
39530 int
39531 main ()
39532 {
39533 return f != $ac_func;
39534 ;
39535 return 0;
39536 }
39537 _ACEOF
39538 rm -f conftest.$ac_objext conftest$ac_exeext
39539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39540 (eval $ac_link) 2>conftest.er1
39541 ac_status=$?
39542 grep -v '^ *+' conftest.er1 >conftest.err
39543 rm -f conftest.er1
39544 cat conftest.err >&5
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); } &&
39547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39550 ac_status=$?
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try='test -s conftest$ac_exeext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39556 ac_status=$?
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 eval "$as_ac_var=yes"
39560 else
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39563
39564 eval "$as_ac_var=no"
39565 fi
39566 rm -f conftest.err conftest.$ac_objext \
39567 conftest$ac_exeext conftest.$ac_ext
39568 fi
39569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39571 if test `eval echo '${'$as_ac_var'}'` = yes; then
39572 cat >>confdefs.h <<_ACEOF
39573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39574 _ACEOF
39575
39576 fi
39577 done
39578
39579
39580 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39581 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39582 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 else
39585
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <pthread.h>
39593 void ThreadCleanupFunc(void *p);
39594
39595 int
39596 main ()
39597 {
39598
39599 void *p;
39600 pthread_cleanup_push(ThreadCleanupFunc, p);
39601 pthread_cleanup_pop(0);
39602
39603 ;
39604 return 0;
39605 }
39606 _ACEOF
39607 rm -f conftest.$ac_objext
39608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39609 (eval $ac_compile) 2>conftest.er1
39610 ac_status=$?
39611 grep -v '^ *+' conftest.er1 >conftest.err
39612 rm -f conftest.er1
39613 cat conftest.err >&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } &&
39616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39619 ac_status=$?
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; } &&
39622 { ac_try='test -s conftest.$ac_objext'
39623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39624 (eval $ac_try) 2>&5
39625 ac_status=$?
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); }; }; then
39628
39629 wx_cv_func_pthread_cleanup=yes
39630
39631 else
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39634
39635
39636 wx_cv_func_pthread_cleanup=no
39637
39638
39639 fi
39640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39641
39642 fi
39643 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39644 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39645 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39646 cat >>confdefs.h <<\_ACEOF
39647 #define wxHAVE_PTHREAD_CLEANUP 1
39648 _ACEOF
39649
39650 fi
39651
39652
39653 for ac_header in sched.h
39654 do
39655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39657 echo "$as_me:$LINENO: checking for $ac_header" >&5
39658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39661 fi
39662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39664 else
39665 # Is the header compilable?
39666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 $ac_includes_default
39675 #include <$ac_header>
39676 _ACEOF
39677 rm -f conftest.$ac_objext
39678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39679 (eval $ac_compile) 2>conftest.er1
39680 ac_status=$?
39681 grep -v '^ *+' conftest.er1 >conftest.err
39682 rm -f conftest.er1
39683 cat conftest.err >&5
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); } &&
39686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39688 (eval $ac_try) 2>&5
39689 ac_status=$?
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); }; } &&
39692 { ac_try='test -s conftest.$ac_objext'
39693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39694 (eval $ac_try) 2>&5
39695 ac_status=$?
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); }; }; then
39698 ac_header_compiler=yes
39699 else
39700 echo "$as_me: failed program was:" >&5
39701 sed 's/^/| /' conftest.$ac_ext >&5
39702
39703 ac_header_compiler=no
39704 fi
39705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39707 echo "${ECHO_T}$ac_header_compiler" >&6
39708
39709 # Is the header present?
39710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718 #include <$ac_header>
39719 _ACEOF
39720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39722 ac_status=$?
39723 grep -v '^ *+' conftest.er1 >conftest.err
39724 rm -f conftest.er1
39725 cat conftest.err >&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } >/dev/null; then
39728 if test -s conftest.err; then
39729 ac_cpp_err=$ac_c_preproc_warn_flag
39730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39731 else
39732 ac_cpp_err=
39733 fi
39734 else
39735 ac_cpp_err=yes
39736 fi
39737 if test -z "$ac_cpp_err"; then
39738 ac_header_preproc=yes
39739 else
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.$ac_ext >&5
39742
39743 ac_header_preproc=no
39744 fi
39745 rm -f conftest.err conftest.$ac_ext
39746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39747 echo "${ECHO_T}$ac_header_preproc" >&6
39748
39749 # So? What about this header?
39750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39751 yes:no: )
39752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39756 ac_header_preproc=yes
39757 ;;
39758 no:yes:* )
39759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39771 (
39772 cat <<\_ASBOX
39773 ## ----------------------------------------- ##
39774 ## Report this to wx-dev@lists.wxwidgets.org ##
39775 ## ----------------------------------------- ##
39776 _ASBOX
39777 ) |
39778 sed "s/^/$as_me: WARNING: /" >&2
39779 ;;
39780 esac
39781 echo "$as_me:$LINENO: checking for $ac_header" >&5
39782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39784 echo $ECHO_N "(cached) $ECHO_C" >&6
39785 else
39786 eval "$as_ac_Header=\$ac_header_preproc"
39787 fi
39788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39790
39791 fi
39792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39793 cat >>confdefs.h <<_ACEOF
39794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39795 _ACEOF
39796
39797 fi
39798
39799 done
39800
39801 if test "$ac_cv_header_sched_h" = "yes"; then
39802 echo "$as_me:$LINENO: checking for sched_yield" >&5
39803 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39804 if test "${ac_cv_func_sched_yield+set}" = set; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807 cat >conftest.$ac_ext <<_ACEOF
39808 /* confdefs.h. */
39809 _ACEOF
39810 cat confdefs.h >>conftest.$ac_ext
39811 cat >>conftest.$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39815 #define sched_yield innocuous_sched_yield
39816
39817 /* System header to define __stub macros and hopefully few prototypes,
39818 which can conflict with char sched_yield (); below.
39819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39820 <limits.h> exists even on freestanding compilers. */
39821
39822 #ifdef __STDC__
39823 # include <limits.h>
39824 #else
39825 # include <assert.h>
39826 #endif
39827
39828 #undef sched_yield
39829
39830 /* Override any gcc2 internal prototype to avoid an error. */
39831 #ifdef __cplusplus
39832 extern "C"
39833 {
39834 #endif
39835 /* We use char because int might match the return type of a gcc2
39836 builtin and then its argument prototype would still apply. */
39837 char sched_yield ();
39838 /* The GNU C library defines this for functions which it implements
39839 to always fail with ENOSYS. Some functions are actually named
39840 something starting with __ and the normal name is an alias. */
39841 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39842 choke me
39843 #else
39844 char (*f) () = sched_yield;
39845 #endif
39846 #ifdef __cplusplus
39847 }
39848 #endif
39849
39850 int
39851 main ()
39852 {
39853 return f != sched_yield;
39854 ;
39855 return 0;
39856 }
39857 _ACEOF
39858 rm -f conftest.$ac_objext conftest$ac_exeext
39859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39860 (eval $ac_link) 2>conftest.er1
39861 ac_status=$?
39862 grep -v '^ *+' conftest.er1 >conftest.err
39863 rm -f conftest.er1
39864 cat conftest.err >&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); } &&
39867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39869 (eval $ac_try) 2>&5
39870 ac_status=$?
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); }; } &&
39873 { ac_try='test -s conftest$ac_exeext'
39874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39875 (eval $ac_try) 2>&5
39876 ac_status=$?
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); }; }; then
39879 ac_cv_func_sched_yield=yes
39880 else
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39883
39884 ac_cv_func_sched_yield=no
39885 fi
39886 rm -f conftest.err conftest.$ac_objext \
39887 conftest$ac_exeext conftest.$ac_ext
39888 fi
39889 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39890 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39891 if test $ac_cv_func_sched_yield = yes; then
39892 cat >>confdefs.h <<\_ACEOF
39893 #define HAVE_SCHED_YIELD 1
39894 _ACEOF
39895
39896 else
39897
39898 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39899 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39900 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39901 echo $ECHO_N "(cached) $ECHO_C" >&6
39902 else
39903 ac_check_lib_save_LIBS=$LIBS
39904 LIBS="-lposix4 $LIBS"
39905 cat >conftest.$ac_ext <<_ACEOF
39906 /* confdefs.h. */
39907 _ACEOF
39908 cat confdefs.h >>conftest.$ac_ext
39909 cat >>conftest.$ac_ext <<_ACEOF
39910 /* end confdefs.h. */
39911
39912 /* Override any gcc2 internal prototype to avoid an error. */
39913 #ifdef __cplusplus
39914 extern "C"
39915 #endif
39916 /* We use char because int might match the return type of a gcc2
39917 builtin and then its argument prototype would still apply. */
39918 char sched_yield ();
39919 int
39920 main ()
39921 {
39922 sched_yield ();
39923 ;
39924 return 0;
39925 }
39926 _ACEOF
39927 rm -f conftest.$ac_objext conftest$ac_exeext
39928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39929 (eval $ac_link) 2>conftest.er1
39930 ac_status=$?
39931 grep -v '^ *+' conftest.er1 >conftest.err
39932 rm -f conftest.er1
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } &&
39936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39939 ac_status=$?
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; } &&
39942 { ac_try='test -s conftest$ac_exeext'
39943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39944 (eval $ac_try) 2>&5
39945 ac_status=$?
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 ac_cv_lib_posix4_sched_yield=yes
39949 else
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39952
39953 ac_cv_lib_posix4_sched_yield=no
39954 fi
39955 rm -f conftest.err conftest.$ac_objext \
39956 conftest$ac_exeext conftest.$ac_ext
39957 LIBS=$ac_check_lib_save_LIBS
39958 fi
39959 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39960 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39961 if test $ac_cv_lib_posix4_sched_yield = yes; then
39962 cat >>confdefs.h <<\_ACEOF
39963 #define HAVE_SCHED_YIELD 1
39964 _ACEOF
39965 POSIX4_LINK=" -lposix4"
39966 else
39967 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39968 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39969
39970 fi
39971
39972
39973
39974 fi
39975
39976 fi
39977
39978 HAVE_PRIOR_FUNCS=0
39979 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39980 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39981 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39983 else
39984 cat >conftest.$ac_ext <<_ACEOF
39985 /* confdefs.h. */
39986 _ACEOF
39987 cat confdefs.h >>conftest.$ac_ext
39988 cat >>conftest.$ac_ext <<_ACEOF
39989 /* end confdefs.h. */
39990 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39992 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39993
39994 /* System header to define __stub macros and hopefully few prototypes,
39995 which can conflict with char pthread_attr_getschedpolicy (); below.
39996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39997 <limits.h> exists even on freestanding compilers. */
39998
39999 #ifdef __STDC__
40000 # include <limits.h>
40001 #else
40002 # include <assert.h>
40003 #endif
40004
40005 #undef pthread_attr_getschedpolicy
40006
40007 /* Override any gcc2 internal prototype to avoid an error. */
40008 #ifdef __cplusplus
40009 extern "C"
40010 {
40011 #endif
40012 /* We use char because int might match the return type of a gcc2
40013 builtin and then its argument prototype would still apply. */
40014 char pthread_attr_getschedpolicy ();
40015 /* The GNU C library defines this for functions which it implements
40016 to always fail with ENOSYS. Some functions are actually named
40017 something starting with __ and the normal name is an alias. */
40018 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40019 choke me
40020 #else
40021 char (*f) () = pthread_attr_getschedpolicy;
40022 #endif
40023 #ifdef __cplusplus
40024 }
40025 #endif
40026
40027 int
40028 main ()
40029 {
40030 return f != pthread_attr_getschedpolicy;
40031 ;
40032 return 0;
40033 }
40034 _ACEOF
40035 rm -f conftest.$ac_objext conftest$ac_exeext
40036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40037 (eval $ac_link) 2>conftest.er1
40038 ac_status=$?
40039 grep -v '^ *+' conftest.er1 >conftest.err
40040 rm -f conftest.er1
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } &&
40044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40046 (eval $ac_try) 2>&5
40047 ac_status=$?
40048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40049 (exit $ac_status); }; } &&
40050 { ac_try='test -s conftest$ac_exeext'
40051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40052 (eval $ac_try) 2>&5
40053 ac_status=$?
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); }; }; then
40056 ac_cv_func_pthread_attr_getschedpolicy=yes
40057 else
40058 echo "$as_me: failed program was:" >&5
40059 sed 's/^/| /' conftest.$ac_ext >&5
40060
40061 ac_cv_func_pthread_attr_getschedpolicy=no
40062 fi
40063 rm -f conftest.err conftest.$ac_objext \
40064 conftest$ac_exeext conftest.$ac_ext
40065 fi
40066 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40067 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40068 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40069 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40070 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40071 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 else
40074 cat >conftest.$ac_ext <<_ACEOF
40075 /* confdefs.h. */
40076 _ACEOF
40077 cat confdefs.h >>conftest.$ac_ext
40078 cat >>conftest.$ac_ext <<_ACEOF
40079 /* end confdefs.h. */
40080 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40082 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40083
40084 /* System header to define __stub macros and hopefully few prototypes,
40085 which can conflict with char pthread_attr_setschedparam (); below.
40086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40087 <limits.h> exists even on freestanding compilers. */
40088
40089 #ifdef __STDC__
40090 # include <limits.h>
40091 #else
40092 # include <assert.h>
40093 #endif
40094
40095 #undef pthread_attr_setschedparam
40096
40097 /* Override any gcc2 internal prototype to avoid an error. */
40098 #ifdef __cplusplus
40099 extern "C"
40100 {
40101 #endif
40102 /* We use char because int might match the return type of a gcc2
40103 builtin and then its argument prototype would still apply. */
40104 char pthread_attr_setschedparam ();
40105 /* The GNU C library defines this for functions which it implements
40106 to always fail with ENOSYS. Some functions are actually named
40107 something starting with __ and the normal name is an alias. */
40108 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40109 choke me
40110 #else
40111 char (*f) () = pthread_attr_setschedparam;
40112 #endif
40113 #ifdef __cplusplus
40114 }
40115 #endif
40116
40117 int
40118 main ()
40119 {
40120 return f != pthread_attr_setschedparam;
40121 ;
40122 return 0;
40123 }
40124 _ACEOF
40125 rm -f conftest.$ac_objext conftest$ac_exeext
40126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40127 (eval $ac_link) 2>conftest.er1
40128 ac_status=$?
40129 grep -v '^ *+' conftest.er1 >conftest.err
40130 rm -f conftest.er1
40131 cat conftest.err >&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); } &&
40134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40137 ac_status=$?
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40143 ac_status=$?
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 ac_cv_func_pthread_attr_setschedparam=yes
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 ac_cv_func_pthread_attr_setschedparam=no
40152 fi
40153 rm -f conftest.err conftest.$ac_objext \
40154 conftest$ac_exeext conftest.$ac_ext
40155 fi
40156 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40157 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40158 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40159 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40160 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40161 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40162 echo $ECHO_N "(cached) $ECHO_C" >&6
40163 else
40164 cat >conftest.$ac_ext <<_ACEOF
40165 /* confdefs.h. */
40166 _ACEOF
40167 cat confdefs.h >>conftest.$ac_ext
40168 cat >>conftest.$ac_ext <<_ACEOF
40169 /* end confdefs.h. */
40170 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40172 #define sched_get_priority_max innocuous_sched_get_priority_max
40173
40174 /* System header to define __stub macros and hopefully few prototypes,
40175 which can conflict with char sched_get_priority_max (); below.
40176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40177 <limits.h> exists even on freestanding compilers. */
40178
40179 #ifdef __STDC__
40180 # include <limits.h>
40181 #else
40182 # include <assert.h>
40183 #endif
40184
40185 #undef sched_get_priority_max
40186
40187 /* Override any gcc2 internal prototype to avoid an error. */
40188 #ifdef __cplusplus
40189 extern "C"
40190 {
40191 #endif
40192 /* We use char because int might match the return type of a gcc2
40193 builtin and then its argument prototype would still apply. */
40194 char sched_get_priority_max ();
40195 /* The GNU C library defines this for functions which it implements
40196 to always fail with ENOSYS. Some functions are actually named
40197 something starting with __ and the normal name is an alias. */
40198 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40199 choke me
40200 #else
40201 char (*f) () = sched_get_priority_max;
40202 #endif
40203 #ifdef __cplusplus
40204 }
40205 #endif
40206
40207 int
40208 main ()
40209 {
40210 return f != sched_get_priority_max;
40211 ;
40212 return 0;
40213 }
40214 _ACEOF
40215 rm -f conftest.$ac_objext conftest$ac_exeext
40216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40217 (eval $ac_link) 2>conftest.er1
40218 ac_status=$?
40219 grep -v '^ *+' conftest.er1 >conftest.err
40220 rm -f conftest.er1
40221 cat conftest.err >&5
40222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40223 (exit $ac_status); } &&
40224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40226 (eval $ac_try) 2>&5
40227 ac_status=$?
40228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40229 (exit $ac_status); }; } &&
40230 { ac_try='test -s conftest$ac_exeext'
40231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40232 (eval $ac_try) 2>&5
40233 ac_status=$?
40234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40235 (exit $ac_status); }; }; then
40236 ac_cv_func_sched_get_priority_max=yes
40237 else
40238 echo "$as_me: failed program was:" >&5
40239 sed 's/^/| /' conftest.$ac_ext >&5
40240
40241 ac_cv_func_sched_get_priority_max=no
40242 fi
40243 rm -f conftest.err conftest.$ac_objext \
40244 conftest$ac_exeext conftest.$ac_ext
40245 fi
40246 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40247 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40248 if test $ac_cv_func_sched_get_priority_max = yes; then
40249 HAVE_PRIOR_FUNCS=1
40250 else
40251 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40252 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40253 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40254 echo $ECHO_N "(cached) $ECHO_C" >&6
40255 else
40256 ac_check_lib_save_LIBS=$LIBS
40257 LIBS="-lposix4 $LIBS"
40258 cat >conftest.$ac_ext <<_ACEOF
40259 /* confdefs.h. */
40260 _ACEOF
40261 cat confdefs.h >>conftest.$ac_ext
40262 cat >>conftest.$ac_ext <<_ACEOF
40263 /* end confdefs.h. */
40264
40265 /* Override any gcc2 internal prototype to avoid an error. */
40266 #ifdef __cplusplus
40267 extern "C"
40268 #endif
40269 /* We use char because int might match the return type of a gcc2
40270 builtin and then its argument prototype would still apply. */
40271 char sched_get_priority_max ();
40272 int
40273 main ()
40274 {
40275 sched_get_priority_max ();
40276 ;
40277 return 0;
40278 }
40279 _ACEOF
40280 rm -f conftest.$ac_objext conftest$ac_exeext
40281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40282 (eval $ac_link) 2>conftest.er1
40283 ac_status=$?
40284 grep -v '^ *+' conftest.er1 >conftest.err
40285 rm -f conftest.er1
40286 cat conftest.err >&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } &&
40289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40291 (eval $ac_try) 2>&5
40292 ac_status=$?
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); }; } &&
40295 { ac_try='test -s conftest$ac_exeext'
40296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40297 (eval $ac_try) 2>&5
40298 ac_status=$?
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); }; }; then
40301 ac_cv_lib_posix4_sched_get_priority_max=yes
40302 else
40303 echo "$as_me: failed program was:" >&5
40304 sed 's/^/| /' conftest.$ac_ext >&5
40305
40306 ac_cv_lib_posix4_sched_get_priority_max=no
40307 fi
40308 rm -f conftest.err conftest.$ac_objext \
40309 conftest$ac_exeext conftest.$ac_ext
40310 LIBS=$ac_check_lib_save_LIBS
40311 fi
40312 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40313 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40314 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40315
40316 HAVE_PRIOR_FUNCS=1
40317 POSIX4_LINK=" -lposix4"
40318
40319 fi
40320
40321
40322 fi
40323
40324
40325 fi
40326
40327
40328 fi
40329
40330
40331 if test "$HAVE_PRIOR_FUNCS" = 1; then
40332 cat >>confdefs.h <<\_ACEOF
40333 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40334 _ACEOF
40335
40336 else
40337 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40338 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40339 fi
40340
40341 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40342 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40343 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40344 echo $ECHO_N "(cached) $ECHO_C" >&6
40345 else
40346 cat >conftest.$ac_ext <<_ACEOF
40347 /* confdefs.h. */
40348 _ACEOF
40349 cat confdefs.h >>conftest.$ac_ext
40350 cat >>conftest.$ac_ext <<_ACEOF
40351 /* end confdefs.h. */
40352 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40354 #define pthread_cancel innocuous_pthread_cancel
40355
40356 /* System header to define __stub macros and hopefully few prototypes,
40357 which can conflict with char pthread_cancel (); below.
40358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40359 <limits.h> exists even on freestanding compilers. */
40360
40361 #ifdef __STDC__
40362 # include <limits.h>
40363 #else
40364 # include <assert.h>
40365 #endif
40366
40367 #undef pthread_cancel
40368
40369 /* Override any gcc2 internal prototype to avoid an error. */
40370 #ifdef __cplusplus
40371 extern "C"
40372 {
40373 #endif
40374 /* We use char because int might match the return type of a gcc2
40375 builtin and then its argument prototype would still apply. */
40376 char pthread_cancel ();
40377 /* The GNU C library defines this for functions which it implements
40378 to always fail with ENOSYS. Some functions are actually named
40379 something starting with __ and the normal name is an alias. */
40380 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40381 choke me
40382 #else
40383 char (*f) () = pthread_cancel;
40384 #endif
40385 #ifdef __cplusplus
40386 }
40387 #endif
40388
40389 int
40390 main ()
40391 {
40392 return f != pthread_cancel;
40393 ;
40394 return 0;
40395 }
40396 _ACEOF
40397 rm -f conftest.$ac_objext conftest$ac_exeext
40398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40399 (eval $ac_link) 2>conftest.er1
40400 ac_status=$?
40401 grep -v '^ *+' conftest.er1 >conftest.err
40402 rm -f conftest.er1
40403 cat conftest.err >&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); } &&
40406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40408 (eval $ac_try) 2>&5
40409 ac_status=$?
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); }; } &&
40412 { ac_try='test -s conftest$ac_exeext'
40413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40414 (eval $ac_try) 2>&5
40415 ac_status=$?
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); }; }; then
40418 ac_cv_func_pthread_cancel=yes
40419 else
40420 echo "$as_me: failed program was:" >&5
40421 sed 's/^/| /' conftest.$ac_ext >&5
40422
40423 ac_cv_func_pthread_cancel=no
40424 fi
40425 rm -f conftest.err conftest.$ac_objext \
40426 conftest$ac_exeext conftest.$ac_ext
40427 fi
40428 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40429 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40430 if test $ac_cv_func_pthread_cancel = yes; then
40431 cat >>confdefs.h <<\_ACEOF
40432 #define HAVE_PTHREAD_CANCEL 1
40433 _ACEOF
40434
40435 else
40436 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40437 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40438 fi
40439
40440
40441 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40442 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40443 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40444 echo $ECHO_N "(cached) $ECHO_C" >&6
40445 else
40446 cat >conftest.$ac_ext <<_ACEOF
40447 /* confdefs.h. */
40448 _ACEOF
40449 cat confdefs.h >>conftest.$ac_ext
40450 cat >>conftest.$ac_ext <<_ACEOF
40451 /* end confdefs.h. */
40452 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40454 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40455
40456 /* System header to define __stub macros and hopefully few prototypes,
40457 which can conflict with char pthread_attr_setstacksize (); below.
40458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40459 <limits.h> exists even on freestanding compilers. */
40460
40461 #ifdef __STDC__
40462 # include <limits.h>
40463 #else
40464 # include <assert.h>
40465 #endif
40466
40467 #undef pthread_attr_setstacksize
40468
40469 /* Override any gcc2 internal prototype to avoid an error. */
40470 #ifdef __cplusplus
40471 extern "C"
40472 {
40473 #endif
40474 /* We use char because int might match the return type of a gcc2
40475 builtin and then its argument prototype would still apply. */
40476 char pthread_attr_setstacksize ();
40477 /* The GNU C library defines this for functions which it implements
40478 to always fail with ENOSYS. Some functions are actually named
40479 something starting with __ and the normal name is an alias. */
40480 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40481 choke me
40482 #else
40483 char (*f) () = pthread_attr_setstacksize;
40484 #endif
40485 #ifdef __cplusplus
40486 }
40487 #endif
40488
40489 int
40490 main ()
40491 {
40492 return f != pthread_attr_setstacksize;
40493 ;
40494 return 0;
40495 }
40496 _ACEOF
40497 rm -f conftest.$ac_objext conftest$ac_exeext
40498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40499 (eval $ac_link) 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_c_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_exeext'
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 ac_cv_func_pthread_attr_setstacksize=yes
40519 else
40520 echo "$as_me: failed program was:" >&5
40521 sed 's/^/| /' conftest.$ac_ext >&5
40522
40523 ac_cv_func_pthread_attr_setstacksize=no
40524 fi
40525 rm -f conftest.err conftest.$ac_objext \
40526 conftest$ac_exeext conftest.$ac_ext
40527 fi
40528 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40529 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40530 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40531 cat >>confdefs.h <<\_ACEOF
40532 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40533 _ACEOF
40534
40535 fi
40536
40537
40538
40539 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40540 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40541 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40542 echo $ECHO_N "(cached) $ECHO_C" >&6
40543 else
40544
40545 cat >conftest.$ac_ext <<_ACEOF
40546 /* confdefs.h. */
40547 _ACEOF
40548 cat confdefs.h >>conftest.$ac_ext
40549 cat >>conftest.$ac_ext <<_ACEOF
40550 /* end confdefs.h. */
40551 #include <pthread.h>
40552 int
40553 main ()
40554 {
40555
40556 pthread_mutexattr_t attr;
40557 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40558
40559 ;
40560 return 0;
40561 }
40562 _ACEOF
40563 rm -f conftest.$ac_objext
40564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40565 (eval $ac_compile) 2>conftest.er1
40566 ac_status=$?
40567 grep -v '^ *+' conftest.er1 >conftest.err
40568 rm -f conftest.er1
40569 cat conftest.err >&5
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); } &&
40572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40574 (eval $ac_try) 2>&5
40575 ac_status=$?
40576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40577 (exit $ac_status); }; } &&
40578 { ac_try='test -s conftest.$ac_objext'
40579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40580 (eval $ac_try) 2>&5
40581 ac_status=$?
40582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40583 (exit $ac_status); }; }; then
40584 wx_cv_type_pthread_mutexattr_t=yes
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40588
40589 wx_cv_type_pthread_mutexattr_t=no
40590
40591 fi
40592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40593
40594 fi
40595 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40596 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40597
40598 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40599 cat >>confdefs.h <<\_ACEOF
40600 #define HAVE_PTHREAD_MUTEXATTR_T 1
40601 _ACEOF
40602
40603
40604 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40605 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40606 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40607 echo $ECHO_N "(cached) $ECHO_C" >&6
40608 else
40609
40610 cat >conftest.$ac_ext <<_ACEOF
40611 /* confdefs.h. */
40612 _ACEOF
40613 cat confdefs.h >>conftest.$ac_ext
40614 cat >>conftest.$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40616 #include <pthread.h>
40617 int
40618 main ()
40619 {
40620
40621 pthread_mutexattr_t attr;
40622 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40623
40624 ;
40625 return 0;
40626 }
40627 _ACEOF
40628 rm -f conftest.$ac_objext
40629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40630 (eval $ac_compile) 2>conftest.er1
40631 ac_status=$?
40632 grep -v '^ *+' conftest.er1 >conftest.err
40633 rm -f conftest.er1
40634 cat conftest.err >&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); } &&
40637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40639 (eval $ac_try) 2>&5
40640 ac_status=$?
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); }; } &&
40643 { ac_try='test -s conftest.$ac_objext'
40644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40645 (eval $ac_try) 2>&5
40646 ac_status=$?
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); }; }; then
40649 wx_cv_func_pthread_mutexattr_settype_decl=yes
40650 else
40651 echo "$as_me: failed program was:" >&5
40652 sed 's/^/| /' conftest.$ac_ext >&5
40653
40654 wx_cv_func_pthread_mutexattr_settype_decl=no
40655
40656 fi
40657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40658
40659 fi
40660 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40661 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40662 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40663 cat >>confdefs.h <<\_ACEOF
40664 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40665 _ACEOF
40666
40667 fi
40668 else
40669 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40670 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40671 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40672 echo $ECHO_N "(cached) $ECHO_C" >&6
40673 else
40674
40675 cat >conftest.$ac_ext <<_ACEOF
40676 /* confdefs.h. */
40677 _ACEOF
40678 cat confdefs.h >>conftest.$ac_ext
40679 cat >>conftest.$ac_ext <<_ACEOF
40680 /* end confdefs.h. */
40681 #include <pthread.h>
40682 int
40683 main ()
40684 {
40685
40686 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40687
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext
40693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40694 (eval $ac_compile) 2>conftest.er1
40695 ac_status=$?
40696 grep -v '^ *+' conftest.er1 >conftest.err
40697 rm -f conftest.er1
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } &&
40701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40703 (eval $ac_try) 2>&5
40704 ac_status=$?
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); }; } &&
40707 { ac_try='test -s conftest.$ac_objext'
40708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40709 (eval $ac_try) 2>&5
40710 ac_status=$?
40711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40712 (exit $ac_status); }; }; then
40713
40714 wx_cv_type_pthread_rec_mutex_init=yes
40715
40716 else
40717 echo "$as_me: failed program was:" >&5
40718 sed 's/^/| /' conftest.$ac_ext >&5
40719
40720
40721 wx_cv_type_pthread_rec_mutex_init=no
40722
40723
40724 fi
40725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40726
40727 fi
40728 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40729 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40730 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40731 cat >>confdefs.h <<\_ACEOF
40732 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40733 _ACEOF
40734
40735 else
40736 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40737 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40738 fi
40739 fi
40740 fi
40741
40742 else
40743 if test "$wxUSE_THREADS" = "yes" ; then
40744 case "${host}" in
40745 *-*-mingw32* )
40746 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40747 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40748 if test "${wx_cv_cflags_mthread+set}" = set; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40750 else
40751
40752 CXXFLAGS_OLD="$CXXFLAGS"
40753 CXXFLAGS="-mthreads $CXXFLAGS"
40754 cat >conftest.$ac_ext <<_ACEOF
40755 /* confdefs.h. */
40756 _ACEOF
40757 cat confdefs.h >>conftest.$ac_ext
40758 cat >>conftest.$ac_ext <<_ACEOF
40759 /* end confdefs.h. */
40760
40761 int
40762 main ()
40763 {
40764
40765 ;
40766 return 0;
40767 }
40768 _ACEOF
40769 rm -f conftest.$ac_objext
40770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40771 (eval $ac_compile) 2>conftest.er1
40772 ac_status=$?
40773 grep -v '^ *+' conftest.er1 >conftest.err
40774 rm -f conftest.er1
40775 cat conftest.err >&5
40776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777 (exit $ac_status); } &&
40778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40780 (eval $ac_try) 2>&5
40781 ac_status=$?
40782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783 (exit $ac_status); }; } &&
40784 { ac_try='test -s conftest.$ac_objext'
40785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40786 (eval $ac_try) 2>&5
40787 ac_status=$?
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); }; }; then
40790 wx_cv_cflags_mthread=yes
40791 else
40792 echo "$as_me: failed program was:" >&5
40793 sed 's/^/| /' conftest.$ac_ext >&5
40794
40795 wx_cv_cflags_mthread=no
40796
40797 fi
40798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40799
40800
40801 fi
40802 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40803 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40804
40805 if test "$wx_cv_cflags_mthread" = "yes"; then
40806 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40807 LDFLAGS="$LDFLAGS -mthreads"
40808 else
40809 CXXFLAGS="$CXXFLAGS_OLD"
40810 fi
40811 ;;
40812 *-pc-os2*emx )
40813 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40814 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40815 LDFLAGS="$LDFLAGS -Zmt"
40816 ;;
40817 esac
40818 fi
40819 fi
40820
40821 echo "$as_me:$LINENO: checking for localtime_r" >&5
40822 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40823 if test "${ac_cv_func_localtime_r+set}" = set; then
40824 echo $ECHO_N "(cached) $ECHO_C" >&6
40825 else
40826 cat >conftest.$ac_ext <<_ACEOF
40827 /* confdefs.h. */
40828 _ACEOF
40829 cat confdefs.h >>conftest.$ac_ext
40830 cat >>conftest.$ac_ext <<_ACEOF
40831 /* end confdefs.h. */
40832 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40834 #define localtime_r innocuous_localtime_r
40835
40836 /* System header to define __stub macros and hopefully few prototypes,
40837 which can conflict with char localtime_r (); below.
40838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40839 <limits.h> exists even on freestanding compilers. */
40840
40841 #ifdef __STDC__
40842 # include <limits.h>
40843 #else
40844 # include <assert.h>
40845 #endif
40846
40847 #undef localtime_r
40848
40849 /* Override any gcc2 internal prototype to avoid an error. */
40850 #ifdef __cplusplus
40851 extern "C"
40852 {
40853 #endif
40854 /* We use char because int might match the return type of a gcc2
40855 builtin and then its argument prototype would still apply. */
40856 char localtime_r ();
40857 /* The GNU C library defines this for functions which it implements
40858 to always fail with ENOSYS. Some functions are actually named
40859 something starting with __ and the normal name is an alias. */
40860 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40861 choke me
40862 #else
40863 char (*f) () = localtime_r;
40864 #endif
40865 #ifdef __cplusplus
40866 }
40867 #endif
40868
40869 int
40870 main ()
40871 {
40872 return f != localtime_r;
40873 ;
40874 return 0;
40875 }
40876 _ACEOF
40877 rm -f conftest.$ac_objext conftest$ac_exeext
40878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40879 (eval $ac_link) 2>conftest.er1
40880 ac_status=$?
40881 grep -v '^ *+' conftest.er1 >conftest.err
40882 rm -f conftest.er1
40883 cat conftest.err >&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); } &&
40886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40888 (eval $ac_try) 2>&5
40889 ac_status=$?
40890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891 (exit $ac_status); }; } &&
40892 { ac_try='test -s conftest$ac_exeext'
40893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40894 (eval $ac_try) 2>&5
40895 ac_status=$?
40896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40897 (exit $ac_status); }; }; then
40898 ac_cv_func_localtime_r=yes
40899 else
40900 echo "$as_me: failed program was:" >&5
40901 sed 's/^/| /' conftest.$ac_ext >&5
40902
40903 ac_cv_func_localtime_r=no
40904 fi
40905 rm -f conftest.err conftest.$ac_objext \
40906 conftest$ac_exeext conftest.$ac_ext
40907 fi
40908 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40909 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40910 if test $ac_cv_func_localtime_r = yes; then
40911 cat >>confdefs.h <<\_ACEOF
40912 #define HAVE_LOCALTIME_R 1
40913 _ACEOF
40914
40915 fi
40916
40917 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40918 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40919 if test "${ac_cv_func_gmtime_r+set}" = set; then
40920 echo $ECHO_N "(cached) $ECHO_C" >&6
40921 else
40922 cat >conftest.$ac_ext <<_ACEOF
40923 /* confdefs.h. */
40924 _ACEOF
40925 cat confdefs.h >>conftest.$ac_ext
40926 cat >>conftest.$ac_ext <<_ACEOF
40927 /* end confdefs.h. */
40928 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40930 #define gmtime_r innocuous_gmtime_r
40931
40932 /* System header to define __stub macros and hopefully few prototypes,
40933 which can conflict with char gmtime_r (); below.
40934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40935 <limits.h> exists even on freestanding compilers. */
40936
40937 #ifdef __STDC__
40938 # include <limits.h>
40939 #else
40940 # include <assert.h>
40941 #endif
40942
40943 #undef gmtime_r
40944
40945 /* Override any gcc2 internal prototype to avoid an error. */
40946 #ifdef __cplusplus
40947 extern "C"
40948 {
40949 #endif
40950 /* We use char because int might match the return type of a gcc2
40951 builtin and then its argument prototype would still apply. */
40952 char gmtime_r ();
40953 /* The GNU C library defines this for functions which it implements
40954 to always fail with ENOSYS. Some functions are actually named
40955 something starting with __ and the normal name is an alias. */
40956 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40957 choke me
40958 #else
40959 char (*f) () = gmtime_r;
40960 #endif
40961 #ifdef __cplusplus
40962 }
40963 #endif
40964
40965 int
40966 main ()
40967 {
40968 return f != gmtime_r;
40969 ;
40970 return 0;
40971 }
40972 _ACEOF
40973 rm -f conftest.$ac_objext conftest$ac_exeext
40974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40975 (eval $ac_link) 2>conftest.er1
40976 ac_status=$?
40977 grep -v '^ *+' conftest.er1 >conftest.err
40978 rm -f conftest.er1
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } &&
40982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40984 (eval $ac_try) 2>&5
40985 ac_status=$?
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); }; } &&
40988 { ac_try='test -s conftest$ac_exeext'
40989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40990 (eval $ac_try) 2>&5
40991 ac_status=$?
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); }; }; then
40994 ac_cv_func_gmtime_r=yes
40995 else
40996 echo "$as_me: failed program was:" >&5
40997 sed 's/^/| /' conftest.$ac_ext >&5
40998
40999 ac_cv_func_gmtime_r=no
41000 fi
41001 rm -f conftest.err conftest.$ac_objext \
41002 conftest$ac_exeext conftest.$ac_ext
41003 fi
41004 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41005 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41006 if test $ac_cv_func_gmtime_r = yes; then
41007 cat >>confdefs.h <<\_ACEOF
41008 #define HAVE_GMTIME_R 1
41009 _ACEOF
41010
41011 fi
41012
41013 echo "$as_me:$LINENO: checking for readdir_r" >&5
41014 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41015 if test "${ac_cv_func_readdir_r+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41017 else
41018 cat >conftest.$ac_ext <<_ACEOF
41019 /* confdefs.h. */
41020 _ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41026 #define readdir_r innocuous_readdir_r
41027
41028 /* System header to define __stub macros and hopefully few prototypes,
41029 which can conflict with char readdir_r (); below.
41030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41031 <limits.h> exists even on freestanding compilers. */
41032
41033 #ifdef __STDC__
41034 # include <limits.h>
41035 #else
41036 # include <assert.h>
41037 #endif
41038
41039 #undef readdir_r
41040
41041 /* Override any gcc2 internal prototype to avoid an error. */
41042 #ifdef __cplusplus
41043 extern "C"
41044 {
41045 #endif
41046 /* We use char because int might match the return type of a gcc2
41047 builtin and then its argument prototype would still apply. */
41048 char readdir_r ();
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41053 choke me
41054 #else
41055 char (*f) () = readdir_r;
41056 #endif
41057 #ifdef __cplusplus
41058 }
41059 #endif
41060
41061 int
41062 main ()
41063 {
41064 return f != readdir_r;
41065 ;
41066 return 0;
41067 }
41068 _ACEOF
41069 rm -f conftest.$ac_objext conftest$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071 (eval $ac_link) 2>conftest.er1
41072 ac_status=$?
41073 grep -v '^ *+' conftest.er1 >conftest.err
41074 rm -f conftest.er1
41075 cat conftest.err >&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } &&
41078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41081 ac_status=$?
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41087 ac_status=$?
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 ac_cv_func_readdir_r=yes
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 ac_cv_func_readdir_r=no
41096 fi
41097 rm -f conftest.err conftest.$ac_objext \
41098 conftest$ac_exeext conftest.$ac_ext
41099 fi
41100 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41101 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41102 if test $ac_cv_func_readdir_r = yes; then
41103 cat >>confdefs.h <<\_ACEOF
41104 #define HAVE_READDIR_R 1
41105 _ACEOF
41106
41107 fi
41108
41109
41110
41111
41112 ac_ext=c
41113 ac_cpp='$CPP $CPPFLAGS'
41114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41117
41118 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41119 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41120
41121 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41122 echo $ECHO_N "(cached) $ECHO_C" >&6
41123 else
41124
41125
41126 ################################################################
41127
41128 ac_cv_func_which_gethostbyname_r=unknown
41129
41130 #
41131 # ONE ARGUMENT (sanity check)
41132 #
41133
41134 # This should fail, as there is no variant of gethostbyname_r() that takes
41135 # a single argument. If it actually compiles, then we can assume that
41136 # netdb.h is not declaring the function, and the compiler is thereby
41137 # assuming an implicit prototype. In which case, we're out of luck.
41138 #
41139 cat >conftest.$ac_ext <<_ACEOF
41140 /* confdefs.h. */
41141 _ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 #include <netdb.h>
41146 int
41147 main ()
41148 {
41149
41150 char *name = "www.gnu.org";
41151 (void)gethostbyname_r(name) /* ; */
41152
41153 ;
41154 return 0;
41155 }
41156 _ACEOF
41157 rm -f conftest.$ac_objext
41158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41159 (eval $ac_compile) 2>conftest.er1
41160 ac_status=$?
41161 grep -v '^ *+' conftest.er1 >conftest.err
41162 rm -f conftest.er1
41163 cat conftest.err >&5
41164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41165 (exit $ac_status); } &&
41166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41168 (eval $ac_try) 2>&5
41169 ac_status=$?
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); }; } &&
41172 { ac_try='test -s conftest.$ac_objext'
41173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41174 (eval $ac_try) 2>&5
41175 ac_status=$?
41176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41177 (exit $ac_status); }; }; then
41178 ac_cv_func_which_gethostbyname_r=no
41179 else
41180 echo "$as_me: failed program was:" >&5
41181 sed 's/^/| /' conftest.$ac_ext >&5
41182
41183 fi
41184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41185
41186 #
41187 # SIX ARGUMENTS
41188 # (e.g. Linux)
41189 #
41190
41191 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41192
41193 cat >conftest.$ac_ext <<_ACEOF
41194 /* confdefs.h. */
41195 _ACEOF
41196 cat confdefs.h >>conftest.$ac_ext
41197 cat >>conftest.$ac_ext <<_ACEOF
41198 /* end confdefs.h. */
41199 #include <netdb.h>
41200 int
41201 main ()
41202 {
41203
41204 char *name = "www.gnu.org";
41205 struct hostent ret, *retp;
41206 char buf[1024];
41207 int buflen = 1024;
41208 int my_h_errno;
41209 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41210
41211 ;
41212 return 0;
41213 }
41214 _ACEOF
41215 rm -f conftest.$ac_objext
41216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41217 (eval $ac_compile) 2>conftest.er1
41218 ac_status=$?
41219 grep -v '^ *+' conftest.er1 >conftest.err
41220 rm -f conftest.er1
41221 cat conftest.err >&5
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); } &&
41224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41226 (eval $ac_try) 2>&5
41227 ac_status=$?
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); }; } &&
41230 { ac_try='test -s conftest.$ac_objext'
41231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41232 (eval $ac_try) 2>&5
41233 ac_status=$?
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); }; }; then
41236 ac_cv_func_which_gethostbyname_r=six
41237 else
41238 echo "$as_me: failed program was:" >&5
41239 sed 's/^/| /' conftest.$ac_ext >&5
41240
41241 fi
41242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41243
41244 fi
41245
41246 #
41247 # FIVE ARGUMENTS
41248 # (e.g. Solaris)
41249 #
41250
41251 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41252
41253 cat >conftest.$ac_ext <<_ACEOF
41254 /* confdefs.h. */
41255 _ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259 #include <netdb.h>
41260 int
41261 main ()
41262 {
41263
41264 char *name = "www.gnu.org";
41265 struct hostent ret;
41266 char buf[1024];
41267 int buflen = 1024;
41268 int my_h_errno;
41269 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41270
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 rm -f conftest.$ac_objext
41276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41277 (eval $ac_compile) 2>conftest.er1
41278 ac_status=$?
41279 grep -v '^ *+' conftest.er1 >conftest.err
41280 rm -f conftest.er1
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } &&
41284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41286 (eval $ac_try) 2>&5
41287 ac_status=$?
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); }; } &&
41290 { ac_try='test -s conftest.$ac_objext'
41291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41292 (eval $ac_try) 2>&5
41293 ac_status=$?
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); }; }; then
41296 ac_cv_func_which_gethostbyname_r=five
41297 else
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.$ac_ext >&5
41300
41301 fi
41302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41303
41304 fi
41305
41306 #
41307 # THREE ARGUMENTS
41308 # (e.g. AIX, HP-UX, Tru64)
41309 #
41310
41311 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41312
41313 cat >conftest.$ac_ext <<_ACEOF
41314 /* confdefs.h. */
41315 _ACEOF
41316 cat confdefs.h >>conftest.$ac_ext
41317 cat >>conftest.$ac_ext <<_ACEOF
41318 /* end confdefs.h. */
41319 #include <netdb.h>
41320 int
41321 main ()
41322 {
41323
41324 char *name = "www.gnu.org";
41325 struct hostent ret;
41326 struct hostent_data data;
41327 (void)gethostbyname_r(name, &ret, &data) /* ; */
41328
41329 ;
41330 return 0;
41331 }
41332 _ACEOF
41333 rm -f conftest.$ac_objext
41334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41335 (eval $ac_compile) 2>conftest.er1
41336 ac_status=$?
41337 grep -v '^ *+' conftest.er1 >conftest.err
41338 rm -f conftest.er1
41339 cat conftest.err >&5
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); } &&
41342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41344 (eval $ac_try) 2>&5
41345 ac_status=$?
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); }; } &&
41348 { ac_try='test -s conftest.$ac_objext'
41349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41350 (eval $ac_try) 2>&5
41351 ac_status=$?
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); }; }; then
41354 ac_cv_func_which_gethostbyname_r=three
41355 else
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.$ac_ext >&5
41358
41359 fi
41360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41361
41362 fi
41363
41364 ################################################################
41365
41366
41367 fi
41368
41369 case "$ac_cv_func_which_gethostbyname_r" in
41370 three)
41371 echo "$as_me:$LINENO: result: three" >&5
41372 echo "${ECHO_T}three" >&6
41373 cat >>confdefs.h <<\_ACEOF
41374 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41375 _ACEOF
41376
41377 ;;
41378
41379 five)
41380 echo "$as_me:$LINENO: result: five" >&5
41381 echo "${ECHO_T}five" >&6
41382 cat >>confdefs.h <<\_ACEOF
41383 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41384 _ACEOF
41385
41386 ;;
41387
41388 six)
41389 echo "$as_me:$LINENO: result: six" >&5
41390 echo "${ECHO_T}six" >&6
41391 cat >>confdefs.h <<\_ACEOF
41392 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41393 _ACEOF
41394
41395 ;;
41396
41397 no)
41398 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41399 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41400 ;;
41401
41402 unknown)
41403 echo "$as_me:$LINENO: result: can't tell" >&5
41404 echo "${ECHO_T}can't tell" >&6
41405 ;;
41406
41407 *)
41408 { { echo "$as_me:$LINENO: error: internal error" >&5
41409 echo "$as_me: error: internal error" >&2;}
41410 { (exit 1); exit 1; }; }
41411 ;;
41412 esac
41413
41414 ac_ext=c
41415 ac_cpp='$CPP $CPPFLAGS'
41416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41419
41420
41421
41422 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41423 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41424 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41425 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41426 if test "${ac_cv_func_gethostbyname+set}" = set; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41428 else
41429 cat >conftest.$ac_ext <<_ACEOF
41430 /* confdefs.h. */
41431 _ACEOF
41432 cat confdefs.h >>conftest.$ac_ext
41433 cat >>conftest.$ac_ext <<_ACEOF
41434 /* end confdefs.h. */
41435 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41437 #define gethostbyname innocuous_gethostbyname
41438
41439 /* System header to define __stub macros and hopefully few prototypes,
41440 which can conflict with char gethostbyname (); below.
41441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41442 <limits.h> exists even on freestanding compilers. */
41443
41444 #ifdef __STDC__
41445 # include <limits.h>
41446 #else
41447 # include <assert.h>
41448 #endif
41449
41450 #undef gethostbyname
41451
41452 /* Override any gcc2 internal prototype to avoid an error. */
41453 #ifdef __cplusplus
41454 extern "C"
41455 {
41456 #endif
41457 /* We use char because int might match the return type of a gcc2
41458 builtin and then its argument prototype would still apply. */
41459 char gethostbyname ();
41460 /* The GNU C library defines this for functions which it implements
41461 to always fail with ENOSYS. Some functions are actually named
41462 something starting with __ and the normal name is an alias. */
41463 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41464 choke me
41465 #else
41466 char (*f) () = gethostbyname;
41467 #endif
41468 #ifdef __cplusplus
41469 }
41470 #endif
41471
41472 int
41473 main ()
41474 {
41475 return f != gethostbyname;
41476 ;
41477 return 0;
41478 }
41479 _ACEOF
41480 rm -f conftest.$ac_objext conftest$ac_exeext
41481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41482 (eval $ac_link) 2>conftest.er1
41483 ac_status=$?
41484 grep -v '^ *+' conftest.er1 >conftest.err
41485 rm -f conftest.er1
41486 cat conftest.err >&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } &&
41489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41491 (eval $ac_try) 2>&5
41492 ac_status=$?
41493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494 (exit $ac_status); }; } &&
41495 { ac_try='test -s conftest$ac_exeext'
41496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41497 (eval $ac_try) 2>&5
41498 ac_status=$?
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); }; }; then
41501 ac_cv_func_gethostbyname=yes
41502 else
41503 echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.$ac_ext >&5
41505
41506 ac_cv_func_gethostbyname=no
41507 fi
41508 rm -f conftest.err conftest.$ac_objext \
41509 conftest$ac_exeext conftest.$ac_ext
41510 fi
41511 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41512 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41513 if test $ac_cv_func_gethostbyname = yes; then
41514 cat >>confdefs.h <<\_ACEOF
41515 #define HAVE_GETHOSTBYNAME 1
41516 _ACEOF
41517
41518 fi
41519
41520 fi
41521
41522 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41523 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41524 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41525 echo $ECHO_N "(cached) $ECHO_C" >&6
41526 else
41527
41528 ac_ext=cc
41529 ac_cpp='$CXXCPP $CPPFLAGS'
41530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41533
41534
41535 cat >conftest.$ac_ext <<_ACEOF
41536 /* confdefs.h. */
41537 _ACEOF
41538 cat confdefs.h >>conftest.$ac_ext
41539 cat >>conftest.$ac_ext <<_ACEOF
41540 /* end confdefs.h. */
41541 #include <netdb.h>
41542 int
41543 main ()
41544 {
41545
41546 char *name;
41547 char *proto;
41548 struct servent *se, *res;
41549 char buffer[2048];
41550 int buflen = 2048;
41551 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41552
41553 ;
41554 return 0;
41555 }
41556 _ACEOF
41557 rm -f conftest.$ac_objext
41558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41559 (eval $ac_compile) 2>conftest.er1
41560 ac_status=$?
41561 grep -v '^ *+' conftest.er1 >conftest.err
41562 rm -f conftest.er1
41563 cat conftest.err >&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } &&
41566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41568 (eval $ac_try) 2>&5
41569 ac_status=$?
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); }; } &&
41572 { ac_try='test -s conftest.$ac_objext'
41573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41574 (eval $ac_try) 2>&5
41575 ac_status=$?
41576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41577 (exit $ac_status); }; }; then
41578 ac_cv_func_which_getservbyname_r=six
41579 else
41580 echo "$as_me: failed program was:" >&5
41581 sed 's/^/| /' conftest.$ac_ext >&5
41582
41583
41584 cat >conftest.$ac_ext <<_ACEOF
41585 /* confdefs.h. */
41586 _ACEOF
41587 cat confdefs.h >>conftest.$ac_ext
41588 cat >>conftest.$ac_ext <<_ACEOF
41589 /* end confdefs.h. */
41590 #include <netdb.h>
41591 int
41592 main ()
41593 {
41594
41595 char *name;
41596 char *proto;
41597 struct servent *se;
41598 char buffer[2048];
41599 int buflen = 2048;
41600 (void) getservbyname_r(name, proto, se, buffer, buflen)
41601
41602 ;
41603 return 0;
41604 }
41605 _ACEOF
41606 rm -f conftest.$ac_objext
41607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41608 (eval $ac_compile) 2>conftest.er1
41609 ac_status=$?
41610 grep -v '^ *+' conftest.er1 >conftest.err
41611 rm -f conftest.er1
41612 cat conftest.err >&5
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); } &&
41615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617 (eval $ac_try) 2>&5
41618 ac_status=$?
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); }; } &&
41621 { ac_try='test -s conftest.$ac_objext'
41622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41623 (eval $ac_try) 2>&5
41624 ac_status=$?
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); }; }; then
41627 ac_cv_func_which_getservbyname_r=five
41628 else
41629 echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41631
41632
41633 cat >conftest.$ac_ext <<_ACEOF
41634 /* confdefs.h. */
41635 _ACEOF
41636 cat confdefs.h >>conftest.$ac_ext
41637 cat >>conftest.$ac_ext <<_ACEOF
41638 /* end confdefs.h. */
41639 #include <netdb.h>
41640 int
41641 main ()
41642 {
41643
41644 char *name;
41645 char *proto;
41646 struct servent *se;
41647 struct servent_data data;
41648 (void) getservbyname_r(name, proto, se, &data);
41649
41650 ;
41651 return 0;
41652 }
41653 _ACEOF
41654 rm -f conftest.$ac_objext
41655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41656 (eval $ac_compile) 2>conftest.er1
41657 ac_status=$?
41658 grep -v '^ *+' conftest.er1 >conftest.err
41659 rm -f conftest.er1
41660 cat conftest.err >&5
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); } &&
41663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41665 (eval $ac_try) 2>&5
41666 ac_status=$?
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); }; } &&
41669 { ac_try='test -s conftest.$ac_objext'
41670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41671 (eval $ac_try) 2>&5
41672 ac_status=$?
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); }; }; then
41675 ac_cv_func_which_getservbyname_r=four
41676 else
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.$ac_ext >&5
41679
41680 ac_cv_func_which_getservbyname_r=no
41681
41682 fi
41683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41684
41685
41686 fi
41687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41688
41689
41690 fi
41691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41692 ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41697
41698
41699
41700 fi
41701 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41702 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41703
41704 if test $ac_cv_func_which_getservbyname_r = six; then
41705 cat >>confdefs.h <<\_ACEOF
41706 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41707 _ACEOF
41708
41709 elif test $ac_cv_func_which_getservbyname_r = five; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41712 _ACEOF
41713
41714 elif test $ac_cv_func_which_getservbyname_r = four; then
41715 cat >>confdefs.h <<\_ACEOF
41716 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41717 _ACEOF
41718
41719 fi
41720
41721
41722 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41723 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41724
41725 for ac_func in getservbyname
41726 do
41727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41728 echo "$as_me:$LINENO: checking for $ac_func" >&5
41729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41730 if eval "test \"\${$as_ac_var+set}\" = set"; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 else
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41741 #define $ac_func innocuous_$ac_func
41742
41743 /* System header to define __stub macros and hopefully few prototypes,
41744 which can conflict with char $ac_func (); below.
41745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41746 <limits.h> exists even on freestanding compilers. */
41747
41748 #ifdef __STDC__
41749 # include <limits.h>
41750 #else
41751 # include <assert.h>
41752 #endif
41753
41754 #undef $ac_func
41755
41756 /* Override any gcc2 internal prototype to avoid an error. */
41757 #ifdef __cplusplus
41758 extern "C"
41759 {
41760 #endif
41761 /* We use char because int might match the return type of a gcc2
41762 builtin and then its argument prototype would still apply. */
41763 char $ac_func ();
41764 /* The GNU C library defines this for functions which it implements
41765 to always fail with ENOSYS. Some functions are actually named
41766 something starting with __ and the normal name is an alias. */
41767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41768 choke me
41769 #else
41770 char (*f) () = $ac_func;
41771 #endif
41772 #ifdef __cplusplus
41773 }
41774 #endif
41775
41776 int
41777 main ()
41778 {
41779 return f != $ac_func;
41780 ;
41781 return 0;
41782 }
41783 _ACEOF
41784 rm -f conftest.$ac_objext conftest$ac_exeext
41785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41786 (eval $ac_link) 2>conftest.er1
41787 ac_status=$?
41788 grep -v '^ *+' conftest.er1 >conftest.err
41789 rm -f conftest.er1
41790 cat conftest.err >&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); } &&
41793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41795 (eval $ac_try) 2>&5
41796 ac_status=$?
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); }; } &&
41799 { ac_try='test -s conftest$ac_exeext'
41800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41801 (eval $ac_try) 2>&5
41802 ac_status=$?
41803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804 (exit $ac_status); }; }; then
41805 eval "$as_ac_var=yes"
41806 else
41807 echo "$as_me: failed program was:" >&5
41808 sed 's/^/| /' conftest.$ac_ext >&5
41809
41810 eval "$as_ac_var=no"
41811 fi
41812 rm -f conftest.err conftest.$ac_objext \
41813 conftest$ac_exeext conftest.$ac_ext
41814 fi
41815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41817 if test `eval echo '${'$as_ac_var'}'` = yes; then
41818 cat >>confdefs.h <<_ACEOF
41819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41820 _ACEOF
41821 cat >>confdefs.h <<\_ACEOF
41822 #define HAVE_GETSERVBYNAME 1
41823 _ACEOF
41824
41825 fi
41826 done
41827
41828 fi
41829
41830 if test "$wxUSE_THREADS" = "yes"; then
41831 cat >>confdefs.h <<\_ACEOF
41832 #define wxUSE_THREADS 1
41833 _ACEOF
41834
41835
41836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41837 else
41838 if test "$wx_cv_func_strtok_r" = "yes"; then
41839 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41840 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41841 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41842 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41843 echo "$as_me:$LINENO: result: yes" >&5
41844 echo "${ECHO_T}yes" >&6
41845 else
41846 echo "$as_me:$LINENO: result: no" >&5
41847 echo "${ECHO_T}no" >&6
41848 fi
41849 fi
41850 fi
41851
41852 if test "$WXGTK20" = 1 ; then
41853 cat >>confdefs.h <<_ACEOF
41854 #define __WXGTK20__ $WXGTK20
41855 _ACEOF
41856
41857 WXGTK12=1
41858 fi
41859
41860 if test "$WXGTK12" = 1 ; then
41861 cat >>confdefs.h <<_ACEOF
41862 #define __WXGTK12__ $WXGTK12
41863 _ACEOF
41864
41865 fi
41866
41867 if test "$WXGTK127" = 1 ; then
41868 cat >>confdefs.h <<_ACEOF
41869 #define __WXGTK127__ $WXGTK127
41870 _ACEOF
41871
41872 fi
41873
41874 if test "$WXGPE" = 1 ; then
41875 cat >>confdefs.h <<_ACEOF
41876 #define __WXGPE__ $WXGPE
41877 _ACEOF
41878
41879 fi
41880
41881 DEBUG_CFLAGS=
41882 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41883 DEBUG_CFLAGS="-g"
41884 wxUSE_OPTIMISE=no
41885 fi
41886
41887 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41888 wxUSE_DEBUG_INFO=yes
41889 if test "$GCC" = yes; then
41890 DEBUG_CFLAGS="-ggdb"
41891 fi
41892 fi
41893
41894 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41895 cat >>confdefs.h <<\_ACEOF
41896 #define WXDEBUG 1
41897 _ACEOF
41898
41899 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41900 else
41901 if test "$wxUSE_GTK" = 1 ; then
41902 if test "x$wxGTK_VERSION" = "x1" ; then
41903 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41904 fi
41905 fi
41906 fi
41907
41908 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_MEMORY_TRACING 1
41911 _ACEOF
41912
41913 cat >>confdefs.h <<\_ACEOF
41914 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41915 _ACEOF
41916
41917 cat >>confdefs.h <<\_ACEOF
41918 #define wxUSE_DEBUG_NEW_ALWAYS 1
41919 _ACEOF
41920
41921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41922 fi
41923
41924 if test "$wxUSE_DMALLOC" = "yes" ; then
41925 DMALLOC_LIBS="-ldmallocthcxx"
41926 fi
41927
41928 PROFILE_FLAGS=
41929 if test "$wxUSE_PROFILE" = "yes" ; then
41930 PROFILE_FLAGS=" -pg"
41931 fi
41932
41933 if test "$GCC" = "yes" ; then
41934 if test "$wxUSE_NO_RTTI" = "yes" ; then
41935 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41936 fi
41937 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41938 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41939 fi
41940 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41941 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41942 fi
41943
41944 case "${host}" in
41945 powerpc*-*-aix* )
41946 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41947 ;;
41948 *-hppa* )
41949 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41950 ;;
41951 esac
41952 fi
41953
41954 OPTIMISE_CFLAGS=
41955 if test "$wxUSE_OPTIMISE" = "no" ; then
41956 if test "$GCC" = yes ; then
41957 OPTIMISE_CFLAGS="-O0"
41958 fi
41959 else
41960 if test "$GCC" = yes ; then
41961 case "${host}" in
41962 *-pc-os2_emx | *-pc-os2-emx )
41963 OPTIMISE_CFLAGS="-O2"
41964 ;;
41965 *)
41966 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41967 ;;
41968 esac
41969 else
41970 OPTIMISE_CFLAGS="-O"
41971 fi
41972 fi
41973
41974
41975 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41976 cat >>confdefs.h <<\_ACEOF
41977 #define WXWIN_COMPATIBILITY_2_4 1
41978 _ACEOF
41979
41980
41981 WXWIN_COMPATIBILITY_2_6="yes"
41982 fi
41983
41984 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41985 cat >>confdefs.h <<\_ACEOF
41986 #define WXWIN_COMPATIBILITY_2_6 1
41987 _ACEOF
41988
41989 fi
41990
41991
41992 if test "$wxUSE_GUI" = "yes"; then
41993 cat >>confdefs.h <<\_ACEOF
41994 #define wxUSE_GUI 1
41995 _ACEOF
41996
41997
41998 fi
41999
42000
42001 if test "$wxUSE_UNIX" = "yes"; then
42002 cat >>confdefs.h <<\_ACEOF
42003 #define wxUSE_UNIX 1
42004 _ACEOF
42005
42006 fi
42007
42008
42009 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42010
42011 HAVE_DL_FUNCS=0
42012 HAVE_SHL_FUNCS=0
42013 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42014 if test "$USE_DARWIN" = 1; then
42015 HAVE_DL_FUNCS=1
42016 elif test "$USE_DOS" = 1; then
42017 HAVE_DL_FUNCS=0
42018 else
42019
42020 for ac_func in dlopen
42021 do
42022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42023 echo "$as_me:$LINENO: checking for $ac_func" >&5
42024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42025 if eval "test \"\${$as_ac_var+set}\" = set"; then
42026 echo $ECHO_N "(cached) $ECHO_C" >&6
42027 else
42028 cat >conftest.$ac_ext <<_ACEOF
42029 /* confdefs.h. */
42030 _ACEOF
42031 cat confdefs.h >>conftest.$ac_ext
42032 cat >>conftest.$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42036 #define $ac_func innocuous_$ac_func
42037
42038 /* System header to define __stub macros and hopefully few prototypes,
42039 which can conflict with char $ac_func (); below.
42040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42041 <limits.h> exists even on freestanding compilers. */
42042
42043 #ifdef __STDC__
42044 # include <limits.h>
42045 #else
42046 # include <assert.h>
42047 #endif
42048
42049 #undef $ac_func
42050
42051 /* Override any gcc2 internal prototype to avoid an error. */
42052 #ifdef __cplusplus
42053 extern "C"
42054 {
42055 #endif
42056 /* We use char because int might match the return type of a gcc2
42057 builtin and then its argument prototype would still apply. */
42058 char $ac_func ();
42059 /* The GNU C library defines this for functions which it implements
42060 to always fail with ENOSYS. Some functions are actually named
42061 something starting with __ and the normal name is an alias. */
42062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42063 choke me
42064 #else
42065 char (*f) () = $ac_func;
42066 #endif
42067 #ifdef __cplusplus
42068 }
42069 #endif
42070
42071 int
42072 main ()
42073 {
42074 return f != $ac_func;
42075 ;
42076 return 0;
42077 }
42078 _ACEOF
42079 rm -f conftest.$ac_objext conftest$ac_exeext
42080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42081 (eval $ac_link) 2>conftest.er1
42082 ac_status=$?
42083 grep -v '^ *+' conftest.er1 >conftest.err
42084 rm -f conftest.er1
42085 cat conftest.err >&5
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); } &&
42088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42090 (eval $ac_try) 2>&5
42091 ac_status=$?
42092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42093 (exit $ac_status); }; } &&
42094 { ac_try='test -s conftest$ac_exeext'
42095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42096 (eval $ac_try) 2>&5
42097 ac_status=$?
42098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); }; }; then
42100 eval "$as_ac_var=yes"
42101 else
42102 echo "$as_me: failed program was:" >&5
42103 sed 's/^/| /' conftest.$ac_ext >&5
42104
42105 eval "$as_ac_var=no"
42106 fi
42107 rm -f conftest.err conftest.$ac_objext \
42108 conftest$ac_exeext conftest.$ac_ext
42109 fi
42110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42112 if test `eval echo '${'$as_ac_var'}'` = yes; then
42113 cat >>confdefs.h <<_ACEOF
42114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42115 _ACEOF
42116
42117 cat >>confdefs.h <<\_ACEOF
42118 #define HAVE_DLOPEN 1
42119 _ACEOF
42120
42121 HAVE_DL_FUNCS=1
42122
42123 else
42124
42125 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42126 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42127 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42128 echo $ECHO_N "(cached) $ECHO_C" >&6
42129 else
42130 ac_check_lib_save_LIBS=$LIBS
42131 LIBS="-ldl $LIBS"
42132 cat >conftest.$ac_ext <<_ACEOF
42133 /* confdefs.h. */
42134 _ACEOF
42135 cat confdefs.h >>conftest.$ac_ext
42136 cat >>conftest.$ac_ext <<_ACEOF
42137 /* end confdefs.h. */
42138
42139 /* Override any gcc2 internal prototype to avoid an error. */
42140 #ifdef __cplusplus
42141 extern "C"
42142 #endif
42143 /* We use char because int might match the return type of a gcc2
42144 builtin and then its argument prototype would still apply. */
42145 char dlopen ();
42146 int
42147 main ()
42148 {
42149 dlopen ();
42150 ;
42151 return 0;
42152 }
42153 _ACEOF
42154 rm -f conftest.$ac_objext conftest$ac_exeext
42155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42156 (eval $ac_link) 2>conftest.er1
42157 ac_status=$?
42158 grep -v '^ *+' conftest.er1 >conftest.err
42159 rm -f conftest.er1
42160 cat conftest.err >&5
42161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162 (exit $ac_status); } &&
42163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42165 (eval $ac_try) 2>&5
42166 ac_status=$?
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; } &&
42169 { ac_try='test -s conftest$ac_exeext'
42170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42171 (eval $ac_try) 2>&5
42172 ac_status=$?
42173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42174 (exit $ac_status); }; }; then
42175 ac_cv_lib_dl_dlopen=yes
42176 else
42177 echo "$as_me: failed program was:" >&5
42178 sed 's/^/| /' conftest.$ac_ext >&5
42179
42180 ac_cv_lib_dl_dlopen=no
42181 fi
42182 rm -f conftest.err conftest.$ac_objext \
42183 conftest$ac_exeext conftest.$ac_ext
42184 LIBS=$ac_check_lib_save_LIBS
42185 fi
42186 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42187 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42188 if test $ac_cv_lib_dl_dlopen = yes; then
42189
42190 cat >>confdefs.h <<\_ACEOF
42191 #define HAVE_DLOPEN 1
42192 _ACEOF
42193
42194 HAVE_DL_FUNCS=1
42195 DL_LINK=" -ldl$DL_LINK"
42196
42197 else
42198
42199
42200 for ac_func in shl_load
42201 do
42202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42203 echo "$as_me:$LINENO: checking for $ac_func" >&5
42204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42205 if eval "test \"\${$as_ac_var+set}\" = set"; then
42206 echo $ECHO_N "(cached) $ECHO_C" >&6
42207 else
42208 cat >conftest.$ac_ext <<_ACEOF
42209 /* confdefs.h. */
42210 _ACEOF
42211 cat confdefs.h >>conftest.$ac_ext
42212 cat >>conftest.$ac_ext <<_ACEOF
42213 /* end confdefs.h. */
42214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42216 #define $ac_func innocuous_$ac_func
42217
42218 /* System header to define __stub macros and hopefully few prototypes,
42219 which can conflict with char $ac_func (); below.
42220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42221 <limits.h> exists even on freestanding compilers. */
42222
42223 #ifdef __STDC__
42224 # include <limits.h>
42225 #else
42226 # include <assert.h>
42227 #endif
42228
42229 #undef $ac_func
42230
42231 /* Override any gcc2 internal prototype to avoid an error. */
42232 #ifdef __cplusplus
42233 extern "C"
42234 {
42235 #endif
42236 /* We use char because int might match the return type of a gcc2
42237 builtin and then its argument prototype would still apply. */
42238 char $ac_func ();
42239 /* The GNU C library defines this for functions which it implements
42240 to always fail with ENOSYS. Some functions are actually named
42241 something starting with __ and the normal name is an alias. */
42242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42243 choke me
42244 #else
42245 char (*f) () = $ac_func;
42246 #endif
42247 #ifdef __cplusplus
42248 }
42249 #endif
42250
42251 int
42252 main ()
42253 {
42254 return f != $ac_func;
42255 ;
42256 return 0;
42257 }
42258 _ACEOF
42259 rm -f conftest.$ac_objext conftest$ac_exeext
42260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42261 (eval $ac_link) 2>conftest.er1
42262 ac_status=$?
42263 grep -v '^ *+' conftest.er1 >conftest.err
42264 rm -f conftest.er1
42265 cat conftest.err >&5
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); } &&
42268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42270 (eval $ac_try) 2>&5
42271 ac_status=$?
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); }; } &&
42274 { ac_try='test -s conftest$ac_exeext'
42275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42276 (eval $ac_try) 2>&5
42277 ac_status=$?
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); }; }; then
42280 eval "$as_ac_var=yes"
42281 else
42282 echo "$as_me: failed program was:" >&5
42283 sed 's/^/| /' conftest.$ac_ext >&5
42284
42285 eval "$as_ac_var=no"
42286 fi
42287 rm -f conftest.err conftest.$ac_objext \
42288 conftest$ac_exeext conftest.$ac_ext
42289 fi
42290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42292 if test `eval echo '${'$as_ac_var'}'` = yes; then
42293 cat >>confdefs.h <<_ACEOF
42294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42295 _ACEOF
42296
42297 cat >>confdefs.h <<\_ACEOF
42298 #define HAVE_SHL_LOAD 1
42299 _ACEOF
42300
42301 HAVE_SHL_FUNCS=1
42302
42303 else
42304
42305 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42306 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42307 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42308 echo $ECHO_N "(cached) $ECHO_C" >&6
42309 else
42310 ac_check_lib_save_LIBS=$LIBS
42311 LIBS="-lshl_load $LIBS"
42312 cat >conftest.$ac_ext <<_ACEOF
42313 /* confdefs.h. */
42314 _ACEOF
42315 cat confdefs.h >>conftest.$ac_ext
42316 cat >>conftest.$ac_ext <<_ACEOF
42317 /* end confdefs.h. */
42318
42319 /* Override any gcc2 internal prototype to avoid an error. */
42320 #ifdef __cplusplus
42321 extern "C"
42322 #endif
42323 /* We use char because int might match the return type of a gcc2
42324 builtin and then its argument prototype would still apply. */
42325 char dld ();
42326 int
42327 main ()
42328 {
42329 dld ();
42330 ;
42331 return 0;
42332 }
42333 _ACEOF
42334 rm -f conftest.$ac_objext conftest$ac_exeext
42335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42336 (eval $ac_link) 2>conftest.er1
42337 ac_status=$?
42338 grep -v '^ *+' conftest.er1 >conftest.err
42339 rm -f conftest.er1
42340 cat conftest.err >&5
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); } &&
42343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42345 (eval $ac_try) 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; } &&
42349 { ac_try='test -s conftest$ac_exeext'
42350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42351 (eval $ac_try) 2>&5
42352 ac_status=$?
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); }; }; then
42355 ac_cv_lib_shl_load_dld=yes
42356 else
42357 echo "$as_me: failed program was:" >&5
42358 sed 's/^/| /' conftest.$ac_ext >&5
42359
42360 ac_cv_lib_shl_load_dld=no
42361 fi
42362 rm -f conftest.err conftest.$ac_objext \
42363 conftest$ac_exeext conftest.$ac_ext
42364 LIBS=$ac_check_lib_save_LIBS
42365 fi
42366 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42367 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42368 if test $ac_cv_lib_shl_load_dld = yes; then
42369
42370 HAVE_SHL_FUNCS=1
42371 DL_LINK=" -ldld$DL_LINK"
42372
42373 fi
42374
42375
42376 fi
42377 done
42378
42379
42380 fi
42381
42382
42383 fi
42384 done
42385
42386
42387 if test "$HAVE_DL_FUNCS" = 1; then
42388
42389 for ac_func in dlerror
42390 do
42391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42392 echo "$as_me:$LINENO: checking for $ac_func" >&5
42393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42394 if eval "test \"\${$as_ac_var+set}\" = set"; then
42395 echo $ECHO_N "(cached) $ECHO_C" >&6
42396 else
42397 cat >conftest.$ac_ext <<_ACEOF
42398 /* confdefs.h. */
42399 _ACEOF
42400 cat confdefs.h >>conftest.$ac_ext
42401 cat >>conftest.$ac_ext <<_ACEOF
42402 /* end confdefs.h. */
42403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42405 #define $ac_func innocuous_$ac_func
42406
42407 /* System header to define __stub macros and hopefully few prototypes,
42408 which can conflict with char $ac_func (); below.
42409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42410 <limits.h> exists even on freestanding compilers. */
42411
42412 #ifdef __STDC__
42413 # include <limits.h>
42414 #else
42415 # include <assert.h>
42416 #endif
42417
42418 #undef $ac_func
42419
42420 /* Override any gcc2 internal prototype to avoid an error. */
42421 #ifdef __cplusplus
42422 extern "C"
42423 {
42424 #endif
42425 /* We use char because int might match the return type of a gcc2
42426 builtin and then its argument prototype would still apply. */
42427 char $ac_func ();
42428 /* The GNU C library defines this for functions which it implements
42429 to always fail with ENOSYS. Some functions are actually named
42430 something starting with __ and the normal name is an alias. */
42431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42432 choke me
42433 #else
42434 char (*f) () = $ac_func;
42435 #endif
42436 #ifdef __cplusplus
42437 }
42438 #endif
42439
42440 int
42441 main ()
42442 {
42443 return f != $ac_func;
42444 ;
42445 return 0;
42446 }
42447 _ACEOF
42448 rm -f conftest.$ac_objext conftest$ac_exeext
42449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42450 (eval $ac_link) 2>conftest.er1
42451 ac_status=$?
42452 grep -v '^ *+' conftest.er1 >conftest.err
42453 rm -f conftest.er1
42454 cat conftest.err >&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } &&
42457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42459 (eval $ac_try) 2>&5
42460 ac_status=$?
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); }; } &&
42463 { ac_try='test -s conftest$ac_exeext'
42464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465 (eval $ac_try) 2>&5
42466 ac_status=$?
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); }; }; then
42469 eval "$as_ac_var=yes"
42470 else
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.$ac_ext >&5
42473
42474 eval "$as_ac_var=no"
42475 fi
42476 rm -f conftest.err conftest.$ac_objext \
42477 conftest$ac_exeext conftest.$ac_ext
42478 fi
42479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42481 if test `eval echo '${'$as_ac_var'}'` = yes; then
42482 cat >>confdefs.h <<_ACEOF
42483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42484 _ACEOF
42485 cat >>confdefs.h <<\_ACEOF
42486 #define HAVE_DLERROR 1
42487 _ACEOF
42488
42489 else
42490
42491 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42492 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42493 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 else
42496 ac_check_lib_save_LIBS=$LIBS
42497 LIBS="-ldl $LIBS"
42498 cat >conftest.$ac_ext <<_ACEOF
42499 /* confdefs.h. */
42500 _ACEOF
42501 cat confdefs.h >>conftest.$ac_ext
42502 cat >>conftest.$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42504
42505 /* Override any gcc2 internal prototype to avoid an error. */
42506 #ifdef __cplusplus
42507 extern "C"
42508 #endif
42509 /* We use char because int might match the return type of a gcc2
42510 builtin and then its argument prototype would still apply. */
42511 char dlerror ();
42512 int
42513 main ()
42514 {
42515 dlerror ();
42516 ;
42517 return 0;
42518 }
42519 _ACEOF
42520 rm -f conftest.$ac_objext conftest$ac_exeext
42521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42522 (eval $ac_link) 2>conftest.er1
42523 ac_status=$?
42524 grep -v '^ *+' conftest.er1 >conftest.err
42525 rm -f conftest.er1
42526 cat conftest.err >&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } &&
42529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try='test -s conftest$ac_exeext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42538 ac_status=$?
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 ac_cv_lib_dl_dlerror=yes
42542 else
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42545
42546 ac_cv_lib_dl_dlerror=no
42547 fi
42548 rm -f conftest.err conftest.$ac_objext \
42549 conftest$ac_exeext conftest.$ac_ext
42550 LIBS=$ac_check_lib_save_LIBS
42551 fi
42552 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42553 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42554 if test $ac_cv_lib_dl_dlerror = yes; then
42555 cat >>confdefs.h <<\_ACEOF
42556 #define HAVE_DLERROR 1
42557 _ACEOF
42558
42559 fi
42560
42561
42562
42563 fi
42564 done
42565
42566 fi
42567 fi
42568
42569 if test "$HAVE_DL_FUNCS" = 0; then
42570 if test "$HAVE_SHL_FUNCS" = 0; then
42571 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42572 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42573 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42574 wxUSE_DYNAMIC_LOADER=no
42575 wxUSE_DYNLIB_CLASS=no
42576 else
42577 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42578 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42579 fi
42580 fi
42581 fi
42582 fi
42583 fi
42584
42585 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_DYNAMIC_LOADER 1
42588 _ACEOF
42589
42590 fi
42591 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define wxUSE_DYNLIB_CLASS 1
42594 _ACEOF
42595
42596 fi
42597
42598
42599
42600 if test "$wxUSE_PLUGINS" = "yes" ; then
42601 if test "$wxUSE_SHARED" = "no" ; then
42602 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42603 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42604 wxUSE_PLUGINS=no
42605 fi
42606 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42607 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42608 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42609 wxUSE_PLUGINS=no
42610 fi
42611 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42612 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42613 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42614 wxUSE_PLUGINS=no
42615 fi
42616 if test "$wxUSE_PLUGINS" = "yes" ; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_PLUGINS 1
42619 _ACEOF
42620
42621 fi
42622 fi
42623
42624
42625 if test "$wxUSE_STL" = "yes"; then
42626 cat >>confdefs.h <<\_ACEOF
42627 #define wxUSE_STL 1
42628 _ACEOF
42629
42630 fi
42631
42632 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_APPLE_IEEE 1
42635 _ACEOF
42636
42637 fi
42638
42639 if test "$wxUSE_TIMER" = "yes"; then
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_TIMER 1
42642 _ACEOF
42643
42644 fi
42645
42646 if test "$USE_UNIX" = "1" ; then
42647 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42648 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42649 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42650 echo $ECHO_N "(cached) $ECHO_C" >&6
42651 else
42652
42653 cat >conftest.$ac_ext <<_ACEOF
42654 /* confdefs.h. */
42655 _ACEOF
42656 cat confdefs.h >>conftest.$ac_ext
42657 cat >>conftest.$ac_ext <<_ACEOF
42658 /* end confdefs.h. */
42659
42660 #include <sys/ioctl.h>
42661 #include <sys/soundcard.h>
42662
42663 int
42664 main ()
42665 {
42666
42667 ioctl(0, SNDCTL_DSP_SPEED, 0);
42668
42669 ;
42670 return 0;
42671 }
42672 _ACEOF
42673 rm -f conftest.$ac_objext conftest$ac_exeext
42674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42675 (eval $ac_link) 2>conftest.er1
42676 ac_status=$?
42677 grep -v '^ *+' conftest.er1 >conftest.err
42678 rm -f conftest.er1
42679 cat conftest.err >&5
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); } &&
42682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42684 (eval $ac_try) 2>&5
42685 ac_status=$?
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); }; } &&
42688 { ac_try='test -s conftest$ac_exeext'
42689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42690 (eval $ac_try) 2>&5
42691 ac_status=$?
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); }; }; then
42694 ac_cv_header_sys_soundcard=yes
42695 else
42696 echo "$as_me: failed program was:" >&5
42697 sed 's/^/| /' conftest.$ac_ext >&5
42698
42699
42700 saveLibs="$LIBS"
42701 LIBS="$saveLibs -lossaudio"
42702 cat >conftest.$ac_ext <<_ACEOF
42703 /* confdefs.h. */
42704 _ACEOF
42705 cat confdefs.h >>conftest.$ac_ext
42706 cat >>conftest.$ac_ext <<_ACEOF
42707 /* end confdefs.h. */
42708
42709 #include <sys/ioctl.h>
42710 #include <sys/soundcard.h>
42711
42712 int
42713 main ()
42714 {
42715
42716 ioctl(0, SNDCTL_DSP_SPEED, 0);
42717
42718 ;
42719 return 0;
42720 }
42721 _ACEOF
42722 rm -f conftest.$ac_objext conftest$ac_exeext
42723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42724 (eval $ac_link) 2>conftest.er1
42725 ac_status=$?
42726 grep -v '^ *+' conftest.er1 >conftest.err
42727 rm -f conftest.er1
42728 cat conftest.err >&5
42729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730 (exit $ac_status); } &&
42731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42733 (eval $ac_try) 2>&5
42734 ac_status=$?
42735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42736 (exit $ac_status); }; } &&
42737 { ac_try='test -s conftest$ac_exeext'
42738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42739 (eval $ac_try) 2>&5
42740 ac_status=$?
42741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42742 (exit $ac_status); }; }; then
42743 ac_cv_header_sys_soundcard=yes
42744 else
42745 echo "$as_me: failed program was:" >&5
42746 sed 's/^/| /' conftest.$ac_ext >&5
42747
42748
42749 LIBS="$saveLibs"
42750 ac_cv_header_sys_soundcard=no
42751
42752
42753 fi
42754 rm -f conftest.err conftest.$ac_objext \
42755 conftest$ac_exeext conftest.$ac_ext
42756
42757
42758 fi
42759 rm -f conftest.err conftest.$ac_objext \
42760 conftest$ac_exeext conftest.$ac_ext
42761
42762 fi
42763 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42764 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42765
42766 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42767 cat >>confdefs.h <<\_ACEOF
42768 #define HAVE_SYS_SOUNDCARD_H 1
42769 _ACEOF
42770
42771 else
42772 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42773 fi
42774 fi
42775 WITH_PLUGIN_SDL=0
42776 if test "$wxUSE_SOUND" = "yes"; then
42777 if test "$USE_UNIX" = "1" ; then
42778 if test "$wxUSE_LIBSDL" != "no"; then
42779
42780 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42781 if test "${with_sdl_prefix+set}" = set; then
42782 withval="$with_sdl_prefix"
42783 sdl_prefix="$withval"
42784 else
42785 sdl_prefix=""
42786 fi;
42787
42788 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42789 if test "${with_sdl_exec_prefix+set}" = set; then
42790 withval="$with_sdl_exec_prefix"
42791 sdl_exec_prefix="$withval"
42792 else
42793 sdl_exec_prefix=""
42794 fi;
42795 # Check whether --enable-sdltest or --disable-sdltest was given.
42796 if test "${enable_sdltest+set}" = set; then
42797 enableval="$enable_sdltest"
42798
42799 else
42800 enable_sdltest=yes
42801 fi;
42802
42803 if test x$sdl_exec_prefix != x ; then
42804 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42805 if test x${SDL_CONFIG+set} != xset ; then
42806 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42807 fi
42808 fi
42809 if test x$sdl_prefix != x ; then
42810 sdl_args="$sdl_args --prefix=$sdl_prefix"
42811 if test x${SDL_CONFIG+set} != xset ; then
42812 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42813 fi
42814 fi
42815
42816 if test "x$prefix" != xNONE; then
42817 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42818 fi
42819 # Extract the first word of "sdl-config", so it can be a program name with args.
42820 set dummy sdl-config; ac_word=$2
42821 echo "$as_me:$LINENO: checking for $ac_word" >&5
42822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42823 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42824 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 else
42826 case $SDL_CONFIG in
42827 [\\/]* | ?:[\\/]*)
42828 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42829 ;;
42830 *)
42831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42832 for as_dir in $PATH
42833 do
42834 IFS=$as_save_IFS
42835 test -z "$as_dir" && as_dir=.
42836 for ac_exec_ext in '' $ac_executable_extensions; do
42837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42838 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42840 break 2
42841 fi
42842 done
42843 done
42844
42845 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42846 ;;
42847 esac
42848 fi
42849 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42850
42851 if test -n "$SDL_CONFIG"; then
42852 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42853 echo "${ECHO_T}$SDL_CONFIG" >&6
42854 else
42855 echo "$as_me:$LINENO: result: no" >&5
42856 echo "${ECHO_T}no" >&6
42857 fi
42858
42859 min_sdl_version=1.2.0
42860 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42861 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42862 no_sdl=""
42863 if test "$SDL_CONFIG" = "no" ; then
42864 no_sdl=yes
42865 else
42866 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42867 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42868
42869 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42871 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42873 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42875 if test "x$enable_sdltest" = "xyes" ; then
42876 ac_save_CFLAGS="$CFLAGS"
42877 ac_save_CXXFLAGS="$CXXFLAGS"
42878 ac_save_LIBS="$LIBS"
42879 CFLAGS="$CFLAGS $SDL_CFLAGS"
42880 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42881 LIBS="$LIBS $SDL_LIBS"
42882 rm -f conf.sdltest
42883 if test "$cross_compiling" = yes; then
42884 echo $ac_n "cross compiling; assumed OK... $ac_c"
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
42893 #include <stdio.h>
42894 #include <stdlib.h>
42895 #include <string.h>
42896 #include "SDL.h"
42897
42898 char*
42899 my_strdup (char *str)
42900 {
42901 char *new_str;
42902
42903 if (str)
42904 {
42905 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42906 strcpy (new_str, str);
42907 }
42908 else
42909 new_str = NULL;
42910
42911 return new_str;
42912 }
42913
42914 int main (int argc, char *argv[])
42915 {
42916 int major, minor, micro;
42917 char *tmp_version;
42918
42919 /* This hangs on some systems (?)
42920 system ("touch conf.sdltest");
42921 */
42922 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42923
42924 /* HP/UX 9 (%@#!) writes to sscanf strings */
42925 tmp_version = my_strdup("$min_sdl_version");
42926 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42927 printf("%s, bad version string\n", "$min_sdl_version");
42928 exit(1);
42929 }
42930
42931 if (($sdl_major_version > major) ||
42932 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42933 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42934 {
42935 return 0;
42936 }
42937 else
42938 {
42939 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42940 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42941 printf("*** best to upgrade to the required version.\n");
42942 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42943 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42944 printf("*** config.cache before re-running configure\n");
42945 return 1;
42946 }
42947 }
42948
42949
42950 _ACEOF
42951 rm -f conftest$ac_exeext
42952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42953 (eval $ac_link) 2>&5
42954 ac_status=$?
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42958 (eval $ac_try) 2>&5
42959 ac_status=$?
42960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42961 (exit $ac_status); }; }; then
42962 :
42963 else
42964 echo "$as_me: program exited with status $ac_status" >&5
42965 echo "$as_me: failed program was:" >&5
42966 sed 's/^/| /' conftest.$ac_ext >&5
42967
42968 ( exit $ac_status )
42969 no_sdl=yes
42970 fi
42971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42972 fi
42973 CFLAGS="$ac_save_CFLAGS"
42974 CXXFLAGS="$ac_save_CXXFLAGS"
42975 LIBS="$ac_save_LIBS"
42976 fi
42977 fi
42978 if test "x$no_sdl" = x ; then
42979 echo "$as_me:$LINENO: result: yes" >&5
42980 echo "${ECHO_T}yes" >&6
42981
42982 EXTRALIBS_SDL="$SDL_LIBS"
42983 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42984 cat >>confdefs.h <<\_ACEOF
42985 #define wxUSE_LIBSDL 1
42986 _ACEOF
42987
42988
42989 else
42990 echo "$as_me:$LINENO: result: no" >&5
42991 echo "${ECHO_T}no" >&6
42992 if test "$SDL_CONFIG" = "no" ; then
42993 echo "*** The sdl-config script installed by SDL could not be found"
42994 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42995 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42996 echo "*** full path to sdl-config."
42997 else
42998 if test -f conf.sdltest ; then
42999 :
43000 else
43001 echo "*** Could not run SDL test program, checking why..."
43002 CFLAGS="$CFLAGS $SDL_CFLAGS"
43003 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43004 LIBS="$LIBS $SDL_LIBS"
43005 cat >conftest.$ac_ext <<_ACEOF
43006 /* confdefs.h. */
43007 _ACEOF
43008 cat confdefs.h >>conftest.$ac_ext
43009 cat >>conftest.$ac_ext <<_ACEOF
43010 /* end confdefs.h. */
43011
43012 #include <stdio.h>
43013 #include "SDL.h"
43014
43015 int main(int argc, char *argv[])
43016 { return 0; }
43017 #undef main
43018 #define main K_and_R_C_main
43019
43020 int
43021 main ()
43022 {
43023 return 0;
43024 ;
43025 return 0;
43026 }
43027 _ACEOF
43028 rm -f conftest.$ac_objext conftest$ac_exeext
43029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43030 (eval $ac_link) 2>conftest.er1
43031 ac_status=$?
43032 grep -v '^ *+' conftest.er1 >conftest.err
43033 rm -f conftest.er1
43034 cat conftest.err >&5
43035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43036 (exit $ac_status); } &&
43037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43039 (eval $ac_try) 2>&5
43040 ac_status=$?
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); }; } &&
43043 { ac_try='test -s conftest$ac_exeext'
43044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43045 (eval $ac_try) 2>&5
43046 ac_status=$?
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; }; then
43049 echo "*** The test program compiled, but did not run. This usually means"
43050 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43051 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43052 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43053 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43054 echo "*** is required on your system"
43055 echo "***"
43056 echo "*** If you have an old version installed, it is best to remove it, although"
43057 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43058 else
43059 echo "$as_me: failed program was:" >&5
43060 sed 's/^/| /' conftest.$ac_ext >&5
43061
43062 echo "*** The test program failed to compile or link. See the file config.log for the"
43063 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43064 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43065 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43066 fi
43067 rm -f conftest.err conftest.$ac_objext \
43068 conftest$ac_exeext conftest.$ac_ext
43069 CFLAGS="$ac_save_CFLAGS"
43070 CXXFLAGS="$ac_save_CXXFLAGS"
43071 LIBS="$ac_save_LIBS"
43072 fi
43073 fi
43074 SDL_CFLAGS=""
43075 SDL_LIBS=""
43076 wxUSE_LIBSDL="no"
43077 fi
43078
43079
43080 rm -f conf.sdltest
43081
43082 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43083 WITH_PLUGIN_SDL=1
43084 fi
43085 fi
43086 else
43087 if test "$wxUSE_MGL" = 1; then
43088 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43089 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43090 wxUSE_SOUND="no"
43091 fi
43092 fi
43093 fi
43094
43095 if test "$wxUSE_SOUND" = "yes"; then
43096 cat >>confdefs.h <<\_ACEOF
43097 #define wxUSE_SOUND 1
43098 _ACEOF
43099
43100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43101 fi
43102
43103 if test "$WXGTK20" = 1; then
43104
43105
43106 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43107 if test -n "$ac_tool_prefix"; then
43108 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43109 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43110 echo "$as_me:$LINENO: checking for $ac_word" >&5
43111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43112 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43113 echo $ECHO_N "(cached) $ECHO_C" >&6
43114 else
43115 case $PKG_CONFIG in
43116 [\\/]* | ?:[\\/]*)
43117 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43118 ;;
43119 *)
43120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43121 for as_dir in $PATH
43122 do
43123 IFS=$as_save_IFS
43124 test -z "$as_dir" && as_dir=.
43125 for ac_exec_ext in '' $ac_executable_extensions; do
43126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43127 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43129 break 2
43130 fi
43131 done
43132 done
43133
43134 ;;
43135 esac
43136 fi
43137 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43138
43139 if test -n "$PKG_CONFIG"; then
43140 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43141 echo "${ECHO_T}$PKG_CONFIG" >&6
43142 else
43143 echo "$as_me:$LINENO: result: no" >&5
43144 echo "${ECHO_T}no" >&6
43145 fi
43146
43147 fi
43148 if test -z "$ac_cv_path_PKG_CONFIG"; then
43149 ac_pt_PKG_CONFIG=$PKG_CONFIG
43150 # Extract the first word of "pkg-config", so it can be a program name with args.
43151 set dummy pkg-config; ac_word=$2
43152 echo "$as_me:$LINENO: checking for $ac_word" >&5
43153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43154 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43155 echo $ECHO_N "(cached) $ECHO_C" >&6
43156 else
43157 case $ac_pt_PKG_CONFIG in
43158 [\\/]* | ?:[\\/]*)
43159 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43160 ;;
43161 *)
43162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43163 for as_dir in $PATH
43164 do
43165 IFS=$as_save_IFS
43166 test -z "$as_dir" && as_dir=.
43167 for ac_exec_ext in '' $ac_executable_extensions; do
43168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43169 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43171 break 2
43172 fi
43173 done
43174 done
43175
43176 ;;
43177 esac
43178 fi
43179 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43180
43181 if test -n "$ac_pt_PKG_CONFIG"; then
43182 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43183 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43184 else
43185 echo "$as_me:$LINENO: result: no" >&5
43186 echo "${ECHO_T}no" >&6
43187 fi
43188
43189 PKG_CONFIG=$ac_pt_PKG_CONFIG
43190 else
43191 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43192 fi
43193
43194 fi
43195 if test -n "$PKG_CONFIG"; then
43196 _pkg_min_version=0.9.0
43197 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43198 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43199 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43200 echo "$as_me:$LINENO: result: yes" >&5
43201 echo "${ECHO_T}yes" >&6
43202 else
43203 echo "$as_me:$LINENO: result: no" >&5
43204 echo "${ECHO_T}no" >&6
43205 PKG_CONFIG=""
43206 fi
43207
43208 fi
43209
43210 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43211 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43212
43213
43214 pkg_failed=no
43215 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43216 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43217
43218 if test -n "$PKG_CONFIG"; then
43219 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43220 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43221 else
43222 if test -n "$PKG_CONFIG" && \
43223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43224 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43225 ac_status=$?
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); }; then
43228 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43229 else
43230 pkg_failed=yes
43231 fi
43232 fi
43233 else
43234 pkg_failed=untried
43235 fi
43236 if test -n "$PKG_CONFIG"; then
43237 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43238 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43239 else
43240 if test -n "$PKG_CONFIG" && \
43241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43242 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43243 ac_status=$?
43244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43245 (exit $ac_status); }; then
43246 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43247 else
43248 pkg_failed=yes
43249 fi
43250 fi
43251 else
43252 pkg_failed=untried
43253 fi
43254
43255
43256
43257 if test $pkg_failed = yes; then
43258
43259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43260 _pkg_short_errors_supported=yes
43261 else
43262 _pkg_short_errors_supported=no
43263 fi
43264 if test $_pkg_short_errors_supported = yes; then
43265 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43266 else
43267 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43268 fi
43269 # Put the nasty error message in config.log where it belongs
43270 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43271
43272
43273 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43274 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43275 wxUSE_LIBGNOMEPRINT="no"
43276
43277
43278 elif test $pkg_failed = untried; then
43279
43280 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43281 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43282 wxUSE_LIBGNOMEPRINT="no"
43283
43284
43285 else
43286 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43287 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43288 echo "$as_me:$LINENO: result: yes" >&5
43289 echo "${ECHO_T}yes" >&6
43290
43291 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43292 cat >>confdefs.h <<\_ACEOF
43293 #define wxUSE_LIBGNOMEPRINT 1
43294 _ACEOF
43295
43296
43297 fi
43298 fi
43299 fi
43300
43301 if test "$wxUSE_MIMETYPE" = "yes" ; then
43302 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43303
43304
43305 pkg_failed=no
43306 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43307 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43308
43309 if test -n "$PKG_CONFIG"; then
43310 if test -n "$GNOMEVFS_CFLAGS"; then
43311 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43312 else
43313 if test -n "$PKG_CONFIG" && \
43314 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43315 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43316 ac_status=$?
43317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318 (exit $ac_status); }; then
43319 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43320 else
43321 pkg_failed=yes
43322 fi
43323 fi
43324 else
43325 pkg_failed=untried
43326 fi
43327 if test -n "$PKG_CONFIG"; then
43328 if test -n "$GNOMEVFS_LIBS"; then
43329 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43330 else
43331 if test -n "$PKG_CONFIG" && \
43332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43333 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43334 ac_status=$?
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); }; then
43337 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43338 else
43339 pkg_failed=yes
43340 fi
43341 fi
43342 else
43343 pkg_failed=untried
43344 fi
43345
43346
43347
43348 if test $pkg_failed = yes; then
43349
43350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43351 _pkg_short_errors_supported=yes
43352 else
43353 _pkg_short_errors_supported=no
43354 fi
43355 if test $_pkg_short_errors_supported = yes; then
43356 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43357 else
43358 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43359 fi
43360 # Put the nasty error message in config.log where it belongs
43361 echo "$GNOMEVFS_PKG_ERRORS" >&5
43362
43363
43364 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43365 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43366 wxUSE_LIBGNOMEVFS="no"
43367
43368
43369 elif test $pkg_failed = untried; then
43370
43371 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43372 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43373 wxUSE_LIBGNOMEVFS="no"
43374
43375
43376 else
43377 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43378 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43379 echo "$as_me:$LINENO: result: yes" >&5
43380 echo "${ECHO_T}yes" >&6
43381
43382 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_LIBGNOMEVFS 1
43385 _ACEOF
43386
43387
43388 fi
43389 fi
43390 fi
43391
43392 if test "$wxUSE_LIBHILDON" = "yes" ; then
43393
43394 pkg_failed=no
43395 echo "$as_me:$LINENO: checking for HILDON" >&5
43396 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43397
43398 if test -n "$PKG_CONFIG"; then
43399 if test -n "$HILDON_CFLAGS"; then
43400 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43401 else
43402 if test -n "$PKG_CONFIG" && \
43403 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43404 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43405 ac_status=$?
43406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407 (exit $ac_status); }; then
43408 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43409 else
43410 pkg_failed=yes
43411 fi
43412 fi
43413 else
43414 pkg_failed=untried
43415 fi
43416 if test -n "$PKG_CONFIG"; then
43417 if test -n "$HILDON_LIBS"; then
43418 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43419 else
43420 if test -n "$PKG_CONFIG" && \
43421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43422 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43423 ac_status=$?
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); }; then
43426 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43427 else
43428 pkg_failed=yes
43429 fi
43430 fi
43431 else
43432 pkg_failed=untried
43433 fi
43434
43435
43436
43437 if test $pkg_failed = yes; then
43438
43439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43440 _pkg_short_errors_supported=yes
43441 else
43442 _pkg_short_errors_supported=no
43443 fi
43444 if test $_pkg_short_errors_supported = yes; then
43445 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43446 else
43447 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43448 fi
43449 # Put the nasty error message in config.log where it belongs
43450 echo "$HILDON_PKG_ERRORS" >&5
43451
43452
43453 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43454 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43455 wxUSE_LIBHILDON="no"
43456
43457
43458 elif test $pkg_failed = untried; then
43459
43460 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43461 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43462 wxUSE_LIBHILDON="no"
43463
43464
43465 else
43466 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43467 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43468 echo "$as_me:$LINENO: result: yes" >&5
43469 echo "${ECHO_T}yes" >&6
43470
43471 EXTRALIBS_HILDON="$HILDON_LIBS"
43472 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43473 cat >>confdefs.h <<\_ACEOF
43474 #define wxUSE_LIBHILDON 1
43475 _ACEOF
43476
43477
43478 fi
43479 fi
43480 fi
43481
43482 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define wxUSE_CMDLINE_PARSER 1
43485 _ACEOF
43486
43487 fi
43488
43489 if test "$wxUSE_STOPWATCH" = "yes"; then
43490 cat >>confdefs.h <<\_ACEOF
43491 #define wxUSE_STOPWATCH 1
43492 _ACEOF
43493
43494 fi
43495
43496 if test "$wxUSE_DATETIME" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_DATETIME 1
43499 _ACEOF
43500
43501 fi
43502
43503 if test "$wxUSE_FILE" = "yes"; then
43504 cat >>confdefs.h <<\_ACEOF
43505 #define wxUSE_FILE 1
43506 _ACEOF
43507
43508 fi
43509
43510 if test "$wxUSE_FFILE" = "yes"; then
43511 cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_FFILE 1
43513 _ACEOF
43514
43515 fi
43516
43517 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43518 if test "$wxUSE_STREAMS" != yes; then
43519 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43520 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43521 wxUSE_ARCHIVE_STREAMS=no
43522 else
43523 cat >>confdefs.h <<\_ACEOF
43524 #define wxUSE_ARCHIVE_STREAMS 1
43525 _ACEOF
43526
43527 fi
43528 fi
43529
43530 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43531 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43532 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43533 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43534 elif test "$wxUSE_ZLIB" = "no"; then
43535 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43536 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43537 else
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_ZIPSTREAM 1
43540 _ACEOF
43541
43542 fi
43543 fi
43544
43545 if test "$wxUSE_TARSTREAM" = "yes"; then
43546 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43547 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43548 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43549 else
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_TARSTREAM 1
43552 _ACEOF
43553
43554 fi
43555 fi
43556
43557 if test "$wxUSE_FILESYSTEM" = "yes"; then
43558 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43559 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43560 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43561 wxUSE_FILESYSTEM=no
43562 else
43563 cat >>confdefs.h <<\_ACEOF
43564 #define wxUSE_FILESYSTEM 1
43565 _ACEOF
43566
43567 fi
43568 fi
43569
43570 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43571 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43572 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43573 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43574 else
43575 cat >>confdefs.h <<\_ACEOF
43576 #define wxUSE_FS_ARCHIVE 1
43577 _ACEOF
43578
43579 fi
43580 fi
43581
43582 if test "$wxUSE_FS_ZIP" = "yes"; then
43583 if test "$wxUSE_FS_ARCHIVE" != yes; then
43584 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43585 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43586 else
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_FS_ZIP 1
43589 _ACEOF
43590
43591 fi
43592 fi
43593
43594 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43595 if test "$USE_UNIX" != 1; then
43596 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43597 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43598 wxUSE_ON_FATAL_EXCEPTION=no
43599 else
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_ON_FATAL_EXCEPTION 1
43602 _ACEOF
43603
43604 fi
43605 fi
43606
43607 if test "$wxUSE_STACKWALKER" = "yes"; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxUSE_STACKWALKER 1
43610 _ACEOF
43611
43612 fi
43613
43614 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43615 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43616 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43617 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43618 wxUSE_DEBUGREPORT=no
43619 else
43620 cat >>confdefs.h <<\_ACEOF
43621 #define wxUSE_DEBUGREPORT 1
43622 _ACEOF
43623
43624 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43626 fi
43627 fi
43628 fi
43629
43630 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43631 cat >>confdefs.h <<\_ACEOF
43632 #define wxUSE_SNGLINST_CHECKER 1
43633 _ACEOF
43634
43635 fi
43636
43637 if test "$wxUSE_BUSYINFO" = "yes"; then
43638 cat >>confdefs.h <<\_ACEOF
43639 #define wxUSE_BUSYINFO 1
43640 _ACEOF
43641
43642 fi
43643
43644 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43645 cat >>confdefs.h <<\_ACEOF
43646 #define wxUSE_STD_IOSTREAM 1
43647 _ACEOF
43648
43649 fi
43650
43651 if test "$wxUSE_STD_STRING" = "yes"; then
43652 cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_STD_STRING 1
43654 _ACEOF
43655
43656 fi
43657
43658 if test "$wxUSE_STDPATHS" = "yes"; then
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_STDPATHS 1
43661 _ACEOF
43662
43663 fi
43664
43665 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_TEXTBUFFER 1
43668 _ACEOF
43669
43670 fi
43671
43672 if test "$wxUSE_TEXTFILE" = "yes"; then
43673 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43674 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43675 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43676 else
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_TEXTFILE 1
43679 _ACEOF
43680
43681 fi
43682 fi
43683
43684 if test "$wxUSE_CONFIG" = "yes" ; then
43685 if test "$wxUSE_TEXTFILE" != "yes"; then
43686 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43687 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43688 else
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_CONFIG 1
43691 _ACEOF
43692
43693 cat >>confdefs.h <<\_ACEOF
43694 #define wxUSE_CONFIG_NATIVE 1
43695 _ACEOF
43696
43697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43698 fi
43699 fi
43700
43701 if test "$wxUSE_INTL" = "yes" ; then
43702 if test "$wxUSE_FILE" != "yes"; then
43703 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43704 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43705 else
43706 cat >>confdefs.h <<\_ACEOF
43707 #define wxUSE_INTL 1
43708 _ACEOF
43709
43710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43711 GUIDIST="$GUIDIST INTL_DIST"
43712 fi
43713 fi
43714
43715 if test "$wxUSE_LOG" = "yes"; then
43716 cat >>confdefs.h <<\_ACEOF
43717 #define wxUSE_LOG 1
43718 _ACEOF
43719
43720
43721 if test "$wxUSE_LOGGUI" = "yes"; then
43722 cat >>confdefs.h <<\_ACEOF
43723 #define wxUSE_LOGGUI 1
43724 _ACEOF
43725
43726 fi
43727
43728 if test "$wxUSE_LOGWINDOW" = "yes"; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define wxUSE_LOGWINDOW 1
43731 _ACEOF
43732
43733 fi
43734
43735 if test "$wxUSE_LOGDIALOG" = "yes"; then
43736 cat >>confdefs.h <<\_ACEOF
43737 #define wxUSE_LOG_DIALOG 1
43738 _ACEOF
43739
43740 fi
43741
43742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43743 fi
43744
43745 if test "$wxUSE_LONGLONG" = "yes"; then
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_LONGLONG 1
43748 _ACEOF
43749
43750 fi
43751
43752 if test "$wxUSE_GEOMETRY" = "yes"; then
43753 cat >>confdefs.h <<\_ACEOF
43754 #define wxUSE_GEOMETRY 1
43755 _ACEOF
43756
43757 fi
43758
43759 if test "$wxUSE_STREAMS" = "yes" ; then
43760 cat >>confdefs.h <<\_ACEOF
43761 #define wxUSE_STREAMS 1
43762 _ACEOF
43763
43764 fi
43765
43766 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_PRINTF_POS_PARAMS 1
43769 _ACEOF
43770
43771 fi
43772
43773
43774
43775 if test "$wxUSE_DATETIME" = "yes"; then
43776
43777 for ac_func in strptime
43778 do
43779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43780 echo "$as_me:$LINENO: checking for $ac_func" >&5
43781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43782 if eval "test \"\${$as_ac_var+set}\" = set"; then
43783 echo $ECHO_N "(cached) $ECHO_C" >&6
43784 else
43785 cat >conftest.$ac_ext <<_ACEOF
43786 /* confdefs.h. */
43787 _ACEOF
43788 cat confdefs.h >>conftest.$ac_ext
43789 cat >>conftest.$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43793 #define $ac_func innocuous_$ac_func
43794
43795 /* System header to define __stub macros and hopefully few prototypes,
43796 which can conflict with char $ac_func (); below.
43797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43798 <limits.h> exists even on freestanding compilers. */
43799
43800 #ifdef __STDC__
43801 # include <limits.h>
43802 #else
43803 # include <assert.h>
43804 #endif
43805
43806 #undef $ac_func
43807
43808 /* Override any gcc2 internal prototype to avoid an error. */
43809 #ifdef __cplusplus
43810 extern "C"
43811 {
43812 #endif
43813 /* We use char because int might match the return type of a gcc2
43814 builtin and then its argument prototype would still apply. */
43815 char $ac_func ();
43816 /* The GNU C library defines this for functions which it implements
43817 to always fail with ENOSYS. Some functions are actually named
43818 something starting with __ and the normal name is an alias. */
43819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43820 choke me
43821 #else
43822 char (*f) () = $ac_func;
43823 #endif
43824 #ifdef __cplusplus
43825 }
43826 #endif
43827
43828 int
43829 main ()
43830 {
43831 return f != $ac_func;
43832 ;
43833 return 0;
43834 }
43835 _ACEOF
43836 rm -f conftest.$ac_objext conftest$ac_exeext
43837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43838 (eval $ac_link) 2>conftest.er1
43839 ac_status=$?
43840 grep -v '^ *+' conftest.er1 >conftest.err
43841 rm -f conftest.er1
43842 cat conftest.err >&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); } &&
43845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43847 (eval $ac_try) 2>&5
43848 ac_status=$?
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); }; } &&
43851 { ac_try='test -s conftest$ac_exeext'
43852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43853 (eval $ac_try) 2>&5
43854 ac_status=$?
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); }; }; then
43857 eval "$as_ac_var=yes"
43858 else
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43861
43862 eval "$as_ac_var=no"
43863 fi
43864 rm -f conftest.err conftest.$ac_objext \
43865 conftest$ac_exeext conftest.$ac_ext
43866 fi
43867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43869 if test `eval echo '${'$as_ac_var'}'` = yes; then
43870 cat >>confdefs.h <<_ACEOF
43871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43872 _ACEOF
43873
43874 fi
43875 done
43876
43877 if test "$ac_cv_func_strptime" = "yes"; then
43878 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43879 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43880 if test "${wx_cv_func_strptime_decl+set}" = set; then
43881 echo $ECHO_N "(cached) $ECHO_C" >&6
43882 else
43883
43884 cat >conftest.$ac_ext <<_ACEOF
43885 /* confdefs.h. */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43890
43891 #include <time.h>
43892
43893 int
43894 main ()
43895 {
43896
43897 struct tm t;
43898 strptime("foo", "bar", &t);
43899
43900 ;
43901 return 0;
43902 }
43903 _ACEOF
43904 rm -f conftest.$ac_objext
43905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43906 (eval $ac_compile) 2>conftest.er1
43907 ac_status=$?
43908 grep -v '^ *+' conftest.er1 >conftest.err
43909 rm -f conftest.er1
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } &&
43913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43915 (eval $ac_try) 2>&5
43916 ac_status=$?
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); }; } &&
43919 { ac_try='test -s conftest.$ac_objext'
43920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43921 (eval $ac_try) 2>&5
43922 ac_status=$?
43923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924 (exit $ac_status); }; }; then
43925 wx_cv_func_strptime_decl=yes
43926 else
43927 echo "$as_me: failed program was:" >&5
43928 sed 's/^/| /' conftest.$ac_ext >&5
43929
43930 wx_cv_func_strptime_decl=no
43931
43932 fi
43933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43934
43935
43936 fi
43937 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43938 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43939 fi
43940 if test "$wx_cv_func_strptime_decl" = "yes"; then
43941 cat >>confdefs.h <<\_ACEOF
43942 #define HAVE_STRPTIME_DECL 1
43943 _ACEOF
43944
43945 fi
43946
43947 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43948 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43949 if test "${wx_cv_var_timezone+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 else
43952
43953 cat >conftest.$ac_ext <<_ACEOF
43954 /* confdefs.h. */
43955 _ACEOF
43956 cat confdefs.h >>conftest.$ac_ext
43957 cat >>conftest.$ac_ext <<_ACEOF
43958 /* end confdefs.h. */
43959
43960 #include <time.h>
43961
43962 int
43963 main ()
43964 {
43965
43966 int tz;
43967 tz = timezone;
43968
43969 ;
43970 return 0;
43971 }
43972 _ACEOF
43973 rm -f conftest.$ac_objext
43974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43975 (eval $ac_compile) 2>conftest.er1
43976 ac_status=$?
43977 grep -v '^ *+' conftest.er1 >conftest.err
43978 rm -f conftest.er1
43979 cat conftest.err >&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } &&
43982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43985 ac_status=$?
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; } &&
43988 { ac_try='test -s conftest.$ac_objext'
43989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43990 (eval $ac_try) 2>&5
43991 ac_status=$?
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994
43995 wx_cv_var_timezone=timezone
43996
43997 else
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44000
44001
44002 cat >conftest.$ac_ext <<_ACEOF
44003 /* confdefs.h. */
44004 _ACEOF
44005 cat confdefs.h >>conftest.$ac_ext
44006 cat >>conftest.$ac_ext <<_ACEOF
44007 /* end confdefs.h. */
44008
44009 #include <time.h>
44010
44011 int
44012 main ()
44013 {
44014
44015 int tz;
44016 tz = _timezone;
44017
44018 ;
44019 return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44024 (eval $ac_compile) 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44034 ac_status=$?
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; } &&
44037 { ac_try='test -s conftest.$ac_objext'
44038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44039 (eval $ac_try) 2>&5
44040 ac_status=$?
44041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44042 (exit $ac_status); }; }; then
44043
44044 wx_cv_var_timezone=_timezone
44045
44046 else
44047 echo "$as_me: failed program was:" >&5
44048 sed 's/^/| /' conftest.$ac_ext >&5
44049
44050
44051 cat >conftest.$ac_ext <<_ACEOF
44052 /* confdefs.h. */
44053 _ACEOF
44054 cat confdefs.h >>conftest.$ac_ext
44055 cat >>conftest.$ac_ext <<_ACEOF
44056 /* end confdefs.h. */
44057
44058 #include <time.h>
44059
44060 int
44061 main ()
44062 {
44063
44064 int tz;
44065 tz = __timezone;
44066
44067 ;
44068 return 0;
44069 }
44070 _ACEOF
44071 rm -f conftest.$ac_objext
44072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44073 (eval $ac_compile) 2>conftest.er1
44074 ac_status=$?
44075 grep -v '^ *+' conftest.er1 >conftest.err
44076 rm -f conftest.er1
44077 cat conftest.err >&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); } &&
44080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082 (eval $ac_try) 2>&5
44083 ac_status=$?
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); }; } &&
44086 { ac_try='test -s conftest.$ac_objext'
44087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44088 (eval $ac_try) 2>&5
44089 ac_status=$?
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); }; }; then
44092
44093 wx_cv_var_timezone=__timezone
44094
44095 else
44096 echo "$as_me: failed program was:" >&5
44097 sed 's/^/| /' conftest.$ac_ext >&5
44098
44099
44100 if test "$USE_DOS" = 0 ; then
44101 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44102 echo "$as_me: WARNING: no timezone variable" >&2;}
44103 fi
44104
44105
44106 fi
44107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44108
44109
44110 fi
44111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44112
44113
44114 fi
44115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44116
44117
44118 fi
44119 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44120 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44121
44122 if test "x$wx_cv_var_timezone" != x ; then
44123 cat >>confdefs.h <<_ACEOF
44124 #define WX_TIMEZONE $wx_cv_var_timezone
44125 _ACEOF
44126
44127 fi
44128
44129
44130 for ac_func in localtime
44131 do
44132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44133 echo "$as_me:$LINENO: checking for $ac_func" >&5
44134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44135 if eval "test \"\${$as_ac_var+set}\" = set"; then
44136 echo $ECHO_N "(cached) $ECHO_C" >&6
44137 else
44138 cat >conftest.$ac_ext <<_ACEOF
44139 /* confdefs.h. */
44140 _ACEOF
44141 cat confdefs.h >>conftest.$ac_ext
44142 cat >>conftest.$ac_ext <<_ACEOF
44143 /* end confdefs.h. */
44144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44146 #define $ac_func innocuous_$ac_func
44147
44148 /* System header to define __stub macros and hopefully few prototypes,
44149 which can conflict with char $ac_func (); below.
44150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44151 <limits.h> exists even on freestanding compilers. */
44152
44153 #ifdef __STDC__
44154 # include <limits.h>
44155 #else
44156 # include <assert.h>
44157 #endif
44158
44159 #undef $ac_func
44160
44161 /* Override any gcc2 internal prototype to avoid an error. */
44162 #ifdef __cplusplus
44163 extern "C"
44164 {
44165 #endif
44166 /* We use char because int might match the return type of a gcc2
44167 builtin and then its argument prototype would still apply. */
44168 char $ac_func ();
44169 /* The GNU C library defines this for functions which it implements
44170 to always fail with ENOSYS. Some functions are actually named
44171 something starting with __ and the normal name is an alias. */
44172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44173 choke me
44174 #else
44175 char (*f) () = $ac_func;
44176 #endif
44177 #ifdef __cplusplus
44178 }
44179 #endif
44180
44181 int
44182 main ()
44183 {
44184 return f != $ac_func;
44185 ;
44186 return 0;
44187 }
44188 _ACEOF
44189 rm -f conftest.$ac_objext conftest$ac_exeext
44190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44191 (eval $ac_link) 2>conftest.er1
44192 ac_status=$?
44193 grep -v '^ *+' conftest.er1 >conftest.err
44194 rm -f conftest.er1
44195 cat conftest.err >&5
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); } &&
44198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44200 (eval $ac_try) 2>&5
44201 ac_status=$?
44202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203 (exit $ac_status); }; } &&
44204 { ac_try='test -s conftest$ac_exeext'
44205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44206 (eval $ac_try) 2>&5
44207 ac_status=$?
44208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209 (exit $ac_status); }; }; then
44210 eval "$as_ac_var=yes"
44211 else
44212 echo "$as_me: failed program was:" >&5
44213 sed 's/^/| /' conftest.$ac_ext >&5
44214
44215 eval "$as_ac_var=no"
44216 fi
44217 rm -f conftest.err conftest.$ac_objext \
44218 conftest$ac_exeext conftest.$ac_ext
44219 fi
44220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44222 if test `eval echo '${'$as_ac_var'}'` = yes; then
44223 cat >>confdefs.h <<_ACEOF
44224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44225 _ACEOF
44226
44227 fi
44228 done
44229
44230
44231 if test "$ac_cv_func_localtime" = "yes"; then
44232 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44233 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44234 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44236 else
44237
44238 cat >conftest.$ac_ext <<_ACEOF
44239 /* confdefs.h. */
44240 _ACEOF
44241 cat confdefs.h >>conftest.$ac_ext
44242 cat >>conftest.$ac_ext <<_ACEOF
44243 /* end confdefs.h. */
44244
44245 #include <time.h>
44246
44247 int
44248 main ()
44249 {
44250
44251 struct tm tm;
44252 tm.tm_gmtoff++;
44253
44254 ;
44255 return 0;
44256 }
44257 _ACEOF
44258 rm -f conftest.$ac_objext
44259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44260 (eval $ac_compile) 2>conftest.er1
44261 ac_status=$?
44262 grep -v '^ *+' conftest.er1 >conftest.err
44263 rm -f conftest.er1
44264 cat conftest.err >&5
44265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44266 (exit $ac_status); } &&
44267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44269 (eval $ac_try) 2>&5
44270 ac_status=$?
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); }; } &&
44273 { ac_try='test -s conftest.$ac_objext'
44274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44275 (eval $ac_try) 2>&5
44276 ac_status=$?
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); }; }; then
44279
44280 wx_cv_struct_tm_has_gmtoff=yes
44281
44282 else
44283 echo "$as_me: failed program was:" >&5
44284 sed 's/^/| /' conftest.$ac_ext >&5
44285
44286 wx_cv_struct_tm_has_gmtoff=no
44287
44288 fi
44289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44290
44291 fi
44292 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44293 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44294 fi
44295
44296 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44297 cat >>confdefs.h <<\_ACEOF
44298 #define WX_GMTOFF_IN_TM 1
44299 _ACEOF
44300
44301 fi
44302
44303
44304
44305 for ac_func in gettimeofday ftime
44306 do
44307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44308 echo "$as_me:$LINENO: checking for $ac_func" >&5
44309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44310 if eval "test \"\${$as_ac_var+set}\" = set"; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 else
44313 cat >conftest.$ac_ext <<_ACEOF
44314 /* confdefs.h. */
44315 _ACEOF
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h. */
44319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44321 #define $ac_func innocuous_$ac_func
44322
44323 /* System header to define __stub macros and hopefully few prototypes,
44324 which can conflict with char $ac_func (); below.
44325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44326 <limits.h> exists even on freestanding compilers. */
44327
44328 #ifdef __STDC__
44329 # include <limits.h>
44330 #else
44331 # include <assert.h>
44332 #endif
44333
44334 #undef $ac_func
44335
44336 /* Override any gcc2 internal prototype to avoid an error. */
44337 #ifdef __cplusplus
44338 extern "C"
44339 {
44340 #endif
44341 /* We use char because int might match the return type of a gcc2
44342 builtin and then its argument prototype would still apply. */
44343 char $ac_func ();
44344 /* The GNU C library defines this for functions which it implements
44345 to always fail with ENOSYS. Some functions are actually named
44346 something starting with __ and the normal name is an alias. */
44347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44348 choke me
44349 #else
44350 char (*f) () = $ac_func;
44351 #endif
44352 #ifdef __cplusplus
44353 }
44354 #endif
44355
44356 int
44357 main ()
44358 {
44359 return f != $ac_func;
44360 ;
44361 return 0;
44362 }
44363 _ACEOF
44364 rm -f conftest.$ac_objext conftest$ac_exeext
44365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44366 (eval $ac_link) 2>conftest.er1
44367 ac_status=$?
44368 grep -v '^ *+' conftest.er1 >conftest.err
44369 rm -f conftest.er1
44370 cat conftest.err >&5
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); } &&
44373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44375 (eval $ac_try) 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; } &&
44379 { ac_try='test -s conftest$ac_exeext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44382 ac_status=$?
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44385 eval "$as_ac_var=yes"
44386 else
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44389
44390 eval "$as_ac_var=no"
44391 fi
44392 rm -f conftest.err conftest.$ac_objext \
44393 conftest$ac_exeext conftest.$ac_ext
44394 fi
44395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44397 if test `eval echo '${'$as_ac_var'}'` = yes; then
44398 cat >>confdefs.h <<_ACEOF
44399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44400 _ACEOF
44401 break
44402 fi
44403 done
44404
44405
44406 if test "$ac_cv_func_gettimeofday" = "yes"; then
44407 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44408 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44409 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44410 echo $ECHO_N "(cached) $ECHO_C" >&6
44411 else
44412
44413 cat >conftest.$ac_ext <<_ACEOF
44414 /* confdefs.h. */
44415 _ACEOF
44416 cat confdefs.h >>conftest.$ac_ext
44417 cat >>conftest.$ac_ext <<_ACEOF
44418 /* end confdefs.h. */
44419
44420 #include <sys/time.h>
44421 #include <unistd.h>
44422
44423 int
44424 main ()
44425 {
44426
44427 struct timeval tv;
44428 gettimeofday(&tv, NULL);
44429
44430 ;
44431 return 0;
44432 }
44433 _ACEOF
44434 rm -f conftest.$ac_objext
44435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44436 (eval $ac_compile) 2>conftest.er1
44437 ac_status=$?
44438 grep -v '^ *+' conftest.er1 >conftest.err
44439 rm -f conftest.er1
44440 cat conftest.err >&5
44441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442 (exit $ac_status); } &&
44443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44445 (eval $ac_try) 2>&5
44446 ac_status=$?
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); }; } &&
44449 { ac_try='test -s conftest.$ac_objext'
44450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44451 (eval $ac_try) 2>&5
44452 ac_status=$?
44453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44454 (exit $ac_status); }; }; then
44455 wx_cv_func_gettimeofday_has_2_args=yes
44456 else
44457 echo "$as_me: failed program was:" >&5
44458 sed 's/^/| /' conftest.$ac_ext >&5
44459
44460 cat >conftest.$ac_ext <<_ACEOF
44461 /* confdefs.h. */
44462 _ACEOF
44463 cat confdefs.h >>conftest.$ac_ext
44464 cat >>conftest.$ac_ext <<_ACEOF
44465 /* end confdefs.h. */
44466
44467 #include <sys/time.h>
44468 #include <unistd.h>
44469
44470 int
44471 main ()
44472 {
44473
44474 struct timeval tv;
44475 gettimeofday(&tv);
44476
44477 ;
44478 return 0;
44479 }
44480 _ACEOF
44481 rm -f conftest.$ac_objext
44482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44483 (eval $ac_compile) 2>conftest.er1
44484 ac_status=$?
44485 grep -v '^ *+' conftest.er1 >conftest.err
44486 rm -f conftest.er1
44487 cat conftest.err >&5
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); } &&
44490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44492 (eval $ac_try) 2>&5
44493 ac_status=$?
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); }; } &&
44496 { ac_try='test -s conftest.$ac_objext'
44497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44498 (eval $ac_try) 2>&5
44499 ac_status=$?
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); }; }; then
44502 wx_cv_func_gettimeofday_has_2_args=no
44503 else
44504 echo "$as_me: failed program was:" >&5
44505 sed 's/^/| /' conftest.$ac_ext >&5
44506
44507
44508 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44509 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44510 wx_cv_func_gettimeofday_has_2_args=unknown
44511
44512
44513 fi
44514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44515
44516 fi
44517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44518
44519 fi
44520 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44521 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44522
44523 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44524 cat >>confdefs.h <<\_ACEOF
44525 #define WX_GETTIMEOFDAY_NO_TZ 1
44526 _ACEOF
44527
44528 fi
44529 fi
44530
44531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44532 fi
44533
44534
44535 if test "$wxUSE_SOCKETS" = "yes"; then
44536 if test "$wxUSE_MGL" = "1"; then
44537 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44538 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44539 wxUSE_SOCKETS="no"
44540 fi
44541 fi
44542
44543 if test "$wxUSE_SOCKETS" = "yes"; then
44544 if test "$TOOLKIT" != "MSW"; then
44545 echo "$as_me:$LINENO: checking for socket" >&5
44546 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44547 if test "${ac_cv_func_socket+set}" = set; then
44548 echo $ECHO_N "(cached) $ECHO_C" >&6
44549 else
44550 cat >conftest.$ac_ext <<_ACEOF
44551 /* confdefs.h. */
44552 _ACEOF
44553 cat confdefs.h >>conftest.$ac_ext
44554 cat >>conftest.$ac_ext <<_ACEOF
44555 /* end confdefs.h. */
44556 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44558 #define socket innocuous_socket
44559
44560 /* System header to define __stub macros and hopefully few prototypes,
44561 which can conflict with char socket (); below.
44562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44563 <limits.h> exists even on freestanding compilers. */
44564
44565 #ifdef __STDC__
44566 # include <limits.h>
44567 #else
44568 # include <assert.h>
44569 #endif
44570
44571 #undef socket
44572
44573 /* Override any gcc2 internal prototype to avoid an error. */
44574 #ifdef __cplusplus
44575 extern "C"
44576 {
44577 #endif
44578 /* We use char because int might match the return type of a gcc2
44579 builtin and then its argument prototype would still apply. */
44580 char socket ();
44581 /* The GNU C library defines this for functions which it implements
44582 to always fail with ENOSYS. Some functions are actually named
44583 something starting with __ and the normal name is an alias. */
44584 #if defined (__stub_socket) || defined (__stub___socket)
44585 choke me
44586 #else
44587 char (*f) () = socket;
44588 #endif
44589 #ifdef __cplusplus
44590 }
44591 #endif
44592
44593 int
44594 main ()
44595 {
44596 return f != socket;
44597 ;
44598 return 0;
44599 }
44600 _ACEOF
44601 rm -f conftest.$ac_objext conftest$ac_exeext
44602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44603 (eval $ac_link) 2>conftest.er1
44604 ac_status=$?
44605 grep -v '^ *+' conftest.er1 >conftest.err
44606 rm -f conftest.er1
44607 cat conftest.err >&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); } &&
44610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44612 (eval $ac_try) 2>&5
44613 ac_status=$?
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); }; } &&
44616 { ac_try='test -s conftest$ac_exeext'
44617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44618 (eval $ac_try) 2>&5
44619 ac_status=$?
44620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44621 (exit $ac_status); }; }; then
44622 ac_cv_func_socket=yes
44623 else
44624 echo "$as_me: failed program was:" >&5
44625 sed 's/^/| /' conftest.$ac_ext >&5
44626
44627 ac_cv_func_socket=no
44628 fi
44629 rm -f conftest.err conftest.$ac_objext \
44630 conftest$ac_exeext conftest.$ac_ext
44631 fi
44632 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44633 echo "${ECHO_T}$ac_cv_func_socket" >&6
44634 if test $ac_cv_func_socket = yes; then
44635 :
44636 else
44637
44638 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44639 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44640 if test "${ac_cv_lib_socket_socket+set}" = set; then
44641 echo $ECHO_N "(cached) $ECHO_C" >&6
44642 else
44643 ac_check_lib_save_LIBS=$LIBS
44644 LIBS="-lsocket $LIBS"
44645 cat >conftest.$ac_ext <<_ACEOF
44646 /* confdefs.h. */
44647 _ACEOF
44648 cat confdefs.h >>conftest.$ac_ext
44649 cat >>conftest.$ac_ext <<_ACEOF
44650 /* end confdefs.h. */
44651
44652 /* Override any gcc2 internal prototype to avoid an error. */
44653 #ifdef __cplusplus
44654 extern "C"
44655 #endif
44656 /* We use char because int might match the return type of a gcc2
44657 builtin and then its argument prototype would still apply. */
44658 char socket ();
44659 int
44660 main ()
44661 {
44662 socket ();
44663 ;
44664 return 0;
44665 }
44666 _ACEOF
44667 rm -f conftest.$ac_objext conftest$ac_exeext
44668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44669 (eval $ac_link) 2>conftest.er1
44670 ac_status=$?
44671 grep -v '^ *+' conftest.er1 >conftest.err
44672 rm -f conftest.er1
44673 cat conftest.err >&5
44674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675 (exit $ac_status); } &&
44676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44678 (eval $ac_try) 2>&5
44679 ac_status=$?
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); }; } &&
44682 { ac_try='test -s conftest$ac_exeext'
44683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44684 (eval $ac_try) 2>&5
44685 ac_status=$?
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); }; }; then
44688 ac_cv_lib_socket_socket=yes
44689 else
44690 echo "$as_me: failed program was:" >&5
44691 sed 's/^/| /' conftest.$ac_ext >&5
44692
44693 ac_cv_lib_socket_socket=no
44694 fi
44695 rm -f conftest.err conftest.$ac_objext \
44696 conftest$ac_exeext conftest.$ac_ext
44697 LIBS=$ac_check_lib_save_LIBS
44698 fi
44699 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44700 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44701 if test $ac_cv_lib_socket_socket = yes; then
44702 if test "$INET_LINK" != " -lsocket"; then
44703 INET_LINK="$INET_LINK -lsocket"
44704 fi
44705 else
44706
44707 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44708 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44709 wxUSE_SOCKETS=no
44710
44711
44712 fi
44713
44714
44715
44716 fi
44717
44718 fi
44719 fi
44720
44721 if test "$wxUSE_SOCKETS" = "yes" ; then
44722 if test "$TOOLKIT" != "MSW"; then
44723 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44724 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44725 if test "${wx_cv_type_getsockname3+set}" = set; then
44726 echo $ECHO_N "(cached) $ECHO_C" >&6
44727 else
44728
44729 cat >conftest.$ac_ext <<_ACEOF
44730 /* confdefs.h. */
44731 _ACEOF
44732 cat confdefs.h >>conftest.$ac_ext
44733 cat >>conftest.$ac_ext <<_ACEOF
44734 /* end confdefs.h. */
44735
44736 #include <sys/types.h>
44737 #include <sys/socket.h>
44738
44739 int
44740 main ()
44741 {
44742
44743 socklen_t len;
44744 getsockname(0, 0, &len);
44745
44746 ;
44747 return 0;
44748 }
44749 _ACEOF
44750 rm -f conftest.$ac_objext
44751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44752 (eval $ac_compile) 2>conftest.er1
44753 ac_status=$?
44754 grep -v '^ *+' conftest.er1 >conftest.err
44755 rm -f conftest.er1
44756 cat conftest.err >&5
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); } &&
44759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44761 (eval $ac_try) 2>&5
44762 ac_status=$?
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); }; } &&
44765 { ac_try='test -s conftest.$ac_objext'
44766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44767 (eval $ac_try) 2>&5
44768 ac_status=$?
44769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44770 (exit $ac_status); }; }; then
44771 wx_cv_type_getsockname3=socklen_t
44772 else
44773 echo "$as_me: failed program was:" >&5
44774 sed 's/^/| /' conftest.$ac_ext >&5
44775
44776
44777 CXXFLAGS_OLD="$CXXFLAGS"
44778 if test "$GCC" = yes ; then
44779 CXXFLAGS="-Werror $CXXFLAGS"
44780 fi
44781
44782 cat >conftest.$ac_ext <<_ACEOF
44783 /* confdefs.h. */
44784 _ACEOF
44785 cat confdefs.h >>conftest.$ac_ext
44786 cat >>conftest.$ac_ext <<_ACEOF
44787 /* end confdefs.h. */
44788
44789 #include <sys/types.h>
44790 #include <sys/socket.h>
44791
44792 int
44793 main ()
44794 {
44795
44796 size_t len;
44797 getsockname(0, 0, &len);
44798
44799 ;
44800 return 0;
44801 }
44802 _ACEOF
44803 rm -f conftest.$ac_objext
44804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44805 (eval $ac_compile) 2>conftest.er1
44806 ac_status=$?
44807 grep -v '^ *+' conftest.er1 >conftest.err
44808 rm -f conftest.er1
44809 cat conftest.err >&5
44810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811 (exit $ac_status); } &&
44812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44814 (eval $ac_try) 2>&5
44815 ac_status=$?
44816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44817 (exit $ac_status); }; } &&
44818 { ac_try='test -s conftest.$ac_objext'
44819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44820 (eval $ac_try) 2>&5
44821 ac_status=$?
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); }; }; then
44824 wx_cv_type_getsockname3=size_t
44825 else
44826 echo "$as_me: failed program was:" >&5
44827 sed 's/^/| /' conftest.$ac_ext >&5
44828
44829 cat >conftest.$ac_ext <<_ACEOF
44830 /* confdefs.h. */
44831 _ACEOF
44832 cat confdefs.h >>conftest.$ac_ext
44833 cat >>conftest.$ac_ext <<_ACEOF
44834 /* end confdefs.h. */
44835
44836 #include <sys/types.h>
44837 #include <sys/socket.h>
44838
44839 int
44840 main ()
44841 {
44842
44843 int len;
44844 getsockname(0, 0, &len);
44845
44846 ;
44847 return 0;
44848 }
44849 _ACEOF
44850 rm -f conftest.$ac_objext
44851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44852 (eval $ac_compile) 2>conftest.er1
44853 ac_status=$?
44854 grep -v '^ *+' conftest.er1 >conftest.err
44855 rm -f conftest.er1
44856 cat conftest.err >&5
44857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44858 (exit $ac_status); } &&
44859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44861 (eval $ac_try) 2>&5
44862 ac_status=$?
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); }; } &&
44865 { ac_try='test -s conftest.$ac_objext'
44866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44867 (eval $ac_try) 2>&5
44868 ac_status=$?
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); }; }; then
44871 wx_cv_type_getsockname3=int
44872 else
44873 echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44875
44876 wx_cv_type_getsockname3=unknown
44877
44878 fi
44879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44880
44881 fi
44882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44883
44884 CXXFLAGS="$CXXFLAGS_OLD"
44885
44886
44887 fi
44888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44889
44890 fi
44891 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44892 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44893
44894 if test "$wx_cv_type_getsockname3" = "unknown"; then
44895 wxUSE_SOCKETS=no
44896 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44897 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44898 else
44899 cat >>confdefs.h <<_ACEOF
44900 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44901 _ACEOF
44902
44903 fi
44904 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44905 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44906 if test "${wx_cv_type_getsockopt5+set}" = set; then
44907 echo $ECHO_N "(cached) $ECHO_C" >&6
44908 else
44909
44910 cat >conftest.$ac_ext <<_ACEOF
44911 /* confdefs.h. */
44912 _ACEOF
44913 cat confdefs.h >>conftest.$ac_ext
44914 cat >>conftest.$ac_ext <<_ACEOF
44915 /* end confdefs.h. */
44916
44917 #include <sys/types.h>
44918 #include <sys/socket.h>
44919
44920 int
44921 main ()
44922 {
44923
44924 socklen_t len;
44925 getsockopt(0, 0, 0, 0, &len);
44926
44927 ;
44928 return 0;
44929 }
44930 _ACEOF
44931 rm -f conftest.$ac_objext
44932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44933 (eval $ac_compile) 2>conftest.er1
44934 ac_status=$?
44935 grep -v '^ *+' conftest.er1 >conftest.err
44936 rm -f conftest.er1
44937 cat conftest.err >&5
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); } &&
44940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44943 ac_status=$?
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; } &&
44946 { ac_try='test -s conftest.$ac_objext'
44947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44948 (eval $ac_try) 2>&5
44949 ac_status=$?
44950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44951 (exit $ac_status); }; }; then
44952 wx_cv_type_getsockopt5=socklen_t
44953 else
44954 echo "$as_me: failed program was:" >&5
44955 sed 's/^/| /' conftest.$ac_ext >&5
44956
44957
44958 CXXFLAGS_OLD="$CXXFLAGS"
44959 if test "$GCC" = yes ; then
44960 CXXFLAGS="-Werror $CXXFLAGS"
44961 fi
44962
44963 cat >conftest.$ac_ext <<_ACEOF
44964 /* confdefs.h. */
44965 _ACEOF
44966 cat confdefs.h >>conftest.$ac_ext
44967 cat >>conftest.$ac_ext <<_ACEOF
44968 /* end confdefs.h. */
44969
44970 #include <sys/types.h>
44971 #include <sys/socket.h>
44972
44973 int
44974 main ()
44975 {
44976
44977 size_t len;
44978 getsockopt(0, 0, 0, 0, &len);
44979
44980 ;
44981 return 0;
44982 }
44983 _ACEOF
44984 rm -f conftest.$ac_objext
44985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44986 (eval $ac_compile) 2>conftest.er1
44987 ac_status=$?
44988 grep -v '^ *+' conftest.er1 >conftest.err
44989 rm -f conftest.er1
44990 cat conftest.err >&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); } &&
44993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44995 (eval $ac_try) 2>&5
44996 ac_status=$?
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); }; } &&
44999 { ac_try='test -s conftest.$ac_objext'
45000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45001 (eval $ac_try) 2>&5
45002 ac_status=$?
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); }; }; then
45005 wx_cv_type_getsockopt5=size_t
45006 else
45007 echo "$as_me: failed program was:" >&5
45008 sed 's/^/| /' conftest.$ac_ext >&5
45009
45010 cat >conftest.$ac_ext <<_ACEOF
45011 /* confdefs.h. */
45012 _ACEOF
45013 cat confdefs.h >>conftest.$ac_ext
45014 cat >>conftest.$ac_ext <<_ACEOF
45015 /* end confdefs.h. */
45016
45017 #include <sys/types.h>
45018 #include <sys/socket.h>
45019
45020 int
45021 main ()
45022 {
45023
45024 int len;
45025 getsockopt(0, 0, 0, 0, &len);
45026
45027 ;
45028 return 0;
45029 }
45030 _ACEOF
45031 rm -f conftest.$ac_objext
45032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45033 (eval $ac_compile) 2>conftest.er1
45034 ac_status=$?
45035 grep -v '^ *+' conftest.er1 >conftest.err
45036 rm -f conftest.er1
45037 cat conftest.err >&5
45038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45039 (exit $ac_status); } &&
45040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45042 (eval $ac_try) 2>&5
45043 ac_status=$?
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; } &&
45046 { ac_try='test -s conftest.$ac_objext'
45047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45048 (eval $ac_try) 2>&5
45049 ac_status=$?
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); }; }; then
45052 wx_cv_type_getsockopt5=int
45053 else
45054 echo "$as_me: failed program was:" >&5
45055 sed 's/^/| /' conftest.$ac_ext >&5
45056
45057 wx_cv_type_getsockopt5=unknown
45058
45059 fi
45060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45061
45062 fi
45063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45064
45065 CXXFLAGS="$CXXFLAGS_OLD"
45066
45067
45068 fi
45069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45070
45071 fi
45072 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45073 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45074
45075 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45076 wxUSE_SOCKETS=no
45077 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45078 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45079 else
45080 cat >>confdefs.h <<_ACEOF
45081 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45082 _ACEOF
45083
45084 fi
45085 fi
45086 fi
45087
45088 if test "$wxUSE_SOCKETS" = "yes" ; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_SOCKETS 1
45091 _ACEOF
45092
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45094 fi
45095
45096 if test "$wxUSE_PROTOCOL" = "yes"; then
45097 if test "$wxUSE_SOCKETS" != "yes"; then
45098 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45099 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45100 wxUSE_PROTOCOL=no
45101 fi
45102 fi
45103
45104 if test "$wxUSE_PROTOCOL" = "yes"; then
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_PROTOCOL 1
45107 _ACEOF
45108
45109
45110 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_PROTOCOL_HTTP 1
45113 _ACEOF
45114
45115 fi
45116 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_PROTOCOL_FTP 1
45119 _ACEOF
45120
45121 fi
45122 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_PROTOCOL_FILE 1
45125 _ACEOF
45126
45127 fi
45128 else
45129 if test "$wxUSE_FS_INET" = "yes"; then
45130 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45131 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45132 wxUSE_FS_INET="no"
45133 fi
45134 fi
45135
45136 if test "$wxUSE_URL" = "yes"; then
45137 if test "$wxUSE_PROTOCOL" != "yes"; then
45138 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45139 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45140 wxUSE_URL=no
45141 fi
45142 if test "$wxUSE_URL" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_URL 1
45145 _ACEOF
45146
45147 fi
45148 fi
45149
45150 if test "$wxUSE_VARIANT" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_VARIANT 1
45153 _ACEOF
45154
45155 fi
45156
45157 if test "$wxUSE_FS_INET" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_FS_INET 1
45160 _ACEOF
45161
45162 fi
45163
45164
45165 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45166 wxUSE_JOYSTICK=no
45167
45168 if test "$TOOLKIT" = "MSW"; then
45169 wxUSE_JOYSTICK=yes
45170
45171 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45172 if test "$USE_DARWIN" = 1; then
45173 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45174 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45175 cat >conftest.$ac_ext <<_ACEOF
45176 /* confdefs.h. */
45177 _ACEOF
45178 cat confdefs.h >>conftest.$ac_ext
45179 cat >>conftest.$ac_ext <<_ACEOF
45180 /* end confdefs.h. */
45181 #include <IOKit/hid/IOHIDLib.h>
45182 int
45183 main ()
45184 {
45185 IOHIDQueueInterface *qi = NULL;
45186 IOHIDCallbackFunction cb = NULL;
45187 qi->setEventCallout(NULL, cb, NULL, NULL);
45188 ;
45189 return 0;
45190 }
45191 _ACEOF
45192 rm -f conftest.$ac_objext
45193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45194 (eval $ac_compile) 2>conftest.er1
45195 ac_status=$?
45196 grep -v '^ *+' conftest.er1 >conftest.err
45197 rm -f conftest.er1
45198 cat conftest.err >&5
45199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200 (exit $ac_status); } &&
45201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45203 (eval $ac_try) 2>&5
45204 ac_status=$?
45205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206 (exit $ac_status); }; } &&
45207 { ac_try='test -s conftest.$ac_objext'
45208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45209 (eval $ac_try) 2>&5
45210 ac_status=$?
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); }; }; then
45213 wxUSE_JOYSTICK=yes
45214
45215 else
45216 echo "$as_me: failed program was:" >&5
45217 sed 's/^/| /' conftest.$ac_ext >&5
45218
45219 fi
45220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45221 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45222 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45223 fi
45224
45225 else
45226 if test "$wxUSE_MGL" != "1"; then
45227
45228 for ac_header in linux/joystick.h
45229 do
45230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45232 echo "$as_me:$LINENO: checking for $ac_header" >&5
45233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45235 echo $ECHO_N "(cached) $ECHO_C" >&6
45236 fi
45237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45239 else
45240 # Is the header compilable?
45241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45243 cat >conftest.$ac_ext <<_ACEOF
45244 /* confdefs.h. */
45245 _ACEOF
45246 cat confdefs.h >>conftest.$ac_ext
45247 cat >>conftest.$ac_ext <<_ACEOF
45248 /* end confdefs.h. */
45249 $ac_includes_default
45250 #include <$ac_header>
45251 _ACEOF
45252 rm -f conftest.$ac_objext
45253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45254 (eval $ac_compile) 2>conftest.er1
45255 ac_status=$?
45256 grep -v '^ *+' conftest.er1 >conftest.err
45257 rm -f conftest.er1
45258 cat conftest.err >&5
45259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45260 (exit $ac_status); } &&
45261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45263 (eval $ac_try) 2>&5
45264 ac_status=$?
45265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45266 (exit $ac_status); }; } &&
45267 { ac_try='test -s conftest.$ac_objext'
45268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45269 (eval $ac_try) 2>&5
45270 ac_status=$?
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); }; }; then
45273 ac_header_compiler=yes
45274 else
45275 echo "$as_me: failed program was:" >&5
45276 sed 's/^/| /' conftest.$ac_ext >&5
45277
45278 ac_header_compiler=no
45279 fi
45280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45282 echo "${ECHO_T}$ac_header_compiler" >&6
45283
45284 # Is the header present?
45285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45287 cat >conftest.$ac_ext <<_ACEOF
45288 /* confdefs.h. */
45289 _ACEOF
45290 cat confdefs.h >>conftest.$ac_ext
45291 cat >>conftest.$ac_ext <<_ACEOF
45292 /* end confdefs.h. */
45293 #include <$ac_header>
45294 _ACEOF
45295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45297 ac_status=$?
45298 grep -v '^ *+' conftest.er1 >conftest.err
45299 rm -f conftest.er1
45300 cat conftest.err >&5
45301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45302 (exit $ac_status); } >/dev/null; then
45303 if test -s conftest.err; then
45304 ac_cpp_err=$ac_c_preproc_warn_flag
45305 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45306 else
45307 ac_cpp_err=
45308 fi
45309 else
45310 ac_cpp_err=yes
45311 fi
45312 if test -z "$ac_cpp_err"; then
45313 ac_header_preproc=yes
45314 else
45315 echo "$as_me: failed program was:" >&5
45316 sed 's/^/| /' conftest.$ac_ext >&5
45317
45318 ac_header_preproc=no
45319 fi
45320 rm -f conftest.err conftest.$ac_ext
45321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45322 echo "${ECHO_T}$ac_header_preproc" >&6
45323
45324 # So? What about this header?
45325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45326 yes:no: )
45327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45331 ac_header_preproc=yes
45332 ;;
45333 no:yes:* )
45334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45346 (
45347 cat <<\_ASBOX
45348 ## ----------------------------------------- ##
45349 ## Report this to wx-dev@lists.wxwidgets.org ##
45350 ## ----------------------------------------- ##
45351 _ASBOX
45352 ) |
45353 sed "s/^/$as_me: WARNING: /" >&2
45354 ;;
45355 esac
45356 echo "$as_me:$LINENO: checking for $ac_header" >&5
45357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45359 echo $ECHO_N "(cached) $ECHO_C" >&6
45360 else
45361 eval "$as_ac_Header=\$ac_header_preproc"
45362 fi
45363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45365
45366 fi
45367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45368 cat >>confdefs.h <<_ACEOF
45369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45370 _ACEOF
45371 wxUSE_JOYSTICK=yes
45372 fi
45373
45374 done
45375
45376 fi
45377 fi
45378
45379 if test "$wxUSE_JOYSTICK" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_JOYSTICK 1
45382 _ACEOF
45383
45384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45385 else
45386 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45387 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45388 fi
45389 fi
45390
45391
45392
45393 if test "$wxUSE_FONTMAP" = "yes" ; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_FONTMAP 1
45396 _ACEOF
45397
45398 fi
45399
45400 if test "$wxUSE_UNICODE" = "yes" ; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_UNICODE 1
45403 _ACEOF
45404
45405
45406 if test "$USE_WIN32" != 1; then
45407 wxUSE_UNICODE_MSLU=no
45408 fi
45409
45410 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45411 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45412 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45413 if test "${ac_cv_lib_unicows_main+set}" = set; then
45414 echo $ECHO_N "(cached) $ECHO_C" >&6
45415 else
45416 ac_check_lib_save_LIBS=$LIBS
45417 LIBS="-lunicows $LIBS"
45418 cat >conftest.$ac_ext <<_ACEOF
45419 /* confdefs.h. */
45420 _ACEOF
45421 cat confdefs.h >>conftest.$ac_ext
45422 cat >>conftest.$ac_ext <<_ACEOF
45423 /* end confdefs.h. */
45424
45425
45426 int
45427 main ()
45428 {
45429 main ();
45430 ;
45431 return 0;
45432 }
45433 _ACEOF
45434 rm -f conftest.$ac_objext conftest$ac_exeext
45435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45436 (eval $ac_link) 2>conftest.er1
45437 ac_status=$?
45438 grep -v '^ *+' conftest.er1 >conftest.err
45439 rm -f conftest.er1
45440 cat conftest.err >&5
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); } &&
45443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445 (eval $ac_try) 2>&5
45446 ac_status=$?
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); }; } &&
45449 { ac_try='test -s conftest$ac_exeext'
45450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45451 (eval $ac_try) 2>&5
45452 ac_status=$?
45453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45454 (exit $ac_status); }; }; then
45455 ac_cv_lib_unicows_main=yes
45456 else
45457 echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45459
45460 ac_cv_lib_unicows_main=no
45461 fi
45462 rm -f conftest.err conftest.$ac_objext \
45463 conftest$ac_exeext conftest.$ac_ext
45464 LIBS=$ac_check_lib_save_LIBS
45465 fi
45466 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45467 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45468 if test $ac_cv_lib_unicows_main = yes; then
45469
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_UNICODE_MSLU 1
45472 _ACEOF
45473
45474
45475 else
45476
45477 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45478 Applications will only run on Windows NT/2000/XP!" >&5
45479 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45480 Applications will only run on Windows NT/2000/XP!" >&2;}
45481 wxUSE_UNICODE_MSLU=no
45482
45483 fi
45484
45485 fi
45486 fi
45487
45488 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_EXPERIMENTAL_PRINTF 1
45491 _ACEOF
45492
45493 fi
45494
45495
45496 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_POSTSCRIPT 1
45499 _ACEOF
45500
45501 fi
45502
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45505 _ACEOF
45506
45507
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_NORMALIZED_PS_FONTS 1
45510 _ACEOF
45511
45512
45513
45514 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_CONSTRAINTS 1
45517 _ACEOF
45518
45519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45520 fi
45521
45522 if test "$wxUSE_MDI" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_MDI 1
45525 _ACEOF
45526
45527
45528 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_MDI_ARCHITECTURE 1
45531 _ACEOF
45532
45533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45534 fi
45535 fi
45536
45537 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45540 _ACEOF
45541
45542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45543 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45545 fi
45546 fi
45547
45548 if test "$wxUSE_HELP" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_HELP 1
45551 _ACEOF
45552
45553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45554
45555 if test "$wxUSE_MSW" = 1; then
45556 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_MS_HTML_HELP 1
45559 _ACEOF
45560
45561 fi
45562 fi
45563
45564 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45565 if test "$wxUSE_HTML" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_WXHTML_HELP 1
45568 _ACEOF
45569
45570 else
45571 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45572 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45573 wxUSE_WXHTML_HELP=no
45574 fi
45575 fi
45576 fi
45577
45578 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45579 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45580 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45581 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45582 else
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_PRINTING_ARCHITECTURE 1
45585 _ACEOF
45586
45587 fi
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45589 fi
45590
45591 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45592 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45593 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45594 { (exit 1); exit 1; }; }
45595 fi
45596
45597
45598 if test "$wxUSE_METAFILE" = "yes"; then
45599 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45600 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45601 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45602 wxUSE_METAFILE=no
45603 fi
45604 fi
45605
45606
45607 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45608 -o "$wxUSE_CLIPBOARD" = "yes" \
45609 -o "$wxUSE_OLE" = "yes" \
45610 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45611
45612 for ac_header in ole2.h
45613 do
45614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45616 echo "$as_me:$LINENO: checking for $ac_header" >&5
45617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45619 echo $ECHO_N "(cached) $ECHO_C" >&6
45620 fi
45621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45623 else
45624 # Is the header compilable?
45625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45627 cat >conftest.$ac_ext <<_ACEOF
45628 /* confdefs.h. */
45629 _ACEOF
45630 cat confdefs.h >>conftest.$ac_ext
45631 cat >>conftest.$ac_ext <<_ACEOF
45632 /* end confdefs.h. */
45633 $ac_includes_default
45634 #include <$ac_header>
45635 _ACEOF
45636 rm -f conftest.$ac_objext
45637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45638 (eval $ac_compile) 2>conftest.er1
45639 ac_status=$?
45640 grep -v '^ *+' conftest.er1 >conftest.err
45641 rm -f conftest.er1
45642 cat conftest.err >&5
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); } &&
45645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45647 (eval $ac_try) 2>&5
45648 ac_status=$?
45649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45650 (exit $ac_status); }; } &&
45651 { ac_try='test -s conftest.$ac_objext'
45652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45653 (eval $ac_try) 2>&5
45654 ac_status=$?
45655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45656 (exit $ac_status); }; }; then
45657 ac_header_compiler=yes
45658 else
45659 echo "$as_me: failed program was:" >&5
45660 sed 's/^/| /' conftest.$ac_ext >&5
45661
45662 ac_header_compiler=no
45663 fi
45664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45666 echo "${ECHO_T}$ac_header_compiler" >&6
45667
45668 # Is the header present?
45669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45671 cat >conftest.$ac_ext <<_ACEOF
45672 /* confdefs.h. */
45673 _ACEOF
45674 cat confdefs.h >>conftest.$ac_ext
45675 cat >>conftest.$ac_ext <<_ACEOF
45676 /* end confdefs.h. */
45677 #include <$ac_header>
45678 _ACEOF
45679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45681 ac_status=$?
45682 grep -v '^ *+' conftest.er1 >conftest.err
45683 rm -f conftest.er1
45684 cat conftest.err >&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } >/dev/null; then
45687 if test -s conftest.err; then
45688 ac_cpp_err=$ac_c_preproc_warn_flag
45689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45690 else
45691 ac_cpp_err=
45692 fi
45693 else
45694 ac_cpp_err=yes
45695 fi
45696 if test -z "$ac_cpp_err"; then
45697 ac_header_preproc=yes
45698 else
45699 echo "$as_me: failed program was:" >&5
45700 sed 's/^/| /' conftest.$ac_ext >&5
45701
45702 ac_header_preproc=no
45703 fi
45704 rm -f conftest.err conftest.$ac_ext
45705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45706 echo "${ECHO_T}$ac_header_preproc" >&6
45707
45708 # So? What about this header?
45709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45710 yes:no: )
45711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45715 ac_header_preproc=yes
45716 ;;
45717 no:yes:* )
45718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45730 (
45731 cat <<\_ASBOX
45732 ## ----------------------------------------- ##
45733 ## Report this to wx-dev@lists.wxwidgets.org ##
45734 ## ----------------------------------------- ##
45735 _ASBOX
45736 ) |
45737 sed "s/^/$as_me: WARNING: /" >&2
45738 ;;
45739 esac
45740 echo "$as_me:$LINENO: checking for $ac_header" >&5
45741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45743 echo $ECHO_N "(cached) $ECHO_C" >&6
45744 else
45745 eval "$as_ac_Header=\$ac_header_preproc"
45746 fi
45747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45749
45750 fi
45751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45752 cat >>confdefs.h <<_ACEOF
45753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45754 _ACEOF
45755
45756 fi
45757
45758 done
45759
45760
45761 if test "$ac_cv_header_ole2_h" = "yes" ; then
45762 if test "$GCC" = yes ; then
45763 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45764 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45765 cat >conftest.$ac_ext <<_ACEOF
45766 /* confdefs.h. */
45767 _ACEOF
45768 cat confdefs.h >>conftest.$ac_ext
45769 cat >>conftest.$ac_ext <<_ACEOF
45770 /* end confdefs.h. */
45771 #include <windows.h>
45772 #include <ole2.h>
45773 int
45774 main ()
45775 {
45776
45777 ;
45778 return 0;
45779 }
45780 _ACEOF
45781 rm -f conftest.$ac_objext
45782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45783 (eval $ac_compile) 2>conftest.er1
45784 ac_status=$?
45785 grep -v '^ *+' conftest.er1 >conftest.err
45786 rm -f conftest.er1
45787 cat conftest.err >&5
45788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45789 (exit $ac_status); } &&
45790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45792 (eval $ac_try) 2>&5
45793 ac_status=$?
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); }; } &&
45796 { ac_try='test -s conftest.$ac_objext'
45797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45798 (eval $ac_try) 2>&5
45799 ac_status=$?
45800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45801 (exit $ac_status); }; }; then
45802 echo "$as_me:$LINENO: result: no" >&5
45803 echo "${ECHO_T}no" >&6
45804 else
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45807
45808 echo "$as_me:$LINENO: result: yes" >&5
45809 echo "${ECHO_T}yes" >&6
45810 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45811 fi
45812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45813 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45814 if test "$wxUSE_OLE" = "yes" ; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_OLE 1
45817 _ACEOF
45818
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_OLE_AUTOMATION 1
45821 _ACEOF
45822
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_OLE_ACTIVEX 1
45825 _ACEOF
45826
45827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45828 fi
45829 fi
45830
45831 if test "$wxUSE_DATAOBJ" = "yes" ; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_DATAOBJ 1
45834 _ACEOF
45835
45836 fi
45837 else
45838 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45839 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45840
45841 wxUSE_CLIPBOARD=no
45842 wxUSE_DRAG_AND_DROP=no
45843 wxUSE_DATAOBJ=no
45844 wxUSE_OLE=no
45845 fi
45846
45847 if test "$wxUSE_METAFILE" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_METAFILE 1
45850 _ACEOF
45851
45852
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_ENH_METAFILE 1
45855 _ACEOF
45856
45857 fi
45858 fi
45859
45860 if test "$wxUSE_IPC" = "yes"; then
45861 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45862 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45863 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45864 wxUSE_IPC=no
45865 fi
45866
45867 if test "$wxUSE_IPC" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_IPC 1
45870 _ACEOF
45871
45872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45873 fi
45874 fi
45875
45876 if test "$wxUSE_DATAOBJ" = "yes"; then
45877 if test "$wxUSE_MGL" = 1; then
45878 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45879 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45880 wxUSE_DATAOBJ=no
45881 else
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_DATAOBJ 1
45884 _ACEOF
45885
45886 fi
45887 else
45888 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45889 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45890 wxUSE_CLIPBOARD=no
45891 wxUSE_DRAG_AND_DROP=no
45892 fi
45893
45894 if test "$wxUSE_CLIPBOARD" = "yes"; then
45895 if test "$wxUSE_MGL" = 1; then
45896 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45897 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45898 wxUSE_CLIPBOARD=no
45899 fi
45900
45901 if test "$wxUSE_CLIPBOARD" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_CLIPBOARD 1
45904 _ACEOF
45905
45906 fi
45907 fi
45908
45909 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45910 if test "$wxUSE_GTK" = 1; then
45911 if test "$WXGTK12" != 1; then
45912 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45913 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45914 wxUSE_DRAG_AND_DROP=no
45915 fi
45916 fi
45917
45918 if test "$wxUSE_MOTIF" = 1; then
45919 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45920 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45921 wxUSE_DRAG_AND_DROP=no
45922 fi
45923
45924 if test "$wxUSE_X11" = 1; then
45925 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45926 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45927 wxUSE_DRAG_AND_DROP=no
45928 fi
45929
45930 if test "$wxUSE_MGL" = 1; then
45931 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45932 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45933 wxUSE_DRAG_AND_DROP=no
45934 fi
45935
45936 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_DRAG_AND_DROP 1
45939 _ACEOF
45940
45941 fi
45942
45943 fi
45944
45945 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45947 fi
45948
45949 if test "$wxUSE_SPLINES" = "yes" ; then
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_SPLINES 1
45952 _ACEOF
45953
45954 fi
45955
45956 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_MOUSEWHEEL 1
45959 _ACEOF
45960
45961 fi
45962
45963
45964 USES_CONTROLS=0
45965 if test "$wxUSE_CONTROLS" = "yes"; then
45966 USES_CONTROLS=1
45967 fi
45968
45969 if test "$wxUSE_ACCEL" = "yes"; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_ACCEL 1
45972 _ACEOF
45973
45974 USES_CONTROLS=1
45975 fi
45976
45977 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_ANIMATIONCTRL 1
45980 _ACEOF
45981
45982 USES_CONTROLS=1
45983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45984 fi
45985
45986 if test "$wxUSE_BUTTON" = "yes"; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_BUTTON 1
45989 _ACEOF
45990
45991 USES_CONTROLS=1
45992 fi
45993
45994 if test "$wxUSE_BMPBUTTON" = "yes"; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_BMPBUTTON 1
45997 _ACEOF
45998
45999 USES_CONTROLS=1
46000 fi
46001
46002 if test "$wxUSE_CALCTRL" = "yes"; then
46003 cat >>confdefs.h <<\_ACEOF
46004 #define wxUSE_CALENDARCTRL 1
46005 _ACEOF
46006
46007 USES_CONTROLS=1
46008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46009 fi
46010
46011 if test "$wxUSE_CARET" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_CARET 1
46014 _ACEOF
46015
46016 USES_CONTROLS=1
46017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46018 fi
46019
46020 if test "$wxUSE_COLLPANE" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_COLLPANE 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46027 fi
46028
46029 if test "$wxUSE_COMBOBOX" = "yes"; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_COMBOBOX 1
46032 _ACEOF
46033
46034 USES_CONTROLS=1
46035 fi
46036
46037 if test "$wxUSE_COMBOCTRL" = "yes"; then
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_COMBOCTRL 1
46040 _ACEOF
46041
46042 USES_CONTROLS=1
46043 fi
46044
46045 if test "$wxUSE_CHOICE" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_CHOICE 1
46048 _ACEOF
46049
46050 USES_CONTROLS=1
46051 fi
46052
46053 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_CHOICEBOOK 1
46056 _ACEOF
46057
46058 USES_CONTROLS=1
46059 fi
46060
46061 if test "$wxUSE_CHECKBOX" = "yes"; then
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_CHECKBOX 1
46064 _ACEOF
46065
46066 USES_CONTROLS=1
46067 fi
46068
46069 if test "$wxUSE_CHECKLST" = "yes"; then
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_CHECKLISTBOX 1
46072 _ACEOF
46073
46074 USES_CONTROLS=1
46075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46076 fi
46077
46078 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_COLOURPICKERCTRL 1
46081 _ACEOF
46082
46083 USES_CONTROLS=1
46084 fi
46085
46086 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_DATEPICKCTRL 1
46089 _ACEOF
46090
46091 USES_CONTROLS=1
46092 fi
46093
46094 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_DIRPICKERCTRL 1
46097 _ACEOF
46098
46099 USES_CONTROLS=1
46100 fi
46101
46102 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46103 cat >>confdefs.h <<\_ACEOF
46104 #define wxUSE_FILEPICKERCTRL 1
46105 _ACEOF
46106
46107 USES_CONTROLS=1
46108 fi
46109
46110 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_FONTPICKERCTRL 1
46113 _ACEOF
46114
46115 USES_CONTROLS=1
46116 fi
46117
46118 if test "$wxUSE_DISPLAY" = "yes"; then
46119 cat >>confdefs.h <<\_ACEOF
46120 #define wxUSE_DISPLAY 1
46121 _ACEOF
46122
46123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46124 fi
46125
46126 if test "$wxUSE_DETECT_SM" = "yes"; then
46127 cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_DETECT_SM 1
46129 _ACEOF
46130
46131 fi
46132
46133 if test "$wxUSE_GAUGE" = "yes"; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_GAUGE 1
46136 _ACEOF
46137
46138 USES_CONTROLS=1
46139 fi
46140
46141 if test "$wxUSE_GRID" = "yes"; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_GRID 1
46144 _ACEOF
46145
46146 USES_CONTROLS=1
46147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46148 fi
46149
46150 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46151 cat >>confdefs.h <<\_ACEOF
46152 #define wxUSE_HYPERLINKCTRL 1
46153 _ACEOF
46154
46155 USES_CONTROLS=1
46156 fi
46157
46158 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_BITMAPCOMBOBOX 1
46161 _ACEOF
46162
46163 USES_CONTROLS=1
46164 fi
46165
46166 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46167 cat >>confdefs.h <<\_ACEOF
46168 #define wxUSE_DATAVIEWCTRL 1
46169 _ACEOF
46170
46171 USES_CONTROLS=1
46172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46173 fi
46174
46175 if test "$wxUSE_IMAGLIST" = "yes"; then
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_IMAGLIST 1
46178 _ACEOF
46179
46180 fi
46181
46182 if test "$wxUSE_LISTBOOK" = "yes"; then
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_LISTBOOK 1
46185 _ACEOF
46186
46187 USES_CONTROLS=1
46188 fi
46189
46190 if test "$wxUSE_LISTBOX" = "yes"; then
46191 cat >>confdefs.h <<\_ACEOF
46192 #define wxUSE_LISTBOX 1
46193 _ACEOF
46194
46195 USES_CONTROLS=1
46196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46197 fi
46198
46199 if test "$wxUSE_LISTCTRL" = "yes"; then
46200 if test "$wxUSE_IMAGLIST" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_LISTCTRL 1
46203 _ACEOF
46204
46205 USES_CONTROLS=1
46206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46207 else
46208 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46209 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46210 fi
46211 fi
46212
46213 if test "$wxUSE_NOTEBOOK" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_NOTEBOOK 1
46216 _ACEOF
46217
46218 USES_CONTROLS=1
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46220 fi
46221
46222 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_ODCOMBOBOX 1
46225 _ACEOF
46226
46227 USES_CONTROLS=1
46228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46229 fi
46230
46231
46232 if test "$wxUSE_RADIOBOX" = "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_RADIOBOX 1
46235 _ACEOF
46236
46237 USES_CONTROLS=1
46238 fi
46239
46240 if test "$wxUSE_RADIOBTN" = "yes"; then
46241 cat >>confdefs.h <<\_ACEOF
46242 #define wxUSE_RADIOBTN 1
46243 _ACEOF
46244
46245 USES_CONTROLS=1
46246 fi
46247
46248 if test "$wxUSE_SASH" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_SASH 1
46251 _ACEOF
46252
46253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46254 fi
46255
46256 if test "$wxUSE_SCROLLBAR" = "yes"; then
46257 cat >>confdefs.h <<\_ACEOF
46258 #define wxUSE_SCROLLBAR 1
46259 _ACEOF
46260
46261 USES_CONTROLS=1
46262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46263 fi
46264
46265 if test "$wxUSE_SLIDER" = "yes"; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_SLIDER 1
46268 _ACEOF
46269
46270 USES_CONTROLS=1
46271 fi
46272
46273 if test "$wxUSE_SPINBTN" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_SPINBTN 1
46276 _ACEOF
46277
46278 USES_CONTROLS=1
46279 fi
46280
46281 if test "$wxUSE_SPINCTRL" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_SPINCTRL 1
46284 _ACEOF
46285
46286 USES_CONTROLS=1
46287 fi
46288
46289 if test "$wxUSE_SPLITTER" = "yes"; then
46290 cat >>confdefs.h <<\_ACEOF
46291 #define wxUSE_SPLITTER 1
46292 _ACEOF
46293
46294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46295 fi
46296
46297 if test "$wxUSE_STATBMP" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_STATBMP 1
46300 _ACEOF
46301
46302 USES_CONTROLS=1
46303 fi
46304
46305 if test "$wxUSE_STATBOX" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_STATBOX 1
46308 _ACEOF
46309
46310 USES_CONTROLS=1
46311 fi
46312
46313 if test "$wxUSE_STATTEXT" = "yes"; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_STATTEXT 1
46316 _ACEOF
46317
46318 USES_CONTROLS=1
46319 fi
46320
46321 if test "$wxUSE_STATLINE" = "yes"; then
46322 cat >>confdefs.h <<\_ACEOF
46323 #define wxUSE_STATLINE 1
46324 _ACEOF
46325
46326 USES_CONTROLS=1
46327 fi
46328
46329 if test "$wxUSE_STATUSBAR" = "yes"; then
46330 cat >>confdefs.h <<\_ACEOF
46331 #define wxUSE_NATIVE_STATUSBAR 1
46332 _ACEOF
46333
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_STATUSBAR 1
46336 _ACEOF
46337
46338 USES_CONTROLS=1
46339
46340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46341 fi
46342
46343 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_TAB_DIALOG 1
46346 _ACEOF
46347
46348 fi
46349
46350 if test "$wxUSE_TEXTCTRL" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_TEXTCTRL 1
46353 _ACEOF
46354
46355 USES_CONTROLS=1
46356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46357 fi
46358
46359 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46360 if test "$wxUSE_COCOA" = 1 ; then
46361 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46362 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46363 wxUSE_TOGGLEBTN=no
46364 fi
46365
46366 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_TOGGLEBTN 1
46369 _ACEOF
46370
46371 USES_CONTROLS=1
46372 fi
46373 fi
46374
46375 if test "$wxUSE_TOOLBAR" = "yes"; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_TOOLBAR 1
46378 _ACEOF
46379
46380 USES_CONTROLS=1
46381
46382 if test "$wxUSE_UNIVERSAL" = "yes"; then
46383 wxUSE_TOOLBAR_NATIVE="no"
46384 else
46385 wxUSE_TOOLBAR_NATIVE="yes"
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_TOOLBAR_NATIVE 1
46388 _ACEOF
46389
46390 fi
46391
46392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46393 fi
46394
46395 if test "$wxUSE_TOOLTIPS" = "yes"; then
46396 if test "$wxUSE_MOTIF" = 1; then
46397 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46398 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46399 else
46400 if test "$wxUSE_UNIVERSAL" = "yes"; then
46401 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46402 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46403 else
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_TOOLTIPS 1
46406 _ACEOF
46407
46408 fi
46409 fi
46410 fi
46411
46412 if test "$wxUSE_TREEBOOK" = "yes"; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_TREEBOOK 1
46415 _ACEOF
46416
46417 USES_CONTROLS=1
46418 fi
46419
46420 if test "$wxUSE_TOOLBOOK" = "yes"; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_TOOLBOOK 1
46423 _ACEOF
46424
46425 USES_CONTROLS=1
46426 fi
46427
46428 if test "$wxUSE_TREECTRL" = "yes"; then
46429 if test "$wxUSE_IMAGLIST" = "yes"; then
46430 cat >>confdefs.h <<\_ACEOF
46431 #define wxUSE_TREECTRL 1
46432 _ACEOF
46433
46434 USES_CONTROLS=1
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46436 else
46437 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46438 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46439 fi
46440 fi
46441
46442 if test "$wxUSE_POPUPWIN" = "yes"; then
46443 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46444 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46445 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46446 else
46447 if test "$wxUSE_PM" = 1; then
46448 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46449 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46450 else
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_POPUPWIN 1
46453 _ACEOF
46454
46455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46456
46457 USES_CONTROLS=1
46458 fi
46459 fi
46460 fi
46461
46462 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46463 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46464 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46465 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46466 else
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_DIALUP_MANAGER 1
46469 _ACEOF
46470
46471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46472 fi
46473 fi
46474
46475 if test "$wxUSE_TIPWINDOW" = "yes"; then
46476 if test "$wxUSE_PM" = 1; then
46477 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46478 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46479 else
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_TIPWINDOW 1
46482 _ACEOF
46483
46484 fi
46485 fi
46486
46487 if test "$USES_CONTROLS" = 1; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_CONTROLS 1
46490 _ACEOF
46491
46492 fi
46493
46494
46495 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_ACCESSIBILITY 1
46498 _ACEOF
46499
46500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46501 fi
46502
46503 if test "$wxUSE_DC_CACHEING" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_DC_CACHEING 1
46506 _ACEOF
46507
46508 fi
46509
46510 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_DRAGIMAGE 1
46513 _ACEOF
46514
46515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46516 fi
46517
46518 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46519 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46520 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46521 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46522 else
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_EXCEPTIONS 1
46525 _ACEOF
46526
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46528 fi
46529 fi
46530
46531 USE_HTML=0
46532 if test "$wxUSE_HTML" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_HTML 1
46535 _ACEOF
46536
46537 USE_HTML=1
46538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46539 if test "$wxUSE_MAC" = 1; then
46540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46541 fi
46542 fi
46543 if test "$wxUSE_WEBKIT" = "yes"; then
46544 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46545 old_CPPFLAGS="$CPPFLAGS"
46546 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46547 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46548 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46549 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46550 echo $ECHO_N "(cached) $ECHO_C" >&6
46551 else
46552 cat >conftest.$ac_ext <<_ACEOF
46553 /* confdefs.h. */
46554 _ACEOF
46555 cat confdefs.h >>conftest.$ac_ext
46556 cat >>conftest.$ac_ext <<_ACEOF
46557 /* end confdefs.h. */
46558 #include <Carbon/Carbon.h>
46559
46560 #include <WebKit/HIWebView.h>
46561 _ACEOF
46562 rm -f conftest.$ac_objext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46564 (eval $ac_compile) 2>conftest.er1
46565 ac_status=$?
46566 grep -v '^ *+' conftest.er1 >conftest.err
46567 rm -f conftest.er1
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46573 (eval $ac_try) 2>&5
46574 ac_status=$?
46575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576 (exit $ac_status); }; } &&
46577 { ac_try='test -s conftest.$ac_objext'
46578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46579 (eval $ac_try) 2>&5
46580 ac_status=$?
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; }; then
46583 ac_cv_header_WebKit_HIWebView_h=yes
46584 else
46585 echo "$as_me: failed program was:" >&5
46586 sed 's/^/| /' conftest.$ac_ext >&5
46587
46588 ac_cv_header_WebKit_HIWebView_h=no
46589 fi
46590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46591 fi
46592 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46593 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46594 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46595
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_WEBKIT 1
46598 _ACEOF
46599
46600 WEBKIT_LINK="-framework WebKit"
46601
46602 else
46603
46604 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46605 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46606 wxUSE_WEBKIT=no
46607
46608 fi
46609
46610
46611 CPPFLAGS="$old_CPPFLAGS"
46612 elif test "$wxUSE_COCOA" = 1; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_WEBKIT 1
46615 _ACEOF
46616
46617 else
46618 wxUSE_WEBKIT=no
46619 fi
46620 fi
46621
46622 USE_XRC=0
46623 if test "$wxUSE_XRC" = "yes"; then
46624 if test "$wxUSE_XML" != "yes"; then
46625 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46626 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46627 wxUSE_XRC=no
46628 else
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_XRC 1
46631 _ACEOF
46632
46633 USE_XRC=1
46634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46635 fi
46636 fi
46637
46638 USE_AUI=0
46639 if test "$wxUSE_AUI" = "yes"; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_AUI 1
46642 _ACEOF
46643
46644 USE_AUI=1
46645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46646 fi
46647
46648 if test "$wxUSE_MENUS" = "yes"; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_MENUS 1
46651 _ACEOF
46652
46653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46654 fi
46655
46656 if test "$wxUSE_METAFILE" = "yes"; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_METAFILE 1
46659 _ACEOF
46660
46661 fi
46662
46663 if test "$wxUSE_MIMETYPE" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_MIMETYPE 1
46666 _ACEOF
46667
46668 fi
46669
46670 if test "$wxUSE_MINIFRAME" = "yes"; then
46671 cat >>confdefs.h <<\_ACEOF
46672 #define wxUSE_MINIFRAME 1
46673 _ACEOF
46674
46675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46676 fi
46677
46678 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_SYSTEM_OPTIONS 1
46681 _ACEOF
46682
46683 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46684 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46686 fi
46687 fi
46688
46689
46690 if test "$wxUSE_VALIDATORS" = "yes"; then
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_VALIDATORS 1
46693 _ACEOF
46694
46695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46696 fi
46697
46698 if test "$wxUSE_PALETTE" = "yes" ; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_PALETTE 1
46701 _ACEOF
46702
46703 fi
46704
46705 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46706 LIBS=" -lunicows $LIBS"
46707 fi
46708
46709 USE_RICHTEXT=0
46710 if test "$wxUSE_RICHTEXT" = "yes"; then
46711 cat >>confdefs.h <<\_ACEOF
46712 #define wxUSE_RICHTEXT 1
46713 _ACEOF
46714
46715 USE_RICHTEXT=1
46716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46717 fi
46718
46719
46720 if test "$wxUSE_IMAGE" = "yes" ; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_IMAGE 1
46723 _ACEOF
46724
46725
46726 if test "$wxUSE_GIF" = "yes" ; then
46727 cat >>confdefs.h <<\_ACEOF
46728 #define wxUSE_GIF 1
46729 _ACEOF
46730
46731 fi
46732
46733 if test "$wxUSE_PCX" = "yes" ; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_PCX 1
46736 _ACEOF
46737
46738 fi
46739
46740 if test "$wxUSE_TGA" = "yes" ; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_TGA 1
46743 _ACEOF
46744
46745 fi
46746
46747 if test "$wxUSE_IFF" = "yes" ; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_IFF 1
46750 _ACEOF
46751
46752 fi
46753
46754 if test "$wxUSE_PNM" = "yes" ; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_PNM 1
46757 _ACEOF
46758
46759 fi
46760
46761 if test "$wxUSE_XPM" = "yes" ; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_XPM 1
46764 _ACEOF
46765
46766 fi
46767
46768 if test "$wxUSE_ICO_CUR" = "yes" ; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_ICO_CUR 1
46771 _ACEOF
46772
46773 fi
46774 fi
46775
46776
46777 if test "$wxUSE_ABOUTDLG" = "yes"; then
46778 cat >>confdefs.h <<\_ACEOF
46779 #define wxUSE_ABOUTDLG 1
46780 _ACEOF
46781
46782 fi
46783
46784 if test "$wxUSE_CHOICEDLG" = "yes"; then
46785 cat >>confdefs.h <<\_ACEOF
46786 #define wxUSE_CHOICEDLG 1
46787 _ACEOF
46788
46789 fi
46790
46791 if test "$wxUSE_COLOURDLG" = "yes"; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_COLOURDLG 1
46794 _ACEOF
46795
46796 fi
46797
46798 if test "$wxUSE_FILEDLG" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_FILEDLG 1
46801 _ACEOF
46802
46803 fi
46804
46805 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_FINDREPLDLG 1
46808 _ACEOF
46809
46810 fi
46811
46812 if test "$wxUSE_FONTDLG" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_FONTDLG 1
46815 _ACEOF
46816
46817 fi
46818
46819 if test "$wxUSE_DIRDLG" = "yes"; then
46820 if test "$wxUSE_TREECTRL" != "yes"; then
46821 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46822 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46823 else
46824 cat >>confdefs.h <<\_ACEOF
46825 #define wxUSE_DIRDLG 1
46826 _ACEOF
46827
46828 fi
46829 fi
46830
46831 if test "$wxUSE_MSGDLG" = "yes"; then
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_MSGDLG 1
46834 _ACEOF
46835
46836 fi
46837
46838 if test "$wxUSE_NUMBERDLG" = "yes"; then
46839 cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_NUMBERDLG 1
46841 _ACEOF
46842
46843 fi
46844
46845 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46846 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46847 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46848 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46849 else
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_PROGRESSDLG 1
46852 _ACEOF
46853
46854 fi
46855 fi
46856
46857 if test "$wxUSE_SPLASH" = "yes"; then
46858 cat >>confdefs.h <<\_ACEOF
46859 #define wxUSE_SPLASH 1
46860 _ACEOF
46861
46862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46863 fi
46864
46865 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46866 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46867 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46868 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46869 else
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_STARTUP_TIPS 1
46872 _ACEOF
46873
46874 fi
46875 fi
46876
46877 if test "$wxUSE_TEXTDLG" = "yes"; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_TEXTDLG 1
46880 _ACEOF
46881
46882 fi
46883
46884 if test "$wxUSE_WIZARDDLG" = "yes"; then
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_WIZARDDLG 1
46887 _ACEOF
46888
46889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46890 fi
46891
46892
46893 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46894 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_GRAPHICS_CONTEXT 1
46897 _ACEOF
46898
46899 elif test "$wxUSE_GTK" != 1; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_GRAPHICS_CONTEXT 1
46902 _ACEOF
46903
46904 else
46905
46906 pkg_failed=no
46907 echo "$as_me:$LINENO: checking for CAIRO" >&5
46908 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46909
46910 if test -n "$PKG_CONFIG"; then
46911 if test -n "$CAIRO_CFLAGS"; then
46912 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46913 else
46914 if test -n "$PKG_CONFIG" && \
46915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46916 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46917 ac_status=$?
46918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919 (exit $ac_status); }; then
46920 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46921 else
46922 pkg_failed=yes
46923 fi
46924 fi
46925 else
46926 pkg_failed=untried
46927 fi
46928 if test -n "$PKG_CONFIG"; then
46929 if test -n "$CAIRO_LIBS"; then
46930 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46931 else
46932 if test -n "$PKG_CONFIG" && \
46933 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46934 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46935 ac_status=$?
46936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46937 (exit $ac_status); }; then
46938 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46939 else
46940 pkg_failed=yes
46941 fi
46942 fi
46943 else
46944 pkg_failed=untried
46945 fi
46946
46947
46948
46949 if test $pkg_failed = yes; then
46950
46951 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46952 _pkg_short_errors_supported=yes
46953 else
46954 _pkg_short_errors_supported=no
46955 fi
46956 if test $_pkg_short_errors_supported = yes; then
46957 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46958 else
46959 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46960 fi
46961 # Put the nasty error message in config.log where it belongs
46962 echo "$CAIRO_PKG_ERRORS" >&5
46963
46964 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46965 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46966
46967 elif test $pkg_failed = untried; then
46968 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46969 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46970
46971 else
46972 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46973 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46974 echo "$as_me:$LINENO: result: yes" >&5
46975 echo "${ECHO_T}yes" >&6
46976 cat >>confdefs.h <<\_ACEOF
46977 #define wxUSE_GRAPHICS_CONTEXT 1
46978 _ACEOF
46979
46980 fi
46981 fi
46982 fi
46983
46984
46985 USE_MEDIA=0
46986
46987 if test "$wxUSE_MEDIACTRL" = "yes"; then
46988 USE_MEDIA=1
46989
46990 if test "$wxUSE_GTK" = 1; then
46991 wxUSE_GSTREAMER="no"
46992
46993 GST_VERSION_MAJOR=0
46994 GST_VERSION_MINOR=10
46995 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46996
46997 if test "$wxUSE_GSTREAMER8" = "no"; then
46998
46999 pkg_failed=no
47000 echo "$as_me:$LINENO: checking for GST" >&5
47001 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47002
47003 if test -n "$PKG_CONFIG"; then
47004 if test -n "$GST_CFLAGS"; then
47005 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47006 else
47007 if test -n "$PKG_CONFIG" && \
47008 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47009 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47010 ac_status=$?
47011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012 (exit $ac_status); }; then
47013 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47014 else
47015 pkg_failed=yes
47016 fi
47017 fi
47018 else
47019 pkg_failed=untried
47020 fi
47021 if test -n "$PKG_CONFIG"; then
47022 if test -n "$GST_LIBS"; then
47023 pkg_cv_GST_LIBS="$GST_LIBS"
47024 else
47025 if test -n "$PKG_CONFIG" && \
47026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47027 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47028 ac_status=$?
47029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47030 (exit $ac_status); }; then
47031 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47032 else
47033 pkg_failed=yes
47034 fi
47035 fi
47036 else
47037 pkg_failed=untried
47038 fi
47039
47040
47041
47042 if test $pkg_failed = yes; then
47043
47044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47045 _pkg_short_errors_supported=yes
47046 else
47047 _pkg_short_errors_supported=no
47048 fi
47049 if test $_pkg_short_errors_supported = yes; then
47050 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47051 else
47052 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47053 fi
47054 # Put the nasty error message in config.log where it belongs
47055 echo "$GST_PKG_ERRORS" >&5
47056
47057
47058 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47059 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47060 GST_VERSION_MINOR=8
47061
47062
47063 elif test $pkg_failed = untried; then
47064
47065 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47066 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47067 GST_VERSION_MINOR=8
47068
47069
47070 else
47071 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47072 GST_LIBS=$pkg_cv_GST_LIBS
47073 echo "$as_me:$LINENO: result: yes" >&5
47074 echo "${ECHO_T}yes" >&6
47075
47076 wxUSE_GSTREAMER="yes"
47077 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47078
47079 fi
47080 else
47081 GST_VERSION_MINOR=8
47082 fi
47083
47084 if test $GST_VERSION_MINOR = "8"; then
47085 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47086
47087 pkg_failed=no
47088 echo "$as_me:$LINENO: checking for GST" >&5
47089 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47090
47091 if test -n "$PKG_CONFIG"; then
47092 if test -n "$GST_CFLAGS"; then
47093 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47094 else
47095 if test -n "$PKG_CONFIG" && \
47096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47097 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47098 ac_status=$?
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); }; then
47101 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47102 else
47103 pkg_failed=yes
47104 fi
47105 fi
47106 else
47107 pkg_failed=untried
47108 fi
47109 if test -n "$PKG_CONFIG"; then
47110 if test -n "$GST_LIBS"; then
47111 pkg_cv_GST_LIBS="$GST_LIBS"
47112 else
47113 if test -n "$PKG_CONFIG" && \
47114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47115 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47116 ac_status=$?
47117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47118 (exit $ac_status); }; then
47119 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47120 else
47121 pkg_failed=yes
47122 fi
47123 fi
47124 else
47125 pkg_failed=untried
47126 fi
47127
47128
47129
47130 if test $pkg_failed = yes; then
47131
47132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47133 _pkg_short_errors_supported=yes
47134 else
47135 _pkg_short_errors_supported=no
47136 fi
47137 if test $_pkg_short_errors_supported = yes; then
47138 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47139 else
47140 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47141 fi
47142 # Put the nasty error message in config.log where it belongs
47143 echo "$GST_PKG_ERRORS" >&5
47144
47145
47146 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47147 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47148
47149 elif test $pkg_failed = untried; then
47150
47151 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47152 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47153
47154 else
47155 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47156 GST_LIBS=$pkg_cv_GST_LIBS
47157 echo "$as_me:$LINENO: result: yes" >&5
47158 echo "${ECHO_T}yes" >&6
47159 wxUSE_GSTREAMER="yes"
47160 fi
47161 fi
47162
47163
47164 if test "$wxUSE_GSTREAMER" = "yes"; then
47165 case "${host}" in
47166 *-*-solaris2* )
47167 if "$GCC" = yes; then
47168 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47169 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47170 fi
47171 esac
47172
47173 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47174 LIBS="$GST_LIBS $LIBS"
47175
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_GSTREAMER 1
47178 _ACEOF
47179
47180 else
47181 USE_MEDIA=0
47182 fi
47183 fi
47184
47185 if test $USE_MEDIA = 1; then
47186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47187 cat >>confdefs.h <<\_ACEOF
47188 #define wxUSE_MEDIACTRL 1
47189 _ACEOF
47190
47191 fi
47192 fi
47193
47194
47195 if test "$cross_compiling" = "yes"; then
47196 OSINFO="\"$host\""
47197 else
47198 OSINFO=`uname -s -r -m`
47199 OSINFO="\"$OSINFO\""
47200 fi
47201
47202 cat >>confdefs.h <<_ACEOF
47203 #define WXWIN_OS_DESCRIPTION $OSINFO
47204 _ACEOF
47205
47206
47207
47208 if test "x$prefix" != "xNONE"; then
47209 wxPREFIX=$prefix
47210 else
47211 wxPREFIX=$ac_default_prefix
47212 fi
47213
47214 cat >>confdefs.h <<_ACEOF
47215 #define wxINSTALL_PREFIX "$wxPREFIX"
47216 _ACEOF
47217
47218
47219
47220
47221 CORE_BASE_LIBS="net base"
47222 CORE_GUI_LIBS="adv core"
47223
47224 if test "$wxUSE_XML" = "yes" ; then
47225 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47226 fi
47227 if test "$wxUSE_ODBC" != "no" ; then
47228 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47229 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47230 fi
47231 if test "$wxUSE_HTML" = "yes" ; then
47232 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47233 fi
47234 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47235 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47236 fi
47237 if test "$wxUSE_XRC" = "yes" ; then
47238 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47239 fi
47240 if test "$wxUSE_AUI" = "yes" ; then
47241 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47242 fi
47243
47244 if test "$wxUSE_GUI" != "yes"; then
47245 CORE_GUI_LIBS=""
47246 fi
47247
47248
47249
47250
47251
47252
47253 if test "$wxUSE_MAC" = 1 ; then
47254 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47255 if test "$USE_DARWIN" = 1; then
47256 LDFLAGS="$LDFLAGS -framework QuickTime"
47257 else
47258 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47259 fi
47260 fi
47261 if test "$USE_DARWIN" = 1; then
47262 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47263 else
47264 LDFLAGS="$LDFLAGS -lCarbonLib"
47265 fi
47266 fi
47267 if test "$wxUSE_COCOA" = 1 ; then
47268 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47269 if test "$wxUSE_MEDIACTRL" = "yes"; then
47270 LDFLAGS="$LDFLAGS -framework QuickTime"
47271 fi
47272 fi
47273 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47274 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47275 fi
47276
47277 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47278
47279 if test "$wxUSE_GUI" = "yes"; then
47280
47281
47282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47283 dynamic erase event exec font image minimal mobile \
47284 mobile/wxedit mobile/styles propsize render \
47285 rotate shaped vscroll widgets"
47286
47287 if test "$wxUSE_MONOLITHIC" != "yes"; then
47288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47289 fi
47290 if test "$TOOLKIT" = "MSW"; then
47291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47292 if test "$wxUSE_UNIVERSAL" != "yes"; then
47293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47294 fi
47295 fi
47296 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47298 fi
47299 else
47300 SAMPLES_SUBDIRS="console"
47301 fi
47302
47303
47304 if test "x$INTELCC" = "xyes" ; then
47305 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47306 elif test "$GCC" = yes ; then
47307 CWARNINGS="-Wall -Wundef"
47308 fi
47309
47310 if test "x$INTELCXX" = "xyes" ; then
47311 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47312 elif test "$GXX" = yes ; then
47313 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47314 fi
47315
47316
47317 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47318 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47319
47320
47321 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47322 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47323 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47324 $CPPFLAGS `
47325
47326 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47327 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47328 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47329
47330 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47331
47332
47333 if test "x$MWCC" = "xyes"; then
47334
47335 CC="$CC -cwd source -I-"
47336 CXX="$CXX -cwd source -I-"
47337 fi
47338
47339
47340 LIBS=`echo $LIBS`
47341 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47342 EXTRALIBS_XML="$EXPAT_LINK"
47343 EXTRALIBS_HTML="$MSPACK_LINK"
47344 EXTRALIBS_ODBC="$ODBC_LINK"
47345 if test "$wxUSE_GUI" = "yes"; then
47346 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47347 fi
47348 if test "$wxUSE_OPENGL" = "yes"; then
47349 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47350 fi
47351
47352 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47353
47354 WXCONFIG_LIBS="$LIBS"
47355
47356 if test "$wxUSE_REGEX" = "builtin" ; then
47357 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47358 fi
47359 if test "$wxUSE_EXPAT" = "builtin" ; then
47360 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47361 fi
47362 if test "$wxUSE_ODBC" = "builtin" ; then
47363 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47364 fi
47365 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47366 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47367 fi
47368 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47369 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47370 fi
47371 if test "$wxUSE_LIBPNG" = "builtin" ; then
47372 wxconfig_3rdparty="png $wxconfig_3rdparty"
47373 fi
47374 if test "$wxUSE_ZLIB" = "builtin" ; then
47375 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47376 fi
47377
47378 for i in $wxconfig_3rdparty ; do
47379 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47380 done
47381
47382
47383 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47384 WXUNIV=1
47385
47386 case "$wxUNIV_THEMES" in
47387 ''|all)
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_ALL_THEMES 1
47390 _ACEOF
47391
47392 ;;
47393
47394 *)
47395 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47396 cat >>confdefs.h <<_ACEOF
47397 #define wxUSE_THEME_$t 1
47398 _ACEOF
47399
47400 done
47401 esac
47402 else
47403 WXUNIV=0
47404 fi
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414 if test $wxUSE_MONOLITHIC = "yes" ; then
47415 MONOLITHIC=1
47416 else
47417 MONOLITHIC=0
47418 fi
47419
47420 if test $wxUSE_PLUGINS = "yes" ; then
47421 USE_PLUGINS=1
47422 else
47423 USE_PLUGINS=0
47424 fi
47425
47426 if test $wxUSE_ODBC != "no" ; then
47427 USE_ODBC=1
47428 else
47429 USE_ODBC=0
47430 fi
47431
47432 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47433 USE_QA=1
47434 else
47435 USE_QA=0
47436 fi
47437
47438 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47439 OFFICIAL_BUILD=1
47440 else
47441 OFFICIAL_BUILD=0
47442 fi
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47469
47470
47471
47472
47473
47474
47475
47476
47477 case "$TOOLKIT" in
47478 GTK)
47479 TOOLKIT_DESC="GTK+"
47480 if test "$WXGTK20" = 1; then
47481 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47482 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47483 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47484 fi
47485 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47486 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47487 fi
47488 if test "$wxUSE_LIBHILDON" = "yes"; then
47489 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47490 fi
47491
47492 if test "$TOOLKIT_EXTRA" != ""; then
47493 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47494 fi
47495 fi
47496 ;;
47497
47498 ?*)
47499 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47500 ;;
47501
47502 *)
47503 TOOLKIT_DESC="base only"
47504 ;;
47505 esac
47506
47507 if test "$wxUSE_WINE" = "yes"; then
47508 BAKEFILE_FORCE_PLATFORM=win32
47509 fi
47510
47511 if test "$wxUSE_MAC" = 1 ; then
47512 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47513 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47514 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47515 else
47516 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47517 fi
47518 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47519 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47520 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47521 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47522 bk_use_pch=no
47523 fi
47524 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47525 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47526 fi
47527
47528 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47529 then
47530 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47531 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47532 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47533 echo $ECHO_N "(cached) $ECHO_C" >&6
47534 else
47535
47536 echo '#include <stdio.h>
47537 const wchar_t test_var[] = L"awidetest";' > conftest.h
47538
47539 echo '#include "conftest.h"
47540 int main()
47541 {
47542 printf("%ls", test_var);
47543 return 0;
47544 }' > conftest.cpp
47545
47546 wx_cv_gcc_pch_bug="pch not supported"
47547
47548 if $CXX conftest.h >/dev/null 2>&1
47549 then
47550 wx_cv_gcc_pch_bug=
47551
47552 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47553 then
47554 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47555 grep awidetest >/dev/null
47556 then
47557 wx_cv_gcc_pch_bug=no
47558 else
47559 wx_cv_gcc_pch_bug=yes
47560 fi
47561 fi
47562 fi
47563
47564 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47565
47566 fi
47567 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47568 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47569
47570 if test "$wx_cv_gcc_pch_bug" = yes; then
47571 bk_use_pch=no
47572 fi
47573 fi
47574
47575
47576
47577
47578 if test "x$BAKEFILE_HOST" = "x"; then
47579 if test "x${host}" = "x" ; then
47580 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47581 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47582 { (exit 1); exit 1; }; }
47583 fi
47584
47585 BAKEFILE_HOST="${host}"
47586 fi
47587
47588 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47589
47590 if test -n "$ac_tool_prefix"; then
47591 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47592 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47593 echo "$as_me:$LINENO: checking for $ac_word" >&5
47594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47595 if test "${ac_cv_prog_RANLIB+set}" = set; then
47596 echo $ECHO_N "(cached) $ECHO_C" >&6
47597 else
47598 if test -n "$RANLIB"; then
47599 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47600 else
47601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47602 for as_dir in $PATH
47603 do
47604 IFS=$as_save_IFS
47605 test -z "$as_dir" && as_dir=.
47606 for ac_exec_ext in '' $ac_executable_extensions; do
47607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47608 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47610 break 2
47611 fi
47612 done
47613 done
47614
47615 fi
47616 fi
47617 RANLIB=$ac_cv_prog_RANLIB
47618 if test -n "$RANLIB"; then
47619 echo "$as_me:$LINENO: result: $RANLIB" >&5
47620 echo "${ECHO_T}$RANLIB" >&6
47621 else
47622 echo "$as_me:$LINENO: result: no" >&5
47623 echo "${ECHO_T}no" >&6
47624 fi
47625
47626 fi
47627 if test -z "$ac_cv_prog_RANLIB"; then
47628 ac_ct_RANLIB=$RANLIB
47629 # Extract the first word of "ranlib", so it can be a program name with args.
47630 set dummy ranlib; ac_word=$2
47631 echo "$as_me:$LINENO: checking for $ac_word" >&5
47632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47633 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47634 echo $ECHO_N "(cached) $ECHO_C" >&6
47635 else
47636 if test -n "$ac_ct_RANLIB"; then
47637 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47638 else
47639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47640 for as_dir in $PATH
47641 do
47642 IFS=$as_save_IFS
47643 test -z "$as_dir" && as_dir=.
47644 for ac_exec_ext in '' $ac_executable_extensions; do
47645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47646 ac_cv_prog_ac_ct_RANLIB="ranlib"
47647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47648 break 2
47649 fi
47650 done
47651 done
47652
47653 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47654 fi
47655 fi
47656 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47657 if test -n "$ac_ct_RANLIB"; then
47658 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47659 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47660 else
47661 echo "$as_me:$LINENO: result: no" >&5
47662 echo "${ECHO_T}no" >&6
47663 fi
47664
47665 RANLIB=$ac_ct_RANLIB
47666 else
47667 RANLIB="$ac_cv_prog_RANLIB"
47668 fi
47669
47670 # Find a good install program. We prefer a C program (faster),
47671 # so one script is as good as another. But avoid the broken or
47672 # incompatible versions:
47673 # SysV /etc/install, /usr/sbin/install
47674 # SunOS /usr/etc/install
47675 # IRIX /sbin/install
47676 # AIX /bin/install
47677 # AmigaOS /C/install, which installs bootblocks on floppy discs
47678 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47679 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47680 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47681 # OS/2's system install, which has a completely different semantic
47682 # ./install, which can be erroneously created by make from ./install.sh.
47683 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47684 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47685 if test -z "$INSTALL"; then
47686 if test "${ac_cv_path_install+set}" = set; then
47687 echo $ECHO_N "(cached) $ECHO_C" >&6
47688 else
47689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47690 for as_dir in $PATH
47691 do
47692 IFS=$as_save_IFS
47693 test -z "$as_dir" && as_dir=.
47694 # Account for people who put trailing slashes in PATH elements.
47695 case $as_dir/ in
47696 ./ | .// | /cC/* | \
47697 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47698 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47699 /usr/ucb/* ) ;;
47700 *)
47701 # OSF1 and SCO ODT 3.0 have their own names for install.
47702 # Don't use installbsd from OSF since it installs stuff as root
47703 # by default.
47704 for ac_prog in ginstall scoinst install; do
47705 for ac_exec_ext in '' $ac_executable_extensions; do
47706 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47707 if test $ac_prog = install &&
47708 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47709 # AIX install. It has an incompatible calling convention.
47710 :
47711 elif test $ac_prog = install &&
47712 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47713 # program-specific install script used by HP pwplus--don't use.
47714 :
47715 else
47716 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47717 break 3
47718 fi
47719 fi
47720 done
47721 done
47722 ;;
47723 esac
47724 done
47725
47726
47727 fi
47728 if test "${ac_cv_path_install+set}" = set; then
47729 INSTALL=$ac_cv_path_install
47730 else
47731 # As a last resort, use the slow shell script. We don't cache a
47732 # path for INSTALL within a source directory, because that will
47733 # break other packages using the cache if that directory is
47734 # removed, or if the path is relative.
47735 INSTALL=$ac_install_sh
47736 fi
47737 fi
47738 echo "$as_me:$LINENO: result: $INSTALL" >&5
47739 echo "${ECHO_T}$INSTALL" >&6
47740
47741 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47742 # It thinks the first close brace ends the variable substitution.
47743 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47744
47745 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47746
47747 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47748
47749 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47750 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47751 LN_S=$as_ln_s
47752 if test "$LN_S" = "ln -s"; then
47753 echo "$as_me:$LINENO: result: yes" >&5
47754 echo "${ECHO_T}yes" >&6
47755 else
47756 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47757 echo "${ECHO_T}no, using $LN_S" >&6
47758 fi
47759
47760
47761 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47763 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47764 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47765 echo $ECHO_N "(cached) $ECHO_C" >&6
47766 else
47767 cat >conftest.make <<\_ACEOF
47768 all:
47769 @echo 'ac_maketemp="$(MAKE)"'
47770 _ACEOF
47771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47772 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47773 if test -n "$ac_maketemp"; then
47774 eval ac_cv_prog_make_${ac_make}_set=yes
47775 else
47776 eval ac_cv_prog_make_${ac_make}_set=no
47777 fi
47778 rm -f conftest.make
47779 fi
47780 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47781 echo "$as_me:$LINENO: result: yes" >&5
47782 echo "${ECHO_T}yes" >&6
47783 SET_MAKE=
47784 else
47785 echo "$as_me:$LINENO: result: no" >&5
47786 echo "${ECHO_T}no" >&6
47787 SET_MAKE="MAKE=${MAKE-make}"
47788 fi
47789
47790
47791
47792 if test "x$SUNCXX" = "xyes"; then
47793 AR=$CXX
47794
47795 AROPTIONS="-xar -o"
47796 else
47797 if test -n "$ac_tool_prefix"; then
47798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47799 set dummy ${ac_tool_prefix}ar; ac_word=$2
47800 echo "$as_me:$LINENO: checking for $ac_word" >&5
47801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47802 if test "${ac_cv_prog_AR+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47804 else
47805 if test -n "$AR"; then
47806 ac_cv_prog_AR="$AR" # Let the user override the test.
47807 else
47808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47809 for as_dir in $PATH
47810 do
47811 IFS=$as_save_IFS
47812 test -z "$as_dir" && as_dir=.
47813 for ac_exec_ext in '' $ac_executable_extensions; do
47814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47815 ac_cv_prog_AR="${ac_tool_prefix}ar"
47816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47817 break 2
47818 fi
47819 done
47820 done
47821
47822 fi
47823 fi
47824 AR=$ac_cv_prog_AR
47825 if test -n "$AR"; then
47826 echo "$as_me:$LINENO: result: $AR" >&5
47827 echo "${ECHO_T}$AR" >&6
47828 else
47829 echo "$as_me:$LINENO: result: no" >&5
47830 echo "${ECHO_T}no" >&6
47831 fi
47832
47833 fi
47834 if test -z "$ac_cv_prog_AR"; then
47835 ac_ct_AR=$AR
47836 # Extract the first word of "ar", so it can be a program name with args.
47837 set dummy ar; ac_word=$2
47838 echo "$as_me:$LINENO: checking for $ac_word" >&5
47839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47840 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47841 echo $ECHO_N "(cached) $ECHO_C" >&6
47842 else
47843 if test -n "$ac_ct_AR"; then
47844 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47845 else
47846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47847 for as_dir in $PATH
47848 do
47849 IFS=$as_save_IFS
47850 test -z "$as_dir" && as_dir=.
47851 for ac_exec_ext in '' $ac_executable_extensions; do
47852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47853 ac_cv_prog_ac_ct_AR="ar"
47854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47855 break 2
47856 fi
47857 done
47858 done
47859
47860 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47861 fi
47862 fi
47863 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47864 if test -n "$ac_ct_AR"; then
47865 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47866 echo "${ECHO_T}$ac_ct_AR" >&6
47867 else
47868 echo "$as_me:$LINENO: result: no" >&5
47869 echo "${ECHO_T}no" >&6
47870 fi
47871
47872 AR=$ac_ct_AR
47873 else
47874 AR="$ac_cv_prog_AR"
47875 fi
47876
47877 AROPTIONS=rcu
47878 fi
47879
47880
47881 if test -n "$ac_tool_prefix"; then
47882 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47883 set dummy ${ac_tool_prefix}strip; ac_word=$2
47884 echo "$as_me:$LINENO: checking for $ac_word" >&5
47885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47886 if test "${ac_cv_prog_STRIP+set}" = set; then
47887 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 else
47889 if test -n "$STRIP"; then
47890 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47891 else
47892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47893 for as_dir in $PATH
47894 do
47895 IFS=$as_save_IFS
47896 test -z "$as_dir" && as_dir=.
47897 for ac_exec_ext in '' $ac_executable_extensions; do
47898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47899 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47901 break 2
47902 fi
47903 done
47904 done
47905
47906 fi
47907 fi
47908 STRIP=$ac_cv_prog_STRIP
47909 if test -n "$STRIP"; then
47910 echo "$as_me:$LINENO: result: $STRIP" >&5
47911 echo "${ECHO_T}$STRIP" >&6
47912 else
47913 echo "$as_me:$LINENO: result: no" >&5
47914 echo "${ECHO_T}no" >&6
47915 fi
47916
47917 fi
47918 if test -z "$ac_cv_prog_STRIP"; then
47919 ac_ct_STRIP=$STRIP
47920 # Extract the first word of "strip", so it can be a program name with args.
47921 set dummy strip; ac_word=$2
47922 echo "$as_me:$LINENO: checking for $ac_word" >&5
47923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47924 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47925 echo $ECHO_N "(cached) $ECHO_C" >&6
47926 else
47927 if test -n "$ac_ct_STRIP"; then
47928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47929 else
47930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47931 for as_dir in $PATH
47932 do
47933 IFS=$as_save_IFS
47934 test -z "$as_dir" && as_dir=.
47935 for ac_exec_ext in '' $ac_executable_extensions; do
47936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47937 ac_cv_prog_ac_ct_STRIP="strip"
47938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47939 break 2
47940 fi
47941 done
47942 done
47943
47944 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47945 fi
47946 fi
47947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47948 if test -n "$ac_ct_STRIP"; then
47949 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47950 echo "${ECHO_T}$ac_ct_STRIP" >&6
47951 else
47952 echo "$as_me:$LINENO: result: no" >&5
47953 echo "${ECHO_T}no" >&6
47954 fi
47955
47956 STRIP=$ac_ct_STRIP
47957 else
47958 STRIP="$ac_cv_prog_STRIP"
47959 fi
47960
47961 if test -n "$ac_tool_prefix"; then
47962 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47963 set dummy ${ac_tool_prefix}nm; ac_word=$2
47964 echo "$as_me:$LINENO: checking for $ac_word" >&5
47965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47966 if test "${ac_cv_prog_NM+set}" = set; then
47967 echo $ECHO_N "(cached) $ECHO_C" >&6
47968 else
47969 if test -n "$NM"; then
47970 ac_cv_prog_NM="$NM" # Let the user override the test.
47971 else
47972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47973 for as_dir in $PATH
47974 do
47975 IFS=$as_save_IFS
47976 test -z "$as_dir" && as_dir=.
47977 for ac_exec_ext in '' $ac_executable_extensions; do
47978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47979 ac_cv_prog_NM="${ac_tool_prefix}nm"
47980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47981 break 2
47982 fi
47983 done
47984 done
47985
47986 fi
47987 fi
47988 NM=$ac_cv_prog_NM
47989 if test -n "$NM"; then
47990 echo "$as_me:$LINENO: result: $NM" >&5
47991 echo "${ECHO_T}$NM" >&6
47992 else
47993 echo "$as_me:$LINENO: result: no" >&5
47994 echo "${ECHO_T}no" >&6
47995 fi
47996
47997 fi
47998 if test -z "$ac_cv_prog_NM"; then
47999 ac_ct_NM=$NM
48000 # Extract the first word of "nm", so it can be a program name with args.
48001 set dummy nm; ac_word=$2
48002 echo "$as_me:$LINENO: checking for $ac_word" >&5
48003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48004 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48005 echo $ECHO_N "(cached) $ECHO_C" >&6
48006 else
48007 if test -n "$ac_ct_NM"; then
48008 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48009 else
48010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48011 for as_dir in $PATH
48012 do
48013 IFS=$as_save_IFS
48014 test -z "$as_dir" && as_dir=.
48015 for ac_exec_ext in '' $ac_executable_extensions; do
48016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48017 ac_cv_prog_ac_ct_NM="nm"
48018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48019 break 2
48020 fi
48021 done
48022 done
48023
48024 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48025 fi
48026 fi
48027 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48028 if test -n "$ac_ct_NM"; then
48029 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48030 echo "${ECHO_T}$ac_ct_NM" >&6
48031 else
48032 echo "$as_me:$LINENO: result: no" >&5
48033 echo "${ECHO_T}no" >&6
48034 fi
48035
48036 NM=$ac_ct_NM
48037 else
48038 NM="$ac_cv_prog_NM"
48039 fi
48040
48041
48042 case ${BAKEFILE_HOST} in
48043 *-hp-hpux* )
48044 INSTALL_DIR="mkdir -p"
48045 ;;
48046 * )
48047 INSTALL_DIR='$(INSTALL) -d'
48048 ;;
48049 esac
48050
48051
48052 LDFLAGS_GUI=
48053 case ${BAKEFILE_HOST} in
48054 *-*-cygwin* | *-*-mingw32* )
48055 LDFLAGS_GUI="-mwindows"
48056 esac
48057
48058
48059 fi
48060
48061 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48062 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48063 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48064 echo $ECHO_N "(cached) $ECHO_C" >&6
48065 else
48066
48067 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48068 egrep -s GNU > /dev/null); then
48069 bakefile_cv_prog_makeisgnu="yes"
48070 else
48071 bakefile_cv_prog_makeisgnu="no"
48072 fi
48073
48074 fi
48075 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48076 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48077
48078 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48079 IF_GNU_MAKE=""
48080 else
48081 IF_GNU_MAKE="#"
48082 fi
48083
48084
48085
48086 PLATFORM_UNIX=0
48087 PLATFORM_WIN32=0
48088 PLATFORM_MSDOS=0
48089 PLATFORM_MAC=0
48090 PLATFORM_MACOS=0
48091 PLATFORM_MACOSX=0
48092 PLATFORM_OS2=0
48093 PLATFORM_BEOS=0
48094
48095 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48096 case "${BAKEFILE_HOST}" in
48097 *-*-mingw32* )
48098 PLATFORM_WIN32=1
48099 ;;
48100 *-pc-msdosdjgpp )
48101 PLATFORM_MSDOS=1
48102 ;;
48103 *-pc-os2_emx | *-pc-os2-emx )
48104 PLATFORM_OS2=1
48105 ;;
48106 *-*-darwin* )
48107 PLATFORM_MAC=1
48108 PLATFORM_MACOSX=1
48109 ;;
48110 *-*-beos* )
48111 PLATFORM_BEOS=1
48112 ;;
48113 powerpc-apple-macos* )
48114 PLATFORM_MAC=1
48115 PLATFORM_MACOS=1
48116 ;;
48117 * )
48118 PLATFORM_UNIX=1
48119 ;;
48120 esac
48121 else
48122 case "$BAKEFILE_FORCE_PLATFORM" in
48123 win32 )
48124 PLATFORM_WIN32=1
48125 ;;
48126 msdos )
48127 PLATFORM_MSDOS=1
48128 ;;
48129 os2 )
48130 PLATFORM_OS2=1
48131 ;;
48132 darwin )
48133 PLATFORM_MAC=1
48134 PLATFORM_MACOSX=1
48135 ;;
48136 unix )
48137 PLATFORM_UNIX=1
48138 ;;
48139 beos )
48140 PLATFORM_BEOS=1
48141 ;;
48142 * )
48143 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48144 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48145 { (exit 1); exit 1; }; }
48146 ;;
48147 esac
48148 fi
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160 # Check whether --enable-omf or --disable-omf was given.
48161 if test "${enable_omf+set}" = set; then
48162 enableval="$enable_omf"
48163 bk_os2_use_omf="$enableval"
48164 fi;
48165
48166 case "${BAKEFILE_HOST}" in
48167 *-*-darwin* )
48168 if test "x$GCC" = "xyes"; then
48169 CFLAGS="$CFLAGS -fno-common"
48170 CXXFLAGS="$CXXFLAGS -fno-common"
48171 fi
48172 if test "x$XLCC" = "xyes"; then
48173 CFLAGS="$CFLAGS -qnocommon"
48174 CXXFLAGS="$CXXFLAGS -qnocommon"
48175 fi
48176 ;;
48177
48178 *-pc-os2_emx | *-pc-os2-emx )
48179 if test "x$bk_os2_use_omf" = "xyes" ; then
48180 AR=emxomfar
48181 RANLIB=:
48182 LDFLAGS="-Zomf $LDFLAGS"
48183 CFLAGS="-Zomf $CFLAGS"
48184 CXXFLAGS="-Zomf $CXXFLAGS"
48185 OS2_LIBEXT="lib"
48186 else
48187 OS2_LIBEXT="a"
48188 fi
48189 ;;
48190
48191 i*86-*-beos* )
48192 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48193 ;;
48194 esac
48195
48196
48197 SO_SUFFIX="so"
48198 SO_SUFFIX_MODULE="so"
48199 EXEEXT=""
48200 LIBPREFIX="lib"
48201 LIBEXT=".a"
48202 DLLPREFIX="lib"
48203 DLLPREFIX_MODULE=""
48204 DLLIMP_SUFFIX=""
48205 dlldir="$libdir"
48206
48207 case "${BAKEFILE_HOST}" in
48208 *-hp-hpux* )
48209 SO_SUFFIX="sl"
48210 SO_SUFFIX_MODULE="sl"
48211 ;;
48212 *-*-aix* )
48213 SO_SUFFIX="a"
48214 SO_SUFFIX_MODULE="a"
48215 ;;
48216 *-*-cygwin* )
48217 SO_SUFFIX="dll"
48218 SO_SUFFIX_MODULE="dll"
48219 DLLIMP_SUFFIX="dll.a"
48220 EXEEXT=".exe"
48221 DLLPREFIX="cyg"
48222 dlldir="$bindir"
48223 ;;
48224 *-*-mingw32* )
48225 SO_SUFFIX="dll"
48226 SO_SUFFIX_MODULE="dll"
48227 DLLIMP_SUFFIX="dll.a"
48228 EXEEXT=".exe"
48229 DLLPREFIX=""
48230 dlldir="$bindir"
48231 ;;
48232 *-pc-msdosdjgpp )
48233 EXEEXT=".exe"
48234 DLLPREFIX=""
48235 dlldir="$bindir"
48236 ;;
48237 *-pc-os2_emx | *-pc-os2-emx )
48238 SO_SUFFIX="dll"
48239 SO_SUFFIX_MODULE="dll"
48240 DLLIMP_SUFFIX=$OS2_LIBEXT
48241 EXEEXT=".exe"
48242 DLLPREFIX=""
48243 LIBPREFIX=""
48244 LIBEXT=".$OS2_LIBEXT"
48245 dlldir="$bindir"
48246 ;;
48247 *-*-darwin* )
48248 SO_SUFFIX="dylib"
48249 SO_SUFFIX_MODULE="bundle"
48250 ;;
48251 esac
48252
48253 if test "x$DLLIMP_SUFFIX" = "x" ; then
48254 DLLIMP_SUFFIX="$SO_SUFFIX"
48255 fi
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268 PIC_FLAG=""
48269 if test "x$GCC" = "xyes"; then
48270 PIC_FLAG="-fPIC"
48271 fi
48272
48273 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48274 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48275 WINDOWS_IMPLIB=0
48276
48277 case "${BAKEFILE_HOST}" in
48278 *-hp-hpux* )
48279 if test "x$GCC" != "xyes"; then
48280 LDFLAGS="$LDFLAGS -L/usr/lib"
48281
48282 SHARED_LD_CC="${CC} -b -o"
48283 SHARED_LD_CXX="${CXX} -b -o"
48284 PIC_FLAG="+Z"
48285 fi
48286 ;;
48287
48288 *-*-linux* )
48289 if test "x$GCC" != "xyes"; then
48290 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48291 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48292 if test "${bakefile_cv_prog_icc+set}" = set; then
48293 echo $ECHO_N "(cached) $ECHO_C" >&6
48294 else
48295
48296 cat >conftest.$ac_ext <<_ACEOF
48297 /* confdefs.h. */
48298 _ACEOF
48299 cat confdefs.h >>conftest.$ac_ext
48300 cat >>conftest.$ac_ext <<_ACEOF
48301 /* end confdefs.h. */
48302
48303 int
48304 main ()
48305 {
48306
48307 #ifndef __INTEL_COMPILER
48308 This is not ICC
48309 #endif
48310
48311 ;
48312 return 0;
48313 }
48314 _ACEOF
48315 rm -f conftest.$ac_objext
48316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48317 (eval $ac_compile) 2>conftest.er1
48318 ac_status=$?
48319 grep -v '^ *+' conftest.er1 >conftest.err
48320 rm -f conftest.er1
48321 cat conftest.err >&5
48322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48323 (exit $ac_status); } &&
48324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48326 (eval $ac_try) 2>&5
48327 ac_status=$?
48328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48329 (exit $ac_status); }; } &&
48330 { ac_try='test -s conftest.$ac_objext'
48331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48332 (eval $ac_try) 2>&5
48333 ac_status=$?
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); }; }; then
48336 bakefile_cv_prog_icc=yes
48337 else
48338 echo "$as_me: failed program was:" >&5
48339 sed 's/^/| /' conftest.$ac_ext >&5
48340
48341 bakefile_cv_prog_icc=no
48342
48343 fi
48344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48345
48346 fi
48347 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48348 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48349 if test "$bakefile_cv_prog_icc" = "yes"; then
48350 PIC_FLAG="-KPIC"
48351 fi
48352 fi
48353 ;;
48354
48355 *-*-solaris2* )
48356 if test "x$GCC" != xyes ; then
48357 SHARED_LD_CC="${CC} -G -o"
48358 SHARED_LD_CXX="${CXX} -G -o"
48359 PIC_FLAG="-KPIC"
48360 fi
48361 ;;
48362
48363 *-*-darwin* )
48364
48365 D='$'
48366 cat <<EOF >shared-ld-sh
48367 #!/bin/sh
48368 #-----------------------------------------------------------------------------
48369 #-- Name: distrib/mac/shared-ld-sh
48370 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48371 #-- Author: Gilles Depeyrot
48372 #-- Copyright: (c) 2002 Gilles Depeyrot
48373 #-- Licence: any use permitted
48374 #-----------------------------------------------------------------------------
48375
48376 verbose=0
48377 args=""
48378 objects=""
48379 linking_flag="-dynamiclib"
48380 ldargs="-r -keep_private_externs -nostdlib"
48381
48382 while test ${D}# -gt 0; do
48383 case ${D}1 in
48384
48385 -v)
48386 verbose=1
48387 ;;
48388
48389 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48390 # collect these options and values
48391 args="${D}{args} ${D}1 ${D}2"
48392 shift
48393 ;;
48394
48395 -s|-Wl,*)
48396 # collect these load args
48397 ldargs="${D}{ldargs} ${D}1"
48398 ;;
48399
48400 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48401 # collect these options
48402 args="${D}{args} ${D}1"
48403 ;;
48404
48405 -dynamiclib|-bundle)
48406 linking_flag="${D}1"
48407 ;;
48408
48409 -*)
48410 echo "shared-ld: unhandled option '${D}1'"
48411 exit 1
48412 ;;
48413
48414 *.o | *.a | *.dylib)
48415 # collect object files
48416 objects="${D}{objects} ${D}1"
48417 ;;
48418
48419 *)
48420 echo "shared-ld: unhandled argument '${D}1'"
48421 exit 1
48422 ;;
48423
48424 esac
48425 shift
48426 done
48427
48428 status=0
48429
48430 #
48431 # Link one module containing all the others
48432 #
48433 if test ${D}{verbose} = 1; then
48434 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48435 fi
48436 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48437 status=${D}?
48438
48439 #
48440 # Link the shared library from the single module created, but only if the
48441 # previous command didn't fail:
48442 #
48443 if test ${D}{status} = 0; then
48444 if test ${D}{verbose} = 1; then
48445 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48446 fi
48447 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48448 status=${D}?
48449 fi
48450
48451 #
48452 # Remove intermediate module
48453 #
48454 rm -f master.${D}${D}.o
48455
48456 exit ${D}status
48457 EOF
48458
48459 chmod +x shared-ld-sh
48460
48461 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48462 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48463
48464
48465 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48466 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48467 if test "${bakefile_cv_gcc31+set}" = set; then
48468 echo $ECHO_N "(cached) $ECHO_C" >&6
48469 else
48470
48471 cat >conftest.$ac_ext <<_ACEOF
48472 /* confdefs.h. */
48473 _ACEOF
48474 cat confdefs.h >>conftest.$ac_ext
48475 cat >>conftest.$ac_ext <<_ACEOF
48476 /* end confdefs.h. */
48477
48478 int
48479 main ()
48480 {
48481
48482 #if (__GNUC__ < 3) || \
48483 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48484 This is old gcc
48485 #endif
48486
48487 ;
48488 return 0;
48489 }
48490 _ACEOF
48491 rm -f conftest.$ac_objext
48492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48493 (eval $ac_compile) 2>conftest.er1
48494 ac_status=$?
48495 grep -v '^ *+' conftest.er1 >conftest.err
48496 rm -f conftest.er1
48497 cat conftest.err >&5
48498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48499 (exit $ac_status); } &&
48500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48502 (eval $ac_try) 2>&5
48503 ac_status=$?
48504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48505 (exit $ac_status); }; } &&
48506 { ac_try='test -s conftest.$ac_objext'
48507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48508 (eval $ac_try) 2>&5
48509 ac_status=$?
48510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48511 (exit $ac_status); }; }; then
48512
48513 bakefile_cv_gcc31=yes
48514
48515 else
48516 echo "$as_me: failed program was:" >&5
48517 sed 's/^/| /' conftest.$ac_ext >&5
48518
48519
48520 bakefile_cv_gcc31=no
48521
48522
48523 fi
48524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48525
48526 fi
48527 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48528 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48529 if test "$bakefile_cv_gcc31" = "no"; then
48530 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48531 SHARED_LD_CXX="$SHARED_LD_CC"
48532 else
48533 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48534 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48535 fi
48536
48537 if test "x$GCC" == "xyes"; then
48538 PIC_FLAG="-dynamic -fPIC"
48539 fi
48540 if test "x$XLCC" = "xyes"; then
48541 PIC_FLAG="-dynamic -DPIC"
48542 fi
48543 ;;
48544
48545 *-*-aix* )
48546 if test "x$GCC" = "xyes"; then
48547 PIC_FLAG=""
48548
48549 case "${BAKEFILE_HOST}" in
48550 *-*-aix5* )
48551 LD_EXPFULL="-Wl,-bexpfull"
48552 ;;
48553 esac
48554
48555 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48556 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48557 else
48558 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48559 set dummy makeC++SharedLib; ac_word=$2
48560 echo "$as_me:$LINENO: checking for $ac_word" >&5
48561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48562 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48563 echo $ECHO_N "(cached) $ECHO_C" >&6
48564 else
48565 if test -n "$AIX_CXX_LD"; then
48566 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48567 else
48568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48569 for as_dir in $PATH
48570 do
48571 IFS=$as_save_IFS
48572 test -z "$as_dir" && as_dir=.
48573 for ac_exec_ext in '' $ac_executable_extensions; do
48574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48575 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48577 break 2
48578 fi
48579 done
48580 done
48581
48582 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48583 fi
48584 fi
48585 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48586 if test -n "$AIX_CXX_LD"; then
48587 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48588 echo "${ECHO_T}$AIX_CXX_LD" >&6
48589 else
48590 echo "$as_me:$LINENO: result: no" >&5
48591 echo "${ECHO_T}no" >&6
48592 fi
48593
48594 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48595 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48596 fi
48597 ;;
48598
48599 *-*-beos* )
48600 SHARED_LD_CC="${LD} -nostart -o"
48601 SHARED_LD_CXX="${LD} -nostart -o"
48602 ;;
48603
48604 *-*-irix* )
48605 if test "x$GCC" != "xyes"; then
48606 PIC_FLAG="-KPIC"
48607 fi
48608 ;;
48609
48610 *-*-cygwin* | *-*-mingw32* )
48611 PIC_FLAG=""
48612 SHARED_LD_CC="\$(CC) -shared -o"
48613 SHARED_LD_CXX="\$(CXX) -shared -o"
48614 WINDOWS_IMPLIB=1
48615 ;;
48616
48617 *-pc-os2_emx | *-pc-os2-emx )
48618 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48619 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48620 PIC_FLAG=""
48621
48622 D='$'
48623 cat <<EOF >dllar.sh
48624 #!/bin/sh
48625 #
48626 # dllar - a tool to build both a .dll and an .a file
48627 # from a set of object (.o) files for EMX/OS2.
48628 #
48629 # Written by Andrew Zabolotny, bit@freya.etu.ru
48630 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48631 #
48632 # This script will accept a set of files on the command line.
48633 # All the public symbols from the .o files will be exported into
48634 # a .DEF file, then linker will be run (through gcc) against them to
48635 # build a shared library consisting of all given .o files. All libraries
48636 # (.a) will be first decompressed into component .o files then act as
48637 # described above. You can optionally give a description (-d "description")
48638 # which will be put into .DLL. To see the list of accepted options (as well
48639 # as command-line format) simply run this program without options. The .DLL
48640 # is built to be imported by name (there is no guarantee that new versions
48641 # of the library you build will have same ordinals for same symbols).
48642 #
48643 # dllar is free software; you can redistribute it and/or modify
48644 # it under the terms of the GNU General Public License as published by
48645 # the Free Software Foundation; either version 2, or (at your option)
48646 # any later version.
48647 #
48648 # dllar is distributed in the hope that it will be useful,
48649 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48650 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48651 # GNU General Public License for more details.
48652 #
48653 # You should have received a copy of the GNU General Public License
48654 # along with dllar; see the file COPYING. If not, write to the Free
48655 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48656 # 02111-1307, USA.
48657
48658 # To successfuly run this program you will need:
48659 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48660 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48661 # - gcc
48662 # (used to build the .dll)
48663 # - emxexp
48664 # (used to create .def file from .o files)
48665 # - emximp
48666 # (used to create .a file from .def file)
48667 # - GNU text utilites (cat, sort, uniq)
48668 # used to process emxexp output
48669 # - GNU file utilities (mv, rm)
48670 # - GNU sed
48671 # - lxlite (optional, see flag below)
48672 # (used for general .dll cleanup)
48673 #
48674
48675 flag_USE_LXLITE=1;
48676
48677 #
48678 # helper functions
48679 # basnam, variant of basename, which does _not_ remove the path, _iff_
48680 # second argument (suffix to remove) is given
48681 basnam(){
48682 case ${D}# in
48683 1)
48684 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48685 ;;
48686 2)
48687 echo ${D}1 | sed 's/'${D}2'${D}//'
48688 ;;
48689 *)
48690 echo "error in basnam ${D}*"
48691 exit 8
48692 ;;
48693 esac
48694 }
48695
48696 # Cleanup temporary files and output
48697 CleanUp() {
48698 cd ${D}curDir
48699 for i in ${D}inputFiles ; do
48700 case ${D}i in
48701 *!)
48702 rm -rf \`basnam ${D}i !\`
48703 ;;
48704 *)
48705 ;;
48706 esac
48707 done
48708
48709 # Kill result in case of failure as there is just to many stupid make/nmake
48710 # things out there which doesn't do this.
48711 if [ ${D}# -eq 0 ]; then
48712 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48713 fi
48714 }
48715
48716 # Print usage and exit script with rc=1.
48717 PrintHelp() {
48718 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48719 echo ' [-name-mangler-script script.sh]'
48720 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48721 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48722 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48723 echo ' [*.o] [*.a]'
48724 echo '*> "output_file" should have no extension.'
48725 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48726 echo ' The import library name is derived from this and is set to "name".a,'
48727 echo ' unless overridden by -import'
48728 echo '*> "importlib_name" should have no extension.'
48729 echo ' If it has the .o, or .a extension, it is automatically removed.'
48730 echo ' This name is used as the import library name and may be longer and'
48731 echo ' more descriptive than the DLL name which has to follow the old '
48732 echo ' 8.3 convention of FAT.'
48733 echo '*> "script.sh may be given to override the output_file name by a'
48734 echo ' different name. It is mainly useful if the regular make process'
48735 echo ' of some package does not take into account OS/2 restriction of'
48736 echo ' DLL name lengths. It takes the importlib name as input and is'
48737 echo ' supposed to procude a shorter name as output. The script should'
48738 echo ' expect to get importlib_name without extension and should produce'
48739 echo ' a (max.) 8 letter name without extension.'
48740 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48741 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48742 echo ' These flags will be put at the start of GCC command line.'
48743 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48744 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48745 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48746 echo ' If the last character of a symbol is "*", all symbols beginning'
48747 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48748 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48749 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48750 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48751 echo ' C runtime DLLs.'
48752 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48753 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48754 echo ' unchanged to GCC at the end of command line.'
48755 echo '*> If you create a DLL from a library and you do not specify -o,'
48756 echo ' the basename for DLL and import library will be set to library name,'
48757 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48758 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48759 echo ' library will be renamed into gcc_s.a.'
48760 echo '--------'
48761 echo 'Example:'
48762 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48763 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48764 CleanUp
48765 exit 1
48766 }
48767
48768 # Execute a command.
48769 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48770 # @Uses Whatever CleanUp() uses.
48771 doCommand() {
48772 echo "${D}*"
48773 eval ${D}*
48774 rcCmd=${D}?
48775
48776 if [ ${D}rcCmd -ne 0 ]; then
48777 echo "command failed, exit code="${D}rcCmd
48778 CleanUp
48779 exit ${D}rcCmd
48780 fi
48781 }
48782
48783 # main routine
48784 # setup globals
48785 cmdLine=${D}*
48786 outFile=""
48787 outimpFile=""
48788 inputFiles=""
48789 renameScript=""
48790 description=""
48791 CC=gcc.exe
48792 CFLAGS="-s -Zcrtdll"
48793 EXTRA_CFLAGS=""
48794 EXPORT_BY_ORDINALS=0
48795 exclude_symbols=""
48796 library_flags=""
48797 curDir=\`pwd\`
48798 curDirS=curDir
48799 case ${D}curDirS in
48800 */)
48801 ;;
48802 *)
48803 curDirS=${D}{curDirS}"/"
48804 ;;
48805 esac
48806 # Parse commandline
48807 libsToLink=0
48808 omfLinking=0
48809 while [ ${D}1 ]; do
48810 case ${D}1 in
48811 -ord*)
48812 EXPORT_BY_ORDINALS=1;
48813 ;;
48814 -o*)
48815 shift
48816 outFile=${D}1
48817 ;;
48818 -i*)
48819 shift
48820 outimpFile=${D}1
48821 ;;
48822 -name-mangler-script)
48823 shift
48824 renameScript=${D}1
48825 ;;
48826 -d*)
48827 shift
48828 description=${D}1
48829 ;;
48830 -f*)
48831 shift
48832 CFLAGS=${D}1
48833 ;;
48834 -c*)
48835 shift
48836 CC=${D}1
48837 ;;
48838 -h*)
48839 PrintHelp
48840 ;;
48841 -ex*)
48842 shift
48843 exclude_symbols=${D}{exclude_symbols}${D}1" "
48844 ;;
48845 -libf*)
48846 shift
48847 library_flags=${D}{library_flags}${D}1" "
48848 ;;
48849 -nocrt*)
48850 CFLAGS="-s"
48851 ;;
48852 -nolxl*)
48853 flag_USE_LXLITE=0
48854 ;;
48855 -* | /*)
48856 case ${D}1 in
48857 -L* | -l*)
48858 libsToLink=1
48859 ;;
48860 -Zomf)
48861 omfLinking=1
48862 ;;
48863 *)
48864 ;;
48865 esac
48866 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48867 ;;
48868 *.dll)
48869 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48870 if [ ${D}omfLinking -eq 1 ]; then
48871 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48872 else
48873 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48874 fi
48875 ;;
48876 *)
48877 found=0;
48878 if [ ${D}libsToLink -ne 0 ]; then
48879 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48880 else
48881 for file in ${D}1 ; do
48882 if [ -f ${D}file ]; then
48883 inputFiles="${D}{inputFiles} ${D}file"
48884 found=1
48885 fi
48886 done
48887 if [ ${D}found -eq 0 ]; then
48888 echo "ERROR: No file(s) found: "${D}1
48889 exit 8
48890 fi
48891 fi
48892 ;;
48893 esac
48894 shift
48895 done # iterate cmdline words
48896
48897 #
48898 if [ -z "${D}inputFiles" ]; then
48899 echo "dllar: no input files"
48900 PrintHelp
48901 fi
48902
48903 # Now extract all .o files from .a files
48904 newInputFiles=""
48905 for file in ${D}inputFiles ; do
48906 case ${D}file in
48907 *.a | *.lib)
48908 case ${D}file in
48909 *.a)
48910 suffix=".a"
48911 AR="ar"
48912 ;;
48913 *.lib)
48914 suffix=".lib"
48915 AR="emxomfar"
48916 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48917 ;;
48918 *)
48919 ;;
48920 esac
48921 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48922 mkdir ${D}dirname
48923 if [ ${D}? -ne 0 ]; then
48924 echo "Failed to create subdirectory ./${D}dirname"
48925 CleanUp
48926 exit 8;
48927 fi
48928 # Append '!' to indicate archive
48929 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48930 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48931 cd ${D}curDir
48932 found=0;
48933 for subfile in ${D}dirname/*.o* ; do
48934 if [ -f ${D}subfile ]; then
48935 found=1
48936 if [ -s ${D}subfile ]; then
48937 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48938 newInputFiles="${D}newInputFiles ${D}subfile"
48939 fi
48940 fi
48941 done
48942 if [ ${D}found -eq 0 ]; then
48943 echo "WARNING: there are no files in archive \\'${D}file\\'"
48944 fi
48945 ;;
48946 *)
48947 newInputFiles="${D}{newInputFiles} ${D}file"
48948 ;;
48949 esac
48950 done
48951 inputFiles="${D}newInputFiles"
48952
48953 # Output filename(s).
48954 do_backup=0;
48955 if [ -z ${D}outFile ]; then
48956 do_backup=1;
48957 set outFile ${D}inputFiles; outFile=${D}2
48958 fi
48959
48960 # If it is an archive, remove the '!' and the '_%' suffixes
48961 case ${D}outFile in
48962 *_%!)
48963 outFile=\`basnam ${D}outFile _%!\`
48964 ;;
48965 *)
48966 ;;
48967 esac
48968 case ${D}outFile in
48969 *.dll)
48970 outFile=\`basnam ${D}outFile .dll\`
48971 ;;
48972 *.DLL)
48973 outFile=\`basnam ${D}outFile .DLL\`
48974 ;;
48975 *.o)
48976 outFile=\`basnam ${D}outFile .o\`
48977 ;;
48978 *.obj)
48979 outFile=\`basnam ${D}outFile .obj\`
48980 ;;
48981 *.a)
48982 outFile=\`basnam ${D}outFile .a\`
48983 ;;
48984 *.lib)
48985 outFile=\`basnam ${D}outFile .lib\`
48986 ;;
48987 *)
48988 ;;
48989 esac
48990 case ${D}outimpFile in
48991 *.a)
48992 outimpFile=\`basnam ${D}outimpFile .a\`
48993 ;;
48994 *.lib)
48995 outimpFile=\`basnam ${D}outimpFile .lib\`
48996 ;;
48997 *)
48998 ;;
48999 esac
49000 if [ -z ${D}outimpFile ]; then
49001 outimpFile=${D}outFile
49002 fi
49003 defFile="${D}{outFile}.def"
49004 arcFile="${D}{outimpFile}.a"
49005 arcFile2="${D}{outimpFile}.lib"
49006
49007 #create ${D}dllFile as something matching 8.3 restrictions,
49008 if [ -z ${D}renameScript ] ; then
49009 dllFile="${D}outFile"
49010 else
49011 dllFile=\`${D}renameScript ${D}outimpFile\`
49012 fi
49013
49014 if [ ${D}do_backup -ne 0 ] ; then
49015 if [ -f ${D}arcFile ] ; then
49016 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49017 fi
49018 if [ -f ${D}arcFile2 ] ; then
49019 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49020 fi
49021 fi
49022
49023 # Extract public symbols from all the object files.
49024 tmpdefFile=${D}{defFile}_%
49025 rm -f ${D}tmpdefFile
49026 for file in ${D}inputFiles ; do
49027 case ${D}file in
49028 *!)
49029 ;;
49030 *)
49031 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49032 ;;
49033 esac
49034 done
49035
49036 # Create the def file.
49037 rm -f ${D}defFile
49038 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49039 dllFile="${D}{dllFile}.dll"
49040 if [ ! -z ${D}description ]; then
49041 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49042 fi
49043 echo "EXPORTS" >> ${D}defFile
49044
49045 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49046 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49047
49048 # Checks if the export is ok or not.
49049 for word in ${D}exclude_symbols; do
49050 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49051 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49052 done
49053
49054
49055 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49056 sed "=" < ${D}tmpdefFile | \\
49057 sed '
49058 N
49059 : loop
49060 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49061 t loop
49062 ' > ${D}{tmpdefFile}%
49063 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49064 else
49065 rm -f ${D}{tmpdefFile}%
49066 fi
49067 cat ${D}tmpdefFile >> ${D}defFile
49068 rm -f ${D}tmpdefFile
49069
49070 # Do linking, create implib, and apply lxlite.
49071 gccCmdl="";
49072 for file in ${D}inputFiles ; do
49073 case ${D}file in
49074 *!)
49075 ;;
49076 *)
49077 gccCmdl="${D}gccCmdl ${D}file"
49078 ;;
49079 esac
49080 done
49081 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49082 touch "${D}{outFile}.dll"
49083
49084 doCommand "emximp -o ${D}arcFile ${D}defFile"
49085 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49086 add_flags="";
49087 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49088 add_flags="-ynd"
49089 fi
49090 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49091 fi
49092 doCommand "emxomf -s -l ${D}arcFile"
49093
49094 # Successful exit.
49095 CleanUp 1
49096 exit 0
49097 EOF
49098
49099 chmod +x dllar.sh
49100 ;;
49101
49102 powerpc-apple-macos* | \
49103 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49104 *-*-mirbsd* | \
49105 *-*-sunos4* | \
49106 *-*-osf* | \
49107 *-*-dgux5* | \
49108 *-*-sysv5* | \
49109 *-pc-msdosdjgpp )
49110 ;;
49111
49112 *)
49113 esac
49114
49115 if test "x$PIC_FLAG" != "x" ; then
49116 PIC_FLAG="$PIC_FLAG -DPIC"
49117 fi
49118
49119 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49120 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49121 fi
49122 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49123 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49124 fi
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134 USE_SOVERSION=0
49135 USE_SOVERLINUX=0
49136 USE_SOVERSOLARIS=0
49137 USE_SOVERCYGWIN=0
49138 USE_SOSYMLINKS=0
49139 USE_MACVERSION=0
49140 SONAME_FLAG=
49141
49142 case "${BAKEFILE_HOST}" in
49143 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49144 SONAME_FLAG="-Wl,-soname,"
49145 USE_SOVERSION=1
49146 USE_SOVERLINUX=1
49147 USE_SOSYMLINKS=1
49148 ;;
49149
49150 *-*-solaris2* )
49151 SONAME_FLAG="-h "
49152 USE_SOVERSION=1
49153 USE_SOVERSOLARIS=1
49154 USE_SOSYMLINKS=1
49155 ;;
49156
49157 *-*-darwin* )
49158 USE_MACVERSION=1
49159 USE_SOVERSION=1
49160 USE_SOSYMLINKS=1
49161 ;;
49162
49163 *-*-cygwin* )
49164 USE_SOVERSION=1
49165 USE_SOVERCYGWIN=1
49166 ;;
49167 esac
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49179 if test "${enable_dependency_tracking+set}" = set; then
49180 enableval="$enable_dependency_tracking"
49181 bk_use_trackdeps="$enableval"
49182 fi;
49183
49184 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49185 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49186
49187 BK_DEPS=""
49188 if test "x$bk_use_trackdeps" = "xno" ; then
49189 DEPS_TRACKING=0
49190 echo "$as_me:$LINENO: result: disabled" >&5
49191 echo "${ECHO_T}disabled" >&6
49192 else
49193 DEPS_TRACKING=1
49194
49195 if test "x$GCC" = "xyes"; then
49196 DEPSMODE=gcc
49197 case "${BAKEFILE_HOST}" in
49198 *-*-darwin* )
49199 DEPSFLAG="-no-cpp-precomp -MMD"
49200 ;;
49201 * )
49202 DEPSFLAG="-MMD"
49203 ;;
49204 esac
49205 echo "$as_me:$LINENO: result: gcc" >&5
49206 echo "${ECHO_T}gcc" >&6
49207 elif test "x$MWCC" = "xyes"; then
49208 DEPSMODE=mwcc
49209 DEPSFLAG="-MM"
49210 echo "$as_me:$LINENO: result: mwcc" >&5
49211 echo "${ECHO_T}mwcc" >&6
49212 elif test "x$SUNCC" = "xyes"; then
49213 DEPSMODE=unixcc
49214 DEPSFLAG="-xM1"
49215 echo "$as_me:$LINENO: result: Sun cc" >&5
49216 echo "${ECHO_T}Sun cc" >&6
49217 elif test "x$SGICC" = "xyes"; then
49218 DEPSMODE=unixcc
49219 DEPSFLAG="-M"
49220 echo "$as_me:$LINENO: result: SGI cc" >&5
49221 echo "${ECHO_T}SGI cc" >&6
49222 elif test "x$HPCC" = "xyes"; then
49223 DEPSMODE=unixcc
49224 DEPSFLAG="+make"
49225 echo "$as_me:$LINENO: result: HP cc" >&5
49226 echo "${ECHO_T}HP cc" >&6
49227 elif test "x$COMPAQCC" = "xyes"; then
49228 DEPSMODE=gcc
49229 DEPSFLAG="-MD"
49230 echo "$as_me:$LINENO: result: Compaq cc" >&5
49231 echo "${ECHO_T}Compaq cc" >&6
49232 else
49233 DEPS_TRACKING=0
49234 echo "$as_me:$LINENO: result: none" >&5
49235 echo "${ECHO_T}none" >&6
49236 fi
49237
49238 if test $DEPS_TRACKING = 1 ; then
49239
49240 D='$'
49241 cat <<EOF >bk-deps
49242 #!/bin/sh
49243
49244 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49245 # script. It is used to track C/C++ files dependencies in portable way.
49246 #
49247 # Permission is given to use this file in any way.
49248
49249 DEPSMODE=${DEPSMODE}
49250 DEPSDIR=.deps
49251 DEPSFLAG="${DEPSFLAG}"
49252
49253 mkdir -p ${D}DEPSDIR
49254
49255 if test ${D}DEPSMODE = gcc ; then
49256 ${D}* ${D}{DEPSFLAG}
49257 status=${D}?
49258 if test ${D}{status} != 0 ; then
49259 exit ${D}{status}
49260 fi
49261 # move created file to the location we want it in:
49262 while test ${D}# -gt 0; do
49263 case "${D}1" in
49264 -o )
49265 shift
49266 objfile=${D}1
49267 ;;
49268 -* )
49269 ;;
49270 * )
49271 srcfile=${D}1
49272 ;;
49273 esac
49274 shift
49275 done
49276 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49277 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49278 if test -f ${D}depfile ; then
49279 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49280 rm -f ${D}depfile
49281 else
49282 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49283 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49284 if test ! -f ${D}depfile ; then
49285 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49286 depfile="${D}objfile.d"
49287 fi
49288 if test -f ${D}depfile ; then
49289 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49290 rm -f ${D}depfile
49291 fi
49292 fi
49293 exit 0
49294 elif test ${D}DEPSMODE = mwcc ; then
49295 ${D}* || exit ${D}?
49296 # Run mwcc again with -MM and redirect into the dep file we want
49297 # NOTE: We can't use shift here because we need ${D}* to be valid
49298 prevarg=
49299 for arg in ${D}* ; do
49300 if test "${D}prevarg" = "-o"; then
49301 objfile=${D}arg
49302 else
49303 case "${D}arg" in
49304 -* )
49305 ;;
49306 * )
49307 srcfile=${D}arg
49308 ;;
49309 esac
49310 fi
49311 prevarg="${D}arg"
49312 done
49313 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49314 exit 0
49315 elif test ${D}DEPSMODE = unixcc; then
49316 ${D}* || exit ${D}?
49317 # Run compiler again with deps flag and redirect into the dep file.
49318 # It doesn't work if the '-o FILE' option is used, but without it the
49319 # dependency file will contain the wrong name for the object. So it is
49320 # removed from the command line, and the dep file is fixed with sed.
49321 cmd=""
49322 while test ${D}# -gt 0; do
49323 case "${D}1" in
49324 -o )
49325 shift
49326 objfile=${D}1
49327 ;;
49328 * )
49329 eval arg${D}#=\\${D}1
49330 cmd="${D}cmd \\${D}arg${D}#"
49331 ;;
49332 esac
49333 shift
49334 done
49335 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49336 exit 0
49337 else
49338 ${D}*
49339 exit ${D}?
49340 fi
49341 EOF
49342
49343 chmod +x bk-deps
49344 BK_DEPS="`pwd`/bk-deps"
49345 fi
49346 fi
49347
49348
49349
49350
49351
49352 case ${BAKEFILE_HOST} in
49353 *-*-cygwin* | *-*-mingw32* )
49354 if test -n "$ac_tool_prefix"; then
49355 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49356 set dummy ${ac_tool_prefix}windres; ac_word=$2
49357 echo "$as_me:$LINENO: checking for $ac_word" >&5
49358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49359 if test "${ac_cv_prog_WINDRES+set}" = set; then
49360 echo $ECHO_N "(cached) $ECHO_C" >&6
49361 else
49362 if test -n "$WINDRES"; then
49363 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49364 else
49365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49366 for as_dir in $PATH
49367 do
49368 IFS=$as_save_IFS
49369 test -z "$as_dir" && as_dir=.
49370 for ac_exec_ext in '' $ac_executable_extensions; do
49371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49372 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49374 break 2
49375 fi
49376 done
49377 done
49378
49379 fi
49380 fi
49381 WINDRES=$ac_cv_prog_WINDRES
49382 if test -n "$WINDRES"; then
49383 echo "$as_me:$LINENO: result: $WINDRES" >&5
49384 echo "${ECHO_T}$WINDRES" >&6
49385 else
49386 echo "$as_me:$LINENO: result: no" >&5
49387 echo "${ECHO_T}no" >&6
49388 fi
49389
49390 fi
49391 if test -z "$ac_cv_prog_WINDRES"; then
49392 ac_ct_WINDRES=$WINDRES
49393 # Extract the first word of "windres", so it can be a program name with args.
49394 set dummy windres; ac_word=$2
49395 echo "$as_me:$LINENO: checking for $ac_word" >&5
49396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49397 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49398 echo $ECHO_N "(cached) $ECHO_C" >&6
49399 else
49400 if test -n "$ac_ct_WINDRES"; then
49401 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49402 else
49403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49404 for as_dir in $PATH
49405 do
49406 IFS=$as_save_IFS
49407 test -z "$as_dir" && as_dir=.
49408 for ac_exec_ext in '' $ac_executable_extensions; do
49409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49410 ac_cv_prog_ac_ct_WINDRES="windres"
49411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49412 break 2
49413 fi
49414 done
49415 done
49416
49417 fi
49418 fi
49419 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49420 if test -n "$ac_ct_WINDRES"; then
49421 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49422 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49423 else
49424 echo "$as_me:$LINENO: result: no" >&5
49425 echo "${ECHO_T}no" >&6
49426 fi
49427
49428 WINDRES=$ac_ct_WINDRES
49429 else
49430 WINDRES="$ac_cv_prog_WINDRES"
49431 fi
49432
49433 ;;
49434
49435 *-*-darwin* | powerpc-apple-macos* )
49436 # Extract the first word of "Rez", so it can be a program name with args.
49437 set dummy Rez; ac_word=$2
49438 echo "$as_me:$LINENO: checking for $ac_word" >&5
49439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49440 if test "${ac_cv_prog_REZ+set}" = set; then
49441 echo $ECHO_N "(cached) $ECHO_C" >&6
49442 else
49443 if test -n "$REZ"; then
49444 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49445 else
49446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49447 for as_dir in $PATH
49448 do
49449 IFS=$as_save_IFS
49450 test -z "$as_dir" && as_dir=.
49451 for ac_exec_ext in '' $ac_executable_extensions; do
49452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49453 ac_cv_prog_REZ="Rez"
49454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49455 break 2
49456 fi
49457 done
49458 done
49459
49460 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49461 fi
49462 fi
49463 REZ=$ac_cv_prog_REZ
49464 if test -n "$REZ"; then
49465 echo "$as_me:$LINENO: result: $REZ" >&5
49466 echo "${ECHO_T}$REZ" >&6
49467 else
49468 echo "$as_me:$LINENO: result: no" >&5
49469 echo "${ECHO_T}no" >&6
49470 fi
49471
49472 # Extract the first word of "SetFile", so it can be a program name with args.
49473 set dummy SetFile; ac_word=$2
49474 echo "$as_me:$LINENO: checking for $ac_word" >&5
49475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49476 if test "${ac_cv_prog_SETFILE+set}" = set; then
49477 echo $ECHO_N "(cached) $ECHO_C" >&6
49478 else
49479 if test -n "$SETFILE"; then
49480 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49481 else
49482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49483 for as_dir in $PATH
49484 do
49485 IFS=$as_save_IFS
49486 test -z "$as_dir" && as_dir=.
49487 for ac_exec_ext in '' $ac_executable_extensions; do
49488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49489 ac_cv_prog_SETFILE="SetFile"
49490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49491 break 2
49492 fi
49493 done
49494 done
49495
49496 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49497 fi
49498 fi
49499 SETFILE=$ac_cv_prog_SETFILE
49500 if test -n "$SETFILE"; then
49501 echo "$as_me:$LINENO: result: $SETFILE" >&5
49502 echo "${ECHO_T}$SETFILE" >&6
49503 else
49504 echo "$as_me:$LINENO: result: no" >&5
49505 echo "${ECHO_T}no" >&6
49506 fi
49507
49508 ;;
49509 esac
49510
49511
49512
49513
49514
49515
49516 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49517
49518
49519 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49520
49521
49522
49523 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49524 if test "${enable_precomp_headers+set}" = set; then
49525 enableval="$enable_precomp_headers"
49526 bk_use_pch="$enableval"
49527 fi;
49528
49529 GCC_PCH=0
49530 ICC_PCH=0
49531 USE_PCH=0
49532 BK_MAKE_PCH=""
49533
49534 case ${BAKEFILE_HOST} in
49535 *-*-cygwin* )
49536 bk_use_pch="no"
49537 ;;
49538 esac
49539
49540 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49541 if test "x$GCC" = "xyes"; then
49542 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49543 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49544 cat >conftest.$ac_ext <<_ACEOF
49545 /* confdefs.h. */
49546 _ACEOF
49547 cat confdefs.h >>conftest.$ac_ext
49548 cat >>conftest.$ac_ext <<_ACEOF
49549 /* end confdefs.h. */
49550
49551 int
49552 main ()
49553 {
49554
49555 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49556 There is no PCH support
49557 #endif
49558 #if (__GNUC__ < 3)
49559 There is no PCH support
49560 #endif
49561 #if (__GNUC__ == 3) && \
49562 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49563 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49564 ( defined(__INTEL_COMPILER) )
49565 There is no PCH support
49566 #endif
49567
49568 ;
49569 return 0;
49570 }
49571 _ACEOF
49572 rm -f conftest.$ac_objext
49573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49574 (eval $ac_compile) 2>conftest.er1
49575 ac_status=$?
49576 grep -v '^ *+' conftest.er1 >conftest.err
49577 rm -f conftest.er1
49578 cat conftest.err >&5
49579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49580 (exit $ac_status); } &&
49581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49583 (eval $ac_try) 2>&5
49584 ac_status=$?
49585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49586 (exit $ac_status); }; } &&
49587 { ac_try='test -s conftest.$ac_objext'
49588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49589 (eval $ac_try) 2>&5
49590 ac_status=$?
49591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49592 (exit $ac_status); }; }; then
49593
49594 echo "$as_me:$LINENO: result: yes" >&5
49595 echo "${ECHO_T}yes" >&6
49596 GCC_PCH=1
49597
49598 else
49599 echo "$as_me: failed program was:" >&5
49600 sed 's/^/| /' conftest.$ac_ext >&5
49601
49602
49603 cat >conftest.$ac_ext <<_ACEOF
49604 /* confdefs.h. */
49605 _ACEOF
49606 cat confdefs.h >>conftest.$ac_ext
49607 cat >>conftest.$ac_ext <<_ACEOF
49608 /* end confdefs.h. */
49609
49610 int
49611 main ()
49612 {
49613
49614 #if !defined(__INTEL_COMPILER) || \
49615 (__INTEL_COMPILER < 800)
49616 There is no PCH support
49617 #endif
49618
49619 ;
49620 return 0;
49621 }
49622 _ACEOF
49623 rm -f conftest.$ac_objext
49624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49625 (eval $ac_compile) 2>conftest.er1
49626 ac_status=$?
49627 grep -v '^ *+' conftest.er1 >conftest.err
49628 rm -f conftest.er1
49629 cat conftest.err >&5
49630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49631 (exit $ac_status); } &&
49632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49634 (eval $ac_try) 2>&5
49635 ac_status=$?
49636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49637 (exit $ac_status); }; } &&
49638 { ac_try='test -s conftest.$ac_objext'
49639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49640 (eval $ac_try) 2>&5
49641 ac_status=$?
49642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49643 (exit $ac_status); }; }; then
49644
49645 echo "$as_me:$LINENO: result: yes" >&5
49646 echo "${ECHO_T}yes" >&6
49647 ICC_PCH=1
49648
49649 else
49650 echo "$as_me: failed program was:" >&5
49651 sed 's/^/| /' conftest.$ac_ext >&5
49652
49653
49654 echo "$as_me:$LINENO: result: no" >&5
49655 echo "${ECHO_T}no" >&6
49656
49657 fi
49658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49659
49660 fi
49661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49662 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49663 USE_PCH=1
49664
49665 D='$'
49666 cat <<EOF >bk-make-pch
49667 #!/bin/sh
49668
49669 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49670 # script. It is used to generated precompiled headers.
49671 #
49672 # Permission is given to use this file in any way.
49673
49674 outfile="${D}{1}"
49675 header="${D}{2}"
49676 shift
49677 shift
49678
49679 compiler=""
49680 headerfile=""
49681
49682 while test ${D}{#} -gt 0; do
49683 add_to_cmdline=1
49684 case "${D}{1}" in
49685 -I* )
49686 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49687 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49688 headerfile="${D}{incdir}/${D}{header}"
49689 fi
49690 ;;
49691 -use-pch|-use_pch )
49692 shift
49693 add_to_cmdline=0
49694 ;;
49695 esac
49696 if test ${D}add_to_cmdline = 1 ; then
49697 compiler="${D}{compiler} ${D}{1}"
49698 fi
49699 shift
49700 done
49701
49702 if test "x${D}{headerfile}" = "x" ; then
49703 echo "error: can't find header ${D}{header} in include paths" >&2
49704 else
49705 if test -f ${D}{outfile} ; then
49706 rm -f ${D}{outfile}
49707 else
49708 mkdir -p \`dirname ${D}{outfile}\`
49709 fi
49710 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49711 mkdir -p .deps
49712 if test "x${GCC_PCH}" = "x1" ; then
49713 # can do this because gcc is >= 3.4:
49714 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49715 elif test "x${ICC_PCH}" = "x1" ; then
49716 filename=pch_gen-${D}${D}
49717 file=${D}{filename}.c
49718 dfile=${D}{filename}.d
49719 cat > ${D}file <<EOT
49720 #include "${D}header"
49721 EOT
49722 # using -MF icc complains about differing command lines in creation/use
49723 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49724 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49725 rm -f ${D}file ${D}dfile ${D}{filename}.o
49726 fi
49727 exit ${D}{?}
49728 fi
49729 EOF
49730
49731 chmod +x bk-make-pch
49732 BK_MAKE_PCH="`pwd`/bk-make-pch"
49733 fi
49734 fi
49735 fi
49736
49737
49738
49739
49740
49741 COND_BUILD_DEBUG="#"
49742 if test "x$BUILD" = "xdebug" ; then
49743 COND_BUILD_DEBUG=""
49744 fi
49745
49746 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49747 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49748 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49749 fi
49750
49751 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49752 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49753 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49754 fi
49755
49756 COND_BUILD_DEBUG_UNICODE_0="#"
49757 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49758 COND_BUILD_DEBUG_UNICODE_0=""
49759 fi
49760
49761 COND_BUILD_DEBUG_UNICODE_1="#"
49762 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49763 COND_BUILD_DEBUG_UNICODE_1=""
49764 fi
49765
49766 COND_BUILD_RELEASE="#"
49767 if test "x$BUILD" = "xrelease" ; then
49768 COND_BUILD_RELEASE=""
49769 fi
49770
49771 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49772 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49773 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49774 fi
49775
49776 COND_BUILD_RELEASE_UNICODE_0="#"
49777 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49778 COND_BUILD_RELEASE_UNICODE_0=""
49779 fi
49780
49781 COND_BUILD_RELEASE_UNICODE_1="#"
49782 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49783 COND_BUILD_RELEASE_UNICODE_1=""
49784 fi
49785
49786 COND_DEBUG_FLAG_1="#"
49787 if test "x$DEBUG_FLAG" = "x1" ; then
49788 COND_DEBUG_FLAG_1=""
49789 fi
49790
49791 COND_DEBUG_INFO_0="#"
49792 if test "x$DEBUG_INFO" = "x0" ; then
49793 COND_DEBUG_INFO_0=""
49794 fi
49795
49796 COND_DEBUG_INFO_1="#"
49797 if test "x$DEBUG_INFO" = "x1" ; then
49798 COND_DEBUG_INFO_1=""
49799 fi
49800
49801 COND_DEPS_TRACKING_0="#"
49802 if test "x$DEPS_TRACKING" = "x0" ; then
49803 COND_DEPS_TRACKING_0=""
49804 fi
49805
49806 COND_DEPS_TRACKING_1="#"
49807 if test "x$DEPS_TRACKING" = "x1" ; then
49808 COND_DEPS_TRACKING_1=""
49809 fi
49810
49811 COND_GCC_PCH_1="#"
49812 if test "x$GCC_PCH" = "x1" ; then
49813 COND_GCC_PCH_1=""
49814 fi
49815
49816 COND_ICC_PCH_1="#"
49817 if test "x$ICC_PCH" = "x1" ; then
49818 COND_ICC_PCH_1=""
49819 fi
49820
49821 COND_MONOLITHIC_0="#"
49822 if test "x$MONOLITHIC" = "x0" ; then
49823 COND_MONOLITHIC_0=""
49824 fi
49825
49826 COND_MONOLITHIC_0_SHARED_0="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49828 COND_MONOLITHIC_0_SHARED_0=""
49829 fi
49830
49831 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49834 fi
49835
49836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49839 fi
49840
49841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49844 fi
49845
49846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49849 fi
49850
49851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49854 fi
49855
49856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49858 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49859 fi
49860
49861 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49863 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49864 fi
49865
49866 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49868 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49869 fi
49870
49871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49873 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49874 fi
49875
49876 COND_MONOLITHIC_0_SHARED_1="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_1=""
49879 fi
49880
49881 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49884 fi
49885
49886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49889 fi
49890
49891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49894 fi
49895
49896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49899 fi
49900
49901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49904 fi
49905
49906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49909 fi
49910
49911 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49914 fi
49915
49916 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49919 fi
49920
49921 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49924 fi
49925
49926 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49928 COND_MONOLITHIC_0_USE_MEDIA_1=""
49929 fi
49930
49931 COND_MONOLITHIC_0_USE_ODBC_1="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49933 COND_MONOLITHIC_0_USE_ODBC_1=""
49934 fi
49935
49936 COND_MONOLITHIC_1="#"
49937 if test "x$MONOLITHIC" = "x1" ; then
49938 COND_MONOLITHIC_1=""
49939 fi
49940
49941 COND_MONOLITHIC_1_SHARED_0="#"
49942 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49943 COND_MONOLITHIC_1_SHARED_0=""
49944 fi
49945
49946 COND_MONOLITHIC_1_SHARED_1="#"
49947 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49948 COND_MONOLITHIC_1_SHARED_1=""
49949 fi
49950
49951 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49952 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49953 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49954 fi
49955
49956 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49957 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49958 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49959 fi
49960
49961 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49962 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49963 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49964 fi
49965
49966 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49967 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49968 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49969 fi
49970
49971 COND_PLATFORM_MACOSX_1="#"
49972 if test "x$PLATFORM_MACOSX" = "x1" ; then
49973 COND_PLATFORM_MACOSX_1=""
49974 fi
49975
49976 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49978 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49979 fi
49980
49981 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49982 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49983 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49984 fi
49985
49986 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49987 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49988 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49989 fi
49990
49991 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49992 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49993 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49994 fi
49995
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49997 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49998 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49999 fi
50000
50001 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50002 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50003 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50004 fi
50005
50006 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50007 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50008 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50009 fi
50010
50011 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50012 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50013 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50014 fi
50015
50016 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50017 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50018 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50019 fi
50020
50021 COND_PLATFORM_MACOS_1="#"
50022 if test "x$PLATFORM_MACOS" = "x1" ; then
50023 COND_PLATFORM_MACOS_1=""
50024 fi
50025
50026 COND_PLATFORM_MAC_1="#"
50027 if test "x$PLATFORM_MAC" = "x1" ; then
50028 COND_PLATFORM_MAC_1=""
50029 fi
50030
50031 COND_PLATFORM_MSDOS_0="#"
50032 if test "x$PLATFORM_MSDOS" = "x0" ; then
50033 COND_PLATFORM_MSDOS_0=""
50034 fi
50035
50036 COND_PLATFORM_MSDOS_1="#"
50037 if test "x$PLATFORM_MSDOS" = "x1" ; then
50038 COND_PLATFORM_MSDOS_1=""
50039 fi
50040
50041 COND_PLATFORM_OS2_1="#"
50042 if test "x$PLATFORM_OS2" = "x1" ; then
50043 COND_PLATFORM_OS2_1=""
50044 fi
50045
50046 COND_PLATFORM_UNIX_0="#"
50047 if test "x$PLATFORM_UNIX" = "x0" ; then
50048 COND_PLATFORM_UNIX_0=""
50049 fi
50050
50051 COND_PLATFORM_UNIX_1="#"
50052 if test "x$PLATFORM_UNIX" = "x1" ; then
50053 COND_PLATFORM_UNIX_1=""
50054 fi
50055
50056 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50057 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50058 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50059 fi
50060
50061 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50062 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50064 fi
50065
50066 COND_PLATFORM_WIN32_0="#"
50067 if test "x$PLATFORM_WIN32" = "x0" ; then
50068 COND_PLATFORM_WIN32_0=""
50069 fi
50070
50071 COND_PLATFORM_WIN32_1="#"
50072 if test "x$PLATFORM_WIN32" = "x1" ; then
50073 COND_PLATFORM_WIN32_1=""
50074 fi
50075
50076 COND_SHARED_0="#"
50077 if test "x$SHARED" = "x0" ; then
50078 COND_SHARED_0=""
50079 fi
50080
50081 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50082 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50083 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50084 fi
50085
50086 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50087 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50089 fi
50090
50091 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50092 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50094 fi
50095
50096 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50097 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50099 fi
50100
50101 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50102 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50104 fi
50105
50106 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50107 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50109 fi
50110
50111 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50112 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50114 fi
50115
50116 COND_SHARED_0_USE_XRC_1="#"
50117 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50118 COND_SHARED_0_USE_XRC_1=""
50119 fi
50120
50121 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50122 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50123 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50124 fi
50125
50126 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50127 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50128 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50129 fi
50130
50131 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50132 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50133 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50134 fi
50135
50136 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50137 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50138 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50139 fi
50140
50141 COND_SHARED_1="#"
50142 if test "x$SHARED" = "x1" ; then
50143 COND_SHARED_1=""
50144 fi
50145
50146 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50147 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50148 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50149 fi
50150
50151 COND_SHARED_1_USE_XRC_1="#"
50152 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50153 COND_SHARED_1_USE_XRC_1=""
50154 fi
50155
50156 COND_TOOLKIT_="#"
50157 if test "x$TOOLKIT" = "x" ; then
50158 COND_TOOLKIT_=""
50159 fi
50160
50161 COND_TOOLKIT_COCOA="#"
50162 if test "x$TOOLKIT" = "xCOCOA" ; then
50163 COND_TOOLKIT_COCOA=""
50164 fi
50165
50166 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50167 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50168 COND_TOOLKIT_COCOA_USE_GUI_1=""
50169 fi
50170
50171 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50172 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50173 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50174 fi
50175
50176 COND_TOOLKIT_DFB="#"
50177 if test "x$TOOLKIT" = "xDFB" ; then
50178 COND_TOOLKIT_DFB=""
50179 fi
50180
50181 COND_TOOLKIT_DFB_USE_GUI_1="#"
50182 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50183 COND_TOOLKIT_DFB_USE_GUI_1=""
50184 fi
50185
50186 COND_TOOLKIT_GTK="#"
50187 if test "x$TOOLKIT" = "xGTK" ; then
50188 COND_TOOLKIT_GTK=""
50189 fi
50190
50191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50192 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50193 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50194 fi
50195
50196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50197 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50199 fi
50200
50201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50202 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50204 fi
50205
50206 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50207 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50209 fi
50210
50211 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50212 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50213 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50214 fi
50215
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50217 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50219 fi
50220
50221 COND_TOOLKIT_GTK_USE_GUI_1="#"
50222 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50223 COND_TOOLKIT_GTK_USE_GUI_1=""
50224 fi
50225
50226 COND_TOOLKIT_MAC="#"
50227 if test "x$TOOLKIT" = "xMAC" ; then
50228 COND_TOOLKIT_MAC=""
50229 fi
50230
50231 COND_TOOLKIT_MAC_USE_GUI_1="#"
50232 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50233 COND_TOOLKIT_MAC_USE_GUI_1=""
50234 fi
50235
50236 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50237 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50238 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50239 fi
50240
50241 COND_TOOLKIT_MGL="#"
50242 if test "x$TOOLKIT" = "xMGL" ; then
50243 COND_TOOLKIT_MGL=""
50244 fi
50245
50246 COND_TOOLKIT_MGL_USE_GUI_1="#"
50247 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50248 COND_TOOLKIT_MGL_USE_GUI_1=""
50249 fi
50250
50251 COND_TOOLKIT_MOTIF="#"
50252 if test "x$TOOLKIT" = "xMOTIF" ; then
50253 COND_TOOLKIT_MOTIF=""
50254 fi
50255
50256 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50257 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50258 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50259 fi
50260
50261 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50262 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50263 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50264 fi
50265
50266 COND_TOOLKIT_MSW="#"
50267 if test "x$TOOLKIT" = "xMSW" ; then
50268 COND_TOOLKIT_MSW=""
50269 fi
50270
50271 COND_TOOLKIT_MSW_USE_GUI_1="#"
50272 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_MSW_USE_GUI_1=""
50274 fi
50275
50276 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50277 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50278 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50279 fi
50280
50281 COND_TOOLKIT_MSW_WXUNIV_0="#"
50282 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50283 COND_TOOLKIT_MSW_WXUNIV_0=""
50284 fi
50285
50286 COND_TOOLKIT_PM="#"
50287 if test "x$TOOLKIT" = "xPM" ; then
50288 COND_TOOLKIT_PM=""
50289 fi
50290
50291 COND_TOOLKIT_PM_USE_GUI_1="#"
50292 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50293 COND_TOOLKIT_PM_USE_GUI_1=""
50294 fi
50295
50296 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50297 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50298 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50299 fi
50300
50301 COND_TOOLKIT_WINCE="#"
50302 if test "x$TOOLKIT" = "xWINCE" ; then
50303 COND_TOOLKIT_WINCE=""
50304 fi
50305
50306 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50307 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50308 COND_TOOLKIT_WINCE_USE_GUI_1=""
50309 fi
50310
50311 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50312 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50313 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50314 fi
50315
50316 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50317 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50318 COND_TOOLKIT_WINCE_WXUNIV_0=""
50319 fi
50320
50321 COND_TOOLKIT_X11="#"
50322 if test "x$TOOLKIT" = "xX11" ; then
50323 COND_TOOLKIT_X11=""
50324 fi
50325
50326 COND_TOOLKIT_X11_USE_GUI_1="#"
50327 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50328 COND_TOOLKIT_X11_USE_GUI_1=""
50329 fi
50330
50331 COND_UNICODE_1="#"
50332 if test "x$UNICODE" = "x1" ; then
50333 COND_UNICODE_1=""
50334 fi
50335
50336 COND_USE_EXCEPTIONS_0="#"
50337 if test "x$USE_EXCEPTIONS" = "x0" ; then
50338 COND_USE_EXCEPTIONS_0=""
50339 fi
50340
50341 COND_USE_EXCEPTIONS_1="#"
50342 if test "x$USE_EXCEPTIONS" = "x1" ; then
50343 COND_USE_EXCEPTIONS_1=""
50344 fi
50345
50346 COND_USE_GUI_0="#"
50347 if test "x$USE_GUI" = "x0" ; then
50348 COND_USE_GUI_0=""
50349 fi
50350
50351 COND_USE_GUI_1="#"
50352 if test "x$USE_GUI" = "x1" ; then
50353 COND_USE_GUI_1=""
50354 fi
50355
50356 COND_USE_GUI_1_WXUNIV_0="#"
50357 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50358 COND_USE_GUI_1_WXUNIV_0=""
50359 fi
50360
50361 COND_USE_GUI_1_WXUNIV_1="#"
50362 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50363 COND_USE_GUI_1_WXUNIV_1=""
50364 fi
50365
50366 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50368 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50369 fi
50370
50371 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50373 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50374 fi
50375
50376 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50378 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50379 fi
50380
50381 COND_USE_ODBC_1="#"
50382 if test "x$USE_ODBC" = "x1" ; then
50383 COND_USE_ODBC_1=""
50384 fi
50385
50386 COND_USE_OPENGL_1="#"
50387 if test "x$USE_OPENGL" = "x1" ; then
50388 COND_USE_OPENGL_1=""
50389 fi
50390
50391 COND_USE_PCH_1="#"
50392 if test "x$USE_PCH" = "x1" ; then
50393 COND_USE_PCH_1=""
50394 fi
50395
50396 COND_USE_PLUGINS_0="#"
50397 if test "x$USE_PLUGINS" = "x0" ; then
50398 COND_USE_PLUGINS_0=""
50399 fi
50400
50401 COND_USE_RTTI_0="#"
50402 if test "x$USE_RTTI" = "x0" ; then
50403 COND_USE_RTTI_0=""
50404 fi
50405
50406 COND_USE_RTTI_1="#"
50407 if test "x$USE_RTTI" = "x1" ; then
50408 COND_USE_RTTI_1=""
50409 fi
50410
50411 COND_USE_SOSYMLINKS_1="#"
50412 if test "x$USE_SOSYMLINKS" = "x1" ; then
50413 COND_USE_SOSYMLINKS_1=""
50414 fi
50415
50416 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50417 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50418 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50419 fi
50420
50421 COND_USE_SOVERLINUX_1="#"
50422 if test "x$USE_SOVERLINUX" = "x1" ; then
50423 COND_USE_SOVERLINUX_1=""
50424 fi
50425
50426 COND_USE_SOVERSION_0="#"
50427 if test "x$USE_SOVERSION" = "x0" ; then
50428 COND_USE_SOVERSION_0=""
50429 fi
50430
50431 COND_USE_SOVERSOLARIS_1="#"
50432 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50433 COND_USE_SOVERSOLARIS_1=""
50434 fi
50435
50436 COND_USE_THREADS_0="#"
50437 if test "x$USE_THREADS" = "x0" ; then
50438 COND_USE_THREADS_0=""
50439 fi
50440
50441 COND_USE_THREADS_1="#"
50442 if test "x$USE_THREADS" = "x1" ; then
50443 COND_USE_THREADS_1=""
50444 fi
50445
50446 COND_USE_XRC_1="#"
50447 if test "x$USE_XRC" = "x1" ; then
50448 COND_USE_XRC_1=""
50449 fi
50450
50451 COND_WINDOWS_IMPLIB_1="#"
50452 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50453 COND_WINDOWS_IMPLIB_1=""
50454 fi
50455
50456 COND_WITH_PLUGIN_SDL_1="#"
50457 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50458 COND_WITH_PLUGIN_SDL_1=""
50459 fi
50460
50461 COND_WXUNIV_0="#"
50462 if test "x$WXUNIV" = "x0" ; then
50463 COND_WXUNIV_0=""
50464 fi
50465
50466 COND_WXUNIV_1="#"
50467 if test "x$WXUNIV" = "x1" ; then
50468 COND_WXUNIV_1=""
50469 fi
50470
50471 COND_WXUSE_EXPAT_BUILTIN="#"
50472 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50473 COND_WXUSE_EXPAT_BUILTIN=""
50474 fi
50475
50476 COND_WXUSE_LIBJPEG_BUILTIN="#"
50477 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50478 COND_WXUSE_LIBJPEG_BUILTIN=""
50479 fi
50480
50481 COND_WXUSE_LIBPNG_BUILTIN="#"
50482 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50483 COND_WXUSE_LIBPNG_BUILTIN=""
50484 fi
50485
50486 COND_WXUSE_LIBTIFF_BUILTIN="#"
50487 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50488 COND_WXUSE_LIBTIFF_BUILTIN=""
50489 fi
50490
50491 COND_WXUSE_ODBC_BUILTIN="#"
50492 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50493 COND_WXUSE_ODBC_BUILTIN=""
50494 fi
50495
50496 COND_WXUSE_REGEX_BUILTIN="#"
50497 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50498 COND_WXUSE_REGEX_BUILTIN=""
50499 fi
50500
50501 COND_WXUSE_ZLIB_BUILTIN="#"
50502 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50503 COND_WXUSE_ZLIB_BUILTIN=""
50504 fi
50505
50506
50507
50508 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50509 { { 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
50510 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;}
50511 { (exit 1); exit 1; }; }
50512 fi
50513
50514 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50515 { { 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
50516 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;}
50517 { (exit 1); exit 1; }; }
50518 fi
50519
50520
50521 if test $GCC_PCH = 1
50522 then
50523 if test "$wx_cv_gcc_pch_bug" = yes; then
50524 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50525 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50526 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50527 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50528 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50529 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50530 fi
50531
50532 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50533 fi
50534
50535
50536 if test "$wxUSE_MAC" = 1 ; then
50537 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50538 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50539 mv temp bk-deps
50540 chmod +x bk-deps
50541 fi
50542 fi
50543
50544 if test "$wxUSE_SHARED" = "yes"; then
50545
50546 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50547 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50548
50549 case "${host}" in
50550 *-pc-os2_emx | *-pc-os2-emx )
50551 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50552 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50553 cp -p ${srcdir}/src/os2/dllnames.sh .
50554 cp -p ${srcdir}/src/os2/dllar.sh .
50555 ;;
50556 esac
50557 else
50558
50559 EXE_LINKER="$CXX -o"
50560
50561 fi
50562 if test "$wxUSE_OMF" = "yes"; then
50563 case "${host}" in
50564 *-pc-os2_emx | *-pc-os2-emx )
50565 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50566 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50567 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50568 ;;
50569 esac
50570 fi
50571
50572 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50573
50574 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50575
50576
50577
50578
50579
50580
50581
50582
50583
50584
50585
50586
50587
50588
50589
50590
50591
50592
50593
50594
50595
50596
50597
50598
50599
50600
50601
50602
50603
50604
50605
50606
50607
50608
50609
50610
50611
50612
50613
50614
50615
50616
50617
50618
50619
50620
50621
50622
50623
50624
50625
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50637 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50638 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50639 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50640 echo $ECHO_N "(cached) $ECHO_C" >&6
50641 else
50642 cat >conftest.make <<\_ACEOF
50643 all:
50644 @echo 'ac_maketemp="$(MAKE)"'
50645 _ACEOF
50646 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50647 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50648 if test -n "$ac_maketemp"; then
50649 eval ac_cv_prog_make_${ac_make}_set=yes
50650 else
50651 eval ac_cv_prog_make_${ac_make}_set=no
50652 fi
50653 rm -f conftest.make
50654 fi
50655 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50656 echo "$as_me:$LINENO: result: yes" >&5
50657 echo "${ECHO_T}yes" >&6
50658 SET_MAKE=
50659 else
50660 echo "$as_me:$LINENO: result: no" >&5
50661 echo "${ECHO_T}no" >&6
50662 SET_MAKE="MAKE=${MAKE-make}"
50663 fi
50664
50665
50666
50667 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50668
50669
50670 if test "$USE_WIN32" = 1; then
50671 ac_config_commands="$ac_config_commands
50672 rcdefs.h
50673 "
50674
50675 fi
50676
50677 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50678
50679
50680 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50681
50682
50683 if test "$wx_cv_version_script" = "yes"; then
50684 ac_config_files="$ac_config_files version-script"
50685
50686 fi
50687 ac_config_files="$ac_config_files Makefile"
50688
50689
50690 ac_config_commands="$ac_config_commands wx-config"
50691
50692
50693
50694 if test "$wxWITH_SUBDIRS" != "no"; then
50695 if test "$wxUSE_GUI" = "yes"; then
50696 SUBDIRS="samples demos utils contrib"
50697 else SUBDIRS="samples utils"
50698 fi
50699
50700
50701
50702 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50703 if test "${with_cppunit_prefix+set}" = set; then
50704 withval="$with_cppunit_prefix"
50705 cppunit_config_prefix="$withval"
50706 else
50707 cppunit_config_prefix=""
50708 fi;
50709
50710 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50711 if test "${with_cppunit_exec_prefix+set}" = set; then
50712 withval="$with_cppunit_exec_prefix"
50713 cppunit_config_exec_prefix="$withval"
50714 else
50715 cppunit_config_exec_prefix=""
50716 fi;
50717
50718 if test x$cppunit_config_exec_prefix != x ; then
50719 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50720 if test x${CPPUNIT_CONFIG+set} != xset ; then
50721 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50722 fi
50723 fi
50724 if test x$cppunit_config_prefix != x ; then
50725 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50726 if test x${CPPUNIT_CONFIG+set} != xset ; then
50727 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50728 fi
50729 fi
50730
50731 # Extract the first word of "cppunit-config", so it can be a program name with args.
50732 set dummy cppunit-config; ac_word=$2
50733 echo "$as_me:$LINENO: checking for $ac_word" >&5
50734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50735 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50736 echo $ECHO_N "(cached) $ECHO_C" >&6
50737 else
50738 case $CPPUNIT_CONFIG in
50739 [\\/]* | ?:[\\/]*)
50740 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50741 ;;
50742 *)
50743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50744 for as_dir in $PATH
50745 do
50746 IFS=$as_save_IFS
50747 test -z "$as_dir" && as_dir=.
50748 for ac_exec_ext in '' $ac_executable_extensions; do
50749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50750 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50752 break 2
50753 fi
50754 done
50755 done
50756
50757 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50758 ;;
50759 esac
50760 fi
50761 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50762
50763 if test -n "$CPPUNIT_CONFIG"; then
50764 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50765 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50766 else
50767 echo "$as_me:$LINENO: result: no" >&5
50768 echo "${ECHO_T}no" >&6
50769 fi
50770
50771 cppunit_version_min=1.8.0
50772
50773 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50774 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50775 no_cppunit=""
50776 if test "$CPPUNIT_CONFIG" = "no" ; then
50777 echo "$as_me:$LINENO: result: no" >&5
50778 echo "${ECHO_T}no" >&6
50779 no_cppunit=yes
50780 else
50781 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50782 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50783 cppunit_version=`$CPPUNIT_CONFIG --version`
50784
50785 cppunit_major_version=`echo $cppunit_version | \
50786 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50787 cppunit_minor_version=`echo $cppunit_version | \
50788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50789 cppunit_micro_version=`echo $cppunit_version | \
50790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50791
50792 cppunit_major_min=`echo $cppunit_version_min | \
50793 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50794 cppunit_minor_min=`echo $cppunit_version_min | \
50795 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50796 cppunit_micro_min=`echo $cppunit_version_min | \
50797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50798
50799 cppunit_version_proper=`expr \
50800 $cppunit_major_version \> $cppunit_major_min \| \
50801 $cppunit_major_version \= $cppunit_major_min \& \
50802 $cppunit_minor_version \> $cppunit_minor_min \| \
50803 $cppunit_major_version \= $cppunit_major_min \& \
50804 $cppunit_minor_version \= $cppunit_minor_min \& \
50805 $cppunit_micro_version \>= $cppunit_micro_min `
50806
50807 if test "$cppunit_version_proper" = "1" ; then
50808 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50809 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50810 else
50811 echo "$as_me:$LINENO: result: no" >&5
50812 echo "${ECHO_T}no" >&6
50813 no_cppunit=yes
50814 fi
50815 fi
50816
50817 if test "x$no_cppunit" = x ; then
50818 SUBDIRS="$SUBDIRS tests"
50819 else
50820 CPPUNIT_CFLAGS=""
50821 CPPUNIT_LIBS=""
50822 :
50823 fi
50824
50825
50826
50827
50828
50829 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50830 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50831 fi
50832
50833 for subdir in `echo $SUBDIRS`; do
50834 if test -d ${srcdir}/${subdir} ; then
50835 if test "$wxUSE_GUI" = "yes"; then
50836 if test ${subdir} = "samples"; then
50837 makefiles="samples/Makefile.in $makefiles"
50838 for sample in `echo $SAMPLES_SUBDIRS`; do
50839 if test -d $srcdir/samples/$sample; then
50840 makefiles="samples/$sample/Makefile.in $makefiles"
50841 fi
50842 done
50843 else
50844 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50845 eval "disabled=\$$disabled_var"
50846 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50847 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50848 fi
50849 else if test ${subdir} = "samples"; then
50850 makefiles="samples/Makefile.in samples/console/Makefile.in"
50851 elif test ${subdir} = "utils"; then
50852 makefiles=""
50853 for util in HelpGen tex2rtf ; do
50854 if test -d $srcdir/utils/$util ; then
50855 makefiles="utils/$util/Makefile.in \
50856 utils/$util/src/Makefile.in \
50857 $makefiles"
50858 fi
50859 done
50860 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50861 fi
50862 fi
50863
50864 for mkin in $makefiles ; do
50865 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50866 ac_config_files="$ac_config_files $mk"
50867
50868 done
50869 fi
50870 done
50871 fi
50872 cat >confcache <<\_ACEOF
50873 # This file is a shell script that caches the results of configure
50874 # tests run on this system so they can be shared between configure
50875 # scripts and configure runs, see configure's option --config-cache.
50876 # It is not useful on other systems. If it contains results you don't
50877 # want to keep, you may remove or edit it.
50878 #
50879 # config.status only pays attention to the cache file if you give it
50880 # the --recheck option to rerun configure.
50881 #
50882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50884 # following values.
50885
50886 _ACEOF
50887
50888 # The following way of writing the cache mishandles newlines in values,
50889 # but we know of no workaround that is simple, portable, and efficient.
50890 # So, don't put newlines in cache variables' values.
50891 # Ultrix sh set writes to stderr and can't be redirected directly,
50892 # and sets the high bit in the cache file unless we assign to the vars.
50893 {
50894 (set) 2>&1 |
50895 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50896 *ac_space=\ *)
50897 # `set' does not quote correctly, so add quotes (double-quote
50898 # substitution turns \\\\ into \\, and sed turns \\ into \).
50899 sed -n \
50900 "s/'/'\\\\''/g;
50901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50902 ;;
50903 *)
50904 # `set' quotes correctly as required by POSIX, so do not add quotes.
50905 sed -n \
50906 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50907 ;;
50908 esac;
50909 } |
50910 sed '
50911 t clear
50912 : clear
50913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50914 t end
50915 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50916 : end' >>confcache
50917 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50918 if test -w $cache_file; then
50919 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50920 cat confcache >$cache_file
50921 else
50922 echo "not updating unwritable cache $cache_file"
50923 fi
50924 fi
50925 rm -f confcache
50926
50927 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50928 # Let make expand exec_prefix.
50929 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50930
50931 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50932 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50933 # trailing colons and then remove the whole line if VPATH becomes empty
50934 # (actually we leave an empty line to preserve line numbers).
50935 if test "x$srcdir" = x.; then
50936 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50937 s/:*\$(srcdir):*/:/;
50938 s/:*\${srcdir}:*/:/;
50939 s/:*@srcdir@:*/:/;
50940 s/^\([^=]*=[ ]*\):*/\1/;
50941 s/:*$//;
50942 s/^[^=]*=[ ]*$//;
50943 }'
50944 fi
50945
50946 DEFS=-DHAVE_CONFIG_H
50947
50948 ac_libobjs=
50949 ac_ltlibobjs=
50950 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50951 # 1. Remove the extension, and $U if already installed.
50952 ac_i=`echo "$ac_i" |
50953 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50954 # 2. Add them.
50955 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50956 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50957 done
50958 LIBOBJS=$ac_libobjs
50959
50960 LTLIBOBJS=$ac_ltlibobjs
50961
50962
50963
50964 : ${CONFIG_STATUS=./config.status}
50965 ac_clean_files_save=$ac_clean_files
50966 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50967 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50968 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50969 cat >$CONFIG_STATUS <<_ACEOF
50970 #! $SHELL
50971 # Generated by $as_me.
50972 # Run this file to recreate the current configuration.
50973 # Compiler output produced by configure, useful for debugging
50974 # configure, is in config.log if it exists.
50975
50976 debug=false
50977 ac_cs_recheck=false
50978 ac_cs_silent=false
50979 SHELL=\${CONFIG_SHELL-$SHELL}
50980 _ACEOF
50981
50982 cat >>$CONFIG_STATUS <<\_ACEOF
50983 ## --------------------- ##
50984 ## M4sh Initialization. ##
50985 ## --------------------- ##
50986
50987 # Be Bourne compatible
50988 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50989 emulate sh
50990 NULLCMD=:
50991 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50992 # is contrary to our usage. Disable this feature.
50993 alias -g '${1+"$@"}'='"$@"'
50994 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50995 set -o posix
50996 fi
50997 DUALCASE=1; export DUALCASE # for MKS sh
50998
50999 # Support unset when possible.
51000 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51001 as_unset=unset
51002 else
51003 as_unset=false
51004 fi
51005
51006
51007 # Work around bugs in pre-3.0 UWIN ksh.
51008 $as_unset ENV MAIL MAILPATH
51009 PS1='$ '
51010 PS2='> '
51011 PS4='+ '
51012
51013 # NLS nuisances.
51014 for as_var in \
51015 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51016 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51017 LC_TELEPHONE LC_TIME
51018 do
51019 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51020 eval $as_var=C; export $as_var
51021 else
51022 $as_unset $as_var
51023 fi
51024 done
51025
51026 # Required to use basename.
51027 if expr a : '\(a\)' >/dev/null 2>&1; then
51028 as_expr=expr
51029 else
51030 as_expr=false
51031 fi
51032
51033 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51034 as_basename=basename
51035 else
51036 as_basename=false
51037 fi
51038
51039
51040 # Name of the executable.
51041 as_me=`$as_basename "$0" ||
51042 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51043 X"$0" : 'X\(//\)$' \| \
51044 X"$0" : 'X\(/\)$' \| \
51045 . : '\(.\)' 2>/dev/null ||
51046 echo X/"$0" |
51047 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51048 /^X\/\(\/\/\)$/{ s//\1/; q; }
51049 /^X\/\(\/\).*/{ s//\1/; q; }
51050 s/.*/./; q'`
51051
51052
51053 # PATH needs CR, and LINENO needs CR and PATH.
51054 # Avoid depending upon Character Ranges.
51055 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51056 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51057 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51058 as_cr_digits='0123456789'
51059 as_cr_alnum=$as_cr_Letters$as_cr_digits
51060
51061 # The user is always right.
51062 if test "${PATH_SEPARATOR+set}" != set; then
51063 echo "#! /bin/sh" >conf$$.sh
51064 echo "exit 0" >>conf$$.sh
51065 chmod +x conf$$.sh
51066 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51067 PATH_SEPARATOR=';'
51068 else
51069 PATH_SEPARATOR=:
51070 fi
51071 rm -f conf$$.sh
51072 fi
51073
51074
51075 as_lineno_1=$LINENO
51076 as_lineno_2=$LINENO
51077 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51078 test "x$as_lineno_1" != "x$as_lineno_2" &&
51079 test "x$as_lineno_3" = "x$as_lineno_2" || {
51080 # Find who we are. Look in the path if we contain no path at all
51081 # relative or not.
51082 case $0 in
51083 *[\\/]* ) as_myself=$0 ;;
51084 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51085 for as_dir in $PATH
51086 do
51087 IFS=$as_save_IFS
51088 test -z "$as_dir" && as_dir=.
51089 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51090 done
51091
51092 ;;
51093 esac
51094 # We did not find ourselves, most probably we were run as `sh COMMAND'
51095 # in which case we are not to be found in the path.
51096 if test "x$as_myself" = x; then
51097 as_myself=$0
51098 fi
51099 if test ! -f "$as_myself"; then
51100 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51101 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51102 { (exit 1); exit 1; }; }
51103 fi
51104 case $CONFIG_SHELL in
51105 '')
51106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51107 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51108 do
51109 IFS=$as_save_IFS
51110 test -z "$as_dir" && as_dir=.
51111 for as_base in sh bash ksh sh5; do
51112 case $as_dir in
51113 /*)
51114 if ("$as_dir/$as_base" -c '
51115 as_lineno_1=$LINENO
51116 as_lineno_2=$LINENO
51117 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51118 test "x$as_lineno_1" != "x$as_lineno_2" &&
51119 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51120 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51121 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51122 CONFIG_SHELL=$as_dir/$as_base
51123 export CONFIG_SHELL
51124 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51125 fi;;
51126 esac
51127 done
51128 done
51129 ;;
51130 esac
51131
51132 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51133 # uniformly replaced by the line number. The first 'sed' inserts a
51134 # line-number line before each line; the second 'sed' does the real
51135 # work. The second script uses 'N' to pair each line-number line
51136 # with the numbered line, and appends trailing '-' during
51137 # substitution so that $LINENO is not a special case at line end.
51138 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51139 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51140 sed '=' <$as_myself |
51141 sed '
51142 N
51143 s,$,-,
51144 : loop
51145 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51146 t loop
51147 s,-$,,
51148 s,^['$as_cr_digits']*\n,,
51149 ' >$as_me.lineno &&
51150 chmod +x $as_me.lineno ||
51151 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51152 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51153 { (exit 1); exit 1; }; }
51154
51155 # Don't try to exec as it changes $[0], causing all sort of problems
51156 # (the dirname of $[0] is not the place where we might find the
51157 # original and so on. Autoconf is especially sensible to this).
51158 . ./$as_me.lineno
51159 # Exit status is that of the last command.
51160 exit
51161 }
51162
51163
51164 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51165 *c*,-n*) ECHO_N= ECHO_C='
51166 ' ECHO_T=' ' ;;
51167 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51168 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51169 esac
51170
51171 if expr a : '\(a\)' >/dev/null 2>&1; then
51172 as_expr=expr
51173 else
51174 as_expr=false
51175 fi
51176
51177 rm -f conf$$ conf$$.exe conf$$.file
51178 echo >conf$$.file
51179 if ln -s conf$$.file conf$$ 2>/dev/null; then
51180 # We could just check for DJGPP; but this test a) works b) is more generic
51181 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51182 if test -f conf$$.exe; then
51183 # Don't use ln at all; we don't have any links
51184 as_ln_s='cp -p'
51185 else
51186 as_ln_s='ln -s'
51187 fi
51188 elif ln conf$$.file conf$$ 2>/dev/null; then
51189 as_ln_s=ln
51190 else
51191 as_ln_s='cp -p'
51192 fi
51193 rm -f conf$$ conf$$.exe conf$$.file
51194
51195 if mkdir -p . 2>/dev/null; then
51196 as_mkdir_p=:
51197 else
51198 test -d ./-p && rmdir ./-p
51199 as_mkdir_p=false
51200 fi
51201
51202 as_executable_p="test -f"
51203
51204 # Sed expression to map a string onto a valid CPP name.
51205 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51206
51207 # Sed expression to map a string onto a valid variable name.
51208 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51209
51210
51211 # IFS
51212 # We need space, tab and new line, in precisely that order.
51213 as_nl='
51214 '
51215 IFS=" $as_nl"
51216
51217 # CDPATH.
51218 $as_unset CDPATH
51219
51220 exec 6>&1
51221
51222 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51223 # report actual input values of CONFIG_FILES etc. instead of their
51224 # values after options handling. Logging --version etc. is OK.
51225 exec 5>>config.log
51226 {
51227 echo
51228 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51229 ## Running $as_me. ##
51230 _ASBOX
51231 } >&5
51232 cat >&5 <<_CSEOF
51233
51234 This file was extended by wxWidgets $as_me 2.7.1, which was
51235 generated by GNU Autoconf 2.59. Invocation command line was
51236
51237 CONFIG_FILES = $CONFIG_FILES
51238 CONFIG_HEADERS = $CONFIG_HEADERS
51239 CONFIG_LINKS = $CONFIG_LINKS
51240 CONFIG_COMMANDS = $CONFIG_COMMANDS
51241 $ $0 $@
51242
51243 _CSEOF
51244 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51245 echo >&5
51246 _ACEOF
51247
51248 # Files that config.status was made for.
51249 if test -n "$ac_config_files"; then
51250 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51251 fi
51252
51253 if test -n "$ac_config_headers"; then
51254 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51255 fi
51256
51257 if test -n "$ac_config_links"; then
51258 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51259 fi
51260
51261 if test -n "$ac_config_commands"; then
51262 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51263 fi
51264
51265 cat >>$CONFIG_STATUS <<\_ACEOF
51266
51267 ac_cs_usage="\
51268 \`$as_me' instantiates files from templates according to the
51269 current configuration.
51270
51271 Usage: $0 [OPTIONS] [FILE]...
51272
51273 -h, --help print this help, then exit
51274 -V, --version print version number, then exit
51275 -q, --quiet do not print progress messages
51276 -d, --debug don't remove temporary files
51277 --recheck update $as_me by reconfiguring in the same conditions
51278 --file=FILE[:TEMPLATE]
51279 instantiate the configuration file FILE
51280 --header=FILE[:TEMPLATE]
51281 instantiate the configuration header FILE
51282
51283 Configuration files:
51284 $config_files
51285
51286 Configuration headers:
51287 $config_headers
51288
51289 Configuration commands:
51290 $config_commands
51291
51292 Report bugs to <bug-autoconf@gnu.org>."
51293 _ACEOF
51294
51295 cat >>$CONFIG_STATUS <<_ACEOF
51296 ac_cs_version="\\
51297 wxWidgets config.status 2.7.1
51298 configured by $0, generated by GNU Autoconf 2.59,
51299 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51300
51301 Copyright (C) 2003 Free Software Foundation, Inc.
51302 This config.status script is free software; the Free Software Foundation
51303 gives unlimited permission to copy, distribute and modify it."
51304 srcdir=$srcdir
51305 INSTALL="$INSTALL"
51306 _ACEOF
51307
51308 cat >>$CONFIG_STATUS <<\_ACEOF
51309 # If no file are specified by the user, then we need to provide default
51310 # value. By we need to know if files were specified by the user.
51311 ac_need_defaults=:
51312 while test $# != 0
51313 do
51314 case $1 in
51315 --*=*)
51316 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51317 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51318 ac_shift=:
51319 ;;
51320 -*)
51321 ac_option=$1
51322 ac_optarg=$2
51323 ac_shift=shift
51324 ;;
51325 *) # This is not an option, so the user has probably given explicit
51326 # arguments.
51327 ac_option=$1
51328 ac_need_defaults=false;;
51329 esac
51330
51331 case $ac_option in
51332 # Handling of the options.
51333 _ACEOF
51334 cat >>$CONFIG_STATUS <<\_ACEOF
51335 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51336 ac_cs_recheck=: ;;
51337 --version | --vers* | -V )
51338 echo "$ac_cs_version"; exit 0 ;;
51339 --he | --h)
51340 # Conflict between --help and --header
51341 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51342 Try \`$0 --help' for more information." >&5
51343 echo "$as_me: error: ambiguous option: $1
51344 Try \`$0 --help' for more information." >&2;}
51345 { (exit 1); exit 1; }; };;
51346 --help | --hel | -h )
51347 echo "$ac_cs_usage"; exit 0 ;;
51348 --debug | --d* | -d )
51349 debug=: ;;
51350 --file | --fil | --fi | --f )
51351 $ac_shift
51352 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51353 ac_need_defaults=false;;
51354 --header | --heade | --head | --hea )
51355 $ac_shift
51356 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51357 ac_need_defaults=false;;
51358 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51359 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51360 ac_cs_silent=: ;;
51361
51362 # This is an error.
51363 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51364 Try \`$0 --help' for more information." >&5
51365 echo "$as_me: error: unrecognized option: $1
51366 Try \`$0 --help' for more information." >&2;}
51367 { (exit 1); exit 1; }; } ;;
51368
51369 *) ac_config_targets="$ac_config_targets $1" ;;
51370
51371 esac
51372 shift
51373 done
51374
51375 ac_configure_extra_args=
51376
51377 if $ac_cs_silent; then
51378 exec 6>/dev/null
51379 ac_configure_extra_args="$ac_configure_extra_args --silent"
51380 fi
51381
51382 _ACEOF
51383 cat >>$CONFIG_STATUS <<_ACEOF
51384 if \$ac_cs_recheck; then
51385 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51386 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51387 fi
51388
51389 _ACEOF
51390
51391 cat >>$CONFIG_STATUS <<_ACEOF
51392 #
51393 # INIT-COMMANDS section.
51394 #
51395
51396
51397 CPP="$CPP"
51398 infile="$srcdir/include/wx/msw/genrcdefs.h"
51399 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51400
51401
51402 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51403 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51404 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51405 LN_S="${LN_S}"
51406
51407
51408 _ACEOF
51409
51410
51411
51412 cat >>$CONFIG_STATUS <<\_ACEOF
51413 for ac_config_target in $ac_config_targets
51414 do
51415 case "$ac_config_target" in
51416 # Handling of arguments.
51417 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51418 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51419 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51420 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51421 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51422 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51423 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51424 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51425 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51426 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51427 { (exit 1); exit 1; }; };;
51428 esac
51429 done
51430
51431 # If the user did not use the arguments to specify the items to instantiate,
51432 # then the envvar interface is used. Set only those that are not.
51433 # We use the long form for the default assignment because of an extremely
51434 # bizarre bug on SunOS 4.1.3.
51435 if $ac_need_defaults; then
51436 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51437 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51439 fi
51440
51441 # Have a temporary directory for convenience. Make it in the build tree
51442 # simply because there is no reason to put it here, and in addition,
51443 # creating and moving files from /tmp can sometimes cause problems.
51444 # Create a temporary directory, and hook for its removal unless debugging.
51445 $debug ||
51446 {
51447 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51448 trap '{ (exit 1); exit 1; }' 1 2 13 15
51449 }
51450
51451 # Create a (secure) tmp directory for tmp files.
51452
51453 {
51454 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51455 test -n "$tmp" && test -d "$tmp"
51456 } ||
51457 {
51458 tmp=./confstat$$-$RANDOM
51459 (umask 077 && mkdir $tmp)
51460 } ||
51461 {
51462 echo "$me: cannot create a temporary directory in ." >&2
51463 { (exit 1); exit 1; }
51464 }
51465
51466 _ACEOF
51467
51468 cat >>$CONFIG_STATUS <<_ACEOF
51469
51470 #
51471 # CONFIG_FILES section.
51472 #
51473
51474 # No need to generate the scripts if there are no CONFIG_FILES.
51475 # This happens for instance when ./config.status config.h
51476 if test -n "\$CONFIG_FILES"; then
51477 # Protect against being on the right side of a sed subst in config.status.
51478 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51479 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51480 s,@SHELL@,$SHELL,;t t
51481 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51482 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51483 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51484 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51485 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51486 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51487 s,@exec_prefix@,$exec_prefix,;t t
51488 s,@prefix@,$prefix,;t t
51489 s,@program_transform_name@,$program_transform_name,;t t
51490 s,@bindir@,$bindir,;t t
51491 s,@sbindir@,$sbindir,;t t
51492 s,@libexecdir@,$libexecdir,;t t
51493 s,@datadir@,$datadir,;t t
51494 s,@sysconfdir@,$sysconfdir,;t t
51495 s,@sharedstatedir@,$sharedstatedir,;t t
51496 s,@localstatedir@,$localstatedir,;t t
51497 s,@libdir@,$libdir,;t t
51498 s,@includedir@,$includedir,;t t
51499 s,@oldincludedir@,$oldincludedir,;t t
51500 s,@infodir@,$infodir,;t t
51501 s,@mandir@,$mandir,;t t
51502 s,@build_alias@,$build_alias,;t t
51503 s,@host_alias@,$host_alias,;t t
51504 s,@target_alias@,$target_alias,;t t
51505 s,@DEFS@,$DEFS,;t t
51506 s,@ECHO_C@,$ECHO_C,;t t
51507 s,@ECHO_N@,$ECHO_N,;t t
51508 s,@ECHO_T@,$ECHO_T,;t t
51509 s,@LIBS@,$LIBS,;t t
51510 s,@build@,$build,;t t
51511 s,@build_cpu@,$build_cpu,;t t
51512 s,@build_vendor@,$build_vendor,;t t
51513 s,@build_os@,$build_os,;t t
51514 s,@host@,$host,;t t
51515 s,@host_cpu@,$host_cpu,;t t
51516 s,@host_vendor@,$host_vendor,;t t
51517 s,@host_os@,$host_os,;t t
51518 s,@target@,$target,;t t
51519 s,@target_cpu@,$target_cpu,;t t
51520 s,@target_vendor@,$target_vendor,;t t
51521 s,@target_os@,$target_os,;t t
51522 s,@wx_top_builddir@,$wx_top_builddir,;t t
51523 s,@CC@,$CC,;t t
51524 s,@CFLAGS@,$CFLAGS,;t t
51525 s,@LDFLAGS@,$LDFLAGS,;t t
51526 s,@CPPFLAGS@,$CPPFLAGS,;t t
51527 s,@ac_ct_CC@,$ac_ct_CC,;t t
51528 s,@EXEEXT@,$EXEEXT,;t t
51529 s,@OBJEXT@,$OBJEXT,;t t
51530 s,@CPP@,$CPP,;t t
51531 s,@EGREP@,$EGREP,;t t
51532 s,@CXX@,$CXX,;t t
51533 s,@CXXFLAGS@,$CXXFLAGS,;t t
51534 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51535 s,@RANLIB@,$RANLIB,;t t
51536 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51537 s,@AR@,$AR,;t t
51538 s,@ac_ct_AR@,$ac_ct_AR,;t t
51539 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51540 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51541 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51542 s,@STRIP@,$STRIP,;t t
51543 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51544 s,@WINDRES@,$WINDRES,;t t
51545 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51546 s,@DLLTOOL@,$DLLTOOL,;t t
51547 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51548 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51549 s,@LN_S@,$LN_S,;t t
51550 s,@CXXCPP@,$CXXCPP,;t t
51551 s,@subdirs@,$subdirs,;t t
51552 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51553 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51554 s,@GTK_LIBS@,$GTK_LIBS,;t t
51555 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51556 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51557 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51558 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51559 s,@X_CFLAGS@,$X_CFLAGS,;t t
51560 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51561 s,@X_LIBS@,$X_LIBS,;t t
51562 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51563 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51564 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51565 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51566 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51567 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51568 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51569 s,@REZ@,$REZ,;t t
51570 s,@DEREZ@,$DEREZ,;t t
51571 s,@SETFILE@,$SETFILE,;t t
51572 s,@LIBICONV@,$LIBICONV,;t t
51573 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51574 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51575 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51576 s,@SDL_LIBS@,$SDL_LIBS,;t t
51577 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51578 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51579 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51580 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51581 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51582 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51583 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51584 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51585 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51586 s,@GST_LIBS@,$GST_LIBS,;t t
51587 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51588 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51589 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51590 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51591 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51592 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51593 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51594 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51595 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51596 s,@VENDOR@,$VENDOR,;t t
51597 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51598 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51599 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51600 s,@WXUNIV@,$WXUNIV,;t t
51601 s,@MONOLITHIC@,$MONOLITHIC,;t t
51602 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51603 s,@EXTRALIBS@,$EXTRALIBS,;t t
51604 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51605 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51606 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51607 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51608 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51609 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51610 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51611 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51612 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51613 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51614 s,@UNICODE@,$UNICODE,;t t
51615 s,@BUILD@,$BUILD,;t t
51616 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51617 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51618 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51619 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51620 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51621 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51622 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51623 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51624 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51625 s,@SET_MAKE@,$SET_MAKE,;t t
51626 s,@MAKE_SET@,$MAKE_SET,;t t
51627 s,@AROPTIONS@,$AROPTIONS,;t t
51628 s,@NM@,$NM,;t t
51629 s,@ac_ct_NM@,$ac_ct_NM,;t t
51630 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51631 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51632 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51633 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51634 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51635 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51636 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51637 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51638 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51639 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51640 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51641 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51642 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51643 s,@LIBPREFIX@,$LIBPREFIX,;t t
51644 s,@LIBEXT@,$LIBEXT,;t t
51645 s,@DLLPREFIX@,$DLLPREFIX,;t t
51646 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51647 s,@dlldir@,$dlldir,;t t
51648 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51649 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51650 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51651 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51652 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51653 s,@PIC_FLAG@,$PIC_FLAG,;t t
51654 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51655 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51656 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51657 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51658 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51659 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51660 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51661 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51662 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51663 s,@BK_DEPS@,$BK_DEPS,;t t
51664 s,@GCC_PCH@,$GCC_PCH,;t t
51665 s,@ICC_PCH@,$ICC_PCH,;t t
51666 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51667 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51668 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51669 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51670 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51671 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51672 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51673 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51674 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51675 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51676 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51677 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51678 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51679 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51680 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51681 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51682 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51683 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51684 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51685 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51686 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51687 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
51688 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
51689 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
51690 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
51691 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51692 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51693 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51694 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51695 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51696 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51697 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
51698 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
51699 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
51700 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
51701 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51702 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51703 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51704 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51705 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51706 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51707 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51708 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51709 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51710 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51711 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51712 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51713 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51714 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51715 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51716 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51717 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51718 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51719 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51720 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51721 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51722 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51723 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51724 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51725 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51726 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51727 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51728 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51729 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51730 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51731 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51732 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51733 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51734 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51735 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51736 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51737 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51738 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51739 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51740 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51741 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51742 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51743 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51744 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51745 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51746 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51747 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51748 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51749 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51750 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51751 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51752 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51753 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51754 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51755 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51756 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51757 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51758 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51759 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51760 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
51761 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51762 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51763 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51764 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51765 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51766 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51767 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51768 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51769 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51770 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51771 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51772 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51773 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51774 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51775 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51776 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51777 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51778 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51779 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51780 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51781 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51782 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51783 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51784 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51785 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51786 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51787 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51788 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51789 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51790 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51791 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51792 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51793 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51794 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51795 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51796 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51797 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51798 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51799 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51800 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51801 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51802 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51803 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51804 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51805 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51806 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51807 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51808 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51809 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51810 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51811 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51812 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51813 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51814 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51815 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51816 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51817 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51818 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51819 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51820 s,@SHARED@,$SHARED,;t t
51821 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51822 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51823 s,@USE_GUI@,$USE_GUI,;t t
51824 s,@AFMINSTALL@,$AFMINSTALL,;t t
51825 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51826 s,@TOOLKIT@,$TOOLKIT,;t t
51827 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51828 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51829 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51830 s,@cross_compiling@,$cross_compiling,;t t
51831 s,@WIDGET_SET@,$WIDGET_SET,;t t
51832 s,@WX_RELEASE@,$WX_RELEASE,;t t
51833 s,@WX_VERSION@,$WX_VERSION,;t t
51834 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51835 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51836 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51837 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51838 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51839 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51840 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51841 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51842 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51843 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51844 s,@EXE_LINKER@,$EXE_LINKER,;t t
51845 s,@GUIDIST@,$GUIDIST,;t t
51846 s,@DISTDIR@,$DISTDIR,;t t
51847 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51848 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51849 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51850 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51851 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51852 s,@RESCOMP@,$RESCOMP,;t t
51853 s,@RESFLAGS@,$RESFLAGS,;t t
51854 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51855 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51856 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51857 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51858 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51859 s,@MACSETFILE@,$MACSETFILE,;t t
51860 s,@GCC@,$GCC,;t t
51861 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51862 s,@LIBOBJS@,$LIBOBJS,;t t
51863 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51864 CEOF
51865
51866 _ACEOF
51867
51868 cat >>$CONFIG_STATUS <<\_ACEOF
51869 # Split the substitutions into bite-sized pieces for seds with
51870 # small command number limits, like on Digital OSF/1 and HP-UX.
51871 ac_max_sed_lines=48
51872 ac_sed_frag=1 # Number of current file.
51873 ac_beg=1 # First line for current file.
51874 ac_end=$ac_max_sed_lines # Line after last line for current file.
51875 ac_more_lines=:
51876 ac_sed_cmds=
51877 while $ac_more_lines; do
51878 if test $ac_beg -gt 1; then
51879 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51880 else
51881 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51882 fi
51883 if test ! -s $tmp/subs.frag; then
51884 ac_more_lines=false
51885 else
51886 # The purpose of the label and of the branching condition is to
51887 # speed up the sed processing (if there are no `@' at all, there
51888 # is no need to browse any of the substitutions).
51889 # These are the two extra sed commands mentioned above.
51890 (echo ':t
51891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51892 if test -z "$ac_sed_cmds"; then
51893 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51894 else
51895 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51896 fi
51897 ac_sed_frag=`expr $ac_sed_frag + 1`
51898 ac_beg=$ac_end
51899 ac_end=`expr $ac_end + $ac_max_sed_lines`
51900 fi
51901 done
51902 if test -z "$ac_sed_cmds"; then
51903 ac_sed_cmds=cat
51904 fi
51905 fi # test -n "$CONFIG_FILES"
51906
51907 _ACEOF
51908 cat >>$CONFIG_STATUS <<\_ACEOF
51909 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51910 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51911 case $ac_file in
51912 - | *:- | *:-:* ) # input from stdin
51913 cat >$tmp/stdin
51914 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51915 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51916 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51917 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51918 * ) ac_file_in=$ac_file.in ;;
51919 esac
51920
51921 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51922 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51923 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51924 X"$ac_file" : 'X\(//\)[^/]' \| \
51925 X"$ac_file" : 'X\(//\)$' \| \
51926 X"$ac_file" : 'X\(/\)' \| \
51927 . : '\(.\)' 2>/dev/null ||
51928 echo X"$ac_file" |
51929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51931 /^X\(\/\/\)$/{ s//\1/; q; }
51932 /^X\(\/\).*/{ s//\1/; q; }
51933 s/.*/./; q'`
51934 { if $as_mkdir_p; then
51935 mkdir -p "$ac_dir"
51936 else
51937 as_dir="$ac_dir"
51938 as_dirs=
51939 while test ! -d "$as_dir"; do
51940 as_dirs="$as_dir $as_dirs"
51941 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51943 X"$as_dir" : 'X\(//\)[^/]' \| \
51944 X"$as_dir" : 'X\(//\)$' \| \
51945 X"$as_dir" : 'X\(/\)' \| \
51946 . : '\(.\)' 2>/dev/null ||
51947 echo X"$as_dir" |
51948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51950 /^X\(\/\/\)$/{ s//\1/; q; }
51951 /^X\(\/\).*/{ s//\1/; q; }
51952 s/.*/./; q'`
51953 done
51954 test ! -n "$as_dirs" || mkdir $as_dirs
51955 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51956 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51957 { (exit 1); exit 1; }; }; }
51958
51959 ac_builddir=.
51960
51961 if test "$ac_dir" != .; then
51962 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51963 # A "../" for each directory in $ac_dir_suffix.
51964 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51965 else
51966 ac_dir_suffix= ac_top_builddir=
51967 fi
51968
51969 case $srcdir in
51970 .) # No --srcdir option. We are building in place.
51971 ac_srcdir=.
51972 if test -z "$ac_top_builddir"; then
51973 ac_top_srcdir=.
51974 else
51975 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51976 fi ;;
51977 [\\/]* | ?:[\\/]* ) # Absolute path.
51978 ac_srcdir=$srcdir$ac_dir_suffix;
51979 ac_top_srcdir=$srcdir ;;
51980 *) # Relative path.
51981 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51982 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51983 esac
51984
51985 # Do not use `cd foo && pwd` to compute absolute paths, because
51986 # the directories may not exist.
51987 case `pwd` in
51988 .) ac_abs_builddir="$ac_dir";;
51989 *)
51990 case "$ac_dir" in
51991 .) ac_abs_builddir=`pwd`;;
51992 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51993 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51994 esac;;
51995 esac
51996 case $ac_abs_builddir in
51997 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51998 *)
51999 case ${ac_top_builddir}. in
52000 .) ac_abs_top_builddir=$ac_abs_builddir;;
52001 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52002 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52003 esac;;
52004 esac
52005 case $ac_abs_builddir in
52006 .) ac_abs_srcdir=$ac_srcdir;;
52007 *)
52008 case $ac_srcdir in
52009 .) ac_abs_srcdir=$ac_abs_builddir;;
52010 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52011 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52012 esac;;
52013 esac
52014 case $ac_abs_builddir in
52015 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52016 *)
52017 case $ac_top_srcdir in
52018 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52019 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52020 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52021 esac;;
52022 esac
52023
52024
52025 case $INSTALL in
52026 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52027 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52028 esac
52029
52030 # Let's still pretend it is `configure' which instantiates (i.e., don't
52031 # use $as_me), people would be surprised to read:
52032 # /* config.h. Generated by config.status. */
52033 if test x"$ac_file" = x-; then
52034 configure_input=
52035 else
52036 configure_input="$ac_file. "
52037 fi
52038 configure_input=$configure_input"Generated from `echo $ac_file_in |
52039 sed 's,.*/,,'` by configure."
52040
52041 # First look for the input files in the build tree, otherwise in the
52042 # src tree.
52043 ac_file_inputs=`IFS=:
52044 for f in $ac_file_in; do
52045 case $f in
52046 -) echo $tmp/stdin ;;
52047 [\\/$]*)
52048 # Absolute (can't be DOS-style, as IFS=:)
52049 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52050 echo "$as_me: error: cannot find input file: $f" >&2;}
52051 { (exit 1); exit 1; }; }
52052 echo "$f";;
52053 *) # Relative
52054 if test -f "$f"; then
52055 # Build tree
52056 echo "$f"
52057 elif test -f "$srcdir/$f"; then
52058 # Source tree
52059 echo "$srcdir/$f"
52060 else
52061 # /dev/null tree
52062 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52063 echo "$as_me: error: cannot find input file: $f" >&2;}
52064 { (exit 1); exit 1; }; }
52065 fi;;
52066 esac
52067 done` || { (exit 1); exit 1; }
52068
52069 if test x"$ac_file" != x-; then
52070 { echo "$as_me:$LINENO: creating $ac_file" >&5
52071 echo "$as_me: creating $ac_file" >&6;}
52072 rm -f "$ac_file"
52073 fi
52074 _ACEOF
52075 cat >>$CONFIG_STATUS <<_ACEOF
52076 sed "$ac_vpsub
52077 $extrasub
52078 _ACEOF
52079 cat >>$CONFIG_STATUS <<\_ACEOF
52080 :t
52081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52082 s,@configure_input@,$configure_input,;t t
52083 s,@srcdir@,$ac_srcdir,;t t
52084 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52085 s,@top_srcdir@,$ac_top_srcdir,;t t
52086 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52087 s,@builddir@,$ac_builddir,;t t
52088 s,@abs_builddir@,$ac_abs_builddir,;t t
52089 s,@top_builddir@,$ac_top_builddir,;t t
52090 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52091 s,@INSTALL@,$ac_INSTALL,;t t
52092 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52093 rm -f $tmp/stdin
52094 if test x"$ac_file" != x-; then
52095 mv $tmp/out $ac_file
52096 else
52097 cat $tmp/out
52098 rm -f $tmp/out
52099 fi
52100
52101 # Run the commands associated with the file.
52102 case $ac_file in
52103 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52104 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52105 esac
52106 done
52107 _ACEOF
52108 cat >>$CONFIG_STATUS <<\_ACEOF
52109
52110 #
52111 # CONFIG_HEADER section.
52112 #
52113
52114 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52115 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52116 #
52117 # ac_d sets the value in "#define NAME VALUE" lines.
52118 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52119 ac_dB='[ ].*$,\1#\2'
52120 ac_dC=' '
52121 ac_dD=',;t'
52122 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52123 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52124 ac_uB='$,\1#\2define\3'
52125 ac_uC=' '
52126 ac_uD=',;t'
52127
52128 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52129 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52130 case $ac_file in
52131 - | *:- | *:-:* ) # input from stdin
52132 cat >$tmp/stdin
52133 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52134 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52135 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52136 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52137 * ) ac_file_in=$ac_file.in ;;
52138 esac
52139
52140 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52141 echo "$as_me: creating $ac_file" >&6;}
52142
52143 # First look for the input files in the build tree, otherwise in the
52144 # src tree.
52145 ac_file_inputs=`IFS=:
52146 for f in $ac_file_in; do
52147 case $f in
52148 -) echo $tmp/stdin ;;
52149 [\\/$]*)
52150 # Absolute (can't be DOS-style, as IFS=:)
52151 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52152 echo "$as_me: error: cannot find input file: $f" >&2;}
52153 { (exit 1); exit 1; }; }
52154 # Do quote $f, to prevent DOS paths from being IFS'd.
52155 echo "$f";;
52156 *) # Relative
52157 if test -f "$f"; then
52158 # Build tree
52159 echo "$f"
52160 elif test -f "$srcdir/$f"; then
52161 # Source tree
52162 echo "$srcdir/$f"
52163 else
52164 # /dev/null tree
52165 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52166 echo "$as_me: error: cannot find input file: $f" >&2;}
52167 { (exit 1); exit 1; }; }
52168 fi;;
52169 esac
52170 done` || { (exit 1); exit 1; }
52171 # Remove the trailing spaces.
52172 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52173
52174 _ACEOF
52175
52176 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52177 # `conftest.undefs', that substitutes the proper values into
52178 # config.h.in to produce config.h. The first handles `#define'
52179 # templates, and the second `#undef' templates.
52180 # And first: Protect against being on the right side of a sed subst in
52181 # config.status. Protect against being in an unquoted here document
52182 # in config.status.
52183 rm -f conftest.defines conftest.undefs
52184 # Using a here document instead of a string reduces the quoting nightmare.
52185 # Putting comments in sed scripts is not portable.
52186 #
52187 # `end' is used to avoid that the second main sed command (meant for
52188 # 0-ary CPP macros) applies to n-ary macro definitions.
52189 # See the Autoconf documentation for `clear'.
52190 cat >confdef2sed.sed <<\_ACEOF
52191 s/[\\&,]/\\&/g
52192 s,[\\$`],\\&,g
52193 t clear
52194 : clear
52195 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52196 t end
52197 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52198 : end
52199 _ACEOF
52200 # If some macros were called several times there might be several times
52201 # the same #defines, which is useless. Nevertheless, we may not want to
52202 # sort them, since we want the *last* AC-DEFINE to be honored.
52203 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52204 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52205 rm -f confdef2sed.sed
52206
52207 # This sed command replaces #undef with comments. This is necessary, for
52208 # example, in the case of _POSIX_SOURCE, which is predefined and required
52209 # on some systems where configure will not decide to define it.
52210 cat >>conftest.undefs <<\_ACEOF
52211 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52212 _ACEOF
52213
52214 # Break up conftest.defines because some shells have a limit on the size
52215 # of here documents, and old seds have small limits too (100 cmds).
52216 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52217 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52218 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52219 echo ' :' >>$CONFIG_STATUS
52220 rm -f conftest.tail
52221 while grep . conftest.defines >/dev/null
52222 do
52223 # Write a limited-size here document to $tmp/defines.sed.
52224 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52225 # Speed up: don't consider the non `#define' lines.
52226 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52227 # Work around the forget-to-reset-the-flag bug.
52228 echo 't clr' >>$CONFIG_STATUS
52229 echo ': clr' >>$CONFIG_STATUS
52230 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52231 echo 'CEOF
52232 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52233 rm -f $tmp/in
52234 mv $tmp/out $tmp/in
52235 ' >>$CONFIG_STATUS
52236 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52237 rm -f conftest.defines
52238 mv conftest.tail conftest.defines
52239 done
52240 rm -f conftest.defines
52241 echo ' fi # grep' >>$CONFIG_STATUS
52242 echo >>$CONFIG_STATUS
52243
52244 # Break up conftest.undefs because some shells have a limit on the size
52245 # of here documents, and old seds have small limits too (100 cmds).
52246 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52247 rm -f conftest.tail
52248 while grep . conftest.undefs >/dev/null
52249 do
52250 # Write a limited-size here document to $tmp/undefs.sed.
52251 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52252 # Speed up: don't consider the non `#undef'
52253 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52254 # Work around the forget-to-reset-the-flag bug.
52255 echo 't clr' >>$CONFIG_STATUS
52256 echo ': clr' >>$CONFIG_STATUS
52257 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52258 echo 'CEOF
52259 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52260 rm -f $tmp/in
52261 mv $tmp/out $tmp/in
52262 ' >>$CONFIG_STATUS
52263 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52264 rm -f conftest.undefs
52265 mv conftest.tail conftest.undefs
52266 done
52267 rm -f conftest.undefs
52268
52269 cat >>$CONFIG_STATUS <<\_ACEOF
52270 # Let's still pretend it is `configure' which instantiates (i.e., don't
52271 # use $as_me), people would be surprised to read:
52272 # /* config.h. Generated by config.status. */
52273 if test x"$ac_file" = x-; then
52274 echo "/* Generated by configure. */" >$tmp/config.h
52275 else
52276 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52277 fi
52278 cat $tmp/in >>$tmp/config.h
52279 rm -f $tmp/in
52280 if test x"$ac_file" != x-; then
52281 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52282 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52283 echo "$as_me: $ac_file is unchanged" >&6;}
52284 else
52285 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52286 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52287 X"$ac_file" : 'X\(//\)[^/]' \| \
52288 X"$ac_file" : 'X\(//\)$' \| \
52289 X"$ac_file" : 'X\(/\)' \| \
52290 . : '\(.\)' 2>/dev/null ||
52291 echo X"$ac_file" |
52292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52294 /^X\(\/\/\)$/{ s//\1/; q; }
52295 /^X\(\/\).*/{ s//\1/; q; }
52296 s/.*/./; q'`
52297 { if $as_mkdir_p; then
52298 mkdir -p "$ac_dir"
52299 else
52300 as_dir="$ac_dir"
52301 as_dirs=
52302 while test ! -d "$as_dir"; do
52303 as_dirs="$as_dir $as_dirs"
52304 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52306 X"$as_dir" : 'X\(//\)[^/]' \| \
52307 X"$as_dir" : 'X\(//\)$' \| \
52308 X"$as_dir" : 'X\(/\)' \| \
52309 . : '\(.\)' 2>/dev/null ||
52310 echo X"$as_dir" |
52311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52313 /^X\(\/\/\)$/{ s//\1/; q; }
52314 /^X\(\/\).*/{ s//\1/; q; }
52315 s/.*/./; q'`
52316 done
52317 test ! -n "$as_dirs" || mkdir $as_dirs
52318 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52319 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52320 { (exit 1); exit 1; }; }; }
52321
52322 rm -f $ac_file
52323 mv $tmp/config.h $ac_file
52324 fi
52325 else
52326 cat $tmp/config.h
52327 rm -f $tmp/config.h
52328 fi
52329 done
52330 _ACEOF
52331 cat >>$CONFIG_STATUS <<\_ACEOF
52332
52333 #
52334 # CONFIG_COMMANDS section.
52335 #
52336 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52337 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52338 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52339 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52340 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52341 X"$ac_dest" : 'X\(//\)[^/]' \| \
52342 X"$ac_dest" : 'X\(//\)$' \| \
52343 X"$ac_dest" : 'X\(/\)' \| \
52344 . : '\(.\)' 2>/dev/null ||
52345 echo X"$ac_dest" |
52346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52348 /^X\(\/\/\)$/{ s//\1/; q; }
52349 /^X\(\/\).*/{ s//\1/; q; }
52350 s/.*/./; q'`
52351 { if $as_mkdir_p; then
52352 mkdir -p "$ac_dir"
52353 else
52354 as_dir="$ac_dir"
52355 as_dirs=
52356 while test ! -d "$as_dir"; do
52357 as_dirs="$as_dir $as_dirs"
52358 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52360 X"$as_dir" : 'X\(//\)[^/]' \| \
52361 X"$as_dir" : 'X\(//\)$' \| \
52362 X"$as_dir" : 'X\(/\)' \| \
52363 . : '\(.\)' 2>/dev/null ||
52364 echo X"$as_dir" |
52365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52367 /^X\(\/\/\)$/{ s//\1/; q; }
52368 /^X\(\/\).*/{ s//\1/; q; }
52369 s/.*/./; q'`
52370 done
52371 test ! -n "$as_dirs" || mkdir $as_dirs
52372 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52373 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52374 { (exit 1); exit 1; }; }; }
52375
52376 ac_builddir=.
52377
52378 if test "$ac_dir" != .; then
52379 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52380 # A "../" for each directory in $ac_dir_suffix.
52381 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52382 else
52383 ac_dir_suffix= ac_top_builddir=
52384 fi
52385
52386 case $srcdir in
52387 .) # No --srcdir option. We are building in place.
52388 ac_srcdir=.
52389 if test -z "$ac_top_builddir"; then
52390 ac_top_srcdir=.
52391 else
52392 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52393 fi ;;
52394 [\\/]* | ?:[\\/]* ) # Absolute path.
52395 ac_srcdir=$srcdir$ac_dir_suffix;
52396 ac_top_srcdir=$srcdir ;;
52397 *) # Relative path.
52398 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52399 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52400 esac
52401
52402 # Do not use `cd foo && pwd` to compute absolute paths, because
52403 # the directories may not exist.
52404 case `pwd` in
52405 .) ac_abs_builddir="$ac_dir";;
52406 *)
52407 case "$ac_dir" in
52408 .) ac_abs_builddir=`pwd`;;
52409 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52410 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52411 esac;;
52412 esac
52413 case $ac_abs_builddir in
52414 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52415 *)
52416 case ${ac_top_builddir}. in
52417 .) ac_abs_top_builddir=$ac_abs_builddir;;
52418 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52419 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52420 esac;;
52421 esac
52422 case $ac_abs_builddir in
52423 .) ac_abs_srcdir=$ac_srcdir;;
52424 *)
52425 case $ac_srcdir in
52426 .) ac_abs_srcdir=$ac_abs_builddir;;
52427 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52428 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52429 esac;;
52430 esac
52431 case $ac_abs_builddir in
52432 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52433 *)
52434 case $ac_top_srcdir in
52435 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52436 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52437 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52438 esac;;
52439 esac
52440
52441
52442 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52443 echo "$as_me: executing $ac_dest commands" >&6;}
52444 case $ac_dest in
52445 rcdefs.h )
52446 mkdir -p $outdir &&
52447 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52448 ;;
52449 wx-config ) rm -f wx-config
52450 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52451 ;;
52452 esac
52453 done
52454 _ACEOF
52455
52456 cat >>$CONFIG_STATUS <<\_ACEOF
52457
52458 { (exit 0); exit 0; }
52459 _ACEOF
52460 chmod +x $CONFIG_STATUS
52461 ac_clean_files=$ac_clean_files_save
52462
52463
52464 # configure is writing to config.log, and then calls config.status.
52465 # config.status does its own redirection, appending to config.log.
52466 # Unfortunately, on DOS this fails, as config.log is still kept open
52467 # by configure, so config.status won't be able to write to it; its
52468 # output is simply discarded. So we exec the FD to /dev/null,
52469 # effectively closing config.log, so it can be properly (re)opened and
52470 # appended to by config.status. When coming back to configure, we
52471 # need to make the FD available again.
52472 if test "$no_create" != yes; then
52473 ac_cs_success=:
52474 ac_config_status_args=
52475 test "$silent" = yes &&
52476 ac_config_status_args="$ac_config_status_args --quiet"
52477 exec 5>/dev/null
52478 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52479 exec 5>>config.log
52480 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52481 # would make configure fail if this is the last instruction.
52482 $ac_cs_success || { (exit 1); exit 1; }
52483 fi
52484
52485 #
52486 # CONFIG_SUBDIRS section.
52487 #
52488 if test "$no_recursion" != yes; then
52489
52490 # Remove --cache-file and --srcdir arguments so they do not pile up.
52491 ac_sub_configure_args=
52492 ac_prev=
52493 for ac_arg in $ac_configure_args; do
52494 if test -n "$ac_prev"; then
52495 ac_prev=
52496 continue
52497 fi
52498 case $ac_arg in
52499 -cache-file | --cache-file | --cache-fil | --cache-fi \
52500 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52501 ac_prev=cache_file ;;
52502 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52503 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52504 | --c=*)
52505 ;;
52506 --config-cache | -C)
52507 ;;
52508 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52509 ac_prev=srcdir ;;
52510 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52511 ;;
52512 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52513 ac_prev=prefix ;;
52514 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52515 ;;
52516 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52517 esac
52518 done
52519
52520 # Always prepend --prefix to ensure using the same prefix
52521 # in subdir configurations.
52522 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52523
52524 ac_popdir=`pwd`
52525 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52526
52527 # Do not complain, so a configure script can configure whichever
52528 # parts of a large source tree are present.
52529 test -d $srcdir/$ac_dir || continue
52530
52531 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52532 echo "$as_me: configuring in $ac_dir" >&6;}
52533 { if $as_mkdir_p; then
52534 mkdir -p "$ac_dir"
52535 else
52536 as_dir="$ac_dir"
52537 as_dirs=
52538 while test ! -d "$as_dir"; do
52539 as_dirs="$as_dir $as_dirs"
52540 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52542 X"$as_dir" : 'X\(//\)[^/]' \| \
52543 X"$as_dir" : 'X\(//\)$' \| \
52544 X"$as_dir" : 'X\(/\)' \| \
52545 . : '\(.\)' 2>/dev/null ||
52546 echo X"$as_dir" |
52547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52548 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52549 /^X\(\/\/\)$/{ s//\1/; q; }
52550 /^X\(\/\).*/{ s//\1/; q; }
52551 s/.*/./; q'`
52552 done
52553 test ! -n "$as_dirs" || mkdir $as_dirs
52554 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52555 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52556 { (exit 1); exit 1; }; }; }
52557
52558 ac_builddir=.
52559
52560 if test "$ac_dir" != .; then
52561 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52562 # A "../" for each directory in $ac_dir_suffix.
52563 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52564 else
52565 ac_dir_suffix= ac_top_builddir=
52566 fi
52567
52568 case $srcdir in
52569 .) # No --srcdir option. We are building in place.
52570 ac_srcdir=.
52571 if test -z "$ac_top_builddir"; then
52572 ac_top_srcdir=.
52573 else
52574 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52575 fi ;;
52576 [\\/]* | ?:[\\/]* ) # Absolute path.
52577 ac_srcdir=$srcdir$ac_dir_suffix;
52578 ac_top_srcdir=$srcdir ;;
52579 *) # Relative path.
52580 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52581 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52582 esac
52583
52584 # Do not use `cd foo && pwd` to compute absolute paths, because
52585 # the directories may not exist.
52586 case `pwd` in
52587 .) ac_abs_builddir="$ac_dir";;
52588 *)
52589 case "$ac_dir" in
52590 .) ac_abs_builddir=`pwd`;;
52591 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52592 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52593 esac;;
52594 esac
52595 case $ac_abs_builddir in
52596 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52597 *)
52598 case ${ac_top_builddir}. in
52599 .) ac_abs_top_builddir=$ac_abs_builddir;;
52600 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52601 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52602 esac;;
52603 esac
52604 case $ac_abs_builddir in
52605 .) ac_abs_srcdir=$ac_srcdir;;
52606 *)
52607 case $ac_srcdir in
52608 .) ac_abs_srcdir=$ac_abs_builddir;;
52609 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52610 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52611 esac;;
52612 esac
52613 case $ac_abs_builddir in
52614 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52615 *)
52616 case $ac_top_srcdir in
52617 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52618 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52619 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52620 esac;;
52621 esac
52622
52623
52624 cd $ac_dir
52625
52626 # Check for guested configure; otherwise get Cygnus style configure.
52627 if test -f $ac_srcdir/configure.gnu; then
52628 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52629 elif test -f $ac_srcdir/configure; then
52630 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52631 elif test -f $ac_srcdir/configure.in; then
52632 ac_sub_configure=$ac_configure
52633 else
52634 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52635 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52636 ac_sub_configure=
52637 fi
52638
52639 # The recursion is here.
52640 if test -n "$ac_sub_configure"; then
52641 # Make the cache file name correct relative to the subdirectory.
52642 case $cache_file in
52643 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52644 *) # Relative path.
52645 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52646 esac
52647
52648 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52649 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52650 # The eval makes quoting arguments work.
52651 eval $ac_sub_configure $ac_sub_configure_args \
52652 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52653 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52654 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52655 { (exit 1); exit 1; }; }
52656 fi
52657
52658 cd "$ac_popdir"
52659 done
52660 fi
52661
52662
52663 echo
52664 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52665 echo ""
52666 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52667 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52668
52669 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52670 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52671 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52672
52673 echo " What level of wxWidgets compatibility should be enabled?"
52674 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52675 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52676
52677 echo " Which libraries should wxWidgets use?"
52678 echo " jpeg ${wxUSE_LIBJPEG-none}"
52679 echo " png ${wxUSE_LIBPNG-none}"
52680 echo " regex ${wxUSE_REGEX}"
52681 echo " tiff ${wxUSE_LIBTIFF-none}"
52682 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52683 echo " xpm ${wxUSE_LIBXPM-none}"
52684 fi
52685 echo " zlib ${wxUSE_ZLIB}"
52686 echo " odbc ${wxUSE_ODBC}"
52687 echo " expat ${wxUSE_EXPAT}"
52688 echo " libmspack ${wxUSE_LIBMSPACK}"
52689 echo " sdl ${wxUSE_LIBSDL}"
52690
52691 echo ""
52692