]> git.saurik.com Git - wxWidgets.git/blob - configure
use C++ compiler for timezone test, otherwise wrong timezone is detected under cygwin
[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.8.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.8.0'
274 PACKAGE_STRING='wxWidgets 2.8.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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.8.0 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.8.0:";;
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.8.0
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.8.0, 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=8
1805 wx_release_number=0
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
16626
16627
16628
16629
16630 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16631 do
16632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16634 echo "$as_me:$LINENO: checking for $ac_header" >&5
16635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 fi
16639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 else
16642 # Is the header compilable?
16643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 $ac_includes_default
16652 #include <$ac_header>
16653 _ACEOF
16654 rm -f conftest.$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656 (eval $ac_compile) 2>conftest.er1
16657 ac_status=$?
16658 grep -v '^ *+' conftest.er1 >conftest.err
16659 rm -f conftest.er1
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; } &&
16669 { ac_try='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 ac_header_compiler=yes
16676 else
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 ac_header_compiler=no
16681 fi
16682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16684 echo "${ECHO_T}$ac_header_compiler" >&6
16685
16686 # Is the header present?
16687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include <$ac_header>
16696 _ACEOF
16697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16699 ac_status=$?
16700 grep -v '^ *+' conftest.er1 >conftest.err
16701 rm -f conftest.er1
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } >/dev/null; then
16705 if test -s conftest.err; then
16706 ac_cpp_err=$ac_c_preproc_warn_flag
16707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16708 else
16709 ac_cpp_err=
16710 fi
16711 else
16712 ac_cpp_err=yes
16713 fi
16714 if test -z "$ac_cpp_err"; then
16715 ac_header_preproc=yes
16716 else
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 ac_header_preproc=no
16721 fi
16722 rm -f conftest.err conftest.$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16724 echo "${ECHO_T}$ac_header_preproc" >&6
16725
16726 # So? What about this header?
16727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16728 yes:no: )
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16733 ac_header_preproc=yes
16734 ;;
16735 no:yes:* )
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16748 (
16749 cat <<\_ASBOX
16750 ## ----------------------------------------- ##
16751 ## Report this to wx-dev@lists.wxwidgets.org ##
16752 ## ----------------------------------------- ##
16753 _ASBOX
16754 ) |
16755 sed "s/^/$as_me: WARNING: /" >&2
16756 ;;
16757 esac
16758 echo "$as_me:$LINENO: checking for $ac_header" >&5
16759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 eval "$as_ac_Header=\$ac_header_preproc"
16764 fi
16765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16767
16768 fi
16769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16770 cat >>confdefs.h <<_ACEOF
16771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16772 _ACEOF
16773
16774 fi
16775
16776 done
16777
16778
16779 if test "$ac_cv_header_wchar_h" != "yes"; then
16780
16781 for ac_header in wcstr.h
16782 do
16783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 fi
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792 else
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16817 ac_status=$?
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16823 ac_status=$?
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_header_compiler=yes
16827 else
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.$ac_ext >&5
16830
16831 ac_header_compiler=no
16832 fi
16833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16835 echo "${ECHO_T}$ac_header_compiler" >&6
16836
16837 # Is the header present?
16838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <$ac_header>
16847 _ACEOF
16848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } >/dev/null; then
16856 if test -s conftest.err; then
16857 ac_cpp_err=$ac_c_preproc_warn_flag
16858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16859 else
16860 ac_cpp_err=
16861 fi
16862 else
16863 ac_cpp_err=yes
16864 fi
16865 if test -z "$ac_cpp_err"; then
16866 ac_header_preproc=yes
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16870
16871 ac_header_preproc=no
16872 fi
16873 rm -f conftest.err conftest.$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16875 echo "${ECHO_T}$ac_header_preproc" >&6
16876
16877 # So? What about this header?
16878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16879 yes:no: )
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16884 ac_header_preproc=yes
16885 ;;
16886 no:yes:* )
16887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16899 (
16900 cat <<\_ASBOX
16901 ## ----------------------------------------- ##
16902 ## Report this to wx-dev@lists.wxwidgets.org ##
16903 ## ----------------------------------------- ##
16904 _ASBOX
16905 ) |
16906 sed "s/^/$as_me: WARNING: /" >&2
16907 ;;
16908 esac
16909 echo "$as_me:$LINENO: checking for $ac_header" >&5
16910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 else
16914 eval "$as_ac_Header=\$ac_header_preproc"
16915 fi
16916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16918
16919 fi
16920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16921 cat >>confdefs.h <<_ACEOF
16922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16923 _ACEOF
16924
16925 fi
16926
16927 done
16928
16929 fi
16930
16931 case "${host}" in
16932 *-pc-os2_emx | *-pc-os2-emx )
16933 if test $ac_cv_header_langinfo_h = "yes" \
16934 -a \( "$wx_cv_gccversion" = "EMX2" \
16935 -o "$wx_cv_gccversion" = "EMX3" \
16936 -o "$wx_cv_gccversion" = "Innotek5" \); then
16937 LIBS="$LIBS -lintl"
16938 fi
16939 ;;
16940 esac
16941
16942 if test "$USE_UNIX" = 1 ; then
16943
16944 for ac_header in sys/select.h
16945 do
16946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16948 echo "$as_me:$LINENO: checking for $ac_header" >&5
16949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 fi
16953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16955 else
16956 # Is the header compilable?
16957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 $ac_includes_default
16966 #include <$ac_header>
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 ac_header_compiler=yes
16990 else
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16993
16994 ac_header_compiler=no
16995 fi
16996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16998 echo "${ECHO_T}$ac_header_compiler" >&6
16999
17000 # Is the header present?
17001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <$ac_header>
17010 _ACEOF
17011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } >/dev/null; then
17019 if test -s conftest.err; then
17020 ac_cpp_err=$ac_c_preproc_warn_flag
17021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17022 else
17023 ac_cpp_err=
17024 fi
17025 else
17026 ac_cpp_err=yes
17027 fi
17028 if test -z "$ac_cpp_err"; then
17029 ac_header_preproc=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 ac_header_preproc=no
17035 fi
17036 rm -f conftest.err conftest.$ac_ext
17037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17038 echo "${ECHO_T}$ac_header_preproc" >&6
17039
17040 # So? What about this header?
17041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17042 yes:no: )
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17047 ac_header_preproc=yes
17048 ;;
17049 no:yes:* )
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17062 (
17063 cat <<\_ASBOX
17064 ## ----------------------------------------- ##
17065 ## Report this to wx-dev@lists.wxwidgets.org ##
17066 ## ----------------------------------------- ##
17067 _ASBOX
17068 ) |
17069 sed "s/^/$as_me: WARNING: /" >&2
17070 ;;
17071 esac
17072 echo "$as_me:$LINENO: checking for $ac_header" >&5
17073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17075 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 else
17077 eval "$as_ac_Header=\$ac_header_preproc"
17078 fi
17079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17081
17082 fi
17083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17084 cat >>confdefs.h <<_ACEOF
17085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17086 _ACEOF
17087
17088 fi
17089
17090 done
17091
17092 fi
17093
17094
17095 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17096 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17097 if test "${ac_cv_c_const+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 cat >conftest.$ac_ext <<_ACEOF
17101 /* confdefs.h. */
17102 _ACEOF
17103 cat confdefs.h >>conftest.$ac_ext
17104 cat >>conftest.$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106
17107 int
17108 main ()
17109 {
17110 /* FIXME: Include the comments suggested by Paul. */
17111 #ifndef __cplusplus
17112 /* Ultrix mips cc rejects this. */
17113 typedef int charset[2];
17114 const charset x;
17115 /* SunOS 4.1.1 cc rejects this. */
17116 char const *const *ccp;
17117 char **p;
17118 /* NEC SVR4.0.2 mips cc rejects this. */
17119 struct point {int x, y;};
17120 static struct point const zero = {0,0};
17121 /* AIX XL C 1.02.0.0 rejects this.
17122 It does not let you subtract one const X* pointer from another in
17123 an arm of an if-expression whose if-part is not a constant
17124 expression */
17125 const char *g = "string";
17126 ccp = &g + (g ? g-g : 0);
17127 /* HPUX 7.0 cc rejects these. */
17128 ++ccp;
17129 p = (char**) ccp;
17130 ccp = (char const *const *) p;
17131 { /* SCO 3.2v4 cc rejects this. */
17132 char *t;
17133 char const *s = 0 ? (char *) 0 : (char const *) 0;
17134
17135 *t++ = 0;
17136 }
17137 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17138 int x[] = {25, 17};
17139 const int *foo = &x[0];
17140 ++foo;
17141 }
17142 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17143 typedef const int *iptr;
17144 iptr p = 0;
17145 ++p;
17146 }
17147 { /* AIX XL C 1.02.0.0 rejects this saying
17148 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17149 struct s { int j; const int *ap[3]; };
17150 struct s *b; b->j = 5;
17151 }
17152 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17153 const int foo = 10;
17154 }
17155 #endif
17156
17157 ;
17158 return 0;
17159 }
17160 _ACEOF
17161 rm -f conftest.$ac_objext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; } &&
17176 { ac_try='test -s conftest.$ac_objext'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17179 ac_status=$?
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; }; then
17182 ac_cv_c_const=yes
17183 else
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17186
17187 ac_cv_c_const=no
17188 fi
17189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17190 fi
17191 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17192 echo "${ECHO_T}$ac_cv_c_const" >&6
17193 if test $ac_cv_c_const = no; then
17194
17195 cat >>confdefs.h <<\_ACEOF
17196 #define const
17197 _ACEOF
17198
17199 fi
17200
17201 echo "$as_me:$LINENO: checking for inline" >&5
17202 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17203 if test "${ac_cv_c_inline+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_cv_c_inline=no
17207 for ac_kw in inline __inline__ __inline; do
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #ifndef __cplusplus
17215 typedef int foo_t;
17216 static $ac_kw foo_t static_foo () {return 0; }
17217 $ac_kw foo_t foo () {return 0; }
17218 #endif
17219
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17233 ac_status=$?
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; } &&
17236 { ac_try='test -s conftest.$ac_objext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_c_inline=$ac_kw; break
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 fi
17248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 done
17250
17251 fi
17252 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17253 echo "${ECHO_T}$ac_cv_c_inline" >&6
17254
17255
17256 case $ac_cv_c_inline in
17257 inline | yes) ;;
17258 *)
17259 case $ac_cv_c_inline in
17260 no) ac_val=;;
17261 *) ac_val=$ac_cv_c_inline;;
17262 esac
17263 cat >>confdefs.h <<_ACEOF
17264 #ifndef __cplusplus
17265 #define inline $ac_val
17266 #endif
17267 _ACEOF
17268 ;;
17269 esac
17270
17271
17272 echo "$as_me:$LINENO: checking for char" >&5
17273 echo $ECHO_N "checking for char... $ECHO_C" >&6
17274 if test "${ac_cv_type_char+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17284 int
17285 main ()
17286 {
17287 if ((char *) 0)
17288 return 0;
17289 if (sizeof (char))
17290 return 0;
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17297 (eval $ac_compile) 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17307 ac_status=$?
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; } &&
17310 { ac_try='test -s conftest.$ac_objext'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17313 ac_status=$?
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; }; then
17316 ac_cv_type_char=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_cv_type_char=no
17322 fi
17323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17324 fi
17325 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17326 echo "${ECHO_T}$ac_cv_type_char" >&6
17327
17328 echo "$as_me:$LINENO: checking size of char" >&5
17329 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17330 if test "${ac_cv_sizeof_char+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 else
17333 if test "$ac_cv_type_char" = yes; then
17334 # The cast to unsigned long works around a bug in the HP C Compiler
17335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17337 # This bug is HP SR number 8606223364.
17338 if test "$cross_compiling" = yes; then
17339 # Depending upon the size, compute the lo and hi bounds.
17340 cat >conftest.$ac_ext <<_ACEOF
17341 /* confdefs.h. */
17342 _ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17347 int
17348 main ()
17349 {
17350 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17351 test_array [0] = 0
17352
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 rm -f conftest.$ac_objext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17359 (eval $ac_compile) 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17369 ac_status=$?
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; } &&
17372 { ac_try='test -s conftest.$ac_objext'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17375 ac_status=$?
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; }; then
17378 ac_lo=0 ac_mid=0
17379 while :; do
17380 cat >conftest.$ac_ext <<_ACEOF
17381 /* confdefs.h. */
17382 _ACEOF
17383 cat confdefs.h >>conftest.$ac_ext
17384 cat >>conftest.$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17386 $ac_includes_default
17387 int
17388 main ()
17389 {
17390 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17391 test_array [0] = 0
17392
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 rm -f conftest.$ac_objext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17399 (eval $ac_compile) 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17409 ac_status=$?
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try='test -s conftest.$ac_objext'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 ac_hi=$ac_mid; break
17419 else
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.$ac_ext >&5
17422
17423 ac_lo=`expr $ac_mid + 1`
17424 if test $ac_lo -le $ac_mid; then
17425 ac_lo= ac_hi=
17426 break
17427 fi
17428 ac_mid=`expr 2 '*' $ac_mid + 1`
17429 fi
17430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17431 done
17432 else
17433 echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.$ac_ext >&5
17435
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 $ac_includes_default
17443 int
17444 main ()
17445 {
17446 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17447 test_array [0] = 0
17448
17449 ;
17450 return 0;
17451 }
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_hi=-1 ac_mid=-1
17475 while :; do
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17483 int
17484 main ()
17485 {
17486 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17487 test_array [0] = 0
17488
17489 ;
17490 return 0;
17491 }
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_lo=$ac_mid; break
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17518
17519 ac_hi=`expr '(' $ac_mid ')' - 1`
17520 if test $ac_mid -le $ac_hi; then
17521 ac_lo= ac_hi=
17522 break
17523 fi
17524 ac_mid=`expr 2 '*' $ac_mid`
17525 fi
17526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17527 done
17528 else
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.$ac_ext >&5
17531
17532 ac_lo= ac_hi=
17533 fi
17534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17535 fi
17536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 # Binary search between lo and hi bounds.
17538 while test "x$ac_lo" != "x$ac_hi"; do
17539 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17551 test_array [0] = 0
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_hi=$ac_mid
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_lo=`expr '(' $ac_mid ')' + 1`
17584 fi
17585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17586 done
17587 case $ac_lo in
17588 ?*) ac_cv_sizeof_char=$ac_lo;;
17589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17590 See \`config.log' for more details." >&5
17591 echo "$as_me: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&2;}
17593 { (exit 1); exit 1; }; } ;;
17594 esac
17595 else
17596 if test "$cross_compiling" = yes; then
17597 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17598 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17599 { (exit 1); exit 1; }; }
17600 else
17601 cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h. */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17608 long longval () { return (long) (sizeof (char)); }
17609 unsigned long ulongval () { return (long) (sizeof (char)); }
17610 #include <stdio.h>
17611 #include <stdlib.h>
17612 int
17613 main ()
17614 {
17615
17616 FILE *f = fopen ("conftest.val", "w");
17617 if (! f)
17618 exit (1);
17619 if (((long) (sizeof (char))) < 0)
17620 {
17621 long i = longval ();
17622 if (i != ((long) (sizeof (char))))
17623 exit (1);
17624 fprintf (f, "%ld\n", i);
17625 }
17626 else
17627 {
17628 unsigned long i = ulongval ();
17629 if (i != ((long) (sizeof (char))))
17630 exit (1);
17631 fprintf (f, "%lu\n", i);
17632 }
17633 exit (ferror (f) || fclose (f) != 0);
17634
17635 ;
17636 return 0;
17637 }
17638 _ACEOF
17639 rm -f conftest$ac_exeext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17641 (eval $ac_link) 2>&5
17642 ac_status=$?
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_cv_sizeof_char=`cat conftest.val`
17651 else
17652 echo "$as_me: program exited with status $ac_status" >&5
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.$ac_ext >&5
17655
17656 ( exit $ac_status )
17657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17658 See \`config.log' for more details." >&5
17659 echo "$as_me: error: cannot compute sizeof (char), 77
17660 See \`config.log' for more details." >&2;}
17661 { (exit 1); exit 1; }; }
17662 fi
17663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17664 fi
17665 fi
17666 rm -f conftest.val
17667 else
17668 ac_cv_sizeof_char=0
17669 fi
17670 fi
17671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17672 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17673 cat >>confdefs.h <<_ACEOF
17674 #define SIZEOF_CHAR $ac_cv_sizeof_char
17675 _ACEOF
17676
17677
17678 echo "$as_me:$LINENO: checking for short" >&5
17679 echo $ECHO_N "checking for short... $ECHO_C" >&6
17680 if test "${ac_cv_type_short+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17690 int
17691 main ()
17692 {
17693 if ((short *) 0)
17694 return 0;
17695 if (sizeof (short))
17696 return 0;
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17704 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_cv_type_short=yes
17723 else
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 ac_cv_type_short=no
17728 fi
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17730 fi
17731 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17732 echo "${ECHO_T}$ac_cv_type_short" >&6
17733
17734 echo "$as_me:$LINENO: checking size of short" >&5
17735 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17736 if test "${ac_cv_sizeof_short+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 if test "$ac_cv_type_short" = yes; then
17740 # The cast to unsigned long works around a bug in the HP C Compiler
17741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17743 # This bug is HP SR number 8606223364.
17744 if test "$cross_compiling" = yes; then
17745 # Depending upon the size, compute the lo and hi bounds.
17746 cat >conftest.$ac_ext <<_ACEOF
17747 /* confdefs.h. */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 $ac_includes_default
17753 int
17754 main ()
17755 {
17756 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17757 test_array [0] = 0
17758
17759 ;
17760 return 0;
17761 }
17762 _ACEOF
17763 rm -f conftest.$ac_objext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17765 (eval $ac_compile) 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17775 ac_status=$?
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try='test -s conftest.$ac_objext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17781 ac_status=$?
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 ac_lo=0 ac_mid=0
17785 while :; do
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 int
17794 main ()
17795 {
17796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17797 test_array [0] = 0
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>conftest.er1
17806 ac_status=$?
17807 grep -v '^ *+' conftest.er1 >conftest.err
17808 rm -f conftest.er1
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } &&
17812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_hi=$ac_mid; break
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829 ac_lo=`expr $ac_mid + 1`
17830 if test $ac_lo -le $ac_mid; then
17831 ac_lo= ac_hi=
17832 break
17833 fi
17834 ac_mid=`expr 2 '*' $ac_mid + 1`
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 done
17838 else
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17841
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 $ac_includes_default
17849 int
17850 main ()
17851 {
17852 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17853 test_array [0] = 0
17854
17855 ;
17856 return 0;
17857 }
17858 _ACEOF
17859 rm -f conftest.$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 ac_hi=-1 ac_mid=-1
17881 while :; do
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 int
17890 main ()
17891 {
17892 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17893 test_array [0] = 0
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try='test -s conftest.$ac_objext'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; }; then
17920 ac_lo=$ac_mid; break
17921 else
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17924
17925 ac_hi=`expr '(' $ac_mid ')' - 1`
17926 if test $ac_mid -le $ac_hi; then
17927 ac_lo= ac_hi=
17928 break
17929 fi
17930 ac_mid=`expr 2 '*' $ac_mid`
17931 fi
17932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17933 done
17934 else
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17937
17938 ac_lo= ac_hi=
17939 fi
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 fi
17942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17943 # Binary search between lo and hi bounds.
17944 while test "x$ac_lo" != "x$ac_hi"; do
17945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17953 int
17954 main ()
17955 {
17956 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17957 test_array [0] = 0
17958
17959 ;
17960 return 0;
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_hi=$ac_mid
17985 else
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17988
17989 ac_lo=`expr '(' $ac_mid ')' + 1`
17990 fi
17991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17992 done
17993 case $ac_lo in
17994 ?*) ac_cv_sizeof_short=$ac_lo;;
17995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17996 See \`config.log' for more details." >&5
17997 echo "$as_me: error: cannot compute sizeof (short), 77
17998 See \`config.log' for more details." >&2;}
17999 { (exit 1); exit 1; }; } ;;
18000 esac
18001 else
18002 if test "$cross_compiling" = yes; then
18003 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18004 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18005 { (exit 1); exit 1; }; }
18006 else
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 $ac_includes_default
18014 long longval () { return (long) (sizeof (short)); }
18015 unsigned long ulongval () { return (long) (sizeof (short)); }
18016 #include <stdio.h>
18017 #include <stdlib.h>
18018 int
18019 main ()
18020 {
18021
18022 FILE *f = fopen ("conftest.val", "w");
18023 if (! f)
18024 exit (1);
18025 if (((long) (sizeof (short))) < 0)
18026 {
18027 long i = longval ();
18028 if (i != ((long) (sizeof (short))))
18029 exit (1);
18030 fprintf (f, "%ld\n", i);
18031 }
18032 else
18033 {
18034 unsigned long i = ulongval ();
18035 if (i != ((long) (sizeof (short))))
18036 exit (1);
18037 fprintf (f, "%lu\n", i);
18038 }
18039 exit (ferror (f) || fclose (f) != 0);
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest$ac_exeext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18047 (eval $ac_link) 2>&5
18048 ac_status=$?
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_sizeof_short=`cat conftest.val`
18057 else
18058 echo "$as_me: program exited with status $ac_status" >&5
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18061
18062 ( exit $ac_status )
18063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18064 See \`config.log' for more details." >&5
18065 echo "$as_me: error: cannot compute sizeof (short), 77
18066 See \`config.log' for more details." >&2;}
18067 { (exit 1); exit 1; }; }
18068 fi
18069 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18070 fi
18071 fi
18072 rm -f conftest.val
18073 else
18074 ac_cv_sizeof_short=0
18075 fi
18076 fi
18077 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18078 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18079 cat >>confdefs.h <<_ACEOF
18080 #define SIZEOF_SHORT $ac_cv_sizeof_short
18081 _ACEOF
18082
18083
18084 echo "$as_me:$LINENO: checking for void *" >&5
18085 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18086 if test "${ac_cv_type_void_p+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18096 int
18097 main ()
18098 {
18099 if ((void * *) 0)
18100 return 0;
18101 if (sizeof (void *))
18102 return 0;
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_type_void_p=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 ac_cv_type_void_p=no
18134 fi
18135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18136 fi
18137 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18138 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18139
18140 echo "$as_me:$LINENO: checking size of void *" >&5
18141 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18142 if test "${ac_cv_sizeof_void_p+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 else
18145 if test "$ac_cv_type_void_p" = yes; then
18146 # The cast to unsigned long works around a bug in the HP C Compiler
18147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18149 # This bug is HP SR number 8606223364.
18150 if test "$cross_compiling" = yes; then
18151 # Depending upon the size, compute the lo and hi bounds.
18152 cat >conftest.$ac_ext <<_ACEOF
18153 /* confdefs.h. */
18154 _ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18159 int
18160 main ()
18161 {
18162 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18163 test_array [0] = 0
18164
18165 ;
18166 return 0;
18167 }
18168 _ACEOF
18169 rm -f conftest.$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>conftest.er1
18172 ac_status=$?
18173 grep -v '^ *+' conftest.er1 >conftest.err
18174 rm -f conftest.er1
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_lo=0 ac_mid=0
18191 while :; do
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 $ac_includes_default
18199 int
18200 main ()
18201 {
18202 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18203 test_array [0] = 0
18204
18205 ;
18206 return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>conftest.er1
18212 ac_status=$?
18213 grep -v '^ *+' conftest.er1 >conftest.err
18214 rm -f conftest.er1
18215 cat conftest.err >&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_hi=$ac_mid; break
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 ac_lo=`expr $ac_mid + 1`
18236 if test $ac_lo -le $ac_mid; then
18237 ac_lo= ac_hi=
18238 break
18239 fi
18240 ac_mid=`expr 2 '*' $ac_mid + 1`
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 done
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 cat >conftest.$ac_ext <<_ACEOF
18249 /* confdefs.h. */
18250 _ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18255 int
18256 main ()
18257 {
18258 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18259 test_array [0] = 0
18260
18261 ;
18262 return 0;
18263 }
18264 _ACEOF
18265 rm -f conftest.$ac_objext
18266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18267 (eval $ac_compile) 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18283 ac_status=$?
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 ac_hi=-1 ac_mid=-1
18287 while :; do
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18295 int
18296 main ()
18297 {
18298 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18299 test_array [0] = 0
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18320 { ac_try='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 ac_lo=$ac_mid; break
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ac_hi=`expr '(' $ac_mid ')' - 1`
18332 if test $ac_mid -le $ac_hi; then
18333 ac_lo= ac_hi=
18334 break
18335 fi
18336 ac_mid=`expr 2 '*' $ac_mid`
18337 fi
18338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18339 done
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 ac_lo= ac_hi=
18345 fi
18346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18347 fi
18348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18349 # Binary search between lo and hi bounds.
18350 while test "x$ac_lo" != "x$ac_hi"; do
18351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 $ac_includes_default
18359 int
18360 main ()
18361 {
18362 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18363 test_array [0] = 0
18364
18365 ;
18366 return 0;
18367 }
18368 _ACEOF
18369 rm -f conftest.$ac_objext
18370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18371 (eval $ac_compile) 2>conftest.er1
18372 ac_status=$?
18373 grep -v '^ *+' conftest.er1 >conftest.err
18374 rm -f conftest.er1
18375 cat conftest.err >&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; } &&
18384 { ac_try='test -s conftest.$ac_objext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 ac_hi=$ac_mid
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_lo=`expr '(' $ac_mid ')' + 1`
18396 fi
18397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18398 done
18399 case $ac_lo in
18400 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18402 See \`config.log' for more details." >&5
18403 echo "$as_me: error: cannot compute sizeof (void *), 77
18404 See \`config.log' for more details." >&2;}
18405 { (exit 1); exit 1; }; } ;;
18406 esac
18407 else
18408 if test "$cross_compiling" = yes; then
18409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18411 { (exit 1); exit 1; }; }
18412 else
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 long longval () { return (long) (sizeof (void *)); }
18421 unsigned long ulongval () { return (long) (sizeof (void *)); }
18422 #include <stdio.h>
18423 #include <stdlib.h>
18424 int
18425 main ()
18426 {
18427
18428 FILE *f = fopen ("conftest.val", "w");
18429 if (! f)
18430 exit (1);
18431 if (((long) (sizeof (void *))) < 0)
18432 {
18433 long i = longval ();
18434 if (i != ((long) (sizeof (void *))))
18435 exit (1);
18436 fprintf (f, "%ld\n", i);
18437 }
18438 else
18439 {
18440 unsigned long i = ulongval ();
18441 if (i != ((long) (sizeof (void *))))
18442 exit (1);
18443 fprintf (f, "%lu\n", i);
18444 }
18445 exit (ferror (f) || fclose (f) != 0);
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest$ac_exeext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18453 (eval $ac_link) 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_sizeof_void_p=`cat conftest.val`
18463 else
18464 echo "$as_me: program exited with status $ac_status" >&5
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.$ac_ext >&5
18467
18468 ( exit $ac_status )
18469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18470 See \`config.log' for more details." >&5
18471 echo "$as_me: error: cannot compute sizeof (void *), 77
18472 See \`config.log' for more details." >&2;}
18473 { (exit 1); exit 1; }; }
18474 fi
18475 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18476 fi
18477 fi
18478 rm -f conftest.val
18479 else
18480 ac_cv_sizeof_void_p=0
18481 fi
18482 fi
18483 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18484 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18485 cat >>confdefs.h <<_ACEOF
18486 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18487 _ACEOF
18488
18489
18490 echo "$as_me:$LINENO: checking for int" >&5
18491 echo $ECHO_N "checking for int... $ECHO_C" >&6
18492 if test "${ac_cv_type_int+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18494 else
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18502 int
18503 main ()
18504 {
18505 if ((int *) 0)
18506 return 0;
18507 if (sizeof (int))
18508 return 0;
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_cv_type_int=yes
18535 else
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 ac_cv_type_int=no
18540 fi
18541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18542 fi
18543 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18544 echo "${ECHO_T}$ac_cv_type_int" >&6
18545
18546 echo "$as_me:$LINENO: checking size of int" >&5
18547 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18548 if test "${ac_cv_sizeof_int+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551 if test "$ac_cv_type_int" = yes; then
18552 # The cast to unsigned long works around a bug in the HP C Compiler
18553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18555 # This bug is HP SR number 8606223364.
18556 if test "$cross_compiling" = yes; then
18557 # Depending upon the size, compute the lo and hi bounds.
18558 cat >conftest.$ac_ext <<_ACEOF
18559 /* confdefs.h. */
18560 _ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 $ac_includes_default
18565 int
18566 main ()
18567 {
18568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18569 test_array [0] = 0
18570
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586 (eval $ac_try) 2>&5
18587 ac_status=$?
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; } &&
18590 { ac_try='test -s conftest.$ac_objext'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18593 ac_status=$?
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; }; then
18596 ac_lo=0 ac_mid=0
18597 while :; do
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18605 int
18606 main ()
18607 {
18608 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18609 test_array [0] = 0
18610
18611 ;
18612 return 0;
18613 }
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } &&
18624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; } &&
18630 { ac_try='test -s conftest.$ac_objext'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18633 ac_status=$?
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; }; then
18636 ac_hi=$ac_mid; break
18637 else
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18640
18641 ac_lo=`expr $ac_mid + 1`
18642 if test $ac_lo -le $ac_mid; then
18643 ac_lo= ac_hi=
18644 break
18645 fi
18646 ac_mid=`expr 2 '*' $ac_mid + 1`
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 done
18650 else
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18653
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 int
18662 main ()
18663 {
18664 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18665 test_array [0] = 0
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_hi=-1 ac_mid=-1
18693 while :; do
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 $ac_includes_default
18701 int
18702 main ()
18703 {
18704 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18705 test_array [0] = 0
18706
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest.$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18726 { ac_try='test -s conftest.$ac_objext'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18729 ac_status=$?
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; }; then
18732 ac_lo=$ac_mid; break
18733 else
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18736
18737 ac_hi=`expr '(' $ac_mid ')' - 1`
18738 if test $ac_mid -le $ac_hi; then
18739 ac_lo= ac_hi=
18740 break
18741 fi
18742 ac_mid=`expr 2 '*' $ac_mid`
18743 fi
18744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18745 done
18746 else
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ac_lo= ac_hi=
18751 fi
18752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18753 fi
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 # Binary search between lo and hi bounds.
18756 while test "x$ac_lo" != "x$ac_hi"; do
18757 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18765 int
18766 main ()
18767 {
18768 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18769 test_array [0] = 0
18770
18771 ;
18772 return 0;
18773 }
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18787 ac_status=$?
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; } &&
18790 { ac_try='test -s conftest.$ac_objext'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; }; then
18796 ac_hi=$ac_mid
18797 else
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18800
18801 ac_lo=`expr '(' $ac_mid ')' + 1`
18802 fi
18803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18804 done
18805 case $ac_lo in
18806 ?*) ac_cv_sizeof_int=$ac_lo;;
18807 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18808 See \`config.log' for more details." >&5
18809 echo "$as_me: error: cannot compute sizeof (int), 77
18810 See \`config.log' for more details." >&2;}
18811 { (exit 1); exit 1; }; } ;;
18812 esac
18813 else
18814 if test "$cross_compiling" = yes; then
18815 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18816 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18817 { (exit 1); exit 1; }; }
18818 else
18819 cat >conftest.$ac_ext <<_ACEOF
18820 /* confdefs.h. */
18821 _ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 $ac_includes_default
18826 long longval () { return (long) (sizeof (int)); }
18827 unsigned long ulongval () { return (long) (sizeof (int)); }
18828 #include <stdio.h>
18829 #include <stdlib.h>
18830 int
18831 main ()
18832 {
18833
18834 FILE *f = fopen ("conftest.val", "w");
18835 if (! f)
18836 exit (1);
18837 if (((long) (sizeof (int))) < 0)
18838 {
18839 long i = longval ();
18840 if (i != ((long) (sizeof (int))))
18841 exit (1);
18842 fprintf (f, "%ld\n", i);
18843 }
18844 else
18845 {
18846 unsigned long i = ulongval ();
18847 if (i != ((long) (sizeof (int))))
18848 exit (1);
18849 fprintf (f, "%lu\n", i);
18850 }
18851 exit (ferror (f) || fclose (f) != 0);
18852
18853 ;
18854 return 0;
18855 }
18856 _ACEOF
18857 rm -f conftest$ac_exeext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18859 (eval $ac_link) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_sizeof_int=`cat conftest.val`
18869 else
18870 echo "$as_me: program exited with status $ac_status" >&5
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18873
18874 ( exit $ac_status )
18875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot compute sizeof (int), 77
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18880 fi
18881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18882 fi
18883 fi
18884 rm -f conftest.val
18885 else
18886 ac_cv_sizeof_int=0
18887 fi
18888 fi
18889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18890 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18891 cat >>confdefs.h <<_ACEOF
18892 #define SIZEOF_INT $ac_cv_sizeof_int
18893 _ACEOF
18894
18895
18896 echo "$as_me:$LINENO: checking for long" >&5
18897 echo $ECHO_N "checking for long... $ECHO_C" >&6
18898 if test "${ac_cv_type_long+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18908 int
18909 main ()
18910 {
18911 if ((long *) 0)
18912 return 0;
18913 if (sizeof (long))
18914 return 0;
18915 ;
18916 return 0;
18917 }
18918 _ACEOF
18919 rm -f conftest.$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18931 ac_status=$?
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18937 ac_status=$?
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_cv_type_long=yes
18941 else
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.$ac_ext >&5
18944
18945 ac_cv_type_long=no
18946 fi
18947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18948 fi
18949 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18950 echo "${ECHO_T}$ac_cv_type_long" >&6
18951
18952 echo "$as_me:$LINENO: checking size of long" >&5
18953 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18954 if test "${ac_cv_sizeof_long+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 else
18957 if test "$ac_cv_type_long" = yes; then
18958 # The cast to unsigned long works around a bug in the HP C Compiler
18959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18961 # This bug is HP SR number 8606223364.
18962 if test "$cross_compiling" = yes; then
18963 # Depending upon the size, compute the lo and hi bounds.
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18971 int
18972 main ()
18973 {
18974 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18975 test_array [0] = 0
18976
18977 ;
18978 return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18993 ac_status=$?
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 ac_lo=0 ac_mid=0
19003 while :; do
19004 cat >conftest.$ac_ext <<_ACEOF
19005 /* confdefs.h. */
19006 _ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 $ac_includes_default
19011 int
19012 main ()
19013 {
19014 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19015 test_array [0] = 0
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 rm -f conftest.$ac_objext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 (eval $ac_compile) 2>conftest.er1
19024 ac_status=$?
19025 grep -v '^ *+' conftest.er1 >conftest.err
19026 rm -f conftest.er1
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19033 ac_status=$?
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try='test -s conftest.$ac_objext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19039 ac_status=$?
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 ac_hi=$ac_mid; break
19043 else
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19046
19047 ac_lo=`expr $ac_mid + 1`
19048 if test $ac_lo -le $ac_mid; then
19049 ac_lo= ac_hi=
19050 break
19051 fi
19052 ac_mid=`expr 2 '*' $ac_mid + 1`
19053 fi
19054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19055 done
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19059
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19067 int
19068 main ()
19069 {
19070 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19071 test_array [0] = 0
19072
19073 ;
19074 return 0;
19075 }
19076 _ACEOF
19077 rm -f conftest.$ac_objext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 ac_hi=-1 ac_mid=-1
19099 while :; do
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 $ac_includes_default
19107 int
19108 main ()
19109 {
19110 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19111 test_array [0] = 0
19112
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19132 { ac_try='test -s conftest.$ac_objext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_lo=$ac_mid; break
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19142
19143 ac_hi=`expr '(' $ac_mid ')' - 1`
19144 if test $ac_mid -le $ac_hi; then
19145 ac_lo= ac_hi=
19146 break
19147 fi
19148 ac_mid=`expr 2 '*' $ac_mid`
19149 fi
19150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19151 done
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_lo= ac_hi=
19157 fi
19158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 fi
19160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19161 # Binary search between lo and hi bounds.
19162 while test "x$ac_lo" != "x$ac_hi"; do
19163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 $ac_includes_default
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>conftest.er1
19184 ac_status=$?
19185 grep -v '^ *+' conftest.er1 >conftest.err
19186 rm -f conftest.er1
19187 cat conftest.err >&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try='test -s conftest.$ac_objext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 ac_hi=$ac_mid
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19206
19207 ac_lo=`expr '(' $ac_mid ')' + 1`
19208 fi
19209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19210 done
19211 case $ac_lo in
19212 ?*) ac_cv_sizeof_long=$ac_lo;;
19213 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19214 See \`config.log' for more details." >&5
19215 echo "$as_me: error: cannot compute sizeof (long), 77
19216 See \`config.log' for more details." >&2;}
19217 { (exit 1); exit 1; }; } ;;
19218 esac
19219 else
19220 if test "$cross_compiling" = yes; then
19221 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19222 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19223 { (exit 1); exit 1; }; }
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 long longval () { return (long) (sizeof (long)); }
19233 unsigned long ulongval () { return (long) (sizeof (long)); }
19234 #include <stdio.h>
19235 #include <stdlib.h>
19236 int
19237 main ()
19238 {
19239
19240 FILE *f = fopen ("conftest.val", "w");
19241 if (! f)
19242 exit (1);
19243 if (((long) (sizeof (long))) < 0)
19244 {
19245 long i = longval ();
19246 if (i != ((long) (sizeof (long))))
19247 exit (1);
19248 fprintf (f, "%ld\n", i);
19249 }
19250 else
19251 {
19252 unsigned long i = ulongval ();
19253 if (i != ((long) (sizeof (long))))
19254 exit (1);
19255 fprintf (f, "%lu\n", i);
19256 }
19257 exit (ferror (f) || fclose (f) != 0);
19258
19259 ;
19260 return 0;
19261 }
19262 _ACEOF
19263 rm -f conftest$ac_exeext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19265 (eval $ac_link) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_sizeof_long=`cat conftest.val`
19275 else
19276 echo "$as_me: program exited with status $ac_status" >&5
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19279
19280 ( exit $ac_status )
19281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19282 See \`config.log' for more details." >&5
19283 echo "$as_me: error: cannot compute sizeof (long), 77
19284 See \`config.log' for more details." >&2;}
19285 { (exit 1); exit 1; }; }
19286 fi
19287 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19288 fi
19289 fi
19290 rm -f conftest.val
19291 else
19292 ac_cv_sizeof_long=0
19293 fi
19294 fi
19295 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19296 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19297 cat >>confdefs.h <<_ACEOF
19298 #define SIZEOF_LONG $ac_cv_sizeof_long
19299 _ACEOF
19300
19301
19302 echo "$as_me:$LINENO: checking for size_t" >&5
19303 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19304 if test "${ac_cv_type_size_t+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19314 int
19315 main ()
19316 {
19317 if ((size_t *) 0)
19318 return 0;
19319 if (sizeof (size_t))
19320 return 0;
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_type_size_t=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 ac_cv_type_size_t=no
19352 fi
19353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19354 fi
19355 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19356 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19357
19358 echo "$as_me:$LINENO: checking size of size_t" >&5
19359 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19360 if test "${ac_cv_sizeof_size_t+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19363 if test "$ac_cv_type_size_t" = yes; then
19364 # The cast to unsigned long works around a bug in the HP C Compiler
19365 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19366 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19367 # This bug is HP SR number 8606223364.
19368 if test "$cross_compiling" = yes; then
19369 # Depending upon the size, compute the lo and hi bounds.
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19377 int
19378 main ()
19379 {
19380 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19381 test_array [0] = 0
19382
19383 ;
19384 return 0;
19385 }
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 ac_lo=0 ac_mid=0
19409 while :; do
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19417 int
19418 main ()
19419 {
19420 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19421 test_array [0] = 0
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_hi=$ac_mid; break
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 ac_lo=`expr $ac_mid + 1`
19454 if test $ac_lo -le $ac_mid; then
19455 ac_lo= ac_hi=
19456 break
19457 fi
19458 ac_mid=`expr 2 '*' $ac_mid + 1`
19459 fi
19460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19461 done
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19465
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19473 int
19474 main ()
19475 {
19476 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19477 test_array [0] = 0
19478
19479 ;
19480 return 0;
19481 }
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19486 ac_status=$?
19487 grep -v '^ *+' conftest.er1 >conftest.err
19488 rm -f conftest.er1
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19495 ac_status=$?
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19501 ac_status=$?
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19504 ac_hi=-1 ac_mid=-1
19505 while :; do
19506 cat >conftest.$ac_ext <<_ACEOF
19507 /* confdefs.h. */
19508 _ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 $ac_includes_default
19513 int
19514 main ()
19515 {
19516 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19517 test_array [0] = 0
19518
19519 ;
19520 return 0;
19521 }
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19538 { ac_try='test -s conftest.$ac_objext'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_lo=$ac_mid; break
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19548
19549 ac_hi=`expr '(' $ac_mid ')' - 1`
19550 if test $ac_mid -le $ac_hi; then
19551 ac_lo= ac_hi=
19552 break
19553 fi
19554 ac_mid=`expr 2 '*' $ac_mid`
19555 fi
19556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19557 done
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562 ac_lo= ac_hi=
19563 fi
19564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19565 fi
19566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19567 # Binary search between lo and hi bounds.
19568 while test "x$ac_lo" != "x$ac_hi"; do
19569 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 int
19578 main ()
19579 {
19580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19581 test_array [0] = 0
19582
19583 ;
19584 return 0;
19585 }
19586 _ACEOF
19587 rm -f conftest.$ac_objext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19589 (eval $ac_compile) 2>conftest.er1
19590 ac_status=$?
19591 grep -v '^ *+' conftest.er1 >conftest.err
19592 rm -f conftest.er1
19593 cat conftest.err >&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); } &&
19596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19598 (eval $ac_try) 2>&5
19599 ac_status=$?
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); }; } &&
19602 { ac_try='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19605 ac_status=$?
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_hi=$ac_mid
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19612
19613 ac_lo=`expr '(' $ac_mid ')' + 1`
19614 fi
19615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19616 done
19617 case $ac_lo in
19618 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19619 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19620 See \`config.log' for more details." >&5
19621 echo "$as_me: error: cannot compute sizeof (size_t), 77
19622 See \`config.log' for more details." >&2;}
19623 { (exit 1); exit 1; }; } ;;
19624 esac
19625 else
19626 if test "$cross_compiling" = yes; then
19627 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19628 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19629 { (exit 1); exit 1; }; }
19630 else
19631 cat >conftest.$ac_ext <<_ACEOF
19632 /* confdefs.h. */
19633 _ACEOF
19634 cat confdefs.h >>conftest.$ac_ext
19635 cat >>conftest.$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19637 $ac_includes_default
19638 long longval () { return (long) (sizeof (size_t)); }
19639 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19640 #include <stdio.h>
19641 #include <stdlib.h>
19642 int
19643 main ()
19644 {
19645
19646 FILE *f = fopen ("conftest.val", "w");
19647 if (! f)
19648 exit (1);
19649 if (((long) (sizeof (size_t))) < 0)
19650 {
19651 long i = longval ();
19652 if (i != ((long) (sizeof (size_t))))
19653 exit (1);
19654 fprintf (f, "%ld\n", i);
19655 }
19656 else
19657 {
19658 unsigned long i = ulongval ();
19659 if (i != ((long) (sizeof (size_t))))
19660 exit (1);
19661 fprintf (f, "%lu\n", i);
19662 }
19663 exit (ferror (f) || fclose (f) != 0);
19664
19665 ;
19666 return 0;
19667 }
19668 _ACEOF
19669 rm -f conftest$ac_exeext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19671 (eval $ac_link) 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_sizeof_size_t=`cat conftest.val`
19681 else
19682 echo "$as_me: program exited with status $ac_status" >&5
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19685
19686 ( exit $ac_status )
19687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (size_t), 77
19690 See \`config.log' for more details." >&2;}
19691 { (exit 1); exit 1; }; }
19692 fi
19693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19694 fi
19695 fi
19696 rm -f conftest.val
19697 else
19698 ac_cv_sizeof_size_t=0
19699 fi
19700 fi
19701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19702 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19703 cat >>confdefs.h <<_ACEOF
19704 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19705 _ACEOF
19706
19707
19708
19709 case "${host}" in
19710 arm-*-linux* )
19711 echo "$as_me:$LINENO: checking for long long" >&5
19712 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19713 if test "${ac_cv_type_long_long+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 else
19716 cat >conftest.$ac_ext <<_ACEOF
19717 /* confdefs.h. */
19718 _ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 $ac_includes_default
19723 int
19724 main ()
19725 {
19726 if ((long long *) 0)
19727 return 0;
19728 if (sizeof (long long))
19729 return 0;
19730 ;
19731 return 0;
19732 }
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19736 (eval $ac_compile) 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } &&
19743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_type_long_long=yes
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19759
19760 ac_cv_type_long_long=no
19761 fi
19762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19763 fi
19764 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19765 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19766
19767 echo "$as_me:$LINENO: checking size of long long" >&5
19768 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19769 if test "${ac_cv_sizeof_long_long+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19771 else
19772 if test "$ac_cv_type_long_long" = yes; then
19773 # The cast to unsigned long works around a bug in the HP C Compiler
19774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19776 # This bug is HP SR number 8606223364.
19777 if test "$cross_compiling" = yes; then
19778 # Depending upon the size, compute the lo and hi bounds.
19779 cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h. */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 $ac_includes_default
19786 int
19787 main ()
19788 {
19789 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19790 test_array [0] = 0
19791
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19798 (eval $ac_compile) 2>conftest.er1
19799 ac_status=$?
19800 grep -v '^ *+' conftest.er1 >conftest.err
19801 rm -f conftest.er1
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } &&
19805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19808 ac_status=$?
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; } &&
19811 { ac_try='test -s conftest.$ac_objext'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19814 ac_status=$?
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; }; then
19817 ac_lo=0 ac_mid=0
19818 while :; do
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 $ac_includes_default
19826 int
19827 main ()
19828 {
19829 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19830 test_array [0] = 0
19831
19832 ;
19833 return 0;
19834 }
19835 _ACEOF
19836 rm -f conftest.$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } &&
19845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_hi=$ac_mid; break
19858 else
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19861
19862 ac_lo=`expr $ac_mid + 1`
19863 if test $ac_lo -le $ac_mid; then
19864 ac_lo= ac_hi=
19865 break
19866 fi
19867 ac_mid=`expr 2 '*' $ac_mid + 1`
19868 fi
19869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19870 done
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19882 int
19883 main ()
19884 {
19885 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19886 test_array [0] = 0
19887
19888 ;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19895 ac_status=$?
19896 grep -v '^ *+' conftest.er1 >conftest.err
19897 rm -f conftest.er1
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try='test -s conftest.$ac_objext'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19913 ac_hi=-1 ac_mid=-1
19914 while :; do
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 int
19923 main ()
19924 {
19925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19926 test_array [0] = 0
19927
19928 ;
19929 return 0;
19930 }
19931 _ACEOF
19932 rm -f conftest.$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19944 ac_status=$?
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try='test -s conftest.$ac_objext'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 ac_lo=$ac_mid; break
19954 else
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19957
19958 ac_hi=`expr '(' $ac_mid ')' - 1`
19959 if test $ac_mid -le $ac_hi; then
19960 ac_lo= ac_hi=
19961 break
19962 fi
19963 ac_mid=`expr 2 '*' $ac_mid`
19964 fi
19965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19966 done
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_lo= ac_hi=
19972 fi
19973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19974 fi
19975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19976 # Binary search between lo and hi bounds.
19977 while test "x$ac_lo" != "x$ac_hi"; do
19978 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19986 int
19987 main ()
19988 {
19989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19990 test_array [0] = 0
19991
19992 ;
19993 return 0;
19994 }
19995 _ACEOF
19996 rm -f conftest.$ac_objext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19998 (eval $ac_compile) 2>conftest.er1
19999 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } &&
20005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 ac_hi=$ac_mid
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 ac_lo=`expr '(' $ac_mid ')' + 1`
20023 fi
20024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20025 done
20026 case $ac_lo in
20027 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20029 See \`config.log' for more details." >&5
20030 echo "$as_me: error: cannot compute sizeof (long long), 77
20031 See \`config.log' for more details." >&2;}
20032 { (exit 1); exit 1; }; } ;;
20033 esac
20034 else
20035 if test "$cross_compiling" = yes; then
20036 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20037 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20038 { (exit 1); exit 1; }; }
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 long longval () { return (long) (sizeof (long long)); }
20048 unsigned long ulongval () { return (long) (sizeof (long long)); }
20049 #include <stdio.h>
20050 #include <stdlib.h>
20051 int
20052 main ()
20053 {
20054
20055 FILE *f = fopen ("conftest.val", "w");
20056 if (! f)
20057 exit (1);
20058 if (((long) (sizeof (long long))) < 0)
20059 {
20060 long i = longval ();
20061 if (i != ((long) (sizeof (long long))))
20062 exit (1);
20063 fprintf (f, "%ld\n", i);
20064 }
20065 else
20066 {
20067 unsigned long i = ulongval ();
20068 if (i != ((long) (sizeof (long long))))
20069 exit (1);
20070 fprintf (f, "%lu\n", i);
20071 }
20072 exit (ferror (f) || fclose (f) != 0);
20073
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_sizeof_long_long=`cat conftest.val`
20090 else
20091 echo "$as_me: program exited with status $ac_status" >&5
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20094
20095 ( exit $ac_status )
20096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20097 See \`config.log' for more details." >&5
20098 echo "$as_me: error: cannot compute sizeof (long long), 77
20099 See \`config.log' for more details." >&2;}
20100 { (exit 1); exit 1; }; }
20101 fi
20102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20103 fi
20104 fi
20105 rm -f conftest.val
20106 else
20107 ac_cv_sizeof_long_long=0
20108 fi
20109 fi
20110 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20111 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20112 cat >>confdefs.h <<_ACEOF
20113 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20114 _ACEOF
20115
20116
20117 ;;
20118 *-hp-hpux* )
20119 echo "$as_me:$LINENO: checking for long long" >&5
20120 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20121 if test "${ac_cv_type_long_long+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 cat >conftest.$ac_ext <<_ACEOF
20125 /* confdefs.h. */
20126 _ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 $ac_includes_default
20131 int
20132 main ()
20133 {
20134 if ((long long *) 0)
20135 return 0;
20136 if (sizeof (long long))
20137 return 0;
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try='test -s conftest.$ac_objext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20160 ac_status=$?
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_type_long_long=yes
20164 else
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20167
20168 ac_cv_type_long_long=no
20169 fi
20170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20171 fi
20172 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20173 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20174
20175 echo "$as_me:$LINENO: checking size of long long" >&5
20176 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20177 if test "${ac_cv_sizeof_long_long+set}" = set; then
20178 echo $ECHO_N "(cached) $ECHO_C" >&6
20179 else
20180 if test "$ac_cv_type_long_long" = yes; then
20181 # The cast to unsigned long works around a bug in the HP C Compiler
20182 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20183 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20184 # This bug is HP SR number 8606223364.
20185 if test "$cross_compiling" = yes; then
20186 # Depending upon the size, compute the lo and hi bounds.
20187 cat >conftest.$ac_ext <<_ACEOF
20188 /* confdefs.h. */
20189 _ACEOF
20190 cat confdefs.h >>conftest.$ac_ext
20191 cat >>conftest.$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20194 int
20195 main ()
20196 {
20197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20198 test_array [0] = 0
20199
20200 ;
20201 return 0;
20202 }
20203 _ACEOF
20204 rm -f conftest.$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20207 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1
20210 cat conftest.err >&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20216 ac_status=$?
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; } &&
20219 { ac_try='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20222 ac_status=$?
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20225 ac_lo=0 ac_mid=0
20226 while :; do
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20246 (eval $ac_compile) 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20262 ac_status=$?
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_hi=$ac_mid; break
20266 else
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20269
20270 ac_lo=`expr $ac_mid + 1`
20271 if test $ac_lo -le $ac_mid; then
20272 ac_lo= ac_hi=
20273 break
20274 fi
20275 ac_mid=`expr 2 '*' $ac_mid + 1`
20276 fi
20277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20278 done
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 $ac_includes_default
20290 int
20291 main ()
20292 {
20293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20294 test_array [0] = 0
20295
20296 ;
20297 return 0;
20298 }
20299 _ACEOF
20300 rm -f conftest.$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20312 ac_status=$?
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; } &&
20315 { ac_try='test -s conftest.$ac_objext'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; }; then
20321 ac_hi=-1 ac_mid=-1
20322 while :; do
20323 cat >conftest.$ac_ext <<_ACEOF
20324 /* confdefs.h. */
20325 _ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 int
20331 main ()
20332 {
20333 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20334 test_array [0] = 0
20335
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest.$ac_objext
20341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20342 (eval $ac_compile) 2>conftest.er1
20343 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1
20346 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } &&
20349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; } &&
20355 { ac_try='test -s conftest.$ac_objext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 ac_lo=$ac_mid; break
20362 else
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20365
20366 ac_hi=`expr '(' $ac_mid ')' - 1`
20367 if test $ac_mid -le $ac_hi; then
20368 ac_lo= ac_hi=
20369 break
20370 fi
20371 ac_mid=`expr 2 '*' $ac_mid`
20372 fi
20373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20374 done
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 ac_lo= ac_hi=
20380 fi
20381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20382 fi
20383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20384 # Binary search between lo and hi bounds.
20385 while test "x$ac_lo" != "x$ac_hi"; do
20386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_hi=$ac_mid
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_lo=`expr '(' $ac_mid ')' + 1`
20431 fi
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433 done
20434 case $ac_lo in
20435 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20436 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20437 See \`config.log' for more details." >&5
20438 echo "$as_me: error: cannot compute sizeof (long long), 77
20439 See \`config.log' for more details." >&2;}
20440 { (exit 1); exit 1; }; } ;;
20441 esac
20442 else
20443 if test "$cross_compiling" = yes; then
20444 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20445 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20446 { (exit 1); exit 1; }; }
20447 else
20448 cat >conftest.$ac_ext <<_ACEOF
20449 /* confdefs.h. */
20450 _ACEOF
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 long longval () { return (long) (sizeof (long long)); }
20456 unsigned long ulongval () { return (long) (sizeof (long long)); }
20457 #include <stdio.h>
20458 #include <stdlib.h>
20459 int
20460 main ()
20461 {
20462
20463 FILE *f = fopen ("conftest.val", "w");
20464 if (! f)
20465 exit (1);
20466 if (((long) (sizeof (long long))) < 0)
20467 {
20468 long i = longval ();
20469 if (i != ((long) (sizeof (long long))))
20470 exit (1);
20471 fprintf (f, "%ld\n", i);
20472 }
20473 else
20474 {
20475 unsigned long i = ulongval ();
20476 if (i != ((long) (sizeof (long long))))
20477 exit (1);
20478 fprintf (f, "%lu\n", i);
20479 }
20480 exit (ferror (f) || fclose (f) != 0);
20481
20482 ;
20483 return 0;
20484 }
20485 _ACEOF
20486 rm -f conftest$ac_exeext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20488 (eval $ac_link) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_long_long=`cat conftest.val`
20498 else
20499 echo "$as_me: program exited with status $ac_status" >&5
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20502
20503 ( exit $ac_status )
20504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20505 See \`config.log' for more details." >&5
20506 echo "$as_me: error: cannot compute sizeof (long long), 77
20507 See \`config.log' for more details." >&2;}
20508 { (exit 1); exit 1; }; }
20509 fi
20510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20511 fi
20512 fi
20513 rm -f conftest.val
20514 else
20515 ac_cv_sizeof_long_long=0
20516 fi
20517 fi
20518 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20519 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20520 cat >>confdefs.h <<_ACEOF
20521 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20522 _ACEOF
20523
20524
20525 if test "$ac_cv_sizeof_long_long" != "0"; then
20526 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20527 fi
20528 ;;
20529 * )
20530 echo "$as_me:$LINENO: checking for long long" >&5
20531 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20532 if test "${ac_cv_type_long_long+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20534 else
20535 cat >conftest.$ac_ext <<_ACEOF
20536 /* confdefs.h. */
20537 _ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 $ac_includes_default
20542 int
20543 main ()
20544 {
20545 if ((long long *) 0)
20546 return 0;
20547 if (sizeof (long long))
20548 return 0;
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20555 (eval $ac_compile) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20565 ac_status=$?
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; } &&
20568 { ac_try='test -s conftest.$ac_objext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20571 ac_status=$?
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_type_long_long=yes
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 ac_cv_type_long_long=no
20580 fi
20581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20582 fi
20583 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20584 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20585
20586 echo "$as_me:$LINENO: checking size of long long" >&5
20587 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20588 if test "${ac_cv_sizeof_long_long+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 else
20591 if test "$ac_cv_type_long_long" = yes; then
20592 # The cast to unsigned long works around a bug in the HP C Compiler
20593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20595 # This bug is HP SR number 8606223364.
20596 if test "$cross_compiling" = yes; then
20597 # Depending upon the size, compute the lo and hi bounds.
20598 cat >conftest.$ac_ext <<_ACEOF
20599 /* confdefs.h. */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20605 int
20606 main ()
20607 {
20608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20609 test_array [0] = 0
20610
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_lo=0 ac_mid=0
20637 while :; do
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20645 int
20646 main ()
20647 {
20648 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20649 test_array [0] = 0
20650
20651 ;
20652 return 0;
20653 }
20654 _ACEOF
20655 rm -f conftest.$ac_objext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20657 (eval $ac_compile) 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest.$ac_objext'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20673 ac_status=$?
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; }; then
20676 ac_hi=$ac_mid; break
20677 else
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20680
20681 ac_lo=`expr $ac_mid + 1`
20682 if test $ac_lo -le $ac_mid; then
20683 ac_lo= ac_hi=
20684 break
20685 fi
20686 ac_mid=`expr 2 '*' $ac_mid + 1`
20687 fi
20688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20689 done
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 cat >conftest.$ac_ext <<_ACEOF
20695 /* confdefs.h. */
20696 _ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 int
20702 main ()
20703 {
20704 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20705 test_array [0] = 0
20706
20707 ;
20708 return 0;
20709 }
20710 _ACEOF
20711 rm -f conftest.$ac_objext
20712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20713 (eval $ac_compile) 2>conftest.er1
20714 ac_status=$?
20715 grep -v '^ *+' conftest.er1 >conftest.err
20716 rm -f conftest.er1
20717 cat conftest.err >&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } &&
20720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; } &&
20726 { ac_try='test -s conftest.$ac_objext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20729 ac_status=$?
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20732 ac_hi=-1 ac_mid=-1
20733 while :; do
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 $ac_includes_default
20741 int
20742 main ()
20743 {
20744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20745 test_array [0] = 0
20746
20747 ;
20748 return 0;
20749 }
20750 _ACEOF
20751 rm -f conftest.$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20754 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20763 ac_status=$?
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; } &&
20766 { ac_try='test -s conftest.$ac_objext'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20769 ac_status=$?
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; }; then
20772 ac_lo=$ac_mid; break
20773 else
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20776
20777 ac_hi=`expr '(' $ac_mid ')' - 1`
20778 if test $ac_mid -le $ac_hi; then
20779 ac_lo= ac_hi=
20780 break
20781 fi
20782 ac_mid=`expr 2 '*' $ac_mid`
20783 fi
20784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20785 done
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20789
20790 ac_lo= ac_hi=
20791 fi
20792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20793 fi
20794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20795 # Binary search between lo and hi bounds.
20796 while test "x$ac_lo" != "x$ac_hi"; do
20797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 int
20806 main ()
20807 {
20808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20809 test_array [0] = 0
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 rm -f conftest.$ac_objext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20817 (eval $ac_compile) 2>conftest.er1
20818 ac_status=$?
20819 grep -v '^ *+' conftest.er1 >conftest.err
20820 rm -f conftest.er1
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } &&
20824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826 (eval $ac_try) 2>&5
20827 ac_status=$?
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try='test -s conftest.$ac_objext'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 ac_hi=$ac_mid
20837 else
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20840
20841 ac_lo=`expr '(' $ac_mid ')' + 1`
20842 fi
20843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20844 done
20845 case $ac_lo in
20846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&5
20849 echo "$as_me: error: cannot compute sizeof (long long), 77
20850 See \`config.log' for more details." >&2;}
20851 { (exit 1); exit 1; }; } ;;
20852 esac
20853 else
20854 if test "$cross_compiling" = yes; then
20855 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20856 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20857 { (exit 1); exit 1; }; }
20858 else
20859 cat >conftest.$ac_ext <<_ACEOF
20860 /* confdefs.h. */
20861 _ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 long longval () { return (long) (sizeof (long long)); }
20867 unsigned long ulongval () { return (long) (sizeof (long long)); }
20868 #include <stdio.h>
20869 #include <stdlib.h>
20870 int
20871 main ()
20872 {
20873
20874 FILE *f = fopen ("conftest.val", "w");
20875 if (! f)
20876 exit (1);
20877 if (((long) (sizeof (long long))) < 0)
20878 {
20879 long i = longval ();
20880 if (i != ((long) (sizeof (long long))))
20881 exit (1);
20882 fprintf (f, "%ld\n", i);
20883 }
20884 else
20885 {
20886 unsigned long i = ulongval ();
20887 if (i != ((long) (sizeof (long long))))
20888 exit (1);
20889 fprintf (f, "%lu\n", i);
20890 }
20891 exit (ferror (f) || fclose (f) != 0);
20892
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 rm -f conftest$ac_exeext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20899 (eval $ac_link) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20905 ac_status=$?
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_cv_sizeof_long_long=`cat conftest.val`
20909 else
20910 echo "$as_me: program exited with status $ac_status" >&5
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20913
20914 ( exit $ac_status )
20915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20916 See \`config.log' for more details." >&5
20917 echo "$as_me: error: cannot compute sizeof (long long), 77
20918 See \`config.log' for more details." >&2;}
20919 { (exit 1); exit 1; }; }
20920 fi
20921 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20922 fi
20923 fi
20924 rm -f conftest.val
20925 else
20926 ac_cv_sizeof_long_long=0
20927 fi
20928 fi
20929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20930 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20931 cat >>confdefs.h <<_ACEOF
20932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20933 _ACEOF
20934
20935
20936 esac
20937
20938 echo "$as_me:$LINENO: checking for wchar_t" >&5
20939 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20940 if test "${ac_cv_type_wchar_t+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 else
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h. */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949
20950 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20951 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20952 # error "fake wchar_t"
20953 #endif
20954 #ifdef HAVE_WCHAR_H
20955 # ifdef __CYGWIN__
20956 # include <stddef.h>
20957 # endif
20958 # include <wchar.h>
20959 #endif
20960 #ifdef HAVE_STDLIB_H
20961 # include <stdlib.h>
20962 #endif
20963 #include <stdio.h>
20964
20965
20966
20967 int
20968 main ()
20969 {
20970 if ((wchar_t *) 0)
20971 return 0;
20972 if (sizeof (wchar_t))
20973 return 0;
20974 ;
20975 return 0;
20976 }
20977 _ACEOF
20978 rm -f conftest.$ac_objext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20980 (eval $ac_compile) 2>conftest.er1
20981 ac_status=$?
20982 grep -v '^ *+' conftest.er1 >conftest.err
20983 rm -f conftest.er1
20984 cat conftest.err >&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } &&
20987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20990 ac_status=$?
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; } &&
20993 { ac_try='test -s conftest.$ac_objext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20996 ac_status=$?
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
20999 ac_cv_type_wchar_t=yes
21000 else
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.$ac_ext >&5
21003
21004 ac_cv_type_wchar_t=no
21005 fi
21006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21007 fi
21008 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21009 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21010
21011 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21012 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21013 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 else
21016 if test "$ac_cv_type_wchar_t" = yes; then
21017 # The cast to unsigned long works around a bug in the HP C Compiler
21018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21020 # This bug is HP SR number 8606223364.
21021 if test "$cross_compiling" = yes; then
21022 # Depending upon the size, compute the lo and hi bounds.
21023 cat >conftest.$ac_ext <<_ACEOF
21024 /* confdefs.h. */
21025 _ACEOF
21026 cat confdefs.h >>conftest.$ac_ext
21027 cat >>conftest.$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21029
21030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21032 # error "fake wchar_t"
21033 #endif
21034 #ifdef HAVE_WCHAR_H
21035 # ifdef __CYGWIN__
21036 # include <stddef.h>
21037 # endif
21038 # include <wchar.h>
21039 #endif
21040 #ifdef HAVE_STDLIB_H
21041 # include <stdlib.h>
21042 #endif
21043 #include <stdio.h>
21044
21045
21046
21047 int
21048 main ()
21049 {
21050 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21051 test_array [0] = 0
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21060 ac_status=$?
21061 grep -v '^ *+' conftest.er1 >conftest.err
21062 rm -f conftest.er1
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21069 ac_status=$?
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; } &&
21072 { ac_try='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_lo=0 ac_mid=0
21079 while :; do
21080 cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h. */
21082 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086
21087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21089 # error "fake wchar_t"
21090 #endif
21091 #ifdef HAVE_WCHAR_H
21092 # ifdef __CYGWIN__
21093 # include <stddef.h>
21094 # endif
21095 # include <wchar.h>
21096 #endif
21097 #ifdef HAVE_STDLIB_H
21098 # include <stdlib.h>
21099 #endif
21100 #include <stdio.h>
21101
21102
21103
21104 int
21105 main ()
21106 {
21107 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21108 test_array [0] = 0
21109
21110 ;
21111 return 0;
21112 }
21113 _ACEOF
21114 rm -f conftest.$ac_objext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21116 (eval $ac_compile) 2>conftest.er1
21117 ac_status=$?
21118 grep -v '^ *+' conftest.er1 >conftest.err
21119 rm -f conftest.er1
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } &&
21123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; } &&
21129 { ac_try='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_hi=$ac_mid; break
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21139
21140 ac_lo=`expr $ac_mid + 1`
21141 if test $ac_lo -le $ac_mid; then
21142 ac_lo= ac_hi=
21143 break
21144 fi
21145 ac_mid=`expr 2 '*' $ac_mid + 1`
21146 fi
21147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21148 done
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 cat >conftest.$ac_ext <<_ACEOF
21154 /* confdefs.h. */
21155 _ACEOF
21156 cat confdefs.h >>conftest.$ac_ext
21157 cat >>conftest.$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159
21160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21162 # error "fake wchar_t"
21163 #endif
21164 #ifdef HAVE_WCHAR_H
21165 # ifdef __CYGWIN__
21166 # include <stddef.h>
21167 # endif
21168 # include <wchar.h>
21169 #endif
21170 #ifdef HAVE_STDLIB_H
21171 # include <stdlib.h>
21172 #endif
21173 #include <stdio.h>
21174
21175
21176
21177 int
21178 main ()
21179 {
21180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21181 test_array [0] = 0
21182
21183 ;
21184 return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21190 ac_status=$?
21191 grep -v '^ *+' conftest.er1 >conftest.err
21192 rm -f conftest.er1
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; } &&
21202 { ac_try='test -s conftest.$ac_objext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 ac_hi=-1 ac_mid=-1
21209 while :; do
21210 cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h. */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216
21217 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21218 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21219 # error "fake wchar_t"
21220 #endif
21221 #ifdef HAVE_WCHAR_H
21222 # ifdef __CYGWIN__
21223 # include <stddef.h>
21224 # endif
21225 # include <wchar.h>
21226 #endif
21227 #ifdef HAVE_STDLIB_H
21228 # include <stdlib.h>
21229 #endif
21230 #include <stdio.h>
21231
21232
21233
21234 int
21235 main ()
21236 {
21237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21238 test_array [0] = 0
21239
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 rm -f conftest.$ac_objext
21245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21246 (eval $ac_compile) 2>conftest.er1
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } &&
21253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21256 ac_status=$?
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; } &&
21259 { ac_try='test -s conftest.$ac_objext'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21262 ac_status=$?
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; }; then
21265 ac_lo=$ac_mid; break
21266 else
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.$ac_ext >&5
21269
21270 ac_hi=`expr '(' $ac_mid ')' - 1`
21271 if test $ac_mid -le $ac_hi; then
21272 ac_lo= ac_hi=
21273 break
21274 fi
21275 ac_mid=`expr 2 '*' $ac_mid`
21276 fi
21277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21278 done
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 ac_lo= ac_hi=
21284 fi
21285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21288 # Binary search between lo and hi bounds.
21289 while test "x$ac_lo" != "x$ac_hi"; do
21290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297
21298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21300 # error "fake wchar_t"
21301 #endif
21302 #ifdef HAVE_WCHAR_H
21303 # ifdef __CYGWIN__
21304 # include <stddef.h>
21305 # endif
21306 # include <wchar.h>
21307 #endif
21308 #ifdef HAVE_STDLIB_H
21309 # include <stdlib.h>
21310 #endif
21311 #include <stdio.h>
21312
21313
21314
21315 int
21316 main ()
21317 {
21318 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21319 test_array [0] = 0
21320
21321 ;
21322 return 0;
21323 }
21324 _ACEOF
21325 rm -f conftest.$ac_objext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21327 (eval $ac_compile) 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; } &&
21340 { ac_try='test -s conftest.$ac_objext'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 ac_hi=$ac_mid
21347 else
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.$ac_ext >&5
21350
21351 ac_lo=`expr '(' $ac_mid ')' + 1`
21352 fi
21353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21354 done
21355 case $ac_lo in
21356 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21357 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21358 See \`config.log' for more details." >&5
21359 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21360 See \`config.log' for more details." >&2;}
21361 { (exit 1); exit 1; }; } ;;
21362 esac
21363 else
21364 if test "$cross_compiling" = yes; then
21365 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21366 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21367 { (exit 1); exit 1; }; }
21368 else
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375
21376 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21377 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21378 # error "fake wchar_t"
21379 #endif
21380 #ifdef HAVE_WCHAR_H
21381 # ifdef __CYGWIN__
21382 # include <stddef.h>
21383 # endif
21384 # include <wchar.h>
21385 #endif
21386 #ifdef HAVE_STDLIB_H
21387 # include <stdlib.h>
21388 #endif
21389 #include <stdio.h>
21390
21391
21392
21393 long longval () { return (long) (sizeof (wchar_t)); }
21394 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21395 #include <stdio.h>
21396 #include <stdlib.h>
21397 int
21398 main ()
21399 {
21400
21401 FILE *f = fopen ("conftest.val", "w");
21402 if (! f)
21403 exit (1);
21404 if (((long) (sizeof (wchar_t))) < 0)
21405 {
21406 long i = longval ();
21407 if (i != ((long) (sizeof (wchar_t))))
21408 exit (1);
21409 fprintf (f, "%ld\n", i);
21410 }
21411 else
21412 {
21413 unsigned long i = ulongval ();
21414 if (i != ((long) (sizeof (wchar_t))))
21415 exit (1);
21416 fprintf (f, "%lu\n", i);
21417 }
21418 exit (ferror (f) || fclose (f) != 0);
21419
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 rm -f conftest$ac_exeext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21426 (eval $ac_link) 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_sizeof_wchar_t=`cat conftest.val`
21436 else
21437 echo "$as_me: program exited with status $ac_status" >&5
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ( exit $ac_status )
21442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21443 See \`config.log' for more details." >&5
21444 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21445 See \`config.log' for more details." >&2;}
21446 { (exit 1); exit 1; }; }
21447 fi
21448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21449 fi
21450 fi
21451 rm -f conftest.val
21452 else
21453 ac_cv_sizeof_wchar_t=0
21454 fi
21455 fi
21456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21457 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21458 cat >>confdefs.h <<_ACEOF
21459 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21460 _ACEOF
21461
21462
21463 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21464 wxUSE_WCHAR_T=yes
21465 else
21466 wxUSE_WCHAR_T=no
21467 fi
21468
21469 echo "$as_me:$LINENO: checking for va_copy" >&5
21470 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21471 if test "${wx_cv_func_va_copy+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474
21475 cat >conftest.$ac_ext <<_ACEOF
21476
21477 #include <stdarg.h>
21478 void foo(char *f, ...)
21479 {
21480 va_list ap1, ap2;
21481 va_start(ap1, f);
21482 va_copy(ap2, ap1);
21483 va_end(ap2);
21484 va_end(ap1);
21485 }
21486 int main()
21487 {
21488 foo("hi", 17);
21489 return 0;
21490 }
21491 _ACEOF
21492 rm -f conftest.$ac_objext conftest$ac_exeext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21494 (eval $ac_link) 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try='test -s conftest$ac_exeext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 wx_cv_func_va_copy=yes
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 wx_cv_func_va_copy=no
21519
21520 fi
21521 rm -f conftest.err conftest.$ac_objext \
21522 conftest$ac_exeext conftest.$ac_ext
21523
21524
21525 fi
21526 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21527 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21528
21529 if test $wx_cv_func_va_copy = "yes"; then
21530 cat >>confdefs.h <<\_ACEOF
21531 #define HAVE_VA_COPY 1
21532 _ACEOF
21533
21534 else
21535 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21536 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21537 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21538 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 else
21540
21541 if test "$cross_compiling" = yes; then
21542 wx_cv_type_va_list_lvalue=yes
21543
21544 else
21545 cat >conftest.$ac_ext <<_ACEOF
21546
21547 #include <stdarg.h>
21548 int foo(char *f, ...)
21549 {
21550 va_list ap1, ap2;
21551 va_start(ap1, f);
21552 ap2 = ap1;
21553 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21554 return 1;
21555 va_end(ap2);
21556 va_end(ap1);
21557 return 0;
21558 }
21559 int main()
21560 {
21561 return foo("hi", 17);
21562 }
21563 _ACEOF
21564 rm -f conftest$ac_exeext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21566 (eval $ac_link) 2>&5
21567 ac_status=$?
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 wx_cv_type_va_list_lvalue=yes
21576 else
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ( exit $ac_status )
21582 wx_cv_type_va_list_lvalue=no
21583 fi
21584 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21585 fi
21586
21587
21588 fi
21589 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21590 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21591
21592 if test $wx_cv_type_va_list_lvalue != "yes"; then
21593 cat >>confdefs.h <<\_ACEOF
21594 #define VA_LIST_IS_ARRAY 1
21595 _ACEOF
21596
21597 fi
21598 fi
21599
21600 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21601 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21602 if test "${wx_cv_have_variadic_macros+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21605
21606 cat >conftest.$ac_ext <<_ACEOF
21607 /* confdefs.h. */
21608 _ACEOF
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21612
21613 #include <stdio.h>
21614 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21615
21616 int
21617 main ()
21618 {
21619
21620 test("%s %d %p", "test", 1, 0);
21621
21622
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
21627 rm -f conftest.$ac_objext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21629 (eval $ac_compile) 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } &&
21636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638 (eval $ac_try) 2>&5
21639 ac_status=$?
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; } &&
21642 { ac_try='test -s conftest.$ac_objext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21648 wx_cv_have_variadic_macros=yes
21649 else
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.$ac_ext >&5
21652
21653 wx_cv_have_variadic_macros=no
21654
21655 fi
21656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21657
21658
21659 fi
21660 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21661 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21662
21663 if test $wx_cv_have_variadic_macros = "yes"; then
21664 cat >>confdefs.h <<\_ACEOF
21665 #define HAVE_VARIADIC_MACROS 1
21666 _ACEOF
21667
21668 fi
21669
21670 # Check whether --enable-largefile or --disable-largefile was given.
21671 if test "${enable_largefile+set}" = set; then
21672 enableval="$enable_largefile"
21673
21674 fi;
21675 if test "$enable_largefile" != no; then
21676 wx_largefile=no
21677
21678 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21679 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21680 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21681 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 else
21683
21684 cat >conftest.$ac_ext <<_ACEOF
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 #define _FILE_OFFSET_BITS 64
21691 #include <sys/types.h>
21692 int
21693 main ()
21694 {
21695 typedef struct {
21696 unsigned int field: sizeof(off_t) == 8;
21697 } wxlf;
21698
21699 ;
21700 return 0;
21701 }
21702 _ACEOF
21703 rm -f conftest.$ac_objext
21704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21705 (eval $ac_compile) 2>conftest.er1
21706 ac_status=$?
21707 grep -v '^ *+' conftest.er1 >conftest.err
21708 rm -f conftest.er1
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; } &&
21718 { ac_try='test -s conftest.$ac_objext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21721 ac_status=$?
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21724 ac_cv_sys_file_offset_bits=64
21725 else
21726 echo "$as_me: failed program was:" >&5
21727 sed 's/^/| /' conftest.$ac_ext >&5
21728
21729 ac_cv_sys_file_offset_bits=no
21730 fi
21731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21732
21733
21734 fi
21735 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21736 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21737
21738 if test "$ac_cv_sys_file_offset_bits" != no; then
21739 wx_largefile=yes
21740 cat >>confdefs.h <<_ACEOF
21741 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21742 _ACEOF
21743
21744 fi
21745
21746 if test "x$wx_largefile" != "xyes"; then
21747
21748 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21749 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21750 if test "${ac_cv_sys_large_files+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 else
21753
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 #define _LARGE_FILES 1
21761 #include <sys/types.h>
21762 int
21763 main ()
21764 {
21765 typedef struct {
21766 unsigned int field: sizeof(off_t) == 8;
21767 } wxlf;
21768
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21775 (eval $ac_compile) 2>conftest.er1
21776 ac_status=$?
21777 grep -v '^ *+' conftest.er1 >conftest.err
21778 rm -f conftest.er1
21779 cat conftest.err >&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 ac_cv_sys_large_files=1
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_cv_sys_large_files=no
21800 fi
21801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21802
21803
21804 fi
21805 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21806 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21807
21808 if test "$ac_cv_sys_large_files" != no; then
21809 wx_largefile=yes
21810 cat >>confdefs.h <<_ACEOF
21811 #define _LARGE_FILES $ac_cv_sys_large_files
21812 _ACEOF
21813
21814 fi
21815
21816 fi
21817
21818 echo "$as_me:$LINENO: checking if large file support is available" >&5
21819 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21820 if test "x$wx_largefile" = "xyes"; then
21821 cat >>confdefs.h <<\_ACEOF
21822 #define HAVE_LARGEFILE_SUPPORT 1
21823 _ACEOF
21824
21825 fi
21826 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21827 echo "${ECHO_T}$wx_largefile" >&6
21828 fi
21829
21830
21831 if test "x$wx_largefile" = "xyes"; then
21832 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21833 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21834
21835 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21836 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21837 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21838 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21840 else
21841
21842 ac_ext=cc
21843 ac_cpp='$CXXCPP $CPPFLAGS'
21844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21847
21848 cat >conftest.$ac_ext <<_ACEOF
21849 /* confdefs.h. */
21850 _ACEOF
21851 cat confdefs.h >>conftest.$ac_ext
21852 cat >>conftest.$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854
21855 int
21856 main ()
21857 {
21858
21859 #ifndef __STDC_EXT__
21860 choke me
21861 #endif
21862
21863 ;
21864 return 0;
21865 }
21866 _ACEOF
21867 rm -f conftest.$ac_objext
21868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21869 (eval $ac_compile) 2>conftest.er1
21870 ac_status=$?
21871 grep -v '^ *+' conftest.er1 >conftest.err
21872 rm -f conftest.er1
21873 cat conftest.err >&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } &&
21876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21878 (eval $ac_try) 2>&5
21879 ac_status=$?
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); }; } &&
21882 { ac_try='test -s conftest.$ac_objext'
21883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21884 (eval $ac_try) 2>&5
21885 ac_status=$?
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; }; then
21888 wx_cv_STDC_EXT_required=no
21889 else
21890 echo "$as_me: failed program was:" >&5
21891 sed 's/^/| /' conftest.$ac_ext >&5
21892
21893 wx_cv_STDC_EXT_required=yes
21894
21895 fi
21896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21897 ac_ext=c
21898 ac_cpp='$CPP $CPPFLAGS'
21899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21902
21903
21904
21905 fi
21906 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21907 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21908 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21909 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21910 fi
21911 fi
21912 else
21913 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21914 fi
21915 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21916 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21917 if test "${ac_cv_sys_largefile_source+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 else
21920 while :; do
21921 ac_cv_sys_largefile_source=no
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 #include <stdio.h>
21929 int
21930 main ()
21931 {
21932 return !fseeko;
21933 ;
21934 return 0;
21935 }
21936 _ACEOF
21937 rm -f conftest.$ac_objext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21939 (eval $ac_compile) 2>conftest.er1
21940 ac_status=$?
21941 grep -v '^ *+' conftest.er1 >conftest.err
21942 rm -f conftest.er1
21943 cat conftest.err >&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; } &&
21952 { ac_try='test -s conftest.$ac_objext'
21953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954 (eval $ac_try) 2>&5
21955 ac_status=$?
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21958 break
21959 else
21960 echo "$as_me: failed program was:" >&5
21961 sed 's/^/| /' conftest.$ac_ext >&5
21962
21963 fi
21964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 #define _LARGEFILE_SOURCE 1
21972 #include <stdio.h>
21973 int
21974 main ()
21975 {
21976 return !fseeko;
21977 ;
21978 return 0;
21979 }
21980 _ACEOF
21981 rm -f conftest.$ac_objext
21982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21983 (eval $ac_compile) 2>conftest.er1
21984 ac_status=$?
21985 grep -v '^ *+' conftest.er1 >conftest.err
21986 rm -f conftest.er1
21987 cat conftest.err >&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; } &&
21996 { ac_try='test -s conftest.$ac_objext'
21997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998 (eval $ac_try) 2>&5
21999 ac_status=$?
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); }; }; then
22002 ac_cv_sys_largefile_source=1; break
22003 else
22004 echo "$as_me: failed program was:" >&5
22005 sed 's/^/| /' conftest.$ac_ext >&5
22006
22007 fi
22008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22009 break
22010 done
22011 fi
22012 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22013 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22014 if test "$ac_cv_sys_largefile_source" != no; then
22015
22016 cat >>confdefs.h <<_ACEOF
22017 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22018 _ACEOF
22019
22020 fi
22021 rm -f conftest*
22022
22023 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22024 # in glibc 2.1.3, but that breaks too many other things.
22025 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22026 echo "$as_me:$LINENO: checking for fseeko" >&5
22027 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22028 if test "${ac_cv_func_fseeko+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031 cat >conftest.$ac_ext <<_ACEOF
22032 /* confdefs.h. */
22033 _ACEOF
22034 cat confdefs.h >>conftest.$ac_ext
22035 cat >>conftest.$ac_ext <<_ACEOF
22036 /* end confdefs.h. */
22037 #include <stdio.h>
22038 int
22039 main ()
22040 {
22041 return fseeko && fseeko (stdin, 0, 0);
22042 ;
22043 return 0;
22044 }
22045 _ACEOF
22046 rm -f conftest.$ac_objext conftest$ac_exeext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22048 (eval $ac_link) 2>conftest.er1
22049 ac_status=$?
22050 grep -v '^ *+' conftest.er1 >conftest.err
22051 rm -f conftest.er1
22052 cat conftest.err >&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } &&
22055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; } &&
22061 { ac_try='test -s conftest$ac_exeext'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22064 ac_status=$?
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; }; then
22067 ac_cv_func_fseeko=yes
22068 else
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22071
22072 ac_cv_func_fseeko=no
22073 fi
22074 rm -f conftest.err conftest.$ac_objext \
22075 conftest$ac_exeext conftest.$ac_ext
22076 fi
22077 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22078 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22079 if test $ac_cv_func_fseeko = yes; then
22080
22081 cat >>confdefs.h <<\_ACEOF
22082 #define HAVE_FSEEKO 1
22083 _ACEOF
22084
22085 fi
22086
22087 if test "$ac_cv_sys_largefile_source" != no; then
22088 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22089 fi
22090 fi
22091
22092 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22093 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22094 if test "${ac_cv_c_bigendian+set}" = set; then
22095 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 else
22097 ac_cv_c_bigendian=unknown
22098 # See if sys/param.h defines the BYTE_ORDER macro.
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 #include <sys/types.h>
22106 #include <sys/param.h>
22107 int
22108 main ()
22109 {
22110
22111 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22112 bogus endian macros
22113 #endif
22114 ;
22115 return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120 (eval $ac_compile) 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try='test -s conftest.$ac_objext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 # It does; now see whether it defined to BIG_ENDIAN or not.
22140 cat >conftest.$ac_ext <<_ACEOF
22141 /* confdefs.h. */
22142 _ACEOF
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 #include <sys/types.h>
22147 #include <sys/param.h>
22148 int
22149 main ()
22150 {
22151
22152 #if BYTE_ORDER != BIG_ENDIAN
22153 not big endian
22154 #endif
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 rm -f conftest.$ac_objext
22160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22161 (eval $ac_compile) 2>conftest.er1
22162 ac_status=$?
22163 grep -v '^ *+' conftest.er1 >conftest.err
22164 rm -f conftest.er1
22165 cat conftest.err >&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } &&
22168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22171 ac_status=$?
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; } &&
22174 { ac_try='test -s conftest.$ac_objext'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_cv_c_bigendian=yes
22181 else
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22184
22185 ac_cv_c_bigendian=no
22186 fi
22187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22188 else
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.$ac_ext >&5
22191
22192 fi
22193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22194 if test $ac_cv_c_bigendian = unknown; then
22195 if test "$cross_compiling" = yes; then
22196 ac_cv_c_bigendian=unknown
22197 else
22198 cat >conftest.$ac_ext <<_ACEOF
22199 /* confdefs.h. */
22200 _ACEOF
22201 cat confdefs.h >>conftest.$ac_ext
22202 cat >>conftest.$ac_ext <<_ACEOF
22203 /* end confdefs.h. */
22204 main () {
22205 /* Are we little or big endian? From Harbison&Steele. */
22206 union
22207 {
22208 long l;
22209 char c[sizeof (long)];
22210 } u;
22211 u.l = 1;
22212 exit (u.c[sizeof (long) - 1] == 1);
22213 }
22214 _ACEOF
22215 rm -f conftest$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217 (eval $ac_link) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222 (eval $ac_try) 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_c_bigendian=no
22227 else
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ( exit $ac_status )
22233 ac_cv_c_bigendian=yes
22234 fi
22235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22236 fi
22237 fi
22238 fi
22239 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22240 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22241 if test $ac_cv_c_bigendian = unknown; then
22242 { 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
22243 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;}
22244 fi
22245 if test $ac_cv_c_bigendian = yes; then
22246 cat >>confdefs.h <<\_ACEOF
22247 #define WORDS_BIGENDIAN 1
22248 _ACEOF
22249
22250 fi
22251
22252
22253 ac_ext=cc
22254 ac_cpp='$CXXCPP $CPPFLAGS'
22255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22258 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22259 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22260 if test -z "$CXXCPP"; then
22261 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 # Double quotes because CXXCPP needs to be expanded
22265 for CXXCPP in "$CXX -E" "/lib/cpp"
22266 do
22267 ac_preproc_ok=false
22268 for ac_cxx_preproc_warn_flag in '' yes
22269 do
22270 # Use a header file that comes with gcc, so configuring glibc
22271 # with a fresh cross-compiler works.
22272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22273 # <limits.h> exists even on freestanding compilers.
22274 # On the NeXT, cc -E runs the code through the compiler's parser,
22275 # not just through cpp. "Syntax error" is here to catch this case.
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 #ifdef __STDC__
22283 # include <limits.h>
22284 #else
22285 # include <assert.h>
22286 #endif
22287 Syntax error
22288 _ACEOF
22289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22291 ac_status=$?
22292 grep -v '^ *+' conftest.er1 >conftest.err
22293 rm -f conftest.er1
22294 cat conftest.err >&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } >/dev/null; then
22297 if test -s conftest.err; then
22298 ac_cpp_err=$ac_cxx_preproc_warn_flag
22299 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22300 else
22301 ac_cpp_err=
22302 fi
22303 else
22304 ac_cpp_err=yes
22305 fi
22306 if test -z "$ac_cpp_err"; then
22307 :
22308 else
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.$ac_ext >&5
22311
22312 # Broken: fails on valid input.
22313 continue
22314 fi
22315 rm -f conftest.err conftest.$ac_ext
22316
22317 # OK, works on sane cases. Now check whether non-existent headers
22318 # can be detected and how.
22319 cat >conftest.$ac_ext <<_ACEOF
22320 /* confdefs.h. */
22321 _ACEOF
22322 cat confdefs.h >>conftest.$ac_ext
22323 cat >>conftest.$ac_ext <<_ACEOF
22324 /* end confdefs.h. */
22325 #include <ac_nonexistent.h>
22326 _ACEOF
22327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22329 ac_status=$?
22330 grep -v '^ *+' conftest.er1 >conftest.err
22331 rm -f conftest.er1
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } >/dev/null; then
22335 if test -s conftest.err; then
22336 ac_cpp_err=$ac_cxx_preproc_warn_flag
22337 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22338 else
22339 ac_cpp_err=
22340 fi
22341 else
22342 ac_cpp_err=yes
22343 fi
22344 if test -z "$ac_cpp_err"; then
22345 # Broken: success on invalid input.
22346 continue
22347 else
22348 echo "$as_me: failed program was:" >&5
22349 sed 's/^/| /' conftest.$ac_ext >&5
22350
22351 # Passes both tests.
22352 ac_preproc_ok=:
22353 break
22354 fi
22355 rm -f conftest.err conftest.$ac_ext
22356
22357 done
22358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22359 rm -f conftest.err conftest.$ac_ext
22360 if $ac_preproc_ok; then
22361 break
22362 fi
22363
22364 done
22365 ac_cv_prog_CXXCPP=$CXXCPP
22366
22367 fi
22368 CXXCPP=$ac_cv_prog_CXXCPP
22369 else
22370 ac_cv_prog_CXXCPP=$CXXCPP
22371 fi
22372 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22373 echo "${ECHO_T}$CXXCPP" >&6
22374 ac_preproc_ok=false
22375 for ac_cxx_preproc_warn_flag in '' yes
22376 do
22377 # Use a header file that comes with gcc, so configuring glibc
22378 # with a fresh cross-compiler works.
22379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22380 # <limits.h> exists even on freestanding compilers.
22381 # On the NeXT, cc -E runs the code through the compiler's parser,
22382 # not just through cpp. "Syntax error" is here to catch this case.
22383 cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h. */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 #ifdef __STDC__
22390 # include <limits.h>
22391 #else
22392 # include <assert.h>
22393 #endif
22394 Syntax error
22395 _ACEOF
22396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22398 ac_status=$?
22399 grep -v '^ *+' conftest.er1 >conftest.err
22400 rm -f conftest.er1
22401 cat conftest.err >&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } >/dev/null; then
22404 if test -s conftest.err; then
22405 ac_cpp_err=$ac_cxx_preproc_warn_flag
22406 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22407 else
22408 ac_cpp_err=
22409 fi
22410 else
22411 ac_cpp_err=yes
22412 fi
22413 if test -z "$ac_cpp_err"; then
22414 :
22415 else
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.$ac_ext >&5
22418
22419 # Broken: fails on valid input.
22420 continue
22421 fi
22422 rm -f conftest.err conftest.$ac_ext
22423
22424 # OK, works on sane cases. Now check whether non-existent headers
22425 # can be detected and how.
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 #include <ac_nonexistent.h>
22433 _ACEOF
22434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22436 ac_status=$?
22437 grep -v '^ *+' conftest.er1 >conftest.err
22438 rm -f conftest.er1
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } >/dev/null; then
22442 if test -s conftest.err; then
22443 ac_cpp_err=$ac_cxx_preproc_warn_flag
22444 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22445 else
22446 ac_cpp_err=
22447 fi
22448 else
22449 ac_cpp_err=yes
22450 fi
22451 if test -z "$ac_cpp_err"; then
22452 # Broken: success on invalid input.
22453 continue
22454 else
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458 # Passes both tests.
22459 ac_preproc_ok=:
22460 break
22461 fi
22462 rm -f conftest.err conftest.$ac_ext
22463
22464 done
22465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22466 rm -f conftest.err conftest.$ac_ext
22467 if $ac_preproc_ok; then
22468 :
22469 else
22470 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22471 See \`config.log' for more details." >&5
22472 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22473 See \`config.log' for more details." >&2;}
22474 { (exit 1); exit 1; }; }
22475 fi
22476
22477 ac_ext=cc
22478 ac_cpp='$CXXCPP $CPPFLAGS'
22479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22482
22483
22484
22485
22486
22487 ac_ext=cc
22488 ac_cpp='$CXXCPP $CPPFLAGS'
22489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22492
22493
22494
22495 for ac_header in iostream
22496 do
22497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22499 echo "$as_me:$LINENO: checking for $ac_header" >&5
22500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 fi
22504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22506 else
22507 # Is the header compilable?
22508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22510 cat >conftest.$ac_ext <<_ACEOF
22511 /* confdefs.h. */
22512 _ACEOF
22513 cat confdefs.h >>conftest.$ac_ext
22514 cat >>conftest.$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22516 $ac_includes_default
22517 #include <$ac_header>
22518 _ACEOF
22519 rm -f conftest.$ac_objext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22521 (eval $ac_compile) 2>conftest.er1
22522 ac_status=$?
22523 grep -v '^ *+' conftest.er1 >conftest.err
22524 rm -f conftest.er1
22525 cat conftest.err >&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); } &&
22528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; } &&
22534 { ac_try='test -s conftest.$ac_objext'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; }; then
22540 ac_header_compiler=yes
22541 else
22542 echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22544
22545 ac_header_compiler=no
22546 fi
22547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22549 echo "${ECHO_T}$ac_header_compiler" >&6
22550
22551 # Is the header present?
22552 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 #include <$ac_header>
22561 _ACEOF
22562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22564 ac_status=$?
22565 grep -v '^ *+' conftest.er1 >conftest.err
22566 rm -f conftest.er1
22567 cat conftest.err >&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } >/dev/null; then
22570 if test -s conftest.err; then
22571 ac_cpp_err=$ac_cxx_preproc_warn_flag
22572 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22573 else
22574 ac_cpp_err=
22575 fi
22576 else
22577 ac_cpp_err=yes
22578 fi
22579 if test -z "$ac_cpp_err"; then
22580 ac_header_preproc=yes
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 ac_header_preproc=no
22586 fi
22587 rm -f conftest.err conftest.$ac_ext
22588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22589 echo "${ECHO_T}$ac_header_preproc" >&6
22590
22591 # So? What about this header?
22592 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22593 yes:no: )
22594 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22595 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22597 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22598 ac_header_preproc=yes
22599 ;;
22600 no:yes:* )
22601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22605 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22606 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22607 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22608 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22610 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22611 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22612 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22613 (
22614 cat <<\_ASBOX
22615 ## ----------------------------------------- ##
22616 ## Report this to wx-dev@lists.wxwidgets.org ##
22617 ## ----------------------------------------- ##
22618 _ASBOX
22619 ) |
22620 sed "s/^/$as_me: WARNING: /" >&2
22621 ;;
22622 esac
22623 echo "$as_me:$LINENO: checking for $ac_header" >&5
22624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 else
22628 eval "$as_ac_Header=\$ac_header_preproc"
22629 fi
22630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22632
22633 fi
22634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22635 cat >>confdefs.h <<_ACEOF
22636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22637 _ACEOF
22638
22639 fi
22640
22641 done
22642
22643
22644 if test "$ac_cv_header_iostream" = "yes" ; then
22645 :
22646 else
22647 cat >>confdefs.h <<\_ACEOF
22648 #define wxUSE_IOSTREAMH 1
22649 _ACEOF
22650
22651 fi
22652
22653 ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658
22659
22660
22661
22662 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22663 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22664 if test "${wx_cv_cpp_bool+set}" = set; then
22665 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 else
22667
22668
22669
22670 ac_ext=cc
22671 ac_cpp='$CXXCPP $CPPFLAGS'
22672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22675
22676
22677 cat >conftest.$ac_ext <<_ACEOF
22678 /* confdefs.h. */
22679 _ACEOF
22680 cat confdefs.h >>conftest.$ac_ext
22681 cat >>conftest.$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683
22684
22685 int
22686 main ()
22687 {
22688
22689 bool b = true;
22690
22691 return 0;
22692
22693 ;
22694 return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22699 (eval $ac_compile) 2>conftest.er1
22700 ac_status=$?
22701 grep -v '^ *+' conftest.er1 >conftest.err
22702 rm -f conftest.er1
22703 cat conftest.err >&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } &&
22706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22709 ac_status=$?
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; } &&
22712 { ac_try='test -s conftest.$ac_objext'
22713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22714 (eval $ac_try) 2>&5
22715 ac_status=$?
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); }; }; then
22718
22719 wx_cv_cpp_bool=yes
22720
22721 else
22722 echo "$as_me: failed program was:" >&5
22723 sed 's/^/| /' conftest.$ac_ext >&5
22724
22725
22726 wx_cv_cpp_bool=no
22727
22728
22729 fi
22730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22731
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22737
22738
22739 fi
22740 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22741 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22742
22743 if test "$wx_cv_cpp_bool" = "yes"; then
22744 cat >>confdefs.h <<\_ACEOF
22745 #define HAVE_BOOL 1
22746 _ACEOF
22747
22748 fi
22749
22750
22751
22752 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22753 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22754 if test "${wx_cv_explicit+set}" = set; then
22755 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 else
22757
22758
22759
22760 ac_ext=cc
22761 ac_cpp='$CXXCPP $CPPFLAGS'
22762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22765
22766
22767 cat >conftest.$ac_ext <<_ACEOF
22768 /* confdefs.h. */
22769 _ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773
22774 class Foo { public: explicit Foo(int) {} };
22775
22776 int
22777 main ()
22778 {
22779
22780 return 0;
22781
22782 ;
22783 return 0;
22784 }
22785 _ACEOF
22786 rm -f conftest.$ac_objext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22788 (eval $ac_compile) 2>conftest.er1
22789 ac_status=$?
22790 grep -v '^ *+' conftest.er1 >conftest.err
22791 rm -f conftest.er1
22792 cat conftest.err >&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try='test -s conftest.$ac_objext'
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; }; then
22807
22808 cat >conftest.$ac_ext <<_ACEOF
22809 /* confdefs.h. */
22810 _ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814
22815 class Foo { public: explicit Foo(int) {} };
22816 static void TakeFoo(const Foo& foo) { }
22817
22818 int
22819 main ()
22820 {
22821
22822 TakeFoo(17);
22823 return 0;
22824
22825 ;
22826 return 0;
22827 }
22828 _ACEOF
22829 rm -f conftest.$ac_objext
22830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22831 (eval $ac_compile) 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } &&
22838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22841 ac_status=$?
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; } &&
22844 { ac_try='test -s conftest.$ac_objext'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22847 ac_status=$?
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; }; then
22850 wx_cv_explicit=no
22851 else
22852 echo "$as_me: failed program was:" >&5
22853 sed 's/^/| /' conftest.$ac_ext >&5
22854
22855 wx_cv_explicit=yes
22856
22857 fi
22858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22859
22860 else
22861 echo "$as_me: failed program was:" >&5
22862 sed 's/^/| /' conftest.$ac_ext >&5
22863
22864 wx_cv_explicit=no
22865
22866 fi
22867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22868
22869 ac_ext=c
22870 ac_cpp='$CPP $CPPFLAGS'
22871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22874
22875
22876 fi
22877 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22878 echo "${ECHO_T}$wx_cv_explicit" >&6
22879
22880 if test "$wx_cv_explicit" = "yes"; then
22881 cat >>confdefs.h <<\_ACEOF
22882 #define HAVE_EXPLICIT 1
22883 _ACEOF
22884
22885 fi
22886
22887
22888 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22889 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22890 if test "${ac_cv_cxx_const_cast+set}" = set; then
22891 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 else
22893
22894
22895 ac_ext=cc
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900
22901 cat >conftest.$ac_ext <<_ACEOF
22902 /* confdefs.h. */
22903 _ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907
22908 int
22909 main ()
22910 {
22911 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 rm -f conftest.$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try='test -s conftest.$ac_objext'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_cv_cxx_const_cast=yes
22938 else
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 ac_cv_cxx_const_cast=no
22943 fi
22944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22945 ac_ext=c
22946 ac_cpp='$CPP $CPPFLAGS'
22947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22950
22951
22952 fi
22953 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22954 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22955 if test "$ac_cv_cxx_const_cast" = yes; then
22956
22957 cat >>confdefs.h <<\_ACEOF
22958 #define HAVE_CONST_CAST
22959 _ACEOF
22960
22961 fi
22962
22963 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22964 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22965 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22967 else
22968
22969
22970 ac_ext=cc
22971 ac_cpp='$CXXCPP $CPPFLAGS'
22972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22975
22976 cat >conftest.$ac_ext <<_ACEOF
22977 /* confdefs.h. */
22978 _ACEOF
22979 cat confdefs.h >>conftest.$ac_ext
22980 cat >>conftest.$ac_ext <<_ACEOF
22981 /* end confdefs.h. */
22982 #include <typeinfo>
22983 class Base { public : Base () {} virtual void f () = 0;};
22984 class Derived : public Base { public : Derived () {} virtual void f () {} };
22985 class Unrelated { public : Unrelated () {} };
22986 int g (Unrelated&) { return 0; }
22987 int
22988 main ()
22989 {
22990
22991 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22992 ;
22993 return 0;
22994 }
22995 _ACEOF
22996 rm -f conftest.$ac_objext
22997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22998 (eval $ac_compile) 2>conftest.er1
22999 ac_status=$?
23000 grep -v '^ *+' conftest.er1 >conftest.err
23001 rm -f conftest.er1
23002 cat conftest.err >&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } &&
23005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23008 ac_status=$?
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; } &&
23011 { ac_try='test -s conftest.$ac_objext'
23012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013 (eval $ac_try) 2>&5
23014 ac_status=$?
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; }; then
23017 ac_cv_cxx_reinterpret_cast=yes
23018 else
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.$ac_ext >&5
23021
23022 ac_cv_cxx_reinterpret_cast=no
23023 fi
23024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23025 ac_ext=c
23026 ac_cpp='$CPP $CPPFLAGS'
23027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23030
23031
23032 fi
23033 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23034 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23035 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23036
23037 cat >>confdefs.h <<\_ACEOF
23038 #define HAVE_REINTERPRET_CAST
23039 _ACEOF
23040
23041 fi
23042
23043 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23044 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23045 if test "${ac_cv_cxx_static_cast+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 else
23048
23049
23050 ac_ext=cc
23051 ac_cpp='$CXXCPP $CPPFLAGS'
23052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055
23056 cat >conftest.$ac_ext <<_ACEOF
23057 /* confdefs.h. */
23058 _ACEOF
23059 cat confdefs.h >>conftest.$ac_ext
23060 cat >>conftest.$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 #include <typeinfo>
23063 class Base { public : Base () {} virtual void f () = 0; };
23064 class Derived : public Base { public : Derived () {} virtual void f () {} };
23065 int g (Derived&) { return 0; }
23066 int
23067 main ()
23068 {
23069
23070 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23071 ;
23072 return 0;
23073 }
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077 (eval $ac_compile) 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } &&
23084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; } &&
23090 { ac_try='test -s conftest.$ac_objext'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23093 ac_status=$?
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; }; then
23096 ac_cv_cxx_static_cast=yes
23097 else
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.$ac_ext >&5
23100
23101 ac_cv_cxx_static_cast=no
23102 fi
23103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23104 ac_ext=c
23105 ac_cpp='$CPP $CPPFLAGS'
23106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23109
23110
23111 fi
23112 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23113 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23114 if test "$ac_cv_cxx_static_cast" = yes; then
23115
23116 cat >>confdefs.h <<\_ACEOF
23117 #define HAVE_STATIC_CAST
23118 _ACEOF
23119
23120 fi
23121
23122
23123 if test "x$SUNCXX" = xyes; then
23124 CXXFLAGS="-features=tmplife $CXXFLAGS"
23125 fi
23126
23127 if test "x$SUNCC" = xyes; then
23128 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23129 fi
23130
23131 if test "x$SGICC" = "xyes"; then
23132 CFLAGS="-woff 3970 $CFLAGS"
23133 fi
23134 if test "x$SGICXX" = "xyes"; then
23135 CXXFLAGS="-woff 3970 $CXXFLAGS"
23136 fi
23137
23138 if test "x$HPCC" = "xyes"; then
23139 CFLAGS="+W 2011,2450 $CFLAGS"
23140 fi
23141 if test "x$HPCXX" = "xyes"; then
23142 CXXFLAGS="+W 2340 $CXXFLAGS"
23143 fi
23144
23145 if test "x$COMPAQCXX" = "xyes"; then
23146 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23147 fi
23148
23149 ac_ext=cc
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154
23155
23156 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23157 if test "$wxUSE_UNICODE" = "yes"; then
23158 std_string="std::wstring"
23159 char_type="wchar_t"
23160 else
23161 std_string="std::string"
23162 char_type="char"
23163 fi
23164
23165 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23166 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23167 if test "${wx_cv_class_stdstring+set}" = set; then
23168 echo $ECHO_N "(cached) $ECHO_C" >&6
23169 else
23170
23171 cat >conftest.$ac_ext <<_ACEOF
23172 /* confdefs.h. */
23173 _ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177 #include <string>
23178 int
23179 main ()
23180 {
23181 $std_string foo;
23182 ;
23183 return 0;
23184 }
23185 _ACEOF
23186 rm -f conftest.$ac_objext
23187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23188 (eval $ac_compile) 2>conftest.er1
23189 ac_status=$?
23190 grep -v '^ *+' conftest.er1 >conftest.err
23191 rm -f conftest.er1
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } &&
23195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23198 ac_status=$?
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; } &&
23201 { ac_try='test -s conftest.$ac_objext'
23202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23203 (eval $ac_try) 2>&5
23204 ac_status=$?
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); }; }; then
23207 wx_cv_class_stdstring=yes
23208 else
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.$ac_ext >&5
23211
23212 wx_cv_class_stdstring=no
23213
23214 fi
23215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23216
23217
23218 fi
23219 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23220 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23221
23222 if test "$wx_cv_class_stdstring" = yes; then
23223 if test "$wxUSE_UNICODE" = "yes"; then
23224 cat >>confdefs.h <<\_ACEOF
23225 #define HAVE_STD_WSTRING 1
23226 _ACEOF
23227
23228 fi
23229 else
23230 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23231 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23232 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23233 echo $ECHO_N "(cached) $ECHO_C" >&6
23234 else
23235
23236 cat >conftest.$ac_ext <<_ACEOF
23237 /* confdefs.h. */
23238 _ACEOF
23239 cat confdefs.h >>conftest.$ac_ext
23240 cat >>conftest.$ac_ext <<_ACEOF
23241 /* end confdefs.h. */
23242
23243 #ifdef HAVE_WCHAR_H
23244 # ifdef __CYGWIN__
23245 # include <stddef.h>
23246 # endif
23247 # include <wchar.h>
23248 #endif
23249 #ifdef HAVE_STDLIB_H
23250 # include <stdlib.h>
23251 #endif
23252 #include <stdio.h>
23253 #include <string>
23254
23255 int
23256 main ()
23257 {
23258 std::basic_string<$char_type> foo;
23259 const $char_type* dummy = foo.c_str();
23260 ;
23261 return 0;
23262 }
23263 _ACEOF
23264 rm -f conftest.$ac_objext
23265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23266 (eval $ac_compile) 2>conftest.er1
23267 ac_status=$?
23268 grep -v '^ *+' conftest.er1 >conftest.err
23269 rm -f conftest.er1
23270 cat conftest.err >&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); } &&
23273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23275 (eval $ac_try) 2>&5
23276 ac_status=$?
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); }; } &&
23279 { ac_try='test -s conftest.$ac_objext'
23280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23281 (eval $ac_try) 2>&5
23282 ac_status=$?
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); }; }; then
23285 wx_cv_class_stdbasicstring=yes
23286 else
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23289
23290 wx_cv_class_stdbasicstring=no
23291
23292 fi
23293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23294
23295
23296 fi
23297 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23298 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23299
23300 if test "$wx_cv_class_stdbasicstring" != yes; then
23301 if test "$wxUSE_STL" = "yes"; then
23302 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23303 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23304 { (exit 1); exit 1; }; }
23305 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23306 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23307 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23308 { (exit 1); exit 1; }; }
23309 else
23310 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23311 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23312 wxUSE_STD_STRING=no
23313 fi
23314 fi
23315 fi
23316 fi
23317
23318 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23319 echo "$as_me:$LINENO: checking for std::istream" >&5
23320 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23321 if test "${ac_cv_type_std__istream+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 cat >conftest.$ac_ext <<_ACEOF
23325 /* confdefs.h. */
23326 _ACEOF
23327 cat confdefs.h >>conftest.$ac_ext
23328 cat >>conftest.$ac_ext <<_ACEOF
23329 /* end confdefs.h. */
23330 #include <iostream>
23331
23332 int
23333 main ()
23334 {
23335 if ((std::istream *) 0)
23336 return 0;
23337 if (sizeof (std::istream))
23338 return 0;
23339 ;
23340 return 0;
23341 }
23342 _ACEOF
23343 rm -f conftest.$ac_objext
23344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23345 (eval $ac_compile) 2>conftest.er1
23346 ac_status=$?
23347 grep -v '^ *+' conftest.er1 >conftest.err
23348 rm -f conftest.er1
23349 cat conftest.err >&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); } &&
23352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23354 (eval $ac_try) 2>&5
23355 ac_status=$?
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; } &&
23358 { ac_try='test -s conftest.$ac_objext'
23359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360 (eval $ac_try) 2>&5
23361 ac_status=$?
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); }; }; then
23364 ac_cv_type_std__istream=yes
23365 else
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23368
23369 ac_cv_type_std__istream=no
23370 fi
23371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23372 fi
23373 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23374 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23375 if test $ac_cv_type_std__istream = yes; then
23376
23377 cat >>confdefs.h <<_ACEOF
23378 #define HAVE_STD__ISTREAM 1
23379 _ACEOF
23380
23381
23382 else
23383 wxUSE_STD_IOSTREAM=no
23384 fi
23385 echo "$as_me:$LINENO: checking for std::ostream" >&5
23386 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23387 if test "${ac_cv_type_std__ostream+set}" = set; then
23388 echo $ECHO_N "(cached) $ECHO_C" >&6
23389 else
23390 cat >conftest.$ac_ext <<_ACEOF
23391 /* confdefs.h. */
23392 _ACEOF
23393 cat confdefs.h >>conftest.$ac_ext
23394 cat >>conftest.$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23396 #include <iostream>
23397
23398 int
23399 main ()
23400 {
23401 if ((std::ostream *) 0)
23402 return 0;
23403 if (sizeof (std::ostream))
23404 return 0;
23405 ;
23406 return 0;
23407 }
23408 _ACEOF
23409 rm -f conftest.$ac_objext
23410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23411 (eval $ac_compile) 2>conftest.er1
23412 ac_status=$?
23413 grep -v '^ *+' conftest.er1 >conftest.err
23414 rm -f conftest.er1
23415 cat conftest.err >&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); } &&
23418 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23420 (eval $ac_try) 2>&5
23421 ac_status=$?
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); }; } &&
23424 { ac_try='test -s conftest.$ac_objext'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; }; then
23430 ac_cv_type_std__ostream=yes
23431 else
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23434
23435 ac_cv_type_std__ostream=no
23436 fi
23437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23438 fi
23439 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23440 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23441 if test $ac_cv_type_std__ostream = yes; then
23442
23443 cat >>confdefs.h <<_ACEOF
23444 #define HAVE_STD__OSTREAM 1
23445 _ACEOF
23446
23447
23448 else
23449 wxUSE_STD_IOSTREAM=no
23450 fi
23451
23452
23453 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23454 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23455 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23456 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23457 { (exit 1); exit 1; }; }
23458 else
23459 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23460 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23461 fi
23462 fi
23463 fi
23464
23465 if test "$wxUSE_STL" = "yes"; then
23466 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23467 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23468 if test "${wx_cv_lib_stl+set}" = set; then
23469 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 else
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <string>
23478 #include <functional>
23479 #include <algorithm>
23480 #include <vector>
23481 #include <list>
23482 int
23483 main ()
23484 {
23485 std::vector<int> moo;
23486 std::list<int> foo;
23487 std::vector<int>::iterator it =
23488 std::find_if(moo.begin(), moo.end(),
23489 std::bind2nd(std::less<int>(), 3));
23490 ;
23491 return 0;
23492 }
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23496 (eval $ac_compile) 2>conftest.er1
23497 ac_status=$?
23498 grep -v '^ *+' conftest.er1 >conftest.err
23499 rm -f conftest.er1
23500 cat conftest.err >&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } &&
23503 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 (eval $ac_try) 2>&5
23506 ac_status=$?
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; } &&
23509 { ac_try='test -s conftest.$ac_objext'
23510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23511 (eval $ac_try) 2>&5
23512 ac_status=$?
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); }; }; then
23515 wx_cv_lib_stl=yes
23516 else
23517 echo "$as_me: failed program was:" >&5
23518 sed 's/^/| /' conftest.$ac_ext >&5
23519
23520 wx_cv_lib_stl=no
23521
23522 fi
23523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23524
23525 fi
23526 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23527 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23528
23529 if test "$wx_cv_lib_stl" != yes; then
23530 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23531 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23532 { (exit 1); exit 1; }; }
23533 fi
23534
23535 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23536 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23537 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23538 echo $ECHO_N "(cached) $ECHO_C" >&6
23539 else
23540 cat >conftest.$ac_ext <<_ACEOF
23541 /* confdefs.h. */
23542 _ACEOF
23543 cat confdefs.h >>conftest.$ac_ext
23544 cat >>conftest.$ac_ext <<_ACEOF
23545 /* end confdefs.h. */
23546 #include <string>
23547 int
23548 main ()
23549 {
23550 std::string foo, bar;
23551 foo.compare(bar);
23552 foo.compare(1, 1, bar);
23553 foo.compare(1, 1, bar, 1, 1);
23554 foo.compare("");
23555 foo.compare(1, 1, "");
23556 foo.compare(1, 1, "", 2);
23557 ;
23558 return 0;
23559 }
23560 _ACEOF
23561 rm -f conftest.$ac_objext
23562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23563 (eval $ac_compile) 2>conftest.er1
23564 ac_status=$?
23565 grep -v '^ *+' conftest.er1 >conftest.err
23566 rm -f conftest.er1
23567 cat conftest.err >&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); } &&
23570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; } &&
23576 { ac_try='test -s conftest.$ac_objext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23579 ac_status=$?
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23582 wx_cv_func_stdstring_compare=yes
23583 else
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.$ac_ext >&5
23586
23587 wx_cv_func_stdstring_compare=no
23588
23589 fi
23590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23591
23592 fi
23593 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23594 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23595
23596 if test "$wx_cv_func_stdstring_compare" = yes; then
23597 cat >>confdefs.h <<\_ACEOF
23598 #define HAVE_STD_STRING_COMPARE 1
23599 _ACEOF
23600
23601 fi
23602
23603 if test "${ac_cv_header_hash_map+set}" = set; then
23604 echo "$as_me:$LINENO: checking for hash_map" >&5
23605 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23606 if test "${ac_cv_header_hash_map+set}" = set; then
23607 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 fi
23609 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23610 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23611 else
23612 # Is the header compilable?
23613 echo "$as_me:$LINENO: checking hash_map usability" >&5
23614 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23615 cat >conftest.$ac_ext <<_ACEOF
23616 /* confdefs.h. */
23617 _ACEOF
23618 cat confdefs.h >>conftest.$ac_ext
23619 cat >>conftest.$ac_ext <<_ACEOF
23620 /* end confdefs.h. */
23621 $ac_includes_default
23622 #include <hash_map>
23623 _ACEOF
23624 rm -f conftest.$ac_objext
23625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23626 (eval $ac_compile) 2>conftest.er1
23627 ac_status=$?
23628 grep -v '^ *+' conftest.er1 >conftest.err
23629 rm -f conftest.er1
23630 cat conftest.err >&5
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); } &&
23633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23635 (eval $ac_try) 2>&5
23636 ac_status=$?
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); }; } &&
23639 { ac_try='test -s conftest.$ac_objext'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23642 ac_status=$?
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23645 ac_header_compiler=yes
23646 else
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.$ac_ext >&5
23649
23650 ac_header_compiler=no
23651 fi
23652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23654 echo "${ECHO_T}$ac_header_compiler" >&6
23655
23656 # Is the header present?
23657 echo "$as_me:$LINENO: checking hash_map presence" >&5
23658 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 #include <hash_map>
23666 _ACEOF
23667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23669 ac_status=$?
23670 grep -v '^ *+' conftest.er1 >conftest.err
23671 rm -f conftest.er1
23672 cat conftest.err >&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } >/dev/null; then
23675 if test -s conftest.err; then
23676 ac_cpp_err=$ac_cxx_preproc_warn_flag
23677 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23678 else
23679 ac_cpp_err=
23680 fi
23681 else
23682 ac_cpp_err=yes
23683 fi
23684 if test -z "$ac_cpp_err"; then
23685 ac_header_preproc=yes
23686 else
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.$ac_ext >&5
23689
23690 ac_header_preproc=no
23691 fi
23692 rm -f conftest.err conftest.$ac_ext
23693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23694 echo "${ECHO_T}$ac_header_preproc" >&6
23695
23696 # So? What about this header?
23697 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23698 yes:no: )
23699 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23700 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23701 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23702 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23703 ac_header_preproc=yes
23704 ;;
23705 no:yes:* )
23706 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23707 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23708 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23709 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23710 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23711 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23712 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23713 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23714 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23715 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23716 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23717 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23718 (
23719 cat <<\_ASBOX
23720 ## ----------------------------------------- ##
23721 ## Report this to wx-dev@lists.wxwidgets.org ##
23722 ## ----------------------------------------- ##
23723 _ASBOX
23724 ) |
23725 sed "s/^/$as_me: WARNING: /" >&2
23726 ;;
23727 esac
23728 echo "$as_me:$LINENO: checking for hash_map" >&5
23729 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23730 if test "${ac_cv_header_hash_map+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733 ac_cv_header_hash_map=$ac_header_preproc
23734 fi
23735 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23736 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23737
23738 fi
23739 if test $ac_cv_header_hash_map = yes; then
23740 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23741 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23742 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 else
23745 cat >conftest.$ac_ext <<_ACEOF
23746 /* confdefs.h. */
23747 _ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 #include <hash_map>
23752 #include <hash_set>
23753 int
23754 main ()
23755 {
23756 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23757 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23758 ;
23759 return 0;
23760 }
23761 _ACEOF
23762 rm -f conftest.$ac_objext
23763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23764 (eval $ac_compile) 2>conftest.er1
23765 ac_status=$?
23766 grep -v '^ *+' conftest.er1 >conftest.err
23767 rm -f conftest.er1
23768 cat conftest.err >&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23774 ac_status=$?
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; } &&
23777 { ac_try='test -s conftest.$ac_objext'
23778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23779 (eval $ac_try) 2>&5
23780 ac_status=$?
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); }; }; then
23783 wx_cv_class_stdhashmapset=yes
23784 else
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23787
23788 wx_cv_class_stdhashmapset=no
23789 fi
23790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23791
23792
23793 fi
23794 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23795 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23796
23797 fi
23798
23799
23800
23801 if test "$wx_cv_class_stdhashmapset" = yes; then
23802 cat >>confdefs.h <<\_ACEOF
23803 #define HAVE_HASH_MAP 1
23804 _ACEOF
23805
23806 cat >>confdefs.h <<\_ACEOF
23807 #define HAVE_STD_HASH_MAP 1
23808 _ACEOF
23809
23810 fi
23811
23812 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23813 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23814 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23815 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23816 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 fi
23818 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23819 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23820 else
23821 # Is the header compilable?
23822 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23823 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23824 cat >conftest.$ac_ext <<_ACEOF
23825 /* confdefs.h. */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 $ac_includes_default
23831 #include <ext/hash_map>
23832 _ACEOF
23833 rm -f conftest.$ac_objext
23834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23835 (eval $ac_compile) 2>conftest.er1
23836 ac_status=$?
23837 grep -v '^ *+' conftest.er1 >conftest.err
23838 rm -f conftest.er1
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } &&
23842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23844 (eval $ac_try) 2>&5
23845 ac_status=$?
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); }; } &&
23848 { ac_try='test -s conftest.$ac_objext'
23849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23850 (eval $ac_try) 2>&5
23851 ac_status=$?
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; }; then
23854 ac_header_compiler=yes
23855 else
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23858
23859 ac_header_compiler=no
23860 fi
23861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23863 echo "${ECHO_T}$ac_header_compiler" >&6
23864
23865 # Is the header present?
23866 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23867 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 #include <ext/hash_map>
23875 _ACEOF
23876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23878 ac_status=$?
23879 grep -v '^ *+' conftest.er1 >conftest.err
23880 rm -f conftest.er1
23881 cat conftest.err >&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } >/dev/null; then
23884 if test -s conftest.err; then
23885 ac_cpp_err=$ac_cxx_preproc_warn_flag
23886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23887 else
23888 ac_cpp_err=
23889 fi
23890 else
23891 ac_cpp_err=yes
23892 fi
23893 if test -z "$ac_cpp_err"; then
23894 ac_header_preproc=yes
23895 else
23896 echo "$as_me: failed program was:" >&5
23897 sed 's/^/| /' conftest.$ac_ext >&5
23898
23899 ac_header_preproc=no
23900 fi
23901 rm -f conftest.err conftest.$ac_ext
23902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23903 echo "${ECHO_T}$ac_header_preproc" >&6
23904
23905 # So? What about this header?
23906 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23907 yes:no: )
23908 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23909 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23910 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23911 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23912 ac_header_preproc=yes
23913 ;;
23914 no:yes:* )
23915 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23916 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23917 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23918 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23919 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23920 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23921 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23922 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23923 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23924 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23925 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23926 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23927 (
23928 cat <<\_ASBOX
23929 ## ----------------------------------------- ##
23930 ## Report this to wx-dev@lists.wxwidgets.org ##
23931 ## ----------------------------------------- ##
23932 _ASBOX
23933 ) |
23934 sed "s/^/$as_me: WARNING: /" >&2
23935 ;;
23936 esac
23937 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23938 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23939 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 else
23942 ac_cv_header_ext_hash_map=$ac_header_preproc
23943 fi
23944 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23945 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23946
23947 fi
23948 if test $ac_cv_header_ext_hash_map = yes; then
23949 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23950 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23951 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 else
23954 cat >conftest.$ac_ext <<_ACEOF
23955 /* confdefs.h. */
23956 _ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23960 #include <ext/hash_map>
23961 #include <ext/hash_set>
23962 int
23963 main ()
23964 {
23965 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23966 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23967 ;
23968 return 0;
23969 }
23970 _ACEOF
23971 rm -f conftest.$ac_objext
23972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23973 (eval $ac_compile) 2>conftest.er1
23974 ac_status=$?
23975 grep -v '^ *+' conftest.er1 >conftest.err
23976 rm -f conftest.er1
23977 cat conftest.err >&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23983 ac_status=$?
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; } &&
23986 { ac_try='test -s conftest.$ac_objext'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23989 ac_status=$?
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 wx_cv_class_gnuhashmapset=yes
23993 else
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
23996
23997 wx_cv_class_gnuhashmapset=no
23998 fi
23999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24000
24001
24002 fi
24003 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24004 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24005
24006 fi
24007
24008
24009
24010 if test "$wx_cv_class_gnuhashmapset" = yes; then
24011 cat >>confdefs.h <<\_ACEOF
24012 #define HAVE_EXT_HASH_MAP 1
24013 _ACEOF
24014
24015 cat >>confdefs.h <<\_ACEOF
24016 #define HAVE_GNU_CXX_HASH_MAP 1
24017 _ACEOF
24018
24019 fi
24020 fi
24021
24022 ac_ext=c
24023 ac_cpp='$CPP $CPPFLAGS'
24024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24027
24028
24029
24030 SEARCH_INCLUDE="\
24031 /usr/local/include \
24032 \
24033 /usr/Motif-2.1/include \
24034 /usr/Motif-1.2/include \
24035 /usr/include/Motif1.2 \
24036 \
24037 /usr/dt/include \
24038 /usr/openwin/include \
24039 \
24040 /usr/include/Xm \
24041 \
24042 /usr/X11R6/include \
24043 /usr/X11R6.4/include \
24044 /usr/X11R5/include \
24045 /usr/X11R4/include \
24046 \
24047 /usr/include/X11R6 \
24048 /usr/include/X11R5 \
24049 /usr/include/X11R4 \
24050 \
24051 /usr/local/X11R6/include \
24052 /usr/local/X11R5/include \
24053 /usr/local/X11R4/include \
24054 \
24055 /usr/local/include/X11R6 \
24056 /usr/local/include/X11R5 \
24057 /usr/local/include/X11R4 \
24058 \
24059 /usr/X11/include \
24060 /usr/include/X11 \
24061 /usr/local/X11/include \
24062 /usr/local/include/X11 \
24063 \
24064 /usr/XFree86/include/X11 \
24065 /usr/pkg/include \
24066 \
24067 /usr/openwin/share/include"
24068
24069 echo "$as_me:$LINENO: checking for libraries directory" >&5
24070 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24071
24072 case "${host}" in
24073 *-*-irix6* )
24074 if test "${wx_cv_std_libpath+set}" = set; then
24075 echo $ECHO_N "(cached) $ECHO_C" >&6
24076 else
24077
24078 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24079 for e in a so sl dylib dll.a; do
24080 libc="$d/libc.$e"
24081 if test -f $libc; then
24082 save_LIBS="$LIBS"
24083 LIBS="$libc"
24084 cat >conftest.$ac_ext <<_ACEOF
24085 int main() { return 0; }
24086 _ACEOF
24087 rm -f conftest.$ac_objext conftest$ac_exeext
24088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24089 (eval $ac_link) 2>conftest.er1
24090 ac_status=$?
24091 grep -v '^ *+' conftest.er1 >conftest.err
24092 rm -f conftest.er1
24093 cat conftest.err >&5
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); } &&
24096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24099 ac_status=$?
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; } &&
24102 { ac_try='test -s conftest$ac_exeext'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; }; then
24108 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24109 else
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24112
24113 fi
24114 rm -f conftest.err conftest.$ac_objext \
24115 conftest$ac_exeext conftest.$ac_ext
24116 LIBS="$save_LIBS"
24117 if test "x$wx_cv_std_libpath" != "x"; then
24118 break 2
24119 fi
24120 fi
24121 done
24122 done
24123 if test "x$wx_cv_std_libpath" = "x"; then
24124 wx_cv_std_libpath="lib"
24125 fi
24126
24127
24128 fi
24129
24130 ;;
24131
24132 *-*-solaris2* )
24133 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24134 wx_cv_std_libpath="lib/64"
24135 else
24136 wx_cv_std_libpath="lib"
24137 fi
24138 ;;
24139
24140 *-*-linux* )
24141 if test "$ac_cv_sizeof_void_p" = 8 -a \
24142 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24143 wx_cv_std_libpath="lib64"
24144 else
24145 wx_cv_std_libpath="lib"
24146 fi
24147 ;;
24148
24149 *)
24150 wx_cv_std_libpath="lib";
24151 ;;
24152 esac
24153
24154 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24155 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24156
24157 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24158
24159 if test "$build" != "$host" -a "$GCC" = yes; then
24160 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24161 cross_root=`dirname $cross_root`
24162 cross_root=`dirname $cross_root`
24163
24164 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24165 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24166 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24167
24168 if test -z "$PKG_CONFIG_PATH"; then
24169 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24170 export PKG_CONFIG_PATH
24171 fi
24172
24173 if test -z "$x_includes" -o "$x_includes" = NONE; then
24174
24175 ac_find_includes=
24176 for ac_dir in $SEARCH_INCLUDE /usr/include;
24177 do
24178 if test -f "$ac_dir/X11/Intrinsic.h"; then
24179 ac_find_includes=$ac_dir
24180 break
24181 fi
24182 done
24183
24184 x_includes=$ac_find_includes
24185 fi
24186 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24187
24188 ac_find_libraries=
24189 for ac_dir in $SEARCH_LIB;
24190 do
24191 for ac_extension in a so sl dylib dll.a; do
24192 if test -f "$ac_dir/libXt.$ac_extension"; then
24193 ac_find_libraries=$ac_dir
24194 break 2
24195 fi
24196 done
24197 done
24198
24199 x_libraries=$ac_find_libraries
24200 fi
24201 fi
24202 fi
24203
24204
24205 cat >confcache <<\_ACEOF
24206 # This file is a shell script that caches the results of configure
24207 # tests run on this system so they can be shared between configure
24208 # scripts and configure runs, see configure's option --config-cache.
24209 # It is not useful on other systems. If it contains results you don't
24210 # want to keep, you may remove or edit it.
24211 #
24212 # config.status only pays attention to the cache file if you give it
24213 # the --recheck option to rerun configure.
24214 #
24215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24217 # following values.
24218
24219 _ACEOF
24220
24221 # The following way of writing the cache mishandles newlines in values,
24222 # but we know of no workaround that is simple, portable, and efficient.
24223 # So, don't put newlines in cache variables' values.
24224 # Ultrix sh set writes to stderr and can't be redirected directly,
24225 # and sets the high bit in the cache file unless we assign to the vars.
24226 {
24227 (set) 2>&1 |
24228 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24229 *ac_space=\ *)
24230 # `set' does not quote correctly, so add quotes (double-quote
24231 # substitution turns \\\\ into \\, and sed turns \\ into \).
24232 sed -n \
24233 "s/'/'\\\\''/g;
24234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24235 ;;
24236 *)
24237 # `set' quotes correctly as required by POSIX, so do not add quotes.
24238 sed -n \
24239 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24240 ;;
24241 esac;
24242 } |
24243 sed '
24244 t clear
24245 : clear
24246 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24247 t end
24248 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24249 : end' >>confcache
24250 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24251 if test -w $cache_file; then
24252 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24253 cat confcache >$cache_file
24254 else
24255 echo "not updating unwritable cache $cache_file"
24256 fi
24257 fi
24258 rm -f confcache
24259
24260 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24261 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24262 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24263 if test "${wx_cv_lib_glibc21+set}" = set; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24265 else
24266
24267 cat >conftest.$ac_ext <<_ACEOF
24268 /* confdefs.h. */
24269 _ACEOF
24270 cat confdefs.h >>conftest.$ac_ext
24271 cat >>conftest.$ac_ext <<_ACEOF
24272 /* end confdefs.h. */
24273 #include <features.h>
24274 int
24275 main ()
24276 {
24277
24278 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24279 not glibc 2.1
24280 #endif
24281
24282 ;
24283 return 0;
24284 }
24285 _ACEOF
24286 rm -f conftest.$ac_objext
24287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24288 (eval $ac_compile) 2>conftest.er1
24289 ac_status=$?
24290 grep -v '^ *+' conftest.er1 >conftest.err
24291 rm -f conftest.er1
24292 cat conftest.err >&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } &&
24295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24297 (eval $ac_try) 2>&5
24298 ac_status=$?
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); }; } &&
24301 { ac_try='test -s conftest.$ac_objext'
24302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24303 (eval $ac_try) 2>&5
24304 ac_status=$?
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); }; }; then
24307
24308 wx_cv_lib_glibc21=yes
24309
24310 else
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24313
24314
24315 wx_cv_lib_glibc21=no
24316
24317
24318 fi
24319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24320
24321 fi
24322 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24323 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24324 if test "$wx_cv_lib_glibc21" = "yes"; then
24325 cat >>confdefs.h <<\_ACEOF
24326 #define wxHAVE_GLIBC2 1
24327 _ACEOF
24328
24329 fi
24330 fi
24331
24332 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24333 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24334 cat >>confdefs.h <<\_ACEOF
24335 #define _GNU_SOURCE 1
24336 _ACEOF
24337
24338 fi
24339 fi
24340
24341 have_cos=0
24342 have_floor=0
24343
24344 for ac_func in cos
24345 do
24346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24347 echo "$as_me:$LINENO: checking for $ac_func" >&5
24348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24349 if eval "test \"\${$as_ac_var+set}\" = set"; then
24350 echo $ECHO_N "(cached) $ECHO_C" >&6
24351 else
24352 cat >conftest.$ac_ext <<_ACEOF
24353 /* confdefs.h. */
24354 _ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24360 #define $ac_func innocuous_$ac_func
24361
24362 /* System header to define __stub macros and hopefully few prototypes,
24363 which can conflict with char $ac_func (); below.
24364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24365 <limits.h> exists even on freestanding compilers. */
24366
24367 #ifdef __STDC__
24368 # include <limits.h>
24369 #else
24370 # include <assert.h>
24371 #endif
24372
24373 #undef $ac_func
24374
24375 /* Override any gcc2 internal prototype to avoid an error. */
24376 #ifdef __cplusplus
24377 extern "C"
24378 {
24379 #endif
24380 /* We use char because int might match the return type of a gcc2
24381 builtin and then its argument prototype would still apply. */
24382 char $ac_func ();
24383 /* The GNU C library defines this for functions which it implements
24384 to always fail with ENOSYS. Some functions are actually named
24385 something starting with __ and the normal name is an alias. */
24386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24387 choke me
24388 #else
24389 char (*f) () = $ac_func;
24390 #endif
24391 #ifdef __cplusplus
24392 }
24393 #endif
24394
24395 int
24396 main ()
24397 {
24398 return f != $ac_func;
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 rm -f conftest.$ac_objext conftest$ac_exeext
24404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24405 (eval $ac_link) 2>conftest.er1
24406 ac_status=$?
24407 grep -v '^ *+' conftest.er1 >conftest.err
24408 rm -f conftest.er1
24409 cat conftest.err >&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); } &&
24412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414 (eval $ac_try) 2>&5
24415 ac_status=$?
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); }; } &&
24418 { ac_try='test -s conftest$ac_exeext'
24419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420 (eval $ac_try) 2>&5
24421 ac_status=$?
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; }; then
24424 eval "$as_ac_var=yes"
24425 else
24426 echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24428
24429 eval "$as_ac_var=no"
24430 fi
24431 rm -f conftest.err conftest.$ac_objext \
24432 conftest$ac_exeext conftest.$ac_ext
24433 fi
24434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24436 if test `eval echo '${'$as_ac_var'}'` = yes; then
24437 cat >>confdefs.h <<_ACEOF
24438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24439 _ACEOF
24440 have_cos=1
24441 fi
24442 done
24443
24444
24445 for ac_func in floor
24446 do
24447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24448 echo "$as_me:$LINENO: checking for $ac_func" >&5
24449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24450 if eval "test \"\${$as_ac_var+set}\" = set"; then
24451 echo $ECHO_N "(cached) $ECHO_C" >&6
24452 else
24453 cat >conftest.$ac_ext <<_ACEOF
24454 /* confdefs.h. */
24455 _ACEOF
24456 cat confdefs.h >>conftest.$ac_ext
24457 cat >>conftest.$ac_ext <<_ACEOF
24458 /* end confdefs.h. */
24459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24461 #define $ac_func innocuous_$ac_func
24462
24463 /* System header to define __stub macros and hopefully few prototypes,
24464 which can conflict with char $ac_func (); below.
24465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24466 <limits.h> exists even on freestanding compilers. */
24467
24468 #ifdef __STDC__
24469 # include <limits.h>
24470 #else
24471 # include <assert.h>
24472 #endif
24473
24474 #undef $ac_func
24475
24476 /* Override any gcc2 internal prototype to avoid an error. */
24477 #ifdef __cplusplus
24478 extern "C"
24479 {
24480 #endif
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483 char $ac_func ();
24484 /* The GNU C library defines this for functions which it implements
24485 to always fail with ENOSYS. Some functions are actually named
24486 something starting with __ and the normal name is an alias. */
24487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24488 choke me
24489 #else
24490 char (*f) () = $ac_func;
24491 #endif
24492 #ifdef __cplusplus
24493 }
24494 #endif
24495
24496 int
24497 main ()
24498 {
24499 return f != $ac_func;
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext conftest$ac_exeext
24505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24506 (eval $ac_link) 2>conftest.er1
24507 ac_status=$?
24508 grep -v '^ *+' conftest.er1 >conftest.err
24509 rm -f conftest.er1
24510 cat conftest.err >&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24516 ac_status=$?
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; } &&
24519 { ac_try='test -s conftest$ac_exeext'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24522 ac_status=$?
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; }; then
24525 eval "$as_ac_var=yes"
24526 else
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24529
24530 eval "$as_ac_var=no"
24531 fi
24532 rm -f conftest.err conftest.$ac_objext \
24533 conftest$ac_exeext conftest.$ac_ext
24534 fi
24535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24537 if test `eval echo '${'$as_ac_var'}'` = yes; then
24538 cat >>confdefs.h <<_ACEOF
24539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24540 _ACEOF
24541 have_floor=1
24542 fi
24543 done
24544
24545 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24546 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24547 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24548 echo "$as_me:$LINENO: result: yes" >&5
24549 echo "${ECHO_T}yes" >&6
24550 else
24551 echo "$as_me:$LINENO: result: no" >&5
24552 echo "${ECHO_T}no" >&6
24553 LIBS="$LIBS -lm"
24554 # use different functions to avoid configure caching
24555 have_sin=0
24556 have_ceil=0
24557
24558 for ac_func in sin
24559 do
24560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24561 echo "$as_me:$LINENO: checking for $ac_func" >&5
24562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24563 if eval "test \"\${$as_ac_var+set}\" = set"; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 else
24566 cat >conftest.$ac_ext <<_ACEOF
24567 /* confdefs.h. */
24568 _ACEOF
24569 cat confdefs.h >>conftest.$ac_ext
24570 cat >>conftest.$ac_ext <<_ACEOF
24571 /* end confdefs.h. */
24572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24574 #define $ac_func innocuous_$ac_func
24575
24576 /* System header to define __stub macros and hopefully few prototypes,
24577 which can conflict with char $ac_func (); below.
24578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24579 <limits.h> exists even on freestanding compilers. */
24580
24581 #ifdef __STDC__
24582 # include <limits.h>
24583 #else
24584 # include <assert.h>
24585 #endif
24586
24587 #undef $ac_func
24588
24589 /* Override any gcc2 internal prototype to avoid an error. */
24590 #ifdef __cplusplus
24591 extern "C"
24592 {
24593 #endif
24594 /* We use char because int might match the return type of a gcc2
24595 builtin and then its argument prototype would still apply. */
24596 char $ac_func ();
24597 /* The GNU C library defines this for functions which it implements
24598 to always fail with ENOSYS. Some functions are actually named
24599 something starting with __ and the normal name is an alias. */
24600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24601 choke me
24602 #else
24603 char (*f) () = $ac_func;
24604 #endif
24605 #ifdef __cplusplus
24606 }
24607 #endif
24608
24609 int
24610 main ()
24611 {
24612 return f != $ac_func;
24613 ;
24614 return 0;
24615 }
24616 _ACEOF
24617 rm -f conftest.$ac_objext conftest$ac_exeext
24618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24619 (eval $ac_link) 2>conftest.er1
24620 ac_status=$?
24621 grep -v '^ *+' conftest.er1 >conftest.err
24622 rm -f conftest.er1
24623 cat conftest.err >&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } &&
24626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24629 ac_status=$?
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; } &&
24632 { ac_try='test -s conftest$ac_exeext'
24633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24634 (eval $ac_try) 2>&5
24635 ac_status=$?
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); }; }; then
24638 eval "$as_ac_var=yes"
24639 else
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24642
24643 eval "$as_ac_var=no"
24644 fi
24645 rm -f conftest.err conftest.$ac_objext \
24646 conftest$ac_exeext conftest.$ac_ext
24647 fi
24648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24650 if test `eval echo '${'$as_ac_var'}'` = yes; then
24651 cat >>confdefs.h <<_ACEOF
24652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24653 _ACEOF
24654 have_sin=1
24655 fi
24656 done
24657
24658
24659 for ac_func in ceil
24660 do
24661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24662 echo "$as_me:$LINENO: checking for $ac_func" >&5
24663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24664 if eval "test \"\${$as_ac_var+set}\" = set"; then
24665 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 else
24667 cat >conftest.$ac_ext <<_ACEOF
24668 /* confdefs.h. */
24669 _ACEOF
24670 cat confdefs.h >>conftest.$ac_ext
24671 cat >>conftest.$ac_ext <<_ACEOF
24672 /* end confdefs.h. */
24673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24675 #define $ac_func innocuous_$ac_func
24676
24677 /* System header to define __stub macros and hopefully few prototypes,
24678 which can conflict with char $ac_func (); below.
24679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24680 <limits.h> exists even on freestanding compilers. */
24681
24682 #ifdef __STDC__
24683 # include <limits.h>
24684 #else
24685 # include <assert.h>
24686 #endif
24687
24688 #undef $ac_func
24689
24690 /* Override any gcc2 internal prototype to avoid an error. */
24691 #ifdef __cplusplus
24692 extern "C"
24693 {
24694 #endif
24695 /* We use char because int might match the return type of a gcc2
24696 builtin and then its argument prototype would still apply. */
24697 char $ac_func ();
24698 /* The GNU C library defines this for functions which it implements
24699 to always fail with ENOSYS. Some functions are actually named
24700 something starting with __ and the normal name is an alias. */
24701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24702 choke me
24703 #else
24704 char (*f) () = $ac_func;
24705 #endif
24706 #ifdef __cplusplus
24707 }
24708 #endif
24709
24710 int
24711 main ()
24712 {
24713 return f != $ac_func;
24714 ;
24715 return 0;
24716 }
24717 _ACEOF
24718 rm -f conftest.$ac_objext conftest$ac_exeext
24719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24720 (eval $ac_link) 2>conftest.er1
24721 ac_status=$?
24722 grep -v '^ *+' conftest.er1 >conftest.err
24723 rm -f conftest.er1
24724 cat conftest.err >&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); } &&
24727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24729 (eval $ac_try) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); }; } &&
24733 { ac_try='test -s conftest$ac_exeext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 eval "$as_ac_var=yes"
24740 else
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24743
24744 eval "$as_ac_var=no"
24745 fi
24746 rm -f conftest.err conftest.$ac_objext \
24747 conftest$ac_exeext conftest.$ac_ext
24748 fi
24749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24751 if test `eval echo '${'$as_ac_var'}'` = yes; then
24752 cat >>confdefs.h <<_ACEOF
24753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24754 _ACEOF
24755 have_ceil=1
24756 fi
24757 done
24758
24759 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24760 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24761 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24762 echo "$as_me:$LINENO: result: yes" >&5
24763 echo "${ECHO_T}yes" >&6
24764 else
24765 echo "$as_me:$LINENO: result: no" >&5
24766 echo "${ECHO_T}no" >&6
24767 # not sure we should warn the user, crash, etc.
24768 fi
24769 fi
24770
24771 if test "wxUSE_UNICODE" = "yes"; then
24772
24773 for wx_func in wcstoull
24774 do
24775 echo "$as_me:$LINENO: checking for $wx_func" >&5
24776 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24777 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 else
24780
24781 cat >conftest.$ac_ext <<_ACEOF
24782
24783 /* confdefs.h. */
24784 _ACEOF
24785 cat confdefs.h >>conftest.$ac_ext
24786 cat >>conftest.$ac_ext <<_ACEOF
24787 /* end confdefs.h. */
24788
24789
24790 $ac_includes_default
24791
24792 int
24793 main ()
24794 {
24795
24796 #ifndef $wx_func
24797 &$wx_func;
24798 #endif
24799
24800
24801 ;
24802 return 0;
24803 }
24804
24805 _ACEOF
24806 rm -f conftest.$ac_objext conftest$ac_exeext
24807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24808 (eval $ac_link) 2>conftest.er1
24809 ac_status=$?
24810 grep -v '^ *+' conftest.er1 >conftest.err
24811 rm -f conftest.er1
24812 cat conftest.err >&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } &&
24815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24817 (eval $ac_try) 2>&5
24818 ac_status=$?
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); }; } &&
24821 { ac_try='test -s conftest$ac_exeext'
24822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823 (eval $ac_try) 2>&5
24824 ac_status=$?
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24827 eval wx_cv_func_$wx_func=yes
24828 else
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24831
24832 eval wx_cv_func_$wx_func=no
24833 fi
24834 rm -f conftest.err conftest.$ac_objext \
24835 conftest$ac_exeext conftest.$ac_ext
24836
24837 fi
24838 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24839 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24840
24841 if eval test \$wx_cv_func_$wx_func = yes
24842 then
24843 cat >>confdefs.h <<_ACEOF
24844 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24845 _ACEOF
24846
24847
24848 else
24849 :
24850
24851 fi
24852 done
24853
24854 else
24855
24856 for wx_func in strtoull
24857 do
24858 echo "$as_me:$LINENO: checking for $wx_func" >&5
24859 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24860 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 else
24863
24864 cat >conftest.$ac_ext <<_ACEOF
24865
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871
24872
24873 $ac_includes_default
24874
24875 int
24876 main ()
24877 {
24878
24879 #ifndef $wx_func
24880 &$wx_func;
24881 #endif
24882
24883
24884 ;
24885 return 0;
24886 }
24887
24888 _ACEOF
24889 rm -f conftest.$ac_objext conftest$ac_exeext
24890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24891 (eval $ac_link) 2>conftest.er1
24892 ac_status=$?
24893 grep -v '^ *+' conftest.er1 >conftest.err
24894 rm -f conftest.er1
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } &&
24898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; } &&
24904 { ac_try='test -s conftest$ac_exeext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24907 ac_status=$?
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 eval wx_cv_func_$wx_func=yes
24911 else
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24914
24915 eval wx_cv_func_$wx_func=no
24916 fi
24917 rm -f conftest.err conftest.$ac_objext \
24918 conftest$ac_exeext conftest.$ac_ext
24919
24920 fi
24921 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24922 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24923
24924 if eval test \$wx_cv_func_$wx_func = yes
24925 then
24926 cat >>confdefs.h <<_ACEOF
24927 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24928 _ACEOF
24929
24930
24931 else
24932 :
24933
24934 fi
24935 done
24936
24937 fi
24938
24939
24940
24941 if test "$wxUSE_REGEX" != "no"; then
24942 cat >>confdefs.h <<\_ACEOF
24943 #define wxUSE_REGEX 1
24944 _ACEOF
24945
24946
24947 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24948 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24949 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24950 wxUSE_REGEX=builtin
24951 fi
24952
24953 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24954 if test "${ac_cv_header_regex_h+set}" = set; then
24955 echo "$as_me:$LINENO: checking for regex.h" >&5
24956 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24957 if test "${ac_cv_header_regex_h+set}" = set; then
24958 echo $ECHO_N "(cached) $ECHO_C" >&6
24959 fi
24960 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24961 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24962 else
24963 # Is the header compilable?
24964 echo "$as_me:$LINENO: checking regex.h usability" >&5
24965 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24966 cat >conftest.$ac_ext <<_ACEOF
24967 /* confdefs.h. */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972 $ac_includes_default
24973 #include <regex.h>
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24977 (eval $ac_compile) 2>conftest.er1
24978 ac_status=$?
24979 grep -v '^ *+' conftest.er1 >conftest.err
24980 rm -f conftest.er1
24981 cat conftest.err >&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } &&
24984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24987 ac_status=$?
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; } &&
24990 { ac_try='test -s conftest.$ac_objext'
24991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24992 (eval $ac_try) 2>&5
24993 ac_status=$?
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); }; }; then
24996 ac_header_compiler=yes
24997 else
24998 echo "$as_me: failed program was:" >&5
24999 sed 's/^/| /' conftest.$ac_ext >&5
25000
25001 ac_header_compiler=no
25002 fi
25003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25005 echo "${ECHO_T}$ac_header_compiler" >&6
25006
25007 # Is the header present?
25008 echo "$as_me:$LINENO: checking regex.h presence" >&5
25009 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25010 cat >conftest.$ac_ext <<_ACEOF
25011 /* confdefs.h. */
25012 _ACEOF
25013 cat confdefs.h >>conftest.$ac_ext
25014 cat >>conftest.$ac_ext <<_ACEOF
25015 /* end confdefs.h. */
25016 #include <regex.h>
25017 _ACEOF
25018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25020 ac_status=$?
25021 grep -v '^ *+' conftest.er1 >conftest.err
25022 rm -f conftest.er1
25023 cat conftest.err >&5
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); } >/dev/null; then
25026 if test -s conftest.err; then
25027 ac_cpp_err=$ac_c_preproc_warn_flag
25028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25029 else
25030 ac_cpp_err=
25031 fi
25032 else
25033 ac_cpp_err=yes
25034 fi
25035 if test -z "$ac_cpp_err"; then
25036 ac_header_preproc=yes
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041 ac_header_preproc=no
25042 fi
25043 rm -f conftest.err conftest.$ac_ext
25044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25045 echo "${ECHO_T}$ac_header_preproc" >&6
25046
25047 # So? What about this header?
25048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25049 yes:no: )
25050 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25051 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25052 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25053 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25054 ac_header_preproc=yes
25055 ;;
25056 no:yes:* )
25057 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25058 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25059 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25060 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25061 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25062 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25063 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25064 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25065 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25066 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25067 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25068 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25069 (
25070 cat <<\_ASBOX
25071 ## ----------------------------------------- ##
25072 ## Report this to wx-dev@lists.wxwidgets.org ##
25073 ## ----------------------------------------- ##
25074 _ASBOX
25075 ) |
25076 sed "s/^/$as_me: WARNING: /" >&2
25077 ;;
25078 esac
25079 echo "$as_me:$LINENO: checking for regex.h" >&5
25080 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25081 if test "${ac_cv_header_regex_h+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 else
25084 ac_cv_header_regex_h=$ac_header_preproc
25085 fi
25086 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25087 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25088
25089 fi
25090 if test $ac_cv_header_regex_h = yes; then
25091
25092
25093 for ac_func in regcomp re_search
25094 do
25095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25096 echo "$as_me:$LINENO: checking for $ac_func" >&5
25097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25098 if eval "test \"\${$as_ac_var+set}\" = set"; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 else
25101 cat >conftest.$ac_ext <<_ACEOF
25102 /* confdefs.h. */
25103 _ACEOF
25104 cat confdefs.h >>conftest.$ac_ext
25105 cat >>conftest.$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25109 #define $ac_func innocuous_$ac_func
25110
25111 /* System header to define __stub macros and hopefully few prototypes,
25112 which can conflict with char $ac_func (); below.
25113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25114 <limits.h> exists even on freestanding compilers. */
25115
25116 #ifdef __STDC__
25117 # include <limits.h>
25118 #else
25119 # include <assert.h>
25120 #endif
25121
25122 #undef $ac_func
25123
25124 /* Override any gcc2 internal prototype to avoid an error. */
25125 #ifdef __cplusplus
25126 extern "C"
25127 {
25128 #endif
25129 /* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25131 char $ac_func ();
25132 /* The GNU C library defines this for functions which it implements
25133 to always fail with ENOSYS. Some functions are actually named
25134 something starting with __ and the normal name is an alias. */
25135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25136 choke me
25137 #else
25138 char (*f) () = $ac_func;
25139 #endif
25140 #ifdef __cplusplus
25141 }
25142 #endif
25143
25144 int
25145 main ()
25146 {
25147 return f != $ac_func;
25148 ;
25149 return 0;
25150 }
25151 _ACEOF
25152 rm -f conftest.$ac_objext conftest$ac_exeext
25153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25154 (eval $ac_link) 2>conftest.er1
25155 ac_status=$?
25156 grep -v '^ *+' conftest.er1 >conftest.err
25157 rm -f conftest.er1
25158 cat conftest.err >&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } &&
25161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25164 ac_status=$?
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try='test -s conftest$ac_exeext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 eval "$as_ac_var=yes"
25174 else
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.$ac_ext >&5
25177
25178 eval "$as_ac_var=no"
25179 fi
25180 rm -f conftest.err conftest.$ac_objext \
25181 conftest$ac_exeext conftest.$ac_ext
25182 fi
25183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25185 if test `eval echo '${'$as_ac_var'}'` = yes; then
25186 cat >>confdefs.h <<_ACEOF
25187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25188 _ACEOF
25189
25190 fi
25191 done
25192
25193 fi
25194
25195
25196
25197 if test "x$ac_cv_func_regcomp" != "xyes"; then
25198 if test "$wxUSE_REGEX" = "sys" ; then
25199 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25200 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25201 { (exit 1); exit 1; }; }
25202 else
25203 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25204 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25205 wxUSE_REGEX=builtin
25206 fi
25207 else
25208 wxUSE_REGEX=sys
25209 cat >>confdefs.h <<\_ACEOF
25210 #define WX_NO_REGEX_ADVANCED 1
25211 _ACEOF
25212
25213 fi
25214 fi
25215 fi
25216
25217
25218 ZLIB_LINK=
25219 if test "$wxUSE_ZLIB" != "no" ; then
25220 cat >>confdefs.h <<\_ACEOF
25221 #define wxUSE_ZLIB 1
25222 _ACEOF
25223
25224
25225 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25226 if test "$USE_DARWIN" = 1; then
25227 system_zlib_h_ok="yes"
25228 else
25229 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25230 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25231 if test "${ac_cv_header_zlib_h+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 else
25234 if test "$cross_compiling" = yes; then
25235 unset ac_cv_header_zlib_h
25236
25237 else
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244
25245 #include <zlib.h>
25246 #include <stdio.h>
25247
25248 int main()
25249 {
25250 FILE *f=fopen("conftestval", "w");
25251 if (!f) exit(1);
25252 fprintf(f, "%s",
25253 ZLIB_VERSION[0] == '1' &&
25254 (ZLIB_VERSION[2] > '1' ||
25255 (ZLIB_VERSION[2] == '1' &&
25256 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25257 exit(0);
25258 }
25259
25260 _ACEOF
25261 rm -f conftest$ac_exeext
25262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25263 (eval $ac_link) 2>&5
25264 ac_status=$?
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25268 (eval $ac_try) 2>&5
25269 ac_status=$?
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); }; }; then
25272 ac_cv_header_zlib_h=`cat conftestval`
25273 else
25274 echo "$as_me: program exited with status $ac_status" >&5
25275 echo "$as_me: failed program was:" >&5
25276 sed 's/^/| /' conftest.$ac_ext >&5
25277
25278 ( exit $ac_status )
25279 ac_cv_header_zlib_h=no
25280 fi
25281 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25282 fi
25283
25284 fi
25285 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25286 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25287 if test "${ac_cv_header_zlib_h+set}" = set; then
25288 echo "$as_me:$LINENO: checking for zlib.h" >&5
25289 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25290 if test "${ac_cv_header_zlib_h+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 fi
25293 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25294 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25295 else
25296 # Is the header compilable?
25297 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25298 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25299 cat >conftest.$ac_ext <<_ACEOF
25300 /* confdefs.h. */
25301 _ACEOF
25302 cat confdefs.h >>conftest.$ac_ext
25303 cat >>conftest.$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25305 $ac_includes_default
25306 #include <zlib.h>
25307 _ACEOF
25308 rm -f conftest.$ac_objext
25309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25310 (eval $ac_compile) 2>conftest.er1
25311 ac_status=$?
25312 grep -v '^ *+' conftest.er1 >conftest.err
25313 rm -f conftest.er1
25314 cat conftest.err >&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } &&
25317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25320 ac_status=$?
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; } &&
25323 { ac_try='test -s conftest.$ac_objext'
25324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25325 (eval $ac_try) 2>&5
25326 ac_status=$?
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); }; }; then
25329 ac_header_compiler=yes
25330 else
25331 echo "$as_me: failed program was:" >&5
25332 sed 's/^/| /' conftest.$ac_ext >&5
25333
25334 ac_header_compiler=no
25335 fi
25336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25338 echo "${ECHO_T}$ac_header_compiler" >&6
25339
25340 # Is the header present?
25341 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25342 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25343 cat >conftest.$ac_ext <<_ACEOF
25344 /* confdefs.h. */
25345 _ACEOF
25346 cat confdefs.h >>conftest.$ac_ext
25347 cat >>conftest.$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349 #include <zlib.h>
25350 _ACEOF
25351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25353 ac_status=$?
25354 grep -v '^ *+' conftest.er1 >conftest.err
25355 rm -f conftest.er1
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } >/dev/null; then
25359 if test -s conftest.err; then
25360 ac_cpp_err=$ac_c_preproc_warn_flag
25361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25362 else
25363 ac_cpp_err=
25364 fi
25365 else
25366 ac_cpp_err=yes
25367 fi
25368 if test -z "$ac_cpp_err"; then
25369 ac_header_preproc=yes
25370 else
25371 echo "$as_me: failed program was:" >&5
25372 sed 's/^/| /' conftest.$ac_ext >&5
25373
25374 ac_header_preproc=no
25375 fi
25376 rm -f conftest.err conftest.$ac_ext
25377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25378 echo "${ECHO_T}$ac_header_preproc" >&6
25379
25380 # So? What about this header?
25381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25382 yes:no: )
25383 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25384 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25385 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25386 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25387 ac_header_preproc=yes
25388 ;;
25389 no:yes:* )
25390 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25391 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25392 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25393 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25394 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25395 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25396 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25397 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25398 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25399 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25400 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25401 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25402 (
25403 cat <<\_ASBOX
25404 ## ----------------------------------------- ##
25405 ## Report this to wx-dev@lists.wxwidgets.org ##
25406 ## ----------------------------------------- ##
25407 _ASBOX
25408 ) |
25409 sed "s/^/$as_me: WARNING: /" >&2
25410 ;;
25411 esac
25412 echo "$as_me:$LINENO: checking for zlib.h" >&5
25413 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25414 if test "${ac_cv_header_zlib_h+set}" = set; then
25415 echo $ECHO_N "(cached) $ECHO_C" >&6
25416 else
25417 ac_cv_header_zlib_h=$ac_header_preproc
25418 fi
25419 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25420 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25421
25422 fi
25423
25424
25425
25426 system_zlib_h_ok=$ac_cv_header_zlib_h
25427 fi
25428
25429 if test "$system_zlib_h_ok" = "yes"; then
25430 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25431 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25432 if test "${ac_cv_lib_z_deflate+set}" = set; then
25433 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 else
25435 ac_check_lib_save_LIBS=$LIBS
25436 LIBS="-lz $LIBS"
25437 cat >conftest.$ac_ext <<_ACEOF
25438 /* confdefs.h. */
25439 _ACEOF
25440 cat confdefs.h >>conftest.$ac_ext
25441 cat >>conftest.$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25443
25444 /* Override any gcc2 internal prototype to avoid an error. */
25445 #ifdef __cplusplus
25446 extern "C"
25447 #endif
25448 /* We use char because int might match the return type of a gcc2
25449 builtin and then its argument prototype would still apply. */
25450 char deflate ();
25451 int
25452 main ()
25453 {
25454 deflate ();
25455 ;
25456 return 0;
25457 }
25458 _ACEOF
25459 rm -f conftest.$ac_objext conftest$ac_exeext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25461 (eval $ac_link) 2>conftest.er1
25462 ac_status=$?
25463 grep -v '^ *+' conftest.er1 >conftest.err
25464 rm -f conftest.er1
25465 cat conftest.err >&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } &&
25468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25470 (eval $ac_try) 2>&5
25471 ac_status=$?
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); }; } &&
25474 { ac_try='test -s conftest$ac_exeext'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; }; then
25480 ac_cv_lib_z_deflate=yes
25481 else
25482 echo "$as_me: failed program was:" >&5
25483 sed 's/^/| /' conftest.$ac_ext >&5
25484
25485 ac_cv_lib_z_deflate=no
25486 fi
25487 rm -f conftest.err conftest.$ac_objext \
25488 conftest$ac_exeext conftest.$ac_ext
25489 LIBS=$ac_check_lib_save_LIBS
25490 fi
25491 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25492 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25493 if test $ac_cv_lib_z_deflate = yes; then
25494 ZLIB_LINK=" -lz"
25495 fi
25496
25497 fi
25498
25499 if test "x$ZLIB_LINK" = "x" ; then
25500 if test "$wxUSE_ZLIB" = "sys" ; then
25501 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25502 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25503 { (exit 1); exit 1; }; }
25504 else
25505 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25506 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25507 wxUSE_ZLIB=builtin
25508 fi
25509 else
25510 wxUSE_ZLIB=sys
25511 fi
25512 fi
25513 fi
25514
25515
25516 PNG_LINK=
25517 if test "$wxUSE_LIBPNG" != "no" ; then
25518 cat >>confdefs.h <<\_ACEOF
25519 #define wxUSE_LIBPNG 1
25520 _ACEOF
25521
25522
25523 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25524 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25525 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25526 wxUSE_LIBPNG=sys
25527 fi
25528
25529 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25530 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25531 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25532 wxUSE_LIBPNG=builtin
25533 fi
25534
25535 if test "$wxUSE_MGL" != 1 ; then
25536 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25537 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25538 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25539 if test "${ac_cv_header_png_h+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542 if test "$cross_compiling" = yes; then
25543 unset ac_cv_header_png_h
25544
25545 else
25546 cat >conftest.$ac_ext <<_ACEOF
25547 /* confdefs.h. */
25548 _ACEOF
25549 cat confdefs.h >>conftest.$ac_ext
25550 cat >>conftest.$ac_ext <<_ACEOF
25551 /* end confdefs.h. */
25552
25553 #include <png.h>
25554 #include <stdio.h>
25555
25556 int main()
25557 {
25558 FILE *f=fopen("conftestval", "w");
25559 if (!f) exit(1);
25560 fprintf(f, "%s",
25561 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25562 exit(0);
25563 }
25564
25565 _ACEOF
25566 rm -f conftest$ac_exeext
25567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25568 (eval $ac_link) 2>&5
25569 ac_status=$?
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25573 (eval $ac_try) 2>&5
25574 ac_status=$?
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); }; }; then
25577 ac_cv_header_png_h=`cat conftestval`
25578 else
25579 echo "$as_me: program exited with status $ac_status" >&5
25580 echo "$as_me: failed program was:" >&5
25581 sed 's/^/| /' conftest.$ac_ext >&5
25582
25583 ( exit $ac_status )
25584 ac_cv_header_png_h=no
25585 fi
25586 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25587 fi
25588
25589 fi
25590 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25591 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25592 if test "${ac_cv_header_png_h+set}" = set; then
25593 echo "$as_me:$LINENO: checking for png.h" >&5
25594 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25595 if test "${ac_cv_header_png_h+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 fi
25598 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25599 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25600 else
25601 # Is the header compilable?
25602 echo "$as_me:$LINENO: checking png.h usability" >&5
25603 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25604 cat >conftest.$ac_ext <<_ACEOF
25605 /* confdefs.h. */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610 $ac_includes_default
25611 #include <png.h>
25612 _ACEOF
25613 rm -f conftest.$ac_objext
25614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25615 (eval $ac_compile) 2>conftest.er1
25616 ac_status=$?
25617 grep -v '^ *+' conftest.er1 >conftest.err
25618 rm -f conftest.er1
25619 cat conftest.err >&5
25620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25621 (exit $ac_status); } &&
25622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25624 (eval $ac_try) 2>&5
25625 ac_status=$?
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); }; } &&
25628 { ac_try='test -s conftest.$ac_objext'
25629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25630 (eval $ac_try) 2>&5
25631 ac_status=$?
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); }; }; then
25634 ac_header_compiler=yes
25635 else
25636 echo "$as_me: failed program was:" >&5
25637 sed 's/^/| /' conftest.$ac_ext >&5
25638
25639 ac_header_compiler=no
25640 fi
25641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25643 echo "${ECHO_T}$ac_header_compiler" >&6
25644
25645 # Is the header present?
25646 echo "$as_me:$LINENO: checking png.h presence" >&5
25647 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25648 cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h. */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654 #include <png.h>
25655 _ACEOF
25656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25658 ac_status=$?
25659 grep -v '^ *+' conftest.er1 >conftest.err
25660 rm -f conftest.er1
25661 cat conftest.err >&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); } >/dev/null; then
25664 if test -s conftest.err; then
25665 ac_cpp_err=$ac_c_preproc_warn_flag
25666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25667 else
25668 ac_cpp_err=
25669 fi
25670 else
25671 ac_cpp_err=yes
25672 fi
25673 if test -z "$ac_cpp_err"; then
25674 ac_header_preproc=yes
25675 else
25676 echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25678
25679 ac_header_preproc=no
25680 fi
25681 rm -f conftest.err conftest.$ac_ext
25682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25683 echo "${ECHO_T}$ac_header_preproc" >&6
25684
25685 # So? What about this header?
25686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25687 yes:no: )
25688 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25689 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25690 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25691 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25692 ac_header_preproc=yes
25693 ;;
25694 no:yes:* )
25695 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25696 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25697 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25698 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25699 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25700 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25701 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25702 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25703 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25704 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25705 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25706 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25707 (
25708 cat <<\_ASBOX
25709 ## ----------------------------------------- ##
25710 ## Report this to wx-dev@lists.wxwidgets.org ##
25711 ## ----------------------------------------- ##
25712 _ASBOX
25713 ) |
25714 sed "s/^/$as_me: WARNING: /" >&2
25715 ;;
25716 esac
25717 echo "$as_me:$LINENO: checking for png.h" >&5
25718 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25719 if test "${ac_cv_header_png_h+set}" = set; then
25720 echo $ECHO_N "(cached) $ECHO_C" >&6
25721 else
25722 ac_cv_header_png_h=$ac_header_preproc
25723 fi
25724 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25725 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25726
25727 fi
25728
25729
25730
25731 if test "$ac_cv_header_png_h" = "yes"; then
25732 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25733 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25734 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25737 ac_check_lib_save_LIBS=$LIBS
25738 LIBS="-lpng -lz -lm $LIBS"
25739 cat >conftest.$ac_ext <<_ACEOF
25740 /* confdefs.h. */
25741 _ACEOF
25742 cat confdefs.h >>conftest.$ac_ext
25743 cat >>conftest.$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25745
25746 /* Override any gcc2 internal prototype to avoid an error. */
25747 #ifdef __cplusplus
25748 extern "C"
25749 #endif
25750 /* We use char because int might match the return type of a gcc2
25751 builtin and then its argument prototype would still apply. */
25752 char png_check_sig ();
25753 int
25754 main ()
25755 {
25756 png_check_sig ();
25757 ;
25758 return 0;
25759 }
25760 _ACEOF
25761 rm -f conftest.$ac_objext conftest$ac_exeext
25762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25763 (eval $ac_link) 2>conftest.er1
25764 ac_status=$?
25765 grep -v '^ *+' conftest.er1 >conftest.err
25766 rm -f conftest.er1
25767 cat conftest.err >&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); } &&
25770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; } &&
25776 { ac_try='test -s conftest$ac_exeext'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; }; then
25782 ac_cv_lib_png_png_check_sig=yes
25783 else
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25786
25787 ac_cv_lib_png_png_check_sig=no
25788 fi
25789 rm -f conftest.err conftest.$ac_objext \
25790 conftest$ac_exeext conftest.$ac_ext
25791 LIBS=$ac_check_lib_save_LIBS
25792 fi
25793 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25794 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25795 if test $ac_cv_lib_png_png_check_sig = yes; then
25796 PNG_LINK=" -lpng -lz"
25797 fi
25798
25799 fi
25800
25801 if test "x$PNG_LINK" = "x" ; then
25802 if test "$wxUSE_LIBPNG" = "sys" ; then
25803 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25804 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25805 { (exit 1); exit 1; }; }
25806 else
25807 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25808 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25809 wxUSE_LIBPNG=builtin
25810 fi
25811 else
25812 wxUSE_LIBPNG=sys
25813 fi
25814 fi
25815 fi
25816
25817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25818 fi
25819
25820
25821 JPEG_LINK=
25822 if test "$wxUSE_LIBJPEG" != "no" ; then
25823 cat >>confdefs.h <<\_ACEOF
25824 #define wxUSE_LIBJPEG 1
25825 _ACEOF
25826
25827
25828 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25829 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25830 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25831 wxUSE_LIBJPEG=sys
25832 fi
25833
25834 if test "$wxUSE_MGL" != 1 ; then
25835 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25836 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25837 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25838 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25840 else
25841 cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h. */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847
25848 #undef HAVE_STDLIB_H
25849 #include <stdio.h>
25850 #include <jpeglib.h>
25851
25852 int
25853 main ()
25854 {
25855
25856
25857 ;
25858 return 0;
25859 }
25860 _ACEOF
25861 rm -f conftest.$ac_objext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25863 (eval $ac_compile) 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } &&
25870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; } &&
25876 { ac_try='test -s conftest.$ac_objext'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; }; then
25882 ac_cv_header_jpeglib_h=yes
25883 else
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.$ac_ext >&5
25886
25887 ac_cv_header_jpeglib_h=no
25888
25889 fi
25890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25891
25892 fi
25893
25894 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25895 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25896
25897 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25898 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25899 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25900 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903 ac_check_lib_save_LIBS=$LIBS
25904 LIBS="-ljpeg $LIBS"
25905 cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911
25912 /* Override any gcc2 internal prototype to avoid an error. */
25913 #ifdef __cplusplus
25914 extern "C"
25915 #endif
25916 /* We use char because int might match the return type of a gcc2
25917 builtin and then its argument prototype would still apply. */
25918 char jpeg_read_header ();
25919 int
25920 main ()
25921 {
25922 jpeg_read_header ();
25923 ;
25924 return 0;
25925 }
25926 _ACEOF
25927 rm -f conftest.$ac_objext conftest$ac_exeext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25929 (eval $ac_link) 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } &&
25936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try='test -s conftest$ac_exeext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 ac_cv_lib_jpeg_jpeg_read_header=yes
25949 else
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25952
25953 ac_cv_lib_jpeg_jpeg_read_header=no
25954 fi
25955 rm -f conftest.err conftest.$ac_objext \
25956 conftest$ac_exeext conftest.$ac_ext
25957 LIBS=$ac_check_lib_save_LIBS
25958 fi
25959 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25960 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25961 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25962 JPEG_LINK=" -ljpeg"
25963 fi
25964
25965 fi
25966
25967 if test "x$JPEG_LINK" = "x" ; then
25968 if test "$wxUSE_LIBJPEG" = "sys" ; then
25969 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25970 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25971 { (exit 1); exit 1; }; }
25972 else
25973 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25974 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25975 wxUSE_LIBJPEG=builtin
25976 fi
25977 else
25978 wxUSE_LIBJPEG=sys
25979 fi
25980 fi
25981 fi
25982 fi
25983
25984
25985 TIFF_LINK=
25986 TIFF_PREREQ_LINKS=-lm
25987 if test "$wxUSE_LIBTIFF" != "no" ; then
25988 cat >>confdefs.h <<\_ACEOF
25989 #define wxUSE_LIBTIFF 1
25990 _ACEOF
25991
25992
25993 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25994 if test "$wxUSE_LIBJPEG" = "sys"; then
25995 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25996 fi
25997 if test "$wxUSE_ZLIB" = "sys"; then
25998 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25999 fi
26000 if test "${ac_cv_header_tiffio_h+set}" = set; then
26001 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26002 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26003 if test "${ac_cv_header_tiffio_h+set}" = set; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 fi
26006 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26007 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26008 else
26009 # Is the header compilable?
26010 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26011 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 $ac_includes_default
26019 #include <tiffio.h>
26020 _ACEOF
26021 rm -f conftest.$ac_objext
26022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26023 (eval $ac_compile) 2>conftest.er1
26024 ac_status=$?
26025 grep -v '^ *+' conftest.er1 >conftest.err
26026 rm -f conftest.er1
26027 cat conftest.err >&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); } &&
26030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26032 (eval $ac_try) 2>&5
26033 ac_status=$?
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); }; } &&
26036 { ac_try='test -s conftest.$ac_objext'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26039 ac_status=$?
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; }; then
26042 ac_header_compiler=yes
26043 else
26044 echo "$as_me: failed program was:" >&5
26045 sed 's/^/| /' conftest.$ac_ext >&5
26046
26047 ac_header_compiler=no
26048 fi
26049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26051 echo "${ECHO_T}$ac_header_compiler" >&6
26052
26053 # Is the header present?
26054 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26055 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26056 cat >conftest.$ac_ext <<_ACEOF
26057 /* confdefs.h. */
26058 _ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062 #include <tiffio.h>
26063 _ACEOF
26064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26066 ac_status=$?
26067 grep -v '^ *+' conftest.er1 >conftest.err
26068 rm -f conftest.er1
26069 cat conftest.err >&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } >/dev/null; then
26072 if test -s conftest.err; then
26073 ac_cpp_err=$ac_c_preproc_warn_flag
26074 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26075 else
26076 ac_cpp_err=
26077 fi
26078 else
26079 ac_cpp_err=yes
26080 fi
26081 if test -z "$ac_cpp_err"; then
26082 ac_header_preproc=yes
26083 else
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.$ac_ext >&5
26086
26087 ac_header_preproc=no
26088 fi
26089 rm -f conftest.err conftest.$ac_ext
26090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26091 echo "${ECHO_T}$ac_header_preproc" >&6
26092
26093 # So? What about this header?
26094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26095 yes:no: )
26096 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26097 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26098 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26099 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26100 ac_header_preproc=yes
26101 ;;
26102 no:yes:* )
26103 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26104 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26105 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26106 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26107 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26108 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26109 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26110 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26111 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26112 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26113 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26114 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26115 (
26116 cat <<\_ASBOX
26117 ## ----------------------------------------- ##
26118 ## Report this to wx-dev@lists.wxwidgets.org ##
26119 ## ----------------------------------------- ##
26120 _ASBOX
26121 ) |
26122 sed "s/^/$as_me: WARNING: /" >&2
26123 ;;
26124 esac
26125 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26126 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26127 if test "${ac_cv_header_tiffio_h+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26130 ac_cv_header_tiffio_h=$ac_header_preproc
26131 fi
26132 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26133 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26134
26135 fi
26136 if test $ac_cv_header_tiffio_h = yes; then
26137
26138 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26139 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26140 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 else
26143 ac_check_lib_save_LIBS=$LIBS
26144 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26145 cat >conftest.$ac_ext <<_ACEOF
26146 /* confdefs.h. */
26147 _ACEOF
26148 cat confdefs.h >>conftest.$ac_ext
26149 cat >>conftest.$ac_ext <<_ACEOF
26150 /* end confdefs.h. */
26151
26152 /* Override any gcc2 internal prototype to avoid an error. */
26153 #ifdef __cplusplus
26154 extern "C"
26155 #endif
26156 /* We use char because int might match the return type of a gcc2
26157 builtin and then its argument prototype would still apply. */
26158 char TIFFError ();
26159 int
26160 main ()
26161 {
26162 TIFFError ();
26163 ;
26164 return 0;
26165 }
26166 _ACEOF
26167 rm -f conftest.$ac_objext conftest$ac_exeext
26168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26169 (eval $ac_link) 2>conftest.er1
26170 ac_status=$?
26171 grep -v '^ *+' conftest.er1 >conftest.err
26172 rm -f conftest.er1
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } &&
26176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26179 ac_status=$?
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; } &&
26182 { ac_try='test -s conftest$ac_exeext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26185 ac_status=$?
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26188 ac_cv_lib_tiff_TIFFError=yes
26189 else
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.$ac_ext >&5
26192
26193 ac_cv_lib_tiff_TIFFError=no
26194 fi
26195 rm -f conftest.err conftest.$ac_objext \
26196 conftest$ac_exeext conftest.$ac_ext
26197 LIBS=$ac_check_lib_save_LIBS
26198 fi
26199 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26200 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26201 if test $ac_cv_lib_tiff_TIFFError = yes; then
26202 TIFF_LINK=" -ltiff"
26203 fi
26204
26205
26206
26207 fi
26208
26209
26210
26211 if test "x$TIFF_LINK" = "x" ; then
26212 if test "$wxUSE_LIBTIFF" = "sys" ; then
26213 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26214 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26215 { (exit 1); exit 1; }; }
26216 else
26217 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26218 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26219 wxUSE_LIBTIFF=builtin
26220 fi
26221 else
26222 wxUSE_LIBTIFF=sys
26223 fi
26224 fi
26225 fi
26226
26227
26228 if test "$wxUSE_WCHAR_T" != "yes"; then
26229 if test "$wxUSE_EXPAT" != "no"; then
26230 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26231 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26232 wxUSE_EXPAT=no
26233 fi
26234 if test "$wxUSE_XML" != "no"; then
26235 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26236 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26237 wxUSE_XML=no
26238 fi
26239 fi
26240
26241 if test "$wxUSE_EXPAT" != "no"; then
26242 wxUSE_XML=yes
26243 cat >>confdefs.h <<\_ACEOF
26244 #define wxUSE_EXPAT 1
26245 _ACEOF
26246
26247 cat >>confdefs.h <<\_ACEOF
26248 #define wxUSE_XML 1
26249 _ACEOF
26250
26251
26252 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26253 if test "${ac_cv_header_expat_h+set}" = set; then
26254 echo "$as_me:$LINENO: checking for expat.h" >&5
26255 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26256 if test "${ac_cv_header_expat_h+set}" = set; then
26257 echo $ECHO_N "(cached) $ECHO_C" >&6
26258 fi
26259 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26260 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26261 else
26262 # Is the header compilable?
26263 echo "$as_me:$LINENO: checking expat.h usability" >&5
26264 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26265 cat >conftest.$ac_ext <<_ACEOF
26266 /* confdefs.h. */
26267 _ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26271 $ac_includes_default
26272 #include <expat.h>
26273 _ACEOF
26274 rm -f conftest.$ac_objext
26275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26276 (eval $ac_compile) 2>conftest.er1
26277 ac_status=$?
26278 grep -v '^ *+' conftest.er1 >conftest.err
26279 rm -f conftest.er1
26280 cat conftest.err >&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } &&
26283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285 (eval $ac_try) 2>&5
26286 ac_status=$?
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); }; } &&
26289 { ac_try='test -s conftest.$ac_objext'
26290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26291 (eval $ac_try) 2>&5
26292 ac_status=$?
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); }; }; then
26295 ac_header_compiler=yes
26296 else
26297 echo "$as_me: failed program was:" >&5
26298 sed 's/^/| /' conftest.$ac_ext >&5
26299
26300 ac_header_compiler=no
26301 fi
26302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26304 echo "${ECHO_T}$ac_header_compiler" >&6
26305
26306 # Is the header present?
26307 echo "$as_me:$LINENO: checking expat.h presence" >&5
26308 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26309 cat >conftest.$ac_ext <<_ACEOF
26310 /* confdefs.h. */
26311 _ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26315 #include <expat.h>
26316 _ACEOF
26317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26319 ac_status=$?
26320 grep -v '^ *+' conftest.er1 >conftest.err
26321 rm -f conftest.er1
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } >/dev/null; then
26325 if test -s conftest.err; then
26326 ac_cpp_err=$ac_c_preproc_warn_flag
26327 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26328 else
26329 ac_cpp_err=
26330 fi
26331 else
26332 ac_cpp_err=yes
26333 fi
26334 if test -z "$ac_cpp_err"; then
26335 ac_header_preproc=yes
26336 else
26337 echo "$as_me: failed program was:" >&5
26338 sed 's/^/| /' conftest.$ac_ext >&5
26339
26340 ac_header_preproc=no
26341 fi
26342 rm -f conftest.err conftest.$ac_ext
26343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26344 echo "${ECHO_T}$ac_header_preproc" >&6
26345
26346 # So? What about this header?
26347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26348 yes:no: )
26349 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26350 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26351 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26352 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26353 ac_header_preproc=yes
26354 ;;
26355 no:yes:* )
26356 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26357 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26358 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26359 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26360 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26361 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26362 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26363 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26364 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26365 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26366 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26367 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26368 (
26369 cat <<\_ASBOX
26370 ## ----------------------------------------- ##
26371 ## Report this to wx-dev@lists.wxwidgets.org ##
26372 ## ----------------------------------------- ##
26373 _ASBOX
26374 ) |
26375 sed "s/^/$as_me: WARNING: /" >&2
26376 ;;
26377 esac
26378 echo "$as_me:$LINENO: checking for expat.h" >&5
26379 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26380 if test "${ac_cv_header_expat_h+set}" = set; then
26381 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 else
26383 ac_cv_header_expat_h=$ac_header_preproc
26384 fi
26385 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26386 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26387
26388 fi
26389 if test $ac_cv_header_expat_h = yes; then
26390 found_expat_h=1
26391 fi
26392
26393
26394 if test "x$found_expat_h" = "x1"; then
26395 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26396 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26397 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26398 echo $ECHO_N "(cached) $ECHO_C" >&6
26399 else
26400
26401 ac_ext=cc
26402 ac_cpp='$CXXCPP $CPPFLAGS'
26403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26406
26407 cat >conftest.$ac_ext <<_ACEOF
26408 /* confdefs.h. */
26409 _ACEOF
26410 cat confdefs.h >>conftest.$ac_ext
26411 cat >>conftest.$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26413 #include <expat.h>
26414 int
26415 main ()
26416 {
26417
26418 ;
26419 return 0;
26420 }
26421 _ACEOF
26422 rm -f conftest.$ac_objext
26423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26424 (eval $ac_compile) 2>conftest.er1
26425 ac_status=$?
26426 grep -v '^ *+' conftest.er1 >conftest.err
26427 rm -f conftest.er1
26428 cat conftest.err >&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); } &&
26431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26433 (eval $ac_try) 2>&5
26434 ac_status=$?
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); }; } &&
26437 { ac_try='test -s conftest.$ac_objext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26440 ac_status=$?
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 wx_cv_expat_is_not_broken=yes
26444 else
26445 echo "$as_me: failed program was:" >&5
26446 sed 's/^/| /' conftest.$ac_ext >&5
26447
26448 wx_cv_expat_is_not_broken=no
26449
26450 fi
26451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26452 ac_ext=c
26453 ac_cpp='$CPP $CPPFLAGS'
26454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26457
26458
26459
26460 fi
26461 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26462 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26463 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26464 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26465 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26466 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26467 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 else
26469 ac_check_lib_save_LIBS=$LIBS
26470 LIBS="-lexpat $LIBS"
26471 cat >conftest.$ac_ext <<_ACEOF
26472 /* confdefs.h. */
26473 _ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26477
26478 /* Override any gcc2 internal prototype to avoid an error. */
26479 #ifdef __cplusplus
26480 extern "C"
26481 #endif
26482 /* We use char because int might match the return type of a gcc2
26483 builtin and then its argument prototype would still apply. */
26484 char XML_ParserCreate ();
26485 int
26486 main ()
26487 {
26488 XML_ParserCreate ();
26489 ;
26490 return 0;
26491 }
26492 _ACEOF
26493 rm -f conftest.$ac_objext conftest$ac_exeext
26494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26495 (eval $ac_link) 2>conftest.er1
26496 ac_status=$?
26497 grep -v '^ *+' conftest.er1 >conftest.err
26498 rm -f conftest.er1
26499 cat conftest.err >&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; } &&
26508 { ac_try='test -s conftest$ac_exeext'
26509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26510 (eval $ac_try) 2>&5
26511 ac_status=$?
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 ac_cv_lib_expat_XML_ParserCreate=yes
26515 else
26516 echo "$as_me: failed program was:" >&5
26517 sed 's/^/| /' conftest.$ac_ext >&5
26518
26519 ac_cv_lib_expat_XML_ParserCreate=no
26520 fi
26521 rm -f conftest.err conftest.$ac_objext \
26522 conftest$ac_exeext conftest.$ac_ext
26523 LIBS=$ac_check_lib_save_LIBS
26524 fi
26525 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26526 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26527 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26528 EXPAT_LINK=" -lexpat"
26529 fi
26530
26531 fi
26532 fi
26533 if test "x$EXPAT_LINK" = "x" ; then
26534 if test "$wxUSE_EXPAT" = "sys" ; then
26535 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26536 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26537 { (exit 1); exit 1; }; }
26538 else
26539 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26540 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26541 wxUSE_EXPAT=builtin
26542 fi
26543 else
26544 wxUSE_EXPAT=sys
26545 fi
26546 fi
26547 if test "$wxUSE_EXPAT" = "builtin" ; then
26548
26549
26550 subdirs="$subdirs src/expat"
26551
26552 fi
26553 fi
26554
26555
26556
26557 if test "$wxUSE_LIBMSPACK" != "no"; then
26558 if test "${ac_cv_header_mspack_h+set}" = set; then
26559 echo "$as_me:$LINENO: checking for mspack.h" >&5
26560 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26561 if test "${ac_cv_header_mspack_h+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 fi
26564 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26565 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26566 else
26567 # Is the header compilable?
26568 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26569 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26570 cat >conftest.$ac_ext <<_ACEOF
26571 /* confdefs.h. */
26572 _ACEOF
26573 cat confdefs.h >>conftest.$ac_ext
26574 cat >>conftest.$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26576 $ac_includes_default
26577 #include <mspack.h>
26578 _ACEOF
26579 rm -f conftest.$ac_objext
26580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26581 (eval $ac_compile) 2>conftest.er1
26582 ac_status=$?
26583 grep -v '^ *+' conftest.er1 >conftest.err
26584 rm -f conftest.er1
26585 cat conftest.err >&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); } &&
26588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; } &&
26594 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26600 ac_header_compiler=yes
26601 else
26602 echo "$as_me: failed program was:" >&5
26603 sed 's/^/| /' conftest.$ac_ext >&5
26604
26605 ac_header_compiler=no
26606 fi
26607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26609 echo "${ECHO_T}$ac_header_compiler" >&6
26610
26611 # Is the header present?
26612 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26613 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26614 cat >conftest.$ac_ext <<_ACEOF
26615 /* confdefs.h. */
26616 _ACEOF
26617 cat confdefs.h >>conftest.$ac_ext
26618 cat >>conftest.$ac_ext <<_ACEOF
26619 /* end confdefs.h. */
26620 #include <mspack.h>
26621 _ACEOF
26622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26624 ac_status=$?
26625 grep -v '^ *+' conftest.er1 >conftest.err
26626 rm -f conftest.er1
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } >/dev/null; then
26630 if test -s conftest.err; then
26631 ac_cpp_err=$ac_c_preproc_warn_flag
26632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26633 else
26634 ac_cpp_err=
26635 fi
26636 else
26637 ac_cpp_err=yes
26638 fi
26639 if test -z "$ac_cpp_err"; then
26640 ac_header_preproc=yes
26641 else
26642 echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.$ac_ext >&5
26644
26645 ac_header_preproc=no
26646 fi
26647 rm -f conftest.err conftest.$ac_ext
26648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26649 echo "${ECHO_T}$ac_header_preproc" >&6
26650
26651 # So? What about this header?
26652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26653 yes:no: )
26654 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26655 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26656 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26657 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26658 ac_header_preproc=yes
26659 ;;
26660 no:yes:* )
26661 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26662 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26663 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26664 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26665 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26666 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26667 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26668 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26669 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26670 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26671 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26672 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26673 (
26674 cat <<\_ASBOX
26675 ## ----------------------------------------- ##
26676 ## Report this to wx-dev@lists.wxwidgets.org ##
26677 ## ----------------------------------------- ##
26678 _ASBOX
26679 ) |
26680 sed "s/^/$as_me: WARNING: /" >&2
26681 ;;
26682 esac
26683 echo "$as_me:$LINENO: checking for mspack.h" >&5
26684 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26685 if test "${ac_cv_header_mspack_h+set}" = set; then
26686 echo $ECHO_N "(cached) $ECHO_C" >&6
26687 else
26688 ac_cv_header_mspack_h=$ac_header_preproc
26689 fi
26690 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26691 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26692
26693 fi
26694 if test $ac_cv_header_mspack_h = yes; then
26695 found_mspack_h=1
26696 fi
26697
26698
26699 if test "x$found_mspack_h" = "x1"; then
26700 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26701 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26702 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 else
26705 ac_check_lib_save_LIBS=$LIBS
26706 LIBS="-lmspack $LIBS"
26707 cat >conftest.$ac_ext <<_ACEOF
26708 /* confdefs.h. */
26709 _ACEOF
26710 cat confdefs.h >>conftest.$ac_ext
26711 cat >>conftest.$ac_ext <<_ACEOF
26712 /* end confdefs.h. */
26713
26714 /* Override any gcc2 internal prototype to avoid an error. */
26715 #ifdef __cplusplus
26716 extern "C"
26717 #endif
26718 /* We use char because int might match the return type of a gcc2
26719 builtin and then its argument prototype would still apply. */
26720 char mspack_create_chm_decompressor ();
26721 int
26722 main ()
26723 {
26724 mspack_create_chm_decompressor ();
26725 ;
26726 return 0;
26727 }
26728 _ACEOF
26729 rm -f conftest.$ac_objext conftest$ac_exeext
26730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26731 (eval $ac_link) 2>conftest.er1
26732 ac_status=$?
26733 grep -v '^ *+' conftest.er1 >conftest.err
26734 rm -f conftest.er1
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } &&
26738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26741 ac_status=$?
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); }; } &&
26744 { ac_try='test -s conftest$ac_exeext'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26747 ac_status=$?
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; }; then
26750 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26751 else
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.$ac_ext >&5
26754
26755 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26756 fi
26757 rm -f conftest.err conftest.$ac_objext \
26758 conftest$ac_exeext conftest.$ac_ext
26759 LIBS=$ac_check_lib_save_LIBS
26760 fi
26761 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26762 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26763 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26764 MSPACK_LINK=" -lmspack"
26765 fi
26766
26767 fi
26768 if test "x$MSPACK_LINK" = "x" ; then
26769 wxUSE_LIBMSPACK=no
26770 fi
26771 fi
26772
26773 if test "$wxUSE_LIBMSPACK" != "no"; then
26774 cat >>confdefs.h <<\_ACEOF
26775 #define wxUSE_LIBMSPACK 1
26776 _ACEOF
26777
26778 fi
26779
26780
26781
26782 AFMINSTALL=
26783 WIN32INSTALL=
26784
26785 TOOLKIT=
26786 TOOLKIT_INCLUDE=
26787 WIDGET_SET=
26788
26789 if test "$USE_WIN32" = 1 ; then
26790
26791 for ac_header in w32api.h
26792 do
26793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26795 echo "$as_me:$LINENO: checking for $ac_header" >&5
26796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 fi
26800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26802 else
26803 # Is the header compilable?
26804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26806 cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h. */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26812 $ac_includes_default
26813 #include <$ac_header>
26814 _ACEOF
26815 rm -f conftest.$ac_objext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26817 (eval $ac_compile) 2>conftest.er1
26818 ac_status=$?
26819 grep -v '^ *+' conftest.er1 >conftest.err
26820 rm -f conftest.er1
26821 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26827 ac_status=$?
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try='test -s conftest.$ac_objext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 ac_header_compiler=yes
26837 else
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.$ac_ext >&5
26840
26841 ac_header_compiler=no
26842 fi
26843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26845 echo "${ECHO_T}$ac_header_compiler" >&6
26846
26847 # Is the header present?
26848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26850 cat >conftest.$ac_ext <<_ACEOF
26851 /* confdefs.h. */
26852 _ACEOF
26853 cat confdefs.h >>conftest.$ac_ext
26854 cat >>conftest.$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26856 #include <$ac_header>
26857 _ACEOF
26858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26860 ac_status=$?
26861 grep -v '^ *+' conftest.er1 >conftest.err
26862 rm -f conftest.er1
26863 cat conftest.err >&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); } >/dev/null; then
26866 if test -s conftest.err; then
26867 ac_cpp_err=$ac_c_preproc_warn_flag
26868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26869 else
26870 ac_cpp_err=
26871 fi
26872 else
26873 ac_cpp_err=yes
26874 fi
26875 if test -z "$ac_cpp_err"; then
26876 ac_header_preproc=yes
26877 else
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.$ac_ext >&5
26880
26881 ac_header_preproc=no
26882 fi
26883 rm -f conftest.err conftest.$ac_ext
26884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26885 echo "${ECHO_T}$ac_header_preproc" >&6
26886
26887 # So? What about this header?
26888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26889 yes:no: )
26890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26894 ac_header_preproc=yes
26895 ;;
26896 no:yes:* )
26897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26909 (
26910 cat <<\_ASBOX
26911 ## ----------------------------------------- ##
26912 ## Report this to wx-dev@lists.wxwidgets.org ##
26913 ## ----------------------------------------- ##
26914 _ASBOX
26915 ) |
26916 sed "s/^/$as_me: WARNING: /" >&2
26917 ;;
26918 esac
26919 echo "$as_me:$LINENO: checking for $ac_header" >&5
26920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 else
26924 eval "$as_ac_Header=\$ac_header_preproc"
26925 fi
26926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26928
26929 fi
26930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26931 cat >>confdefs.h <<_ACEOF
26932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26933 _ACEOF
26934
26935 fi
26936
26937 done
26938
26939 if test "${ac_cv_header_windows_h+set}" = set; then
26940 echo "$as_me:$LINENO: checking for windows.h" >&5
26941 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26942 if test "${ac_cv_header_windows_h+set}" = set; then
26943 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 fi
26945 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26946 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26947 else
26948 # Is the header compilable?
26949 echo "$as_me:$LINENO: checking windows.h usability" >&5
26950 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 $ac_includes_default
26958 #include <windows.h>
26959 _ACEOF
26960 rm -f conftest.$ac_objext
26961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26962 (eval $ac_compile) 2>conftest.er1
26963 ac_status=$?
26964 grep -v '^ *+' conftest.er1 >conftest.err
26965 rm -f conftest.er1
26966 cat conftest.err >&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } &&
26969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26971 (eval $ac_try) 2>&5
26972 ac_status=$?
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); }; } &&
26975 { ac_try='test -s conftest.$ac_objext'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; }; then
26981 ac_header_compiler=yes
26982 else
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26985
26986 ac_header_compiler=no
26987 fi
26988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26990 echo "${ECHO_T}$ac_header_compiler" >&6
26991
26992 # Is the header present?
26993 echo "$as_me:$LINENO: checking windows.h presence" >&5
26994 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26995 cat >conftest.$ac_ext <<_ACEOF
26996 /* confdefs.h. */
26997 _ACEOF
26998 cat confdefs.h >>conftest.$ac_ext
26999 cat >>conftest.$ac_ext <<_ACEOF
27000 /* end confdefs.h. */
27001 #include <windows.h>
27002 _ACEOF
27003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27005 ac_status=$?
27006 grep -v '^ *+' conftest.er1 >conftest.err
27007 rm -f conftest.er1
27008 cat conftest.err >&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } >/dev/null; then
27011 if test -s conftest.err; then
27012 ac_cpp_err=$ac_c_preproc_warn_flag
27013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27014 else
27015 ac_cpp_err=
27016 fi
27017 else
27018 ac_cpp_err=yes
27019 fi
27020 if test -z "$ac_cpp_err"; then
27021 ac_header_preproc=yes
27022 else
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.$ac_ext >&5
27025
27026 ac_header_preproc=no
27027 fi
27028 rm -f conftest.err conftest.$ac_ext
27029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27030 echo "${ECHO_T}$ac_header_preproc" >&6
27031
27032 # So? What about this header?
27033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27034 yes:no: )
27035 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27036 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27037 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27038 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27039 ac_header_preproc=yes
27040 ;;
27041 no:yes:* )
27042 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27043 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27044 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27045 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27046 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27047 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27048 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27049 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27050 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27051 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27052 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27053 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27054 (
27055 cat <<\_ASBOX
27056 ## ----------------------------------------- ##
27057 ## Report this to wx-dev@lists.wxwidgets.org ##
27058 ## ----------------------------------------- ##
27059 _ASBOX
27060 ) |
27061 sed "s/^/$as_me: WARNING: /" >&2
27062 ;;
27063 esac
27064 echo "$as_me:$LINENO: checking for windows.h" >&5
27065 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27066 if test "${ac_cv_header_windows_h+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27068 else
27069 ac_cv_header_windows_h=$ac_header_preproc
27070 fi
27071 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27072 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27073
27074 fi
27075 if test $ac_cv_header_windows_h = yes; then
27076 :
27077 else
27078
27079 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27080 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27081 { (exit 1); exit 1; }; }
27082
27083 fi
27084
27085
27086
27087 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27088
27089 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27090 LIBS="$LIBS -loleacc"
27091 fi
27092
27093 case "${host}" in
27094 *-*-cygwin* )
27095 LIBS="$LIBS -lkernel32 -luser32"
27096 esac
27097
27098 if test "$wxUSE_ODBC" = "sys" ; then
27099 wxUSE_ODBC = "yes"
27100 fi
27101 if test "$wxUSE_ODBC" = "yes" ; then
27102 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27103 cat >>confdefs.h <<\_ACEOF
27104 #define wxUSE_ODBC 1
27105 _ACEOF
27106
27107 fi
27108
27109 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27110 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27111
27112 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27113
27114 WIN32INSTALL=win32install
27115
27116 echo "$as_me:$LINENO: checking for boolean" >&5
27117 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27118 if test "${ac_cv_type_boolean+set}" = set; then
27119 echo $ECHO_N "(cached) $ECHO_C" >&6
27120 else
27121 cat >conftest.$ac_ext <<_ACEOF
27122 /* confdefs.h. */
27123 _ACEOF
27124 cat confdefs.h >>conftest.$ac_ext
27125 cat >>conftest.$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27127 #include <windows.h>
27128
27129 int
27130 main ()
27131 {
27132 if ((boolean *) 0)
27133 return 0;
27134 if (sizeof (boolean))
27135 return 0;
27136 ;
27137 return 0;
27138 }
27139 _ACEOF
27140 rm -f conftest.$ac_objext
27141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27142 (eval $ac_compile) 2>conftest.er1
27143 ac_status=$?
27144 grep -v '^ *+' conftest.er1 >conftest.err
27145 rm -f conftest.er1
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } &&
27149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; } &&
27155 { ac_try='test -s conftest.$ac_objext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 ac_cv_type_boolean=yes
27162 else
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27165
27166 ac_cv_type_boolean=no
27167 fi
27168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27169 fi
27170 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27171 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27172 if test $ac_cv_type_boolean = yes; then
27173
27174 cat >>confdefs.h <<_ACEOF
27175 #define HAVE_BOOLEAN 1
27176 _ACEOF
27177
27178
27179 fi
27180
27181
27182
27183 for ac_header in pbt.h
27184 do
27185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27187 echo "$as_me:$LINENO: checking for $ac_header" >&5
27188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27190 echo $ECHO_N "(cached) $ECHO_C" >&6
27191 fi
27192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27194 else
27195 # Is the header compilable?
27196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27198 cat >conftest.$ac_ext <<_ACEOF
27199 /* confdefs.h. */
27200 _ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27204 $ac_includes_default
27205 #include <$ac_header>
27206 _ACEOF
27207 rm -f conftest.$ac_objext
27208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27209 (eval $ac_compile) 2>conftest.er1
27210 ac_status=$?
27211 grep -v '^ *+' conftest.er1 >conftest.err
27212 rm -f conftest.er1
27213 cat conftest.err >&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); } &&
27216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27219 ac_status=$?
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; } &&
27222 { ac_try='test -s conftest.$ac_objext'
27223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224 (eval $ac_try) 2>&5
27225 ac_status=$?
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); }; }; then
27228 ac_header_compiler=yes
27229 else
27230 echo "$as_me: failed program was:" >&5
27231 sed 's/^/| /' conftest.$ac_ext >&5
27232
27233 ac_header_compiler=no
27234 fi
27235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27237 echo "${ECHO_T}$ac_header_compiler" >&6
27238
27239 # Is the header present?
27240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27242 cat >conftest.$ac_ext <<_ACEOF
27243 /* confdefs.h. */
27244 _ACEOF
27245 cat confdefs.h >>conftest.$ac_ext
27246 cat >>conftest.$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27248 #include <$ac_header>
27249 _ACEOF
27250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27252 ac_status=$?
27253 grep -v '^ *+' conftest.er1 >conftest.err
27254 rm -f conftest.er1
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } >/dev/null; then
27258 if test -s conftest.err; then
27259 ac_cpp_err=$ac_c_preproc_warn_flag
27260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27261 else
27262 ac_cpp_err=
27263 fi
27264 else
27265 ac_cpp_err=yes
27266 fi
27267 if test -z "$ac_cpp_err"; then
27268 ac_header_preproc=yes
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27272
27273 ac_header_preproc=no
27274 fi
27275 rm -f conftest.err conftest.$ac_ext
27276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27277 echo "${ECHO_T}$ac_header_preproc" >&6
27278
27279 # So? What about this header?
27280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27281 yes:no: )
27282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27286 ac_header_preproc=yes
27287 ;;
27288 no:yes:* )
27289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27301 (
27302 cat <<\_ASBOX
27303 ## ----------------------------------------- ##
27304 ## Report this to wx-dev@lists.wxwidgets.org ##
27305 ## ----------------------------------------- ##
27306 _ASBOX
27307 ) |
27308 sed "s/^/$as_me: WARNING: /" >&2
27309 ;;
27310 esac
27311 echo "$as_me:$LINENO: checking for $ac_header" >&5
27312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27314 echo $ECHO_N "(cached) $ECHO_C" >&6
27315 else
27316 eval "$as_ac_Header=\$ac_header_preproc"
27317 fi
27318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27320
27321 fi
27322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27323 cat >>confdefs.h <<_ACEOF
27324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27325 _ACEOF
27326
27327 else
27328 cat >>confdefs.h <<\_ACEOF
27329 #define NEED_PBT_H 1
27330 _ACEOF
27331
27332 fi
27333
27334 done
27335
27336 fi
27337
27338 if test "$wxUSE_GUI" = "yes"; then
27339 USE_GUI=1
27340
27341 GUI_TK_LIBRARY=
27342
27343 WXGTK12=
27344 WXGTK127=
27345 WXGTK20=
27346 WXGPE=
27347
27348 if test "$wxUSE_COCOA" = 1 ; then
27349 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27350 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27351 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27352 wxUSE_PRINTING_ARCHITECTURE=no
27353 fi
27354 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27355 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27356 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27357 wxUSE_DRAG_AND_DROP=no
27358 fi
27359 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27360 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27361 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27362 wxUSE_DRAGIMAGE=no
27363 fi
27364 fi
27365
27366 if test "$wxUSE_MSW" = 1 ; then
27367 TOOLKIT=MSW
27368 GUIDIST=MSW_DIST
27369
27370 case "${host}" in
27371 *-*-mingw32* )
27372 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27373 esac
27374 fi
27375
27376 if test "$wxUSE_GTK" = 1; then
27377 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27378 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27379
27380 gtk_version_cached=1
27381 if test "${wx_cv_lib_gtk+set}" = set; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 else
27384
27385 gtk_version_cached=0
27386 echo "$as_me:$LINENO: result: " >&5
27387 echo "${ECHO_T}" >&6
27388
27389 GTK_MODULES=
27390 if test "$wxUSE_THREADS" = "yes"; then
27391 GTK_MODULES=gthread
27392 fi
27393
27394 wx_cv_lib_gtk=
27395 if test "x$wxGTK_VERSION" != "x1"
27396 then
27397 case "${host}" in
27398 *-*-solaris2* )
27399 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27400 enable_gtktest=no
27401 fi
27402 esac
27403
27404 # Check whether --enable-gtktest or --disable-gtktest was given.
27405 if test "${enable_gtktest+set}" = set; then
27406 enableval="$enable_gtktest"
27407
27408 else
27409 enable_gtktest=yes
27410 fi;
27411
27412 pkg_config_args=gtk+-2.0
27413 for module in . $GTK_MODULES
27414 do
27415 case "$module" in
27416 gthread)
27417 pkg_config_args="$pkg_config_args gthread-2.0"
27418 ;;
27419 esac
27420 done
27421
27422 no_gtk=""
27423
27424 # Extract the first word of "pkg-config", so it can be a program name with args.
27425 set dummy pkg-config; ac_word=$2
27426 echo "$as_me:$LINENO: checking for $ac_word" >&5
27427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27428 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27430 else
27431 case $PKG_CONFIG in
27432 [\\/]* | ?:[\\/]*)
27433 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27434 ;;
27435 *)
27436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27437 for as_dir in $PATH
27438 do
27439 IFS=$as_save_IFS
27440 test -z "$as_dir" && as_dir=.
27441 for ac_exec_ext in '' $ac_executable_extensions; do
27442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27443 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27445 break 2
27446 fi
27447 done
27448 done
27449
27450 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27451 ;;
27452 esac
27453 fi
27454 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27455
27456 if test -n "$PKG_CONFIG"; then
27457 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27458 echo "${ECHO_T}$PKG_CONFIG" >&6
27459 else
27460 echo "$as_me:$LINENO: result: no" >&5
27461 echo "${ECHO_T}no" >&6
27462 fi
27463
27464
27465 if test x$PKG_CONFIG != xno ; then
27466 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27467 :
27468 else
27469 echo "*** pkg-config too old; version 0.7 or better required."
27470 no_gtk=yes
27471 PKG_CONFIG=no
27472 fi
27473 else
27474 no_gtk=yes
27475 fi
27476
27477 min_gtk_version=2.0.0
27478 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27479 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27480
27481 if test x$PKG_CONFIG != xno ; then
27482 ## don't try to run the test against uninstalled libtool libs
27483 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27484 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27485 enable_gtktest=no
27486 fi
27487
27488 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27489 :
27490 else
27491 no_gtk=yes
27492 fi
27493 fi
27494
27495 if test x"$no_gtk" = x ; then
27496 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27497 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27498 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27500 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27502 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27504 if test "x$enable_gtktest" = "xyes" ; then
27505 ac_save_CFLAGS="$CFLAGS"
27506 ac_save_LIBS="$LIBS"
27507 CFLAGS="$CFLAGS $GTK_CFLAGS"
27508 LIBS="$GTK_LIBS $LIBS"
27509 rm -f conf.gtktest
27510 if test "$cross_compiling" = yes; then
27511 echo $ac_n "cross compiling; assumed OK... $ac_c"
27512 else
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h. */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27519
27520 #include <gtk/gtk.h>
27521 #include <stdio.h>
27522 #include <stdlib.h>
27523
27524 int
27525 main ()
27526 {
27527 int major, minor, micro;
27528 char *tmp_version;
27529
27530 system ("touch conf.gtktest");
27531
27532 /* HP/UX 9 (%@#!) writes to sscanf strings */
27533 tmp_version = g_strdup("$min_gtk_version");
27534 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27535 printf("%s, bad version string\n", "$min_gtk_version");
27536 exit(1);
27537 }
27538
27539 if ((gtk_major_version != $gtk_config_major_version) ||
27540 (gtk_minor_version != $gtk_config_minor_version) ||
27541 (gtk_micro_version != $gtk_config_micro_version))
27542 {
27543 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27544 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27545 gtk_major_version, gtk_minor_version, gtk_micro_version);
27546 printf ("*** was found! If pkg-config was correct, then it is best\n");
27547 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27548 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27549 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27550 printf("*** required on your system.\n");
27551 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27552 printf("*** to point to the correct configuration files\n");
27553 }
27554 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27555 (gtk_minor_version != GTK_MINOR_VERSION) ||
27556 (gtk_micro_version != GTK_MICRO_VERSION))
27557 {
27558 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27559 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27560 printf("*** library (version %d.%d.%d)\n",
27561 gtk_major_version, gtk_minor_version, gtk_micro_version);
27562 }
27563 else
27564 {
27565 if ((gtk_major_version > major) ||
27566 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27567 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27568 {
27569 return 0;
27570 }
27571 else
27572 {
27573 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27574 gtk_major_version, gtk_minor_version, gtk_micro_version);
27575 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27576 major, minor, micro);
27577 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27578 printf("***\n");
27579 printf("*** If you have already installed a sufficiently new version, this error\n");
27580 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27581 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27582 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27583 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27584 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27585 printf("*** so that the correct libraries are found at run-time))\n");
27586 }
27587 }
27588 return 1;
27589 }
27590
27591 _ACEOF
27592 rm -f conftest$ac_exeext
27593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27594 (eval $ac_link) 2>&5
27595 ac_status=$?
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27600 ac_status=$?
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; }; then
27603 :
27604 else
27605 echo "$as_me: program exited with status $ac_status" >&5
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 ( exit $ac_status )
27610 no_gtk=yes
27611 fi
27612 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27613 fi
27614 CFLAGS="$ac_save_CFLAGS"
27615 LIBS="$ac_save_LIBS"
27616 fi
27617 fi
27618 if test "x$no_gtk" = x ; then
27619 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27620 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27621 wx_cv_lib_gtk=2.0
27622 else
27623 echo "$as_me:$LINENO: result: no" >&5
27624 echo "${ECHO_T}no" >&6
27625 if test "$PKG_CONFIG" = "no" ; then
27626 echo "*** A new enough version of pkg-config was not found."
27627 echo "*** See http://pkgconfig.sourceforge.net"
27628 else
27629 if test -f conf.gtktest ; then
27630 :
27631 else
27632 echo "*** Could not run GTK+ test program, checking why..."
27633 ac_save_CFLAGS="$CFLAGS"
27634 ac_save_LIBS="$LIBS"
27635 CFLAGS="$CFLAGS $GTK_CFLAGS"
27636 LIBS="$LIBS $GTK_LIBS"
27637 cat >conftest.$ac_ext <<_ACEOF
27638 /* confdefs.h. */
27639 _ACEOF
27640 cat confdefs.h >>conftest.$ac_ext
27641 cat >>conftest.$ac_ext <<_ACEOF
27642 /* end confdefs.h. */
27643
27644 #include <gtk/gtk.h>
27645 #include <stdio.h>
27646
27647 int
27648 main ()
27649 {
27650 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27651 ;
27652 return 0;
27653 }
27654 _ACEOF
27655 rm -f conftest.$ac_objext conftest$ac_exeext
27656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27657 (eval $ac_link) 2>conftest.er1
27658 ac_status=$?
27659 grep -v '^ *+' conftest.er1 >conftest.err
27660 rm -f conftest.er1
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } &&
27664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666 (eval $ac_try) 2>&5
27667 ac_status=$?
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; } &&
27670 { ac_try='test -s conftest$ac_exeext'
27671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672 (eval $ac_try) 2>&5
27673 ac_status=$?
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); }; }; then
27676 echo "*** The test program compiled, but did not run. This usually means"
27677 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27678 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27679 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27680 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27681 echo "*** is required on your system"
27682 echo "***"
27683 echo "*** If you have an old version installed, it is best to remove it, although"
27684 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27685 else
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 echo "*** The test program failed to compile or link. See the file config.log for the"
27690 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27691 fi
27692 rm -f conftest.err conftest.$ac_objext \
27693 conftest$ac_exeext conftest.$ac_ext
27694 CFLAGS="$ac_save_CFLAGS"
27695 LIBS="$ac_save_LIBS"
27696 fi
27697 fi
27698 GTK_CFLAGS=""
27699 GTK_LIBS=""
27700 :
27701 fi
27702
27703
27704 rm -f conf.gtktest
27705
27706
27707 case "${host}" in
27708 *-*-solaris2* )
27709 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27710 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27711 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27712 fi
27713 if test "$wxUSE_SHARED" != "yes"; then
27714 GTK_LIBS="$GTK_LIBS -lX11"
27715 fi
27716 esac
27717 fi
27718
27719 if test -z "$wx_cv_lib_gtk"; then
27720 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27721
27722 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27723 if test "${with_gtk_prefix+set}" = set; then
27724 withval="$with_gtk_prefix"
27725 gtk_config_prefix="$withval"
27726 else
27727 gtk_config_prefix=""
27728 fi;
27729
27730 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27731 if test "${with_gtk_exec_prefix+set}" = set; then
27732 withval="$with_gtk_exec_prefix"
27733 gtk_config_exec_prefix="$withval"
27734 else
27735 gtk_config_exec_prefix=""
27736 fi;
27737 # Check whether --enable-gtktest or --disable-gtktest was given.
27738 if test "${enable_gtktest+set}" = set; then
27739 enableval="$enable_gtktest"
27740
27741 else
27742 enable_gtktest=yes
27743 fi;
27744
27745 for module in . $GTK_MODULES
27746 do
27747 case "$module" in
27748 gthread)
27749 gtk_config_args="$gtk_config_args gthread"
27750 ;;
27751 esac
27752 done
27753
27754 if test x$gtk_config_exec_prefix != x ; then
27755 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27756 if test x${GTK_CONFIG+set} != xset ; then
27757 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27758 fi
27759 fi
27760 if test x$gtk_config_prefix != x ; then
27761 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27762 if test x${GTK_CONFIG+set} != xset ; then
27763 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27764 fi
27765 fi
27766
27767 # Extract the first word of "gtk-config", so it can be a program name with args.
27768 set dummy gtk-config; ac_word=$2
27769 echo "$as_me:$LINENO: checking for $ac_word" >&5
27770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27771 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27773 else
27774 case $GTK_CONFIG in
27775 [\\/]* | ?:[\\/]*)
27776 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27777 ;;
27778 *)
27779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27780 for as_dir in $PATH
27781 do
27782 IFS=$as_save_IFS
27783 test -z "$as_dir" && as_dir=.
27784 for ac_exec_ext in '' $ac_executable_extensions; do
27785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27786 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27788 break 2
27789 fi
27790 done
27791 done
27792
27793 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27794 ;;
27795 esac
27796 fi
27797 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27798
27799 if test -n "$GTK_CONFIG"; then
27800 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27801 echo "${ECHO_T}$GTK_CONFIG" >&6
27802 else
27803 echo "$as_me:$LINENO: result: no" >&5
27804 echo "${ECHO_T}no" >&6
27805 fi
27806
27807 min_gtk_version=1.2.7
27808 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27809 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27810 no_gtk=""
27811 if test "$GTK_CONFIG" = "no" ; then
27812 no_gtk=yes
27813 else
27814 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27815 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27816 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27818 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27820 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27821 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27822 if test "x$enable_gtktest" = "xyes" ; then
27823 ac_save_CFLAGS="$CFLAGS"
27824 ac_save_LIBS="$LIBS"
27825 CFLAGS="$CFLAGS $GTK_CFLAGS"
27826 LIBS="$GTK_LIBS $LIBS"
27827 rm -f conf.gtktest
27828 if test "$cross_compiling" = yes; then
27829 echo $ac_n "cross compiling; assumed OK... $ac_c"
27830 else
27831 cat >conftest.$ac_ext <<_ACEOF
27832 /* confdefs.h. */
27833 _ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837
27838 #include <gtk/gtk.h>
27839 #include <stdio.h>
27840 #include <stdlib.h>
27841
27842 int
27843 main ()
27844 {
27845 int major, minor, micro;
27846 char *tmp_version;
27847
27848 system ("touch conf.gtktest");
27849
27850 /* HP/UX 9 (%@#!) writes to sscanf strings */
27851 tmp_version = g_strdup("$min_gtk_version");
27852 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27853 printf("%s, bad version string\n", "$min_gtk_version");
27854 exit(1);
27855 }
27856
27857 if ((gtk_major_version != $gtk_config_major_version) ||
27858 (gtk_minor_version != $gtk_config_minor_version) ||
27859 (gtk_micro_version != $gtk_config_micro_version))
27860 {
27861 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27862 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27863 gtk_major_version, gtk_minor_version, gtk_micro_version);
27864 printf ("*** was found! If gtk-config was correct, then it is best\n");
27865 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27866 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27867 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27868 printf("*** required on your system.\n");
27869 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27870 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27871 printf("*** before re-running configure\n");
27872 }
27873 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27874 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27875 (gtk_minor_version != GTK_MINOR_VERSION) ||
27876 (gtk_micro_version != GTK_MICRO_VERSION))
27877 {
27878 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27879 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27880 printf("*** library (version %d.%d.%d)\n",
27881 gtk_major_version, gtk_minor_version, gtk_micro_version);
27882 }
27883 #endif /* defined (GTK_MAJOR_VERSION) ... */
27884 else
27885 {
27886 if ((gtk_major_version > major) ||
27887 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27888 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27889 {
27890 return 0;
27891 }
27892 else
27893 {
27894 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27895 gtk_major_version, gtk_minor_version, gtk_micro_version);
27896 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27897 major, minor, micro);
27898 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27899 printf("***\n");
27900 printf("*** If you have already installed a sufficiently new version, this error\n");
27901 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27902 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27903 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27904 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27905 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27906 printf("*** so that the correct libraries are found at run-time))\n");
27907 }
27908 }
27909 return 1;
27910 }
27911
27912 _ACEOF
27913 rm -f conftest$ac_exeext
27914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27915 (eval $ac_link) 2>&5
27916 ac_status=$?
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27921 ac_status=$?
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; }; then
27924 :
27925 else
27926 echo "$as_me: program exited with status $ac_status" >&5
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27929
27930 ( exit $ac_status )
27931 no_gtk=yes
27932 fi
27933 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27934 fi
27935 CFLAGS="$ac_save_CFLAGS"
27936 LIBS="$ac_save_LIBS"
27937 fi
27938 fi
27939 if test "x$no_gtk" = x ; then
27940 echo "$as_me:$LINENO: result: yes" >&5
27941 echo "${ECHO_T}yes" >&6
27942 wx_cv_lib_gtk=1.2.7
27943 else
27944 echo "$as_me:$LINENO: result: no" >&5
27945 echo "${ECHO_T}no" >&6
27946 if test "$GTK_CONFIG" = "no" ; then
27947 echo "*** The gtk-config script installed by GTK could not be found"
27948 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27949 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27950 echo "*** full path to gtk-config."
27951 else
27952 if test -f conf.gtktest ; then
27953 :
27954 else
27955 echo "*** Could not run GTK test program, checking why..."
27956 CFLAGS="$CFLAGS $GTK_CFLAGS"
27957 LIBS="$LIBS $GTK_LIBS"
27958 cat >conftest.$ac_ext <<_ACEOF
27959 /* confdefs.h. */
27960 _ACEOF
27961 cat confdefs.h >>conftest.$ac_ext
27962 cat >>conftest.$ac_ext <<_ACEOF
27963 /* end confdefs.h. */
27964
27965 #include <gtk/gtk.h>
27966 #include <stdio.h>
27967
27968 int
27969 main ()
27970 {
27971 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27972 ;
27973 return 0;
27974 }
27975 _ACEOF
27976 rm -f conftest.$ac_objext conftest$ac_exeext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>conftest.er1
27979 ac_status=$?
27980 grep -v '^ *+' conftest.er1 >conftest.err
27981 rm -f conftest.er1
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27988 ac_status=$?
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; } &&
27991 { ac_try='test -s conftest$ac_exeext'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27994 ac_status=$?
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; }; then
27997 echo "*** The test program compiled, but did not run. This usually means"
27998 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27999 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28000 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28001 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28002 echo "*** is required on your system"
28003 echo "***"
28004 echo "*** If you have an old version installed, it is best to remove it, although"
28005 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28006 echo "***"
28007 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28008 echo "*** came with the system with the command"
28009 echo "***"
28010 echo "*** rpm --erase --nodeps gtk gtk-devel"
28011 else
28012 echo "$as_me: failed program was:" >&5
28013 sed 's/^/| /' conftest.$ac_ext >&5
28014
28015 echo "*** The test program failed to compile or link. See the file config.log for the"
28016 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28017 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28018 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28019 fi
28020 rm -f conftest.err conftest.$ac_objext \
28021 conftest$ac_exeext conftest.$ac_ext
28022 CFLAGS="$ac_save_CFLAGS"
28023 LIBS="$ac_save_LIBS"
28024 fi
28025 fi
28026 GTK_CFLAGS=""
28027 GTK_LIBS=""
28028 :
28029 fi
28030
28031
28032 rm -f conf.gtktest
28033
28034
28035 if test -z "$wx_cv_lib_gtk"; then
28036
28037 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28038 if test "${with_gtk_prefix+set}" = set; then
28039 withval="$with_gtk_prefix"
28040 gtk_config_prefix="$withval"
28041 else
28042 gtk_config_prefix=""
28043 fi;
28044
28045 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28046 if test "${with_gtk_exec_prefix+set}" = set; then
28047 withval="$with_gtk_exec_prefix"
28048 gtk_config_exec_prefix="$withval"
28049 else
28050 gtk_config_exec_prefix=""
28051 fi;
28052 # Check whether --enable-gtktest or --disable-gtktest was given.
28053 if test "${enable_gtktest+set}" = set; then
28054 enableval="$enable_gtktest"
28055
28056 else
28057 enable_gtktest=yes
28058 fi;
28059
28060 for module in . $GTK_MODULES
28061 do
28062 case "$module" in
28063 gthread)
28064 gtk_config_args="$gtk_config_args gthread"
28065 ;;
28066 esac
28067 done
28068
28069 if test x$gtk_config_exec_prefix != x ; then
28070 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28071 if test x${GTK_CONFIG+set} != xset ; then
28072 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28073 fi
28074 fi
28075 if test x$gtk_config_prefix != x ; then
28076 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28077 if test x${GTK_CONFIG+set} != xset ; then
28078 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28079 fi
28080 fi
28081
28082 # Extract the first word of "gtk-config", so it can be a program name with args.
28083 set dummy gtk-config; ac_word=$2
28084 echo "$as_me:$LINENO: checking for $ac_word" >&5
28085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28086 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 else
28089 case $GTK_CONFIG in
28090 [\\/]* | ?:[\\/]*)
28091 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28092 ;;
28093 *)
28094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28095 for as_dir in $PATH
28096 do
28097 IFS=$as_save_IFS
28098 test -z "$as_dir" && as_dir=.
28099 for ac_exec_ext in '' $ac_executable_extensions; do
28100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28101 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28103 break 2
28104 fi
28105 done
28106 done
28107
28108 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28109 ;;
28110 esac
28111 fi
28112 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28113
28114 if test -n "$GTK_CONFIG"; then
28115 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28116 echo "${ECHO_T}$GTK_CONFIG" >&6
28117 else
28118 echo "$as_me:$LINENO: result: no" >&5
28119 echo "${ECHO_T}no" >&6
28120 fi
28121
28122 min_gtk_version=1.2.3
28123 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28124 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28125 no_gtk=""
28126 if test "$GTK_CONFIG" = "no" ; then
28127 no_gtk=yes
28128 else
28129 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28130 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28131 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28133 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28135 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28137 if test "x$enable_gtktest" = "xyes" ; then
28138 ac_save_CFLAGS="$CFLAGS"
28139 ac_save_LIBS="$LIBS"
28140 CFLAGS="$CFLAGS $GTK_CFLAGS"
28141 LIBS="$GTK_LIBS $LIBS"
28142 rm -f conf.gtktest
28143 if test "$cross_compiling" = yes; then
28144 echo $ac_n "cross compiling; assumed OK... $ac_c"
28145 else
28146 cat >conftest.$ac_ext <<_ACEOF
28147 /* confdefs.h. */
28148 _ACEOF
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28152
28153 #include <gtk/gtk.h>
28154 #include <stdio.h>
28155 #include <stdlib.h>
28156
28157 int
28158 main ()
28159 {
28160 int major, minor, micro;
28161 char *tmp_version;
28162
28163 system ("touch conf.gtktest");
28164
28165 /* HP/UX 9 (%@#!) writes to sscanf strings */
28166 tmp_version = g_strdup("$min_gtk_version");
28167 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28168 printf("%s, bad version string\n", "$min_gtk_version");
28169 exit(1);
28170 }
28171
28172 if ((gtk_major_version != $gtk_config_major_version) ||
28173 (gtk_minor_version != $gtk_config_minor_version) ||
28174 (gtk_micro_version != $gtk_config_micro_version))
28175 {
28176 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28177 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28178 gtk_major_version, gtk_minor_version, gtk_micro_version);
28179 printf ("*** was found! If gtk-config was correct, then it is best\n");
28180 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28181 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28182 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28183 printf("*** required on your system.\n");
28184 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28185 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28186 printf("*** before re-running configure\n");
28187 }
28188 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28189 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28190 (gtk_minor_version != GTK_MINOR_VERSION) ||
28191 (gtk_micro_version != GTK_MICRO_VERSION))
28192 {
28193 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28194 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28195 printf("*** library (version %d.%d.%d)\n",
28196 gtk_major_version, gtk_minor_version, gtk_micro_version);
28197 }
28198 #endif /* defined (GTK_MAJOR_VERSION) ... */
28199 else
28200 {
28201 if ((gtk_major_version > major) ||
28202 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28203 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28204 {
28205 return 0;
28206 }
28207 else
28208 {
28209 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28210 gtk_major_version, gtk_minor_version, gtk_micro_version);
28211 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28212 major, minor, micro);
28213 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28214 printf("***\n");
28215 printf("*** If you have already installed a sufficiently new version, this error\n");
28216 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28217 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28218 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28219 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28220 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28221 printf("*** so that the correct libraries are found at run-time))\n");
28222 }
28223 }
28224 return 1;
28225 }
28226
28227 _ACEOF
28228 rm -f conftest$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230 (eval $ac_link) 2>&5
28231 ac_status=$?
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28236 ac_status=$?
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; }; then
28239 :
28240 else
28241 echo "$as_me: program exited with status $ac_status" >&5
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.$ac_ext >&5
28244
28245 ( exit $ac_status )
28246 no_gtk=yes
28247 fi
28248 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28249 fi
28250 CFLAGS="$ac_save_CFLAGS"
28251 LIBS="$ac_save_LIBS"
28252 fi
28253 fi
28254 if test "x$no_gtk" = x ; then
28255 echo "$as_me:$LINENO: result: yes" >&5
28256 echo "${ECHO_T}yes" >&6
28257 wx_cv_lib_gtk=1.2.3
28258 else
28259 echo "$as_me:$LINENO: result: no" >&5
28260 echo "${ECHO_T}no" >&6
28261 if test "$GTK_CONFIG" = "no" ; then
28262 echo "*** The gtk-config script installed by GTK could not be found"
28263 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28264 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28265 echo "*** full path to gtk-config."
28266 else
28267 if test -f conf.gtktest ; then
28268 :
28269 else
28270 echo "*** Could not run GTK test program, checking why..."
28271 CFLAGS="$CFLAGS $GTK_CFLAGS"
28272 LIBS="$LIBS $GTK_LIBS"
28273 cat >conftest.$ac_ext <<_ACEOF
28274 /* confdefs.h. */
28275 _ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28279
28280 #include <gtk/gtk.h>
28281 #include <stdio.h>
28282
28283 int
28284 main ()
28285 {
28286 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28287 ;
28288 return 0;
28289 }
28290 _ACEOF
28291 rm -f conftest.$ac_objext conftest$ac_exeext
28292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28293 (eval $ac_link) 2>conftest.er1
28294 ac_status=$?
28295 grep -v '^ *+' conftest.er1 >conftest.err
28296 rm -f conftest.er1
28297 cat conftest.err >&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } &&
28300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; } &&
28306 { ac_try='test -s conftest$ac_exeext'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; }; then
28312 echo "*** The test program compiled, but did not run. This usually means"
28313 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28314 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28317 echo "*** is required on your system"
28318 echo "***"
28319 echo "*** If you have an old version installed, it is best to remove it, although"
28320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28321 echo "***"
28322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28323 echo "*** came with the system with the command"
28324 echo "***"
28325 echo "*** rpm --erase --nodeps gtk gtk-devel"
28326 else
28327 echo "$as_me: failed program was:" >&5
28328 sed 's/^/| /' conftest.$ac_ext >&5
28329
28330 echo "*** The test program failed to compile or link. See the file config.log for the"
28331 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28332 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28333 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28334 fi
28335 rm -f conftest.err conftest.$ac_objext \
28336 conftest$ac_exeext conftest.$ac_ext
28337 CFLAGS="$ac_save_CFLAGS"
28338 LIBS="$ac_save_LIBS"
28339 fi
28340 fi
28341 GTK_CFLAGS=""
28342 GTK_LIBS=""
28343 :
28344 fi
28345
28346
28347 rm -f conf.gtktest
28348
28349 fi
28350 fi
28351 fi
28352
28353 if test -z "$wx_cv_lib_gtk"; then
28354 wx_cv_lib_gtk=none
28355 else
28356 wx_cv_cflags_gtk=$GTK_CFLAGS
28357 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28358 fi
28359
28360
28361 fi
28362
28363
28364 if test "$gtk_version_cached" = 1; then
28365 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28366 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28367 fi
28368
28369 case "$wx_cv_lib_gtk" in
28370 2.0) WXGTK20=1
28371 TOOLKIT_VERSION=2
28372 ;;
28373 1.2.7) WXGTK127=1
28374 WXGTK12=1
28375 ;;
28376 1.2.3) WXGTK12=1
28377 ;;
28378 *) { { echo "$as_me:$LINENO: error:
28379 The development files for GTK+ were not found. For GTK+ 2, please
28380 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28381 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28382 and that the version is 1.2.3 or above. Also check that the
28383 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28384 --libs' are in the LD_LIBRARY_PATH or equivalent.
28385 " >&5
28386 echo "$as_me: error:
28387 The development files for GTK+ were not found. For GTK+ 2, please
28388 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28389 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28390 and that the version is 1.2.3 or above. Also check that the
28391 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28392 --libs' are in the LD_LIBRARY_PATH or equivalent.
28393 " >&2;}
28394 { (exit 1); exit 1; }; }
28395 ;;
28396 esac
28397
28398 if test "$WXGTK20" = 1; then
28399 save_CFLAGS="$CFLAGS"
28400 save_LIBS="$LIBS"
28401 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28402 LIBS="$LIBS $wx_cv_libs_gtk"
28403
28404 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28405 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28406 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28407 echo $ECHO_N "(cached) $ECHO_C" >&6
28408 else
28409 cat >conftest.$ac_ext <<_ACEOF
28410 /* confdefs.h. */
28411 _ACEOF
28412 cat confdefs.h >>conftest.$ac_ext
28413 cat >>conftest.$ac_ext <<_ACEOF
28414 /* end confdefs.h. */
28415 #include <gtk/gtk.h>
28416
28417 int
28418 main ()
28419 {
28420 #ifndef gtk_icon_size_lookup
28421 char *p = (char *) gtk_icon_size_lookup;
28422 #endif
28423
28424 ;
28425 return 0;
28426 }
28427 _ACEOF
28428 rm -f conftest.$ac_objext
28429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28430 (eval $ac_compile) 2>conftest.er1
28431 ac_status=$?
28432 grep -v '^ *+' conftest.er1 >conftest.err
28433 rm -f conftest.er1
28434 cat conftest.err >&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); } &&
28437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 (eval $ac_try) 2>&5
28440 ac_status=$?
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; } &&
28443 { ac_try='test -s conftest.$ac_objext'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28446 ac_status=$?
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; }; then
28449 ac_cv_have_decl_gtk_icon_size_lookup=yes
28450 else
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.$ac_ext >&5
28453
28454 ac_cv_have_decl_gtk_icon_size_lookup=no
28455 fi
28456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28457 fi
28458 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28459 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28460 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28461
28462 cat >>confdefs.h <<_ACEOF
28463 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28464 _ACEOF
28465
28466
28467 else
28468 cat >>confdefs.h <<_ACEOF
28469 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28470 _ACEOF
28471
28472 cat >>confdefs.h <<\_ACEOF
28473 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28474 _ACEOF
28475
28476 fi
28477
28478
28479
28480 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28481 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28482 cat >conftest.$ac_ext <<_ACEOF
28483 /* confdefs.h. */
28484 _ACEOF
28485 cat confdefs.h >>conftest.$ac_ext
28486 cat >>conftest.$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28488
28489 #include <gtk/gtk.h>
28490
28491 int
28492 main ()
28493 {
28494
28495 #if !GTK_CHECK_VERSION(2,6,0)
28496 Not GTK+ 2.6
28497 #endif
28498
28499 ;
28500 return 0;
28501 }
28502 _ACEOF
28503 rm -f conftest.$ac_objext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28505 (eval $ac_compile) 2>conftest.er1
28506 ac_status=$?
28507 grep -v '^ *+' conftest.er1 >conftest.err
28508 rm -f conftest.er1
28509 cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); } &&
28512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28514 (eval $ac_try) 2>&5
28515 ac_status=$?
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); }; } &&
28518 { ac_try='test -s conftest.$ac_objext'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28521 ac_status=$?
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; }; then
28524
28525 cat >>confdefs.h <<\_ACEOF
28526 #define __WXGTK26__ 1
28527 _ACEOF
28528
28529 cat >>confdefs.h <<\_ACEOF
28530 #define __WXGTK24__ 1
28531 _ACEOF
28532
28533 echo "$as_me:$LINENO: result: yes" >&5
28534 echo "${ECHO_T}yes" >&6
28535 ac_wxgtk26=1
28536
28537 else
28538 echo "$as_me: failed program was:" >&5
28539 sed 's/^/| /' conftest.$ac_ext >&5
28540
28541
28542 echo "$as_me:$LINENO: result: no" >&5
28543 echo "${ECHO_T}no" >&6
28544 ac_wxgtk26=0
28545
28546 fi
28547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28548
28549 if test "$ac_wxgtk26" = 0; then
28550 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28551 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28552 cat >conftest.$ac_ext <<_ACEOF
28553 /* confdefs.h. */
28554 _ACEOF
28555 cat confdefs.h >>conftest.$ac_ext
28556 cat >>conftest.$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28558
28559 #include <gtk/gtk.h>
28560
28561 int
28562 main ()
28563 {
28564
28565 #if !GTK_CHECK_VERSION(2,4,0)
28566 Not GTK+ 2.4
28567 #endif
28568
28569 ;
28570 return 0;
28571 }
28572 _ACEOF
28573 rm -f conftest.$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28584 (eval $ac_try) 2>&5
28585 ac_status=$?
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; } &&
28588 { ac_try='test -s conftest.$ac_objext'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28591 ac_status=$?
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; }; then
28594
28595 cat >>confdefs.h <<\_ACEOF
28596 #define __WXGTK24__ 1
28597 _ACEOF
28598
28599 echo "$as_me:$LINENO: result: yes" >&5
28600 echo "${ECHO_T}yes" >&6
28601
28602 else
28603 echo "$as_me: failed program was:" >&5
28604 sed 's/^/| /' conftest.$ac_ext >&5
28605
28606
28607 echo "$as_me:$LINENO: result: no" >&5
28608 echo "${ECHO_T}no" >&6
28609
28610 fi
28611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28612 fi
28613
28614 CFLAGS="$save_CFLAGS"
28615 LIBS="$save_LIBS"
28616 else
28617 if test "$wxUSE_UNICODE" = "yes"; then
28618 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28619 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28620 wxUSE_UNICODE=no
28621 fi
28622
28623 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28624 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28625 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28626 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 else
28628 ac_check_lib_save_LIBS=$LIBS
28629 LIBS="-lgdk $LIBS"
28630 cat >conftest.$ac_ext <<_ACEOF
28631 /* confdefs.h. */
28632 _ACEOF
28633 cat confdefs.h >>conftest.$ac_ext
28634 cat >>conftest.$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28636
28637 /* Override any gcc2 internal prototype to avoid an error. */
28638 #ifdef __cplusplus
28639 extern "C"
28640 #endif
28641 /* We use char because int might match the return type of a gcc2
28642 builtin and then its argument prototype would still apply. */
28643 char gdk_im_open ();
28644 int
28645 main ()
28646 {
28647 gdk_im_open ();
28648 ;
28649 return 0;
28650 }
28651 _ACEOF
28652 rm -f conftest.$ac_objext conftest$ac_exeext
28653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28654 (eval $ac_link) 2>conftest.er1
28655 ac_status=$?
28656 grep -v '^ *+' conftest.er1 >conftest.err
28657 rm -f conftest.er1
28658 cat conftest.err >&5
28659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28660 (exit $ac_status); } &&
28661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28663 (eval $ac_try) 2>&5
28664 ac_status=$?
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); }; } &&
28667 { ac_try='test -s conftest$ac_exeext'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28670 ac_status=$?
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; }; then
28673 ac_cv_lib_gdk_gdk_im_open=yes
28674 else
28675 echo "$as_me: failed program was:" >&5
28676 sed 's/^/| /' conftest.$ac_ext >&5
28677
28678 ac_cv_lib_gdk_gdk_im_open=no
28679 fi
28680 rm -f conftest.err conftest.$ac_objext \
28681 conftest$ac_exeext conftest.$ac_ext
28682 LIBS=$ac_check_lib_save_LIBS
28683 fi
28684 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28685 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28686 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28687 cat >>confdefs.h <<\_ACEOF
28688 #define HAVE_XIM 1
28689 _ACEOF
28690
28691 fi
28692
28693 fi
28694
28695 if test "$USE_DARWIN" != 1; then
28696
28697 for ac_func in poll
28698 do
28699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28700 echo "$as_me:$LINENO: checking for $ac_func" >&5
28701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28702 if eval "test \"\${$as_ac_var+set}\" = set"; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 cat >conftest.$ac_ext <<_ACEOF
28706 /* confdefs.h. */
28707 _ACEOF
28708 cat confdefs.h >>conftest.$ac_ext
28709 cat >>conftest.$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28713 #define $ac_func innocuous_$ac_func
28714
28715 /* System header to define __stub macros and hopefully few prototypes,
28716 which can conflict with char $ac_func (); below.
28717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28718 <limits.h> exists even on freestanding compilers. */
28719
28720 #ifdef __STDC__
28721 # include <limits.h>
28722 #else
28723 # include <assert.h>
28724 #endif
28725
28726 #undef $ac_func
28727
28728 /* Override any gcc2 internal prototype to avoid an error. */
28729 #ifdef __cplusplus
28730 extern "C"
28731 {
28732 #endif
28733 /* We use char because int might match the return type of a gcc2
28734 builtin and then its argument prototype would still apply. */
28735 char $ac_func ();
28736 /* The GNU C library defines this for functions which it implements
28737 to always fail with ENOSYS. Some functions are actually named
28738 something starting with __ and the normal name is an alias. */
28739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28740 choke me
28741 #else
28742 char (*f) () = $ac_func;
28743 #endif
28744 #ifdef __cplusplus
28745 }
28746 #endif
28747
28748 int
28749 main ()
28750 {
28751 return f != $ac_func;
28752 ;
28753 return 0;
28754 }
28755 _ACEOF
28756 rm -f conftest.$ac_objext conftest$ac_exeext
28757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28758 (eval $ac_link) 2>conftest.er1
28759 ac_status=$?
28760 grep -v '^ *+' conftest.er1 >conftest.err
28761 rm -f conftest.er1
28762 cat conftest.err >&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; } &&
28771 { ac_try='test -s conftest$ac_exeext'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28774 ac_status=$?
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; }; then
28777 eval "$as_ac_var=yes"
28778 else
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.$ac_ext >&5
28781
28782 eval "$as_ac_var=no"
28783 fi
28784 rm -f conftest.err conftest.$ac_objext \
28785 conftest$ac_exeext conftest.$ac_ext
28786 fi
28787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28789 if test `eval echo '${'$as_ac_var'}'` = yes; then
28790 cat >>confdefs.h <<_ACEOF
28791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28792 _ACEOF
28793
28794 fi
28795 done
28796
28797 fi
28798
28799 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28800 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28801
28802 AFMINSTALL=afminstall
28803 TOOLKIT=GTK
28804 GUIDIST=GTK_DIST
28805
28806 if test "$wxUSE_GPE" = "yes"; then
28807 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28808 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28809
28810 ac_find_libraries=
28811 for ac_dir in $SEARCH_LIB;
28812 do
28813 for ac_extension in a so sl dylib dll.a; do
28814 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28815 ac_find_libraries=$ac_dir
28816 break 2
28817 fi
28818 done
28819 done
28820
28821 if test "$ac_find_libraries" != "" ; then
28822
28823 if test "$ac_find_libraries" = "default location"; then
28824 ac_path_to_link=""
28825 else
28826 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28827 result=$?
28828 if test $result = 0; then
28829 ac_path_to_link=""
28830 else
28831 ac_path_to_link=" -L$ac_find_libraries"
28832 fi
28833 fi
28834
28835 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28836 WXGPE=1
28837 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28838 echo "${ECHO_T}found in $ac_find_libraries" >&6
28839 else
28840 echo "$as_me:$LINENO: result: not found" >&5
28841 echo "${ECHO_T}not found" >&6
28842 fi
28843
28844 fi
28845 fi
28846
28847 if test "$wxUSE_MGL" = 1; then
28848 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28849 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28850 if test "x$MGL_ROOT" = x ; then
28851 echo "$as_me:$LINENO: result: not found" >&5
28852 echo "${ECHO_T}not found" >&6
28853 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28854 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28855 { (exit 1); exit 1; }; }
28856 else
28857 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28858 echo "${ECHO_T}$MGL_ROOT" >&6
28859 fi
28860
28861 echo "$as_me:$LINENO: checking for libmgl location" >&5
28862 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28863 case "${host}" in
28864 *-*-linux* )
28865 if test "x$wxUSE_SHARED" = xyes ; then
28866 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28867 else
28868 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28869 fi
28870 ;;
28871 *-pc-msdosdjgpp )
28872 mgl_os_candidates="dos32/dj2"
28873 ;;
28874 *)
28875 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28876 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28877 { (exit 1); exit 1; }; }
28878 esac
28879
28880 mgl_lib_type=""
28881 mgl_os=""
28882
28883 for mgl_os_i in $mgl_os_candidates ; do
28884 if test "x$mgl_os" = x ; then
28885 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28886 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28887 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28888 mgl_lib_type=debug
28889 mgl_os=$mgl_os_i
28890 fi
28891 fi
28892 if test "x$mgl_lib_type" = x ; then
28893 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28894 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28895 mgl_lib_type=release
28896 mgl_os=$mgl_os_i
28897 fi
28898 fi
28899 fi
28900 done
28901
28902 if test "x$mgl_os" = x ; then
28903 echo "$as_me:$LINENO: result: not found" >&5
28904 echo "${ECHO_T}not found" >&6
28905 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28906 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28907 { (exit 1); exit 1; }; }
28908 fi
28909 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28910 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28911
28912 wxUSE_UNIVERSAL="yes"
28913
28914 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28915 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28916
28917 AFMINSTALL=afminstall
28918 TOOLKIT=MGL
28919 GUIDIST=MGL_DIST
28920 fi
28921
28922 if test "$wxUSE_DFB" = 1; then
28923
28924
28925 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28926 if test -n "$ac_tool_prefix"; then
28927 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28928 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28929 echo "$as_me:$LINENO: checking for $ac_word" >&5
28930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28931 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 else
28934 case $PKG_CONFIG in
28935 [\\/]* | ?:[\\/]*)
28936 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28937 ;;
28938 *)
28939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28940 for as_dir in $PATH
28941 do
28942 IFS=$as_save_IFS
28943 test -z "$as_dir" && as_dir=.
28944 for ac_exec_ext in '' $ac_executable_extensions; do
28945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28946 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28948 break 2
28949 fi
28950 done
28951 done
28952
28953 ;;
28954 esac
28955 fi
28956 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28957
28958 if test -n "$PKG_CONFIG"; then
28959 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28960 echo "${ECHO_T}$PKG_CONFIG" >&6
28961 else
28962 echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6
28964 fi
28965
28966 fi
28967 if test -z "$ac_cv_path_PKG_CONFIG"; then
28968 ac_pt_PKG_CONFIG=$PKG_CONFIG
28969 # Extract the first word of "pkg-config", so it can be a program name with args.
28970 set dummy pkg-config; ac_word=$2
28971 echo "$as_me:$LINENO: checking for $ac_word" >&5
28972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28973 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976 case $ac_pt_PKG_CONFIG in
28977 [\\/]* | ?:[\\/]*)
28978 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28979 ;;
28980 *)
28981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28982 for as_dir in $PATH
28983 do
28984 IFS=$as_save_IFS
28985 test -z "$as_dir" && as_dir=.
28986 for ac_exec_ext in '' $ac_executable_extensions; do
28987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28988 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28990 break 2
28991 fi
28992 done
28993 done
28994
28995 ;;
28996 esac
28997 fi
28998 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28999
29000 if test -n "$ac_pt_PKG_CONFIG"; then
29001 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29002 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29003 else
29004 echo "$as_me:$LINENO: result: no" >&5
29005 echo "${ECHO_T}no" >&6
29006 fi
29007
29008 PKG_CONFIG=$ac_pt_PKG_CONFIG
29009 else
29010 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29011 fi
29012
29013 fi
29014 if test -n "$PKG_CONFIG"; then
29015 _pkg_min_version=0.9.0
29016 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29017 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29018 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29019 echo "$as_me:$LINENO: result: yes" >&5
29020 echo "${ECHO_T}yes" >&6
29021 else
29022 echo "$as_me:$LINENO: result: no" >&5
29023 echo "${ECHO_T}no" >&6
29024 PKG_CONFIG=""
29025 fi
29026
29027 fi
29028
29029
29030 pkg_failed=no
29031 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29032 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29033
29034 if test -n "$PKG_CONFIG"; then
29035 if test -n "$DIRECTFB_CFLAGS"; then
29036 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29037 else
29038 if test -n "$PKG_CONFIG" && \
29039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29040 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29041 ac_status=$?
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); }; then
29044 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29045 else
29046 pkg_failed=yes
29047 fi
29048 fi
29049 else
29050 pkg_failed=untried
29051 fi
29052 if test -n "$PKG_CONFIG"; then
29053 if test -n "$DIRECTFB_LIBS"; then
29054 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29055 else
29056 if test -n "$PKG_CONFIG" && \
29057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29058 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29059 ac_status=$?
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); }; then
29062 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29063 else
29064 pkg_failed=yes
29065 fi
29066 fi
29067 else
29068 pkg_failed=untried
29069 fi
29070
29071
29072
29073 if test $pkg_failed = yes; then
29074
29075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29076 _pkg_short_errors_supported=yes
29077 else
29078 _pkg_short_errors_supported=no
29079 fi
29080 if test $_pkg_short_errors_supported = yes; then
29081 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29082 else
29083 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29084 fi
29085 # Put the nasty error message in config.log where it belongs
29086 echo "$DIRECTFB_PKG_ERRORS" >&5
29087
29088
29089 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29090 echo "$as_me: error: DirectFB not found." >&2;}
29091 { (exit 1); exit 1; }; }
29092
29093
29094 elif test $pkg_failed = untried; then
29095
29096 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29097 echo "$as_me: error: DirectFB not found." >&2;}
29098 { (exit 1); exit 1; }; }
29099
29100
29101 else
29102 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29103 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29104 echo "$as_me:$LINENO: result: yes" >&5
29105 echo "${ECHO_T}yes" >&6
29106
29107 wxUSE_UNIVERSAL="yes"
29108 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29109 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29110 TOOLKIT=DFB
29111 GUIDIST=DFB_DIST
29112
29113 fi
29114 fi
29115
29116 if test "$wxUSE_MICROWIN" = 1; then
29117 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29118 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29119 if test "x$MICROWINDOWS" = x ; then
29120 echo "$as_me:$LINENO: result: not found" >&5
29121 echo "${ECHO_T}not found" >&6
29122 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29123 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29124 { (exit 1); exit 1; }; }
29125 else
29126 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29127 echo "${ECHO_T}$MICROWINDOWS" >&6
29128 fi
29129
29130 if test -f $MICROWINDOWS/lib/libmwin.a; then
29131 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29132 echo "${ECHO_T}MicroWindows' libraries found." >&6
29133 else
29134 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29135 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29136 { (exit 1); exit 1; }; }
29137 fi
29138
29139 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29140 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29141
29142 wxUSE_UNIVERSAL="yes"
29143
29144 AFMINSTALL=afminstall
29145 TOOLKIT=MICROWIN
29146 GUIDIST=MICROWIN_DIST
29147
29148 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29149 fi
29150
29151 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29152
29153 if test "x$ac_path_x_has_been_run" != xyes; then
29154 echo "$as_me:$LINENO: checking for X" >&5
29155 echo $ECHO_N "checking for X... $ECHO_C" >&6
29156
29157 ac_path_x_has_been_run=yes
29158
29159 # Check whether --with-x or --without-x was given.
29160 if test "${with_x+set}" = set; then
29161 withval="$with_x"
29162
29163 fi;
29164 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29165 if test "x$with_x" = xno; then
29166 # The user explicitly disabled X.
29167 have_x=disabled
29168 else
29169 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29170 # Both variables are already set.
29171 have_x=yes
29172 else
29173 if test "${ac_cv_have_x+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 else
29176 # One or both of the vars are not set, and there is no cached value.
29177 ac_x_includes=no ac_x_libraries=no
29178 rm -fr conftest.dir
29179 if mkdir conftest.dir; then
29180 cd conftest.dir
29181 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29182 cat >Imakefile <<'_ACEOF'
29183 acfindx:
29184 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29185 _ACEOF
29186 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29187 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29188 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29189 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29190 for ac_extension in a so sl; do
29191 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29192 test -f $ac_im_libdir/libX11.$ac_extension; then
29193 ac_im_usrlibdir=$ac_im_libdir; break
29194 fi
29195 done
29196 # Screen out bogus values from the imake configuration. They are
29197 # bogus both because they are the default anyway, and because
29198 # using them would break gcc on systems where it needs fixed includes.
29199 case $ac_im_incroot in
29200 /usr/include) ;;
29201 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29202 esac
29203 case $ac_im_usrlibdir in
29204 /usr/lib | /lib) ;;
29205 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29206 esac
29207 fi
29208 cd ..
29209 rm -fr conftest.dir
29210 fi
29211
29212 # Standard set of common directories for X headers.
29213 # Check X11 before X11Rn because it is often a symlink to the current release.
29214 ac_x_header_dirs='
29215 /usr/X11/include
29216 /usr/X11R6/include
29217 /usr/X11R5/include
29218 /usr/X11R4/include
29219
29220 /usr/include/X11
29221 /usr/include/X11R6
29222 /usr/include/X11R5
29223 /usr/include/X11R4
29224
29225 /usr/local/X11/include
29226 /usr/local/X11R6/include
29227 /usr/local/X11R5/include
29228 /usr/local/X11R4/include
29229
29230 /usr/local/include/X11
29231 /usr/local/include/X11R6
29232 /usr/local/include/X11R5
29233 /usr/local/include/X11R4
29234
29235 /usr/X386/include
29236 /usr/x386/include
29237 /usr/XFree86/include/X11
29238
29239 /usr/include
29240 /usr/local/include
29241 /usr/unsupported/include
29242 /usr/athena/include
29243 /usr/local/x11r5/include
29244 /usr/lpp/Xamples/include
29245
29246 /usr/openwin/include
29247 /usr/openwin/share/include'
29248
29249 if test "$ac_x_includes" = no; then
29250 # Guess where to find include files, by looking for a specified header file.
29251 # First, try using that file with no special directory specified.
29252 cat >conftest.$ac_ext <<_ACEOF
29253 /* confdefs.h. */
29254 _ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29258 #include <X11/Xlib.h>
29259 _ACEOF
29260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29262 ac_status=$?
29263 grep -v '^ *+' conftest.er1 >conftest.err
29264 rm -f conftest.er1
29265 cat conftest.err >&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); } >/dev/null; then
29268 if test -s conftest.err; then
29269 ac_cpp_err=$ac_c_preproc_warn_flag
29270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29271 else
29272 ac_cpp_err=
29273 fi
29274 else
29275 ac_cpp_err=yes
29276 fi
29277 if test -z "$ac_cpp_err"; then
29278 # We can compile using X headers with no special include directory.
29279 ac_x_includes=
29280 else
29281 echo "$as_me: failed program was:" >&5
29282 sed 's/^/| /' conftest.$ac_ext >&5
29283
29284 for ac_dir in $ac_x_header_dirs; do
29285 if test -r "$ac_dir/X11/Xlib.h"; then
29286 ac_x_includes=$ac_dir
29287 break
29288 fi
29289 done
29290 fi
29291 rm -f conftest.err conftest.$ac_ext
29292 fi # $ac_x_includes = no
29293
29294 if test "$ac_x_libraries" = no; then
29295 # Check for the libraries.
29296 # See if we find them without any special options.
29297 # Don't add to $LIBS permanently.
29298 ac_save_LIBS=$LIBS
29299 LIBS="-lX11 $LIBS"
29300 cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306 #include <X11/Xlib.h>
29307 int
29308 main ()
29309 {
29310 XrmInitialize ()
29311 ;
29312 return 0;
29313 }
29314 _ACEOF
29315 rm -f conftest.$ac_objext conftest$ac_exeext
29316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29317 (eval $ac_link) 2>conftest.er1
29318 ac_status=$?
29319 grep -v '^ *+' conftest.er1 >conftest.err
29320 rm -f conftest.er1
29321 cat conftest.err >&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); } &&
29324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29326 (eval $ac_try) 2>&5
29327 ac_status=$?
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); }; } &&
29330 { ac_try='test -s conftest$ac_exeext'
29331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29332 (eval $ac_try) 2>&5
29333 ac_status=$?
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); }; }; then
29336 LIBS=$ac_save_LIBS
29337 # We can link X programs with no special library path.
29338 ac_x_libraries=
29339 else
29340 echo "$as_me: failed program was:" >&5
29341 sed 's/^/| /' conftest.$ac_ext >&5
29342
29343 LIBS=$ac_save_LIBS
29344 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29345 do
29346 # Don't even attempt the hair of trying to link an X program!
29347 for ac_extension in a so sl; do
29348 if test -r $ac_dir/libX11.$ac_extension; then
29349 ac_x_libraries=$ac_dir
29350 break 2
29351 fi
29352 done
29353 done
29354 fi
29355 rm -f conftest.err conftest.$ac_objext \
29356 conftest$ac_exeext conftest.$ac_ext
29357 fi # $ac_x_libraries = no
29358
29359 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29360 # Didn't find X anywhere. Cache the known absence of X.
29361 ac_cv_have_x="have_x=no"
29362 else
29363 # Record where we found X for the cache.
29364 ac_cv_have_x="have_x=yes \
29365 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29366 fi
29367 fi
29368
29369 fi
29370 eval "$ac_cv_have_x"
29371 fi # $with_x != no
29372
29373 if test "$have_x" != yes; then
29374 echo "$as_me:$LINENO: result: $have_x" >&5
29375 echo "${ECHO_T}$have_x" >&6
29376 no_x=yes
29377 else
29378 # If each of the values was on the command line, it overrides each guess.
29379 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29380 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29381 # Update the cache value to reflect the command line values.
29382 ac_cv_have_x="have_x=yes \
29383 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29384 # It might be that x_includes is empty (headers are found in the
29385 # standard search path. Then output the corresponding message
29386 ac_out_x_includes=$x_includes
29387 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29388 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29389 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29390 fi
29391
29392 fi
29393 if test "$no_x" = yes; then
29394 # Not all programs may use this symbol, but it does not hurt to define it.
29395
29396 cat >>confdefs.h <<\_ACEOF
29397 #define X_DISPLAY_MISSING 1
29398 _ACEOF
29399
29400 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29401 else
29402 if test -n "$x_includes"; then
29403 X_CFLAGS="$X_CFLAGS -I$x_includes"
29404 fi
29405
29406 # It would also be nice to do this for all -L options, not just this one.
29407 if test -n "$x_libraries"; then
29408 X_LIBS="$X_LIBS -L$x_libraries"
29409 # For Solaris; some versions of Sun CC require a space after -R and
29410 # others require no space. Words are not sufficient . . . .
29411 case `(uname -sr) 2>/dev/null` in
29412 "SunOS 5"*)
29413 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29414 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29415 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29416 cat >conftest.$ac_ext <<_ACEOF
29417 /* confdefs.h. */
29418 _ACEOF
29419 cat confdefs.h >>conftest.$ac_ext
29420 cat >>conftest.$ac_ext <<_ACEOF
29421 /* end confdefs.h. */
29422
29423 int
29424 main ()
29425 {
29426
29427 ;
29428 return 0;
29429 }
29430 _ACEOF
29431 rm -f conftest.$ac_objext conftest$ac_exeext
29432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29433 (eval $ac_link) 2>conftest.er1
29434 ac_status=$?
29435 grep -v '^ *+' conftest.er1 >conftest.err
29436 rm -f conftest.er1
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } &&
29440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29442 (eval $ac_try) 2>&5
29443 ac_status=$?
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); }; } &&
29446 { ac_try='test -s conftest$ac_exeext'
29447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 (eval $ac_try) 2>&5
29449 ac_status=$?
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); }; }; then
29452 ac_R_nospace=yes
29453 else
29454 echo "$as_me: failed program was:" >&5
29455 sed 's/^/| /' conftest.$ac_ext >&5
29456
29457 ac_R_nospace=no
29458 fi
29459 rm -f conftest.err conftest.$ac_objext \
29460 conftest$ac_exeext conftest.$ac_ext
29461 if test $ac_R_nospace = yes; then
29462 echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6
29464 X_LIBS="$X_LIBS -R$x_libraries"
29465 else
29466 LIBS="$ac_xsave_LIBS -R $x_libraries"
29467 cat >conftest.$ac_ext <<_ACEOF
29468 /* confdefs.h. */
29469 _ACEOF
29470 cat confdefs.h >>conftest.$ac_ext
29471 cat >>conftest.$ac_ext <<_ACEOF
29472 /* end confdefs.h. */
29473
29474 int
29475 main ()
29476 {
29477
29478 ;
29479 return 0;
29480 }
29481 _ACEOF
29482 rm -f conftest.$ac_objext conftest$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>conftest.er1
29485 ac_status=$?
29486 grep -v '^ *+' conftest.er1 >conftest.err
29487 rm -f conftest.er1
29488 cat conftest.err >&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29494 ac_status=$?
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; } &&
29497 { ac_try='test -s conftest$ac_exeext'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29500 ac_status=$?
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; }; then
29503 ac_R_space=yes
29504 else
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29507
29508 ac_R_space=no
29509 fi
29510 rm -f conftest.err conftest.$ac_objext \
29511 conftest$ac_exeext conftest.$ac_ext
29512 if test $ac_R_space = yes; then
29513 echo "$as_me:$LINENO: result: yes" >&5
29514 echo "${ECHO_T}yes" >&6
29515 X_LIBS="$X_LIBS -R $x_libraries"
29516 else
29517 echo "$as_me:$LINENO: result: neither works" >&5
29518 echo "${ECHO_T}neither works" >&6
29519 fi
29520 fi
29521 LIBS=$ac_xsave_LIBS
29522 esac
29523 fi
29524
29525 # Check for system-dependent libraries X programs must link with.
29526 # Do this before checking for the system-independent R6 libraries
29527 # (-lICE), since we may need -lsocket or whatever for X linking.
29528
29529 if test "$ISC" = yes; then
29530 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29531 else
29532 # Martyn Johnson says this is needed for Ultrix, if the X
29533 # libraries were built with DECnet support. And Karl Berry says
29534 # the Alpha needs dnet_stub (dnet does not exist).
29535 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29536 cat >conftest.$ac_ext <<_ACEOF
29537 /* confdefs.h. */
29538 _ACEOF
29539 cat confdefs.h >>conftest.$ac_ext
29540 cat >>conftest.$ac_ext <<_ACEOF
29541 /* end confdefs.h. */
29542
29543 /* Override any gcc2 internal prototype to avoid an error. */
29544 #ifdef __cplusplus
29545 extern "C"
29546 #endif
29547 /* We use char because int might match the return type of a gcc2
29548 builtin and then its argument prototype would still apply. */
29549 char XOpenDisplay ();
29550 int
29551 main ()
29552 {
29553 XOpenDisplay ();
29554 ;
29555 return 0;
29556 }
29557 _ACEOF
29558 rm -f conftest.$ac_objext conftest$ac_exeext
29559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29560 (eval $ac_link) 2>conftest.er1
29561 ac_status=$?
29562 grep -v '^ *+' conftest.er1 >conftest.err
29563 rm -f conftest.er1
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } &&
29567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29569 (eval $ac_try) 2>&5
29570 ac_status=$?
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); }; } &&
29573 { ac_try='test -s conftest$ac_exeext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 :
29580 else
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29583
29584 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29585 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29586 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29588 else
29589 ac_check_lib_save_LIBS=$LIBS
29590 LIBS="-ldnet $LIBS"
29591 cat >conftest.$ac_ext <<_ACEOF
29592 /* confdefs.h. */
29593 _ACEOF
29594 cat confdefs.h >>conftest.$ac_ext
29595 cat >>conftest.$ac_ext <<_ACEOF
29596 /* end confdefs.h. */
29597
29598 /* Override any gcc2 internal prototype to avoid an error. */
29599 #ifdef __cplusplus
29600 extern "C"
29601 #endif
29602 /* We use char because int might match the return type of a gcc2
29603 builtin and then its argument prototype would still apply. */
29604 char dnet_ntoa ();
29605 int
29606 main ()
29607 {
29608 dnet_ntoa ();
29609 ;
29610 return 0;
29611 }
29612 _ACEOF
29613 rm -f conftest.$ac_objext conftest$ac_exeext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29615 (eval $ac_link) 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } &&
29622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624 (eval $ac_try) 2>&5
29625 ac_status=$?
29626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627 (exit $ac_status); }; } &&
29628 { ac_try='test -s conftest$ac_exeext'
29629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29630 (eval $ac_try) 2>&5
29631 ac_status=$?
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); }; }; then
29634 ac_cv_lib_dnet_dnet_ntoa=yes
29635 else
29636 echo "$as_me: failed program was:" >&5
29637 sed 's/^/| /' conftest.$ac_ext >&5
29638
29639 ac_cv_lib_dnet_dnet_ntoa=no
29640 fi
29641 rm -f conftest.err conftest.$ac_objext \
29642 conftest$ac_exeext conftest.$ac_ext
29643 LIBS=$ac_check_lib_save_LIBS
29644 fi
29645 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29646 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29647 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29648 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29649 fi
29650
29651 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29652 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29653 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29654 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 else
29657 ac_check_lib_save_LIBS=$LIBS
29658 LIBS="-ldnet_stub $LIBS"
29659 cat >conftest.$ac_ext <<_ACEOF
29660 /* confdefs.h. */
29661 _ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29665
29666 /* Override any gcc2 internal prototype to avoid an error. */
29667 #ifdef __cplusplus
29668 extern "C"
29669 #endif
29670 /* We use char because int might match the return type of a gcc2
29671 builtin and then its argument prototype would still apply. */
29672 char dnet_ntoa ();
29673 int
29674 main ()
29675 {
29676 dnet_ntoa ();
29677 ;
29678 return 0;
29679 }
29680 _ACEOF
29681 rm -f conftest.$ac_objext conftest$ac_exeext
29682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29683 (eval $ac_link) 2>conftest.er1
29684 ac_status=$?
29685 grep -v '^ *+' conftest.er1 >conftest.err
29686 rm -f conftest.er1
29687 cat conftest.err >&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } &&
29690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29692 (eval $ac_try) 2>&5
29693 ac_status=$?
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); }; } &&
29696 { ac_try='test -s conftest$ac_exeext'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29699 ac_status=$?
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; }; then
29702 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29703 else
29704 echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29706
29707 ac_cv_lib_dnet_stub_dnet_ntoa=no
29708 fi
29709 rm -f conftest.err conftest.$ac_objext \
29710 conftest$ac_exeext conftest.$ac_ext
29711 LIBS=$ac_check_lib_save_LIBS
29712 fi
29713 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29714 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29715 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29716 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29717 fi
29718
29719 fi
29720 fi
29721 rm -f conftest.err conftest.$ac_objext \
29722 conftest$ac_exeext conftest.$ac_ext
29723 LIBS="$ac_xsave_LIBS"
29724
29725 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29726 # to get the SysV transport functions.
29727 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29728 # needs -lnsl.
29729 # The nsl library prevents programs from opening the X display
29730 # on Irix 5.2, according to T.E. Dickey.
29731 # The functions gethostbyname, getservbyname, and inet_addr are
29732 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29733 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29734 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29735 if test "${ac_cv_func_gethostbyname+set}" = set; then
29736 echo $ECHO_N "(cached) $ECHO_C" >&6
29737 else
29738 cat >conftest.$ac_ext <<_ACEOF
29739 /* confdefs.h. */
29740 _ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29744 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29746 #define gethostbyname innocuous_gethostbyname
29747
29748 /* System header to define __stub macros and hopefully few prototypes,
29749 which can conflict with char gethostbyname (); below.
29750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29751 <limits.h> exists even on freestanding compilers. */
29752
29753 #ifdef __STDC__
29754 # include <limits.h>
29755 #else
29756 # include <assert.h>
29757 #endif
29758
29759 #undef gethostbyname
29760
29761 /* Override any gcc2 internal prototype to avoid an error. */
29762 #ifdef __cplusplus
29763 extern "C"
29764 {
29765 #endif
29766 /* We use char because int might match the return type of a gcc2
29767 builtin and then its argument prototype would still apply. */
29768 char gethostbyname ();
29769 /* The GNU C library defines this for functions which it implements
29770 to always fail with ENOSYS. Some functions are actually named
29771 something starting with __ and the normal name is an alias. */
29772 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29773 choke me
29774 #else
29775 char (*f) () = gethostbyname;
29776 #endif
29777 #ifdef __cplusplus
29778 }
29779 #endif
29780
29781 int
29782 main ()
29783 {
29784 return f != gethostbyname;
29785 ;
29786 return 0;
29787 }
29788 _ACEOF
29789 rm -f conftest.$ac_objext conftest$ac_exeext
29790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29791 (eval $ac_link) 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } &&
29798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29800 (eval $ac_try) 2>&5
29801 ac_status=$?
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); }; } &&
29804 { ac_try='test -s conftest$ac_exeext'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29807 ac_status=$?
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; }; then
29810 ac_cv_func_gethostbyname=yes
29811 else
29812 echo "$as_me: failed program was:" >&5
29813 sed 's/^/| /' conftest.$ac_ext >&5
29814
29815 ac_cv_func_gethostbyname=no
29816 fi
29817 rm -f conftest.err conftest.$ac_objext \
29818 conftest$ac_exeext conftest.$ac_ext
29819 fi
29820 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29821 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29822
29823 if test $ac_cv_func_gethostbyname = no; then
29824 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29825 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29826 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29828 else
29829 ac_check_lib_save_LIBS=$LIBS
29830 LIBS="-lnsl $LIBS"
29831 cat >conftest.$ac_ext <<_ACEOF
29832 /* confdefs.h. */
29833 _ACEOF
29834 cat confdefs.h >>conftest.$ac_ext
29835 cat >>conftest.$ac_ext <<_ACEOF
29836 /* end confdefs.h. */
29837
29838 /* Override any gcc2 internal prototype to avoid an error. */
29839 #ifdef __cplusplus
29840 extern "C"
29841 #endif
29842 /* We use char because int might match the return type of a gcc2
29843 builtin and then its argument prototype would still apply. */
29844 char gethostbyname ();
29845 int
29846 main ()
29847 {
29848 gethostbyname ();
29849 ;
29850 return 0;
29851 }
29852 _ACEOF
29853 rm -f conftest.$ac_objext conftest$ac_exeext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29855 (eval $ac_link) 2>conftest.er1
29856 ac_status=$?
29857 grep -v '^ *+' conftest.er1 >conftest.err
29858 rm -f conftest.er1
29859 cat conftest.err >&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } &&
29862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29865 ac_status=$?
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; } &&
29868 { ac_try='test -s conftest$ac_exeext'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29871 ac_status=$?
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; }; then
29874 ac_cv_lib_nsl_gethostbyname=yes
29875 else
29876 echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.$ac_ext >&5
29878
29879 ac_cv_lib_nsl_gethostbyname=no
29880 fi
29881 rm -f conftest.err conftest.$ac_objext \
29882 conftest$ac_exeext conftest.$ac_ext
29883 LIBS=$ac_check_lib_save_LIBS
29884 fi
29885 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29886 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29887 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29888 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29889 fi
29890
29891 if test $ac_cv_lib_nsl_gethostbyname = no; then
29892 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29893 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29894 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 else
29897 ac_check_lib_save_LIBS=$LIBS
29898 LIBS="-lbsd $LIBS"
29899 cat >conftest.$ac_ext <<_ACEOF
29900 /* confdefs.h. */
29901 _ACEOF
29902 cat confdefs.h >>conftest.$ac_ext
29903 cat >>conftest.$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29905
29906 /* Override any gcc2 internal prototype to avoid an error. */
29907 #ifdef __cplusplus
29908 extern "C"
29909 #endif
29910 /* We use char because int might match the return type of a gcc2
29911 builtin and then its argument prototype would still apply. */
29912 char gethostbyname ();
29913 int
29914 main ()
29915 {
29916 gethostbyname ();
29917 ;
29918 return 0;
29919 }
29920 _ACEOF
29921 rm -f conftest.$ac_objext conftest$ac_exeext
29922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29923 (eval $ac_link) 2>conftest.er1
29924 ac_status=$?
29925 grep -v '^ *+' conftest.er1 >conftest.err
29926 rm -f conftest.er1
29927 cat conftest.err >&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); } &&
29930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try='test -s conftest$ac_exeext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 ac_cv_lib_bsd_gethostbyname=yes
29943 else
29944 echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29946
29947 ac_cv_lib_bsd_gethostbyname=no
29948 fi
29949 rm -f conftest.err conftest.$ac_objext \
29950 conftest$ac_exeext conftest.$ac_ext
29951 LIBS=$ac_check_lib_save_LIBS
29952 fi
29953 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29954 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29955 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29956 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29957 fi
29958
29959 fi
29960 fi
29961
29962 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29963 # socket/setsockopt and other routines are undefined under SCO ODT
29964 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29965 # on later versions), says Simon Leinen: it contains gethostby*
29966 # variants that don't use the name server (or something). -lsocket
29967 # must be given before -lnsl if both are needed. We assume that
29968 # if connect needs -lnsl, so does gethostbyname.
29969 echo "$as_me:$LINENO: checking for connect" >&5
29970 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29971 if test "${ac_cv_func_connect+set}" = set; then
29972 echo $ECHO_N "(cached) $ECHO_C" >&6
29973 else
29974 cat >conftest.$ac_ext <<_ACEOF
29975 /* confdefs.h. */
29976 _ACEOF
29977 cat confdefs.h >>conftest.$ac_ext
29978 cat >>conftest.$ac_ext <<_ACEOF
29979 /* end confdefs.h. */
29980 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29982 #define connect innocuous_connect
29983
29984 /* System header to define __stub macros and hopefully few prototypes,
29985 which can conflict with char connect (); below.
29986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29987 <limits.h> exists even on freestanding compilers. */
29988
29989 #ifdef __STDC__
29990 # include <limits.h>
29991 #else
29992 # include <assert.h>
29993 #endif
29994
29995 #undef connect
29996
29997 /* Override any gcc2 internal prototype to avoid an error. */
29998 #ifdef __cplusplus
29999 extern "C"
30000 {
30001 #endif
30002 /* We use char because int might match the return type of a gcc2
30003 builtin and then its argument prototype would still apply. */
30004 char connect ();
30005 /* The GNU C library defines this for functions which it implements
30006 to always fail with ENOSYS. Some functions are actually named
30007 something starting with __ and the normal name is an alias. */
30008 #if defined (__stub_connect) || defined (__stub___connect)
30009 choke me
30010 #else
30011 char (*f) () = connect;
30012 #endif
30013 #ifdef __cplusplus
30014 }
30015 #endif
30016
30017 int
30018 main ()
30019 {
30020 return f != connect;
30021 ;
30022 return 0;
30023 }
30024 _ACEOF
30025 rm -f conftest.$ac_objext conftest$ac_exeext
30026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30027 (eval $ac_link) 2>conftest.er1
30028 ac_status=$?
30029 grep -v '^ *+' conftest.er1 >conftest.err
30030 rm -f conftest.er1
30031 cat conftest.err >&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); } &&
30034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30037 ac_status=$?
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; } &&
30040 { ac_try='test -s conftest$ac_exeext'
30041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30042 (eval $ac_try) 2>&5
30043 ac_status=$?
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); }; }; then
30046 ac_cv_func_connect=yes
30047 else
30048 echo "$as_me: failed program was:" >&5
30049 sed 's/^/| /' conftest.$ac_ext >&5
30050
30051 ac_cv_func_connect=no
30052 fi
30053 rm -f conftest.err conftest.$ac_objext \
30054 conftest$ac_exeext conftest.$ac_ext
30055 fi
30056 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30057 echo "${ECHO_T}$ac_cv_func_connect" >&6
30058
30059 if test $ac_cv_func_connect = no; then
30060 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30061 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30062 if test "${ac_cv_lib_socket_connect+set}" = set; then
30063 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 else
30065 ac_check_lib_save_LIBS=$LIBS
30066 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30067 cat >conftest.$ac_ext <<_ACEOF
30068 /* confdefs.h. */
30069 _ACEOF
30070 cat confdefs.h >>conftest.$ac_ext
30071 cat >>conftest.$ac_ext <<_ACEOF
30072 /* end confdefs.h. */
30073
30074 /* Override any gcc2 internal prototype to avoid an error. */
30075 #ifdef __cplusplus
30076 extern "C"
30077 #endif
30078 /* We use char because int might match the return type of a gcc2
30079 builtin and then its argument prototype would still apply. */
30080 char connect ();
30081 int
30082 main ()
30083 {
30084 connect ();
30085 ;
30086 return 0;
30087 }
30088 _ACEOF
30089 rm -f conftest.$ac_objext conftest$ac_exeext
30090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30091 (eval $ac_link) 2>conftest.er1
30092 ac_status=$?
30093 grep -v '^ *+' conftest.er1 >conftest.err
30094 rm -f conftest.er1
30095 cat conftest.err >&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); } &&
30098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30100 (eval $ac_try) 2>&5
30101 ac_status=$?
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); }; } &&
30104 { ac_try='test -s conftest$ac_exeext'
30105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30106 (eval $ac_try) 2>&5
30107 ac_status=$?
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; }; then
30110 ac_cv_lib_socket_connect=yes
30111 else
30112 echo "$as_me: failed program was:" >&5
30113 sed 's/^/| /' conftest.$ac_ext >&5
30114
30115 ac_cv_lib_socket_connect=no
30116 fi
30117 rm -f conftest.err conftest.$ac_objext \
30118 conftest$ac_exeext conftest.$ac_ext
30119 LIBS=$ac_check_lib_save_LIBS
30120 fi
30121 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30122 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30123 if test $ac_cv_lib_socket_connect = yes; then
30124 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30125 fi
30126
30127 fi
30128
30129 # Guillermo Gomez says -lposix is necessary on A/UX.
30130 echo "$as_me:$LINENO: checking for remove" >&5
30131 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30132 if test "${ac_cv_func_remove+set}" = set; then
30133 echo $ECHO_N "(cached) $ECHO_C" >&6
30134 else
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30143 #define remove innocuous_remove
30144
30145 /* System header to define __stub macros and hopefully few prototypes,
30146 which can conflict with char remove (); below.
30147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30148 <limits.h> exists even on freestanding compilers. */
30149
30150 #ifdef __STDC__
30151 # include <limits.h>
30152 #else
30153 # include <assert.h>
30154 #endif
30155
30156 #undef remove
30157
30158 /* Override any gcc2 internal prototype to avoid an error. */
30159 #ifdef __cplusplus
30160 extern "C"
30161 {
30162 #endif
30163 /* We use char because int might match the return type of a gcc2
30164 builtin and then its argument prototype would still apply. */
30165 char remove ();
30166 /* The GNU C library defines this for functions which it implements
30167 to always fail with ENOSYS. Some functions are actually named
30168 something starting with __ and the normal name is an alias. */
30169 #if defined (__stub_remove) || defined (__stub___remove)
30170 choke me
30171 #else
30172 char (*f) () = remove;
30173 #endif
30174 #ifdef __cplusplus
30175 }
30176 #endif
30177
30178 int
30179 main ()
30180 {
30181 return f != remove;
30182 ;
30183 return 0;
30184 }
30185 _ACEOF
30186 rm -f conftest.$ac_objext conftest$ac_exeext
30187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30188 (eval $ac_link) 2>conftest.er1
30189 ac_status=$?
30190 grep -v '^ *+' conftest.er1 >conftest.err
30191 rm -f conftest.er1
30192 cat conftest.err >&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); } &&
30195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 (eval $ac_try) 2>&5
30198 ac_status=$?
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); }; } &&
30201 { ac_try='test -s conftest$ac_exeext'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30204 ac_status=$?
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; }; then
30207 ac_cv_func_remove=yes
30208 else
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.$ac_ext >&5
30211
30212 ac_cv_func_remove=no
30213 fi
30214 rm -f conftest.err conftest.$ac_objext \
30215 conftest$ac_exeext conftest.$ac_ext
30216 fi
30217 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30218 echo "${ECHO_T}$ac_cv_func_remove" >&6
30219
30220 if test $ac_cv_func_remove = no; then
30221 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30222 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30223 if test "${ac_cv_lib_posix_remove+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30225 else
30226 ac_check_lib_save_LIBS=$LIBS
30227 LIBS="-lposix $LIBS"
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234
30235 /* Override any gcc2 internal prototype to avoid an error. */
30236 #ifdef __cplusplus
30237 extern "C"
30238 #endif
30239 /* We use char because int might match the return type of a gcc2
30240 builtin and then its argument prototype would still apply. */
30241 char remove ();
30242 int
30243 main ()
30244 {
30245 remove ();
30246 ;
30247 return 0;
30248 }
30249 _ACEOF
30250 rm -f conftest.$ac_objext conftest$ac_exeext
30251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30252 (eval $ac_link) 2>conftest.er1
30253 ac_status=$?
30254 grep -v '^ *+' conftest.er1 >conftest.err
30255 rm -f conftest.er1
30256 cat conftest.err >&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); } &&
30259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30262 ac_status=$?
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; } &&
30265 { ac_try='test -s conftest$ac_exeext'
30266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267 (eval $ac_try) 2>&5
30268 ac_status=$?
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); }; }; then
30271 ac_cv_lib_posix_remove=yes
30272 else
30273 echo "$as_me: failed program was:" >&5
30274 sed 's/^/| /' conftest.$ac_ext >&5
30275
30276 ac_cv_lib_posix_remove=no
30277 fi
30278 rm -f conftest.err conftest.$ac_objext \
30279 conftest$ac_exeext conftest.$ac_ext
30280 LIBS=$ac_check_lib_save_LIBS
30281 fi
30282 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30283 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30284 if test $ac_cv_lib_posix_remove = yes; then
30285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30286 fi
30287
30288 fi
30289
30290 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30291 echo "$as_me:$LINENO: checking for shmat" >&5
30292 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30293 if test "${ac_cv_func_shmat+set}" = set; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 else
30296 cat >conftest.$ac_ext <<_ACEOF
30297 /* confdefs.h. */
30298 _ACEOF
30299 cat confdefs.h >>conftest.$ac_ext
30300 cat >>conftest.$ac_ext <<_ACEOF
30301 /* end confdefs.h. */
30302 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30304 #define shmat innocuous_shmat
30305
30306 /* System header to define __stub macros and hopefully few prototypes,
30307 which can conflict with char shmat (); below.
30308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30309 <limits.h> exists even on freestanding compilers. */
30310
30311 #ifdef __STDC__
30312 # include <limits.h>
30313 #else
30314 # include <assert.h>
30315 #endif
30316
30317 #undef shmat
30318
30319 /* Override any gcc2 internal prototype to avoid an error. */
30320 #ifdef __cplusplus
30321 extern "C"
30322 {
30323 #endif
30324 /* We use char because int might match the return type of a gcc2
30325 builtin and then its argument prototype would still apply. */
30326 char shmat ();
30327 /* The GNU C library defines this for functions which it implements
30328 to always fail with ENOSYS. Some functions are actually named
30329 something starting with __ and the normal name is an alias. */
30330 #if defined (__stub_shmat) || defined (__stub___shmat)
30331 choke me
30332 #else
30333 char (*f) () = shmat;
30334 #endif
30335 #ifdef __cplusplus
30336 }
30337 #endif
30338
30339 int
30340 main ()
30341 {
30342 return f != shmat;
30343 ;
30344 return 0;
30345 }
30346 _ACEOF
30347 rm -f conftest.$ac_objext conftest$ac_exeext
30348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30349 (eval $ac_link) 2>conftest.er1
30350 ac_status=$?
30351 grep -v '^ *+' conftest.er1 >conftest.err
30352 rm -f conftest.er1
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } &&
30356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; } &&
30362 { ac_try='test -s conftest$ac_exeext'
30363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30364 (eval $ac_try) 2>&5
30365 ac_status=$?
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); }; }; then
30368 ac_cv_func_shmat=yes
30369 else
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.$ac_ext >&5
30372
30373 ac_cv_func_shmat=no
30374 fi
30375 rm -f conftest.err conftest.$ac_objext \
30376 conftest$ac_exeext conftest.$ac_ext
30377 fi
30378 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30379 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30380
30381 if test $ac_cv_func_shmat = no; then
30382 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30383 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30384 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30385 echo $ECHO_N "(cached) $ECHO_C" >&6
30386 else
30387 ac_check_lib_save_LIBS=$LIBS
30388 LIBS="-lipc $LIBS"
30389 cat >conftest.$ac_ext <<_ACEOF
30390 /* confdefs.h. */
30391 _ACEOF
30392 cat confdefs.h >>conftest.$ac_ext
30393 cat >>conftest.$ac_ext <<_ACEOF
30394 /* end confdefs.h. */
30395
30396 /* Override any gcc2 internal prototype to avoid an error. */
30397 #ifdef __cplusplus
30398 extern "C"
30399 #endif
30400 /* We use char because int might match the return type of a gcc2
30401 builtin and then its argument prototype would still apply. */
30402 char shmat ();
30403 int
30404 main ()
30405 {
30406 shmat ();
30407 ;
30408 return 0;
30409 }
30410 _ACEOF
30411 rm -f conftest.$ac_objext conftest$ac_exeext
30412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30413 (eval $ac_link) 2>conftest.er1
30414 ac_status=$?
30415 grep -v '^ *+' conftest.er1 >conftest.err
30416 rm -f conftest.er1
30417 cat conftest.err >&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); } &&
30420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30422 (eval $ac_try) 2>&5
30423 ac_status=$?
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); }; } &&
30426 { ac_try='test -s conftest$ac_exeext'
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30429 ac_status=$?
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; }; then
30432 ac_cv_lib_ipc_shmat=yes
30433 else
30434 echo "$as_me: failed program was:" >&5
30435 sed 's/^/| /' conftest.$ac_ext >&5
30436
30437 ac_cv_lib_ipc_shmat=no
30438 fi
30439 rm -f conftest.err conftest.$ac_objext \
30440 conftest$ac_exeext conftest.$ac_ext
30441 LIBS=$ac_check_lib_save_LIBS
30442 fi
30443 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30444 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30445 if test $ac_cv_lib_ipc_shmat = yes; then
30446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30447 fi
30448
30449 fi
30450 fi
30451
30452 # Check for libraries that X11R6 Xt/Xaw programs need.
30453 ac_save_LDFLAGS=$LDFLAGS
30454 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30455 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30456 # check for ICE first), but we must link in the order -lSM -lICE or
30457 # we get undefined symbols. So assume we have SM if we have ICE.
30458 # These have to be linked with before -lX11, unlike the other
30459 # libraries we check for below, so use a different variable.
30460 # John Interrante, Karl Berry
30461 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30462 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30463 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30464 echo $ECHO_N "(cached) $ECHO_C" >&6
30465 else
30466 ac_check_lib_save_LIBS=$LIBS
30467 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30468 cat >conftest.$ac_ext <<_ACEOF
30469 /* confdefs.h. */
30470 _ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474
30475 /* Override any gcc2 internal prototype to avoid an error. */
30476 #ifdef __cplusplus
30477 extern "C"
30478 #endif
30479 /* We use char because int might match the return type of a gcc2
30480 builtin and then its argument prototype would still apply. */
30481 char IceConnectionNumber ();
30482 int
30483 main ()
30484 {
30485 IceConnectionNumber ();
30486 ;
30487 return 0;
30488 }
30489 _ACEOF
30490 rm -f conftest.$ac_objext conftest$ac_exeext
30491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30492 (eval $ac_link) 2>conftest.er1
30493 ac_status=$?
30494 grep -v '^ *+' conftest.er1 >conftest.err
30495 rm -f conftest.er1
30496 cat conftest.err >&5
30497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498 (exit $ac_status); } &&
30499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30502 ac_status=$?
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try='test -s conftest$ac_exeext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 ac_cv_lib_ICE_IceConnectionNumber=yes
30512 else
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.$ac_ext >&5
30515
30516 ac_cv_lib_ICE_IceConnectionNumber=no
30517 fi
30518 rm -f conftest.err conftest.$ac_objext \
30519 conftest$ac_exeext conftest.$ac_ext
30520 LIBS=$ac_check_lib_save_LIBS
30521 fi
30522 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30523 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30524 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30525 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30526 fi
30527
30528 LDFLAGS=$ac_save_LDFLAGS
30529
30530 fi
30531
30532
30533 if test "$no_x" = "yes"; then
30534 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30535 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30536 { (exit 1); exit 1; }; }
30537 fi
30538
30539 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30540 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30541 AFMINSTALL=afminstall
30542 COMPILED_X_PROGRAM=0
30543
30544 fi
30545
30546 if test "$wxUSE_X11" = 1; then
30547 if test "$wxUSE_NANOX" = "yes"; then
30548 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30549 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30550 if test "x$MICROWIN" = x ; then
30551 echo "$as_me:$LINENO: result: not found" >&5
30552 echo "${ECHO_T}not found" >&6
30553 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30554 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30555 { (exit 1); exit 1; }; }
30556 else
30557 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30558 echo "${ECHO_T}$MICROWIN" >&6
30559 cat >>confdefs.h <<\_ACEOF
30560 #define wxUSE_NANOX 1
30561 _ACEOF
30562
30563 fi
30564 fi
30565
30566 if test "$wxUSE_UNICODE" = "yes"; then
30567
30568
30569 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30570 if test -n "$ac_tool_prefix"; then
30571 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30572 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30573 echo "$as_me:$LINENO: checking for $ac_word" >&5
30574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30575 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 else
30578 case $PKG_CONFIG in
30579 [\\/]* | ?:[\\/]*)
30580 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30581 ;;
30582 *)
30583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30584 for as_dir in $PATH
30585 do
30586 IFS=$as_save_IFS
30587 test -z "$as_dir" && as_dir=.
30588 for ac_exec_ext in '' $ac_executable_extensions; do
30589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30590 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30592 break 2
30593 fi
30594 done
30595 done
30596
30597 ;;
30598 esac
30599 fi
30600 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30601
30602 if test -n "$PKG_CONFIG"; then
30603 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30604 echo "${ECHO_T}$PKG_CONFIG" >&6
30605 else
30606 echo "$as_me:$LINENO: result: no" >&5
30607 echo "${ECHO_T}no" >&6
30608 fi
30609
30610 fi
30611 if test -z "$ac_cv_path_PKG_CONFIG"; then
30612 ac_pt_PKG_CONFIG=$PKG_CONFIG
30613 # Extract the first word of "pkg-config", so it can be a program name with args.
30614 set dummy pkg-config; ac_word=$2
30615 echo "$as_me:$LINENO: checking for $ac_word" >&5
30616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30617 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 case $ac_pt_PKG_CONFIG in
30621 [\\/]* | ?:[\\/]*)
30622 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30623 ;;
30624 *)
30625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30626 for as_dir in $PATH
30627 do
30628 IFS=$as_save_IFS
30629 test -z "$as_dir" && as_dir=.
30630 for ac_exec_ext in '' $ac_executable_extensions; do
30631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30632 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30634 break 2
30635 fi
30636 done
30637 done
30638
30639 ;;
30640 esac
30641 fi
30642 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30643
30644 if test -n "$ac_pt_PKG_CONFIG"; then
30645 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30646 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30647 else
30648 echo "$as_me:$LINENO: result: no" >&5
30649 echo "${ECHO_T}no" >&6
30650 fi
30651
30652 PKG_CONFIG=$ac_pt_PKG_CONFIG
30653 else
30654 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30655 fi
30656
30657 fi
30658 if test -n "$PKG_CONFIG"; then
30659 _pkg_min_version=0.9.0
30660 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30661 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30662 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30663 echo "$as_me:$LINENO: result: yes" >&5
30664 echo "${ECHO_T}yes" >&6
30665 else
30666 echo "$as_me:$LINENO: result: no" >&5
30667 echo "${ECHO_T}no" >&6
30668 PKG_CONFIG=""
30669 fi
30670
30671 fi
30672
30673
30674 pkg_failed=no
30675 echo "$as_me:$LINENO: checking for PANGOX" >&5
30676 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30677
30678 if test -n "$PKG_CONFIG"; then
30679 if test -n "$PANGOX_CFLAGS"; then
30680 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30681 else
30682 if test -n "$PKG_CONFIG" && \
30683 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30684 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30685 ac_status=$?
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; then
30688 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30689 else
30690 pkg_failed=yes
30691 fi
30692 fi
30693 else
30694 pkg_failed=untried
30695 fi
30696 if test -n "$PKG_CONFIG"; then
30697 if test -n "$PANGOX_LIBS"; then
30698 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30699 else
30700 if test -n "$PKG_CONFIG" && \
30701 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30702 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30703 ac_status=$?
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; then
30706 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30707 else
30708 pkg_failed=yes
30709 fi
30710 fi
30711 else
30712 pkg_failed=untried
30713 fi
30714
30715
30716
30717 if test $pkg_failed = yes; then
30718
30719 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30720 _pkg_short_errors_supported=yes
30721 else
30722 _pkg_short_errors_supported=no
30723 fi
30724 if test $_pkg_short_errors_supported = yes; then
30725 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30726 else
30727 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30728 fi
30729 # Put the nasty error message in config.log where it belongs
30730 echo "$PANGOX_PKG_ERRORS" >&5
30731
30732
30733 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30734 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30735 { (exit 1); exit 1; }; }
30736
30737
30738 elif test $pkg_failed = untried; then
30739
30740 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30741 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30742 { (exit 1); exit 1; }; }
30743
30744
30745 else
30746 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30747 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30748 echo "$as_me:$LINENO: result: yes" >&5
30749 echo "${ECHO_T}yes" >&6
30750
30751 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30752 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30754
30755 fi
30756
30757 pkg_failed=no
30758 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30759 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30760
30761 if test -n "$PKG_CONFIG"; then
30762 if test -n "$PANGOFT2_CFLAGS"; then
30763 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30764 else
30765 if test -n "$PKG_CONFIG" && \
30766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30767 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30768 ac_status=$?
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); }; then
30771 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30772 else
30773 pkg_failed=yes
30774 fi
30775 fi
30776 else
30777 pkg_failed=untried
30778 fi
30779 if test -n "$PKG_CONFIG"; then
30780 if test -n "$PANGOFT2_LIBS"; then
30781 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30782 else
30783 if test -n "$PKG_CONFIG" && \
30784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30785 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30786 ac_status=$?
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; then
30789 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30790 else
30791 pkg_failed=yes
30792 fi
30793 fi
30794 else
30795 pkg_failed=untried
30796 fi
30797
30798
30799
30800 if test $pkg_failed = yes; then
30801
30802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30803 _pkg_short_errors_supported=yes
30804 else
30805 _pkg_short_errors_supported=no
30806 fi
30807 if test $_pkg_short_errors_supported = yes; then
30808 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30809 else
30810 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30811 fi
30812 # Put the nasty error message in config.log where it belongs
30813 echo "$PANGOFT2_PKG_ERRORS" >&5
30814
30815
30816 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30817 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30818 wxUSE_PRINTING_ARCHITECTURE="no"
30819
30820
30821 elif test $pkg_failed = untried; then
30822
30823 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30824 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30825 wxUSE_PRINTING_ARCHITECTURE="no"
30826
30827
30828 else
30829 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30830 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30831 echo "$as_me:$LINENO: result: yes" >&5
30832 echo "${ECHO_T}yes" >&6
30833
30834 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30835 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30836 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30837
30838 fi
30839
30840 pkg_failed=no
30841 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30842 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30843
30844 if test -n "$PKG_CONFIG"; then
30845 if test -n "$PANGOXFT_CFLAGS"; then
30846 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30847 else
30848 if test -n "$PKG_CONFIG" && \
30849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30850 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; then
30854 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30855 else
30856 pkg_failed=yes
30857 fi
30858 fi
30859 else
30860 pkg_failed=untried
30861 fi
30862 if test -n "$PKG_CONFIG"; then
30863 if test -n "$PANGOXFT_LIBS"; then
30864 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30865 else
30866 if test -n "$PKG_CONFIG" && \
30867 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30868 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30869 ac_status=$?
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); }; then
30872 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30873 else
30874 pkg_failed=yes
30875 fi
30876 fi
30877 else
30878 pkg_failed=untried
30879 fi
30880
30881
30882
30883 if test $pkg_failed = yes; then
30884
30885 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30886 _pkg_short_errors_supported=yes
30887 else
30888 _pkg_short_errors_supported=no
30889 fi
30890 if test $_pkg_short_errors_supported = yes; then
30891 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30892 else
30893 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30894 fi
30895 # Put the nasty error message in config.log where it belongs
30896 echo "$PANGOXFT_PKG_ERRORS" >&5
30897
30898
30899 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30900 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30901
30902
30903 elif test $pkg_failed = untried; then
30904
30905 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30906 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30907
30908
30909 else
30910 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30911 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30912 echo "$as_me:$LINENO: result: yes" >&5
30913 echo "${ECHO_T}yes" >&6
30914
30915 cat >>confdefs.h <<\_ACEOF
30916 #define HAVE_PANGO_XFT 1
30917 _ACEOF
30918
30919 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30920 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30921 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30922
30923 fi
30924 save_LIBS="$LIBS"
30925 LIBS="$LIBS $PANGOX_LIBS"
30926
30927 for ac_func in pango_font_family_is_monospace
30928 do
30929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30930 echo "$as_me:$LINENO: checking for $ac_func" >&5
30931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30932 if eval "test \"\${$as_ac_var+set}\" = set"; then
30933 echo $ECHO_N "(cached) $ECHO_C" >&6
30934 else
30935 cat >conftest.$ac_ext <<_ACEOF
30936 /* confdefs.h. */
30937 _ACEOF
30938 cat confdefs.h >>conftest.$ac_ext
30939 cat >>conftest.$ac_ext <<_ACEOF
30940 /* end confdefs.h. */
30941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30943 #define $ac_func innocuous_$ac_func
30944
30945 /* System header to define __stub macros and hopefully few prototypes,
30946 which can conflict with char $ac_func (); below.
30947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30948 <limits.h> exists even on freestanding compilers. */
30949
30950 #ifdef __STDC__
30951 # include <limits.h>
30952 #else
30953 # include <assert.h>
30954 #endif
30955
30956 #undef $ac_func
30957
30958 /* Override any gcc2 internal prototype to avoid an error. */
30959 #ifdef __cplusplus
30960 extern "C"
30961 {
30962 #endif
30963 /* We use char because int might match the return type of a gcc2
30964 builtin and then its argument prototype would still apply. */
30965 char $ac_func ();
30966 /* The GNU C library defines this for functions which it implements
30967 to always fail with ENOSYS. Some functions are actually named
30968 something starting with __ and the normal name is an alias. */
30969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30970 choke me
30971 #else
30972 char (*f) () = $ac_func;
30973 #endif
30974 #ifdef __cplusplus
30975 }
30976 #endif
30977
30978 int
30979 main ()
30980 {
30981 return f != $ac_func;
30982 ;
30983 return 0;
30984 }
30985 _ACEOF
30986 rm -f conftest.$ac_objext conftest$ac_exeext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30988 (eval $ac_link) 2>conftest.er1
30989 ac_status=$?
30990 grep -v '^ *+' conftest.er1 >conftest.err
30991 rm -f conftest.er1
30992 cat conftest.err >&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } &&
30995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 (eval $ac_try) 2>&5
30998 ac_status=$?
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; } &&
31001 { ac_try='test -s conftest$ac_exeext'
31002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31003 (eval $ac_try) 2>&5
31004 ac_status=$?
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); }; }; then
31007 eval "$as_ac_var=yes"
31008 else
31009 echo "$as_me: failed program was:" >&5
31010 sed 's/^/| /' conftest.$ac_ext >&5
31011
31012 eval "$as_ac_var=no"
31013 fi
31014 rm -f conftest.err conftest.$ac_objext \
31015 conftest$ac_exeext conftest.$ac_ext
31016 fi
31017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31019 if test `eval echo '${'$as_ac_var'}'` = yes; then
31020 cat >>confdefs.h <<_ACEOF
31021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31022 _ACEOF
31023
31024 fi
31025 done
31026
31027 LIBS="$save_LIBS"
31028 fi
31029
31030 wxUSE_UNIVERSAL="yes"
31031
31032 if test "$wxUSE_NANOX" = "yes"; then
31033 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31034 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"
31035 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31036 else
31037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31038 fi
31039
31040 TOOLKIT=X11
31041 GUIDIST=X11_DIST
31042 fi
31043
31044 if test "$wxUSE_MOTIF" = 1; then
31045 if test "$wxUSE_UNICODE" = "yes"; then
31046 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31047 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31048 { (exit 1); exit 1; }; }
31049 fi
31050
31051 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31052 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31053
31054 ac_find_includes=
31055 for ac_dir in $SEARCH_INCLUDE /usr/include;
31056 do
31057 if test -f "$ac_dir/Xm/Xm.h"; then
31058 ac_find_includes=$ac_dir
31059 break
31060 fi
31061 done
31062
31063 if test "$ac_find_includes" != "" ; then
31064 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31065 echo "${ECHO_T}found in $ac_find_includes" >&6
31066
31067 if test "x$ac_find_includes" = "x/usr/include"; then
31068 ac_path_to_include=""
31069 else
31070 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31071 result=$?
31072 if test $result = 0; then
31073 ac_path_to_include=""
31074 else
31075 ac_path_to_include=" -I$ac_find_includes"
31076 fi
31077 fi
31078
31079 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31080 else
31081 save_CFLAGS=$CFLAGS
31082 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31083
31084 cat >conftest.$ac_ext <<_ACEOF
31085 /* confdefs.h. */
31086 _ACEOF
31087 cat confdefs.h >>conftest.$ac_ext
31088 cat >>conftest.$ac_ext <<_ACEOF
31089 /* end confdefs.h. */
31090
31091 #include <Xm/Xm.h>
31092
31093 int
31094 main ()
31095 {
31096
31097 int version;
31098 version = xmUseVersion;
31099
31100 ;
31101 return 0;
31102 }
31103 _ACEOF
31104 rm -f conftest.$ac_objext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31106 (eval $ac_compile) 2>conftest.er1
31107 ac_status=$?
31108 grep -v '^ *+' conftest.er1 >conftest.err
31109 rm -f conftest.er1
31110 cat conftest.err >&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } &&
31113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31116 ac_status=$?
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; } &&
31119 { ac_try='test -s conftest.$ac_objext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31122 ac_status=$?
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125
31126 echo "$as_me:$LINENO: result: found in default search path" >&5
31127 echo "${ECHO_T}found in default search path" >&6
31128 COMPILED_X_PROGRAM=1
31129
31130 else
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.$ac_ext >&5
31133
31134
31135 echo "$as_me:$LINENO: result: no" >&5
31136 echo "${ECHO_T}no" >&6
31137 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31138 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31139 { (exit 1); exit 1; }; }
31140
31141
31142 fi
31143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31144
31145 CFLAGS=$save_CFLAGS
31146 fi
31147
31148
31149 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31150 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31151
31152 ac_find_libraries=
31153 for ac_dir in $SEARCH_LIB;
31154 do
31155 for ac_extension in a so sl dylib dll.a; do
31156 if test -f "$ac_dir/libXm.$ac_extension"; then
31157 ac_find_libraries=$ac_dir
31158 break 2
31159 fi
31160 done
31161 done
31162
31163
31164 if test "x$ac_find_libraries" != "x" ; then
31165 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31166 echo "${ECHO_T}found in $ac_find_libraries" >&6
31167
31168
31169 if test "$ac_find_libraries" = "default location"; then
31170 ac_path_to_link=""
31171 else
31172 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31173 result=$?
31174 if test $result = 0; then
31175 ac_path_to_link=""
31176 else
31177 ac_path_to_link=" -L$ac_find_libraries"
31178 fi
31179 fi
31180
31181 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31182 else
31183 save_CFLAGS=$CFLAGS
31184 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31185 save_LIBS="$LIBS"
31186 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31187
31188 cat >conftest.$ac_ext <<_ACEOF
31189 /* confdefs.h. */
31190 _ACEOF
31191 cat confdefs.h >>conftest.$ac_ext
31192 cat >>conftest.$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194
31195 #include <Xm/Xm.h>
31196
31197 int
31198 main ()
31199 {
31200
31201 int version;
31202 version = xmUseVersion;
31203
31204 ;
31205 return 0;
31206 }
31207 _ACEOF
31208 rm -f conftest.$ac_objext conftest$ac_exeext
31209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31210 (eval $ac_link) 2>conftest.er1
31211 ac_status=$?
31212 grep -v '^ *+' conftest.er1 >conftest.err
31213 rm -f conftest.er1
31214 cat conftest.err >&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); } &&
31217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31220 ac_status=$?
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; } &&
31223 { ac_try='test -s conftest$ac_exeext'
31224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 (eval $ac_try) 2>&5
31226 ac_status=$?
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31229
31230 echo "$as_me:$LINENO: result: found in default search path" >&5
31231 echo "${ECHO_T}found in default search path" >&6
31232 COMPILED_X_PROGRAM=1
31233
31234 else
31235 echo "$as_me: failed program was:" >&5
31236 sed 's/^/| /' conftest.$ac_ext >&5
31237
31238
31239 echo "$as_me:$LINENO: result: no" >&5
31240 echo "${ECHO_T}no" >&6
31241 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31242 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31243 { (exit 1); exit 1; }; }
31244
31245
31246 fi
31247 rm -f conftest.err conftest.$ac_objext \
31248 conftest$ac_exeext conftest.$ac_ext
31249
31250 CFLAGS=$save_CFLAGS
31251 LIBS="$save_LIBS"
31252 fi
31253
31254 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31255 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31256 libp_link=""
31257 libsm_ice_link=""
31258 libs_found=0
31259 for libp in "" " -lXp"; do
31260 if test "$libs_found" = "0"; then
31261 for libsm_ice in "" " -lSM -lICE"; do
31262 if test "$libs_found" = "0"; then
31263 save_LIBS="$LIBS"
31264 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31265 save_CFLAGS=$CFLAGS
31266 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31267
31268 cat >conftest.$ac_ext <<_ACEOF
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274
31275 #include <Xm/Xm.h>
31276 #include <Xm/List.h>
31277
31278 int
31279 main ()
31280 {
31281
31282 XmString string = NULL;
31283 Widget w = NULL;
31284 int position = 0;
31285 XmListAddItem(w, string, position);
31286
31287 ;
31288 return 0;
31289 }
31290 _ACEOF
31291 rm -f conftest.$ac_objext conftest$ac_exeext
31292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31293 (eval $ac_link) 2>conftest.er1
31294 ac_status=$?
31295 grep -v '^ *+' conftest.er1 >conftest.err
31296 rm -f conftest.er1
31297 cat conftest.err >&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } &&
31300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; } &&
31306 { ac_try='test -s conftest$ac_exeext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312
31313 libp_link="$libp"
31314 libsm_ice_link="$libsm_ice"
31315 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31316 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31317 libs_found=1
31318
31319 else
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.$ac_ext >&5
31322
31323
31324
31325 fi
31326 rm -f conftest.err conftest.$ac_objext \
31327 conftest$ac_exeext conftest.$ac_ext
31328
31329 LIBS="$save_LIBS"
31330 CFLAGS=$save_CFLAGS
31331 fi
31332 done
31333 fi
31334 done
31335
31336 if test "$libs_found" = "0"; then
31337 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31338 echo "${ECHO_T}can't find the right libraries" >&6
31339 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31340 echo "$as_me: error: can't link a simple motif program" >&2;}
31341 { (exit 1); exit 1; }; }
31342 fi
31343
31344 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31345 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31346 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 else
31349 ac_check_lib_save_LIBS=$LIBS
31350 LIBS="-lSgm $LIBS"
31351 cat >conftest.$ac_ext <<_ACEOF
31352 /* confdefs.h. */
31353 _ACEOF
31354 cat confdefs.h >>conftest.$ac_ext
31355 cat >>conftest.$ac_ext <<_ACEOF
31356 /* end confdefs.h. */
31357
31358 /* Override any gcc2 internal prototype to avoid an error. */
31359 #ifdef __cplusplus
31360 extern "C"
31361 #endif
31362 /* We use char because int might match the return type of a gcc2
31363 builtin and then its argument prototype would still apply. */
31364 char SgCreateList ();
31365 int
31366 main ()
31367 {
31368 SgCreateList ();
31369 ;
31370 return 0;
31371 }
31372 _ACEOF
31373 rm -f conftest.$ac_objext conftest$ac_exeext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31375 (eval $ac_link) 2>conftest.er1
31376 ac_status=$?
31377 grep -v '^ *+' conftest.er1 >conftest.err
31378 rm -f conftest.er1
31379 cat conftest.err >&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31385 ac_status=$?
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; } &&
31388 { ac_try='test -s conftest$ac_exeext'
31389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31390 (eval $ac_try) 2>&5
31391 ac_status=$?
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; }; then
31394 ac_cv_lib_Sgm_SgCreateList=yes
31395 else
31396 echo "$as_me: failed program was:" >&5
31397 sed 's/^/| /' conftest.$ac_ext >&5
31398
31399 ac_cv_lib_Sgm_SgCreateList=no
31400 fi
31401 rm -f conftest.err conftest.$ac_objext \
31402 conftest$ac_exeext conftest.$ac_ext
31403 LIBS=$ac_check_lib_save_LIBS
31404 fi
31405 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31406 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31407 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31408 libsgm_link=" -lSgm"
31409 fi
31410
31411
31412 save_CFLAGS=$CFLAGS
31413 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31414
31415 echo "$as_me:$LINENO: checking for Motif 2" >&5
31416 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31417 if test "${wx_cv_lib_motif2+set}" = set; then
31418 echo $ECHO_N "(cached) $ECHO_C" >&6
31419 else
31420 cat >conftest.$ac_ext <<_ACEOF
31421 /* confdefs.h. */
31422 _ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h. */
31426
31427 #include <Xm/Xm.h>
31428
31429 int
31430 main ()
31431 {
31432
31433 #if XmVersion < 2000
31434 Not Motif 2
31435 #endif
31436
31437 ;
31438 return 0;
31439 }
31440 _ACEOF
31441 rm -f conftest.$ac_objext
31442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31443 (eval $ac_compile) 2>conftest.er1
31444 ac_status=$?
31445 grep -v '^ *+' conftest.er1 >conftest.err
31446 rm -f conftest.er1
31447 cat conftest.err >&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); } &&
31450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31452 (eval $ac_try) 2>&5
31453 ac_status=$?
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); }; } &&
31456 { ac_try='test -s conftest.$ac_objext'
31457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31458 (eval $ac_try) 2>&5
31459 ac_status=$?
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); }; }; then
31462 wx_cv_lib_motif2="yes"
31463 else
31464 echo "$as_me: failed program was:" >&5
31465 sed 's/^/| /' conftest.$ac_ext >&5
31466
31467 wx_cv_lib_motif2="no"
31468 fi
31469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31470 fi
31471 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31472 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31473 if test "$wx_cv_lib_motif2" = "yes"; then
31474 cat >>confdefs.h <<\_ACEOF
31475 #define __WXMOTIF20__ 1
31476 _ACEOF
31477
31478 else
31479 cat >>confdefs.h <<\_ACEOF
31480 #define __WXMOTIF20__ 0
31481 _ACEOF
31482
31483 fi
31484
31485 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31486 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31487 if test "${wx_cv_lib_lesstif+set}" = set; then
31488 echo $ECHO_N "(cached) $ECHO_C" >&6
31489 else
31490 cat >conftest.$ac_ext <<_ACEOF
31491 /* confdefs.h. */
31492 _ACEOF
31493 cat confdefs.h >>conftest.$ac_ext
31494 cat >>conftest.$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31496
31497 #include <Xm/Xm.h>
31498
31499 int
31500 main ()
31501 {
31502
31503 #if !defined(LesstifVersion) || LesstifVersion <= 0
31504 Not Lesstif
31505 #endif
31506
31507 ;
31508 return 0;
31509 }
31510 _ACEOF
31511 rm -f conftest.$ac_objext
31512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31513 (eval $ac_compile) 2>conftest.er1
31514 ac_status=$?
31515 grep -v '^ *+' conftest.er1 >conftest.err
31516 rm -f conftest.er1
31517 cat conftest.err >&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); } &&
31520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31522 (eval $ac_try) 2>&5
31523 ac_status=$?
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; } &&
31526 { ac_try='test -s conftest.$ac_objext'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31529 ac_status=$?
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; }; then
31532 wx_cv_lib_lesstif="yes"
31533 else
31534 echo "$as_me: failed program was:" >&5
31535 sed 's/^/| /' conftest.$ac_ext >&5
31536
31537 wx_cv_lib_lesstif="no"
31538 fi
31539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31540
31541 fi
31542 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31543 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31544 if test "$wx_cv_lib_lesstif" = "yes"; then
31545 cat >>confdefs.h <<\_ACEOF
31546 #define __WXLESSTIF__ 1
31547 _ACEOF
31548
31549 else
31550 cat >>confdefs.h <<\_ACEOF
31551 #define __WXLESSTIF__ 0
31552 _ACEOF
31553
31554 fi
31555
31556 CFLAGS=$save_CFLAGS
31557
31558 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31559 TOOLKIT=MOTIF
31560 GUIDIST=MOTIF_DIST
31561 fi
31562
31563 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31564 if test "$wxUSE_LIBXPM" = "sys"; then
31565 echo "$as_me:$LINENO: checking for Xpm library" >&5
31566 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31567
31568 ac_find_libraries=
31569 for ac_dir in $SEARCH_LIB;
31570 do
31571 for ac_extension in a so sl dylib dll.a; do
31572 if test -f "$ac_dir/libXpm.$ac_extension"; then
31573 ac_find_libraries=$ac_dir
31574 break 2
31575 fi
31576 done
31577 done
31578
31579 if test "$ac_find_libraries" != "" ; then
31580
31581 if test "$ac_find_libraries" = "default location"; then
31582 ac_path_to_link=""
31583 else
31584 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31585 result=$?
31586 if test $result = 0; then
31587 ac_path_to_link=""
31588 else
31589 ac_path_to_link=" -L$ac_find_libraries"
31590 fi
31591 fi
31592
31593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31594 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31595 echo "${ECHO_T}found in $ac_find_libraries" >&6
31596
31597 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31598 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31599 if test "${wx_cv_x11_xpm_h+set}" = set; then
31600 echo $ECHO_N "(cached) $ECHO_C" >&6
31601 else
31602
31603 save_CFLAGS=$CFLAGS
31604 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31605
31606 cat >conftest.$ac_ext <<_ACEOF
31607 /* confdefs.h. */
31608 _ACEOF
31609 cat confdefs.h >>conftest.$ac_ext
31610 cat >>conftest.$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31612
31613 #include <X11/xpm.h>
31614
31615 int
31616 main ()
31617 {
31618
31619 int version;
31620 version = XpmLibraryVersion();
31621
31622 ;
31623 return 0;
31624 }
31625 _ACEOF
31626 rm -f conftest.$ac_objext
31627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31628 (eval $ac_compile) 2>conftest.er1
31629 ac_status=$?
31630 grep -v '^ *+' conftest.er1 >conftest.err
31631 rm -f conftest.er1
31632 cat conftest.err >&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); } &&
31635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; } &&
31641 { ac_try='test -s conftest.$ac_objext'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; }; then
31647 wx_cv_x11_xpm_h=yes
31648 else
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31651
31652 wx_cv_x11_xpm_h=no
31653
31654 fi
31655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31656
31657 CFLAGS=$save_CFLAGS
31658
31659
31660 fi
31661 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31662 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31663
31664 if test $wx_cv_x11_xpm_h = "yes"; then
31665 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31666 cat >>confdefs.h <<\_ACEOF
31667 #define wxHAVE_LIB_XPM 1
31668 _ACEOF
31669
31670 else
31671 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31672 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31673 fi
31674 fi
31675
31676 fi
31677
31678 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31679 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31680 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31681 echo $ECHO_N "(cached) $ECHO_C" >&6
31682 else
31683 ac_check_lib_save_LIBS=$LIBS
31684 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31685 cat >conftest.$ac_ext <<_ACEOF
31686 /* confdefs.h. */
31687 _ACEOF
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h. */
31691
31692 /* Override any gcc2 internal prototype to avoid an error. */
31693 #ifdef __cplusplus
31694 extern "C"
31695 #endif
31696 /* We use char because int might match the return type of a gcc2
31697 builtin and then its argument prototype would still apply. */
31698 char XShapeQueryExtension ();
31699 int
31700 main ()
31701 {
31702 XShapeQueryExtension ();
31703 ;
31704 return 0;
31705 }
31706 _ACEOF
31707 rm -f conftest.$ac_objext conftest$ac_exeext
31708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31709 (eval $ac_link) 2>conftest.er1
31710 ac_status=$?
31711 grep -v '^ *+' conftest.er1 >conftest.err
31712 rm -f conftest.er1
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } &&
31716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31719 ac_status=$?
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; } &&
31722 { ac_try='test -s conftest$ac_exeext'
31723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31724 (eval $ac_try) 2>&5
31725 ac_status=$?
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); }; }; then
31728 ac_cv_lib_Xext_XShapeQueryExtension=yes
31729 else
31730 echo "$as_me: failed program was:" >&5
31731 sed 's/^/| /' conftest.$ac_ext >&5
31732
31733 ac_cv_lib_Xext_XShapeQueryExtension=no
31734 fi
31735 rm -f conftest.err conftest.$ac_objext \
31736 conftest$ac_exeext conftest.$ac_ext
31737 LIBS=$ac_check_lib_save_LIBS
31738 fi
31739 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31740 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31741 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31742
31743 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31744 wxHAVE_XEXT_LIB=1
31745
31746 fi
31747
31748
31749 if test "$wxHAVE_XEXT_LIB" = 1; then
31750 save_CFLAGS="$CFLAGS"
31751 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31752
31753 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31754 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31755 cat >conftest.$ac_ext <<_ACEOF
31756 /* confdefs.h. */
31757 _ACEOF
31758 cat confdefs.h >>conftest.$ac_ext
31759 cat >>conftest.$ac_ext <<_ACEOF
31760 /* end confdefs.h. */
31761
31762 #include <X11/Xlib.h>
31763 #include <X11/extensions/shape.h>
31764
31765 int
31766 main ()
31767 {
31768
31769 int dummy1, dummy2;
31770 XShapeQueryExtension((Display*)NULL,
31771 (int*)NULL, (int*)NULL);
31772
31773 ;
31774 return 0;
31775 }
31776 _ACEOF
31777 rm -f conftest.$ac_objext
31778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31779 (eval $ac_compile) 2>conftest.er1
31780 ac_status=$?
31781 grep -v '^ *+' conftest.er1 >conftest.err
31782 rm -f conftest.er1
31783 cat conftest.err >&5
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); } &&
31786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31788 (eval $ac_try) 2>&5
31789 ac_status=$?
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); }; } &&
31792 { ac_try='test -s conftest.$ac_objext'
31793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31794 (eval $ac_try) 2>&5
31795 ac_status=$?
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); }; }; then
31798
31799 cat >>confdefs.h <<\_ACEOF
31800 #define HAVE_XSHAPE 1
31801 _ACEOF
31802
31803 echo "$as_me:$LINENO: result: found" >&5
31804 echo "${ECHO_T}found" >&6
31805
31806 else
31807 echo "$as_me: failed program was:" >&5
31808 sed 's/^/| /' conftest.$ac_ext >&5
31809
31810
31811 echo "$as_me:$LINENO: result: not found" >&5
31812 echo "${ECHO_T}not found" >&6
31813
31814 fi
31815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31816 CFLAGS="$save_CFLAGS"
31817
31818 fi
31819 fi
31820
31821 if test "$wxUSE_MAC" = 1; then
31822 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31823 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31824 if test "$GCC" = yes; then
31825 echo "$as_me:$LINENO: result: gcc" >&5
31826 echo "${ECHO_T}gcc" >&6
31827 CPPFLAGS_PASCAL="-fpascal-strings"
31828 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31829 echo "$as_me:$LINENO: result: xlc" >&5
31830 echo "${ECHO_T}xlc" >&6
31831 CPPFLAGS_PASCAL="-qmacpstr"
31832 else
31833 echo "$as_me:$LINENO: result: none" >&5
31834 echo "${ECHO_T}none" >&6
31835 fi
31836
31837 if test "x$wxUSE_UNIX" = "xyes"; then
31838 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31839 else
31840 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31841 fi
31842
31843 TOOLKIT=MAC
31844 GUIDIST=MACX_DIST
31845 WXBASEPORT="_carbon"
31846 fi
31847
31848 if test "$wxUSE_COCOA" = 1; then
31849 TOOLKIT=COCOA
31850 GUIDIST=COCOA_DIST
31851 fi
31852
31853 if test "$wxUSE_PM" = 1; then
31854 TOOLKIT=PM
31855 GUIDIST=PM_DIST
31856 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31857 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31858 if test "${wx_cv_spbcdata+set}" = set; then
31859 echo $ECHO_N "(cached) $ECHO_C" >&6
31860 else
31861
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h. */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868
31869 #define INCL_PM
31870 #include <os2.h>
31871
31872 int
31873 main ()
31874 {
31875
31876 SPBCDATA test;
31877
31878 ;
31879 return 0;
31880 }
31881 _ACEOF
31882 rm -f conftest.$ac_objext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31884 (eval $ac_compile) 2>conftest.er1
31885 ac_status=$?
31886 grep -v '^ *+' conftest.er1 >conftest.err
31887 rm -f conftest.er1
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } &&
31891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31893 (eval $ac_try) 2>&5
31894 ac_status=$?
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; } &&
31897 { ac_try='test -s conftest.$ac_objext'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31900 ac_status=$?
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; }; then
31903 wx_cv_spbcdata=yes
31904 else
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.$ac_ext >&5
31907
31908 wx_cv_spbcdata=no
31909
31910 fi
31911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31912
31913
31914 fi
31915 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31916 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31917
31918 if test $wx_cv_spbcdata = "yes"; then
31919 cat >>confdefs.h <<\_ACEOF
31920 #define HAVE_SPBCDATA 1
31921 _ACEOF
31922
31923 fi
31924 fi
31925
31926 if test "$TOOLKIT" = "PM" ; then
31927 TOOLKIT_DIR="os2"
31928 else
31929 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31930 fi
31931
31932 if test "$wxUSE_UNIVERSAL" = "yes"; then
31933 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31934 WIDGET_SET=univ
31935 fi
31936
31937 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31938 DISTDIR="wx\$(TOOLKIT)"
31939 else
31940 USE_GUI=0
31941
31942 TOOLKIT_DIR="base"
31943
31944 if test "$USE_WIN32" = 1 ; then
31945 TOOLKIT="MSW"
31946 fi
31947
31948 GUIDIST="BASE_DIST"
31949 DISTDIR="wxBase"
31950 fi
31951
31952
31953 if test "$wxUSE_GUI" = "yes"; then
31954 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31955
31956 for ac_header in X11/Xlib.h
31957 do
31958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31960 echo "$as_me:$LINENO: checking for $ac_header" >&5
31961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 fi
31965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31967 else
31968 # Is the header compilable?
31969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h. */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977 $ac_includes_default
31978 #include <$ac_header>
31979 _ACEOF
31980 rm -f conftest.$ac_objext
31981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31982 (eval $ac_compile) 2>conftest.er1
31983 ac_status=$?
31984 grep -v '^ *+' conftest.er1 >conftest.err
31985 rm -f conftest.er1
31986 cat conftest.err >&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); } &&
31989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31991 (eval $ac_try) 2>&5
31992 ac_status=$?
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); }; } &&
31995 { ac_try='test -s conftest.$ac_objext'
31996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31997 (eval $ac_try) 2>&5
31998 ac_status=$?
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); }; }; then
32001 ac_header_compiler=yes
32002 else
32003 echo "$as_me: failed program was:" >&5
32004 sed 's/^/| /' conftest.$ac_ext >&5
32005
32006 ac_header_compiler=no
32007 fi
32008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32010 echo "${ECHO_T}$ac_header_compiler" >&6
32011
32012 # Is the header present?
32013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32015 cat >conftest.$ac_ext <<_ACEOF
32016 /* confdefs.h. */
32017 _ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 #include <$ac_header>
32022 _ACEOF
32023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32025 ac_status=$?
32026 grep -v '^ *+' conftest.er1 >conftest.err
32027 rm -f conftest.er1
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } >/dev/null; then
32031 if test -s conftest.err; then
32032 ac_cpp_err=$ac_c_preproc_warn_flag
32033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32034 else
32035 ac_cpp_err=
32036 fi
32037 else
32038 ac_cpp_err=yes
32039 fi
32040 if test -z "$ac_cpp_err"; then
32041 ac_header_preproc=yes
32042 else
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32045
32046 ac_header_preproc=no
32047 fi
32048 rm -f conftest.err conftest.$ac_ext
32049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32050 echo "${ECHO_T}$ac_header_preproc" >&6
32051
32052 # So? What about this header?
32053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32054 yes:no: )
32055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32059 ac_header_preproc=yes
32060 ;;
32061 no:yes:* )
32062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32074 (
32075 cat <<\_ASBOX
32076 ## ----------------------------------------- ##
32077 ## Report this to wx-dev@lists.wxwidgets.org ##
32078 ## ----------------------------------------- ##
32079 _ASBOX
32080 ) |
32081 sed "s/^/$as_me: WARNING: /" >&2
32082 ;;
32083 esac
32084 echo "$as_me:$LINENO: checking for $ac_header" >&5
32085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32087 echo $ECHO_N "(cached) $ECHO_C" >&6
32088 else
32089 eval "$as_ac_Header=\$ac_header_preproc"
32090 fi
32091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32093
32094 fi
32095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32096 cat >>confdefs.h <<_ACEOF
32097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32098 _ACEOF
32099
32100 fi
32101
32102 done
32103
32104
32105 for ac_header in X11/XKBlib.h
32106 do
32107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32108 echo "$as_me:$LINENO: checking for $ac_header" >&5
32109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32112 else
32113 cat >conftest.$ac_ext <<_ACEOF
32114 /* confdefs.h. */
32115 _ACEOF
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32119
32120 #if HAVE_X11_XLIB_H
32121 #include <X11/Xlib.h>
32122 #endif
32123
32124
32125 #include <$ac_header>
32126 _ACEOF
32127 rm -f conftest.$ac_objext
32128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32129 (eval $ac_compile) 2>conftest.er1
32130 ac_status=$?
32131 grep -v '^ *+' conftest.er1 >conftest.err
32132 rm -f conftest.er1
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } &&
32136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32139 ac_status=$?
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; } &&
32142 { ac_try='test -s conftest.$ac_objext'
32143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32144 (eval $ac_try) 2>&5
32145 ac_status=$?
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); }; }; then
32148 eval "$as_ac_Header=yes"
32149 else
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.$ac_ext >&5
32152
32153 eval "$as_ac_Header=no"
32154 fi
32155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32156 fi
32157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32160 cat >>confdefs.h <<_ACEOF
32161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32162 _ACEOF
32163
32164 fi
32165
32166 done
32167
32168 fi
32169 fi
32170
32171
32172
32173 IODBC_C_SRC=""
32174
32175
32176 if test "$TOOLKIT" != "MSW" ; then
32177
32178 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32179
32180 if test "${ac_cv_header_sql_h+set}" = set; then
32181 echo "$as_me:$LINENO: checking for sql.h" >&5
32182 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32183 if test "${ac_cv_header_sql_h+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32185 fi
32186 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32187 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32188 else
32189 # Is the header compilable?
32190 echo "$as_me:$LINENO: checking sql.h usability" >&5
32191 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32192 cat >conftest.$ac_ext <<_ACEOF
32193 /* confdefs.h. */
32194 _ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32198 $ac_includes_default
32199 #include <sql.h>
32200 _ACEOF
32201 rm -f conftest.$ac_objext
32202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32203 (eval $ac_compile) 2>conftest.er1
32204 ac_status=$?
32205 grep -v '^ *+' conftest.er1 >conftest.err
32206 rm -f conftest.er1
32207 cat conftest.err >&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); } &&
32210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32212 (eval $ac_try) 2>&5
32213 ac_status=$?
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); }; } &&
32216 { ac_try='test -s conftest.$ac_objext'
32217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32218 (eval $ac_try) 2>&5
32219 ac_status=$?
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); }; }; then
32222 ac_header_compiler=yes
32223 else
32224 echo "$as_me: failed program was:" >&5
32225 sed 's/^/| /' conftest.$ac_ext >&5
32226
32227 ac_header_compiler=no
32228 fi
32229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32231 echo "${ECHO_T}$ac_header_compiler" >&6
32232
32233 # Is the header present?
32234 echo "$as_me:$LINENO: checking sql.h presence" >&5
32235 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32236 cat >conftest.$ac_ext <<_ACEOF
32237 /* confdefs.h. */
32238 _ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 #include <sql.h>
32243 _ACEOF
32244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32246 ac_status=$?
32247 grep -v '^ *+' conftest.er1 >conftest.err
32248 rm -f conftest.er1
32249 cat conftest.err >&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } >/dev/null; then
32252 if test -s conftest.err; then
32253 ac_cpp_err=$ac_c_preproc_warn_flag
32254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32255 else
32256 ac_cpp_err=
32257 fi
32258 else
32259 ac_cpp_err=yes
32260 fi
32261 if test -z "$ac_cpp_err"; then
32262 ac_header_preproc=yes
32263 else
32264 echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.$ac_ext >&5
32266
32267 ac_header_preproc=no
32268 fi
32269 rm -f conftest.err conftest.$ac_ext
32270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32271 echo "${ECHO_T}$ac_header_preproc" >&6
32272
32273 # So? What about this header?
32274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32275 yes:no: )
32276 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32277 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32278 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32279 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32280 ac_header_preproc=yes
32281 ;;
32282 no:yes:* )
32283 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32284 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32285 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32286 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32287 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32288 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32289 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32290 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32291 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32292 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32293 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32294 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32295 (
32296 cat <<\_ASBOX
32297 ## ----------------------------------------- ##
32298 ## Report this to wx-dev@lists.wxwidgets.org ##
32299 ## ----------------------------------------- ##
32300 _ASBOX
32301 ) |
32302 sed "s/^/$as_me: WARNING: /" >&2
32303 ;;
32304 esac
32305 echo "$as_me:$LINENO: checking for sql.h" >&5
32306 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32307 if test "${ac_cv_header_sql_h+set}" = set; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 else
32310 ac_cv_header_sql_h=$ac_header_preproc
32311 fi
32312 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32313 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32314
32315 fi
32316 if test $ac_cv_header_sql_h = yes; then
32317 found_sql_h=1
32318 fi
32319
32320
32321 if test "x$found_sql_h" = "x1" ; then
32322 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32323 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32324 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327 ac_check_lib_save_LIBS=$LIBS
32328 LIBS="-liodbc $LIBS"
32329 cat >conftest.$ac_ext <<_ACEOF
32330 /* confdefs.h. */
32331 _ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h. */
32335
32336 /* Override any gcc2 internal prototype to avoid an error. */
32337 #ifdef __cplusplus
32338 extern "C"
32339 #endif
32340 /* We use char because int might match the return type of a gcc2
32341 builtin and then its argument prototype would still apply. */
32342 char SQLAllocEnv ();
32343 int
32344 main ()
32345 {
32346 SQLAllocEnv ();
32347 ;
32348 return 0;
32349 }
32350 _ACEOF
32351 rm -f conftest.$ac_objext conftest$ac_exeext
32352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32353 (eval $ac_link) 2>conftest.er1
32354 ac_status=$?
32355 grep -v '^ *+' conftest.er1 >conftest.err
32356 rm -f conftest.er1
32357 cat conftest.err >&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } &&
32360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32363 ac_status=$?
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; } &&
32366 { ac_try='test -s conftest$ac_exeext'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; }; then
32372 ac_cv_lib_iodbc_SQLAllocEnv=yes
32373 else
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32376
32377 ac_cv_lib_iodbc_SQLAllocEnv=no
32378 fi
32379 rm -f conftest.err conftest.$ac_objext \
32380 conftest$ac_exeext conftest.$ac_ext
32381 LIBS=$ac_check_lib_save_LIBS
32382 fi
32383 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32384 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32385 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32386 ODBC_LINK=" -liodbc"
32387 else
32388
32389 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32390 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32391 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 else
32394 ac_check_lib_save_LIBS=$LIBS
32395 LIBS="-lunixodbc $LIBS"
32396 cat >conftest.$ac_ext <<_ACEOF
32397 /* confdefs.h. */
32398 _ACEOF
32399 cat confdefs.h >>conftest.$ac_ext
32400 cat >>conftest.$ac_ext <<_ACEOF
32401 /* end confdefs.h. */
32402
32403 /* Override any gcc2 internal prototype to avoid an error. */
32404 #ifdef __cplusplus
32405 extern "C"
32406 #endif
32407 /* We use char because int might match the return type of a gcc2
32408 builtin and then its argument prototype would still apply. */
32409 char SQLAllocEnv ();
32410 int
32411 main ()
32412 {
32413 SQLAllocEnv ();
32414 ;
32415 return 0;
32416 }
32417 _ACEOF
32418 rm -f conftest.$ac_objext conftest$ac_exeext
32419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32420 (eval $ac_link) 2>conftest.er1
32421 ac_status=$?
32422 grep -v '^ *+' conftest.er1 >conftest.err
32423 rm -f conftest.er1
32424 cat conftest.err >&5
32425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32426 (exit $ac_status); } &&
32427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32429 (eval $ac_try) 2>&5
32430 ac_status=$?
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); }; } &&
32433 { ac_try='test -s conftest$ac_exeext'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; }; then
32439 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32440 else
32441 echo "$as_me: failed program was:" >&5
32442 sed 's/^/| /' conftest.$ac_ext >&5
32443
32444 ac_cv_lib_unixodbc_SQLAllocEnv=no
32445 fi
32446 rm -f conftest.err conftest.$ac_objext \
32447 conftest$ac_exeext conftest.$ac_ext
32448 LIBS=$ac_check_lib_save_LIBS
32449 fi
32450 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32451 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32452 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32453 ODBC_LINK=" -lunixodbc"
32454 else
32455
32456 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32457 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32458 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32459 echo $ECHO_N "(cached) $ECHO_C" >&6
32460 else
32461 ac_check_lib_save_LIBS=$LIBS
32462 LIBS="-lodbc $LIBS"
32463 cat >conftest.$ac_ext <<_ACEOF
32464 /* confdefs.h. */
32465 _ACEOF
32466 cat confdefs.h >>conftest.$ac_ext
32467 cat >>conftest.$ac_ext <<_ACEOF
32468 /* end confdefs.h. */
32469
32470 /* Override any gcc2 internal prototype to avoid an error. */
32471 #ifdef __cplusplus
32472 extern "C"
32473 #endif
32474 /* We use char because int might match the return type of a gcc2
32475 builtin and then its argument prototype would still apply. */
32476 char SQLAllocEnv ();
32477 int
32478 main ()
32479 {
32480 SQLAllocEnv ();
32481 ;
32482 return 0;
32483 }
32484 _ACEOF
32485 rm -f conftest.$ac_objext conftest$ac_exeext
32486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32487 (eval $ac_link) 2>conftest.er1
32488 ac_status=$?
32489 grep -v '^ *+' conftest.er1 >conftest.err
32490 rm -f conftest.er1
32491 cat conftest.err >&5
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); } &&
32494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32496 (eval $ac_try) 2>&5
32497 ac_status=$?
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); }; } &&
32500 { ac_try='test -s conftest$ac_exeext'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32503 ac_status=$?
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; }; then
32506 ac_cv_lib_odbc_SQLAllocEnv=yes
32507 else
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32510
32511 ac_cv_lib_odbc_SQLAllocEnv=no
32512 fi
32513 rm -f conftest.err conftest.$ac_objext \
32514 conftest$ac_exeext conftest.$ac_ext
32515 LIBS=$ac_check_lib_save_LIBS
32516 fi
32517 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32518 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32519 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32520 ODBC_LINK=" -lodbc"
32521 fi
32522
32523
32524 fi
32525
32526
32527 fi
32528
32529 fi
32530 if test "x$ODBC_LINK" = "x" ; then
32531 if test "$wxUSE_ODBC" = "sys" ; then
32532 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32533 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32534 { (exit 1); exit 1; }; }
32535 else
32536 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32537 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32538 wxUSE_ODBC=builtin
32539 fi
32540 else
32541 wxUSE_ODBC=sys
32542 fi
32543 fi
32544
32545 if test "$wxUSE_ODBC" = "builtin" ; then
32546 cat >>confdefs.h <<\_ACEOF
32547 #define wxUSE_BUILTIN_IODBC 1
32548 _ACEOF
32549
32550 fi
32551 fi
32552
32553 if test "$wxUSE_ODBC" != "no" ; then
32554 cat >>confdefs.h <<\_ACEOF
32555 #define wxUSE_ODBC 1
32556 _ACEOF
32557
32558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32559
32560 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32561 fi
32562
32563
32564 if test "$wxUSE_DISPLAY" = "yes"; then
32565 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32566 echo "$as_me:$LINENO: checking for Xinerama" >&5
32567 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32568
32569 ac_find_libraries=
32570 for ac_dir in $SEARCH_LIB;
32571 do
32572 for ac_extension in a so sl dylib dll.a; do
32573 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32574 ac_find_libraries=$ac_dir
32575 break 2
32576 fi
32577 done
32578 done
32579
32580 if test "$ac_find_libraries" != "" ; then
32581
32582 if test "$ac_find_libraries" = "default location"; then
32583 ac_path_to_link=""
32584 else
32585 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32586 result=$?
32587 if test $result = 0; then
32588 ac_path_to_link=""
32589 else
32590 ac_path_to_link=" -L$ac_find_libraries"
32591 fi
32592 fi
32593
32594 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32595 LDFLAGS="$LDFLAGS $ac_path_to_link"
32596 fi
32597 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32598 echo "$as_me:$LINENO: result: yes" >&5
32599 echo "${ECHO_T}yes" >&6
32600
32601 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32602 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32603
32604 ac_find_libraries=
32605 for ac_dir in $SEARCH_LIB;
32606 do
32607 for ac_extension in a so sl dylib dll.a; do
32608 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32609 ac_find_libraries=$ac_dir
32610 break 2
32611 fi
32612 done
32613 done
32614
32615 if test "$ac_find_libraries" != "" ; then
32616 echo "$as_me:$LINENO: result: yes" >&5
32617 echo "${ECHO_T}yes" >&6
32618
32619 for ac_header in X11/extensions/xf86vmode.h
32620 do
32621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32622 echo "$as_me:$LINENO: checking for $ac_header" >&5
32623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32625 echo $ECHO_N "(cached) $ECHO_C" >&6
32626 else
32627 cat >conftest.$ac_ext <<_ACEOF
32628 /* confdefs.h. */
32629 _ACEOF
32630 cat confdefs.h >>conftest.$ac_ext
32631 cat >>conftest.$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633
32634 #if HAVE_X11_XLIB_H
32635 #include <X11/Xlib.h>
32636 #endif
32637
32638
32639 #include <$ac_header>
32640 _ACEOF
32641 rm -f conftest.$ac_objext
32642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32643 (eval $ac_compile) 2>conftest.er1
32644 ac_status=$?
32645 grep -v '^ *+' conftest.er1 >conftest.err
32646 rm -f conftest.er1
32647 cat conftest.err >&5
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); } &&
32650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32653 ac_status=$?
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; } &&
32656 { ac_try='test -s conftest.$ac_objext'
32657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658 (eval $ac_try) 2>&5
32659 ac_status=$?
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; }; then
32662 eval "$as_ac_Header=yes"
32663 else
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32666
32667 eval "$as_ac_Header=no"
32668 fi
32669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32670 fi
32671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32674 cat >>confdefs.h <<_ACEOF
32675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32676 _ACEOF
32677
32678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32679
32680 fi
32681
32682 done
32683
32684 else
32685 echo "$as_me:$LINENO: result: no" >&5
32686 echo "${ECHO_T}no" >&6
32687 fi
32688
32689 else
32690 echo "$as_me:$LINENO: result: no" >&5
32691 echo "${ECHO_T}no" >&6
32692 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32693 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32694 wxUSE_DISPLAY="no"
32695 fi
32696 elif test "$wxUSE_MSW" = 1; then
32697
32698 for ac_header in ddraw.h
32699 do
32700 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32701 echo "$as_me:$LINENO: checking for $ac_header" >&5
32702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 else
32706 cat >conftest.$ac_ext <<_ACEOF
32707 /* confdefs.h. */
32708 _ACEOF
32709 cat confdefs.h >>conftest.$ac_ext
32710 cat >>conftest.$ac_ext <<_ACEOF
32711 /* end confdefs.h. */
32712 #include <windows.h>
32713
32714 #include <$ac_header>
32715 _ACEOF
32716 rm -f conftest.$ac_objext
32717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32718 (eval $ac_compile) 2>conftest.er1
32719 ac_status=$?
32720 grep -v '^ *+' conftest.er1 >conftest.err
32721 rm -f conftest.er1
32722 cat conftest.err >&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } &&
32725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32728 ac_status=$?
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; } &&
32731 { ac_try='test -s conftest.$ac_objext'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32734 ac_status=$?
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; }; then
32737 eval "$as_ac_Header=yes"
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742 eval "$as_ac_Header=no"
32743 fi
32744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32745 fi
32746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32749 cat >>confdefs.h <<_ACEOF
32750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32751 _ACEOF
32752
32753 fi
32754
32755 done
32756
32757 fi
32758 fi
32759
32760 if test "$wxUSE_DETECT_SM" = "yes"; then
32761 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32762 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32763 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
32764
32765 ac_find_libraries=
32766 for ac_dir in $SEARCH_LIB;
32767 do
32768 for ac_extension in a so sl dylib dll.a; do
32769 if test -f "$ac_dir/libSM.$ac_extension"; then
32770 ac_find_libraries=$ac_dir
32771 break 2
32772 fi
32773 done
32774 done
32775
32776 if test "$ac_find_libraries" != "" ; then
32777
32778 if test "$ac_find_libraries" = "default location"; then
32779 ac_path_to_link=""
32780 else
32781 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32782 result=$?
32783 if test $result = 0; then
32784 ac_path_to_link=""
32785 else
32786 ac_path_to_link=" -L$ac_find_libraries"
32787 fi
32788 fi
32789
32790 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32791 LDFLAGS="$LDFLAGS $ac_path_to_link"
32792 fi
32793 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32794 echo "$as_me:$LINENO: result: yes" >&5
32795 echo "${ECHO_T}yes" >&6
32796 else
32797 echo "$as_me:$LINENO: result: no" >&5
32798 echo "${ECHO_T}no" >&6
32799 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32800 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32801 wxUSE_DETECT_SM="no"
32802 fi
32803 else
32804 wxUSE_DETECT_SM="no"
32805 fi
32806 fi
32807
32808
32809
32810 USE_OPENGL=0
32811 if test "$wxUSE_OPENGL" = "yes"; then
32812 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32813 OPENGL_LIBS="-framework OpenGL -framework AGL"
32814 elif test "$wxUSE_MSW" = 1; then
32815 OPENGL_LIBS="-lopengl32 -lglu32"
32816 else
32817 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32818 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
32819
32820 ac_find_includes=
32821 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32822 do
32823 if test -f "$ac_dir/GL/gl.h"; then
32824 ac_find_includes=$ac_dir
32825 break
32826 fi
32827 done
32828
32829 if test "$ac_find_includes" != "" ; then
32830 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32831 echo "${ECHO_T}found in $ac_find_includes" >&6
32832
32833 if test "x$ac_find_includes" = "x/usr/include"; then
32834 ac_path_to_include=""
32835 else
32836 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32837 result=$?
32838 if test $result = 0; then
32839 ac_path_to_include=""
32840 else
32841 ac_path_to_include=" -I$ac_find_includes"
32842 fi
32843 fi
32844
32845 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32846 else
32847 echo "$as_me:$LINENO: result: not found" >&5
32848 echo "${ECHO_T}not found" >&6
32849 fi
32850
32851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32852 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32853 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32854 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 fi
32857 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32858 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32859 else
32860 # Is the header compilable?
32861 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32862 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h. */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869 $ac_includes_default
32870 #include <GL/gl.h>
32871 _ACEOF
32872 rm -f conftest.$ac_objext
32873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32874 (eval $ac_compile) 2>conftest.er1
32875 ac_status=$?
32876 grep -v '^ *+' conftest.er1 >conftest.err
32877 rm -f conftest.er1
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } &&
32881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32883 (eval $ac_try) 2>&5
32884 ac_status=$?
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); }; } &&
32887 { ac_try='test -s conftest.$ac_objext'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32890 ac_status=$?
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; }; then
32893 ac_header_compiler=yes
32894 else
32895 echo "$as_me: failed program was:" >&5
32896 sed 's/^/| /' conftest.$ac_ext >&5
32897
32898 ac_header_compiler=no
32899 fi
32900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32902 echo "${ECHO_T}$ac_header_compiler" >&6
32903
32904 # Is the header present?
32905 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32906 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32907 cat >conftest.$ac_ext <<_ACEOF
32908 /* confdefs.h. */
32909 _ACEOF
32910 cat confdefs.h >>conftest.$ac_ext
32911 cat >>conftest.$ac_ext <<_ACEOF
32912 /* end confdefs.h. */
32913 #include <GL/gl.h>
32914 _ACEOF
32915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32917 ac_status=$?
32918 grep -v '^ *+' conftest.er1 >conftest.err
32919 rm -f conftest.er1
32920 cat conftest.err >&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); } >/dev/null; then
32923 if test -s conftest.err; then
32924 ac_cpp_err=$ac_c_preproc_warn_flag
32925 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32926 else
32927 ac_cpp_err=
32928 fi
32929 else
32930 ac_cpp_err=yes
32931 fi
32932 if test -z "$ac_cpp_err"; then
32933 ac_header_preproc=yes
32934 else
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.$ac_ext >&5
32937
32938 ac_header_preproc=no
32939 fi
32940 rm -f conftest.err conftest.$ac_ext
32941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32942 echo "${ECHO_T}$ac_header_preproc" >&6
32943
32944 # So? What about this header?
32945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32946 yes:no: )
32947 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32948 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32949 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32950 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32951 ac_header_preproc=yes
32952 ;;
32953 no:yes:* )
32954 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32955 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32956 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32957 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32958 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32959 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32960 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32961 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32962 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32963 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32964 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32965 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32966 (
32967 cat <<\_ASBOX
32968 ## ----------------------------------------- ##
32969 ## Report this to wx-dev@lists.wxwidgets.org ##
32970 ## ----------------------------------------- ##
32971 _ASBOX
32972 ) |
32973 sed "s/^/$as_me: WARNING: /" >&2
32974 ;;
32975 esac
32976 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32977 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32978 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32979 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 else
32981 ac_cv_header_GL_gl_h=$ac_header_preproc
32982 fi
32983 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32984 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32985
32986 fi
32987 if test $ac_cv_header_GL_gl_h = yes; then
32988
32989 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32990 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32991 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
32992 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 fi
32995 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32996 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
32997 else
32998 # Is the header compilable?
32999 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33000 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33001 cat >conftest.$ac_ext <<_ACEOF
33002 /* confdefs.h. */
33003 _ACEOF
33004 cat confdefs.h >>conftest.$ac_ext
33005 cat >>conftest.$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33007 $ac_includes_default
33008 #include <GL/glu.h>
33009 _ACEOF
33010 rm -f conftest.$ac_objext
33011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33012 (eval $ac_compile) 2>conftest.er1
33013 ac_status=$?
33014 grep -v '^ *+' conftest.er1 >conftest.err
33015 rm -f conftest.er1
33016 cat conftest.err >&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); } &&
33019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33022 ac_status=$?
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; } &&
33025 { ac_try='test -s conftest.$ac_objext'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33028 ac_status=$?
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; }; then
33031 ac_header_compiler=yes
33032 else
33033 echo "$as_me: failed program was:" >&5
33034 sed 's/^/| /' conftest.$ac_ext >&5
33035
33036 ac_header_compiler=no
33037 fi
33038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33040 echo "${ECHO_T}$ac_header_compiler" >&6
33041
33042 # Is the header present?
33043 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33044 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33045 cat >conftest.$ac_ext <<_ACEOF
33046 /* confdefs.h. */
33047 _ACEOF
33048 cat confdefs.h >>conftest.$ac_ext
33049 cat >>conftest.$ac_ext <<_ACEOF
33050 /* end confdefs.h. */
33051 #include <GL/glu.h>
33052 _ACEOF
33053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } >/dev/null; then
33061 if test -s conftest.err; then
33062 ac_cpp_err=$ac_c_preproc_warn_flag
33063 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33064 else
33065 ac_cpp_err=
33066 fi
33067 else
33068 ac_cpp_err=yes
33069 fi
33070 if test -z "$ac_cpp_err"; then
33071 ac_header_preproc=yes
33072 else
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33075
33076 ac_header_preproc=no
33077 fi
33078 rm -f conftest.err conftest.$ac_ext
33079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33080 echo "${ECHO_T}$ac_header_preproc" >&6
33081
33082 # So? What about this header?
33083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33084 yes:no: )
33085 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33086 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33087 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33088 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33089 ac_header_preproc=yes
33090 ;;
33091 no:yes:* )
33092 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33093 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33094 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33095 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33096 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33097 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33098 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33099 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33100 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33101 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33102 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33103 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33104 (
33105 cat <<\_ASBOX
33106 ## ----------------------------------------- ##
33107 ## Report this to wx-dev@lists.wxwidgets.org ##
33108 ## ----------------------------------------- ##
33109 _ASBOX
33110 ) |
33111 sed "s/^/$as_me: WARNING: /" >&2
33112 ;;
33113 esac
33114 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33115 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33116 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33117 echo $ECHO_N "(cached) $ECHO_C" >&6
33118 else
33119 ac_cv_header_GL_glu_h=$ac_header_preproc
33120 fi
33121 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33122 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33123
33124 fi
33125 if test $ac_cv_header_GL_glu_h = yes; then
33126
33127 found_gl=0
33128
33129 echo "$as_me:$LINENO: checking for -lGL" >&5
33130 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33131
33132 ac_find_libraries=
33133 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33134 do
33135 for ac_extension in a so sl dylib dll.a; do
33136 if test -f "$ac_dir/libGL.$ac_extension"; then
33137 ac_find_libraries=$ac_dir
33138 break 2
33139 fi
33140 done
33141 done
33142
33143 if test "$ac_find_libraries" != "" ; then
33144 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33145 echo "${ECHO_T}found in $ac_find_libraries" >&6
33146
33147
33148 if test "$ac_find_libraries" = "default location"; then
33149 ac_path_to_link=""
33150 else
33151 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33152 result=$?
33153 if test $result = 0; then
33154 ac_path_to_link=""
33155 else
33156 ac_path_to_link=" -L$ac_find_libraries"
33157 fi
33158 fi
33159
33160 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33161 LDFLAGS_GL="$ac_path_to_link"
33162 fi
33163
33164 echo "$as_me:$LINENO: checking for -lGLU" >&5
33165 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33166
33167 ac_find_libraries=
33168 for ac_dir in $SEARCH_LIB;
33169 do
33170 for ac_extension in a so sl dylib dll.a; do
33171 if test -f "$ac_dir/libGLU.$ac_extension"; then
33172 ac_find_libraries=$ac_dir
33173 break 2
33174 fi
33175 done
33176 done
33177
33178 if test "$ac_find_libraries" != "" ; then
33179
33180 if test "$ac_find_libraries" = "default location"; then
33181 ac_path_to_link=""
33182 else
33183 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33184 result=$?
33185 if test $result = 0; then
33186 ac_path_to_link=""
33187 else
33188 ac_path_to_link=" -L$ac_find_libraries"
33189 fi
33190 fi
33191
33192 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33193 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33194 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33195 fi
33196
33197 found_gl=1
33198 OPENGL_LIBS="-lGL -lGLU"
33199 echo "$as_me:$LINENO: result: yes" >&5
33200 echo "${ECHO_T}yes" >&6
33201 else
33202 echo "$as_me:$LINENO: result: no" >&5
33203 echo "${ECHO_T}no" >&6
33204 fi
33205 else
33206 echo "$as_me:$LINENO: result: no" >&5
33207 echo "${ECHO_T}no" >&6
33208 fi
33209
33210 if test "$found_gl" != 1; then
33211 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33212 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33213
33214 ac_find_libraries=
33215 for ac_dir in $SEARCH_LIB;
33216 do
33217 for ac_extension in a so sl dylib dll.a; do
33218 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33219 ac_find_libraries=$ac_dir
33220 break 2
33221 fi
33222 done
33223 done
33224
33225 if test "$ac_find_libraries" != "" ; then
33226
33227 if test "$ac_find_libraries" = "default location"; then
33228 ac_path_to_link=""
33229 else
33230 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33231 result=$?
33232 if test $result = 0; then
33233 ac_path_to_link=""
33234 else
33235 ac_path_to_link=" -L$ac_find_libraries"
33236 fi
33237 fi
33238
33239 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33240 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33241 echo "$as_me:$LINENO: result: yes" >&5
33242 echo "${ECHO_T}yes" >&6
33243 else
33244 echo "$as_me:$LINENO: result: no" >&5
33245 echo "${ECHO_T}no" >&6
33246 fi
33247 fi
33248
33249 fi
33250
33251
33252
33253 fi
33254
33255
33256
33257 if test "x$OPENGL_LIBS" = "x"; then
33258 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33259 echo "$as_me: error: OpenGL libraries not available" >&2;}
33260 { (exit 1); exit 1; }; }
33261 fi
33262 fi
33263
33264 if test "$wxUSE_OPENGL" = "yes"; then
33265 USE_OPENGL=1
33266 cat >>confdefs.h <<\_ACEOF
33267 #define wxUSE_OPENGL 1
33268 _ACEOF
33269
33270 cat >>confdefs.h <<\_ACEOF
33271 #define wxUSE_GLCANVAS 1
33272 _ACEOF
33273
33274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33275 fi
33276 fi
33277
33278
33279 if test -n "$TOOLKIT" ; then
33280 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33281 fi
33282
33283
33284
33285 if test "$wxUSE_SHARED" = "yes"; then
33286 case "${host}" in
33287 *-pc-msdosdjgpp )
33288 wxUSE_SHARED=no
33289 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33290 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33291 ;;
33292 esac
33293 fi
33294
33295 if test "$wxUSE_SHARED" = "yes"; then
33296
33297
33298 case "${host}" in
33299 *-*-cygwin* | *-*-mingw* )
33300 wx_cv_version_script=no
33301 ;;
33302
33303 *)
33304 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33305 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33306 if test "${wx_cv_version_script+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33309
33310 echo "VER_1 { *; };" >conftest.sym
33311 echo "int main() { return 0; }" >conftest.cpp
33312
33313 if { ac_try='
33314 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33315 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33318 ac_status=$?
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; } ; then
33321 if test -s conftest.stderr ; then
33322 wx_cv_version_script=no
33323 else
33324 wx_cv_version_script=yes
33325 fi
33326 else
33327 wx_cv_version_script=no
33328 fi
33329
33330 if test $wx_cv_version_script = yes
33331 then
33332 echo "struct B { virtual ~B() { } }; \
33333 struct D : public B { }; \
33334 void F() { D d; }" > conftest.cpp
33335
33336 if { ac_try='
33337 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33338 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33340 (eval $ac_try) 2>&5
33341 ac_status=$?
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; } &&
33344 { ac_try='
33345 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33346 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33348 (eval $ac_try) 2>&5
33349 ac_status=$?
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); }; }
33352 then
33353 if { ac_try='
33354 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33355 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357 (eval $ac_try) 2>&5
33358 ac_status=$?
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; }
33361 then
33362 wx_cv_version_script=yes
33363 else
33364 wx_cv_version_script=no
33365 fi
33366 fi
33367 fi
33368
33369 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33370 rm -f conftest1.output conftest2.output conftest3.output
33371
33372 fi
33373 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33374 echo "${ECHO_T}$wx_cv_version_script" >&6
33375
33376 if test $wx_cv_version_script = yes ; then
33377 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33378 fi
33379 ;;
33380 esac
33381
33382
33383 case "${host}" in
33384 *-*-linux* | *-*-gnu* )
33385 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33386 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33387 ;;
33388
33389 *-*-solaris2* )
33390 if test "$GCC" = yes ; then
33391 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33392
33393 saveLdflags="$LDFLAGS"
33394 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33395 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33396 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33397 cat >conftest.$ac_ext <<_ACEOF
33398 /* confdefs.h. */
33399 _ACEOF
33400 cat confdefs.h >>conftest.$ac_ext
33401 cat >>conftest.$ac_ext <<_ACEOF
33402 /* end confdefs.h. */
33403
33404 int
33405 main ()
33406 {
33407
33408 ;
33409 return 0;
33410 }
33411 _ACEOF
33412 rm -f conftest.$ac_objext conftest$ac_exeext
33413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33414 (eval $ac_link) 2>conftest.er1
33415 ac_status=$?
33416 grep -v '^ *+' conftest.er1 >conftest.err
33417 rm -f conftest.er1
33418 cat conftest.err >&5
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); } &&
33421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33423 (eval $ac_try) 2>&5
33424 ac_status=$?
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); }; } &&
33427 { ac_try='test -s conftest$ac_exeext'
33428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33429 (eval $ac_try) 2>&5
33430 ac_status=$?
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); }; }; then
33433
33434 echo "$as_me:$LINENO: result: yes" >&5
33435 echo "${ECHO_T}yes" >&6
33436 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33437 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33438
33439 else
33440 echo "$as_me: failed program was:" >&5
33441 sed 's/^/| /' conftest.$ac_ext >&5
33442
33443
33444 echo "$as_me:$LINENO: result: no" >&5
33445 echo "${ECHO_T}no" >&6
33446 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33447 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33448 LDFLAGS="$saveLdflags -Wl,-R,/"
33449 cat >conftest.$ac_ext <<_ACEOF
33450 /* confdefs.h. */
33451 _ACEOF
33452 cat confdefs.h >>conftest.$ac_ext
33453 cat >>conftest.$ac_ext <<_ACEOF
33454 /* end confdefs.h. */
33455
33456 int
33457 main ()
33458 {
33459
33460 ;
33461 return 0;
33462 }
33463 _ACEOF
33464 rm -f conftest.$ac_objext conftest$ac_exeext
33465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33466 (eval $ac_link) 2>conftest.er1
33467 ac_status=$?
33468 grep -v '^ *+' conftest.er1 >conftest.err
33469 rm -f conftest.er1
33470 cat conftest.err >&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; } &&
33479 { ac_try='test -s conftest$ac_exeext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485
33486 echo "$as_me:$LINENO: result: yes" >&5
33487 echo "${ECHO_T}yes" >&6
33488 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33489 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33490
33491 else
33492 echo "$as_me: failed program was:" >&5
33493 sed 's/^/| /' conftest.$ac_ext >&5
33494
33495
33496 echo "$as_me:$LINENO: result: no" >&5
33497 echo "${ECHO_T}no" >&6
33498
33499 fi
33500 rm -f conftest.err conftest.$ac_objext \
33501 conftest$ac_exeext conftest.$ac_ext
33502
33503 fi
33504 rm -f conftest.err conftest.$ac_objext \
33505 conftest$ac_exeext conftest.$ac_ext
33506 LDFLAGS="$saveLdflags"
33507 else
33508 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33509 WXCONFIG_RPATH="-R\$libdir"
33510 fi
33511 ;;
33512
33513 *-*-darwin* )
33514 install_name_tool=`which install_name_tool`
33515 if test "$install_name_tool" -a -x "$install_name_tool"; then
33516 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33517 cat <<EOF >change-install-names
33518 #!/bin/sh
33519 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33520 inst_cmd="install_name_tool "
33521 for i in \${libnames} ; do
33522 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33523 done
33524 \${inst_cmd} \${3}
33525 EOF
33526 chmod +x change-install-names
33527 fi
33528 ;;
33529
33530 *-*-cygwin* | *-*-mingw32* )
33531 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33532 ;;
33533
33534 *-*-hpux* )
33535 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33536 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33537 ;;
33538
33539 esac
33540
33541 if test $wxUSE_RPATH = "no"; then
33542 SAMPLES_RPATH_FLAG=''
33543 SAMPLES_RPATH_POSTLINK=''
33544 WXCONFIG_RPATH=''
33545 fi
33546
33547 SHARED=1
33548
33549 else
33550
33551 config_linkage_component="-static"
33552 SHARED=0
33553
33554 fi
33555
33556
33557 UNICODE=0
33558 lib_unicode_suffix=
33559 WX_CHARTYPE="ansi"
33560 if test "$wxUSE_UNICODE" = "yes"; then
33561 lib_unicode_suffix=u
33562 WX_CHARTYPE="unicode"
33563 UNICODE=1
33564 fi
33565
33566 lib_debug_suffix=
33567 WX_DEBUGTYPE="release"
33568 DEBUG_FLAG=0
33569 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33570 lib_debug_suffix=d
33571 WX_DEBUGTYPE="debug"
33572 DEBUG_FLAG=1
33573 fi
33574
33575 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33576 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33577
33578 DEBUG_INFO=0
33579 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33580 DEBUG_INFO=1
33581 fi
33582
33583 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33584
33585 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33586
33587 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33588
33589 if test "$cross_compiling" = "yes"; then
33590 HOST_SUFFIX="-$host_alias"
33591 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33592 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33593 fi
33594
33595 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33596 if test "${TOOLKIT_DIR}" = "os2"; then
33597 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33598 else
33599 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33600 fi
33601
33602
33603
33604 if test "$wxUSE_COCOA" = 1; then
33605
33606
33607 ac_ext=c
33608 ac_cpp='$CPP $CPPFLAGS'
33609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612
33613 ac_ext=m
33614
33615 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33616 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33617 cat >conftest.$ac_ext <<_ACEOF
33618 /* confdefs.h. */
33619 _ACEOF
33620 cat confdefs.h >>conftest.$ac_ext
33621 cat >>conftest.$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623 #include <AppKit/NSEvent.h>
33624 #include <CoreFoundation/CoreFoundation.h>
33625
33626 int
33627 main ()
33628 {
33629
33630 ;
33631 return 0;
33632 }
33633 _ACEOF
33634 rm -f conftest.$ac_objext
33635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33636 (eval $ac_compile) 2>conftest.er1
33637 ac_status=$?
33638 grep -v '^ *+' conftest.er1 >conftest.err
33639 rm -f conftest.er1
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } &&
33643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33646 ac_status=$?
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try='test -s conftest.$ac_objext'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; }; then
33655 echo "$as_me:$LINENO: result: no" >&5
33656 echo "${ECHO_T}no" >&6
33657 else
33658 echo "$as_me: failed program was:" >&5
33659 sed 's/^/| /' conftest.$ac_ext >&5
33660
33661 echo "$as_me:$LINENO: result: yes" >&5
33662 echo "${ECHO_T}yes" >&6
33663 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33664 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33665 cat >conftest.$ac_ext <<_ACEOF
33666 /* confdefs.h. */
33667 _ACEOF
33668 cat confdefs.h >>conftest.$ac_ext
33669 cat >>conftest.$ac_ext <<_ACEOF
33670 /* end confdefs.h. */
33671 #define __Point__ 1
33672 #include <AppKit/NSEvent.h>
33673 #include <CoreFoundation/CoreFoundation.h>
33674
33675 int
33676 main ()
33677 {
33678
33679 ;
33680 return 0;
33681 }
33682 _ACEOF
33683 rm -f conftest.$ac_objext
33684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33685 (eval $ac_compile) 2>conftest.er1
33686 ac_status=$?
33687 grep -v '^ *+' conftest.er1 >conftest.err
33688 rm -f conftest.er1
33689 cat conftest.err >&5
33690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33691 (exit $ac_status); } &&
33692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33694 (eval $ac_try) 2>&5
33695 ac_status=$?
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); }; } &&
33698 { ac_try='test -s conftest.$ac_objext'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33701 ac_status=$?
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; }; then
33704 echo "$as_me:$LINENO: result: yes" >&5
33705 echo "${ECHO_T}yes" >&6
33706 cat >>confdefs.h <<\_ACEOF
33707 #define __Point__ 1
33708 _ACEOF
33709
33710
33711 else
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33714
33715 { { echo "$as_me:$LINENO: error: no
33716 See \`config.log' for more details." >&5
33717 echo "$as_me: error: no
33718 See \`config.log' for more details." >&2;}
33719 { (exit 1); exit 1; }; }
33720
33721 fi
33722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33723
33724 fi
33725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33726 ac_ext=c
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33731
33732 fi
33733
33734 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33735 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33736 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33737
33738 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33739
33740 # Extract the first word of "Rez", so it can be a program name with args.
33741 set dummy Rez; ac_word=$2
33742 echo "$as_me:$LINENO: checking for $ac_word" >&5
33743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33744 if test "${ac_cv_prog_REZ+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33746 else
33747 if test -n "$REZ"; then
33748 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33749 else
33750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33751 for as_dir in $PATH
33752 do
33753 IFS=$as_save_IFS
33754 test -z "$as_dir" && as_dir=.
33755 for ac_exec_ext in '' $ac_executable_extensions; do
33756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33757 ac_cv_prog_REZ="Rez"
33758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33759 break 2
33760 fi
33761 done
33762 done
33763
33764 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33765 fi
33766 fi
33767 REZ=$ac_cv_prog_REZ
33768 if test -n "$REZ"; then
33769 echo "$as_me:$LINENO: result: $REZ" >&5
33770 echo "${ECHO_T}$REZ" >&6
33771 else
33772 echo "$as_me:$LINENO: result: no" >&5
33773 echo "${ECHO_T}no" >&6
33774 fi
33775
33776 # Extract the first word of "DeRez", so it can be a program name with args.
33777 set dummy DeRez; ac_word=$2
33778 echo "$as_me:$LINENO: checking for $ac_word" >&5
33779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33780 if test "${ac_cv_prog_DEREZ+set}" = set; then
33781 echo $ECHO_N "(cached) $ECHO_C" >&6
33782 else
33783 if test -n "$DEREZ"; then
33784 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33785 else
33786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33787 for as_dir in $PATH
33788 do
33789 IFS=$as_save_IFS
33790 test -z "$as_dir" && as_dir=.
33791 for ac_exec_ext in '' $ac_executable_extensions; do
33792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33793 ac_cv_prog_DEREZ="DeRez"
33794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33795 break 2
33796 fi
33797 done
33798 done
33799
33800 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33801 fi
33802 fi
33803 DEREZ=$ac_cv_prog_DEREZ
33804 if test -n "$DEREZ"; then
33805 echo "$as_me:$LINENO: result: $DEREZ" >&5
33806 echo "${ECHO_T}$DEREZ" >&6
33807 else
33808 echo "$as_me:$LINENO: result: no" >&5
33809 echo "${ECHO_T}no" >&6
33810 fi
33811
33812 # Extract the first word of "SetFile", so it can be a program name with args.
33813 set dummy SetFile; ac_word=$2
33814 echo "$as_me:$LINENO: checking for $ac_word" >&5
33815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33816 if test "${ac_cv_prog_SETFILE+set}" = set; then
33817 echo $ECHO_N "(cached) $ECHO_C" >&6
33818 else
33819 if test -n "$SETFILE"; then
33820 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33821 else
33822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33823 for as_dir in $PATH
33824 do
33825 IFS=$as_save_IFS
33826 test -z "$as_dir" && as_dir=.
33827 for ac_exec_ext in '' $ac_executable_extensions; do
33828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33829 ac_cv_prog_SETFILE="SetFile"
33830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33831 break 2
33832 fi
33833 done
33834 done
33835
33836 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33837 fi
33838 fi
33839 SETFILE=$ac_cv_prog_SETFILE
33840 if test -n "$SETFILE"; then
33841 echo "$as_me:$LINENO: result: $SETFILE" >&5
33842 echo "${ECHO_T}$SETFILE" >&6
33843 else
33844 echo "$as_me:$LINENO: result: no" >&5
33845 echo "${ECHO_T}no" >&6
33846 fi
33847
33848
33849 MACSETFILE="\$(SETFILE)"
33850
33851 if test "$wxUSE_MAC" = 1; then
33852 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33853 RESCOMP="$REZ"
33854 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33855 else
33856 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33857 RESCOMP="echo -n \| $REZ"
33858 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33859 fi
33860
33861 else
33862 MACSETFILE="@true"
33863
33864 if test "$wxUSE_PM" = 1; then
33865 RESCOMP="emxbind"
33866 WXCONFIG_RESFLAGS="-ep"
33867
33868 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33869 else
33870 POSTLINK_COMMAND="@true"
33871 fi
33872
33873 fi
33874
33875
33876
33877 echo "$as_me:$LINENO: checking for mode_t" >&5
33878 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33879 if test "${ac_cv_type_mode_t+set}" = set; then
33880 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 else
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888 $ac_includes_default
33889 int
33890 main ()
33891 {
33892 if ((mode_t *) 0)
33893 return 0;
33894 if (sizeof (mode_t))
33895 return 0;
33896 ;
33897 return 0;
33898 }
33899 _ACEOF
33900 rm -f conftest.$ac_objext
33901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33902 (eval $ac_compile) 2>conftest.er1
33903 ac_status=$?
33904 grep -v '^ *+' conftest.er1 >conftest.err
33905 rm -f conftest.er1
33906 cat conftest.err >&5
33907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908 (exit $ac_status); } &&
33909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33911 (eval $ac_try) 2>&5
33912 ac_status=$?
33913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33914 (exit $ac_status); }; } &&
33915 { ac_try='test -s conftest.$ac_objext'
33916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33917 (eval $ac_try) 2>&5
33918 ac_status=$?
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); }; }; then
33921 ac_cv_type_mode_t=yes
33922 else
33923 echo "$as_me: failed program was:" >&5
33924 sed 's/^/| /' conftest.$ac_ext >&5
33925
33926 ac_cv_type_mode_t=no
33927 fi
33928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33929 fi
33930 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33931 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33932 if test $ac_cv_type_mode_t = yes; then
33933 :
33934 else
33935
33936 cat >>confdefs.h <<_ACEOF
33937 #define mode_t int
33938 _ACEOF
33939
33940 fi
33941
33942 echo "$as_me:$LINENO: checking for off_t" >&5
33943 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33944 if test "${ac_cv_type_off_t+set}" = set; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33946 else
33947 cat >conftest.$ac_ext <<_ACEOF
33948 /* confdefs.h. */
33949 _ACEOF
33950 cat confdefs.h >>conftest.$ac_ext
33951 cat >>conftest.$ac_ext <<_ACEOF
33952 /* end confdefs.h. */
33953 $ac_includes_default
33954 int
33955 main ()
33956 {
33957 if ((off_t *) 0)
33958 return 0;
33959 if (sizeof (off_t))
33960 return 0;
33961 ;
33962 return 0;
33963 }
33964 _ACEOF
33965 rm -f conftest.$ac_objext
33966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33967 (eval $ac_compile) 2>conftest.er1
33968 ac_status=$?
33969 grep -v '^ *+' conftest.er1 >conftest.err
33970 rm -f conftest.er1
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } &&
33974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33977 ac_status=$?
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; } &&
33980 { ac_try='test -s conftest.$ac_objext'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; }; then
33986 ac_cv_type_off_t=yes
33987 else
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.$ac_ext >&5
33990
33991 ac_cv_type_off_t=no
33992 fi
33993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33994 fi
33995 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33996 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33997 if test $ac_cv_type_off_t = yes; then
33998 :
33999 else
34000
34001 cat >>confdefs.h <<_ACEOF
34002 #define off_t long
34003 _ACEOF
34004
34005 fi
34006
34007 echo "$as_me:$LINENO: checking for pid_t" >&5
34008 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34009 if test "${ac_cv_type_pid_t+set}" = set; then
34010 echo $ECHO_N "(cached) $ECHO_C" >&6
34011 else
34012 cat >conftest.$ac_ext <<_ACEOF
34013 /* confdefs.h. */
34014 _ACEOF
34015 cat confdefs.h >>conftest.$ac_ext
34016 cat >>conftest.$ac_ext <<_ACEOF
34017 /* end confdefs.h. */
34018 $ac_includes_default
34019 int
34020 main ()
34021 {
34022 if ((pid_t *) 0)
34023 return 0;
34024 if (sizeof (pid_t))
34025 return 0;
34026 ;
34027 return 0;
34028 }
34029 _ACEOF
34030 rm -f conftest.$ac_objext
34031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34032 (eval $ac_compile) 2>conftest.er1
34033 ac_status=$?
34034 grep -v '^ *+' conftest.er1 >conftest.err
34035 rm -f conftest.er1
34036 cat conftest.err >&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); } &&
34039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34041 (eval $ac_try) 2>&5
34042 ac_status=$?
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); }; } &&
34045 { ac_try='test -s conftest.$ac_objext'
34046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34047 (eval $ac_try) 2>&5
34048 ac_status=$?
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; }; then
34051 ac_cv_type_pid_t=yes
34052 else
34053 echo "$as_me: failed program was:" >&5
34054 sed 's/^/| /' conftest.$ac_ext >&5
34055
34056 ac_cv_type_pid_t=no
34057 fi
34058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34059 fi
34060 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34061 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34062 if test $ac_cv_type_pid_t = yes; then
34063 :
34064 else
34065
34066 cat >>confdefs.h <<_ACEOF
34067 #define pid_t int
34068 _ACEOF
34069
34070 fi
34071
34072 echo "$as_me:$LINENO: checking for size_t" >&5
34073 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34074 if test "${ac_cv_type_size_t+set}" = set; then
34075 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 else
34077 cat >conftest.$ac_ext <<_ACEOF
34078 /* confdefs.h. */
34079 _ACEOF
34080 cat confdefs.h >>conftest.$ac_ext
34081 cat >>conftest.$ac_ext <<_ACEOF
34082 /* end confdefs.h. */
34083 $ac_includes_default
34084 int
34085 main ()
34086 {
34087 if ((size_t *) 0)
34088 return 0;
34089 if (sizeof (size_t))
34090 return 0;
34091 ;
34092 return 0;
34093 }
34094 _ACEOF
34095 rm -f conftest.$ac_objext
34096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34097 (eval $ac_compile) 2>conftest.er1
34098 ac_status=$?
34099 grep -v '^ *+' conftest.er1 >conftest.err
34100 rm -f conftest.er1
34101 cat conftest.err >&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); } &&
34104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34106 (eval $ac_try) 2>&5
34107 ac_status=$?
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; } &&
34110 { ac_try='test -s conftest.$ac_objext'
34111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112 (eval $ac_try) 2>&5
34113 ac_status=$?
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); }; }; then
34116 ac_cv_type_size_t=yes
34117 else
34118 echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.$ac_ext >&5
34120
34121 ac_cv_type_size_t=no
34122 fi
34123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34124 fi
34125 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34126 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34127 if test $ac_cv_type_size_t = yes; then
34128 :
34129 else
34130
34131 cat >>confdefs.h <<_ACEOF
34132 #define size_t unsigned
34133 _ACEOF
34134
34135 fi
34136
34137 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34138 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34139 if test "${ac_cv_type_uid_t+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 else
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 #include <sys/types.h>
34149
34150 _ACEOF
34151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34152 $EGREP "uid_t" >/dev/null 2>&1; then
34153 ac_cv_type_uid_t=yes
34154 else
34155 ac_cv_type_uid_t=no
34156 fi
34157 rm -f conftest*
34158
34159 fi
34160 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34161 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34162 if test $ac_cv_type_uid_t = no; then
34163
34164 cat >>confdefs.h <<\_ACEOF
34165 #define uid_t int
34166 _ACEOF
34167
34168
34169 cat >>confdefs.h <<\_ACEOF
34170 #define gid_t int
34171 _ACEOF
34172
34173 fi
34174
34175
34176 echo "$as_me:$LINENO: checking for ssize_t" >&5
34177 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34178 if test "${ac_cv_type_ssize_t+set}" = set; then
34179 echo $ECHO_N "(cached) $ECHO_C" >&6
34180 else
34181 cat >conftest.$ac_ext <<_ACEOF
34182 /* confdefs.h. */
34183 _ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34187 $ac_includes_default
34188 int
34189 main ()
34190 {
34191 if ((ssize_t *) 0)
34192 return 0;
34193 if (sizeof (ssize_t))
34194 return 0;
34195 ;
34196 return 0;
34197 }
34198 _ACEOF
34199 rm -f conftest.$ac_objext
34200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34201 (eval $ac_compile) 2>conftest.er1
34202 ac_status=$?
34203 grep -v '^ *+' conftest.er1 >conftest.err
34204 rm -f conftest.er1
34205 cat conftest.err >&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } &&
34208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; } &&
34214 { ac_try='test -s conftest.$ac_objext'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34217 ac_status=$?
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; }; then
34220 ac_cv_type_ssize_t=yes
34221 else
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.$ac_ext >&5
34224
34225 ac_cv_type_ssize_t=no
34226 fi
34227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34228 fi
34229 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34230 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34231 if test $ac_cv_type_ssize_t = yes; then
34232
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE_SSIZE_T 1
34235 _ACEOF
34236
34237
34238 fi
34239
34240
34241 ac_ext=cc
34242 ac_cpp='$CXXCPP $CPPFLAGS'
34243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34246 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34247 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34248 if test "${wx_cv_size_t_is_uint+set}" = set; then
34249 echo $ECHO_N "(cached) $ECHO_C" >&6
34250 else
34251
34252 cat >conftest.$ac_ext <<_ACEOF
34253 /* confdefs.h. */
34254 _ACEOF
34255 cat confdefs.h >>conftest.$ac_ext
34256 cat >>conftest.$ac_ext <<_ACEOF
34257 /* end confdefs.h. */
34258 #include <stddef.h>
34259 int
34260 main ()
34261 {
34262
34263 return 0; }
34264
34265 struct Foo { void foo(size_t); void foo(unsigned int); };
34266
34267 int bar() {
34268
34269 ;
34270 return 0;
34271 }
34272 _ACEOF
34273 rm -f conftest.$ac_objext
34274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34275 (eval $ac_compile) 2>conftest.er1
34276 ac_status=$?
34277 grep -v '^ *+' conftest.er1 >conftest.err
34278 rm -f conftest.er1
34279 cat conftest.err >&5
34280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34281 (exit $ac_status); } &&
34282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34284 (eval $ac_try) 2>&5
34285 ac_status=$?
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); }; } &&
34288 { ac_try='test -s conftest.$ac_objext'
34289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34290 (eval $ac_try) 2>&5
34291 ac_status=$?
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); }; }; then
34294 wx_cv_size_t_is_uint=no
34295 else
34296 echo "$as_me: failed program was:" >&5
34297 sed 's/^/| /' conftest.$ac_ext >&5
34298
34299 wx_cv_size_t_is_uint=yes
34300
34301 fi
34302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34303
34304
34305 fi
34306 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34307 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34308
34309 if test "$wx_cv_size_t_is_uint" = "yes"; then
34310 cat >>confdefs.h <<\_ACEOF
34311 #define wxSIZE_T_IS_UINT 1
34312 _ACEOF
34313
34314 else
34315 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34316 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34317 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34319 else
34320 cat >conftest.$ac_ext <<_ACEOF
34321 /* confdefs.h. */
34322 _ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326 #include <stddef.h>
34327 int
34328 main ()
34329 {
34330
34331 return 0; }
34332
34333 struct Foo { void foo(size_t); void foo(unsigned long); };
34334
34335 int bar() {
34336
34337 ;
34338 return 0;
34339 }
34340 _ACEOF
34341 rm -f conftest.$ac_objext
34342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34343 (eval $ac_compile) 2>conftest.er1
34344 ac_status=$?
34345 grep -v '^ *+' conftest.er1 >conftest.err
34346 rm -f conftest.er1
34347 cat conftest.err >&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); } &&
34350 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34352 (eval $ac_try) 2>&5
34353 ac_status=$?
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); }; } &&
34356 { ac_try='test -s conftest.$ac_objext'
34357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34358 (eval $ac_try) 2>&5
34359 ac_status=$?
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); }; }; then
34362 wx_cv_size_t_is_ulong=no
34363 else
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.$ac_ext >&5
34366
34367 wx_cv_size_t_is_ulong=yes
34368
34369 fi
34370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34371
34372 fi
34373 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34374 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34375
34376 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34377 cat >>confdefs.h <<\_ACEOF
34378 #define wxSIZE_T_IS_ULONG 1
34379 _ACEOF
34380
34381 fi
34382 fi
34383
34384 ac_ext=c
34385 ac_cpp='$CPP $CPPFLAGS'
34386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34389
34390
34391 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34392 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34393 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34396
34397 cat >conftest.$ac_ext <<_ACEOF
34398 /* confdefs.h. */
34399 _ACEOF
34400 cat confdefs.h >>conftest.$ac_ext
34401 cat >>conftest.$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34403 #include <pwd.h>
34404 int
34405 main ()
34406 {
34407
34408 char *p;
34409 struct passwd *pw;
34410 p = pw->pw_gecos;
34411
34412 ;
34413 return 0;
34414 }
34415 _ACEOF
34416 rm -f conftest.$ac_objext
34417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34418 (eval $ac_compile) 2>conftest.er1
34419 ac_status=$?
34420 grep -v '^ *+' conftest.er1 >conftest.err
34421 rm -f conftest.er1
34422 cat conftest.err >&5
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); } &&
34425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34427 (eval $ac_try) 2>&5
34428 ac_status=$?
34429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430 (exit $ac_status); }; } &&
34431 { ac_try='test -s conftest.$ac_objext'
34432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34433 (eval $ac_try) 2>&5
34434 ac_status=$?
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); }; }; then
34437
34438 wx_cv_struct_pw_gecos=yes
34439
34440 else
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.$ac_ext >&5
34443
34444
34445 wx_cv_struct_pw_gecos=no
34446
34447
34448 fi
34449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34450
34451
34452 fi
34453 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34454 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34455
34456 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34457 cat >>confdefs.h <<\_ACEOF
34458 #define HAVE_PW_GECOS 1
34459 _ACEOF
34460
34461 fi
34462
34463
34464 if test "$wxUSE_WCHAR_T" = "yes"; then
34465 cat >>confdefs.h <<\_ACEOF
34466 #define wxUSE_WCHAR_T 1
34467 _ACEOF
34468
34469
34470 WCSLEN_FOUND=0
34471 WCHAR_LINK=
34472
34473 for ac_func in wcslen
34474 do
34475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34476 echo "$as_me:$LINENO: checking for $ac_func" >&5
34477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34478 if eval "test \"\${$as_ac_var+set}\" = set"; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34481 cat >conftest.$ac_ext <<_ACEOF
34482 /* confdefs.h. */
34483 _ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34489 #define $ac_func innocuous_$ac_func
34490
34491 /* System header to define __stub macros and hopefully few prototypes,
34492 which can conflict with char $ac_func (); below.
34493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34494 <limits.h> exists even on freestanding compilers. */
34495
34496 #ifdef __STDC__
34497 # include <limits.h>
34498 #else
34499 # include <assert.h>
34500 #endif
34501
34502 #undef $ac_func
34503
34504 /* Override any gcc2 internal prototype to avoid an error. */
34505 #ifdef __cplusplus
34506 extern "C"
34507 {
34508 #endif
34509 /* We use char because int might match the return type of a gcc2
34510 builtin and then its argument prototype would still apply. */
34511 char $ac_func ();
34512 /* The GNU C library defines this for functions which it implements
34513 to always fail with ENOSYS. Some functions are actually named
34514 something starting with __ and the normal name is an alias. */
34515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34516 choke me
34517 #else
34518 char (*f) () = $ac_func;
34519 #endif
34520 #ifdef __cplusplus
34521 }
34522 #endif
34523
34524 int
34525 main ()
34526 {
34527 return f != $ac_func;
34528 ;
34529 return 0;
34530 }
34531 _ACEOF
34532 rm -f conftest.$ac_objext conftest$ac_exeext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34534 (eval $ac_link) 2>conftest.er1
34535 ac_status=$?
34536 grep -v '^ *+' conftest.er1 >conftest.err
34537 rm -f conftest.er1
34538 cat conftest.err >&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34543 (eval $ac_try) 2>&5
34544 ac_status=$?
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); }; } &&
34547 { ac_try='test -s conftest$ac_exeext'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; }; then
34553 eval "$as_ac_var=yes"
34554 else
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34557
34558 eval "$as_ac_var=no"
34559 fi
34560 rm -f conftest.err conftest.$ac_objext \
34561 conftest$ac_exeext conftest.$ac_ext
34562 fi
34563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34565 if test `eval echo '${'$as_ac_var'}'` = yes; then
34566 cat >>confdefs.h <<_ACEOF
34567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34568 _ACEOF
34569 WCSLEN_FOUND=1
34570 fi
34571 done
34572
34573
34574 if test "$WCSLEN_FOUND" = 0; then
34575 if test "$TOOLKIT" = "MSW"; then
34576 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34577 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34578 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 else
34581 ac_check_lib_save_LIBS=$LIBS
34582 LIBS="-lmsvcrt $LIBS"
34583 cat >conftest.$ac_ext <<_ACEOF
34584 /* confdefs.h. */
34585 _ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589
34590 /* Override any gcc2 internal prototype to avoid an error. */
34591 #ifdef __cplusplus
34592 extern "C"
34593 #endif
34594 /* We use char because int might match the return type of a gcc2
34595 builtin and then its argument prototype would still apply. */
34596 char wcslen ();
34597 int
34598 main ()
34599 {
34600 wcslen ();
34601 ;
34602 return 0;
34603 }
34604 _ACEOF
34605 rm -f conftest.$ac_objext conftest$ac_exeext
34606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34607 (eval $ac_link) 2>conftest.er1
34608 ac_status=$?
34609 grep -v '^ *+' conftest.er1 >conftest.err
34610 rm -f conftest.er1
34611 cat conftest.err >&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); } &&
34614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34616 (eval $ac_try) 2>&5
34617 ac_status=$?
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); }; } &&
34620 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34626 ac_cv_lib_msvcrt_wcslen=yes
34627 else
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.$ac_ext >&5
34630
34631 ac_cv_lib_msvcrt_wcslen=no
34632 fi
34633 rm -f conftest.err conftest.$ac_objext \
34634 conftest$ac_exeext conftest.$ac_ext
34635 LIBS=$ac_check_lib_save_LIBS
34636 fi
34637 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34638 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34639 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34640 WCHAR_OK=1
34641 fi
34642
34643 else
34644 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34645 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34646 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34649 ac_check_lib_save_LIBS=$LIBS
34650 LIBS="-lw $LIBS"
34651 cat >conftest.$ac_ext <<_ACEOF
34652 /* confdefs.h. */
34653 _ACEOF
34654 cat confdefs.h >>conftest.$ac_ext
34655 cat >>conftest.$ac_ext <<_ACEOF
34656 /* end confdefs.h. */
34657
34658 /* Override any gcc2 internal prototype to avoid an error. */
34659 #ifdef __cplusplus
34660 extern "C"
34661 #endif
34662 /* We use char because int might match the return type of a gcc2
34663 builtin and then its argument prototype would still apply. */
34664 char wcslen ();
34665 int
34666 main ()
34667 {
34668 wcslen ();
34669 ;
34670 return 0;
34671 }
34672 _ACEOF
34673 rm -f conftest.$ac_objext conftest$ac_exeext
34674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34675 (eval $ac_link) 2>conftest.er1
34676 ac_status=$?
34677 grep -v '^ *+' conftest.er1 >conftest.err
34678 rm -f conftest.er1
34679 cat conftest.err >&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); } &&
34682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34685 ac_status=$?
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; } &&
34688 { ac_try='test -s conftest$ac_exeext'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34691 ac_status=$?
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; }; then
34694 ac_cv_lib_w_wcslen=yes
34695 else
34696 echo "$as_me: failed program was:" >&5
34697 sed 's/^/| /' conftest.$ac_ext >&5
34698
34699 ac_cv_lib_w_wcslen=no
34700 fi
34701 rm -f conftest.err conftest.$ac_objext \
34702 conftest$ac_exeext conftest.$ac_ext
34703 LIBS=$ac_check_lib_save_LIBS
34704 fi
34705 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34706 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34707 if test $ac_cv_lib_w_wcslen = yes; then
34708
34709 WCHAR_LINK=" -lw"
34710 WCSLEN_FOUND=1
34711
34712 fi
34713
34714 fi
34715 fi
34716
34717 if test "$WCSLEN_FOUND" = 1; then
34718 cat >>confdefs.h <<\_ACEOF
34719 #define HAVE_WCSLEN 1
34720 _ACEOF
34721
34722 fi
34723
34724 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34725 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34726 fi
34727
34728 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34729 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34730 if test "${ac_cv_type_mbstate_t+set}" = set; then
34731 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 else
34733 cat >conftest.$ac_ext <<_ACEOF
34734 /* confdefs.h. */
34735 _ACEOF
34736 cat confdefs.h >>conftest.$ac_ext
34737 cat >>conftest.$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34739 #include <wchar.h>
34740
34741 int
34742 main ()
34743 {
34744 if ((mbstate_t *) 0)
34745 return 0;
34746 if (sizeof (mbstate_t))
34747 return 0;
34748 ;
34749 return 0;
34750 }
34751 _ACEOF
34752 rm -f conftest.$ac_objext
34753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34754 (eval $ac_compile) 2>conftest.er1
34755 ac_status=$?
34756 grep -v '^ *+' conftest.er1 >conftest.err
34757 rm -f conftest.er1
34758 cat conftest.err >&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; } &&
34767 { ac_try='test -s conftest.$ac_objext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34770 ac_status=$?
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34773 ac_cv_type_mbstate_t=yes
34774 else
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34777
34778 ac_cv_type_mbstate_t=no
34779 fi
34780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34781 fi
34782 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34783 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34784 if test $ac_cv_type_mbstate_t = yes; then
34785
34786 cat >>confdefs.h <<_ACEOF
34787 #define HAVE_MBSTATE_T 1
34788 _ACEOF
34789
34790
34791 for ac_func in wcsrtombs
34792 do
34793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34794 echo "$as_me:$LINENO: checking for $ac_func" >&5
34795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34796 if eval "test \"\${$as_ac_var+set}\" = set"; then
34797 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 else
34799 cat >conftest.$ac_ext <<_ACEOF
34800 /* confdefs.h. */
34801 _ACEOF
34802 cat confdefs.h >>conftest.$ac_ext
34803 cat >>conftest.$ac_ext <<_ACEOF
34804 /* end confdefs.h. */
34805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34807 #define $ac_func innocuous_$ac_func
34808
34809 /* System header to define __stub macros and hopefully few prototypes,
34810 which can conflict with char $ac_func (); below.
34811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34812 <limits.h> exists even on freestanding compilers. */
34813
34814 #ifdef __STDC__
34815 # include <limits.h>
34816 #else
34817 # include <assert.h>
34818 #endif
34819
34820 #undef $ac_func
34821
34822 /* Override any gcc2 internal prototype to avoid an error. */
34823 #ifdef __cplusplus
34824 extern "C"
34825 {
34826 #endif
34827 /* We use char because int might match the return type of a gcc2
34828 builtin and then its argument prototype would still apply. */
34829 char $ac_func ();
34830 /* The GNU C library defines this for functions which it implements
34831 to always fail with ENOSYS. Some functions are actually named
34832 something starting with __ and the normal name is an alias. */
34833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34834 choke me
34835 #else
34836 char (*f) () = $ac_func;
34837 #endif
34838 #ifdef __cplusplus
34839 }
34840 #endif
34841
34842 int
34843 main ()
34844 {
34845 return f != $ac_func;
34846 ;
34847 return 0;
34848 }
34849 _ACEOF
34850 rm -f conftest.$ac_objext conftest$ac_exeext
34851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34852 (eval $ac_link) 2>conftest.er1
34853 ac_status=$?
34854 grep -v '^ *+' conftest.er1 >conftest.err
34855 rm -f conftest.er1
34856 cat conftest.err >&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } &&
34859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34862 ac_status=$?
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; } &&
34865 { ac_try='test -s conftest$ac_exeext'
34866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34867 (eval $ac_try) 2>&5
34868 ac_status=$?
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); }; }; then
34871 eval "$as_ac_var=yes"
34872 else
34873 echo "$as_me: failed program was:" >&5
34874 sed 's/^/| /' conftest.$ac_ext >&5
34875
34876 eval "$as_ac_var=no"
34877 fi
34878 rm -f conftest.err conftest.$ac_objext \
34879 conftest$ac_exeext conftest.$ac_ext
34880 fi
34881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34883 if test `eval echo '${'$as_ac_var'}'` = yes; then
34884 cat >>confdefs.h <<_ACEOF
34885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34886 _ACEOF
34887
34888 fi
34889 done
34890
34891 fi
34892
34893 else
34894 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34895 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34896 fi
34897
34898
34899
34900 for ac_func in snprintf vsnprintf
34901 do
34902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34903 echo "$as_me:$LINENO: checking for $ac_func" >&5
34904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34905 if eval "test \"\${$as_ac_var+set}\" = set"; then
34906 echo $ECHO_N "(cached) $ECHO_C" >&6
34907 else
34908 cat >conftest.$ac_ext <<_ACEOF
34909 /* confdefs.h. */
34910 _ACEOF
34911 cat confdefs.h >>conftest.$ac_ext
34912 cat >>conftest.$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34916 #define $ac_func innocuous_$ac_func
34917
34918 /* System header to define __stub macros and hopefully few prototypes,
34919 which can conflict with char $ac_func (); below.
34920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34921 <limits.h> exists even on freestanding compilers. */
34922
34923 #ifdef __STDC__
34924 # include <limits.h>
34925 #else
34926 # include <assert.h>
34927 #endif
34928
34929 #undef $ac_func
34930
34931 /* Override any gcc2 internal prototype to avoid an error. */
34932 #ifdef __cplusplus
34933 extern "C"
34934 {
34935 #endif
34936 /* We use char because int might match the return type of a gcc2
34937 builtin and then its argument prototype would still apply. */
34938 char $ac_func ();
34939 /* The GNU C library defines this for functions which it implements
34940 to always fail with ENOSYS. Some functions are actually named
34941 something starting with __ and the normal name is an alias. */
34942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34943 choke me
34944 #else
34945 char (*f) () = $ac_func;
34946 #endif
34947 #ifdef __cplusplus
34948 }
34949 #endif
34950
34951 int
34952 main ()
34953 {
34954 return f != $ac_func;
34955 ;
34956 return 0;
34957 }
34958 _ACEOF
34959 rm -f conftest.$ac_objext conftest$ac_exeext
34960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34961 (eval $ac_link) 2>conftest.er1
34962 ac_status=$?
34963 grep -v '^ *+' conftest.er1 >conftest.err
34964 rm -f conftest.er1
34965 cat conftest.err >&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); } &&
34968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970 (eval $ac_try) 2>&5
34971 ac_status=$?
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); }; } &&
34974 { ac_try='test -s conftest$ac_exeext'
34975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34976 (eval $ac_try) 2>&5
34977 ac_status=$?
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); }; }; then
34980 eval "$as_ac_var=yes"
34981 else
34982 echo "$as_me: failed program was:" >&5
34983 sed 's/^/| /' conftest.$ac_ext >&5
34984
34985 eval "$as_ac_var=no"
34986 fi
34987 rm -f conftest.err conftest.$ac_objext \
34988 conftest$ac_exeext conftest.$ac_ext
34989 fi
34990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34992 if test `eval echo '${'$as_ac_var'}'` = yes; then
34993 cat >>confdefs.h <<_ACEOF
34994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34995 _ACEOF
34996
34997 fi
34998 done
34999
35000
35001 if test "$ac_cv_func_vsnprintf" = "yes"; then
35002 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35003 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35004 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35005 echo $ECHO_N "(cached) $ECHO_C" >&6
35006 else
35007
35008 cat >conftest.$ac_ext <<_ACEOF
35009 /* confdefs.h. */
35010 _ACEOF
35011 cat confdefs.h >>conftest.$ac_ext
35012 cat >>conftest.$ac_ext <<_ACEOF
35013 /* end confdefs.h. */
35014
35015 #include <stdio.h>
35016 #include <stdarg.h>
35017 #ifdef __MSL__
35018 #if __MSL__ >= 0x6000
35019 namespace std {}
35020 using namespace std;
35021 #endif
35022 #endif
35023
35024 int
35025 main ()
35026 {
35027
35028 char *buf;
35029 va_list ap;
35030 vsnprintf(buf, 10u, "%s", ap);
35031
35032 ;
35033 return 0;
35034 }
35035 _ACEOF
35036 rm -f conftest.$ac_objext
35037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35038 (eval $ac_compile) 2>conftest.er1
35039 ac_status=$?
35040 grep -v '^ *+' conftest.er1 >conftest.err
35041 rm -f conftest.er1
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } &&
35045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35047 (eval $ac_try) 2>&5
35048 ac_status=$?
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); }; } &&
35051 { ac_try='test -s conftest.$ac_objext'
35052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35053 (eval $ac_try) 2>&5
35054 ac_status=$?
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); }; }; then
35057 wx_cv_func_vsnprintf_decl=yes
35058 else
35059 echo "$as_me: failed program was:" >&5
35060 sed 's/^/| /' conftest.$ac_ext >&5
35061
35062 wx_cv_func_vsnprintf_decl=no
35063
35064 fi
35065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35066
35067
35068 fi
35069 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35070 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35071
35072 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35073 cat >>confdefs.h <<\_ACEOF
35074 #define HAVE_VSNPRINTF_DECL 1
35075 _ACEOF
35076
35077
35078 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35079 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35080 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 else
35083
35084 cat >conftest.$ac_ext <<_ACEOF
35085 /* confdefs.h. */
35086 _ACEOF
35087 cat confdefs.h >>conftest.$ac_ext
35088 cat >>conftest.$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35090
35091 #include <stdio.h>
35092 #include <stdarg.h>
35093 #ifdef __MSL__
35094 #if __MSL__ >= 0x6000
35095 namespace std {}
35096 using namespace std;
35097 #endif
35098 #endif
35099
35100 int
35101 main ()
35102 {
35103
35104 char *buf;
35105 va_list ap;
35106 const char *fmt = "%s";
35107 vsnprintf(buf, 10u, fmt, ap);
35108
35109 ;
35110 return 0;
35111 }
35112 _ACEOF
35113 rm -f conftest.$ac_objext
35114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35115 (eval $ac_compile) 2>conftest.er1
35116 ac_status=$?
35117 grep -v '^ *+' conftest.er1 >conftest.err
35118 rm -f conftest.er1
35119 cat conftest.err >&5
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); } &&
35122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35124 (eval $ac_try) 2>&5
35125 ac_status=$?
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); }; } &&
35128 { ac_try='test -s conftest.$ac_objext'
35129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35130 (eval $ac_try) 2>&5
35131 ac_status=$?
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; }; then
35134 wx_cv_func_broken_vsnprintf_decl=no
35135 else
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.$ac_ext >&5
35138
35139 wx_cv_func_broken_vsnprintf_decl=yes
35140
35141 fi
35142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35143
35144
35145 fi
35146 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35147 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35148
35149 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35150 cat >>confdefs.h <<\_ACEOF
35151 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35152 _ACEOF
35153
35154 fi
35155 fi
35156 fi
35157
35158 if test "$ac_cv_func_snprintf" = "yes"; then
35159 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35160 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35161 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35163 else
35164
35165 cat >conftest.$ac_ext <<_ACEOF
35166 /* confdefs.h. */
35167 _ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35171
35172 #include <stdio.h>
35173 #include <stdarg.h>
35174 #ifdef __MSL__
35175 #if __MSL__ >= 0x6000
35176 namespace std {}
35177 using namespace std;
35178 #endif
35179 #endif
35180
35181 int
35182 main ()
35183 {
35184
35185 char *buf;
35186 snprintf(buf, 10u, "%s", "wx");
35187
35188 ;
35189 return 0;
35190 }
35191 _ACEOF
35192 rm -f conftest.$ac_objext
35193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35194 (eval $ac_compile) 2>conftest.er1
35195 ac_status=$?
35196 grep -v '^ *+' conftest.er1 >conftest.err
35197 rm -f conftest.er1
35198 cat conftest.err >&5
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); } &&
35201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try='test -s conftest.$ac_objext'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; }; then
35213 wx_cv_func_snprintf_decl=yes
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35217
35218 wx_cv_func_snprintf_decl=no
35219
35220 fi
35221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35222
35223
35224 fi
35225 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35226 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35227
35228 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define HAVE_SNPRINTF_DECL 1
35231 _ACEOF
35232
35233
35234 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35235 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35236 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35237 echo $ECHO_N "(cached) $ECHO_C" >&6
35238 else
35239
35240 cat >conftest.$ac_ext <<_ACEOF
35241 /* confdefs.h. */
35242 _ACEOF
35243 cat confdefs.h >>conftest.$ac_ext
35244 cat >>conftest.$ac_ext <<_ACEOF
35245 /* end confdefs.h. */
35246
35247 #include <stdio.h>
35248 #include <stdarg.h>
35249 #ifdef __MSL__
35250 #if __MSL__ >= 0x6000
35251 namespace std {}
35252 using namespace std;
35253 #endif
35254 #endif
35255
35256 int
35257 main ()
35258 {
35259
35260 char *buf;
35261 const char *fmt = "%s";
35262 snprintf(buf, 10u, fmt, "wx");
35263
35264 ;
35265 return 0;
35266 }
35267 _ACEOF
35268 rm -f conftest.$ac_objext
35269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35270 (eval $ac_compile) 2>conftest.er1
35271 ac_status=$?
35272 grep -v '^ *+' conftest.er1 >conftest.err
35273 rm -f conftest.er1
35274 cat conftest.err >&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); } &&
35277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35279 (eval $ac_try) 2>&5
35280 ac_status=$?
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); }; } &&
35283 { ac_try='test -s conftest.$ac_objext'
35284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35285 (eval $ac_try) 2>&5
35286 ac_status=$?
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); }; }; then
35289 wx_cv_func_broken_snprintf_decl=no
35290 else
35291 echo "$as_me: failed program was:" >&5
35292 sed 's/^/| /' conftest.$ac_ext >&5
35293
35294 wx_cv_func_broken_snprintf_decl=yes
35295
35296 fi
35297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35298
35299
35300 fi
35301 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35302 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35303
35304 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35305 cat >>confdefs.h <<\_ACEOF
35306 #define HAVE_BROKEN_SNPRINTF_DECL 1
35307 _ACEOF
35308
35309 fi
35310 fi
35311
35312 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35313
35314 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35315 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35316 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35317 echo $ECHO_N "(cached) $ECHO_C" >&6
35318 else
35319
35320 if test "$cross_compiling" = yes; then
35321
35322 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35323 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35324 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35325 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35326 wx_cv_func_snprintf_pos_params=no
35327
35328
35329 else
35330 cat >conftest.$ac_ext <<_ACEOF
35331 /* confdefs.h. */
35332 _ACEOF
35333 cat confdefs.h >>conftest.$ac_ext
35334 cat >>conftest.$ac_ext <<_ACEOF
35335 /* end confdefs.h. */
35336
35337 #include <stdio.h>
35338
35339 int main (void)
35340 {
35341 char buffer[128];
35342 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35343 if (strcmp ("2 3 1", buffer) == 0)
35344 exit (0);
35345 exit (1);
35346 }
35347
35348 _ACEOF
35349 rm -f conftest$ac_exeext
35350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35351 (eval $ac_link) 2>&5
35352 ac_status=$?
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35357 ac_status=$?
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 wx_cv_func_snprintf_pos_params=no
35361 else
35362 echo "$as_me: program exited with status $ac_status" >&5
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35365
35366 ( exit $ac_status )
35367 wx_cv_func_snprintf_pos_params=yes
35368 fi
35369 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35370 fi
35371
35372
35373 fi
35374 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35375 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35376
35377 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35378 cat >>confdefs.h <<\_ACEOF
35379 #define HAVE_UNIX98_PRINTF 1
35380 _ACEOF
35381
35382 fi
35383 fi
35384 fi
35385
35386 if test "$wxUSE_UNICODE" = yes; then
35387
35388
35389 for ac_func in swprintf
35390 do
35391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35392 echo "$as_me:$LINENO: checking for $ac_func" >&5
35393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35394 if eval "test \"\${$as_ac_var+set}\" = set"; then
35395 echo $ECHO_N "(cached) $ECHO_C" >&6
35396 else
35397 cat >conftest.$ac_ext <<_ACEOF
35398 /* confdefs.h. */
35399 _ACEOF
35400 cat confdefs.h >>conftest.$ac_ext
35401 cat >>conftest.$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35405 #define $ac_func innocuous_$ac_func
35406
35407 /* System header to define __stub macros and hopefully few prototypes,
35408 which can conflict with char $ac_func (); below.
35409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35410 <limits.h> exists even on freestanding compilers. */
35411
35412 #ifdef __STDC__
35413 # include <limits.h>
35414 #else
35415 # include <assert.h>
35416 #endif
35417
35418 #undef $ac_func
35419
35420 /* Override any gcc2 internal prototype to avoid an error. */
35421 #ifdef __cplusplus
35422 extern "C"
35423 {
35424 #endif
35425 /* We use char because int might match the return type of a gcc2
35426 builtin and then its argument prototype would still apply. */
35427 char $ac_func ();
35428 /* The GNU C library defines this for functions which it implements
35429 to always fail with ENOSYS. Some functions are actually named
35430 something starting with __ and the normal name is an alias. */
35431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35432 choke me
35433 #else
35434 char (*f) () = $ac_func;
35435 #endif
35436 #ifdef __cplusplus
35437 }
35438 #endif
35439
35440 int
35441 main ()
35442 {
35443 return f != $ac_func;
35444 ;
35445 return 0;
35446 }
35447 _ACEOF
35448 rm -f conftest.$ac_objext conftest$ac_exeext
35449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35450 (eval $ac_link) 2>conftest.er1
35451 ac_status=$?
35452 grep -v '^ *+' conftest.er1 >conftest.err
35453 rm -f conftest.er1
35454 cat conftest.err >&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); } &&
35457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459 (eval $ac_try) 2>&5
35460 ac_status=$?
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); }; } &&
35463 { ac_try='test -s conftest$ac_exeext'
35464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35465 (eval $ac_try) 2>&5
35466 ac_status=$?
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); }; }; then
35469 eval "$as_ac_var=yes"
35470 else
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.$ac_ext >&5
35473
35474 eval "$as_ac_var=no"
35475 fi
35476 rm -f conftest.err conftest.$ac_objext \
35477 conftest$ac_exeext conftest.$ac_ext
35478 fi
35479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35481 if test `eval echo '${'$as_ac_var'}'` = yes; then
35482 cat >>confdefs.h <<_ACEOF
35483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35484 _ACEOF
35485
35486 fi
35487 done
35488
35489
35490 if test "$ac_cv_func_swprintf" = "yes"; then
35491 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35492 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35493 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35494 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 else
35496
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h. */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503
35504 #include <stdio.h>
35505 #include <stdarg.h>
35506 #include <wchar.h>
35507
35508 int
35509 main ()
35510 {
35511
35512 wchar_t *buf;
35513 const wchar_t *fmt = L"test";
35514 swprintf(buf, 10u, fmt);
35515
35516 ;
35517 return 0;
35518 }
35519 _ACEOF
35520 rm -f conftest.$ac_objext
35521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35522 (eval $ac_compile) 2>conftest.er1
35523 ac_status=$?
35524 grep -v '^ *+' conftest.er1 >conftest.err
35525 rm -f conftest.er1
35526 cat conftest.err >&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } &&
35529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35532 ac_status=$?
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; } &&
35535 { ac_try='test -s conftest.$ac_objext'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; }; then
35541 wx_cv_func_broken_swprintf_decl=no
35542 else
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.$ac_ext >&5
35545
35546 wx_cv_func_broken_swprintf_decl=yes
35547
35548 fi
35549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35550
35551
35552 fi
35553 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35554 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35555
35556 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35557 cat >>confdefs.h <<\_ACEOF
35558 #define HAVE_BROKEN_SWPRINTF_DECL 1
35559 _ACEOF
35560
35561 fi
35562 fi
35563
35564 wchar_headers="#include <stdio.h>
35565 #include <wchar.h>"
35566 case "${host}" in
35567 *-*-solaris2* )
35568
35569 for ac_header in widec.h
35570 do
35571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35573 echo "$as_me:$LINENO: checking for $ac_header" >&5
35574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35576 echo $ECHO_N "(cached) $ECHO_C" >&6
35577 fi
35578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35580 else
35581 # Is the header compilable?
35582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35584 cat >conftest.$ac_ext <<_ACEOF
35585 /* confdefs.h. */
35586 _ACEOF
35587 cat confdefs.h >>conftest.$ac_ext
35588 cat >>conftest.$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 $ac_includes_default
35591 #include <$ac_header>
35592 _ACEOF
35593 rm -f conftest.$ac_objext
35594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35595 (eval $ac_compile) 2>conftest.er1
35596 ac_status=$?
35597 grep -v '^ *+' conftest.er1 >conftest.err
35598 rm -f conftest.er1
35599 cat conftest.err >&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } &&
35602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35604 (eval $ac_try) 2>&5
35605 ac_status=$?
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); }; } &&
35608 { ac_try='test -s conftest.$ac_objext'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35611 ac_status=$?
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; }; then
35614 ac_header_compiler=yes
35615 else
35616 echo "$as_me: failed program was:" >&5
35617 sed 's/^/| /' conftest.$ac_ext >&5
35618
35619 ac_header_compiler=no
35620 fi
35621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35623 echo "${ECHO_T}$ac_header_compiler" >&6
35624
35625 # Is the header present?
35626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35628 cat >conftest.$ac_ext <<_ACEOF
35629 /* confdefs.h. */
35630 _ACEOF
35631 cat confdefs.h >>conftest.$ac_ext
35632 cat >>conftest.$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35634 #include <$ac_header>
35635 _ACEOF
35636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35638 ac_status=$?
35639 grep -v '^ *+' conftest.er1 >conftest.err
35640 rm -f conftest.er1
35641 cat conftest.err >&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } >/dev/null; then
35644 if test -s conftest.err; then
35645 ac_cpp_err=$ac_c_preproc_warn_flag
35646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35647 else
35648 ac_cpp_err=
35649 fi
35650 else
35651 ac_cpp_err=yes
35652 fi
35653 if test -z "$ac_cpp_err"; then
35654 ac_header_preproc=yes
35655 else
35656 echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.$ac_ext >&5
35658
35659 ac_header_preproc=no
35660 fi
35661 rm -f conftest.err conftest.$ac_ext
35662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35663 echo "${ECHO_T}$ac_header_preproc" >&6
35664
35665 # So? What about this header?
35666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35667 yes:no: )
35668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35672 ac_header_preproc=yes
35673 ;;
35674 no:yes:* )
35675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35687 (
35688 cat <<\_ASBOX
35689 ## ----------------------------------------- ##
35690 ## Report this to wx-dev@lists.wxwidgets.org ##
35691 ## ----------------------------------------- ##
35692 _ASBOX
35693 ) |
35694 sed "s/^/$as_me: WARNING: /" >&2
35695 ;;
35696 esac
35697 echo "$as_me:$LINENO: checking for $ac_header" >&5
35698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35700 echo $ECHO_N "(cached) $ECHO_C" >&6
35701 else
35702 eval "$as_ac_Header=\$ac_header_preproc"
35703 fi
35704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35706
35707 fi
35708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35709 cat >>confdefs.h <<_ACEOF
35710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35711 _ACEOF
35712
35713 fi
35714
35715 done
35716
35717 if test "$ac_cv_header_widec_h" = "yes"; then
35718 wchar_headers="$wchar_headers
35719 #include <widec.h>"
35720 fi
35721 esac
35722
35723
35724 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35725 do
35726 echo "$as_me:$LINENO: checking for $wx_func" >&5
35727 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35728 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731
35732 cat >conftest.$ac_ext <<_ACEOF
35733
35734 /* confdefs.h. */
35735 _ACEOF
35736 cat confdefs.h >>conftest.$ac_ext
35737 cat >>conftest.$ac_ext <<_ACEOF
35738 /* end confdefs.h. */
35739
35740 $wchar_headers
35741 $ac_includes_default
35742
35743 int
35744 main ()
35745 {
35746
35747 #ifndef $wx_func
35748 &$wx_func;
35749 #endif
35750
35751
35752 ;
35753 return 0;
35754 }
35755
35756 _ACEOF
35757 rm -f conftest.$ac_objext conftest$ac_exeext
35758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35759 (eval $ac_link) 2>conftest.er1
35760 ac_status=$?
35761 grep -v '^ *+' conftest.er1 >conftest.err
35762 rm -f conftest.er1
35763 cat conftest.err >&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); } &&
35766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35769 ac_status=$?
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; } &&
35772 { ac_try='test -s conftest$ac_exeext'
35773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35774 (eval $ac_try) 2>&5
35775 ac_status=$?
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); }; }; then
35778 eval wx_cv_func_$wx_func=yes
35779 else
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.$ac_ext >&5
35782
35783 eval wx_cv_func_$wx_func=no
35784 fi
35785 rm -f conftest.err conftest.$ac_objext \
35786 conftest$ac_exeext conftest.$ac_ext
35787
35788 fi
35789 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35790 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35791
35792 if eval test \$wx_cv_func_$wx_func = yes
35793 then
35794 cat >>confdefs.h <<_ACEOF
35795 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35796 _ACEOF
35797
35798
35799 else
35800 :
35801
35802 fi
35803 done
35804
35805
35806 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35807 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35808 cat >conftest.$ac_ext <<_ACEOF
35809 /* confdefs.h. */
35810 _ACEOF
35811 cat confdefs.h >>conftest.$ac_ext
35812 cat >>conftest.$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 #include <wchar.h>
35815 int
35816 main ()
35817 {
35818 &_vsnwprintf;
35819 ;
35820 return 0;
35821 }
35822 _ACEOF
35823 rm -f conftest.$ac_objext
35824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35825 (eval $ac_compile) 2>conftest.er1
35826 ac_status=$?
35827 grep -v '^ *+' conftest.er1 >conftest.err
35828 rm -f conftest.er1
35829 cat conftest.err >&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } &&
35832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35834 (eval $ac_try) 2>&5
35835 ac_status=$?
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); }; } &&
35838 { ac_try='test -s conftest.$ac_objext'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35841 ac_status=$?
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }; then
35844 echo "$as_me:$LINENO: result: yes" >&5
35845 echo "${ECHO_T}yes" >&6
35846 cat >>confdefs.h <<\_ACEOF
35847 #define HAVE__VSNWPRINTF 1
35848 _ACEOF
35849
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854 echo "$as_me:$LINENO: result: no" >&5
35855 echo "${ECHO_T}no" >&6
35856 fi
35857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35858 fi
35859
35860 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35861
35862 for wx_func in fnmatch
35863 do
35864 echo "$as_me:$LINENO: checking for $wx_func" >&5
35865 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35866 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35867 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 else
35869
35870 cat >conftest.$ac_ext <<_ACEOF
35871
35872 /* confdefs.h. */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h. */
35877
35878 #include <fnmatch.h>
35879 $ac_includes_default
35880
35881 int
35882 main ()
35883 {
35884
35885 #ifndef $wx_func
35886 &$wx_func;
35887 #endif
35888
35889
35890 ;
35891 return 0;
35892 }
35893
35894 _ACEOF
35895 rm -f conftest.$ac_objext conftest$ac_exeext
35896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35897 (eval $ac_link) 2>conftest.er1
35898 ac_status=$?
35899 grep -v '^ *+' conftest.er1 >conftest.err
35900 rm -f conftest.er1
35901 cat conftest.err >&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); } &&
35904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35906 (eval $ac_try) 2>&5
35907 ac_status=$?
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; } &&
35910 { ac_try='test -s conftest$ac_exeext'
35911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35912 (eval $ac_try) 2>&5
35913 ac_status=$?
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); }; }; then
35916 eval wx_cv_func_$wx_func=yes
35917 else
35918 echo "$as_me: failed program was:" >&5
35919 sed 's/^/| /' conftest.$ac_ext >&5
35920
35921 eval wx_cv_func_$wx_func=no
35922 fi
35923 rm -f conftest.err conftest.$ac_objext \
35924 conftest$ac_exeext conftest.$ac_ext
35925
35926 fi
35927 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35928 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35929
35930 if eval test \$wx_cv_func_$wx_func = yes
35931 then
35932 cat >>confdefs.h <<_ACEOF
35933 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35934 _ACEOF
35935
35936
35937 else
35938 :
35939
35940 fi
35941 done
35942
35943 fi
35944
35945 if test "$wxUSE_FILE" = "yes"; then
35946
35947 for wx_func in fsync
35948 do
35949 echo "$as_me:$LINENO: checking for $wx_func" >&5
35950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35951 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954
35955 cat >conftest.$ac_ext <<_ACEOF
35956
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962
35963
35964 $ac_includes_default
35965
35966 int
35967 main ()
35968 {
35969
35970 #ifndef $wx_func
35971 &$wx_func;
35972 #endif
35973
35974
35975 ;
35976 return 0;
35977 }
35978
35979 _ACEOF
35980 rm -f conftest.$ac_objext conftest$ac_exeext
35981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35982 (eval $ac_link) 2>conftest.er1
35983 ac_status=$?
35984 grep -v '^ *+' conftest.er1 >conftest.err
35985 rm -f conftest.er1
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } &&
35989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
35995 { ac_try='test -s conftest$ac_exeext'
35996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35997 (eval $ac_try) 2>&5
35998 ac_status=$?
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); }; }; then
36001 eval wx_cv_func_$wx_func=yes
36002 else
36003 echo "$as_me: failed program was:" >&5
36004 sed 's/^/| /' conftest.$ac_ext >&5
36005
36006 eval wx_cv_func_$wx_func=no
36007 fi
36008 rm -f conftest.err conftest.$ac_objext \
36009 conftest$ac_exeext conftest.$ac_ext
36010
36011 fi
36012 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36013 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36014
36015 if eval test \$wx_cv_func_$wx_func = yes
36016 then
36017 cat >>confdefs.h <<_ACEOF
36018 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36019 _ACEOF
36020
36021
36022 else
36023 :
36024
36025 fi
36026 done
36027
36028 fi
36029
36030
36031 for wx_func in round
36032 do
36033 echo "$as_me:$LINENO: checking for $wx_func" >&5
36034 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36035 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36036 echo $ECHO_N "(cached) $ECHO_C" >&6
36037 else
36038
36039 cat >conftest.$ac_ext <<_ACEOF
36040
36041 /* confdefs.h. */
36042 _ACEOF
36043 cat confdefs.h >>conftest.$ac_ext
36044 cat >>conftest.$ac_ext <<_ACEOF
36045 /* end confdefs.h. */
36046
36047 #include <math.h>
36048 $ac_includes_default
36049
36050 int
36051 main ()
36052 {
36053
36054 #ifndef $wx_func
36055 &$wx_func;
36056 #endif
36057
36058
36059 ;
36060 return 0;
36061 }
36062
36063 _ACEOF
36064 rm -f conftest.$ac_objext conftest$ac_exeext
36065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36066 (eval $ac_link) 2>conftest.er1
36067 ac_status=$?
36068 grep -v '^ *+' conftest.er1 >conftest.err
36069 rm -f conftest.er1
36070 cat conftest.err >&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); } &&
36073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36075 (eval $ac_try) 2>&5
36076 ac_status=$?
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); }; } &&
36079 { ac_try='test -s conftest$ac_exeext'
36080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36081 (eval $ac_try) 2>&5
36082 ac_status=$?
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; }; then
36085 eval wx_cv_func_$wx_func=yes
36086 else
36087 echo "$as_me: failed program was:" >&5
36088 sed 's/^/| /' conftest.$ac_ext >&5
36089
36090 eval wx_cv_func_$wx_func=no
36091 fi
36092 rm -f conftest.err conftest.$ac_objext \
36093 conftest$ac_exeext conftest.$ac_ext
36094
36095 fi
36096 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36097 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36098
36099 if eval test \$wx_cv_func_$wx_func = yes
36100 then
36101 cat >>confdefs.h <<_ACEOF
36102 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36103 _ACEOF
36104
36105
36106 else
36107 :
36108
36109 fi
36110 done
36111
36112
36113 if test "$TOOLKIT" != "MSW"; then
36114
36115
36116
36117
36118
36119 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36120 if test "${with_libiconv_prefix+set}" = set; then
36121 withval="$with_libiconv_prefix"
36122
36123 for dir in `echo "$withval" | tr : ' '`; do
36124 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36125 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36126 done
36127
36128 fi;
36129
36130 echo "$as_me:$LINENO: checking for iconv" >&5
36131 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36132 if test "${am_cv_func_iconv+set}" = set; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36134 else
36135
36136 am_cv_func_iconv="no, consider installing GNU libiconv"
36137 am_cv_lib_iconv=no
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <stdlib.h>
36145 #include <iconv.h>
36146 int
36147 main ()
36148 {
36149 iconv_t cd = iconv_open("","");
36150 iconv(cd,NULL,NULL,NULL,NULL);
36151 iconv_close(cd);
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 rm -f conftest.$ac_objext conftest$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36167 (eval $ac_try) 2>&5
36168 ac_status=$?
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); }; } &&
36171 { ac_try='test -s conftest$ac_exeext'
36172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36173 (eval $ac_try) 2>&5
36174 ac_status=$?
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); }; }; then
36177 am_cv_func_iconv=yes
36178 else
36179 echo "$as_me: failed program was:" >&5
36180 sed 's/^/| /' conftest.$ac_ext >&5
36181
36182 fi
36183 rm -f conftest.err conftest.$ac_objext \
36184 conftest$ac_exeext conftest.$ac_ext
36185 if test "$am_cv_func_iconv" != yes; then
36186 am_save_LIBS="$LIBS"
36187 LIBS="$LIBS -liconv"
36188 cat >conftest.$ac_ext <<_ACEOF
36189 /* confdefs.h. */
36190 _ACEOF
36191 cat confdefs.h >>conftest.$ac_ext
36192 cat >>conftest.$ac_ext <<_ACEOF
36193 /* end confdefs.h. */
36194 #include <stdlib.h>
36195 #include <iconv.h>
36196 int
36197 main ()
36198 {
36199 iconv_t cd = iconv_open("","");
36200 iconv(cd,NULL,NULL,NULL,NULL);
36201 iconv_close(cd);
36202 ;
36203 return 0;
36204 }
36205 _ACEOF
36206 rm -f conftest.$ac_objext conftest$ac_exeext
36207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36208 (eval $ac_link) 2>conftest.er1
36209 ac_status=$?
36210 grep -v '^ *+' conftest.er1 >conftest.err
36211 rm -f conftest.er1
36212 cat conftest.err >&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } &&
36215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36217 (eval $ac_try) 2>&5
36218 ac_status=$?
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); }; } &&
36221 { ac_try='test -s conftest$ac_exeext'
36222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223 (eval $ac_try) 2>&5
36224 ac_status=$?
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); }; }; then
36227 am_cv_lib_iconv=yes
36228 am_cv_func_iconv=yes
36229 else
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.$ac_ext >&5
36232
36233 fi
36234 rm -f conftest.err conftest.$ac_objext \
36235 conftest$ac_exeext conftest.$ac_ext
36236 LIBS="$am_save_LIBS"
36237 fi
36238
36239 fi
36240 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36241 echo "${ECHO_T}$am_cv_func_iconv" >&6
36242 if test "$am_cv_func_iconv" = yes; then
36243
36244 cat >>confdefs.h <<\_ACEOF
36245 #define HAVE_ICONV 1
36246 _ACEOF
36247
36248 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36249 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36250 if test "${wx_cv_func_iconv_const+set}" = set; then
36251 echo $ECHO_N "(cached) $ECHO_C" >&6
36252 else
36253 cat >conftest.$ac_ext <<_ACEOF
36254 /* confdefs.h. */
36255 _ACEOF
36256 cat confdefs.h >>conftest.$ac_ext
36257 cat >>conftest.$ac_ext <<_ACEOF
36258 /* end confdefs.h. */
36259
36260 #include <stdlib.h>
36261 #include <iconv.h>
36262 extern
36263 #ifdef __cplusplus
36264 "C"
36265 #endif
36266 #if defined(__STDC__) || defined(__cplusplus)
36267 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36268 #else
36269 size_t iconv();
36270 #endif
36271
36272 int
36273 main ()
36274 {
36275
36276 ;
36277 return 0;
36278 }
36279 _ACEOF
36280 rm -f conftest.$ac_objext
36281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36282 (eval $ac_compile) 2>conftest.er1
36283 ac_status=$?
36284 grep -v '^ *+' conftest.er1 >conftest.err
36285 rm -f conftest.er1
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } &&
36289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try='test -s conftest.$ac_objext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36298 ac_status=$?
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 wx_cv_func_iconv_const="no"
36302 else
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.$ac_ext >&5
36305
36306 wx_cv_func_iconv_const="yes"
36307
36308 fi
36309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36310
36311 fi
36312 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36313 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36314
36315 iconv_const=
36316 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36317 iconv_const="const"
36318 fi
36319
36320
36321 cat >>confdefs.h <<_ACEOF
36322 #define ICONV_CONST $iconv_const
36323 _ACEOF
36324
36325 fi
36326 LIBICONV=
36327 if test "$am_cv_lib_iconv" = yes; then
36328 LIBICONV="-liconv"
36329 fi
36330
36331
36332 LIBS="$LIBICONV $LIBS"
36333
36334 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36335
36336 for ac_func in sigaction
36337 do
36338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36339 echo "$as_me:$LINENO: checking for $ac_func" >&5
36340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36341 if eval "test \"\${$as_ac_var+set}\" = set"; then
36342 echo $ECHO_N "(cached) $ECHO_C" >&6
36343 else
36344 cat >conftest.$ac_ext <<_ACEOF
36345 /* confdefs.h. */
36346 _ACEOF
36347 cat confdefs.h >>conftest.$ac_ext
36348 cat >>conftest.$ac_ext <<_ACEOF
36349 /* end confdefs.h. */
36350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36352 #define $ac_func innocuous_$ac_func
36353
36354 /* System header to define __stub macros and hopefully few prototypes,
36355 which can conflict with char $ac_func (); below.
36356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36357 <limits.h> exists even on freestanding compilers. */
36358
36359 #ifdef __STDC__
36360 # include <limits.h>
36361 #else
36362 # include <assert.h>
36363 #endif
36364
36365 #undef $ac_func
36366
36367 /* Override any gcc2 internal prototype to avoid an error. */
36368 #ifdef __cplusplus
36369 extern "C"
36370 {
36371 #endif
36372 /* We use char because int might match the return type of a gcc2
36373 builtin and then its argument prototype would still apply. */
36374 char $ac_func ();
36375 /* The GNU C library defines this for functions which it implements
36376 to always fail with ENOSYS. Some functions are actually named
36377 something starting with __ and the normal name is an alias. */
36378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36379 choke me
36380 #else
36381 char (*f) () = $ac_func;
36382 #endif
36383 #ifdef __cplusplus
36384 }
36385 #endif
36386
36387 int
36388 main ()
36389 {
36390 return f != $ac_func;
36391 ;
36392 return 0;
36393 }
36394 _ACEOF
36395 rm -f conftest.$ac_objext conftest$ac_exeext
36396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36397 (eval $ac_link) 2>conftest.er1
36398 ac_status=$?
36399 grep -v '^ *+' conftest.er1 >conftest.err
36400 rm -f conftest.er1
36401 cat conftest.err >&5
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); } &&
36404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36407 ac_status=$?
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; } &&
36410 { ac_try='test -s conftest$ac_exeext'
36411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 (eval $ac_try) 2>&5
36413 ac_status=$?
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); }; }; then
36416 eval "$as_ac_var=yes"
36417 else
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.$ac_ext >&5
36420
36421 eval "$as_ac_var=no"
36422 fi
36423 rm -f conftest.err conftest.$ac_objext \
36424 conftest$ac_exeext conftest.$ac_ext
36425 fi
36426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36428 if test `eval echo '${'$as_ac_var'}'` = yes; then
36429 cat >>confdefs.h <<_ACEOF
36430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36431 _ACEOF
36432
36433 fi
36434 done
36435
36436
36437 if test "$ac_cv_func_sigaction" = "no"; then
36438 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36439 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36440 wxUSE_ON_FATAL_EXCEPTION=no
36441 fi
36442
36443 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36444 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36445 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36446 if test "${wx_cv_type_sa_handler+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36449
36450 ac_ext=cc
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36455
36456 cat >conftest.$ac_ext <<_ACEOF
36457 /* confdefs.h. */
36458 _ACEOF
36459 cat confdefs.h >>conftest.$ac_ext
36460 cat >>conftest.$ac_ext <<_ACEOF
36461 /* end confdefs.h. */
36462 #include <signal.h>
36463 int
36464 main ()
36465 {
36466
36467 extern void testSigHandler(int);
36468
36469 struct sigaction sa;
36470 sa.sa_handler = testSigHandler;
36471
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 rm -f conftest.$ac_objext
36477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36478 (eval $ac_compile) 2>conftest.er1
36479 ac_status=$?
36480 grep -v '^ *+' conftest.er1 >conftest.err
36481 rm -f conftest.er1
36482 cat conftest.err >&5
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); } &&
36485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36487 (eval $ac_try) 2>&5
36488 ac_status=$?
36489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 (exit $ac_status); }; } &&
36491 { ac_try='test -s conftest.$ac_objext'
36492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36493 (eval $ac_try) 2>&5
36494 ac_status=$?
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); }; }; then
36497
36498 wx_cv_type_sa_handler=int
36499
36500 else
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36503
36504
36505 wx_cv_type_sa_handler=void
36506
36507 fi
36508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36509 ac_ext=c
36510 ac_cpp='$CPP $CPPFLAGS'
36511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514
36515
36516 fi
36517 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36518 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36519
36520 cat >>confdefs.h <<_ACEOF
36521 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36522 _ACEOF
36523
36524 fi
36525 fi
36526
36527 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36528 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36529 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36530 if test "${wx_cv_func_backtrace+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533
36534 ac_ext=cc
36535 ac_cpp='$CXXCPP $CPPFLAGS'
36536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36539
36540 cat >conftest.$ac_ext <<_ACEOF
36541 /* confdefs.h. */
36542 _ACEOF
36543 cat confdefs.h >>conftest.$ac_ext
36544 cat >>conftest.$ac_ext <<_ACEOF
36545 /* end confdefs.h. */
36546 #include <execinfo.h>
36547 int
36548 main ()
36549 {
36550
36551 void *trace[1];
36552 char **messages;
36553
36554 backtrace(trace, 1);
36555 messages = backtrace_symbols(trace, 1);
36556
36557 ;
36558 return 0;
36559 }
36560 _ACEOF
36561 rm -f conftest.$ac_objext
36562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36563 (eval $ac_compile) 2>conftest.er1
36564 ac_status=$?
36565 grep -v '^ *+' conftest.er1 >conftest.err
36566 rm -f conftest.er1
36567 cat conftest.err >&5
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); } &&
36570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36572 (eval $ac_try) 2>&5
36573 ac_status=$?
36574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575 (exit $ac_status); }; } &&
36576 { ac_try='test -s conftest.$ac_objext'
36577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36578 (eval $ac_try) 2>&5
36579 ac_status=$?
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); }; }; then
36582 wx_cv_func_backtrace=yes
36583 else
36584 echo "$as_me: failed program was:" >&5
36585 sed 's/^/| /' conftest.$ac_ext >&5
36586
36587 wx_cv_func_backtrace=no
36588
36589 fi
36590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596
36597
36598
36599 fi
36600 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36601 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36602
36603
36604 if test "$wx_cv_func_backtrace" = "no"; then
36605 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36606 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36607 wxUSE_STACKWALKER=no
36608 else
36609 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36610 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36611 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36612 echo $ECHO_N "(cached) $ECHO_C" >&6
36613 else
36614
36615 ac_ext=cc
36616 ac_cpp='$CXXCPP $CPPFLAGS'
36617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36620
36621 cat >conftest.$ac_ext <<_ACEOF
36622 /* confdefs.h. */
36623 _ACEOF
36624 cat confdefs.h >>conftest.$ac_ext
36625 cat >>conftest.$ac_ext <<_ACEOF
36626 /* end confdefs.h. */
36627 #include <cxxabi.h>
36628 int
36629 main ()
36630 {
36631
36632 int rc;
36633 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36634
36635 ;
36636 return 0;
36637 }
36638 _ACEOF
36639 rm -f conftest.$ac_objext conftest$ac_exeext
36640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36641 (eval $ac_link) 2>conftest.er1
36642 ac_status=$?
36643 grep -v '^ *+' conftest.er1 >conftest.err
36644 rm -f conftest.er1
36645 cat conftest.err >&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } &&
36648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36650 (eval $ac_try) 2>&5
36651 ac_status=$?
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); }; } &&
36654 { ac_try='test -s conftest$ac_exeext'
36655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36656 (eval $ac_try) 2>&5
36657 ac_status=$?
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); }; }; then
36660 wx_cv_func_cxa_demangle=yes
36661 else
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36664
36665 wx_cv_func_cxa_demangle=no
36666
36667 fi
36668 rm -f conftest.err conftest.$ac_objext \
36669 conftest$ac_exeext conftest.$ac_ext
36670 ac_ext=c
36671 ac_cpp='$CPP $CPPFLAGS'
36672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36675
36676
36677
36678 fi
36679 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36680 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36681
36682 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36683 cat >>confdefs.h <<\_ACEOF
36684 #define HAVE_CXA_DEMANGLE 1
36685 _ACEOF
36686
36687 fi
36688 fi
36689 fi
36690
36691 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36692 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36693 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36694 wxUSE_STACKWALKER=no
36695 fi
36696
36697
36698
36699
36700 for ac_func in mkstemp mktemp
36701 do
36702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36703 echo "$as_me:$LINENO: checking for $ac_func" >&5
36704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36705 if eval "test \"\${$as_ac_var+set}\" = set"; then
36706 echo $ECHO_N "(cached) $ECHO_C" >&6
36707 else
36708 cat >conftest.$ac_ext <<_ACEOF
36709 /* confdefs.h. */
36710 _ACEOF
36711 cat confdefs.h >>conftest.$ac_ext
36712 cat >>conftest.$ac_ext <<_ACEOF
36713 /* end confdefs.h. */
36714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36716 #define $ac_func innocuous_$ac_func
36717
36718 /* System header to define __stub macros and hopefully few prototypes,
36719 which can conflict with char $ac_func (); below.
36720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36721 <limits.h> exists even on freestanding compilers. */
36722
36723 #ifdef __STDC__
36724 # include <limits.h>
36725 #else
36726 # include <assert.h>
36727 #endif
36728
36729 #undef $ac_func
36730
36731 /* Override any gcc2 internal prototype to avoid an error. */
36732 #ifdef __cplusplus
36733 extern "C"
36734 {
36735 #endif
36736 /* We use char because int might match the return type of a gcc2
36737 builtin and then its argument prototype would still apply. */
36738 char $ac_func ();
36739 /* The GNU C library defines this for functions which it implements
36740 to always fail with ENOSYS. Some functions are actually named
36741 something starting with __ and the normal name is an alias. */
36742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36743 choke me
36744 #else
36745 char (*f) () = $ac_func;
36746 #endif
36747 #ifdef __cplusplus
36748 }
36749 #endif
36750
36751 int
36752 main ()
36753 {
36754 return f != $ac_func;
36755 ;
36756 return 0;
36757 }
36758 _ACEOF
36759 rm -f conftest.$ac_objext conftest$ac_exeext
36760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36761 (eval $ac_link) 2>conftest.er1
36762 ac_status=$?
36763 grep -v '^ *+' conftest.er1 >conftest.err
36764 rm -f conftest.er1
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } &&
36768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36771 ac_status=$?
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; } &&
36774 { ac_try='test -s conftest$ac_exeext'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36777 ac_status=$?
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; }; then
36780 eval "$as_ac_var=yes"
36781 else
36782 echo "$as_me: failed program was:" >&5
36783 sed 's/^/| /' conftest.$ac_ext >&5
36784
36785 eval "$as_ac_var=no"
36786 fi
36787 rm -f conftest.err conftest.$ac_objext \
36788 conftest$ac_exeext conftest.$ac_ext
36789 fi
36790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36792 if test `eval echo '${'$as_ac_var'}'` = yes; then
36793 cat >>confdefs.h <<_ACEOF
36794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36795 _ACEOF
36796 break
36797 fi
36798 done
36799
36800
36801 echo "$as_me:$LINENO: checking for statfs" >&5
36802 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36803 if test "${wx_cv_func_statfs+set}" = set; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 else
36806 cat >conftest.$ac_ext <<_ACEOF
36807 /* confdefs.h. */
36808 _ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812
36813 #if defined(__BSD__)
36814 #include <sys/param.h>
36815 #include <sys/mount.h>
36816 #else
36817 #include <sys/vfs.h>
36818 #endif
36819
36820 int
36821 main ()
36822 {
36823
36824 long l;
36825 struct statfs fs;
36826 statfs("/", &fs);
36827 l = fs.f_bsize;
36828 l += fs.f_blocks;
36829 l += fs.f_bavail;
36830
36831 ;
36832 return 0;
36833 }
36834 _ACEOF
36835 rm -f conftest.$ac_objext
36836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36837 (eval $ac_compile) 2>conftest.er1
36838 ac_status=$?
36839 grep -v '^ *+' conftest.er1 >conftest.err
36840 rm -f conftest.er1
36841 cat conftest.err >&5
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); } &&
36844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846 (eval $ac_try) 2>&5
36847 ac_status=$?
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); }; } &&
36850 { ac_try='test -s conftest.$ac_objext'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36853 ac_status=$?
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; }; then
36856 wx_cv_func_statfs=yes
36857 else
36858 echo "$as_me: failed program was:" >&5
36859 sed 's/^/| /' conftest.$ac_ext >&5
36860
36861 wx_cv_func_statfs=no
36862
36863 fi
36864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36865
36866 fi
36867 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36868 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36869
36870 if test "$wx_cv_func_statfs" = "yes"; then
36871 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36872 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36873 if test "${wx_cv_func_statfs_decl+set}" = set; then
36874 echo $ECHO_N "(cached) $ECHO_C" >&6
36875 else
36876 ac_ext=cc
36877 ac_cpp='$CXXCPP $CPPFLAGS'
36878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36881
36882 cat >conftest.$ac_ext <<_ACEOF
36883 /* confdefs.h. */
36884 _ACEOF
36885 cat confdefs.h >>conftest.$ac_ext
36886 cat >>conftest.$ac_ext <<_ACEOF
36887 /* end confdefs.h. */
36888
36889 #if defined(__BSD__)
36890 #include <sys/param.h>
36891 #include <sys/mount.h>
36892 #else
36893 #include <sys/vfs.h>
36894 #endif
36895
36896 int
36897 main ()
36898 {
36899
36900 struct statfs fs;
36901 statfs("", &fs);
36902
36903 ;
36904 return 0;
36905 }
36906 _ACEOF
36907 rm -f conftest.$ac_objext
36908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36909 (eval $ac_compile) 2>conftest.er1
36910 ac_status=$?
36911 grep -v '^ *+' conftest.er1 >conftest.err
36912 rm -f conftest.er1
36913 cat conftest.err >&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); } &&
36916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36919 ac_status=$?
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; } &&
36922 { ac_try='test -s conftest.$ac_objext'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36925 ac_status=$?
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; }; then
36928 wx_cv_func_statfs_decl=yes
36929 else
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36932
36933 wx_cv_func_statfs_decl=no
36934
36935 fi
36936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36937 ac_ext=c
36938 ac_cpp='$CPP $CPPFLAGS'
36939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942
36943
36944 fi
36945 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36946 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36947
36948 if test "$wx_cv_func_statfs_decl" = "yes"; then
36949 cat >>confdefs.h <<\_ACEOF
36950 #define HAVE_STATFS_DECL 1
36951 _ACEOF
36952
36953 fi
36954
36955 wx_cv_type_statvfs_t="struct statfs"
36956 cat >>confdefs.h <<\_ACEOF
36957 #define HAVE_STATFS 1
36958 _ACEOF
36959
36960 else
36961 echo "$as_me:$LINENO: checking for statvfs" >&5
36962 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36963 if test "${wx_cv_func_statvfs+set}" = set; then
36964 echo $ECHO_N "(cached) $ECHO_C" >&6
36965 else
36966 cat >conftest.$ac_ext <<_ACEOF
36967 /* confdefs.h. */
36968 _ACEOF
36969 cat confdefs.h >>conftest.$ac_ext
36970 cat >>conftest.$ac_ext <<_ACEOF
36971 /* end confdefs.h. */
36972
36973 #include <stddef.h>
36974 #include <sys/statvfs.h>
36975
36976 int
36977 main ()
36978 {
36979
36980 statvfs("/", NULL);
36981
36982 ;
36983 return 0;
36984 }
36985 _ACEOF
36986 rm -f conftest.$ac_objext
36987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36988 (eval $ac_compile) 2>conftest.er1
36989 ac_status=$?
36990 grep -v '^ *+' conftest.er1 >conftest.err
36991 rm -f conftest.er1
36992 cat conftest.err >&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } &&
36995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36998 ac_status=$?
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; } &&
37001 { ac_try='test -s conftest.$ac_objext'
37002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37003 (eval $ac_try) 2>&5
37004 ac_status=$?
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); }; }; then
37007 wx_cv_func_statvfs=yes
37008 else
37009 echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37011
37012 wx_cv_func_statvfs=no
37013
37014 fi
37015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37016
37017 fi
37018 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37019 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37020
37021 if test "$wx_cv_func_statvfs" = "yes"; then
37022 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37023 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37024 if test "${wx_cv_type_statvfs_t+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 else
37027 ac_ext=cc
37028 ac_cpp='$CXXCPP $CPPFLAGS'
37029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37032
37033 cat >conftest.$ac_ext <<_ACEOF
37034 /* confdefs.h. */
37035 _ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37039
37040 #include <sys/statvfs.h>
37041
37042 int
37043 main ()
37044 {
37045
37046 long l;
37047 statvfs_t fs;
37048 statvfs("/", &fs);
37049 l = fs.f_bsize;
37050 l += fs.f_blocks;
37051 l += fs.f_bavail;
37052
37053 ;
37054 return 0;
37055 }
37056 _ACEOF
37057 rm -f conftest.$ac_objext
37058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37059 (eval $ac_compile) 2>conftest.er1
37060 ac_status=$?
37061 grep -v '^ *+' conftest.er1 >conftest.err
37062 rm -f conftest.er1
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } &&
37066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37068 (eval $ac_try) 2>&5
37069 ac_status=$?
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); }; } &&
37072 { ac_try='test -s conftest.$ac_objext'
37073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37074 (eval $ac_try) 2>&5
37075 ac_status=$?
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); }; }; then
37078 wx_cv_type_statvfs_t=statvfs_t
37079 else
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.$ac_ext >&5
37082
37083
37084 cat >conftest.$ac_ext <<_ACEOF
37085 /* confdefs.h. */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37090
37091 #include <sys/statvfs.h>
37092
37093 int
37094 main ()
37095 {
37096
37097 long l;
37098 struct statvfs fs;
37099 statvfs("/", &fs);
37100 l = fs.f_bsize;
37101 l += fs.f_blocks;
37102 l += fs.f_bavail;
37103
37104 ;
37105 return 0;
37106 }
37107 _ACEOF
37108 rm -f conftest.$ac_objext
37109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37110 (eval $ac_compile) 2>conftest.er1
37111 ac_status=$?
37112 grep -v '^ *+' conftest.er1 >conftest.err
37113 rm -f conftest.er1
37114 cat conftest.err >&5
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); } &&
37117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37119 (eval $ac_try) 2>&5
37120 ac_status=$?
37121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122 (exit $ac_status); }; } &&
37123 { ac_try='test -s conftest.$ac_objext'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37126 ac_status=$?
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; }; then
37129 wx_cv_type_statvfs_t="struct statvfs"
37130 else
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.$ac_ext >&5
37133
37134 wx_cv_type_statvfs_t="unknown"
37135
37136 fi
37137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37138
37139
37140 fi
37141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37142 ac_ext=c
37143 ac_cpp='$CPP $CPPFLAGS'
37144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37147
37148
37149 fi
37150 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37151 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37152
37153 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define HAVE_STATVFS 1
37156 _ACEOF
37157
37158 fi
37159 else
37160 wx_cv_type_statvfs_t="unknown"
37161 fi
37162 fi
37163
37164 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37165 cat >>confdefs.h <<_ACEOF
37166 #define WX_STATFS_T $wx_cv_type_statvfs_t
37167 _ACEOF
37168
37169 else
37170 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37171 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37172 fi
37173
37174 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37175
37176
37177 for ac_func in fcntl flock
37178 do
37179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37180 echo "$as_me:$LINENO: checking for $ac_func" >&5
37181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37182 if eval "test \"\${$as_ac_var+set}\" = set"; then
37183 echo $ECHO_N "(cached) $ECHO_C" >&6
37184 else
37185 cat >conftest.$ac_ext <<_ACEOF
37186 /* confdefs.h. */
37187 _ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37193 #define $ac_func innocuous_$ac_func
37194
37195 /* System header to define __stub macros and hopefully few prototypes,
37196 which can conflict with char $ac_func (); below.
37197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37198 <limits.h> exists even on freestanding compilers. */
37199
37200 #ifdef __STDC__
37201 # include <limits.h>
37202 #else
37203 # include <assert.h>
37204 #endif
37205
37206 #undef $ac_func
37207
37208 /* Override any gcc2 internal prototype to avoid an error. */
37209 #ifdef __cplusplus
37210 extern "C"
37211 {
37212 #endif
37213 /* We use char because int might match the return type of a gcc2
37214 builtin and then its argument prototype would still apply. */
37215 char $ac_func ();
37216 /* The GNU C library defines this for functions which it implements
37217 to always fail with ENOSYS. Some functions are actually named
37218 something starting with __ and the normal name is an alias. */
37219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37220 choke me
37221 #else
37222 char (*f) () = $ac_func;
37223 #endif
37224 #ifdef __cplusplus
37225 }
37226 #endif
37227
37228 int
37229 main ()
37230 {
37231 return f != $ac_func;
37232 ;
37233 return 0;
37234 }
37235 _ACEOF
37236 rm -f conftest.$ac_objext conftest$ac_exeext
37237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37238 (eval $ac_link) 2>conftest.er1
37239 ac_status=$?
37240 grep -v '^ *+' conftest.er1 >conftest.err
37241 rm -f conftest.er1
37242 cat conftest.err >&5
37243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37244 (exit $ac_status); } &&
37245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37247 (eval $ac_try) 2>&5
37248 ac_status=$?
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); }; } &&
37251 { ac_try='test -s conftest$ac_exeext'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37254 ac_status=$?
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; }; then
37257 eval "$as_ac_var=yes"
37258 else
37259 echo "$as_me: failed program was:" >&5
37260 sed 's/^/| /' conftest.$ac_ext >&5
37261
37262 eval "$as_ac_var=no"
37263 fi
37264 rm -f conftest.err conftest.$ac_objext \
37265 conftest$ac_exeext conftest.$ac_ext
37266 fi
37267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37269 if test `eval echo '${'$as_ac_var'}'` = yes; then
37270 cat >>confdefs.h <<_ACEOF
37271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37272 _ACEOF
37273 break
37274 fi
37275 done
37276
37277
37278 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37279 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37280 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37281 wxUSE_SNGLINST_CHECKER=no
37282 fi
37283 fi
37284
37285
37286 for ac_func in timegm
37287 do
37288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37289 echo "$as_me:$LINENO: checking for $ac_func" >&5
37290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37291 if eval "test \"\${$as_ac_var+set}\" = set"; then
37292 echo $ECHO_N "(cached) $ECHO_C" >&6
37293 else
37294 cat >conftest.$ac_ext <<_ACEOF
37295 /* confdefs.h. */
37296 _ACEOF
37297 cat confdefs.h >>conftest.$ac_ext
37298 cat >>conftest.$ac_ext <<_ACEOF
37299 /* end confdefs.h. */
37300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37302 #define $ac_func innocuous_$ac_func
37303
37304 /* System header to define __stub macros and hopefully few prototypes,
37305 which can conflict with char $ac_func (); below.
37306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37307 <limits.h> exists even on freestanding compilers. */
37308
37309 #ifdef __STDC__
37310 # include <limits.h>
37311 #else
37312 # include <assert.h>
37313 #endif
37314
37315 #undef $ac_func
37316
37317 /* Override any gcc2 internal prototype to avoid an error. */
37318 #ifdef __cplusplus
37319 extern "C"
37320 {
37321 #endif
37322 /* We use char because int might match the return type of a gcc2
37323 builtin and then its argument prototype would still apply. */
37324 char $ac_func ();
37325 /* The GNU C library defines this for functions which it implements
37326 to always fail with ENOSYS. Some functions are actually named
37327 something starting with __ and the normal name is an alias. */
37328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37329 choke me
37330 #else
37331 char (*f) () = $ac_func;
37332 #endif
37333 #ifdef __cplusplus
37334 }
37335 #endif
37336
37337 int
37338 main ()
37339 {
37340 return f != $ac_func;
37341 ;
37342 return 0;
37343 }
37344 _ACEOF
37345 rm -f conftest.$ac_objext conftest$ac_exeext
37346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37347 (eval $ac_link) 2>conftest.er1
37348 ac_status=$?
37349 grep -v '^ *+' conftest.er1 >conftest.err
37350 rm -f conftest.er1
37351 cat conftest.err >&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); } &&
37354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37357 ac_status=$?
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; } &&
37360 { ac_try='test -s conftest$ac_exeext'
37361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37362 (eval $ac_try) 2>&5
37363 ac_status=$?
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); }; }; then
37366 eval "$as_ac_var=yes"
37367 else
37368 echo "$as_me: failed program was:" >&5
37369 sed 's/^/| /' conftest.$ac_ext >&5
37370
37371 eval "$as_ac_var=no"
37372 fi
37373 rm -f conftest.err conftest.$ac_objext \
37374 conftest$ac_exeext conftest.$ac_ext
37375 fi
37376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37378 if test `eval echo '${'$as_ac_var'}'` = yes; then
37379 cat >>confdefs.h <<_ACEOF
37380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37381 _ACEOF
37382
37383 fi
37384 done
37385
37386
37387
37388
37389 for ac_func in putenv setenv
37390 do
37391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37392 echo "$as_me:$LINENO: checking for $ac_func" >&5
37393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37394 if eval "test \"\${$as_ac_var+set}\" = set"; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37396 else
37397 cat >conftest.$ac_ext <<_ACEOF
37398 /* confdefs.h. */
37399 _ACEOF
37400 cat confdefs.h >>conftest.$ac_ext
37401 cat >>conftest.$ac_ext <<_ACEOF
37402 /* end confdefs.h. */
37403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37405 #define $ac_func innocuous_$ac_func
37406
37407 /* System header to define __stub macros and hopefully few prototypes,
37408 which can conflict with char $ac_func (); below.
37409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37410 <limits.h> exists even on freestanding compilers. */
37411
37412 #ifdef __STDC__
37413 # include <limits.h>
37414 #else
37415 # include <assert.h>
37416 #endif
37417
37418 #undef $ac_func
37419
37420 /* Override any gcc2 internal prototype to avoid an error. */
37421 #ifdef __cplusplus
37422 extern "C"
37423 {
37424 #endif
37425 /* We use char because int might match the return type of a gcc2
37426 builtin and then its argument prototype would still apply. */
37427 char $ac_func ();
37428 /* The GNU C library defines this for functions which it implements
37429 to always fail with ENOSYS. Some functions are actually named
37430 something starting with __ and the normal name is an alias. */
37431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37432 choke me
37433 #else
37434 char (*f) () = $ac_func;
37435 #endif
37436 #ifdef __cplusplus
37437 }
37438 #endif
37439
37440 int
37441 main ()
37442 {
37443 return f != $ac_func;
37444 ;
37445 return 0;
37446 }
37447 _ACEOF
37448 rm -f conftest.$ac_objext conftest$ac_exeext
37449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37450 (eval $ac_link) 2>conftest.er1
37451 ac_status=$?
37452 grep -v '^ *+' conftest.er1 >conftest.err
37453 rm -f conftest.er1
37454 cat conftest.err >&5
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); } &&
37457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37459 (eval $ac_try) 2>&5
37460 ac_status=$?
37461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37462 (exit $ac_status); }; } &&
37463 { ac_try='test -s conftest$ac_exeext'
37464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37465 (eval $ac_try) 2>&5
37466 ac_status=$?
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); }; }; then
37469 eval "$as_ac_var=yes"
37470 else
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37473
37474 eval "$as_ac_var=no"
37475 fi
37476 rm -f conftest.err conftest.$ac_objext \
37477 conftest$ac_exeext conftest.$ac_ext
37478 fi
37479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37481 if test `eval echo '${'$as_ac_var'}'` = yes; then
37482 cat >>confdefs.h <<_ACEOF
37483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37484 _ACEOF
37485 break
37486 fi
37487 done
37488
37489
37490 HAVE_SOME_SLEEP_FUNC=0
37491 if test "$USE_BEOS" = 1; then
37492 cat >>confdefs.h <<\_ACEOF
37493 #define HAVE_SLEEP 1
37494 _ACEOF
37495
37496 HAVE_SOME_SLEEP_FUNC=1
37497 fi
37498
37499 if test "$USE_DARWIN" = 1; then
37500 cat >>confdefs.h <<\_ACEOF
37501 #define HAVE_USLEEP 1
37502 _ACEOF
37503
37504 HAVE_SOME_SLEEP_FUNC=1
37505 fi
37506
37507 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37508 POSIX4_LINK=
37509
37510 for ac_func in nanosleep
37511 do
37512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37513 echo "$as_me:$LINENO: checking for $ac_func" >&5
37514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37515 if eval "test \"\${$as_ac_var+set}\" = set"; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37517 else
37518 cat >conftest.$ac_ext <<_ACEOF
37519 /* confdefs.h. */
37520 _ACEOF
37521 cat confdefs.h >>conftest.$ac_ext
37522 cat >>conftest.$ac_ext <<_ACEOF
37523 /* end confdefs.h. */
37524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37526 #define $ac_func innocuous_$ac_func
37527
37528 /* System header to define __stub macros and hopefully few prototypes,
37529 which can conflict with char $ac_func (); below.
37530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37531 <limits.h> exists even on freestanding compilers. */
37532
37533 #ifdef __STDC__
37534 # include <limits.h>
37535 #else
37536 # include <assert.h>
37537 #endif
37538
37539 #undef $ac_func
37540
37541 /* Override any gcc2 internal prototype to avoid an error. */
37542 #ifdef __cplusplus
37543 extern "C"
37544 {
37545 #endif
37546 /* We use char because int might match the return type of a gcc2
37547 builtin and then its argument prototype would still apply. */
37548 char $ac_func ();
37549 /* The GNU C library defines this for functions which it implements
37550 to always fail with ENOSYS. Some functions are actually named
37551 something starting with __ and the normal name is an alias. */
37552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37553 choke me
37554 #else
37555 char (*f) () = $ac_func;
37556 #endif
37557 #ifdef __cplusplus
37558 }
37559 #endif
37560
37561 int
37562 main ()
37563 {
37564 return f != $ac_func;
37565 ;
37566 return 0;
37567 }
37568 _ACEOF
37569 rm -f conftest.$ac_objext conftest$ac_exeext
37570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37571 (eval $ac_link) 2>conftest.er1
37572 ac_status=$?
37573 grep -v '^ *+' conftest.er1 >conftest.err
37574 rm -f conftest.er1
37575 cat conftest.err >&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } &&
37578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37580 (eval $ac_try) 2>&5
37581 ac_status=$?
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); }; } &&
37584 { ac_try='test -s conftest$ac_exeext'
37585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37586 (eval $ac_try) 2>&5
37587 ac_status=$?
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); }; }; then
37590 eval "$as_ac_var=yes"
37591 else
37592 echo "$as_me: failed program was:" >&5
37593 sed 's/^/| /' conftest.$ac_ext >&5
37594
37595 eval "$as_ac_var=no"
37596 fi
37597 rm -f conftest.err conftest.$ac_objext \
37598 conftest$ac_exeext conftest.$ac_ext
37599 fi
37600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37602 if test `eval echo '${'$as_ac_var'}'` = yes; then
37603 cat >>confdefs.h <<_ACEOF
37604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37605 _ACEOF
37606 cat >>confdefs.h <<\_ACEOF
37607 #define HAVE_NANOSLEEP 1
37608 _ACEOF
37609
37610 else
37611
37612 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37613 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37614 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 else
37617 ac_check_lib_save_LIBS=$LIBS
37618 LIBS="-lposix4 $LIBS"
37619 cat >conftest.$ac_ext <<_ACEOF
37620 /* confdefs.h. */
37621 _ACEOF
37622 cat confdefs.h >>conftest.$ac_ext
37623 cat >>conftest.$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37625
37626 /* Override any gcc2 internal prototype to avoid an error. */
37627 #ifdef __cplusplus
37628 extern "C"
37629 #endif
37630 /* We use char because int might match the return type of a gcc2
37631 builtin and then its argument prototype would still apply. */
37632 char nanosleep ();
37633 int
37634 main ()
37635 {
37636 nanosleep ();
37637 ;
37638 return 0;
37639 }
37640 _ACEOF
37641 rm -f conftest.$ac_objext conftest$ac_exeext
37642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37643 (eval $ac_link) 2>conftest.er1
37644 ac_status=$?
37645 grep -v '^ *+' conftest.er1 >conftest.err
37646 rm -f conftest.er1
37647 cat conftest.err >&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); } &&
37650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652 (eval $ac_try) 2>&5
37653 ac_status=$?
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); }; } &&
37656 { ac_try='test -s conftest$ac_exeext'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37659 ac_status=$?
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; }; then
37662 ac_cv_lib_posix4_nanosleep=yes
37663 else
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37666
37667 ac_cv_lib_posix4_nanosleep=no
37668 fi
37669 rm -f conftest.err conftest.$ac_objext \
37670 conftest$ac_exeext conftest.$ac_ext
37671 LIBS=$ac_check_lib_save_LIBS
37672 fi
37673 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37674 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37675 if test $ac_cv_lib_posix4_nanosleep = yes; then
37676
37677 cat >>confdefs.h <<\_ACEOF
37678 #define HAVE_NANOSLEEP 1
37679 _ACEOF
37680
37681 POSIX4_LINK=" -lposix4"
37682
37683 else
37684
37685
37686 for wx_func in usleep
37687 do
37688 echo "$as_me:$LINENO: checking for $wx_func" >&5
37689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37690 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693
37694 cat >conftest.$ac_ext <<_ACEOF
37695
37696 /* confdefs.h. */
37697 _ACEOF
37698 cat confdefs.h >>conftest.$ac_ext
37699 cat >>conftest.$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37701
37702
37703 $ac_includes_default
37704
37705 int
37706 main ()
37707 {
37708
37709 #ifndef $wx_func
37710 &$wx_func;
37711 #endif
37712
37713
37714 ;
37715 return 0;
37716 }
37717
37718 _ACEOF
37719 rm -f conftest.$ac_objext conftest$ac_exeext
37720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37721 (eval $ac_link) 2>conftest.er1
37722 ac_status=$?
37723 grep -v '^ *+' conftest.er1 >conftest.err
37724 rm -f conftest.er1
37725 cat conftest.err >&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); } &&
37728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37730 (eval $ac_try) 2>&5
37731 ac_status=$?
37732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37733 (exit $ac_status); }; } &&
37734 { ac_try='test -s conftest$ac_exeext'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 eval wx_cv_func_$wx_func=yes
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745 eval wx_cv_func_$wx_func=no
37746 fi
37747 rm -f conftest.err conftest.$ac_objext \
37748 conftest$ac_exeext conftest.$ac_ext
37749
37750 fi
37751 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37752 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37753
37754 if eval test \$wx_cv_func_$wx_func = yes
37755 then
37756 cat >>confdefs.h <<_ACEOF
37757 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37758 _ACEOF
37759
37760
37761 else
37762 :
37763 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37764 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37765
37766 fi
37767 done
37768
37769
37770
37771 fi
37772
37773
37774
37775 fi
37776 done
37777
37778 fi
37779
37780
37781 for wx_func in uname
37782 do
37783 echo "$as_me:$LINENO: checking for $wx_func" >&5
37784 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37785 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37786 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 else
37788
37789 cat >conftest.$ac_ext <<_ACEOF
37790
37791 /* confdefs.h. */
37792 _ACEOF
37793 cat confdefs.h >>conftest.$ac_ext
37794 cat >>conftest.$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37796
37797 #include <sys/utsname.h>
37798 $ac_includes_default
37799
37800 int
37801 main ()
37802 {
37803
37804 #ifndef $wx_func
37805 &$wx_func;
37806 #endif
37807
37808
37809 ;
37810 return 0;
37811 }
37812
37813 _ACEOF
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37816 (eval $ac_link) 2>conftest.er1
37817 ac_status=$?
37818 grep -v '^ *+' conftest.er1 >conftest.err
37819 rm -f conftest.er1
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37825 (eval $ac_try) 2>&5
37826 ac_status=$?
37827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37828 (exit $ac_status); }; } &&
37829 { ac_try='test -s conftest$ac_exeext'
37830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37831 (eval $ac_try) 2>&5
37832 ac_status=$?
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); }; }; then
37835 eval wx_cv_func_$wx_func=yes
37836 else
37837 echo "$as_me: failed program was:" >&5
37838 sed 's/^/| /' conftest.$ac_ext >&5
37839
37840 eval wx_cv_func_$wx_func=no
37841 fi
37842 rm -f conftest.err conftest.$ac_objext \
37843 conftest$ac_exeext conftest.$ac_ext
37844
37845 fi
37846 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37847 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37848
37849 if eval test \$wx_cv_func_$wx_func = yes
37850 then
37851 cat >>confdefs.h <<_ACEOF
37852 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37853 _ACEOF
37854
37855
37856 else
37857 :
37858
37859 fi
37860 done
37861
37862 if test "$wx_cv_func_uname" != yes; then
37863
37864 for wx_func in gethostname
37865 do
37866 echo "$as_me:$LINENO: checking for $wx_func" >&5
37867 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37868 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37869 echo $ECHO_N "(cached) $ECHO_C" >&6
37870 else
37871
37872 cat >conftest.$ac_ext <<_ACEOF
37873
37874 /* confdefs.h. */
37875 _ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879
37880
37881 $ac_includes_default
37882
37883 int
37884 main ()
37885 {
37886
37887 #ifndef $wx_func
37888 &$wx_func;
37889 #endif
37890
37891
37892 ;
37893 return 0;
37894 }
37895
37896 _ACEOF
37897 rm -f conftest.$ac_objext conftest$ac_exeext
37898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37899 (eval $ac_link) 2>conftest.er1
37900 ac_status=$?
37901 grep -v '^ *+' conftest.er1 >conftest.err
37902 rm -f conftest.er1
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } &&
37906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37908 (eval $ac_try) 2>&5
37909 ac_status=$?
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); }; } &&
37912 { ac_try='test -s conftest$ac_exeext'
37913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37914 (eval $ac_try) 2>&5
37915 ac_status=$?
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); }; }; then
37918 eval wx_cv_func_$wx_func=yes
37919 else
37920 echo "$as_me: failed program was:" >&5
37921 sed 's/^/| /' conftest.$ac_ext >&5
37922
37923 eval wx_cv_func_$wx_func=no
37924 fi
37925 rm -f conftest.err conftest.$ac_objext \
37926 conftest$ac_exeext conftest.$ac_ext
37927
37928 fi
37929 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37930 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37931
37932 if eval test \$wx_cv_func_$wx_func = yes
37933 then
37934 cat >>confdefs.h <<_ACEOF
37935 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37936 _ACEOF
37937
37938
37939 else
37940 :
37941
37942 fi
37943 done
37944
37945 fi
37946
37947
37948 for wx_func in strtok_r
37949 do
37950 echo "$as_me:$LINENO: checking for $wx_func" >&5
37951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37952 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 else
37955
37956 cat >conftest.$ac_ext <<_ACEOF
37957
37958 /* confdefs.h. */
37959 _ACEOF
37960 cat confdefs.h >>conftest.$ac_ext
37961 cat >>conftest.$ac_ext <<_ACEOF
37962 /* end confdefs.h. */
37963
37964 #define _REENTRANT
37965 $ac_includes_default
37966
37967 int
37968 main ()
37969 {
37970
37971 #ifndef $wx_func
37972 &$wx_func;
37973 #endif
37974
37975
37976 ;
37977 return 0;
37978 }
37979
37980 _ACEOF
37981 rm -f conftest.$ac_objext conftest$ac_exeext
37982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37983 (eval $ac_link) 2>conftest.er1
37984 ac_status=$?
37985 grep -v '^ *+' conftest.er1 >conftest.err
37986 rm -f conftest.er1
37987 cat conftest.err >&5
37988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37989 (exit $ac_status); } &&
37990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37992 (eval $ac_try) 2>&5
37993 ac_status=$?
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); }; } &&
37996 { ac_try='test -s conftest$ac_exeext'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
37999 ac_status=$?
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; }; then
38002 eval wx_cv_func_$wx_func=yes
38003 else
38004 echo "$as_me: failed program was:" >&5
38005 sed 's/^/| /' conftest.$ac_ext >&5
38006
38007 eval wx_cv_func_$wx_func=no
38008 fi
38009 rm -f conftest.err conftest.$ac_objext \
38010 conftest$ac_exeext conftest.$ac_ext
38011
38012 fi
38013 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38014 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38015
38016 if eval test \$wx_cv_func_$wx_func = yes
38017 then
38018 cat >>confdefs.h <<_ACEOF
38019 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38020 _ACEOF
38021
38022
38023 else
38024 :
38025
38026 fi
38027 done
38028
38029
38030 INET_LINK=
38031
38032 for ac_func in inet_addr
38033 do
38034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38035 echo "$as_me:$LINENO: checking for $ac_func" >&5
38036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38037 if eval "test \"\${$as_ac_var+set}\" = set"; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040 cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38048 #define $ac_func innocuous_$ac_func
38049
38050 /* System header to define __stub macros and hopefully few prototypes,
38051 which can conflict with char $ac_func (); below.
38052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38053 <limits.h> exists even on freestanding compilers. */
38054
38055 #ifdef __STDC__
38056 # include <limits.h>
38057 #else
38058 # include <assert.h>
38059 #endif
38060
38061 #undef $ac_func
38062
38063 /* Override any gcc2 internal prototype to avoid an error. */
38064 #ifdef __cplusplus
38065 extern "C"
38066 {
38067 #endif
38068 /* We use char because int might match the return type of a gcc2
38069 builtin and then its argument prototype would still apply. */
38070 char $ac_func ();
38071 /* The GNU C library defines this for functions which it implements
38072 to always fail with ENOSYS. Some functions are actually named
38073 something starting with __ and the normal name is an alias. */
38074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38075 choke me
38076 #else
38077 char (*f) () = $ac_func;
38078 #endif
38079 #ifdef __cplusplus
38080 }
38081 #endif
38082
38083 int
38084 main ()
38085 {
38086 return f != $ac_func;
38087 ;
38088 return 0;
38089 }
38090 _ACEOF
38091 rm -f conftest.$ac_objext conftest$ac_exeext
38092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38093 (eval $ac_link) 2>conftest.er1
38094 ac_status=$?
38095 grep -v '^ *+' conftest.er1 >conftest.err
38096 rm -f conftest.er1
38097 cat conftest.err >&5
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); } &&
38100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38102 (eval $ac_try) 2>&5
38103 ac_status=$?
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); }; } &&
38106 { ac_try='test -s conftest$ac_exeext'
38107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38108 (eval $ac_try) 2>&5
38109 ac_status=$?
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); }; }; then
38112 eval "$as_ac_var=yes"
38113 else
38114 echo "$as_me: failed program was:" >&5
38115 sed 's/^/| /' conftest.$ac_ext >&5
38116
38117 eval "$as_ac_var=no"
38118 fi
38119 rm -f conftest.err conftest.$ac_objext \
38120 conftest$ac_exeext conftest.$ac_ext
38121 fi
38122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38124 if test `eval echo '${'$as_ac_var'}'` = yes; then
38125 cat >>confdefs.h <<_ACEOF
38126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38127 _ACEOF
38128 cat >>confdefs.h <<\_ACEOF
38129 #define HAVE_INET_ADDR 1
38130 _ACEOF
38131
38132 else
38133
38134 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38135 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38136 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38137 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 else
38139 ac_check_lib_save_LIBS=$LIBS
38140 LIBS="-lnsl $LIBS"
38141 cat >conftest.$ac_ext <<_ACEOF
38142 /* confdefs.h. */
38143 _ACEOF
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147
38148 /* Override any gcc2 internal prototype to avoid an error. */
38149 #ifdef __cplusplus
38150 extern "C"
38151 #endif
38152 /* We use char because int might match the return type of a gcc2
38153 builtin and then its argument prototype would still apply. */
38154 char inet_addr ();
38155 int
38156 main ()
38157 {
38158 inet_addr ();
38159 ;
38160 return 0;
38161 }
38162 _ACEOF
38163 rm -f conftest.$ac_objext conftest$ac_exeext
38164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38165 (eval $ac_link) 2>conftest.er1
38166 ac_status=$?
38167 grep -v '^ *+' conftest.er1 >conftest.err
38168 rm -f conftest.er1
38169 cat conftest.err >&5
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); } &&
38172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38174 (eval $ac_try) 2>&5
38175 ac_status=$?
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); }; } &&
38178 { ac_try='test -s conftest$ac_exeext'
38179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38180 (eval $ac_try) 2>&5
38181 ac_status=$?
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); }; }; then
38184 ac_cv_lib_nsl_inet_addr=yes
38185 else
38186 echo "$as_me: failed program was:" >&5
38187 sed 's/^/| /' conftest.$ac_ext >&5
38188
38189 ac_cv_lib_nsl_inet_addr=no
38190 fi
38191 rm -f conftest.err conftest.$ac_objext \
38192 conftest$ac_exeext conftest.$ac_ext
38193 LIBS=$ac_check_lib_save_LIBS
38194 fi
38195 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38196 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38197 if test $ac_cv_lib_nsl_inet_addr = yes; then
38198 INET_LINK="nsl"
38199 else
38200
38201 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38202 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38203 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 else
38206 ac_check_lib_save_LIBS=$LIBS
38207 LIBS="-lresolv $LIBS"
38208 cat >conftest.$ac_ext <<_ACEOF
38209 /* confdefs.h. */
38210 _ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38214
38215 /* Override any gcc2 internal prototype to avoid an error. */
38216 #ifdef __cplusplus
38217 extern "C"
38218 #endif
38219 /* We use char because int might match the return type of a gcc2
38220 builtin and then its argument prototype would still apply. */
38221 char inet_addr ();
38222 int
38223 main ()
38224 {
38225 inet_addr ();
38226 ;
38227 return 0;
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 ac_cv_lib_resolv_inet_addr=yes
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 ac_cv_lib_resolv_inet_addr=no
38257 fi
38258 rm -f conftest.err conftest.$ac_objext \
38259 conftest$ac_exeext conftest.$ac_ext
38260 LIBS=$ac_check_lib_save_LIBS
38261 fi
38262 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38263 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38264 if test $ac_cv_lib_resolv_inet_addr = yes; then
38265 INET_LINK="resolv"
38266 else
38267
38268 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38269 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38270 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38271 echo $ECHO_N "(cached) $ECHO_C" >&6
38272 else
38273 ac_check_lib_save_LIBS=$LIBS
38274 LIBS="-lsocket $LIBS"
38275 cat >conftest.$ac_ext <<_ACEOF
38276 /* confdefs.h. */
38277 _ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38281
38282 /* Override any gcc2 internal prototype to avoid an error. */
38283 #ifdef __cplusplus
38284 extern "C"
38285 #endif
38286 /* We use char because int might match the return type of a gcc2
38287 builtin and then its argument prototype would still apply. */
38288 char inet_addr ();
38289 int
38290 main ()
38291 {
38292 inet_addr ();
38293 ;
38294 return 0;
38295 }
38296 _ACEOF
38297 rm -f conftest.$ac_objext conftest$ac_exeext
38298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38299 (eval $ac_link) 2>conftest.er1
38300 ac_status=$?
38301 grep -v '^ *+' conftest.er1 >conftest.err
38302 rm -f conftest.er1
38303 cat conftest.err >&5
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); } &&
38306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; } &&
38312 { ac_try='test -s conftest$ac_exeext'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38315 ac_status=$?
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; }; then
38318 ac_cv_lib_socket_inet_addr=yes
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38322
38323 ac_cv_lib_socket_inet_addr=no
38324 fi
38325 rm -f conftest.err conftest.$ac_objext \
38326 conftest$ac_exeext conftest.$ac_ext
38327 LIBS=$ac_check_lib_save_LIBS
38328 fi
38329 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38330 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38331 if test $ac_cv_lib_socket_inet_addr = yes; then
38332 INET_LINK="socket"
38333
38334 fi
38335
38336
38337
38338 fi
38339
38340
38341
38342 fi
38343
38344
38345
38346 fi
38347 done
38348
38349
38350
38351 for ac_func in inet_aton
38352 do
38353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38354 echo "$as_me:$LINENO: checking for $ac_func" >&5
38355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38356 if eval "test \"\${$as_ac_var+set}\" = set"; then
38357 echo $ECHO_N "(cached) $ECHO_C" >&6
38358 else
38359 cat >conftest.$ac_ext <<_ACEOF
38360 /* confdefs.h. */
38361 _ACEOF
38362 cat confdefs.h >>conftest.$ac_ext
38363 cat >>conftest.$ac_ext <<_ACEOF
38364 /* end confdefs.h. */
38365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38367 #define $ac_func innocuous_$ac_func
38368
38369 /* System header to define __stub macros and hopefully few prototypes,
38370 which can conflict with char $ac_func (); below.
38371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38372 <limits.h> exists even on freestanding compilers. */
38373
38374 #ifdef __STDC__
38375 # include <limits.h>
38376 #else
38377 # include <assert.h>
38378 #endif
38379
38380 #undef $ac_func
38381
38382 /* Override any gcc2 internal prototype to avoid an error. */
38383 #ifdef __cplusplus
38384 extern "C"
38385 {
38386 #endif
38387 /* We use char because int might match the return type of a gcc2
38388 builtin and then its argument prototype would still apply. */
38389 char $ac_func ();
38390 /* The GNU C library defines this for functions which it implements
38391 to always fail with ENOSYS. Some functions are actually named
38392 something starting with __ and the normal name is an alias. */
38393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38394 choke me
38395 #else
38396 char (*f) () = $ac_func;
38397 #endif
38398 #ifdef __cplusplus
38399 }
38400 #endif
38401
38402 int
38403 main ()
38404 {
38405 return f != $ac_func;
38406 ;
38407 return 0;
38408 }
38409 _ACEOF
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38412 (eval $ac_link) 2>conftest.er1
38413 ac_status=$?
38414 grep -v '^ *+' conftest.er1 >conftest.err
38415 rm -f conftest.er1
38416 cat conftest.err >&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } &&
38419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38422 ac_status=$?
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; } &&
38425 { ac_try='test -s conftest$ac_exeext'
38426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38427 (eval $ac_try) 2>&5
38428 ac_status=$?
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); }; }; then
38431 eval "$as_ac_var=yes"
38432 else
38433 echo "$as_me: failed program was:" >&5
38434 sed 's/^/| /' conftest.$ac_ext >&5
38435
38436 eval "$as_ac_var=no"
38437 fi
38438 rm -f conftest.err conftest.$ac_objext \
38439 conftest$ac_exeext conftest.$ac_ext
38440 fi
38441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38443 if test `eval echo '${'$as_ac_var'}'` = yes; then
38444 cat >>confdefs.h <<_ACEOF
38445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38446 _ACEOF
38447 cat >>confdefs.h <<\_ACEOF
38448 #define HAVE_INET_ATON 1
38449 _ACEOF
38450
38451 else
38452
38453 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38454 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38455 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38456 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38457 echo $ECHO_N "(cached) $ECHO_C" >&6
38458 else
38459 ac_check_lib_save_LIBS=$LIBS
38460 LIBS="-l$INET_LINK $LIBS"
38461 cat >conftest.$ac_ext <<_ACEOF
38462 /* confdefs.h. */
38463 _ACEOF
38464 cat confdefs.h >>conftest.$ac_ext
38465 cat >>conftest.$ac_ext <<_ACEOF
38466 /* end confdefs.h. */
38467
38468 /* Override any gcc2 internal prototype to avoid an error. */
38469 #ifdef __cplusplus
38470 extern "C"
38471 #endif
38472 /* We use char because int might match the return type of a gcc2
38473 builtin and then its argument prototype would still apply. */
38474 char inet_aton ();
38475 int
38476 main ()
38477 {
38478 inet_aton ();
38479 ;
38480 return 0;
38481 }
38482 _ACEOF
38483 rm -f conftest.$ac_objext conftest$ac_exeext
38484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38485 (eval $ac_link) 2>conftest.er1
38486 ac_status=$?
38487 grep -v '^ *+' conftest.er1 >conftest.err
38488 rm -f conftest.er1
38489 cat conftest.err >&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); } &&
38492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38495 ac_status=$?
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; } &&
38498 { ac_try='test -s conftest$ac_exeext'
38499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38500 (eval $ac_try) 2>&5
38501 ac_status=$?
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); }; }; then
38504 eval "$as_ac_Lib=yes"
38505 else
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38508
38509 eval "$as_ac_Lib=no"
38510 fi
38511 rm -f conftest.err conftest.$ac_objext \
38512 conftest$ac_exeext conftest.$ac_ext
38513 LIBS=$ac_check_lib_save_LIBS
38514 fi
38515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38516 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38517 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38518 cat >>confdefs.h <<\_ACEOF
38519 #define HAVE_INET_ATON 1
38520 _ACEOF
38521
38522 fi
38523
38524
38525 fi
38526 done
38527
38528
38529 if test "x$INET_LINK" != "x"; then
38530 cat >>confdefs.h <<\_ACEOF
38531 #define HAVE_INET_ADDR 1
38532 _ACEOF
38533
38534 INET_LINK=" -l$INET_LINK"
38535 fi
38536
38537
38538 for wx_func in fdopen
38539 do
38540 echo "$as_me:$LINENO: checking for $wx_func" >&5
38541 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38542 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38543 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 else
38545
38546 cat >conftest.$ac_ext <<_ACEOF
38547
38548 /* confdefs.h. */
38549 _ACEOF
38550 cat confdefs.h >>conftest.$ac_ext
38551 cat >>conftest.$ac_ext <<_ACEOF
38552 /* end confdefs.h. */
38553
38554
38555 $ac_includes_default
38556
38557 int
38558 main ()
38559 {
38560
38561 #ifndef $wx_func
38562 &$wx_func;
38563 #endif
38564
38565
38566 ;
38567 return 0;
38568 }
38569
38570 _ACEOF
38571 rm -f conftest.$ac_objext conftest$ac_exeext
38572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38573 (eval $ac_link) 2>conftest.er1
38574 ac_status=$?
38575 grep -v '^ *+' conftest.er1 >conftest.err
38576 rm -f conftest.er1
38577 cat conftest.err >&5
38578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579 (exit $ac_status); } &&
38580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38582 (eval $ac_try) 2>&5
38583 ac_status=$?
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); }; } &&
38586 { ac_try='test -s conftest$ac_exeext'
38587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38588 (eval $ac_try) 2>&5
38589 ac_status=$?
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); }; }; then
38592 eval wx_cv_func_$wx_func=yes
38593 else
38594 echo "$as_me: failed program was:" >&5
38595 sed 's/^/| /' conftest.$ac_ext >&5
38596
38597 eval wx_cv_func_$wx_func=no
38598 fi
38599 rm -f conftest.err conftest.$ac_objext \
38600 conftest$ac_exeext conftest.$ac_ext
38601
38602 fi
38603 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38604 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38605
38606 if eval test \$wx_cv_func_$wx_func = yes
38607 then
38608 cat >>confdefs.h <<_ACEOF
38609 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38610 _ACEOF
38611
38612
38613 else
38614 :
38615
38616 fi
38617 done
38618
38619
38620 fi
38621
38622
38623
38624
38625 EXTRALIBS_ESD=
38626 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38627 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38628 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 else
38631 ac_check_lib_save_LIBS=$LIBS
38632 LIBS="-lesd $LIBS"
38633 cat >conftest.$ac_ext <<_ACEOF
38634 /* confdefs.h. */
38635 _ACEOF
38636 cat confdefs.h >>conftest.$ac_ext
38637 cat >>conftest.$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38639
38640 /* Override any gcc2 internal prototype to avoid an error. */
38641 #ifdef __cplusplus
38642 extern "C"
38643 #endif
38644 /* We use char because int might match the return type of a gcc2
38645 builtin and then its argument prototype would still apply. */
38646 char esd_close ();
38647 int
38648 main ()
38649 {
38650 esd_close ();
38651 ;
38652 return 0;
38653 }
38654 _ACEOF
38655 rm -f conftest.$ac_objext conftest$ac_exeext
38656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38657 (eval $ac_link) 2>conftest.er1
38658 ac_status=$?
38659 grep -v '^ *+' conftest.er1 >conftest.err
38660 rm -f conftest.er1
38661 cat conftest.err >&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); } &&
38664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38666 (eval $ac_try) 2>&5
38667 ac_status=$?
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); }; } &&
38670 { ac_try='test -s conftest$ac_exeext'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38673 ac_status=$?
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; }; then
38676 ac_cv_lib_esd_esd_close=yes
38677 else
38678 echo "$as_me: failed program was:" >&5
38679 sed 's/^/| /' conftest.$ac_ext >&5
38680
38681 ac_cv_lib_esd_esd_close=no
38682 fi
38683 rm -f conftest.err conftest.$ac_objext \
38684 conftest$ac_exeext conftest.$ac_ext
38685 LIBS=$ac_check_lib_save_LIBS
38686 fi
38687 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38688 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38689 if test $ac_cv_lib_esd_esd_close = yes; then
38690
38691
38692 for ac_header in esd.h
38693 do
38694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38696 echo "$as_me:$LINENO: checking for $ac_header" >&5
38697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38700 fi
38701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38703 else
38704 # Is the header compilable?
38705 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38707 cat >conftest.$ac_ext <<_ACEOF
38708 /* confdefs.h. */
38709 _ACEOF
38710 cat confdefs.h >>conftest.$ac_ext
38711 cat >>conftest.$ac_ext <<_ACEOF
38712 /* end confdefs.h. */
38713 $ac_includes_default
38714 #include <$ac_header>
38715 _ACEOF
38716 rm -f conftest.$ac_objext
38717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38718 (eval $ac_compile) 2>conftest.er1
38719 ac_status=$?
38720 grep -v '^ *+' conftest.er1 >conftest.err
38721 rm -f conftest.er1
38722 cat conftest.err >&5
38723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38724 (exit $ac_status); } &&
38725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38727 (eval $ac_try) 2>&5
38728 ac_status=$?
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); }; } &&
38731 { ac_try='test -s conftest.$ac_objext'
38732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733 (eval $ac_try) 2>&5
38734 ac_status=$?
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); }; }; then
38737 ac_header_compiler=yes
38738 else
38739 echo "$as_me: failed program was:" >&5
38740 sed 's/^/| /' conftest.$ac_ext >&5
38741
38742 ac_header_compiler=no
38743 fi
38744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38746 echo "${ECHO_T}$ac_header_compiler" >&6
38747
38748 # Is the header present?
38749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38751 cat >conftest.$ac_ext <<_ACEOF
38752 /* confdefs.h. */
38753 _ACEOF
38754 cat confdefs.h >>conftest.$ac_ext
38755 cat >>conftest.$ac_ext <<_ACEOF
38756 /* end confdefs.h. */
38757 #include <$ac_header>
38758 _ACEOF
38759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38761 ac_status=$?
38762 grep -v '^ *+' conftest.er1 >conftest.err
38763 rm -f conftest.er1
38764 cat conftest.err >&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); } >/dev/null; then
38767 if test -s conftest.err; then
38768 ac_cpp_err=$ac_c_preproc_warn_flag
38769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38770 else
38771 ac_cpp_err=
38772 fi
38773 else
38774 ac_cpp_err=yes
38775 fi
38776 if test -z "$ac_cpp_err"; then
38777 ac_header_preproc=yes
38778 else
38779 echo "$as_me: failed program was:" >&5
38780 sed 's/^/| /' conftest.$ac_ext >&5
38781
38782 ac_header_preproc=no
38783 fi
38784 rm -f conftest.err conftest.$ac_ext
38785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38786 echo "${ECHO_T}$ac_header_preproc" >&6
38787
38788 # So? What about this header?
38789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38790 yes:no: )
38791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38795 ac_header_preproc=yes
38796 ;;
38797 no:yes:* )
38798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38810 (
38811 cat <<\_ASBOX
38812 ## ----------------------------------------- ##
38813 ## Report this to wx-dev@lists.wxwidgets.org ##
38814 ## ----------------------------------------- ##
38815 _ASBOX
38816 ) |
38817 sed "s/^/$as_me: WARNING: /" >&2
38818 ;;
38819 esac
38820 echo "$as_me:$LINENO: checking for $ac_header" >&5
38821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38823 echo $ECHO_N "(cached) $ECHO_C" >&6
38824 else
38825 eval "$as_ac_Header=\$ac_header_preproc"
38826 fi
38827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38829
38830 fi
38831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38832 cat >>confdefs.h <<_ACEOF
38833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38834 _ACEOF
38835
38836 EXTRALIBS_ESD="-lesd"
38837
38838 fi
38839
38840 done
38841
38842
38843 fi
38844
38845
38846
38847 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38848 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38849 cat >conftest.$ac_ext <<_ACEOF
38850 /* confdefs.h. */
38851 _ACEOF
38852 cat confdefs.h >>conftest.$ac_ext
38853 cat >>conftest.$ac_ext <<_ACEOF
38854 /* end confdefs.h. */
38855 #ifdef __linux__
38856 #include <linux/cdrom.h>
38857 #else
38858 /* For Solaris */
38859 #include <sys/cdio.h>
38860 #endif
38861
38862 int
38863 main ()
38864 {
38865 struct cdrom_tocentry entry, old_entry;
38866 ;
38867 return 0;
38868 }
38869 _ACEOF
38870 rm -f conftest.$ac_objext
38871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38872 (eval $ac_compile) 2>conftest.er1
38873 ac_status=$?
38874 grep -v '^ *+' conftest.er1 >conftest.err
38875 rm -f conftest.er1
38876 cat conftest.err >&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } &&
38879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38881 (eval $ac_try) 2>&5
38882 ac_status=$?
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); }; } &&
38885 { ac_try='test -s conftest.$ac_objext'
38886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38887 (eval $ac_try) 2>&5
38888 ac_status=$?
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); }; }; then
38891 echo "$as_me:$LINENO: result: yes" >&5
38892 echo "${ECHO_T}yes" >&6
38893 cat >>confdefs.h <<\_ACEOF
38894 #define HAVE_KNOWN_CDROM_INTERFACE 1
38895 _ACEOF
38896
38897 else
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38900
38901 echo "$as_me:$LINENO: result: no" >&5
38902 echo "${ECHO_T}no" >&6
38903 fi
38904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38905
38906
38907 cat >confcache <<\_ACEOF
38908 # This file is a shell script that caches the results of configure
38909 # tests run on this system so they can be shared between configure
38910 # scripts and configure runs, see configure's option --config-cache.
38911 # It is not useful on other systems. If it contains results you don't
38912 # want to keep, you may remove or edit it.
38913 #
38914 # config.status only pays attention to the cache file if you give it
38915 # the --recheck option to rerun configure.
38916 #
38917 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38918 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38919 # following values.
38920
38921 _ACEOF
38922
38923 # The following way of writing the cache mishandles newlines in values,
38924 # but we know of no workaround that is simple, portable, and efficient.
38925 # So, don't put newlines in cache variables' values.
38926 # Ultrix sh set writes to stderr and can't be redirected directly,
38927 # and sets the high bit in the cache file unless we assign to the vars.
38928 {
38929 (set) 2>&1 |
38930 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38931 *ac_space=\ *)
38932 # `set' does not quote correctly, so add quotes (double-quote
38933 # substitution turns \\\\ into \\, and sed turns \\ into \).
38934 sed -n \
38935 "s/'/'\\\\''/g;
38936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38937 ;;
38938 *)
38939 # `set' quotes correctly as required by POSIX, so do not add quotes.
38940 sed -n \
38941 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38942 ;;
38943 esac;
38944 } |
38945 sed '
38946 t clear
38947 : clear
38948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38949 t end
38950 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38951 : end' >>confcache
38952 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38953 if test -w $cache_file; then
38954 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38955 cat confcache >$cache_file
38956 else
38957 echo "not updating unwritable cache $cache_file"
38958 fi
38959 fi
38960 rm -f confcache
38961
38962
38963 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38964
38965
38966 THREADS_LINK=
38967 THREADS_CFLAGS=
38968
38969 if test "$wxUSE_THREADS" = "yes" ; then
38970 if test "$USE_BEOS" = 1; then
38971 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38972 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38973 wxUSE_THREADS="no"
38974 fi
38975 fi
38976
38977 if test "$wxUSE_THREADS" = "yes" ; then
38978
38979
38980 THREAD_OPTS="-pthread"
38981 case "${host}" in
38982 *-*-solaris2* | *-*-sunos4* )
38983 if test "x$GCC" = "xyes"; then
38984 THREAD_OPTS="-pthreads $THREAD_OPTS"
38985 else
38986 THREAD_OPTS="-mt $THREAD_OPTS"
38987 fi
38988 ;;
38989 *-*-freebsd*)
38990 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38991 ;;
38992 *-*-darwin* | *-*-cygwin* )
38993 THREAD_OPTS=""
38994 ;;
38995 *-*-aix*)
38996 THREAD_OPTS="pthreads"
38997 ;;
38998 *-hp-hpux* )
38999 if test "x$GCC" = "xyes"; then
39000 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39001 THREAD_OPTS=""
39002 else
39003 THREAD_OPTS="-mt"
39004 fi
39005 ;;
39006
39007 *-*-irix* )
39008 if test "x$GCC" = "xyes"; then
39009 THREAD_OPTS=""
39010 fi
39011 ;;
39012
39013 *-*-*UnixWare*)
39014 if test "x$GCC" != "xyes"; then
39015 THREAD_OPTS="-Ethread"
39016 fi
39017 ;;
39018 esac
39019
39020 THREAD_OPTS="$THREAD_OPTS pthread none"
39021
39022 THREADS_OK=no
39023 for flag in $THREAD_OPTS; do
39024 case $flag in
39025 none)
39026 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39027 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39028 ;;
39029
39030 -*)
39031 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39032 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39033 THREADS_CFLAGS="$flag"
39034 ;;
39035
39036 *)
39037 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39038 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39039 THREADS_LINK="-l$flag"
39040 ;;
39041 esac
39042
39043 save_LIBS="$LIBS"
39044 save_CFLAGS="$CFLAGS"
39045 LIBS="$THREADS_LINK $LIBS"
39046 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39047
39048 cat >conftest.$ac_ext <<_ACEOF
39049 /* confdefs.h. */
39050 _ACEOF
39051 cat confdefs.h >>conftest.$ac_ext
39052 cat >>conftest.$ac_ext <<_ACEOF
39053 /* end confdefs.h. */
39054 #include <pthread.h>
39055 int
39056 main ()
39057 {
39058 pthread_create(0,0,0,0);
39059 ;
39060 return 0;
39061 }
39062 _ACEOF
39063 rm -f conftest.$ac_objext conftest$ac_exeext
39064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39065 (eval $ac_link) 2>conftest.er1
39066 ac_status=$?
39067 grep -v '^ *+' conftest.er1 >conftest.err
39068 rm -f conftest.er1
39069 cat conftest.err >&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); } &&
39072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39074 (eval $ac_try) 2>&5
39075 ac_status=$?
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); }; } &&
39078 { ac_try='test -s conftest$ac_exeext'
39079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39080 (eval $ac_try) 2>&5
39081 ac_status=$?
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); }; }; then
39084 THREADS_OK=yes
39085 else
39086 echo "$as_me: failed program was:" >&5
39087 sed 's/^/| /' conftest.$ac_ext >&5
39088
39089 fi
39090 rm -f conftest.err conftest.$ac_objext \
39091 conftest$ac_exeext conftest.$ac_ext
39092
39093 LIBS="$save_LIBS"
39094 CFLAGS="$save_CFLAGS"
39095
39096 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39097 echo "${ECHO_T}$THREADS_OK" >&6
39098 if test "x$THREADS_OK" = "xyes"; then
39099 break;
39100 fi
39101
39102 THREADS_LINK=""
39103 THREADS_CFLAGS=""
39104 done
39105
39106 if test "x$THREADS_OK" != "xyes"; then
39107 wxUSE_THREADS=no
39108 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39109 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39110 else
39111 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39112 LIBS="$THREADS_LINK $LIBS"
39113
39114 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39115 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39116 flag=no
39117 case "${host}" in
39118 *-aix*)
39119 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39120 flag="-D_THREAD_SAFE"
39121 ;;
39122 *-freebsd*)
39123 flag="-D_THREAD_SAFE"
39124 ;;
39125 *-hp-hpux* )
39126 flag="-D_REENTRANT"
39127 if test "x$GCC" != "xyes"; then
39128 flag="$flag -D_RWSTD_MULTI_THREAD"
39129 fi
39130 ;;
39131 *solaris* | alpha*-osf*)
39132 flag="-D_REENTRANT"
39133 ;;
39134 esac
39135 echo "$as_me:$LINENO: result: ${flag}" >&5
39136 echo "${ECHO_T}${flag}" >&6
39137 if test "x$flag" != xno; then
39138 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39139 fi
39140
39141 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39142 fi
39143 fi
39144
39145 if test "$wxUSE_THREADS" = "yes" ; then
39146
39147 for ac_func in thr_setconcurrency
39148 do
39149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39150 echo "$as_me:$LINENO: checking for $ac_func" >&5
39151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39152 if eval "test \"\${$as_ac_var+set}\" = set"; then
39153 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 else
39155 cat >conftest.$ac_ext <<_ACEOF
39156 /* confdefs.h. */
39157 _ACEOF
39158 cat confdefs.h >>conftest.$ac_ext
39159 cat >>conftest.$ac_ext <<_ACEOF
39160 /* end confdefs.h. */
39161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39163 #define $ac_func innocuous_$ac_func
39164
39165 /* System header to define __stub macros and hopefully few prototypes,
39166 which can conflict with char $ac_func (); below.
39167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39168 <limits.h> exists even on freestanding compilers. */
39169
39170 #ifdef __STDC__
39171 # include <limits.h>
39172 #else
39173 # include <assert.h>
39174 #endif
39175
39176 #undef $ac_func
39177
39178 /* Override any gcc2 internal prototype to avoid an error. */
39179 #ifdef __cplusplus
39180 extern "C"
39181 {
39182 #endif
39183 /* We use char because int might match the return type of a gcc2
39184 builtin and then its argument prototype would still apply. */
39185 char $ac_func ();
39186 /* The GNU C library defines this for functions which it implements
39187 to always fail with ENOSYS. Some functions are actually named
39188 something starting with __ and the normal name is an alias. */
39189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39190 choke me
39191 #else
39192 char (*f) () = $ac_func;
39193 #endif
39194 #ifdef __cplusplus
39195 }
39196 #endif
39197
39198 int
39199 main ()
39200 {
39201 return f != $ac_func;
39202 ;
39203 return 0;
39204 }
39205 _ACEOF
39206 rm -f conftest.$ac_objext conftest$ac_exeext
39207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39208 (eval $ac_link) 2>conftest.er1
39209 ac_status=$?
39210 grep -v '^ *+' conftest.er1 >conftest.err
39211 rm -f conftest.er1
39212 cat conftest.err >&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } &&
39215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39217 (eval $ac_try) 2>&5
39218 ac_status=$?
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); }; } &&
39221 { ac_try='test -s conftest$ac_exeext'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39224 ac_status=$?
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; }; then
39227 eval "$as_ac_var=yes"
39228 else
39229 echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.$ac_ext >&5
39231
39232 eval "$as_ac_var=no"
39233 fi
39234 rm -f conftest.err conftest.$ac_objext \
39235 conftest$ac_exeext conftest.$ac_ext
39236 fi
39237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39239 if test `eval echo '${'$as_ac_var'}'` = yes; then
39240 cat >>confdefs.h <<_ACEOF
39241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39242 _ACEOF
39243
39244 fi
39245 done
39246
39247
39248 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39249 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39250 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39251 echo $ECHO_N "(cached) $ECHO_C" >&6
39252 else
39253
39254 cat >conftest.$ac_ext <<_ACEOF
39255 /* confdefs.h. */
39256 _ACEOF
39257 cat confdefs.h >>conftest.$ac_ext
39258 cat >>conftest.$ac_ext <<_ACEOF
39259 /* end confdefs.h. */
39260 #include <pthread.h>
39261 void ThreadCleanupFunc(void *p);
39262
39263 int
39264 main ()
39265 {
39266
39267 void *p;
39268 pthread_cleanup_push(ThreadCleanupFunc, p);
39269 pthread_cleanup_pop(0);
39270
39271 ;
39272 return 0;
39273 }
39274 _ACEOF
39275 rm -f conftest.$ac_objext
39276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39277 (eval $ac_compile) 2>conftest.er1
39278 ac_status=$?
39279 grep -v '^ *+' conftest.er1 >conftest.err
39280 rm -f conftest.er1
39281 cat conftest.err >&5
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); } &&
39284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286 (eval $ac_try) 2>&5
39287 ac_status=$?
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); }; } &&
39290 { ac_try='test -s conftest.$ac_objext'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39293 ac_status=$?
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; }; then
39296
39297 wx_cv_func_pthread_cleanup=yes
39298
39299 else
39300 echo "$as_me: failed program was:" >&5
39301 sed 's/^/| /' conftest.$ac_ext >&5
39302
39303
39304 wx_cv_func_pthread_cleanup=no
39305
39306
39307 fi
39308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39309
39310 fi
39311 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39312 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39313 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39314 cat >>confdefs.h <<\_ACEOF
39315 #define wxHAVE_PTHREAD_CLEANUP 1
39316 _ACEOF
39317
39318 fi
39319
39320
39321 for ac_header in sched.h
39322 do
39323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39325 echo "$as_me:$LINENO: checking for $ac_header" >&5
39326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39328 echo $ECHO_N "(cached) $ECHO_C" >&6
39329 fi
39330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39332 else
39333 # Is the header compilable?
39334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 $ac_includes_default
39343 #include <$ac_header>
39344 _ACEOF
39345 rm -f conftest.$ac_objext
39346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39347 (eval $ac_compile) 2>conftest.er1
39348 ac_status=$?
39349 grep -v '^ *+' conftest.er1 >conftest.err
39350 rm -f conftest.er1
39351 cat conftest.err >&5
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); } &&
39354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39356 (eval $ac_try) 2>&5
39357 ac_status=$?
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); }; } &&
39360 { ac_try='test -s conftest.$ac_objext'
39361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39362 (eval $ac_try) 2>&5
39363 ac_status=$?
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); }; }; then
39366 ac_header_compiler=yes
39367 else
39368 echo "$as_me: failed program was:" >&5
39369 sed 's/^/| /' conftest.$ac_ext >&5
39370
39371 ac_header_compiler=no
39372 fi
39373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39375 echo "${ECHO_T}$ac_header_compiler" >&6
39376
39377 # Is the header present?
39378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 <$ac_header>
39387 _ACEOF
39388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39390 ac_status=$?
39391 grep -v '^ *+' conftest.er1 >conftest.err
39392 rm -f conftest.er1
39393 cat conftest.err >&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); } >/dev/null; then
39396 if test -s conftest.err; then
39397 ac_cpp_err=$ac_c_preproc_warn_flag
39398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39399 else
39400 ac_cpp_err=
39401 fi
39402 else
39403 ac_cpp_err=yes
39404 fi
39405 if test -z "$ac_cpp_err"; then
39406 ac_header_preproc=yes
39407 else
39408 echo "$as_me: failed program was:" >&5
39409 sed 's/^/| /' conftest.$ac_ext >&5
39410
39411 ac_header_preproc=no
39412 fi
39413 rm -f conftest.err conftest.$ac_ext
39414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39415 echo "${ECHO_T}$ac_header_preproc" >&6
39416
39417 # So? What about this header?
39418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39419 yes:no: )
39420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39424 ac_header_preproc=yes
39425 ;;
39426 no:yes:* )
39427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39439 (
39440 cat <<\_ASBOX
39441 ## ----------------------------------------- ##
39442 ## Report this to wx-dev@lists.wxwidgets.org ##
39443 ## ----------------------------------------- ##
39444 _ASBOX
39445 ) |
39446 sed "s/^/$as_me: WARNING: /" >&2
39447 ;;
39448 esac
39449 echo "$as_me:$LINENO: checking for $ac_header" >&5
39450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39452 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 else
39454 eval "$as_ac_Header=\$ac_header_preproc"
39455 fi
39456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39458
39459 fi
39460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39461 cat >>confdefs.h <<_ACEOF
39462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39463 _ACEOF
39464
39465 fi
39466
39467 done
39468
39469 if test "$ac_cv_header_sched_h" = "yes"; then
39470 echo "$as_me:$LINENO: checking for sched_yield" >&5
39471 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39472 if test "${ac_cv_func_sched_yield+set}" = set; then
39473 echo $ECHO_N "(cached) $ECHO_C" >&6
39474 else
39475 cat >conftest.$ac_ext <<_ACEOF
39476 /* confdefs.h. */
39477 _ACEOF
39478 cat confdefs.h >>conftest.$ac_ext
39479 cat >>conftest.$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39483 #define sched_yield innocuous_sched_yield
39484
39485 /* System header to define __stub macros and hopefully few prototypes,
39486 which can conflict with char sched_yield (); below.
39487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39488 <limits.h> exists even on freestanding compilers. */
39489
39490 #ifdef __STDC__
39491 # include <limits.h>
39492 #else
39493 # include <assert.h>
39494 #endif
39495
39496 #undef sched_yield
39497
39498 /* Override any gcc2 internal prototype to avoid an error. */
39499 #ifdef __cplusplus
39500 extern "C"
39501 {
39502 #endif
39503 /* We use char because int might match the return type of a gcc2
39504 builtin and then its argument prototype would still apply. */
39505 char sched_yield ();
39506 /* The GNU C library defines this for functions which it implements
39507 to always fail with ENOSYS. Some functions are actually named
39508 something starting with __ and the normal name is an alias. */
39509 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39510 choke me
39511 #else
39512 char (*f) () = sched_yield;
39513 #endif
39514 #ifdef __cplusplus
39515 }
39516 #endif
39517
39518 int
39519 main ()
39520 {
39521 return f != sched_yield;
39522 ;
39523 return 0;
39524 }
39525 _ACEOF
39526 rm -f conftest.$ac_objext conftest$ac_exeext
39527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39528 (eval $ac_link) 2>conftest.er1
39529 ac_status=$?
39530 grep -v '^ *+' conftest.er1 >conftest.err
39531 rm -f conftest.er1
39532 cat conftest.err >&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); } &&
39535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39537 (eval $ac_try) 2>&5
39538 ac_status=$?
39539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540 (exit $ac_status); }; } &&
39541 { ac_try='test -s conftest$ac_exeext'
39542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39543 (eval $ac_try) 2>&5
39544 ac_status=$?
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); }; }; then
39547 ac_cv_func_sched_yield=yes
39548 else
39549 echo "$as_me: failed program was:" >&5
39550 sed 's/^/| /' conftest.$ac_ext >&5
39551
39552 ac_cv_func_sched_yield=no
39553 fi
39554 rm -f conftest.err conftest.$ac_objext \
39555 conftest$ac_exeext conftest.$ac_ext
39556 fi
39557 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39558 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39559 if test $ac_cv_func_sched_yield = yes; then
39560 cat >>confdefs.h <<\_ACEOF
39561 #define HAVE_SCHED_YIELD 1
39562 _ACEOF
39563
39564 else
39565
39566 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39567 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39568 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39570 else
39571 ac_check_lib_save_LIBS=$LIBS
39572 LIBS="-lposix4 $LIBS"
39573 cat >conftest.$ac_ext <<_ACEOF
39574 /* confdefs.h. */
39575 _ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579
39580 /* Override any gcc2 internal prototype to avoid an error. */
39581 #ifdef __cplusplus
39582 extern "C"
39583 #endif
39584 /* We use char because int might match the return type of a gcc2
39585 builtin and then its argument prototype would still apply. */
39586 char sched_yield ();
39587 int
39588 main ()
39589 {
39590 sched_yield ();
39591 ;
39592 return 0;
39593 }
39594 _ACEOF
39595 rm -f conftest.$ac_objext conftest$ac_exeext
39596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39597 (eval $ac_link) 2>conftest.er1
39598 ac_status=$?
39599 grep -v '^ *+' conftest.er1 >conftest.err
39600 rm -f conftest.er1
39601 cat conftest.err >&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } &&
39604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39606 (eval $ac_try) 2>&5
39607 ac_status=$?
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; } &&
39610 { ac_try='test -s conftest$ac_exeext'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39613 ac_status=$?
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; }; then
39616 ac_cv_lib_posix4_sched_yield=yes
39617 else
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39620
39621 ac_cv_lib_posix4_sched_yield=no
39622 fi
39623 rm -f conftest.err conftest.$ac_objext \
39624 conftest$ac_exeext conftest.$ac_ext
39625 LIBS=$ac_check_lib_save_LIBS
39626 fi
39627 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39628 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39629 if test $ac_cv_lib_posix4_sched_yield = yes; then
39630 cat >>confdefs.h <<\_ACEOF
39631 #define HAVE_SCHED_YIELD 1
39632 _ACEOF
39633 POSIX4_LINK=" -lposix4"
39634 else
39635 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39636 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39637
39638 fi
39639
39640
39641
39642 fi
39643
39644 fi
39645
39646 HAVE_PRIOR_FUNCS=0
39647 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39648 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39649 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39650 echo $ECHO_N "(cached) $ECHO_C" >&6
39651 else
39652 cat >conftest.$ac_ext <<_ACEOF
39653 /* confdefs.h. */
39654 _ACEOF
39655 cat confdefs.h >>conftest.$ac_ext
39656 cat >>conftest.$ac_ext <<_ACEOF
39657 /* end confdefs.h. */
39658 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39660 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39661
39662 /* System header to define __stub macros and hopefully few prototypes,
39663 which can conflict with char pthread_attr_getschedpolicy (); below.
39664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39665 <limits.h> exists even on freestanding compilers. */
39666
39667 #ifdef __STDC__
39668 # include <limits.h>
39669 #else
39670 # include <assert.h>
39671 #endif
39672
39673 #undef pthread_attr_getschedpolicy
39674
39675 /* Override any gcc2 internal prototype to avoid an error. */
39676 #ifdef __cplusplus
39677 extern "C"
39678 {
39679 #endif
39680 /* We use char because int might match the return type of a gcc2
39681 builtin and then its argument prototype would still apply. */
39682 char pthread_attr_getschedpolicy ();
39683 /* The GNU C library defines this for functions which it implements
39684 to always fail with ENOSYS. Some functions are actually named
39685 something starting with __ and the normal name is an alias. */
39686 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39687 choke me
39688 #else
39689 char (*f) () = pthread_attr_getschedpolicy;
39690 #endif
39691 #ifdef __cplusplus
39692 }
39693 #endif
39694
39695 int
39696 main ()
39697 {
39698 return f != pthread_attr_getschedpolicy;
39699 ;
39700 return 0;
39701 }
39702 _ACEOF
39703 rm -f conftest.$ac_objext conftest$ac_exeext
39704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39705 (eval $ac_link) 2>conftest.er1
39706 ac_status=$?
39707 grep -v '^ *+' conftest.er1 >conftest.err
39708 rm -f conftest.er1
39709 cat conftest.err >&5
39710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39711 (exit $ac_status); } &&
39712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39714 (eval $ac_try) 2>&5
39715 ac_status=$?
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); }; } &&
39718 { ac_try='test -s conftest$ac_exeext'
39719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39720 (eval $ac_try) 2>&5
39721 ac_status=$?
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); }; }; then
39724 ac_cv_func_pthread_attr_getschedpolicy=yes
39725 else
39726 echo "$as_me: failed program was:" >&5
39727 sed 's/^/| /' conftest.$ac_ext >&5
39728
39729 ac_cv_func_pthread_attr_getschedpolicy=no
39730 fi
39731 rm -f conftest.err conftest.$ac_objext \
39732 conftest$ac_exeext conftest.$ac_ext
39733 fi
39734 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39735 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39736 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39737 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39738 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39739 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39740 echo $ECHO_N "(cached) $ECHO_C" >&6
39741 else
39742 cat >conftest.$ac_ext <<_ACEOF
39743 /* confdefs.h. */
39744 _ACEOF
39745 cat confdefs.h >>conftest.$ac_ext
39746 cat >>conftest.$ac_ext <<_ACEOF
39747 /* end confdefs.h. */
39748 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39750 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39751
39752 /* System header to define __stub macros and hopefully few prototypes,
39753 which can conflict with char pthread_attr_setschedparam (); below.
39754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39755 <limits.h> exists even on freestanding compilers. */
39756
39757 #ifdef __STDC__
39758 # include <limits.h>
39759 #else
39760 # include <assert.h>
39761 #endif
39762
39763 #undef pthread_attr_setschedparam
39764
39765 /* Override any gcc2 internal prototype to avoid an error. */
39766 #ifdef __cplusplus
39767 extern "C"
39768 {
39769 #endif
39770 /* We use char because int might match the return type of a gcc2
39771 builtin and then its argument prototype would still apply. */
39772 char pthread_attr_setschedparam ();
39773 /* The GNU C library defines this for functions which it implements
39774 to always fail with ENOSYS. Some functions are actually named
39775 something starting with __ and the normal name is an alias. */
39776 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39777 choke me
39778 #else
39779 char (*f) () = pthread_attr_setschedparam;
39780 #endif
39781 #ifdef __cplusplus
39782 }
39783 #endif
39784
39785 int
39786 main ()
39787 {
39788 return f != pthread_attr_setschedparam;
39789 ;
39790 return 0;
39791 }
39792 _ACEOF
39793 rm -f conftest.$ac_objext conftest$ac_exeext
39794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39795 (eval $ac_link) 2>conftest.er1
39796 ac_status=$?
39797 grep -v '^ *+' conftest.er1 >conftest.err
39798 rm -f conftest.er1
39799 cat conftest.err >&5
39800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39801 (exit $ac_status); } &&
39802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804 (eval $ac_try) 2>&5
39805 ac_status=$?
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); }; } &&
39808 { ac_try='test -s conftest$ac_exeext'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39811 ac_status=$?
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; }; then
39814 ac_cv_func_pthread_attr_setschedparam=yes
39815 else
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.$ac_ext >&5
39818
39819 ac_cv_func_pthread_attr_setschedparam=no
39820 fi
39821 rm -f conftest.err conftest.$ac_objext \
39822 conftest$ac_exeext conftest.$ac_ext
39823 fi
39824 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39825 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39826 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39827 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39828 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39829 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39830 echo $ECHO_N "(cached) $ECHO_C" >&6
39831 else
39832 cat >conftest.$ac_ext <<_ACEOF
39833 /* confdefs.h. */
39834 _ACEOF
39835 cat confdefs.h >>conftest.$ac_ext
39836 cat >>conftest.$ac_ext <<_ACEOF
39837 /* end confdefs.h. */
39838 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39840 #define sched_get_priority_max innocuous_sched_get_priority_max
39841
39842 /* System header to define __stub macros and hopefully few prototypes,
39843 which can conflict with char sched_get_priority_max (); below.
39844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39845 <limits.h> exists even on freestanding compilers. */
39846
39847 #ifdef __STDC__
39848 # include <limits.h>
39849 #else
39850 # include <assert.h>
39851 #endif
39852
39853 #undef sched_get_priority_max
39854
39855 /* Override any gcc2 internal prototype to avoid an error. */
39856 #ifdef __cplusplus
39857 extern "C"
39858 {
39859 #endif
39860 /* We use char because int might match the return type of a gcc2
39861 builtin and then its argument prototype would still apply. */
39862 char sched_get_priority_max ();
39863 /* The GNU C library defines this for functions which it implements
39864 to always fail with ENOSYS. Some functions are actually named
39865 something starting with __ and the normal name is an alias. */
39866 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39867 choke me
39868 #else
39869 char (*f) () = sched_get_priority_max;
39870 #endif
39871 #ifdef __cplusplus
39872 }
39873 #endif
39874
39875 int
39876 main ()
39877 {
39878 return f != sched_get_priority_max;
39879 ;
39880 return 0;
39881 }
39882 _ACEOF
39883 rm -f conftest.$ac_objext conftest$ac_exeext
39884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39885 (eval $ac_link) 2>conftest.er1
39886 ac_status=$?
39887 grep -v '^ *+' conftest.er1 >conftest.err
39888 rm -f conftest.er1
39889 cat conftest.err >&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } &&
39892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39895 ac_status=$?
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; } &&
39898 { ac_try='test -s conftest$ac_exeext'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39901 ac_status=$?
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; }; then
39904 ac_cv_func_sched_get_priority_max=yes
39905 else
39906 echo "$as_me: failed program was:" >&5
39907 sed 's/^/| /' conftest.$ac_ext >&5
39908
39909 ac_cv_func_sched_get_priority_max=no
39910 fi
39911 rm -f conftest.err conftest.$ac_objext \
39912 conftest$ac_exeext conftest.$ac_ext
39913 fi
39914 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39915 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39916 if test $ac_cv_func_sched_get_priority_max = yes; then
39917 HAVE_PRIOR_FUNCS=1
39918 else
39919 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39920 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39921 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 else
39924 ac_check_lib_save_LIBS=$LIBS
39925 LIBS="-lposix4 $LIBS"
39926 cat >conftest.$ac_ext <<_ACEOF
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932
39933 /* Override any gcc2 internal prototype to avoid an error. */
39934 #ifdef __cplusplus
39935 extern "C"
39936 #endif
39937 /* We use char because int might match the return type of a gcc2
39938 builtin and then its argument prototype would still apply. */
39939 char sched_get_priority_max ();
39940 int
39941 main ()
39942 {
39943 sched_get_priority_max ();
39944 ;
39945 return 0;
39946 }
39947 _ACEOF
39948 rm -f conftest.$ac_objext conftest$ac_exeext
39949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39950 (eval $ac_link) 2>conftest.er1
39951 ac_status=$?
39952 grep -v '^ *+' conftest.er1 >conftest.err
39953 rm -f conftest.er1
39954 cat conftest.err >&5
39955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39956 (exit $ac_status); } &&
39957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959 (eval $ac_try) 2>&5
39960 ac_status=$?
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); }; } &&
39963 { ac_try='test -s conftest$ac_exeext'
39964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965 (eval $ac_try) 2>&5
39966 ac_status=$?
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); }; }; then
39969 ac_cv_lib_posix4_sched_get_priority_max=yes
39970 else
39971 echo "$as_me: failed program was:" >&5
39972 sed 's/^/| /' conftest.$ac_ext >&5
39973
39974 ac_cv_lib_posix4_sched_get_priority_max=no
39975 fi
39976 rm -f conftest.err conftest.$ac_objext \
39977 conftest$ac_exeext conftest.$ac_ext
39978 LIBS=$ac_check_lib_save_LIBS
39979 fi
39980 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39981 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39982 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39983
39984 HAVE_PRIOR_FUNCS=1
39985 POSIX4_LINK=" -lposix4"
39986
39987 fi
39988
39989
39990 fi
39991
39992
39993 fi
39994
39995
39996 fi
39997
39998
39999 if test "$HAVE_PRIOR_FUNCS" = 1; then
40000 cat >>confdefs.h <<\_ACEOF
40001 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40002 _ACEOF
40003
40004 else
40005 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40006 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40007 fi
40008
40009 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40010 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40011 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40012 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 else
40014 cat >conftest.$ac_ext <<_ACEOF
40015 /* confdefs.h. */
40016 _ACEOF
40017 cat confdefs.h >>conftest.$ac_ext
40018 cat >>conftest.$ac_ext <<_ACEOF
40019 /* end confdefs.h. */
40020 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40022 #define pthread_cancel innocuous_pthread_cancel
40023
40024 /* System header to define __stub macros and hopefully few prototypes,
40025 which can conflict with char pthread_cancel (); below.
40026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40027 <limits.h> exists even on freestanding compilers. */
40028
40029 #ifdef __STDC__
40030 # include <limits.h>
40031 #else
40032 # include <assert.h>
40033 #endif
40034
40035 #undef pthread_cancel
40036
40037 /* Override any gcc2 internal prototype to avoid an error. */
40038 #ifdef __cplusplus
40039 extern "C"
40040 {
40041 #endif
40042 /* We use char because int might match the return type of a gcc2
40043 builtin and then its argument prototype would still apply. */
40044 char pthread_cancel ();
40045 /* The GNU C library defines this for functions which it implements
40046 to always fail with ENOSYS. Some functions are actually named
40047 something starting with __ and the normal name is an alias. */
40048 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40049 choke me
40050 #else
40051 char (*f) () = pthread_cancel;
40052 #endif
40053 #ifdef __cplusplus
40054 }
40055 #endif
40056
40057 int
40058 main ()
40059 {
40060 return f != pthread_cancel;
40061 ;
40062 return 0;
40063 }
40064 _ACEOF
40065 rm -f conftest.$ac_objext conftest$ac_exeext
40066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40067 (eval $ac_link) 2>conftest.er1
40068 ac_status=$?
40069 grep -v '^ *+' conftest.er1 >conftest.err
40070 rm -f conftest.er1
40071 cat conftest.err >&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); } &&
40074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076 (eval $ac_try) 2>&5
40077 ac_status=$?
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); }; } &&
40080 { ac_try='test -s conftest$ac_exeext'
40081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40082 (eval $ac_try) 2>&5
40083 ac_status=$?
40084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085 (exit $ac_status); }; }; then
40086 ac_cv_func_pthread_cancel=yes
40087 else
40088 echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.$ac_ext >&5
40090
40091 ac_cv_func_pthread_cancel=no
40092 fi
40093 rm -f conftest.err conftest.$ac_objext \
40094 conftest$ac_exeext conftest.$ac_ext
40095 fi
40096 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40097 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40098 if test $ac_cv_func_pthread_cancel = yes; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_PTHREAD_CANCEL 1
40101 _ACEOF
40102
40103 else
40104 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40105 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40106 fi
40107
40108
40109 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40110 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40111 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40112 echo $ECHO_N "(cached) $ECHO_C" >&6
40113 else
40114 cat >conftest.$ac_ext <<_ACEOF
40115 /* confdefs.h. */
40116 _ACEOF
40117 cat confdefs.h >>conftest.$ac_ext
40118 cat >>conftest.$ac_ext <<_ACEOF
40119 /* end confdefs.h. */
40120 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40122 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40123
40124 /* System header to define __stub macros and hopefully few prototypes,
40125 which can conflict with char pthread_attr_setstacksize (); below.
40126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40127 <limits.h> exists even on freestanding compilers. */
40128
40129 #ifdef __STDC__
40130 # include <limits.h>
40131 #else
40132 # include <assert.h>
40133 #endif
40134
40135 #undef pthread_attr_setstacksize
40136
40137 /* Override any gcc2 internal prototype to avoid an error. */
40138 #ifdef __cplusplus
40139 extern "C"
40140 {
40141 #endif
40142 /* We use char because int might match the return type of a gcc2
40143 builtin and then its argument prototype would still apply. */
40144 char pthread_attr_setstacksize ();
40145 /* The GNU C library defines this for functions which it implements
40146 to always fail with ENOSYS. Some functions are actually named
40147 something starting with __ and the normal name is an alias. */
40148 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40149 choke me
40150 #else
40151 char (*f) () = pthread_attr_setstacksize;
40152 #endif
40153 #ifdef __cplusplus
40154 }
40155 #endif
40156
40157 int
40158 main ()
40159 {
40160 return f != pthread_attr_setstacksize;
40161 ;
40162 return 0;
40163 }
40164 _ACEOF
40165 rm -f conftest.$ac_objext conftest$ac_exeext
40166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40167 (eval $ac_link) 2>conftest.er1
40168 ac_status=$?
40169 grep -v '^ *+' conftest.er1 >conftest.err
40170 rm -f conftest.er1
40171 cat conftest.err >&5
40172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40173 (exit $ac_status); } &&
40174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40176 (eval $ac_try) 2>&5
40177 ac_status=$?
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); }; } &&
40180 { ac_try='test -s conftest$ac_exeext'
40181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182 (eval $ac_try) 2>&5
40183 ac_status=$?
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); }; }; then
40186 ac_cv_func_pthread_attr_setstacksize=yes
40187 else
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40190
40191 ac_cv_func_pthread_attr_setstacksize=no
40192 fi
40193 rm -f conftest.err conftest.$ac_objext \
40194 conftest$ac_exeext conftest.$ac_ext
40195 fi
40196 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40197 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40198 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40199 cat >>confdefs.h <<\_ACEOF
40200 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40201 _ACEOF
40202
40203 fi
40204
40205
40206
40207 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40208 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40209 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40210 echo $ECHO_N "(cached) $ECHO_C" >&6
40211 else
40212
40213 cat >conftest.$ac_ext <<_ACEOF
40214 /* confdefs.h. */
40215 _ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219 #include <pthread.h>
40220 int
40221 main ()
40222 {
40223
40224 pthread_mutexattr_t attr;
40225 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40226
40227 ;
40228 return 0;
40229 }
40230 _ACEOF
40231 rm -f conftest.$ac_objext
40232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40233 (eval $ac_compile) 2>conftest.er1
40234 ac_status=$?
40235 grep -v '^ *+' conftest.er1 >conftest.err
40236 rm -f conftest.er1
40237 cat conftest.err >&5
40238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40239 (exit $ac_status); } &&
40240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40242 (eval $ac_try) 2>&5
40243 ac_status=$?
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); }; } &&
40246 { ac_try='test -s conftest.$ac_objext'
40247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40248 (eval $ac_try) 2>&5
40249 ac_status=$?
40250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251 (exit $ac_status); }; }; then
40252 wx_cv_type_pthread_mutexattr_t=yes
40253 else
40254 echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40256
40257 wx_cv_type_pthread_mutexattr_t=no
40258
40259 fi
40260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40261
40262 fi
40263 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40264 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40265
40266 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40267 cat >>confdefs.h <<\_ACEOF
40268 #define HAVE_PTHREAD_MUTEXATTR_T 1
40269 _ACEOF
40270
40271
40272 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40273 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40274 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40275 echo $ECHO_N "(cached) $ECHO_C" >&6
40276 else
40277
40278 cat >conftest.$ac_ext <<_ACEOF
40279 /* confdefs.h. */
40280 _ACEOF
40281 cat confdefs.h >>conftest.$ac_ext
40282 cat >>conftest.$ac_ext <<_ACEOF
40283 /* end confdefs.h. */
40284 #include <pthread.h>
40285 int
40286 main ()
40287 {
40288
40289 pthread_mutexattr_t attr;
40290 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40291
40292 ;
40293 return 0;
40294 }
40295 _ACEOF
40296 rm -f conftest.$ac_objext
40297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40298 (eval $ac_compile) 2>conftest.er1
40299 ac_status=$?
40300 grep -v '^ *+' conftest.er1 >conftest.err
40301 rm -f conftest.er1
40302 cat conftest.err >&5
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); } &&
40305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40307 (eval $ac_try) 2>&5
40308 ac_status=$?
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); }; } &&
40311 { ac_try='test -s conftest.$ac_objext'
40312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40313 (eval $ac_try) 2>&5
40314 ac_status=$?
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); }; }; then
40317 wx_cv_func_pthread_mutexattr_settype_decl=yes
40318 else
40319 echo "$as_me: failed program was:" >&5
40320 sed 's/^/| /' conftest.$ac_ext >&5
40321
40322 wx_cv_func_pthread_mutexattr_settype_decl=no
40323
40324 fi
40325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40326
40327 fi
40328 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40329 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40330 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40331 cat >>confdefs.h <<\_ACEOF
40332 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40333 _ACEOF
40334
40335 fi
40336 else
40337 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40338 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40339 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40340 echo $ECHO_N "(cached) $ECHO_C" >&6
40341 else
40342
40343 cat >conftest.$ac_ext <<_ACEOF
40344 /* confdefs.h. */
40345 _ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 #include <pthread.h>
40350 int
40351 main ()
40352 {
40353
40354 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40355
40356 ;
40357 return 0;
40358 }
40359 _ACEOF
40360 rm -f conftest.$ac_objext
40361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40362 (eval $ac_compile) 2>conftest.er1
40363 ac_status=$?
40364 grep -v '^ *+' conftest.er1 >conftest.err
40365 rm -f conftest.er1
40366 cat conftest.err >&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } &&
40369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40371 (eval $ac_try) 2>&5
40372 ac_status=$?
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); }; } &&
40375 { ac_try='test -s conftest.$ac_objext'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40378 ac_status=$?
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; }; then
40381
40382 wx_cv_type_pthread_rec_mutex_init=yes
40383
40384 else
40385 echo "$as_me: failed program was:" >&5
40386 sed 's/^/| /' conftest.$ac_ext >&5
40387
40388
40389 wx_cv_type_pthread_rec_mutex_init=no
40390
40391
40392 fi
40393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40394
40395 fi
40396 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40397 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40398 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40399 cat >>confdefs.h <<\_ACEOF
40400 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40401 _ACEOF
40402
40403 else
40404 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40405 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40406 fi
40407 fi
40408 fi
40409
40410 else
40411 if test "$wxUSE_THREADS" = "yes" ; then
40412 case "${host}" in
40413 *-*-mingw32* )
40414 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40415 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40416 if test "${wx_cv_cflags_mthread+set}" = set; then
40417 echo $ECHO_N "(cached) $ECHO_C" >&6
40418 else
40419
40420 CFLAGS_OLD="$CFLAGS"
40421 CFLAGS="-mthreads $CFLAGS"
40422 cat >conftest.$ac_ext <<_ACEOF
40423 /* confdefs.h. */
40424 _ACEOF
40425 cat confdefs.h >>conftest.$ac_ext
40426 cat >>conftest.$ac_ext <<_ACEOF
40427 /* end confdefs.h. */
40428
40429 int
40430 main ()
40431 {
40432
40433 ;
40434 return 0;
40435 }
40436 _ACEOF
40437 rm -f conftest.$ac_objext
40438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40439 (eval $ac_compile) 2>conftest.er1
40440 ac_status=$?
40441 grep -v '^ *+' conftest.er1 >conftest.err
40442 rm -f conftest.er1
40443 cat conftest.err >&5
40444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40445 (exit $ac_status); } &&
40446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448 (eval $ac_try) 2>&5
40449 ac_status=$?
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); }; } &&
40452 { ac_try='test -s conftest.$ac_objext'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40455 ac_status=$?
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; }; then
40458 wx_cv_cflags_mthread=yes
40459 else
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.$ac_ext >&5
40462
40463 wx_cv_cflags_mthread=no
40464
40465 fi
40466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40467
40468
40469 fi
40470 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40471 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40472
40473 if test "$wx_cv_cflags_mthread" = "yes"; then
40474 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40475 LDFLAGS="$LDFLAGS -mthreads"
40476 else
40477 CFLAGS="$CFLAGS_OLD"
40478 fi
40479 ;;
40480 *-pc-os2*emx )
40481 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40482 LDFLAGS="$LDFLAGS -Zmt"
40483 ;;
40484 esac
40485 fi
40486 fi
40487
40488 echo "$as_me:$LINENO: checking for localtime_r" >&5
40489 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40490 if test "${ac_cv_func_localtime_r+set}" = set; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 else
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40501 #define localtime_r innocuous_localtime_r
40502
40503 /* System header to define __stub macros and hopefully few prototypes,
40504 which can conflict with char localtime_r (); below.
40505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40506 <limits.h> exists even on freestanding compilers. */
40507
40508 #ifdef __STDC__
40509 # include <limits.h>
40510 #else
40511 # include <assert.h>
40512 #endif
40513
40514 #undef localtime_r
40515
40516 /* Override any gcc2 internal prototype to avoid an error. */
40517 #ifdef __cplusplus
40518 extern "C"
40519 {
40520 #endif
40521 /* We use char because int might match the return type of a gcc2
40522 builtin and then its argument prototype would still apply. */
40523 char localtime_r ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40528 choke me
40529 #else
40530 char (*f) () = localtime_r;
40531 #endif
40532 #ifdef __cplusplus
40533 }
40534 #endif
40535
40536 int
40537 main ()
40538 {
40539 return f != localtime_r;
40540 ;
40541 return 0;
40542 }
40543 _ACEOF
40544 rm -f conftest.$ac_objext conftest$ac_exeext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40546 (eval $ac_link) 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40555 (eval $ac_try) 2>&5
40556 ac_status=$?
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); }; } &&
40559 { ac_try='test -s conftest$ac_exeext'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40562 ac_status=$?
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; }; then
40565 ac_cv_func_localtime_r=yes
40566 else
40567 echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.$ac_ext >&5
40569
40570 ac_cv_func_localtime_r=no
40571 fi
40572 rm -f conftest.err conftest.$ac_objext \
40573 conftest$ac_exeext conftest.$ac_ext
40574 fi
40575 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40576 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40577 if test $ac_cv_func_localtime_r = yes; then
40578 cat >>confdefs.h <<\_ACEOF
40579 #define HAVE_LOCALTIME_R 1
40580 _ACEOF
40581
40582 fi
40583
40584 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40585 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40586 if test "${ac_cv_func_gmtime_r+set}" = set; then
40587 echo $ECHO_N "(cached) $ECHO_C" >&6
40588 else
40589 cat >conftest.$ac_ext <<_ACEOF
40590 /* confdefs.h. */
40591 _ACEOF
40592 cat confdefs.h >>conftest.$ac_ext
40593 cat >>conftest.$ac_ext <<_ACEOF
40594 /* end confdefs.h. */
40595 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40597 #define gmtime_r innocuous_gmtime_r
40598
40599 /* System header to define __stub macros and hopefully few prototypes,
40600 which can conflict with char gmtime_r (); below.
40601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40602 <limits.h> exists even on freestanding compilers. */
40603
40604 #ifdef __STDC__
40605 # include <limits.h>
40606 #else
40607 # include <assert.h>
40608 #endif
40609
40610 #undef gmtime_r
40611
40612 /* Override any gcc2 internal prototype to avoid an error. */
40613 #ifdef __cplusplus
40614 extern "C"
40615 {
40616 #endif
40617 /* We use char because int might match the return type of a gcc2
40618 builtin and then its argument prototype would still apply. */
40619 char gmtime_r ();
40620 /* The GNU C library defines this for functions which it implements
40621 to always fail with ENOSYS. Some functions are actually named
40622 something starting with __ and the normal name is an alias. */
40623 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40624 choke me
40625 #else
40626 char (*f) () = gmtime_r;
40627 #endif
40628 #ifdef __cplusplus
40629 }
40630 #endif
40631
40632 int
40633 main ()
40634 {
40635 return f != gmtime_r;
40636 ;
40637 return 0;
40638 }
40639 _ACEOF
40640 rm -f conftest.$ac_objext conftest$ac_exeext
40641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40642 (eval $ac_link) 2>conftest.er1
40643 ac_status=$?
40644 grep -v '^ *+' conftest.er1 >conftest.err
40645 rm -f conftest.er1
40646 cat conftest.err >&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } &&
40649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40651 (eval $ac_try) 2>&5
40652 ac_status=$?
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); }; } &&
40655 { ac_try='test -s conftest$ac_exeext'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40658 ac_status=$?
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; }; then
40661 ac_cv_func_gmtime_r=yes
40662 else
40663 echo "$as_me: failed program was:" >&5
40664 sed 's/^/| /' conftest.$ac_ext >&5
40665
40666 ac_cv_func_gmtime_r=no
40667 fi
40668 rm -f conftest.err conftest.$ac_objext \
40669 conftest$ac_exeext conftest.$ac_ext
40670 fi
40671 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40672 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40673 if test $ac_cv_func_gmtime_r = yes; then
40674 cat >>confdefs.h <<\_ACEOF
40675 #define HAVE_GMTIME_R 1
40676 _ACEOF
40677
40678 fi
40679
40680 echo "$as_me:$LINENO: checking for readdir_r" >&5
40681 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40682 if test "${ac_cv_func_readdir_r+set}" = set; then
40683 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 else
40685 cat >conftest.$ac_ext <<_ACEOF
40686 /* confdefs.h. */
40687 _ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40693 #define readdir_r innocuous_readdir_r
40694
40695 /* System header to define __stub macros and hopefully few prototypes,
40696 which can conflict with char readdir_r (); below.
40697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40698 <limits.h> exists even on freestanding compilers. */
40699
40700 #ifdef __STDC__
40701 # include <limits.h>
40702 #else
40703 # include <assert.h>
40704 #endif
40705
40706 #undef readdir_r
40707
40708 /* Override any gcc2 internal prototype to avoid an error. */
40709 #ifdef __cplusplus
40710 extern "C"
40711 {
40712 #endif
40713 /* We use char because int might match the return type of a gcc2
40714 builtin and then its argument prototype would still apply. */
40715 char readdir_r ();
40716 /* The GNU C library defines this for functions which it implements
40717 to always fail with ENOSYS. Some functions are actually named
40718 something starting with __ and the normal name is an alias. */
40719 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40720 choke me
40721 #else
40722 char (*f) () = readdir_r;
40723 #endif
40724 #ifdef __cplusplus
40725 }
40726 #endif
40727
40728 int
40729 main ()
40730 {
40731 return f != readdir_r;
40732 ;
40733 return 0;
40734 }
40735 _ACEOF
40736 rm -f conftest.$ac_objext conftest$ac_exeext
40737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40738 (eval $ac_link) 2>conftest.er1
40739 ac_status=$?
40740 grep -v '^ *+' conftest.er1 >conftest.err
40741 rm -f conftest.er1
40742 cat conftest.err >&5
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); } &&
40745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40747 (eval $ac_try) 2>&5
40748 ac_status=$?
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); }; } &&
40751 { ac_try='test -s conftest$ac_exeext'
40752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40753 (eval $ac_try) 2>&5
40754 ac_status=$?
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); }; }; then
40757 ac_cv_func_readdir_r=yes
40758 else
40759 echo "$as_me: failed program was:" >&5
40760 sed 's/^/| /' conftest.$ac_ext >&5
40761
40762 ac_cv_func_readdir_r=no
40763 fi
40764 rm -f conftest.err conftest.$ac_objext \
40765 conftest$ac_exeext conftest.$ac_ext
40766 fi
40767 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40768 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40769 if test $ac_cv_func_readdir_r = yes; then
40770 cat >>confdefs.h <<\_ACEOF
40771 #define HAVE_READDIR_R 1
40772 _ACEOF
40773
40774 fi
40775
40776
40777
40778
40779 ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784
40785 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40786 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40787
40788 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 else
40791
40792
40793 ################################################################
40794
40795 ac_cv_func_which_gethostbyname_r=unknown
40796
40797 #
40798 # ONE ARGUMENT (sanity check)
40799 #
40800
40801 # This should fail, as there is no variant of gethostbyname_r() that takes
40802 # a single argument. If it actually compiles, then we can assume that
40803 # netdb.h is not declaring the function, and the compiler is thereby
40804 # assuming an implicit prototype. In which case, we're out of luck.
40805 #
40806 cat >conftest.$ac_ext <<_ACEOF
40807 /* confdefs.h. */
40808 _ACEOF
40809 cat confdefs.h >>conftest.$ac_ext
40810 cat >>conftest.$ac_ext <<_ACEOF
40811 /* end confdefs.h. */
40812 #include <netdb.h>
40813 int
40814 main ()
40815 {
40816
40817 char *name = "www.gnu.org";
40818 (void)gethostbyname_r(name) /* ; */
40819
40820 ;
40821 return 0;
40822 }
40823 _ACEOF
40824 rm -f conftest.$ac_objext
40825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40826 (eval $ac_compile) 2>conftest.er1
40827 ac_status=$?
40828 grep -v '^ *+' conftest.er1 >conftest.err
40829 rm -f conftest.er1
40830 cat conftest.err >&5
40831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); } &&
40833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40835 (eval $ac_try) 2>&5
40836 ac_status=$?
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); }; } &&
40839 { ac_try='test -s conftest.$ac_objext'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40842 ac_status=$?
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; }; then
40845 ac_cv_func_which_gethostbyname_r=no
40846 else
40847 echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40849
40850 fi
40851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40852
40853 #
40854 # SIX ARGUMENTS
40855 # (e.g. Linux)
40856 #
40857
40858 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40859
40860 cat >conftest.$ac_ext <<_ACEOF
40861 /* confdefs.h. */
40862 _ACEOF
40863 cat confdefs.h >>conftest.$ac_ext
40864 cat >>conftest.$ac_ext <<_ACEOF
40865 /* end confdefs.h. */
40866 #include <netdb.h>
40867 int
40868 main ()
40869 {
40870
40871 char *name = "www.gnu.org";
40872 struct hostent ret, *retp;
40873 char buf[1024];
40874 int buflen = 1024;
40875 int my_h_errno;
40876 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40877
40878 ;
40879 return 0;
40880 }
40881 _ACEOF
40882 rm -f conftest.$ac_objext
40883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40884 (eval $ac_compile) 2>conftest.er1
40885 ac_status=$?
40886 grep -v '^ *+' conftest.er1 >conftest.err
40887 rm -f conftest.er1
40888 cat conftest.err >&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } &&
40891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; } &&
40897 { ac_try='test -s conftest.$ac_objext'
40898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40899 (eval $ac_try) 2>&5
40900 ac_status=$?
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); }; }; then
40903 ac_cv_func_which_gethostbyname_r=six
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40907
40908 fi
40909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40910
40911 fi
40912
40913 #
40914 # FIVE ARGUMENTS
40915 # (e.g. Solaris)
40916 #
40917
40918 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40919
40920 cat >conftest.$ac_ext <<_ACEOF
40921 /* confdefs.h. */
40922 _ACEOF
40923 cat confdefs.h >>conftest.$ac_ext
40924 cat >>conftest.$ac_ext <<_ACEOF
40925 /* end confdefs.h. */
40926 #include <netdb.h>
40927 int
40928 main ()
40929 {
40930
40931 char *name = "www.gnu.org";
40932 struct hostent ret;
40933 char buf[1024];
40934 int buflen = 1024;
40935 int my_h_errno;
40936 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40937
40938 ;
40939 return 0;
40940 }
40941 _ACEOF
40942 rm -f conftest.$ac_objext
40943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40944 (eval $ac_compile) 2>conftest.er1
40945 ac_status=$?
40946 grep -v '^ *+' conftest.er1 >conftest.err
40947 rm -f conftest.er1
40948 cat conftest.err >&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } &&
40951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40953 (eval $ac_try) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); }; } &&
40957 { ac_try='test -s conftest.$ac_objext'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; }; then
40963 ac_cv_func_which_gethostbyname_r=five
40964 else
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40967
40968 fi
40969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40970
40971 fi
40972
40973 #
40974 # THREE ARGUMENTS
40975 # (e.g. AIX, HP-UX, Tru64)
40976 #
40977
40978 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40979
40980 cat >conftest.$ac_ext <<_ACEOF
40981 /* confdefs.h. */
40982 _ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40986 #include <netdb.h>
40987 int
40988 main ()
40989 {
40990
40991 char *name = "www.gnu.org";
40992 struct hostent ret;
40993 struct hostent_data data;
40994 (void)gethostbyname_r(name, &ret, &data) /* ; */
40995
40996 ;
40997 return 0;
40998 }
40999 _ACEOF
41000 rm -f conftest.$ac_objext
41001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41002 (eval $ac_compile) 2>conftest.er1
41003 ac_status=$?
41004 grep -v '^ *+' conftest.er1 >conftest.err
41005 rm -f conftest.er1
41006 cat conftest.err >&5
41007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41008 (exit $ac_status); } &&
41009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41011 (eval $ac_try) 2>&5
41012 ac_status=$?
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); }; } &&
41015 { ac_try='test -s conftest.$ac_objext'
41016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41017 (eval $ac_try) 2>&5
41018 ac_status=$?
41019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41020 (exit $ac_status); }; }; then
41021 ac_cv_func_which_gethostbyname_r=three
41022 else
41023 echo "$as_me: failed program was:" >&5
41024 sed 's/^/| /' conftest.$ac_ext >&5
41025
41026 fi
41027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41028
41029 fi
41030
41031 ################################################################
41032
41033
41034 fi
41035
41036 case "$ac_cv_func_which_gethostbyname_r" in
41037 three)
41038 echo "$as_me:$LINENO: result: three" >&5
41039 echo "${ECHO_T}three" >&6
41040 cat >>confdefs.h <<\_ACEOF
41041 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41042 _ACEOF
41043
41044 ;;
41045
41046 five)
41047 echo "$as_me:$LINENO: result: five" >&5
41048 echo "${ECHO_T}five" >&6
41049 cat >>confdefs.h <<\_ACEOF
41050 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41051 _ACEOF
41052
41053 ;;
41054
41055 six)
41056 echo "$as_me:$LINENO: result: six" >&5
41057 echo "${ECHO_T}six" >&6
41058 cat >>confdefs.h <<\_ACEOF
41059 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41060 _ACEOF
41061
41062 ;;
41063
41064 no)
41065 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41066 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41067 ;;
41068
41069 unknown)
41070 echo "$as_me:$LINENO: result: can't tell" >&5
41071 echo "${ECHO_T}can't tell" >&6
41072 ;;
41073
41074 *)
41075 { { echo "$as_me:$LINENO: error: internal error" >&5
41076 echo "$as_me: error: internal error" >&2;}
41077 { (exit 1); exit 1; }; }
41078 ;;
41079 esac
41080
41081 ac_ext=c
41082 ac_cpp='$CPP $CPPFLAGS'
41083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41086
41087
41088
41089 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41090 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41091 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41092 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41093 if test "${ac_cv_func_gethostbyname+set}" = set; then
41094 echo $ECHO_N "(cached) $ECHO_C" >&6
41095 else
41096 cat >conftest.$ac_ext <<_ACEOF
41097 /* confdefs.h. */
41098 _ACEOF
41099 cat confdefs.h >>conftest.$ac_ext
41100 cat >>conftest.$ac_ext <<_ACEOF
41101 /* end confdefs.h. */
41102 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41104 #define gethostbyname innocuous_gethostbyname
41105
41106 /* System header to define __stub macros and hopefully few prototypes,
41107 which can conflict with char gethostbyname (); below.
41108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41109 <limits.h> exists even on freestanding compilers. */
41110
41111 #ifdef __STDC__
41112 # include <limits.h>
41113 #else
41114 # include <assert.h>
41115 #endif
41116
41117 #undef gethostbyname
41118
41119 /* Override any gcc2 internal prototype to avoid an error. */
41120 #ifdef __cplusplus
41121 extern "C"
41122 {
41123 #endif
41124 /* We use char because int might match the return type of a gcc2
41125 builtin and then its argument prototype would still apply. */
41126 char gethostbyname ();
41127 /* The GNU C library defines this for functions which it implements
41128 to always fail with ENOSYS. Some functions are actually named
41129 something starting with __ and the normal name is an alias. */
41130 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41131 choke me
41132 #else
41133 char (*f) () = gethostbyname;
41134 #endif
41135 #ifdef __cplusplus
41136 }
41137 #endif
41138
41139 int
41140 main ()
41141 {
41142 return f != gethostbyname;
41143 ;
41144 return 0;
41145 }
41146 _ACEOF
41147 rm -f conftest.$ac_objext conftest$ac_exeext
41148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41149 (eval $ac_link) 2>conftest.er1
41150 ac_status=$?
41151 grep -v '^ *+' conftest.er1 >conftest.err
41152 rm -f conftest.er1
41153 cat conftest.err >&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); } &&
41156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41158 (eval $ac_try) 2>&5
41159 ac_status=$?
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); }; } &&
41162 { ac_try='test -s conftest$ac_exeext'
41163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41164 (eval $ac_try) 2>&5
41165 ac_status=$?
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); }; }; then
41168 ac_cv_func_gethostbyname=yes
41169 else
41170 echo "$as_me: failed program was:" >&5
41171 sed 's/^/| /' conftest.$ac_ext >&5
41172
41173 ac_cv_func_gethostbyname=no
41174 fi
41175 rm -f conftest.err conftest.$ac_objext \
41176 conftest$ac_exeext conftest.$ac_ext
41177 fi
41178 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41179 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41180 if test $ac_cv_func_gethostbyname = yes; then
41181 cat >>confdefs.h <<\_ACEOF
41182 #define HAVE_GETHOSTBYNAME 1
41183 _ACEOF
41184
41185 fi
41186
41187 fi
41188
41189 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41190 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41191 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41192 echo $ECHO_N "(cached) $ECHO_C" >&6
41193 else
41194
41195 ac_ext=cc
41196 ac_cpp='$CXXCPP $CPPFLAGS'
41197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41200
41201
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h. */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 #include <netdb.h>
41209 int
41210 main ()
41211 {
41212
41213 char *name;
41214 char *proto;
41215 struct servent *se, *res;
41216 char buffer[2048];
41217 int buflen = 2048;
41218 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41219
41220 ;
41221 return 0;
41222 }
41223 _ACEOF
41224 rm -f conftest.$ac_objext
41225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41226 (eval $ac_compile) 2>conftest.er1
41227 ac_status=$?
41228 grep -v '^ *+' conftest.er1 >conftest.err
41229 rm -f conftest.er1
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } &&
41233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41235 (eval $ac_try) 2>&5
41236 ac_status=$?
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); }; } &&
41239 { ac_try='test -s conftest.$ac_objext'
41240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41241 (eval $ac_try) 2>&5
41242 ac_status=$?
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); }; }; then
41245 ac_cv_func_which_getservbyname_r=six
41246 else
41247 echo "$as_me: failed program was:" >&5
41248 sed 's/^/| /' conftest.$ac_ext >&5
41249
41250
41251 cat >conftest.$ac_ext <<_ACEOF
41252 /* confdefs.h. */
41253 _ACEOF
41254 cat confdefs.h >>conftest.$ac_ext
41255 cat >>conftest.$ac_ext <<_ACEOF
41256 /* end confdefs.h. */
41257 #include <netdb.h>
41258 int
41259 main ()
41260 {
41261
41262 char *name;
41263 char *proto;
41264 struct servent *se;
41265 char buffer[2048];
41266 int buflen = 2048;
41267 (void) getservbyname_r(name, proto, se, buffer, buflen)
41268
41269 ;
41270 return 0;
41271 }
41272 _ACEOF
41273 rm -f conftest.$ac_objext
41274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41275 (eval $ac_compile) 2>conftest.er1
41276 ac_status=$?
41277 grep -v '^ *+' conftest.er1 >conftest.err
41278 rm -f conftest.er1
41279 cat conftest.err >&5
41280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281 (exit $ac_status); } &&
41282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41284 (eval $ac_try) 2>&5
41285 ac_status=$?
41286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41287 (exit $ac_status); }; } &&
41288 { ac_try='test -s conftest.$ac_objext'
41289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41290 (eval $ac_try) 2>&5
41291 ac_status=$?
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); }; }; then
41294 ac_cv_func_which_getservbyname_r=five
41295 else
41296 echo "$as_me: failed program was:" >&5
41297 sed 's/^/| /' conftest.$ac_ext >&5
41298
41299
41300 cat >conftest.$ac_ext <<_ACEOF
41301 /* confdefs.h. */
41302 _ACEOF
41303 cat confdefs.h >>conftest.$ac_ext
41304 cat >>conftest.$ac_ext <<_ACEOF
41305 /* end confdefs.h. */
41306 #include <netdb.h>
41307 int
41308 main ()
41309 {
41310
41311 char *name;
41312 char *proto;
41313 struct servent *se;
41314 struct servent_data data;
41315 (void) getservbyname_r(name, proto, se, &data);
41316
41317 ;
41318 return 0;
41319 }
41320 _ACEOF
41321 rm -f conftest.$ac_objext
41322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41323 (eval $ac_compile) 2>conftest.er1
41324 ac_status=$?
41325 grep -v '^ *+' conftest.er1 >conftest.err
41326 rm -f conftest.er1
41327 cat conftest.err >&5
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); } &&
41330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41332 (eval $ac_try) 2>&5
41333 ac_status=$?
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); }; } &&
41336 { ac_try='test -s conftest.$ac_objext'
41337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41338 (eval $ac_try) 2>&5
41339 ac_status=$?
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); }; }; then
41342 ac_cv_func_which_getservbyname_r=four
41343 else
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.$ac_ext >&5
41346
41347 ac_cv_func_which_getservbyname_r=no
41348
41349 fi
41350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41351
41352
41353 fi
41354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41355
41356
41357 fi
41358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41359 ac_ext=c
41360 ac_cpp='$CPP $CPPFLAGS'
41361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41364
41365
41366
41367 fi
41368 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41369 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41370
41371 if test $ac_cv_func_which_getservbyname_r = six; then
41372 cat >>confdefs.h <<\_ACEOF
41373 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41374 _ACEOF
41375
41376 elif test $ac_cv_func_which_getservbyname_r = five; then
41377 cat >>confdefs.h <<\_ACEOF
41378 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41379 _ACEOF
41380
41381 elif test $ac_cv_func_which_getservbyname_r = four; then
41382 cat >>confdefs.h <<\_ACEOF
41383 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41384 _ACEOF
41385
41386 fi
41387
41388
41389 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41390 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41391
41392 for ac_func in getservbyname
41393 do
41394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41395 echo "$as_me:$LINENO: checking for $ac_func" >&5
41396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41397 if eval "test \"\${$as_ac_var+set}\" = set"; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41399 else
41400 cat >conftest.$ac_ext <<_ACEOF
41401 /* confdefs.h. */
41402 _ACEOF
41403 cat confdefs.h >>conftest.$ac_ext
41404 cat >>conftest.$ac_ext <<_ACEOF
41405 /* end confdefs.h. */
41406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41408 #define $ac_func innocuous_$ac_func
41409
41410 /* System header to define __stub macros and hopefully few prototypes,
41411 which can conflict with char $ac_func (); below.
41412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41413 <limits.h> exists even on freestanding compilers. */
41414
41415 #ifdef __STDC__
41416 # include <limits.h>
41417 #else
41418 # include <assert.h>
41419 #endif
41420
41421 #undef $ac_func
41422
41423 /* Override any gcc2 internal prototype to avoid an error. */
41424 #ifdef __cplusplus
41425 extern "C"
41426 {
41427 #endif
41428 /* We use char because int might match the return type of a gcc2
41429 builtin and then its argument prototype would still apply. */
41430 char $ac_func ();
41431 /* The GNU C library defines this for functions which it implements
41432 to always fail with ENOSYS. Some functions are actually named
41433 something starting with __ and the normal name is an alias. */
41434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41435 choke me
41436 #else
41437 char (*f) () = $ac_func;
41438 #endif
41439 #ifdef __cplusplus
41440 }
41441 #endif
41442
41443 int
41444 main ()
41445 {
41446 return f != $ac_func;
41447 ;
41448 return 0;
41449 }
41450 _ACEOF
41451 rm -f conftest.$ac_objext conftest$ac_exeext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41453 (eval $ac_link) 2>conftest.er1
41454 ac_status=$?
41455 grep -v '^ *+' conftest.er1 >conftest.err
41456 rm -f conftest.er1
41457 cat conftest.err >&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41463 ac_status=$?
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try='test -s conftest$ac_exeext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41469 ac_status=$?
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 eval "$as_ac_var=yes"
41473 else
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.$ac_ext >&5
41476
41477 eval "$as_ac_var=no"
41478 fi
41479 rm -f conftest.err conftest.$ac_objext \
41480 conftest$ac_exeext conftest.$ac_ext
41481 fi
41482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41484 if test `eval echo '${'$as_ac_var'}'` = yes; then
41485 cat >>confdefs.h <<_ACEOF
41486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41487 _ACEOF
41488 cat >>confdefs.h <<\_ACEOF
41489 #define HAVE_GETSERVBYNAME 1
41490 _ACEOF
41491
41492 fi
41493 done
41494
41495 fi
41496
41497 if test "$wxUSE_THREADS" = "yes"; then
41498 cat >>confdefs.h <<\_ACEOF
41499 #define wxUSE_THREADS 1
41500 _ACEOF
41501
41502
41503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41504 else
41505 if test "$wx_cv_func_strtok_r" = "yes"; then
41506 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41507 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41508 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41509 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41510 echo "$as_me:$LINENO: result: yes" >&5
41511 echo "${ECHO_T}yes" >&6
41512 else
41513 echo "$as_me:$LINENO: result: no" >&5
41514 echo "${ECHO_T}no" >&6
41515 fi
41516 fi
41517 fi
41518
41519 if test "$WXGTK20" = 1 ; then
41520 cat >>confdefs.h <<_ACEOF
41521 #define __WXGTK20__ $WXGTK20
41522 _ACEOF
41523
41524 WXGTK12=1
41525 fi
41526
41527 if test "$WXGTK12" = 1 ; then
41528 cat >>confdefs.h <<_ACEOF
41529 #define __WXGTK12__ $WXGTK12
41530 _ACEOF
41531
41532 fi
41533
41534 if test "$WXGTK127" = 1 ; then
41535 cat >>confdefs.h <<_ACEOF
41536 #define __WXGTK127__ $WXGTK127
41537 _ACEOF
41538
41539 fi
41540
41541 if test "$WXGPE" = 1 ; then
41542 cat >>confdefs.h <<_ACEOF
41543 #define __WXGPE__ $WXGPE
41544 _ACEOF
41545
41546 fi
41547
41548 DEBUG_CFLAGS=
41549 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41550 DEBUG_CFLAGS="-g"
41551 wxUSE_OPTIMISE=no
41552 fi
41553
41554 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41555 wxUSE_DEBUG_INFO=yes
41556 if test "$GCC" = yes; then
41557 DEBUG_CFLAGS="-ggdb"
41558 fi
41559 fi
41560
41561 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define WXDEBUG 1
41564 _ACEOF
41565
41566 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41567 else
41568 if test "$wxUSE_GTK" = 1 ; then
41569 if test "x$wxGTK_VERSION" = "x1" ; then
41570 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41571 fi
41572 fi
41573 fi
41574
41575 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41576 cat >>confdefs.h <<\_ACEOF
41577 #define wxUSE_MEMORY_TRACING 1
41578 _ACEOF
41579
41580 cat >>confdefs.h <<\_ACEOF
41581 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41582 _ACEOF
41583
41584 cat >>confdefs.h <<\_ACEOF
41585 #define wxUSE_DEBUG_NEW_ALWAYS 1
41586 _ACEOF
41587
41588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41589 fi
41590
41591 if test "$wxUSE_DMALLOC" = "yes" ; then
41592 DMALLOC_LIBS="-ldmallocthcxx"
41593 fi
41594
41595 PROFILE_FLAGS=
41596 if test "$wxUSE_PROFILE" = "yes" ; then
41597 PROFILE_FLAGS=" -pg"
41598 fi
41599
41600 if test "$GCC" = "yes" ; then
41601 if test "$wxUSE_NO_RTTI" = "yes" ; then
41602 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41603 fi
41604 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41605 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41606 fi
41607 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41608 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41609 fi
41610
41611 case "${host}" in
41612 powerpc*-*-aix* )
41613 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41614 ;;
41615 *-hppa* )
41616 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41617 ;;
41618 esac
41619 fi
41620
41621 OPTIMISE_CFLAGS=
41622 if test "$wxUSE_OPTIMISE" = "no" ; then
41623 if test "$GCC" = yes ; then
41624 OPTIMISE_CFLAGS="-O0"
41625 fi
41626 else
41627 if test "$GCC" = yes ; then
41628 case "${host}" in
41629 *-pc-os2_emx | *-pc-os2-emx )
41630 OPTIMISE_CFLAGS="-O2"
41631 ;;
41632 *)
41633 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41634 ;;
41635 esac
41636 else
41637 OPTIMISE_CFLAGS="-O"
41638 fi
41639 fi
41640
41641
41642 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41643 cat >>confdefs.h <<\_ACEOF
41644 #define WXWIN_COMPATIBILITY_2_4 1
41645 _ACEOF
41646
41647
41648 WXWIN_COMPATIBILITY_2_6="yes"
41649 fi
41650
41651 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41652 cat >>confdefs.h <<\_ACEOF
41653 #define WXWIN_COMPATIBILITY_2_6 1
41654 _ACEOF
41655
41656 fi
41657
41658
41659 if test "$wxUSE_GUI" = "yes"; then
41660 cat >>confdefs.h <<\_ACEOF
41661 #define wxUSE_GUI 1
41662 _ACEOF
41663
41664
41665 fi
41666
41667
41668 if test "$wxUSE_UNIX" = "yes"; then
41669 cat >>confdefs.h <<\_ACEOF
41670 #define wxUSE_UNIX 1
41671 _ACEOF
41672
41673 fi
41674
41675
41676 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41677
41678 HAVE_DL_FUNCS=0
41679 HAVE_SHL_FUNCS=0
41680 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41681 if test "$USE_DARWIN" = 1; then
41682 HAVE_DL_FUNCS=1
41683 elif test "$USE_DOS" = 1; then
41684 HAVE_DL_FUNCS=0
41685 else
41686
41687 for ac_func in dlopen
41688 do
41689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41690 echo "$as_me:$LINENO: checking for $ac_func" >&5
41691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41692 if eval "test \"\${$as_ac_var+set}\" = set"; then
41693 echo $ECHO_N "(cached) $ECHO_C" >&6
41694 else
41695 cat >conftest.$ac_ext <<_ACEOF
41696 /* confdefs.h. */
41697 _ACEOF
41698 cat confdefs.h >>conftest.$ac_ext
41699 cat >>conftest.$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41703 #define $ac_func innocuous_$ac_func
41704
41705 /* System header to define __stub macros and hopefully few prototypes,
41706 which can conflict with char $ac_func (); below.
41707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41708 <limits.h> exists even on freestanding compilers. */
41709
41710 #ifdef __STDC__
41711 # include <limits.h>
41712 #else
41713 # include <assert.h>
41714 #endif
41715
41716 #undef $ac_func
41717
41718 /* Override any gcc2 internal prototype to avoid an error. */
41719 #ifdef __cplusplus
41720 extern "C"
41721 {
41722 #endif
41723 /* We use char because int might match the return type of a gcc2
41724 builtin and then its argument prototype would still apply. */
41725 char $ac_func ();
41726 /* The GNU C library defines this for functions which it implements
41727 to always fail with ENOSYS. Some functions are actually named
41728 something starting with __ and the normal name is an alias. */
41729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41730 choke me
41731 #else
41732 char (*f) () = $ac_func;
41733 #endif
41734 #ifdef __cplusplus
41735 }
41736 #endif
41737
41738 int
41739 main ()
41740 {
41741 return f != $ac_func;
41742 ;
41743 return 0;
41744 }
41745 _ACEOF
41746 rm -f conftest.$ac_objext conftest$ac_exeext
41747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41748 (eval $ac_link) 2>conftest.er1
41749 ac_status=$?
41750 grep -v '^ *+' conftest.er1 >conftest.err
41751 rm -f conftest.er1
41752 cat conftest.err >&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); } &&
41755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41757 (eval $ac_try) 2>&5
41758 ac_status=$?
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); }; } &&
41761 { ac_try='test -s conftest$ac_exeext'
41762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41763 (eval $ac_try) 2>&5
41764 ac_status=$?
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); }; }; then
41767 eval "$as_ac_var=yes"
41768 else
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.$ac_ext >&5
41771
41772 eval "$as_ac_var=no"
41773 fi
41774 rm -f conftest.err conftest.$ac_objext \
41775 conftest$ac_exeext conftest.$ac_ext
41776 fi
41777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41779 if test `eval echo '${'$as_ac_var'}'` = yes; then
41780 cat >>confdefs.h <<_ACEOF
41781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41782 _ACEOF
41783
41784 cat >>confdefs.h <<\_ACEOF
41785 #define HAVE_DLOPEN 1
41786 _ACEOF
41787
41788 HAVE_DL_FUNCS=1
41789
41790 else
41791
41792 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41793 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41794 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41795 echo $ECHO_N "(cached) $ECHO_C" >&6
41796 else
41797 ac_check_lib_save_LIBS=$LIBS
41798 LIBS="-ldl $LIBS"
41799 cat >conftest.$ac_ext <<_ACEOF
41800 /* confdefs.h. */
41801 _ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805
41806 /* Override any gcc2 internal prototype to avoid an error. */
41807 #ifdef __cplusplus
41808 extern "C"
41809 #endif
41810 /* We use char because int might match the return type of a gcc2
41811 builtin and then its argument prototype would still apply. */
41812 char dlopen ();
41813 int
41814 main ()
41815 {
41816 dlopen ();
41817 ;
41818 return 0;
41819 }
41820 _ACEOF
41821 rm -f conftest.$ac_objext conftest$ac_exeext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41823 (eval $ac_link) 2>conftest.er1
41824 ac_status=$?
41825 grep -v '^ *+' conftest.er1 >conftest.err
41826 rm -f conftest.er1
41827 cat conftest.err >&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41832 (eval $ac_try) 2>&5
41833 ac_status=$?
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; } &&
41836 { ac_try='test -s conftest$ac_exeext'
41837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41838 (eval $ac_try) 2>&5
41839 ac_status=$?
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); }; }; then
41842 ac_cv_lib_dl_dlopen=yes
41843 else
41844 echo "$as_me: failed program was:" >&5
41845 sed 's/^/| /' conftest.$ac_ext >&5
41846
41847 ac_cv_lib_dl_dlopen=no
41848 fi
41849 rm -f conftest.err conftest.$ac_objext \
41850 conftest$ac_exeext conftest.$ac_ext
41851 LIBS=$ac_check_lib_save_LIBS
41852 fi
41853 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41854 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41855 if test $ac_cv_lib_dl_dlopen = yes; then
41856
41857 cat >>confdefs.h <<\_ACEOF
41858 #define HAVE_DLOPEN 1
41859 _ACEOF
41860
41861 HAVE_DL_FUNCS=1
41862 DL_LINK=" -ldl$DL_LINK"
41863
41864 else
41865
41866
41867 for ac_func in shl_load
41868 do
41869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41870 echo "$as_me:$LINENO: checking for $ac_func" >&5
41871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41872 if eval "test \"\${$as_ac_var+set}\" = set"; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41874 else
41875 cat >conftest.$ac_ext <<_ACEOF
41876 /* confdefs.h. */
41877 _ACEOF
41878 cat confdefs.h >>conftest.$ac_ext
41879 cat >>conftest.$ac_ext <<_ACEOF
41880 /* end confdefs.h. */
41881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41883 #define $ac_func innocuous_$ac_func
41884
41885 /* System header to define __stub macros and hopefully few prototypes,
41886 which can conflict with char $ac_func (); below.
41887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41888 <limits.h> exists even on freestanding compilers. */
41889
41890 #ifdef __STDC__
41891 # include <limits.h>
41892 #else
41893 # include <assert.h>
41894 #endif
41895
41896 #undef $ac_func
41897
41898 /* Override any gcc2 internal prototype to avoid an error. */
41899 #ifdef __cplusplus
41900 extern "C"
41901 {
41902 #endif
41903 /* We use char because int might match the return type of a gcc2
41904 builtin and then its argument prototype would still apply. */
41905 char $ac_func ();
41906 /* The GNU C library defines this for functions which it implements
41907 to always fail with ENOSYS. Some functions are actually named
41908 something starting with __ and the normal name is an alias. */
41909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41910 choke me
41911 #else
41912 char (*f) () = $ac_func;
41913 #endif
41914 #ifdef __cplusplus
41915 }
41916 #endif
41917
41918 int
41919 main ()
41920 {
41921 return f != $ac_func;
41922 ;
41923 return 0;
41924 }
41925 _ACEOF
41926 rm -f conftest.$ac_objext conftest$ac_exeext
41927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41928 (eval $ac_link) 2>conftest.er1
41929 ac_status=$?
41930 grep -v '^ *+' conftest.er1 >conftest.err
41931 rm -f conftest.er1
41932 cat conftest.err >&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); } &&
41935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41938 ac_status=$?
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; } &&
41941 { ac_try='test -s conftest$ac_exeext'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41944 ac_status=$?
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; }; then
41947 eval "$as_ac_var=yes"
41948 else
41949 echo "$as_me: failed program was:" >&5
41950 sed 's/^/| /' conftest.$ac_ext >&5
41951
41952 eval "$as_ac_var=no"
41953 fi
41954 rm -f conftest.err conftest.$ac_objext \
41955 conftest$ac_exeext conftest.$ac_ext
41956 fi
41957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41959 if test `eval echo '${'$as_ac_var'}'` = yes; then
41960 cat >>confdefs.h <<_ACEOF
41961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41962 _ACEOF
41963
41964 cat >>confdefs.h <<\_ACEOF
41965 #define HAVE_SHL_LOAD 1
41966 _ACEOF
41967
41968 HAVE_SHL_FUNCS=1
41969
41970 else
41971
41972 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41973 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41974 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41975 echo $ECHO_N "(cached) $ECHO_C" >&6
41976 else
41977 ac_check_lib_save_LIBS=$LIBS
41978 LIBS="-lshl_load $LIBS"
41979 cat >conftest.$ac_ext <<_ACEOF
41980 /* confdefs.h. */
41981 _ACEOF
41982 cat confdefs.h >>conftest.$ac_ext
41983 cat >>conftest.$ac_ext <<_ACEOF
41984 /* end confdefs.h. */
41985
41986 /* Override any gcc2 internal prototype to avoid an error. */
41987 #ifdef __cplusplus
41988 extern "C"
41989 #endif
41990 /* We use char because int might match the return type of a gcc2
41991 builtin and then its argument prototype would still apply. */
41992 char dld ();
41993 int
41994 main ()
41995 {
41996 dld ();
41997 ;
41998 return 0;
41999 }
42000 _ACEOF
42001 rm -f conftest.$ac_objext conftest$ac_exeext
42002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42003 (eval $ac_link) 2>conftest.er1
42004 ac_status=$?
42005 grep -v '^ *+' conftest.er1 >conftest.err
42006 rm -f conftest.er1
42007 cat conftest.err >&5
42008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42009 (exit $ac_status); } &&
42010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42012 (eval $ac_try) 2>&5
42013 ac_status=$?
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); }; } &&
42016 { ac_try='test -s conftest$ac_exeext'
42017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42018 (eval $ac_try) 2>&5
42019 ac_status=$?
42020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42021 (exit $ac_status); }; }; then
42022 ac_cv_lib_shl_load_dld=yes
42023 else
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.$ac_ext >&5
42026
42027 ac_cv_lib_shl_load_dld=no
42028 fi
42029 rm -f conftest.err conftest.$ac_objext \
42030 conftest$ac_exeext conftest.$ac_ext
42031 LIBS=$ac_check_lib_save_LIBS
42032 fi
42033 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42034 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42035 if test $ac_cv_lib_shl_load_dld = yes; then
42036
42037 HAVE_SHL_FUNCS=1
42038 DL_LINK=" -ldld$DL_LINK"
42039
42040 fi
42041
42042
42043 fi
42044 done
42045
42046
42047 fi
42048
42049
42050 fi
42051 done
42052
42053
42054 if test "$HAVE_DL_FUNCS" = 1; then
42055
42056 for ac_func in dlerror
42057 do
42058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42059 echo "$as_me:$LINENO: checking for $ac_func" >&5
42060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42061 if eval "test \"\${$as_ac_var+set}\" = set"; then
42062 echo $ECHO_N "(cached) $ECHO_C" >&6
42063 else
42064 cat >conftest.$ac_ext <<_ACEOF
42065 /* confdefs.h. */
42066 _ACEOF
42067 cat confdefs.h >>conftest.$ac_ext
42068 cat >>conftest.$ac_ext <<_ACEOF
42069 /* end confdefs.h. */
42070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42072 #define $ac_func innocuous_$ac_func
42073
42074 /* System header to define __stub macros and hopefully few prototypes,
42075 which can conflict with char $ac_func (); below.
42076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42077 <limits.h> exists even on freestanding compilers. */
42078
42079 #ifdef __STDC__
42080 # include <limits.h>
42081 #else
42082 # include <assert.h>
42083 #endif
42084
42085 #undef $ac_func
42086
42087 /* Override any gcc2 internal prototype to avoid an error. */
42088 #ifdef __cplusplus
42089 extern "C"
42090 {
42091 #endif
42092 /* We use char because int might match the return type of a gcc2
42093 builtin and then its argument prototype would still apply. */
42094 char $ac_func ();
42095 /* The GNU C library defines this for functions which it implements
42096 to always fail with ENOSYS. Some functions are actually named
42097 something starting with __ and the normal name is an alias. */
42098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42099 choke me
42100 #else
42101 char (*f) () = $ac_func;
42102 #endif
42103 #ifdef __cplusplus
42104 }
42105 #endif
42106
42107 int
42108 main ()
42109 {
42110 return f != $ac_func;
42111 ;
42112 return 0;
42113 }
42114 _ACEOF
42115 rm -f conftest.$ac_objext conftest$ac_exeext
42116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42117 (eval $ac_link) 2>conftest.er1
42118 ac_status=$?
42119 grep -v '^ *+' conftest.er1 >conftest.err
42120 rm -f conftest.er1
42121 cat conftest.err >&5
42122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42123 (exit $ac_status); } &&
42124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42127 ac_status=$?
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; } &&
42130 { ac_try='test -s conftest$ac_exeext'
42131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42132 (eval $ac_try) 2>&5
42133 ac_status=$?
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); }; }; then
42136 eval "$as_ac_var=yes"
42137 else
42138 echo "$as_me: failed program was:" >&5
42139 sed 's/^/| /' conftest.$ac_ext >&5
42140
42141 eval "$as_ac_var=no"
42142 fi
42143 rm -f conftest.err conftest.$ac_objext \
42144 conftest$ac_exeext conftest.$ac_ext
42145 fi
42146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42148 if test `eval echo '${'$as_ac_var'}'` = yes; then
42149 cat >>confdefs.h <<_ACEOF
42150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42151 _ACEOF
42152 cat >>confdefs.h <<\_ACEOF
42153 #define HAVE_DLERROR 1
42154 _ACEOF
42155
42156 else
42157
42158 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42159 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42160 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 else
42163 ac_check_lib_save_LIBS=$LIBS
42164 LIBS="-ldl $LIBS"
42165 cat >conftest.$ac_ext <<_ACEOF
42166 /* confdefs.h. */
42167 _ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42171
42172 /* Override any gcc2 internal prototype to avoid an error. */
42173 #ifdef __cplusplus
42174 extern "C"
42175 #endif
42176 /* We use char because int might match the return type of a gcc2
42177 builtin and then its argument prototype would still apply. */
42178 char dlerror ();
42179 int
42180 main ()
42181 {
42182 dlerror ();
42183 ;
42184 return 0;
42185 }
42186 _ACEOF
42187 rm -f conftest.$ac_objext conftest$ac_exeext
42188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42189 (eval $ac_link) 2>conftest.er1
42190 ac_status=$?
42191 grep -v '^ *+' conftest.er1 >conftest.err
42192 rm -f conftest.er1
42193 cat conftest.err >&5
42194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42195 (exit $ac_status); } &&
42196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42198 (eval $ac_try) 2>&5
42199 ac_status=$?
42200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42201 (exit $ac_status); }; } &&
42202 { ac_try='test -s conftest$ac_exeext'
42203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42204 (eval $ac_try) 2>&5
42205 ac_status=$?
42206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42207 (exit $ac_status); }; }; then
42208 ac_cv_lib_dl_dlerror=yes
42209 else
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.$ac_ext >&5
42212
42213 ac_cv_lib_dl_dlerror=no
42214 fi
42215 rm -f conftest.err conftest.$ac_objext \
42216 conftest$ac_exeext conftest.$ac_ext
42217 LIBS=$ac_check_lib_save_LIBS
42218 fi
42219 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42220 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42221 if test $ac_cv_lib_dl_dlerror = yes; then
42222 cat >>confdefs.h <<\_ACEOF
42223 #define HAVE_DLERROR 1
42224 _ACEOF
42225
42226 fi
42227
42228
42229
42230 fi
42231 done
42232
42233 fi
42234 fi
42235
42236 if test "$HAVE_DL_FUNCS" = 0; then
42237 if test "$HAVE_SHL_FUNCS" = 0; then
42238 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42239 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42240 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42241 wxUSE_DYNAMIC_LOADER=no
42242 wxUSE_DYNLIB_CLASS=no
42243 else
42244 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42245 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42246 fi
42247 fi
42248 fi
42249 fi
42250 fi
42251
42252 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42253 cat >>confdefs.h <<\_ACEOF
42254 #define wxUSE_DYNAMIC_LOADER 1
42255 _ACEOF
42256
42257 fi
42258 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42259 cat >>confdefs.h <<\_ACEOF
42260 #define wxUSE_DYNLIB_CLASS 1
42261 _ACEOF
42262
42263 fi
42264
42265
42266
42267 if test "$wxUSE_PLUGINS" = "yes" ; then
42268 if test "$wxUSE_SHARED" = "no" ; then
42269 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42270 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42271 wxUSE_PLUGINS=no
42272 fi
42273 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42274 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42275 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42276 wxUSE_PLUGINS=no
42277 fi
42278 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42279 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42280 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42281 wxUSE_PLUGINS=no
42282 fi
42283 if test "$wxUSE_PLUGINS" = "yes" ; then
42284 cat >>confdefs.h <<\_ACEOF
42285 #define wxUSE_PLUGINS 1
42286 _ACEOF
42287
42288 fi
42289 fi
42290
42291
42292 if test "$wxUSE_STL" = "yes"; then
42293 cat >>confdefs.h <<\_ACEOF
42294 #define wxUSE_STL 1
42295 _ACEOF
42296
42297 fi
42298
42299 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42300 cat >>confdefs.h <<\_ACEOF
42301 #define wxUSE_APPLE_IEEE 1
42302 _ACEOF
42303
42304 fi
42305
42306 if test "$wxUSE_TIMER" = "yes"; then
42307 cat >>confdefs.h <<\_ACEOF
42308 #define wxUSE_TIMER 1
42309 _ACEOF
42310
42311 fi
42312
42313 if test "$USE_UNIX" = "1" ; then
42314 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42315 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42316 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42317 echo $ECHO_N "(cached) $ECHO_C" >&6
42318 else
42319
42320 cat >conftest.$ac_ext <<_ACEOF
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326
42327 #include <sys/ioctl.h>
42328 #include <sys/soundcard.h>
42329
42330 int
42331 main ()
42332 {
42333
42334 ioctl(0, SNDCTL_DSP_SPEED, 0);
42335
42336 ;
42337 return 0;
42338 }
42339 _ACEOF
42340 rm -f conftest.$ac_objext conftest$ac_exeext
42341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42342 (eval $ac_link) 2>conftest.er1
42343 ac_status=$?
42344 grep -v '^ *+' conftest.er1 >conftest.err
42345 rm -f conftest.er1
42346 cat conftest.err >&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } &&
42349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
42355 { ac_try='test -s conftest$ac_exeext'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; }; then
42361 ac_cv_header_sys_soundcard=yes
42362 else
42363 echo "$as_me: failed program was:" >&5
42364 sed 's/^/| /' conftest.$ac_ext >&5
42365
42366
42367 saveLibs="$LIBS"
42368 LIBS="$saveLibs -lossaudio"
42369 cat >conftest.$ac_ext <<_ACEOF
42370 /* confdefs.h. */
42371 _ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375
42376 #include <sys/ioctl.h>
42377 #include <sys/soundcard.h>
42378
42379 int
42380 main ()
42381 {
42382
42383 ioctl(0, SNDCTL_DSP_SPEED, 0);
42384
42385 ;
42386 return 0;
42387 }
42388 _ACEOF
42389 rm -f conftest.$ac_objext conftest$ac_exeext
42390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42391 (eval $ac_link) 2>conftest.er1
42392 ac_status=$?
42393 grep -v '^ *+' conftest.er1 >conftest.err
42394 rm -f conftest.er1
42395 cat conftest.err >&5
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); } &&
42398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42400 (eval $ac_try) 2>&5
42401 ac_status=$?
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); }; } &&
42404 { ac_try='test -s conftest$ac_exeext'
42405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42406 (eval $ac_try) 2>&5
42407 ac_status=$?
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); }; }; then
42410 ac_cv_header_sys_soundcard=yes
42411 else
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.$ac_ext >&5
42414
42415
42416 LIBS="$saveLibs"
42417 ac_cv_header_sys_soundcard=no
42418
42419
42420 fi
42421 rm -f conftest.err conftest.$ac_objext \
42422 conftest$ac_exeext conftest.$ac_ext
42423
42424
42425 fi
42426 rm -f conftest.err conftest.$ac_objext \
42427 conftest$ac_exeext conftest.$ac_ext
42428
42429 fi
42430 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42431 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42432
42433 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42434 cat >>confdefs.h <<\_ACEOF
42435 #define HAVE_SYS_SOUNDCARD_H 1
42436 _ACEOF
42437
42438 else
42439 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42440 fi
42441 fi
42442 WITH_PLUGIN_SDL=0
42443 if test "$wxUSE_SOUND" = "yes"; then
42444 if test "$USE_UNIX" = "1" ; then
42445 if test "$wxUSE_LIBSDL" != "no"; then
42446
42447 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42448 if test "${with_sdl_prefix+set}" = set; then
42449 withval="$with_sdl_prefix"
42450 sdl_prefix="$withval"
42451 else
42452 sdl_prefix=""
42453 fi;
42454
42455 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42456 if test "${with_sdl_exec_prefix+set}" = set; then
42457 withval="$with_sdl_exec_prefix"
42458 sdl_exec_prefix="$withval"
42459 else
42460 sdl_exec_prefix=""
42461 fi;
42462 # Check whether --enable-sdltest or --disable-sdltest was given.
42463 if test "${enable_sdltest+set}" = set; then
42464 enableval="$enable_sdltest"
42465
42466 else
42467 enable_sdltest=yes
42468 fi;
42469
42470 if test x$sdl_exec_prefix != x ; then
42471 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42472 if test x${SDL_CONFIG+set} != xset ; then
42473 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42474 fi
42475 fi
42476 if test x$sdl_prefix != x ; then
42477 sdl_args="$sdl_args --prefix=$sdl_prefix"
42478 if test x${SDL_CONFIG+set} != xset ; then
42479 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42480 fi
42481 fi
42482
42483 if test "x$prefix" != xNONE; then
42484 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42485 fi
42486 # Extract the first word of "sdl-config", so it can be a program name with args.
42487 set dummy sdl-config; ac_word=$2
42488 echo "$as_me:$LINENO: checking for $ac_word" >&5
42489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42490 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 else
42493 case $SDL_CONFIG in
42494 [\\/]* | ?:[\\/]*)
42495 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42496 ;;
42497 *)
42498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42499 for as_dir in $PATH
42500 do
42501 IFS=$as_save_IFS
42502 test -z "$as_dir" && as_dir=.
42503 for ac_exec_ext in '' $ac_executable_extensions; do
42504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42505 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42507 break 2
42508 fi
42509 done
42510 done
42511
42512 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42513 ;;
42514 esac
42515 fi
42516 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42517
42518 if test -n "$SDL_CONFIG"; then
42519 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42520 echo "${ECHO_T}$SDL_CONFIG" >&6
42521 else
42522 echo "$as_me:$LINENO: result: no" >&5
42523 echo "${ECHO_T}no" >&6
42524 fi
42525
42526 min_sdl_version=1.2.0
42527 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42528 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42529 no_sdl=""
42530 if test "$SDL_CONFIG" = "no" ; then
42531 no_sdl=yes
42532 else
42533 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42534 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42535
42536 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42537 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42538 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42540 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42542 if test "x$enable_sdltest" = "xyes" ; then
42543 ac_save_CFLAGS="$CFLAGS"
42544 ac_save_CXXFLAGS="$CXXFLAGS"
42545 ac_save_LIBS="$LIBS"
42546 CFLAGS="$CFLAGS $SDL_CFLAGS"
42547 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42548 LIBS="$LIBS $SDL_LIBS"
42549 rm -f conf.sdltest
42550 if test "$cross_compiling" = yes; then
42551 echo $ac_n "cross compiling; assumed OK... $ac_c"
42552 else
42553 cat >conftest.$ac_ext <<_ACEOF
42554 /* confdefs.h. */
42555 _ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42559
42560 #include <stdio.h>
42561 #include <stdlib.h>
42562 #include <string.h>
42563 #include "SDL.h"
42564
42565 char*
42566 my_strdup (char *str)
42567 {
42568 char *new_str;
42569
42570 if (str)
42571 {
42572 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42573 strcpy (new_str, str);
42574 }
42575 else
42576 new_str = NULL;
42577
42578 return new_str;
42579 }
42580
42581 int main (int argc, char *argv[])
42582 {
42583 int major, minor, micro;
42584 char *tmp_version;
42585
42586 /* This hangs on some systems (?)
42587 system ("touch conf.sdltest");
42588 */
42589 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42590
42591 /* HP/UX 9 (%@#!) writes to sscanf strings */
42592 tmp_version = my_strdup("$min_sdl_version");
42593 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42594 printf("%s, bad version string\n", "$min_sdl_version");
42595 exit(1);
42596 }
42597
42598 if (($sdl_major_version > major) ||
42599 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42600 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42601 {
42602 return 0;
42603 }
42604 else
42605 {
42606 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42607 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42608 printf("*** best to upgrade to the required version.\n");
42609 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42610 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42611 printf("*** config.cache before re-running configure\n");
42612 return 1;
42613 }
42614 }
42615
42616
42617 _ACEOF
42618 rm -f conftest$ac_exeext
42619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42620 (eval $ac_link) 2>&5
42621 ac_status=$?
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42625 (eval $ac_try) 2>&5
42626 ac_status=$?
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42629 :
42630 else
42631 echo "$as_me: program exited with status $ac_status" >&5
42632 echo "$as_me: failed program was:" >&5
42633 sed 's/^/| /' conftest.$ac_ext >&5
42634
42635 ( exit $ac_status )
42636 no_sdl=yes
42637 fi
42638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42639 fi
42640 CFLAGS="$ac_save_CFLAGS"
42641 CXXFLAGS="$ac_save_CXXFLAGS"
42642 LIBS="$ac_save_LIBS"
42643 fi
42644 fi
42645 if test "x$no_sdl" = x ; then
42646 echo "$as_me:$LINENO: result: yes" >&5
42647 echo "${ECHO_T}yes" >&6
42648
42649 EXTRALIBS_SDL="$SDL_LIBS"
42650 CFLAGS="$SDL_CFLAGS $CFLAGS"
42651 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_LIBSDL 1
42654 _ACEOF
42655
42656
42657 else
42658 echo "$as_me:$LINENO: result: no" >&5
42659 echo "${ECHO_T}no" >&6
42660 if test "$SDL_CONFIG" = "no" ; then
42661 echo "*** The sdl-config script installed by SDL could not be found"
42662 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42663 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42664 echo "*** full path to sdl-config."
42665 else
42666 if test -f conf.sdltest ; then
42667 :
42668 else
42669 echo "*** Could not run SDL test program, checking why..."
42670 CFLAGS="$CFLAGS $SDL_CFLAGS"
42671 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42672 LIBS="$LIBS $SDL_LIBS"
42673 cat >conftest.$ac_ext <<_ACEOF
42674 /* confdefs.h. */
42675 _ACEOF
42676 cat confdefs.h >>conftest.$ac_ext
42677 cat >>conftest.$ac_ext <<_ACEOF
42678 /* end confdefs.h. */
42679
42680 #include <stdio.h>
42681 #include "SDL.h"
42682
42683 int main(int argc, char *argv[])
42684 { return 0; }
42685 #undef main
42686 #define main K_and_R_C_main
42687
42688 int
42689 main ()
42690 {
42691 return 0;
42692 ;
42693 return 0;
42694 }
42695 _ACEOF
42696 rm -f conftest.$ac_objext conftest$ac_exeext
42697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42698 (eval $ac_link) 2>conftest.er1
42699 ac_status=$?
42700 grep -v '^ *+' conftest.er1 >conftest.err
42701 rm -f conftest.er1
42702 cat conftest.err >&5
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); } &&
42705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42707 (eval $ac_try) 2>&5
42708 ac_status=$?
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); }; } &&
42711 { ac_try='test -s conftest$ac_exeext'
42712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42713 (eval $ac_try) 2>&5
42714 ac_status=$?
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; }; then
42717 echo "*** The test program compiled, but did not run. This usually means"
42718 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42719 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42722 echo "*** is required on your system"
42723 echo "***"
42724 echo "*** If you have an old version installed, it is best to remove it, although"
42725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42726 else
42727 echo "$as_me: failed program was:" >&5
42728 sed 's/^/| /' conftest.$ac_ext >&5
42729
42730 echo "*** The test program failed to compile or link. See the file config.log for the"
42731 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42732 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42733 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42734 fi
42735 rm -f conftest.err conftest.$ac_objext \
42736 conftest$ac_exeext conftest.$ac_ext
42737 CFLAGS="$ac_save_CFLAGS"
42738 CXXFLAGS="$ac_save_CXXFLAGS"
42739 LIBS="$ac_save_LIBS"
42740 fi
42741 fi
42742 SDL_CFLAGS=""
42743 SDL_LIBS=""
42744 wxUSE_LIBSDL="no"
42745 fi
42746
42747
42748 rm -f conf.sdltest
42749
42750 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42751 WITH_PLUGIN_SDL=1
42752 fi
42753 fi
42754 else
42755 if test "$wxUSE_MGL" = 1; then
42756 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42757 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42758 wxUSE_SOUND="no"
42759 fi
42760 fi
42761 fi
42762
42763 if test "$wxUSE_SOUND" = "yes"; then
42764 cat >>confdefs.h <<\_ACEOF
42765 #define wxUSE_SOUND 1
42766 _ACEOF
42767
42768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42769 fi
42770
42771 if test "$WXGTK20" = 1; then
42772
42773
42774 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42775 if test -n "$ac_tool_prefix"; then
42776 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42777 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42778 echo "$as_me:$LINENO: checking for $ac_word" >&5
42779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42780 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42782 else
42783 case $PKG_CONFIG in
42784 [\\/]* | ?:[\\/]*)
42785 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42786 ;;
42787 *)
42788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42789 for as_dir in $PATH
42790 do
42791 IFS=$as_save_IFS
42792 test -z "$as_dir" && as_dir=.
42793 for ac_exec_ext in '' $ac_executable_extensions; do
42794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42795 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42797 break 2
42798 fi
42799 done
42800 done
42801
42802 ;;
42803 esac
42804 fi
42805 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42806
42807 if test -n "$PKG_CONFIG"; then
42808 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42809 echo "${ECHO_T}$PKG_CONFIG" >&6
42810 else
42811 echo "$as_me:$LINENO: result: no" >&5
42812 echo "${ECHO_T}no" >&6
42813 fi
42814
42815 fi
42816 if test -z "$ac_cv_path_PKG_CONFIG"; then
42817 ac_pt_PKG_CONFIG=$PKG_CONFIG
42818 # Extract the first word of "pkg-config", so it can be a program name with args.
42819 set dummy pkg-config; ac_word=$2
42820 echo "$as_me:$LINENO: checking for $ac_word" >&5
42821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42822 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42823 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 else
42825 case $ac_pt_PKG_CONFIG in
42826 [\\/]* | ?:[\\/]*)
42827 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42828 ;;
42829 *)
42830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42831 for as_dir in $PATH
42832 do
42833 IFS=$as_save_IFS
42834 test -z "$as_dir" && as_dir=.
42835 for ac_exec_ext in '' $ac_executable_extensions; do
42836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42837 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42839 break 2
42840 fi
42841 done
42842 done
42843
42844 ;;
42845 esac
42846 fi
42847 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42848
42849 if test -n "$ac_pt_PKG_CONFIG"; then
42850 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42851 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
42852 else
42853 echo "$as_me:$LINENO: result: no" >&5
42854 echo "${ECHO_T}no" >&6
42855 fi
42856
42857 PKG_CONFIG=$ac_pt_PKG_CONFIG
42858 else
42859 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42860 fi
42861
42862 fi
42863 if test -n "$PKG_CONFIG"; then
42864 _pkg_min_version=0.9.0
42865 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42866 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
42867 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42868 echo "$as_me:$LINENO: result: yes" >&5
42869 echo "${ECHO_T}yes" >&6
42870 else
42871 echo "$as_me:$LINENO: result: no" >&5
42872 echo "${ECHO_T}no" >&6
42873 PKG_CONFIG=""
42874 fi
42875
42876 fi
42877
42878 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42879 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42880
42881
42882 pkg_failed=no
42883 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42884 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42885
42886 if test -n "$PKG_CONFIG"; then
42887 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42888 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42889 else
42890 if test -n "$PKG_CONFIG" && \
42891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42892 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42893 ac_status=$?
42894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42895 (exit $ac_status); }; then
42896 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42897 else
42898 pkg_failed=yes
42899 fi
42900 fi
42901 else
42902 pkg_failed=untried
42903 fi
42904 if test -n "$PKG_CONFIG"; then
42905 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42906 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42907 else
42908 if test -n "$PKG_CONFIG" && \
42909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42910 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42911 ac_status=$?
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); }; then
42914 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42915 else
42916 pkg_failed=yes
42917 fi
42918 fi
42919 else
42920 pkg_failed=untried
42921 fi
42922
42923
42924
42925 if test $pkg_failed = yes; then
42926
42927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42928 _pkg_short_errors_supported=yes
42929 else
42930 _pkg_short_errors_supported=no
42931 fi
42932 if test $_pkg_short_errors_supported = yes; then
42933 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42934 else
42935 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42936 fi
42937 # Put the nasty error message in config.log where it belongs
42938 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42939
42940
42941 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42942 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42943 wxUSE_LIBGNOMEPRINT="no"
42944
42945
42946 elif test $pkg_failed = untried; then
42947
42948 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42949 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42950 wxUSE_LIBGNOMEPRINT="no"
42951
42952
42953 else
42954 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42955 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42956 echo "$as_me:$LINENO: result: yes" >&5
42957 echo "${ECHO_T}yes" >&6
42958
42959 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42960 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42961 cat >>confdefs.h <<\_ACEOF
42962 #define wxUSE_LIBGNOMEPRINT 1
42963 _ACEOF
42964
42965
42966 fi
42967 fi
42968 fi
42969
42970 if test "$wxUSE_MIMETYPE" = "yes" ; then
42971 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42972
42973
42974 pkg_failed=no
42975 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42976 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42977
42978 if test -n "$PKG_CONFIG"; then
42979 if test -n "$GNOMEVFS_CFLAGS"; then
42980 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42981 else
42982 if test -n "$PKG_CONFIG" && \
42983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42984 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42985 ac_status=$?
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); }; then
42988 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42989 else
42990 pkg_failed=yes
42991 fi
42992 fi
42993 else
42994 pkg_failed=untried
42995 fi
42996 if test -n "$PKG_CONFIG"; then
42997 if test -n "$GNOMEVFS_LIBS"; then
42998 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42999 else
43000 if test -n "$PKG_CONFIG" && \
43001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43002 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43003 ac_status=$?
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; then
43006 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43007 else
43008 pkg_failed=yes
43009 fi
43010 fi
43011 else
43012 pkg_failed=untried
43013 fi
43014
43015
43016
43017 if test $pkg_failed = yes; then
43018
43019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43020 _pkg_short_errors_supported=yes
43021 else
43022 _pkg_short_errors_supported=no
43023 fi
43024 if test $_pkg_short_errors_supported = yes; then
43025 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43026 else
43027 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43028 fi
43029 # Put the nasty error message in config.log where it belongs
43030 echo "$GNOMEVFS_PKG_ERRORS" >&5
43031
43032
43033 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43034 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43035 wxUSE_LIBGNOMEVFS="no"
43036
43037
43038 elif test $pkg_failed = untried; then
43039
43040 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43041 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43042 wxUSE_LIBGNOMEVFS="no"
43043
43044
43045 else
43046 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43047 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43048 echo "$as_me:$LINENO: result: yes" >&5
43049 echo "${ECHO_T}yes" >&6
43050
43051 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43052 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43053 cat >>confdefs.h <<\_ACEOF
43054 #define wxUSE_LIBGNOMEVFS 1
43055 _ACEOF
43056
43057
43058 fi
43059 fi
43060 fi
43061
43062 if test "$wxUSE_LIBHILDON" = "yes" ; then
43063
43064 pkg_failed=no
43065 echo "$as_me:$LINENO: checking for HILDON" >&5
43066 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43067
43068 if test -n "$PKG_CONFIG"; then
43069 if test -n "$HILDON_CFLAGS"; then
43070 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43071 else
43072 if test -n "$PKG_CONFIG" && \
43073 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43074 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43075 ac_status=$?
43076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43077 (exit $ac_status); }; then
43078 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43079 else
43080 pkg_failed=yes
43081 fi
43082 fi
43083 else
43084 pkg_failed=untried
43085 fi
43086 if test -n "$PKG_CONFIG"; then
43087 if test -n "$HILDON_LIBS"; then
43088 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43089 else
43090 if test -n "$PKG_CONFIG" && \
43091 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43092 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43093 ac_status=$?
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); }; then
43096 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43097 else
43098 pkg_failed=yes
43099 fi
43100 fi
43101 else
43102 pkg_failed=untried
43103 fi
43104
43105
43106
43107 if test $pkg_failed = yes; then
43108
43109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43110 _pkg_short_errors_supported=yes
43111 else
43112 _pkg_short_errors_supported=no
43113 fi
43114 if test $_pkg_short_errors_supported = yes; then
43115 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43116 else
43117 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43118 fi
43119 # Put the nasty error message in config.log where it belongs
43120 echo "$HILDON_PKG_ERRORS" >&5
43121
43122
43123 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43124 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43125 wxUSE_LIBHILDON="no"
43126
43127
43128 elif test $pkg_failed = untried; then
43129
43130 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43131 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43132 wxUSE_LIBHILDON="no"
43133
43134
43135 else
43136 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43137 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43138 echo "$as_me:$LINENO: result: yes" >&5
43139 echo "${ECHO_T}yes" >&6
43140
43141 EXTRALIBS_HILDON="$HILDON_LIBS"
43142 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43143 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43144 cat >>confdefs.h <<\_ACEOF
43145 #define wxUSE_LIBHILDON 1
43146 _ACEOF
43147
43148
43149 fi
43150 fi
43151 fi
43152
43153 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_CMDLINE_PARSER 1
43156 _ACEOF
43157
43158 fi
43159
43160 if test "$wxUSE_STOPWATCH" = "yes"; then
43161 cat >>confdefs.h <<\_ACEOF
43162 #define wxUSE_STOPWATCH 1
43163 _ACEOF
43164
43165 fi
43166
43167 if test "$wxUSE_DATETIME" = "yes"; then
43168 cat >>confdefs.h <<\_ACEOF
43169 #define wxUSE_DATETIME 1
43170 _ACEOF
43171
43172 fi
43173
43174 if test "$wxUSE_FILE" = "yes"; then
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_FILE 1
43177 _ACEOF
43178
43179 fi
43180
43181 if test "$wxUSE_FFILE" = "yes"; then
43182 cat >>confdefs.h <<\_ACEOF
43183 #define wxUSE_FFILE 1
43184 _ACEOF
43185
43186 fi
43187
43188 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43189 if test "$wxUSE_STREAMS" != yes; then
43190 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43191 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43192 wxUSE_ARCHIVE_STREAMS=no
43193 else
43194 cat >>confdefs.h <<\_ACEOF
43195 #define wxUSE_ARCHIVE_STREAMS 1
43196 _ACEOF
43197
43198 fi
43199 fi
43200
43201 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43202 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43203 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43204 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43205 elif test "$wxUSE_ZLIB" = "no"; then
43206 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43207 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43208 else
43209 cat >>confdefs.h <<\_ACEOF
43210 #define wxUSE_ZIPSTREAM 1
43211 _ACEOF
43212
43213 fi
43214 fi
43215
43216 if test "$wxUSE_TARSTREAM" = "yes"; then
43217 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43218 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43219 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43220 else
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_TARSTREAM 1
43223 _ACEOF
43224
43225 fi
43226 fi
43227
43228 if test "$wxUSE_FILESYSTEM" = "yes"; then
43229 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43230 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43231 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43232 wxUSE_FILESYSTEM=no
43233 else
43234 cat >>confdefs.h <<\_ACEOF
43235 #define wxUSE_FILESYSTEM 1
43236 _ACEOF
43237
43238 fi
43239 fi
43240
43241 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43242 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43243 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43244 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43245 else
43246 cat >>confdefs.h <<\_ACEOF
43247 #define wxUSE_FS_ARCHIVE 1
43248 _ACEOF
43249
43250 fi
43251 fi
43252
43253 if test "$wxUSE_FS_ZIP" = "yes"; then
43254 if test "$wxUSE_FS_ARCHIVE" != yes; then
43255 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43256 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43257 else
43258 cat >>confdefs.h <<\_ACEOF
43259 #define wxUSE_FS_ZIP 1
43260 _ACEOF
43261
43262 fi
43263 fi
43264
43265 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43266 if test "$USE_UNIX" != 1; then
43267 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43268 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43269 wxUSE_ON_FATAL_EXCEPTION=no
43270 else
43271 cat >>confdefs.h <<\_ACEOF
43272 #define wxUSE_ON_FATAL_EXCEPTION 1
43273 _ACEOF
43274
43275 fi
43276 fi
43277
43278 if test "$wxUSE_STACKWALKER" = "yes"; then
43279 cat >>confdefs.h <<\_ACEOF
43280 #define wxUSE_STACKWALKER 1
43281 _ACEOF
43282
43283 fi
43284
43285 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43286 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43287 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43288 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43289 wxUSE_DEBUGREPORT=no
43290 else
43291 cat >>confdefs.h <<\_ACEOF
43292 #define wxUSE_DEBUGREPORT 1
43293 _ACEOF
43294
43295 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43297 fi
43298 fi
43299 fi
43300
43301 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_SNGLINST_CHECKER 1
43304 _ACEOF
43305
43306 fi
43307
43308 if test "$wxUSE_BUSYINFO" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_BUSYINFO 1
43311 _ACEOF
43312
43313 fi
43314
43315 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_STD_IOSTREAM 1
43318 _ACEOF
43319
43320 fi
43321
43322 if test "$wxUSE_STD_STRING" = "yes"; then
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_STD_STRING 1
43325 _ACEOF
43326
43327 fi
43328
43329 if test "$wxUSE_STDPATHS" = "yes"; then
43330 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_STDPATHS 1
43332 _ACEOF
43333
43334 fi
43335
43336 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43337 cat >>confdefs.h <<\_ACEOF
43338 #define wxUSE_TEXTBUFFER 1
43339 _ACEOF
43340
43341 fi
43342
43343 if test "$wxUSE_TEXTFILE" = "yes"; then
43344 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43345 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43346 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43347 else
43348 cat >>confdefs.h <<\_ACEOF
43349 #define wxUSE_TEXTFILE 1
43350 _ACEOF
43351
43352 fi
43353 fi
43354
43355 if test "$wxUSE_CONFIG" = "yes" ; then
43356 if test "$wxUSE_TEXTFILE" != "yes"; then
43357 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43358 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43359 else
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_CONFIG 1
43362 _ACEOF
43363
43364 cat >>confdefs.h <<\_ACEOF
43365 #define wxUSE_CONFIG_NATIVE 1
43366 _ACEOF
43367
43368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43369 fi
43370 fi
43371
43372 if test "$wxUSE_INTL" = "yes" ; then
43373 if test "$wxUSE_FILE" != "yes"; then
43374 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43375 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43376 else
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_INTL 1
43379 _ACEOF
43380
43381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43382 GUIDIST="$GUIDIST INTL_DIST"
43383 fi
43384 fi
43385
43386 if test "$wxUSE_LOG" = "yes"; then
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_LOG 1
43389 _ACEOF
43390
43391
43392 if test "$wxUSE_LOGGUI" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_LOGGUI 1
43395 _ACEOF
43396
43397 fi
43398
43399 if test "$wxUSE_LOGWINDOW" = "yes"; then
43400 cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_LOGWINDOW 1
43402 _ACEOF
43403
43404 fi
43405
43406 if test "$wxUSE_LOGDIALOG" = "yes"; then
43407 cat >>confdefs.h <<\_ACEOF
43408 #define wxUSE_LOG_DIALOG 1
43409 _ACEOF
43410
43411 fi
43412
43413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43414 fi
43415
43416 if test "$wxUSE_LONGLONG" = "yes"; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define wxUSE_LONGLONG 1
43419 _ACEOF
43420
43421 fi
43422
43423 if test "$wxUSE_GEOMETRY" = "yes"; then
43424 cat >>confdefs.h <<\_ACEOF
43425 #define wxUSE_GEOMETRY 1
43426 _ACEOF
43427
43428 fi
43429
43430 if test "$wxUSE_STREAMS" = "yes" ; then
43431 cat >>confdefs.h <<\_ACEOF
43432 #define wxUSE_STREAMS 1
43433 _ACEOF
43434
43435 fi
43436
43437 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43438 cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_PRINTF_POS_PARAMS 1
43440 _ACEOF
43441
43442 fi
43443
43444
43445
43446 if test "$wxUSE_DATETIME" = "yes"; then
43447
43448 for ac_func in strptime
43449 do
43450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43451 echo "$as_me:$LINENO: checking for $ac_func" >&5
43452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43453 if eval "test \"\${$as_ac_var+set}\" = set"; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43455 else
43456 cat >conftest.$ac_ext <<_ACEOF
43457 /* confdefs.h. */
43458 _ACEOF
43459 cat confdefs.h >>conftest.$ac_ext
43460 cat >>conftest.$ac_ext <<_ACEOF
43461 /* end confdefs.h. */
43462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43464 #define $ac_func innocuous_$ac_func
43465
43466 /* System header to define __stub macros and hopefully few prototypes,
43467 which can conflict with char $ac_func (); below.
43468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43469 <limits.h> exists even on freestanding compilers. */
43470
43471 #ifdef __STDC__
43472 # include <limits.h>
43473 #else
43474 # include <assert.h>
43475 #endif
43476
43477 #undef $ac_func
43478
43479 /* Override any gcc2 internal prototype to avoid an error. */
43480 #ifdef __cplusplus
43481 extern "C"
43482 {
43483 #endif
43484 /* We use char because int might match the return type of a gcc2
43485 builtin and then its argument prototype would still apply. */
43486 char $ac_func ();
43487 /* The GNU C library defines this for functions which it implements
43488 to always fail with ENOSYS. Some functions are actually named
43489 something starting with __ and the normal name is an alias. */
43490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43491 choke me
43492 #else
43493 char (*f) () = $ac_func;
43494 #endif
43495 #ifdef __cplusplus
43496 }
43497 #endif
43498
43499 int
43500 main ()
43501 {
43502 return f != $ac_func;
43503 ;
43504 return 0;
43505 }
43506 _ACEOF
43507 rm -f conftest.$ac_objext conftest$ac_exeext
43508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43509 (eval $ac_link) 2>conftest.er1
43510 ac_status=$?
43511 grep -v '^ *+' conftest.er1 >conftest.err
43512 rm -f conftest.er1
43513 cat conftest.err >&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); } &&
43516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43518 (eval $ac_try) 2>&5
43519 ac_status=$?
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; } &&
43522 { ac_try='test -s conftest$ac_exeext'
43523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43524 (eval $ac_try) 2>&5
43525 ac_status=$?
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); }; }; then
43528 eval "$as_ac_var=yes"
43529 else
43530 echo "$as_me: failed program was:" >&5
43531 sed 's/^/| /' conftest.$ac_ext >&5
43532
43533 eval "$as_ac_var=no"
43534 fi
43535 rm -f conftest.err conftest.$ac_objext \
43536 conftest$ac_exeext conftest.$ac_ext
43537 fi
43538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43540 if test `eval echo '${'$as_ac_var'}'` = yes; then
43541 cat >>confdefs.h <<_ACEOF
43542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43543 _ACEOF
43544
43545 fi
43546 done
43547
43548 if test "$ac_cv_func_strptime" = "yes"; then
43549 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43550 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43551 if test "${wx_cv_func_strptime_decl+set}" = set; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43553 else
43554
43555 ac_ext=cc
43556 ac_cpp='$CXXCPP $CPPFLAGS'
43557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43560
43561 cat >conftest.$ac_ext <<_ACEOF
43562 /* confdefs.h. */
43563 _ACEOF
43564 cat confdefs.h >>conftest.$ac_ext
43565 cat >>conftest.$ac_ext <<_ACEOF
43566 /* end confdefs.h. */
43567
43568 #include <time.h>
43569
43570 int
43571 main ()
43572 {
43573
43574 struct tm t;
43575 strptime("foo", "bar", &t);
43576
43577 ;
43578 return 0;
43579 }
43580 _ACEOF
43581 rm -f conftest.$ac_objext
43582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43583 (eval $ac_compile) 2>conftest.er1
43584 ac_status=$?
43585 grep -v '^ *+' conftest.er1 >conftest.err
43586 rm -f conftest.er1
43587 cat conftest.err >&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); } &&
43590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43592 (eval $ac_try) 2>&5
43593 ac_status=$?
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); }; } &&
43596 { ac_try='test -s conftest.$ac_objext'
43597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598 (eval $ac_try) 2>&5
43599 ac_status=$?
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; }; then
43602 wx_cv_func_strptime_decl=yes
43603 else
43604 echo "$as_me: failed program was:" >&5
43605 sed 's/^/| /' conftest.$ac_ext >&5
43606
43607 wx_cv_func_strptime_decl=no
43608
43609 fi
43610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43611 ac_ext=c
43612 ac_cpp='$CPP $CPPFLAGS'
43613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43616
43617
43618
43619 fi
43620 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43621 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43622 fi
43623 if test "$wx_cv_func_strptime_decl" = "yes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define HAVE_STRPTIME_DECL 1
43626 _ACEOF
43627
43628 fi
43629
43630 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43631 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43632 if test "${wx_cv_var_timezone+set}" = set; then
43633 echo $ECHO_N "(cached) $ECHO_C" >&6
43634 else
43635
43636 ac_ext=cc
43637 ac_cpp='$CXXCPP $CPPFLAGS'
43638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43641
43642 cat >conftest.$ac_ext <<_ACEOF
43643 /* confdefs.h. */
43644 _ACEOF
43645 cat confdefs.h >>conftest.$ac_ext
43646 cat >>conftest.$ac_ext <<_ACEOF
43647 /* end confdefs.h. */
43648
43649 #include <time.h>
43650
43651 int
43652 main ()
43653 {
43654
43655 int tz;
43656 tz = timezone;
43657
43658 ;
43659 return 0;
43660 }
43661 _ACEOF
43662 rm -f conftest.$ac_objext
43663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43664 (eval $ac_compile) 2>conftest.er1
43665 ac_status=$?
43666 grep -v '^ *+' conftest.er1 >conftest.err
43667 rm -f conftest.er1
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } &&
43671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43673 (eval $ac_try) 2>&5
43674 ac_status=$?
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); }; } &&
43677 { ac_try='test -s conftest.$ac_objext'
43678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43679 (eval $ac_try) 2>&5
43680 ac_status=$?
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); }; }; then
43683
43684 wx_cv_var_timezone=timezone
43685
43686 else
43687 echo "$as_me: failed program was:" >&5
43688 sed 's/^/| /' conftest.$ac_ext >&5
43689
43690
43691 cat >conftest.$ac_ext <<_ACEOF
43692 /* confdefs.h. */
43693 _ACEOF
43694 cat confdefs.h >>conftest.$ac_ext
43695 cat >>conftest.$ac_ext <<_ACEOF
43696 /* end confdefs.h. */
43697
43698 #include <time.h>
43699
43700 int
43701 main ()
43702 {
43703
43704 int tz;
43705 tz = _timezone;
43706
43707 ;
43708 return 0;
43709 }
43710 _ACEOF
43711 rm -f conftest.$ac_objext
43712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43713 (eval $ac_compile) 2>conftest.er1
43714 ac_status=$?
43715 grep -v '^ *+' conftest.er1 >conftest.err
43716 rm -f conftest.er1
43717 cat conftest.err >&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } &&
43720 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43723 ac_status=$?
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; } &&
43726 { ac_try='test -s conftest.$ac_objext'
43727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43728 (eval $ac_try) 2>&5
43729 ac_status=$?
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); }; }; then
43732
43733 wx_cv_var_timezone=_timezone
43734
43735 else
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43738
43739
43740 cat >conftest.$ac_ext <<_ACEOF
43741 /* confdefs.h. */
43742 _ACEOF
43743 cat confdefs.h >>conftest.$ac_ext
43744 cat >>conftest.$ac_ext <<_ACEOF
43745 /* end confdefs.h. */
43746
43747 #include <time.h>
43748
43749 int
43750 main ()
43751 {
43752
43753 int tz;
43754 tz = __timezone;
43755
43756 ;
43757 return 0;
43758 }
43759 _ACEOF
43760 rm -f conftest.$ac_objext
43761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43762 (eval $ac_compile) 2>conftest.er1
43763 ac_status=$?
43764 grep -v '^ *+' conftest.er1 >conftest.err
43765 rm -f conftest.er1
43766 cat conftest.err >&5
43767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768 (exit $ac_status); } &&
43769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43771 (eval $ac_try) 2>&5
43772 ac_status=$?
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); }; } &&
43775 { ac_try='test -s conftest.$ac_objext'
43776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43777 (eval $ac_try) 2>&5
43778 ac_status=$?
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); }; }; then
43781
43782 wx_cv_var_timezone=__timezone
43783
43784 else
43785 echo "$as_me: failed program was:" >&5
43786 sed 's/^/| /' conftest.$ac_ext >&5
43787
43788
43789 if test "$USE_DOS" = 0 ; then
43790 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43791 echo "$as_me: WARNING: no timezone variable" >&2;}
43792 fi
43793
43794
43795 fi
43796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43797
43798
43799 fi
43800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43801
43802
43803 fi
43804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43805 ac_ext=c
43806 ac_cpp='$CPP $CPPFLAGS'
43807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43810
43811
43812
43813 fi
43814 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43815 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43816
43817 if test "x$wx_cv_var_timezone" != x ; then
43818 cat >>confdefs.h <<_ACEOF
43819 #define WX_TIMEZONE $wx_cv_var_timezone
43820 _ACEOF
43821
43822 fi
43823
43824
43825 for ac_func in localtime
43826 do
43827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43828 echo "$as_me:$LINENO: checking for $ac_func" >&5
43829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43830 if eval "test \"\${$as_ac_var+set}\" = set"; then
43831 echo $ECHO_N "(cached) $ECHO_C" >&6
43832 else
43833 cat >conftest.$ac_ext <<_ACEOF
43834 /* confdefs.h. */
43835 _ACEOF
43836 cat confdefs.h >>conftest.$ac_ext
43837 cat >>conftest.$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43841 #define $ac_func innocuous_$ac_func
43842
43843 /* System header to define __stub macros and hopefully few prototypes,
43844 which can conflict with char $ac_func (); below.
43845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43846 <limits.h> exists even on freestanding compilers. */
43847
43848 #ifdef __STDC__
43849 # include <limits.h>
43850 #else
43851 # include <assert.h>
43852 #endif
43853
43854 #undef $ac_func
43855
43856 /* Override any gcc2 internal prototype to avoid an error. */
43857 #ifdef __cplusplus
43858 extern "C"
43859 {
43860 #endif
43861 /* We use char because int might match the return type of a gcc2
43862 builtin and then its argument prototype would still apply. */
43863 char $ac_func ();
43864 /* The GNU C library defines this for functions which it implements
43865 to always fail with ENOSYS. Some functions are actually named
43866 something starting with __ and the normal name is an alias. */
43867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43868 choke me
43869 #else
43870 char (*f) () = $ac_func;
43871 #endif
43872 #ifdef __cplusplus
43873 }
43874 #endif
43875
43876 int
43877 main ()
43878 {
43879 return f != $ac_func;
43880 ;
43881 return 0;
43882 }
43883 _ACEOF
43884 rm -f conftest.$ac_objext conftest$ac_exeext
43885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43886 (eval $ac_link) 2>conftest.er1
43887 ac_status=$?
43888 grep -v '^ *+' conftest.er1 >conftest.err
43889 rm -f conftest.er1
43890 cat conftest.err >&5
43891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43892 (exit $ac_status); } &&
43893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43895 (eval $ac_try) 2>&5
43896 ac_status=$?
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); }; } &&
43899 { ac_try='test -s conftest$ac_exeext'
43900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43901 (eval $ac_try) 2>&5
43902 ac_status=$?
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); }; }; then
43905 eval "$as_ac_var=yes"
43906 else
43907 echo "$as_me: failed program was:" >&5
43908 sed 's/^/| /' conftest.$ac_ext >&5
43909
43910 eval "$as_ac_var=no"
43911 fi
43912 rm -f conftest.err conftest.$ac_objext \
43913 conftest$ac_exeext conftest.$ac_ext
43914 fi
43915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43917 if test `eval echo '${'$as_ac_var'}'` = yes; then
43918 cat >>confdefs.h <<_ACEOF
43919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43920 _ACEOF
43921
43922 fi
43923 done
43924
43925
43926 if test "$ac_cv_func_localtime" = "yes"; then
43927 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43928 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43929 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43930 echo $ECHO_N "(cached) $ECHO_C" >&6
43931 else
43932
43933 cat >conftest.$ac_ext <<_ACEOF
43934 /* confdefs.h. */
43935 _ACEOF
43936 cat confdefs.h >>conftest.$ac_ext
43937 cat >>conftest.$ac_ext <<_ACEOF
43938 /* end confdefs.h. */
43939
43940 #include <time.h>
43941
43942 int
43943 main ()
43944 {
43945
43946 struct tm tm;
43947 tm.tm_gmtoff++;
43948
43949 ;
43950 return 0;
43951 }
43952 _ACEOF
43953 rm -f conftest.$ac_objext
43954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43955 (eval $ac_compile) 2>conftest.er1
43956 ac_status=$?
43957 grep -v '^ *+' conftest.er1 >conftest.err
43958 rm -f conftest.er1
43959 cat conftest.err >&5
43960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961 (exit $ac_status); } &&
43962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43964 (eval $ac_try) 2>&5
43965 ac_status=$?
43966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43967 (exit $ac_status); }; } &&
43968 { ac_try='test -s conftest.$ac_objext'
43969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43970 (eval $ac_try) 2>&5
43971 ac_status=$?
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); }; }; then
43974
43975 wx_cv_struct_tm_has_gmtoff=yes
43976
43977 else
43978 echo "$as_me: failed program was:" >&5
43979 sed 's/^/| /' conftest.$ac_ext >&5
43980
43981 wx_cv_struct_tm_has_gmtoff=no
43982
43983 fi
43984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43985
43986 fi
43987 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43988 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43989 fi
43990
43991 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43992 cat >>confdefs.h <<\_ACEOF
43993 #define WX_GMTOFF_IN_TM 1
43994 _ACEOF
43995
43996 fi
43997
43998
43999
44000 for ac_func in gettimeofday ftime
44001 do
44002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44003 echo "$as_me:$LINENO: checking for $ac_func" >&5
44004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44005 if eval "test \"\${$as_ac_var+set}\" = set"; then
44006 echo $ECHO_N "(cached) $ECHO_C" >&6
44007 else
44008 cat >conftest.$ac_ext <<_ACEOF
44009 /* confdefs.h. */
44010 _ACEOF
44011 cat confdefs.h >>conftest.$ac_ext
44012 cat >>conftest.$ac_ext <<_ACEOF
44013 /* end confdefs.h. */
44014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44016 #define $ac_func innocuous_$ac_func
44017
44018 /* System header to define __stub macros and hopefully few prototypes,
44019 which can conflict with char $ac_func (); below.
44020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44021 <limits.h> exists even on freestanding compilers. */
44022
44023 #ifdef __STDC__
44024 # include <limits.h>
44025 #else
44026 # include <assert.h>
44027 #endif
44028
44029 #undef $ac_func
44030
44031 /* Override any gcc2 internal prototype to avoid an error. */
44032 #ifdef __cplusplus
44033 extern "C"
44034 {
44035 #endif
44036 /* We use char because int might match the return type of a gcc2
44037 builtin and then its argument prototype would still apply. */
44038 char $ac_func ();
44039 /* The GNU C library defines this for functions which it implements
44040 to always fail with ENOSYS. Some functions are actually named
44041 something starting with __ and the normal name is an alias. */
44042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44043 choke me
44044 #else
44045 char (*f) () = $ac_func;
44046 #endif
44047 #ifdef __cplusplus
44048 }
44049 #endif
44050
44051 int
44052 main ()
44053 {
44054 return f != $ac_func;
44055 ;
44056 return 0;
44057 }
44058 _ACEOF
44059 rm -f conftest.$ac_objext conftest$ac_exeext
44060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44061 (eval $ac_link) 2>conftest.er1
44062 ac_status=$?
44063 grep -v '^ *+' conftest.er1 >conftest.err
44064 rm -f conftest.er1
44065 cat conftest.err >&5
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); } &&
44068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44070 (eval $ac_try) 2>&5
44071 ac_status=$?
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); }; } &&
44074 { ac_try='test -s conftest$ac_exeext'
44075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44076 (eval $ac_try) 2>&5
44077 ac_status=$?
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); }; }; then
44080 eval "$as_ac_var=yes"
44081 else
44082 echo "$as_me: failed program was:" >&5
44083 sed 's/^/| /' conftest.$ac_ext >&5
44084
44085 eval "$as_ac_var=no"
44086 fi
44087 rm -f conftest.err conftest.$ac_objext \
44088 conftest$ac_exeext conftest.$ac_ext
44089 fi
44090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44092 if test `eval echo '${'$as_ac_var'}'` = yes; then
44093 cat >>confdefs.h <<_ACEOF
44094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44095 _ACEOF
44096 break
44097 fi
44098 done
44099
44100
44101 if test "$ac_cv_func_gettimeofday" = "yes"; then
44102 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44103 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44104 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44105 echo $ECHO_N "(cached) $ECHO_C" >&6
44106 else
44107
44108 cat >conftest.$ac_ext <<_ACEOF
44109 /* confdefs.h. */
44110 _ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44114
44115 #include <sys/time.h>
44116 #include <unistd.h>
44117
44118 int
44119 main ()
44120 {
44121
44122 struct timeval tv;
44123 gettimeofday(&tv, NULL);
44124
44125 ;
44126 return 0;
44127 }
44128 _ACEOF
44129 rm -f conftest.$ac_objext
44130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44131 (eval $ac_compile) 2>conftest.er1
44132 ac_status=$?
44133 grep -v '^ *+' conftest.er1 >conftest.err
44134 rm -f conftest.er1
44135 cat conftest.err >&5
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); } &&
44138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44140 (eval $ac_try) 2>&5
44141 ac_status=$?
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); }; } &&
44144 { ac_try='test -s conftest.$ac_objext'
44145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44146 (eval $ac_try) 2>&5
44147 ac_status=$?
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); }; }; then
44150 wx_cv_func_gettimeofday_has_2_args=yes
44151 else
44152 echo "$as_me: failed program was:" >&5
44153 sed 's/^/| /' conftest.$ac_ext >&5
44154
44155 cat >conftest.$ac_ext <<_ACEOF
44156 /* confdefs.h. */
44157 _ACEOF
44158 cat confdefs.h >>conftest.$ac_ext
44159 cat >>conftest.$ac_ext <<_ACEOF
44160 /* end confdefs.h. */
44161
44162 #include <sys/time.h>
44163 #include <unistd.h>
44164
44165 int
44166 main ()
44167 {
44168
44169 struct timeval tv;
44170 gettimeofday(&tv);
44171
44172 ;
44173 return 0;
44174 }
44175 _ACEOF
44176 rm -f conftest.$ac_objext
44177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44178 (eval $ac_compile) 2>conftest.er1
44179 ac_status=$?
44180 grep -v '^ *+' conftest.er1 >conftest.err
44181 rm -f conftest.er1
44182 cat conftest.err >&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } &&
44185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44187 (eval $ac_try) 2>&5
44188 ac_status=$?
44189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190 (exit $ac_status); }; } &&
44191 { ac_try='test -s conftest.$ac_objext'
44192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44193 (eval $ac_try) 2>&5
44194 ac_status=$?
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); }; }; then
44197 wx_cv_func_gettimeofday_has_2_args=no
44198 else
44199 echo "$as_me: failed program was:" >&5
44200 sed 's/^/| /' conftest.$ac_ext >&5
44201
44202
44203 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44204 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44205 wx_cv_func_gettimeofday_has_2_args=unknown
44206
44207
44208 fi
44209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44210
44211 fi
44212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44213
44214 fi
44215 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44216 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44217
44218 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44219 cat >>confdefs.h <<\_ACEOF
44220 #define WX_GETTIMEOFDAY_NO_TZ 1
44221 _ACEOF
44222
44223 fi
44224 fi
44225
44226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44227 fi
44228
44229
44230 if test "$wxUSE_SOCKETS" = "yes"; then
44231 if test "$wxUSE_MGL" = "1"; then
44232 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44233 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44234 wxUSE_SOCKETS="no"
44235 fi
44236 fi
44237
44238 if test "$wxUSE_SOCKETS" = "yes"; then
44239 if test "$TOOLKIT" != "MSW"; then
44240 echo "$as_me:$LINENO: checking for socket" >&5
44241 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44242 if test "${ac_cv_func_socket+set}" = set; then
44243 echo $ECHO_N "(cached) $ECHO_C" >&6
44244 else
44245 cat >conftest.$ac_ext <<_ACEOF
44246 /* confdefs.h. */
44247 _ACEOF
44248 cat confdefs.h >>conftest.$ac_ext
44249 cat >>conftest.$ac_ext <<_ACEOF
44250 /* end confdefs.h. */
44251 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44253 #define socket innocuous_socket
44254
44255 /* System header to define __stub macros and hopefully few prototypes,
44256 which can conflict with char socket (); below.
44257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44258 <limits.h> exists even on freestanding compilers. */
44259
44260 #ifdef __STDC__
44261 # include <limits.h>
44262 #else
44263 # include <assert.h>
44264 #endif
44265
44266 #undef socket
44267
44268 /* Override any gcc2 internal prototype to avoid an error. */
44269 #ifdef __cplusplus
44270 extern "C"
44271 {
44272 #endif
44273 /* We use char because int might match the return type of a gcc2
44274 builtin and then its argument prototype would still apply. */
44275 char socket ();
44276 /* The GNU C library defines this for functions which it implements
44277 to always fail with ENOSYS. Some functions are actually named
44278 something starting with __ and the normal name is an alias. */
44279 #if defined (__stub_socket) || defined (__stub___socket)
44280 choke me
44281 #else
44282 char (*f) () = socket;
44283 #endif
44284 #ifdef __cplusplus
44285 }
44286 #endif
44287
44288 int
44289 main ()
44290 {
44291 return f != socket;
44292 ;
44293 return 0;
44294 }
44295 _ACEOF
44296 rm -f conftest.$ac_objext conftest$ac_exeext
44297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44298 (eval $ac_link) 2>conftest.er1
44299 ac_status=$?
44300 grep -v '^ *+' conftest.er1 >conftest.err
44301 rm -f conftest.er1
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } &&
44305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; } &&
44311 { ac_try='test -s conftest$ac_exeext'
44312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44313 (eval $ac_try) 2>&5
44314 ac_status=$?
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); }; }; then
44317 ac_cv_func_socket=yes
44318 else
44319 echo "$as_me: failed program was:" >&5
44320 sed 's/^/| /' conftest.$ac_ext >&5
44321
44322 ac_cv_func_socket=no
44323 fi
44324 rm -f conftest.err conftest.$ac_objext \
44325 conftest$ac_exeext conftest.$ac_ext
44326 fi
44327 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44328 echo "${ECHO_T}$ac_cv_func_socket" >&6
44329 if test $ac_cv_func_socket = yes; then
44330 :
44331 else
44332
44333 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44334 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44335 if test "${ac_cv_lib_socket_socket+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44337 else
44338 ac_check_lib_save_LIBS=$LIBS
44339 LIBS="-lsocket $LIBS"
44340 cat >conftest.$ac_ext <<_ACEOF
44341 /* confdefs.h. */
44342 _ACEOF
44343 cat confdefs.h >>conftest.$ac_ext
44344 cat >>conftest.$ac_ext <<_ACEOF
44345 /* end confdefs.h. */
44346
44347 /* Override any gcc2 internal prototype to avoid an error. */
44348 #ifdef __cplusplus
44349 extern "C"
44350 #endif
44351 /* We use char because int might match the return type of a gcc2
44352 builtin and then its argument prototype would still apply. */
44353 char socket ();
44354 int
44355 main ()
44356 {
44357 socket ();
44358 ;
44359 return 0;
44360 }
44361 _ACEOF
44362 rm -f conftest.$ac_objext conftest$ac_exeext
44363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44364 (eval $ac_link) 2>conftest.er1
44365 ac_status=$?
44366 grep -v '^ *+' conftest.er1 >conftest.err
44367 rm -f conftest.er1
44368 cat conftest.err >&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); } &&
44371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44373 (eval $ac_try) 2>&5
44374 ac_status=$?
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; } &&
44377 { ac_try='test -s conftest$ac_exeext'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; }; then
44383 ac_cv_lib_socket_socket=yes
44384 else
44385 echo "$as_me: failed program was:" >&5
44386 sed 's/^/| /' conftest.$ac_ext >&5
44387
44388 ac_cv_lib_socket_socket=no
44389 fi
44390 rm -f conftest.err conftest.$ac_objext \
44391 conftest$ac_exeext conftest.$ac_ext
44392 LIBS=$ac_check_lib_save_LIBS
44393 fi
44394 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44395 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44396 if test $ac_cv_lib_socket_socket = yes; then
44397 if test "$INET_LINK" != " -lsocket"; then
44398 INET_LINK="$INET_LINK -lsocket"
44399 fi
44400 else
44401
44402 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44403 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44404 wxUSE_SOCKETS=no
44405
44406
44407 fi
44408
44409
44410
44411 fi
44412
44413 fi
44414 fi
44415
44416 if test "$wxUSE_SOCKETS" = "yes" ; then
44417 if test "$TOOLKIT" != "MSW"; then
44418 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44419 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44420 if test "${wx_cv_type_getsockname3+set}" = set; then
44421 echo $ECHO_N "(cached) $ECHO_C" >&6
44422 else
44423
44424 ac_ext=cc
44425 ac_cpp='$CXXCPP $CPPFLAGS'
44426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44429
44430 cat >conftest.$ac_ext <<_ACEOF
44431 /* confdefs.h. */
44432 _ACEOF
44433 cat confdefs.h >>conftest.$ac_ext
44434 cat >>conftest.$ac_ext <<_ACEOF
44435 /* end confdefs.h. */
44436
44437 #include <sys/types.h>
44438 #include <sys/socket.h>
44439
44440 int
44441 main ()
44442 {
44443
44444 socklen_t len;
44445 getsockname(0, 0, &len);
44446
44447 ;
44448 return 0;
44449 }
44450 _ACEOF
44451 rm -f conftest.$ac_objext
44452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44453 (eval $ac_compile) 2>conftest.er1
44454 ac_status=$?
44455 grep -v '^ *+' conftest.er1 >conftest.err
44456 rm -f conftest.er1
44457 cat conftest.err >&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); } &&
44460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44462 (eval $ac_try) 2>&5
44463 ac_status=$?
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); }; } &&
44466 { ac_try='test -s conftest.$ac_objext'
44467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44468 (eval $ac_try) 2>&5
44469 ac_status=$?
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); }; }; then
44472 wx_cv_type_getsockname3=socklen_t
44473 else
44474 echo "$as_me: failed program was:" >&5
44475 sed 's/^/| /' conftest.$ac_ext >&5
44476
44477
44478 CFLAGS_OLD="$CFLAGS"
44479 if test "$GCC" = yes ; then
44480 CFLAGS="-Werror $CFLAGS"
44481 fi
44482
44483 cat >conftest.$ac_ext <<_ACEOF
44484 /* confdefs.h. */
44485 _ACEOF
44486 cat confdefs.h >>conftest.$ac_ext
44487 cat >>conftest.$ac_ext <<_ACEOF
44488 /* end confdefs.h. */
44489
44490 #include <sys/types.h>
44491 #include <sys/socket.h>
44492
44493 int
44494 main ()
44495 {
44496
44497 size_t len;
44498 getsockname(0, 0, &len);
44499
44500 ;
44501 return 0;
44502 }
44503 _ACEOF
44504 rm -f conftest.$ac_objext
44505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44506 (eval $ac_compile) 2>conftest.er1
44507 ac_status=$?
44508 grep -v '^ *+' conftest.er1 >conftest.err
44509 rm -f conftest.er1
44510 cat conftest.err >&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); } &&
44513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515 (eval $ac_try) 2>&5
44516 ac_status=$?
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); }; } &&
44519 { ac_try='test -s conftest.$ac_objext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44522 ac_status=$?
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44525 wx_cv_type_getsockname3=size_t
44526 else
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44529
44530 cat >conftest.$ac_ext <<_ACEOF
44531 /* confdefs.h. */
44532 _ACEOF
44533 cat confdefs.h >>conftest.$ac_ext
44534 cat >>conftest.$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44536
44537 #include <sys/types.h>
44538 #include <sys/socket.h>
44539
44540 int
44541 main ()
44542 {
44543
44544 int len;
44545 getsockname(0, 0, &len);
44546
44547 ;
44548 return 0;
44549 }
44550 _ACEOF
44551 rm -f conftest.$ac_objext
44552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44553 (eval $ac_compile) 2>conftest.er1
44554 ac_status=$?
44555 grep -v '^ *+' conftest.er1 >conftest.err
44556 rm -f conftest.er1
44557 cat conftest.err >&5
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); } &&
44560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44562 (eval $ac_try) 2>&5
44563 ac_status=$?
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); }; } &&
44566 { ac_try='test -s conftest.$ac_objext'
44567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44568 (eval $ac_try) 2>&5
44569 ac_status=$?
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); }; }; then
44572 wx_cv_type_getsockname3=int
44573 else
44574 echo "$as_me: failed program was:" >&5
44575 sed 's/^/| /' conftest.$ac_ext >&5
44576
44577 wx_cv_type_getsockname3=unknown
44578
44579 fi
44580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44581
44582 fi
44583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44584
44585 CFLAGS="$CFLAGS_OLD"
44586
44587
44588 fi
44589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44590 ac_ext=c
44591 ac_cpp='$CPP $CPPFLAGS'
44592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44595
44596
44597 fi
44598 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44599 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44600
44601 if test "$wx_cv_type_getsockname3" = "unknown"; then
44602 wxUSE_SOCKETS=no
44603 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44604 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44605 else
44606 cat >>confdefs.h <<_ACEOF
44607 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44608 _ACEOF
44609
44610 fi
44611 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44612 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44613 if test "${wx_cv_type_getsockopt5+set}" = set; then
44614 echo $ECHO_N "(cached) $ECHO_C" >&6
44615 else
44616
44617 cat >conftest.$ac_ext <<_ACEOF
44618 /* confdefs.h. */
44619 _ACEOF
44620 cat confdefs.h >>conftest.$ac_ext
44621 cat >>conftest.$ac_ext <<_ACEOF
44622 /* end confdefs.h. */
44623
44624 #include <sys/types.h>
44625 #include <sys/socket.h>
44626
44627 int
44628 main ()
44629 {
44630
44631 socklen_t len;
44632 getsockopt(0, 0, 0, 0, &len);
44633
44634 ;
44635 return 0;
44636 }
44637 _ACEOF
44638 rm -f conftest.$ac_objext
44639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44640 (eval $ac_compile) 2>conftest.er1
44641 ac_status=$?
44642 grep -v '^ *+' conftest.er1 >conftest.err
44643 rm -f conftest.er1
44644 cat conftest.err >&5
44645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646 (exit $ac_status); } &&
44647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44649 (eval $ac_try) 2>&5
44650 ac_status=$?
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; } &&
44653 { ac_try='test -s conftest.$ac_objext'
44654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44655 (eval $ac_try) 2>&5
44656 ac_status=$?
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); }; }; then
44659 wx_cv_type_getsockopt5=socklen_t
44660 else
44661 echo "$as_me: failed program was:" >&5
44662 sed 's/^/| /' conftest.$ac_ext >&5
44663
44664
44665 CFLAGS_OLD="$CFLAGS"
44666 if test "$GCC" = yes ; then
44667 CFLAGS="-Werror $CFLAGS"
44668 fi
44669
44670 cat >conftest.$ac_ext <<_ACEOF
44671 /* confdefs.h. */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h. */
44676
44677 #include <sys/types.h>
44678 #include <sys/socket.h>
44679
44680 int
44681 main ()
44682 {
44683
44684 size_t len;
44685 getsockopt(0, 0, 0, 0, &len);
44686
44687 ;
44688 return 0;
44689 }
44690 _ACEOF
44691 rm -f conftest.$ac_objext
44692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44693 (eval $ac_compile) 2>conftest.er1
44694 ac_status=$?
44695 grep -v '^ *+' conftest.er1 >conftest.err
44696 rm -f conftest.er1
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } &&
44700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44702 (eval $ac_try) 2>&5
44703 ac_status=$?
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); }; } &&
44706 { ac_try='test -s conftest.$ac_objext'
44707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44708 (eval $ac_try) 2>&5
44709 ac_status=$?
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); }; }; then
44712 wx_cv_type_getsockopt5=size_t
44713 else
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.$ac_ext >&5
44716
44717 cat >conftest.$ac_ext <<_ACEOF
44718 /* confdefs.h. */
44719 _ACEOF
44720 cat confdefs.h >>conftest.$ac_ext
44721 cat >>conftest.$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44723
44724 #include <sys/types.h>
44725 #include <sys/socket.h>
44726
44727 int
44728 main ()
44729 {
44730
44731 int len;
44732 getsockopt(0, 0, 0, 0, &len);
44733
44734 ;
44735 return 0;
44736 }
44737 _ACEOF
44738 rm -f conftest.$ac_objext
44739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44740 (eval $ac_compile) 2>conftest.er1
44741 ac_status=$?
44742 grep -v '^ *+' conftest.er1 >conftest.err
44743 rm -f conftest.er1
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } &&
44747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44749 (eval $ac_try) 2>&5
44750 ac_status=$?
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; } &&
44753 { ac_try='test -s conftest.$ac_objext'
44754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44755 (eval $ac_try) 2>&5
44756 ac_status=$?
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); }; }; then
44759 wx_cv_type_getsockopt5=int
44760 else
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.$ac_ext >&5
44763
44764 wx_cv_type_getsockopt5=unknown
44765
44766 fi
44767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44768
44769 fi
44770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44771
44772 CFLAGS="$CFLAGS_OLD"
44773
44774
44775 fi
44776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44777
44778 fi
44779 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44780 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44781
44782 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44783 wxUSE_SOCKETS=no
44784 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44785 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44786 else
44787 cat >>confdefs.h <<_ACEOF
44788 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44789 _ACEOF
44790
44791 fi
44792 fi
44793 fi
44794
44795 if test "$wxUSE_SOCKETS" = "yes" ; then
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_SOCKETS 1
44798 _ACEOF
44799
44800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44801 fi
44802
44803 if test "$wxUSE_PROTOCOL" = "yes"; then
44804 if test "$wxUSE_SOCKETS" != "yes"; then
44805 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44806 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44807 wxUSE_PROTOCOL=no
44808 fi
44809 fi
44810
44811 if test "$wxUSE_PROTOCOL" = "yes"; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_PROTOCOL 1
44814 _ACEOF
44815
44816
44817 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_PROTOCOL_HTTP 1
44820 _ACEOF
44821
44822 fi
44823 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_PROTOCOL_FTP 1
44826 _ACEOF
44827
44828 fi
44829 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_PROTOCOL_FILE 1
44832 _ACEOF
44833
44834 fi
44835 else
44836 if test "$wxUSE_FS_INET" = "yes"; then
44837 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44838 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44839 wxUSE_FS_INET="no"
44840 fi
44841 fi
44842
44843 if test "$wxUSE_URL" = "yes"; then
44844 if test "$wxUSE_PROTOCOL" != "yes"; then
44845 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44846 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44847 wxUSE_URL=no
44848 fi
44849 if test "$wxUSE_URL" = "yes"; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_URL 1
44852 _ACEOF
44853
44854 fi
44855 fi
44856
44857 if test "$wxUSE_VARIANT" = "yes"; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_VARIANT 1
44860 _ACEOF
44861
44862 fi
44863
44864 if test "$wxUSE_FS_INET" = "yes"; then
44865 cat >>confdefs.h <<\_ACEOF
44866 #define wxUSE_FS_INET 1
44867 _ACEOF
44868
44869 fi
44870
44871
44872 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44873 wxUSE_JOYSTICK=no
44874
44875 if test "$TOOLKIT" = "MSW"; then
44876 wxUSE_JOYSTICK=yes
44877
44878 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44879 if test "$USE_DARWIN" = 1; then
44880 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44881 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44882 ac_ext=cc
44883 ac_cpp='$CXXCPP $CPPFLAGS'
44884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44887
44888 cat >conftest.$ac_ext <<_ACEOF
44889 /* confdefs.h. */
44890 _ACEOF
44891 cat confdefs.h >>conftest.$ac_ext
44892 cat >>conftest.$ac_ext <<_ACEOF
44893 /* end confdefs.h. */
44894 #include <IOKit/hid/IOHIDLib.h>
44895 int
44896 main ()
44897 {
44898 IOHIDQueueInterface *qi = NULL;
44899 IOHIDCallbackFunction cb = NULL;
44900 qi->setEventCallout(NULL, cb, NULL, NULL);
44901 ;
44902 return 0;
44903 }
44904 _ACEOF
44905 rm -f conftest.$ac_objext
44906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44907 (eval $ac_compile) 2>conftest.er1
44908 ac_status=$?
44909 grep -v '^ *+' conftest.er1 >conftest.err
44910 rm -f conftest.er1
44911 cat conftest.err >&5
44912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913 (exit $ac_status); } &&
44914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44916 (eval $ac_try) 2>&5
44917 ac_status=$?
44918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44919 (exit $ac_status); }; } &&
44920 { ac_try='test -s conftest.$ac_objext'
44921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44922 (eval $ac_try) 2>&5
44923 ac_status=$?
44924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44925 (exit $ac_status); }; }; then
44926 wxUSE_JOYSTICK=yes
44927
44928 else
44929 echo "$as_me: failed program was:" >&5
44930 sed 's/^/| /' conftest.$ac_ext >&5
44931
44932 fi
44933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44934 ac_ext=c
44935 ac_cpp='$CPP $CPPFLAGS'
44936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44939
44940 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44941 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44942 fi
44943
44944 else
44945 if test "$wxUSE_MGL" != "1"; then
44946
44947 for ac_header in linux/joystick.h
44948 do
44949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44951 echo "$as_me:$LINENO: checking for $ac_header" >&5
44952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44954 echo $ECHO_N "(cached) $ECHO_C" >&6
44955 fi
44956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44958 else
44959 # Is the header compilable?
44960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44962 cat >conftest.$ac_ext <<_ACEOF
44963 /* confdefs.h. */
44964 _ACEOF
44965 cat confdefs.h >>conftest.$ac_ext
44966 cat >>conftest.$ac_ext <<_ACEOF
44967 /* end confdefs.h. */
44968 $ac_includes_default
44969 #include <$ac_header>
44970 _ACEOF
44971 rm -f conftest.$ac_objext
44972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44973 (eval $ac_compile) 2>conftest.er1
44974 ac_status=$?
44975 grep -v '^ *+' conftest.er1 >conftest.err
44976 rm -f conftest.er1
44977 cat conftest.err >&5
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); } &&
44980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44983 ac_status=$?
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; } &&
44986 { ac_try='test -s conftest.$ac_objext'
44987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988 (eval $ac_try) 2>&5
44989 ac_status=$?
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); }; }; then
44992 ac_header_compiler=yes
44993 else
44994 echo "$as_me: failed program was:" >&5
44995 sed 's/^/| /' conftest.$ac_ext >&5
44996
44997 ac_header_compiler=no
44998 fi
44999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45001 echo "${ECHO_T}$ac_header_compiler" >&6
45002
45003 # Is the header present?
45004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45006 cat >conftest.$ac_ext <<_ACEOF
45007 /* confdefs.h. */
45008 _ACEOF
45009 cat confdefs.h >>conftest.$ac_ext
45010 cat >>conftest.$ac_ext <<_ACEOF
45011 /* end confdefs.h. */
45012 #include <$ac_header>
45013 _ACEOF
45014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45016 ac_status=$?
45017 grep -v '^ *+' conftest.er1 >conftest.err
45018 rm -f conftest.er1
45019 cat conftest.err >&5
45020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021 (exit $ac_status); } >/dev/null; then
45022 if test -s conftest.err; then
45023 ac_cpp_err=$ac_c_preproc_warn_flag
45024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45025 else
45026 ac_cpp_err=
45027 fi
45028 else
45029 ac_cpp_err=yes
45030 fi
45031 if test -z "$ac_cpp_err"; then
45032 ac_header_preproc=yes
45033 else
45034 echo "$as_me: failed program was:" >&5
45035 sed 's/^/| /' conftest.$ac_ext >&5
45036
45037 ac_header_preproc=no
45038 fi
45039 rm -f conftest.err conftest.$ac_ext
45040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45041 echo "${ECHO_T}$ac_header_preproc" >&6
45042
45043 # So? What about this header?
45044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45045 yes:no: )
45046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45050 ac_header_preproc=yes
45051 ;;
45052 no:yes:* )
45053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45065 (
45066 cat <<\_ASBOX
45067 ## ----------------------------------------- ##
45068 ## Report this to wx-dev@lists.wxwidgets.org ##
45069 ## ----------------------------------------- ##
45070 _ASBOX
45071 ) |
45072 sed "s/^/$as_me: WARNING: /" >&2
45073 ;;
45074 esac
45075 echo "$as_me:$LINENO: checking for $ac_header" >&5
45076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45078 echo $ECHO_N "(cached) $ECHO_C" >&6
45079 else
45080 eval "$as_ac_Header=\$ac_header_preproc"
45081 fi
45082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45084
45085 fi
45086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45087 cat >>confdefs.h <<_ACEOF
45088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45089 _ACEOF
45090 wxUSE_JOYSTICK=yes
45091 fi
45092
45093 done
45094
45095 fi
45096 fi
45097
45098 if test "$wxUSE_JOYSTICK" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_JOYSTICK 1
45101 _ACEOF
45102
45103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45104 else
45105 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45106 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45107 fi
45108 fi
45109
45110
45111
45112 if test "$wxUSE_FONTMAP" = "yes" ; then
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_FONTMAP 1
45115 _ACEOF
45116
45117 fi
45118
45119 if test "$wxUSE_UNICODE" = "yes" ; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_UNICODE 1
45122 _ACEOF
45123
45124
45125 if test "$USE_WIN32" != 1; then
45126 wxUSE_UNICODE_MSLU=no
45127 fi
45128
45129 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45130 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45131 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45132 if test "${ac_cv_lib_unicows_main+set}" = set; then
45133 echo $ECHO_N "(cached) $ECHO_C" >&6
45134 else
45135 ac_check_lib_save_LIBS=$LIBS
45136 LIBS="-lunicows $LIBS"
45137 cat >conftest.$ac_ext <<_ACEOF
45138 /* confdefs.h. */
45139 _ACEOF
45140 cat confdefs.h >>conftest.$ac_ext
45141 cat >>conftest.$ac_ext <<_ACEOF
45142 /* end confdefs.h. */
45143
45144
45145 int
45146 main ()
45147 {
45148 main ();
45149 ;
45150 return 0;
45151 }
45152 _ACEOF
45153 rm -f conftest.$ac_objext conftest$ac_exeext
45154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45155 (eval $ac_link) 2>conftest.er1
45156 ac_status=$?
45157 grep -v '^ *+' conftest.er1 >conftest.err
45158 rm -f conftest.er1
45159 cat conftest.err >&5
45160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161 (exit $ac_status); } &&
45162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45164 (eval $ac_try) 2>&5
45165 ac_status=$?
45166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167 (exit $ac_status); }; } &&
45168 { ac_try='test -s conftest$ac_exeext'
45169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45170 (eval $ac_try) 2>&5
45171 ac_status=$?
45172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45173 (exit $ac_status); }; }; then
45174 ac_cv_lib_unicows_main=yes
45175 else
45176 echo "$as_me: failed program was:" >&5
45177 sed 's/^/| /' conftest.$ac_ext >&5
45178
45179 ac_cv_lib_unicows_main=no
45180 fi
45181 rm -f conftest.err conftest.$ac_objext \
45182 conftest$ac_exeext conftest.$ac_ext
45183 LIBS=$ac_check_lib_save_LIBS
45184 fi
45185 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45186 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45187 if test $ac_cv_lib_unicows_main = yes; then
45188
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_UNICODE_MSLU 1
45191 _ACEOF
45192
45193
45194 else
45195
45196 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45197 Applications will only run on Windows NT/2000/XP!" >&5
45198 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45199 Applications will only run on Windows NT/2000/XP!" >&2;}
45200 wxUSE_UNICODE_MSLU=no
45201
45202 fi
45203
45204 fi
45205 fi
45206
45207 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_EXPERIMENTAL_PRINTF 1
45210 _ACEOF
45211
45212 fi
45213
45214
45215 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_POSTSCRIPT 1
45218 _ACEOF
45219
45220 fi
45221
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45224 _ACEOF
45225
45226
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_NORMALIZED_PS_FONTS 1
45229 _ACEOF
45230
45231
45232
45233 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_CONSTRAINTS 1
45236 _ACEOF
45237
45238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45239 fi
45240
45241 if test "$wxUSE_MDI" = "yes"; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_MDI 1
45244 _ACEOF
45245
45246
45247 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_MDI_ARCHITECTURE 1
45250 _ACEOF
45251
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45253 fi
45254 fi
45255
45256 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45259 _ACEOF
45260
45261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45262 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45264 fi
45265 fi
45266
45267 if test "$wxUSE_HELP" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_HELP 1
45270 _ACEOF
45271
45272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45273
45274 if test "$wxUSE_MSW" = 1; then
45275 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_MS_HTML_HELP 1
45278 _ACEOF
45279
45280 fi
45281 fi
45282
45283 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45284 if test "$wxUSE_HTML" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_WXHTML_HELP 1
45287 _ACEOF
45288
45289 else
45290 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45291 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45292 wxUSE_WXHTML_HELP=no
45293 fi
45294 fi
45295 fi
45296
45297 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45298 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45299 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45300 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45301 else
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_PRINTING_ARCHITECTURE 1
45304 _ACEOF
45305
45306 fi
45307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45308 fi
45309
45310 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45311 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45312 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45313 { (exit 1); exit 1; }; }
45314 fi
45315
45316
45317 if test "$wxUSE_METAFILE" = "yes"; then
45318 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45319 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45320 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45321 wxUSE_METAFILE=no
45322 fi
45323 fi
45324
45325
45326 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45327 -o "$wxUSE_CLIPBOARD" = "yes" \
45328 -o "$wxUSE_OLE" = "yes" \
45329 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45330
45331 for ac_header in ole2.h
45332 do
45333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45335 echo "$as_me:$LINENO: checking for $ac_header" >&5
45336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45339 fi
45340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45342 else
45343 # Is the header compilable?
45344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45346 cat >conftest.$ac_ext <<_ACEOF
45347 /* confdefs.h. */
45348 _ACEOF
45349 cat confdefs.h >>conftest.$ac_ext
45350 cat >>conftest.$ac_ext <<_ACEOF
45351 /* end confdefs.h. */
45352 $ac_includes_default
45353 #include <$ac_header>
45354 _ACEOF
45355 rm -f conftest.$ac_objext
45356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45357 (eval $ac_compile) 2>conftest.er1
45358 ac_status=$?
45359 grep -v '^ *+' conftest.er1 >conftest.err
45360 rm -f conftest.er1
45361 cat conftest.err >&5
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); } &&
45364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45366 (eval $ac_try) 2>&5
45367 ac_status=$?
45368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45369 (exit $ac_status); }; } &&
45370 { ac_try='test -s conftest.$ac_objext'
45371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45372 (eval $ac_try) 2>&5
45373 ac_status=$?
45374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45375 (exit $ac_status); }; }; then
45376 ac_header_compiler=yes
45377 else
45378 echo "$as_me: failed program was:" >&5
45379 sed 's/^/| /' conftest.$ac_ext >&5
45380
45381 ac_header_compiler=no
45382 fi
45383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45385 echo "${ECHO_T}$ac_header_compiler" >&6
45386
45387 # Is the header present?
45388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45390 cat >conftest.$ac_ext <<_ACEOF
45391 /* confdefs.h. */
45392 _ACEOF
45393 cat confdefs.h >>conftest.$ac_ext
45394 cat >>conftest.$ac_ext <<_ACEOF
45395 /* end confdefs.h. */
45396 #include <$ac_header>
45397 _ACEOF
45398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45400 ac_status=$?
45401 grep -v '^ *+' conftest.er1 >conftest.err
45402 rm -f conftest.er1
45403 cat conftest.err >&5
45404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45405 (exit $ac_status); } >/dev/null; then
45406 if test -s conftest.err; then
45407 ac_cpp_err=$ac_c_preproc_warn_flag
45408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45409 else
45410 ac_cpp_err=
45411 fi
45412 else
45413 ac_cpp_err=yes
45414 fi
45415 if test -z "$ac_cpp_err"; then
45416 ac_header_preproc=yes
45417 else
45418 echo "$as_me: failed program was:" >&5
45419 sed 's/^/| /' conftest.$ac_ext >&5
45420
45421 ac_header_preproc=no
45422 fi
45423 rm -f conftest.err conftest.$ac_ext
45424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45425 echo "${ECHO_T}$ac_header_preproc" >&6
45426
45427 # So? What about this header?
45428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45429 yes:no: )
45430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45434 ac_header_preproc=yes
45435 ;;
45436 no:yes:* )
45437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45449 (
45450 cat <<\_ASBOX
45451 ## ----------------------------------------- ##
45452 ## Report this to wx-dev@lists.wxwidgets.org ##
45453 ## ----------------------------------------- ##
45454 _ASBOX
45455 ) |
45456 sed "s/^/$as_me: WARNING: /" >&2
45457 ;;
45458 esac
45459 echo "$as_me:$LINENO: checking for $ac_header" >&5
45460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45462 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45464 eval "$as_ac_Header=\$ac_header_preproc"
45465 fi
45466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45468
45469 fi
45470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45471 cat >>confdefs.h <<_ACEOF
45472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45473 _ACEOF
45474
45475 fi
45476
45477 done
45478
45479
45480 if test "$ac_cv_header_ole2_h" = "yes" ; then
45481 if test "$GCC" = yes ; then
45482 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45483 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45484 cat >conftest.$ac_ext <<_ACEOF
45485 /* confdefs.h. */
45486 _ACEOF
45487 cat confdefs.h >>conftest.$ac_ext
45488 cat >>conftest.$ac_ext <<_ACEOF
45489 /* end confdefs.h. */
45490 #include <windows.h>
45491 #include <ole2.h>
45492 int
45493 main ()
45494 {
45495
45496 ;
45497 return 0;
45498 }
45499 _ACEOF
45500 rm -f conftest.$ac_objext
45501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45502 (eval $ac_compile) 2>conftest.er1
45503 ac_status=$?
45504 grep -v '^ *+' conftest.er1 >conftest.err
45505 rm -f conftest.er1
45506 cat conftest.err >&5
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); } &&
45509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45511 (eval $ac_try) 2>&5
45512 ac_status=$?
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; } &&
45515 { ac_try='test -s conftest.$ac_objext'
45516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45517 (eval $ac_try) 2>&5
45518 ac_status=$?
45519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45520 (exit $ac_status); }; }; then
45521 echo "$as_me:$LINENO: result: no" >&5
45522 echo "${ECHO_T}no" >&6
45523 else
45524 echo "$as_me: failed program was:" >&5
45525 sed 's/^/| /' conftest.$ac_ext >&5
45526
45527 echo "$as_me:$LINENO: result: yes" >&5
45528 echo "${ECHO_T}yes" >&6
45529 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45530 fi
45531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45532 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45533 if test "$wxUSE_OLE" = "yes" ; then
45534 cat >>confdefs.h <<\_ACEOF
45535 #define wxUSE_OLE 1
45536 _ACEOF
45537
45538 cat >>confdefs.h <<\_ACEOF
45539 #define wxUSE_OLE_AUTOMATION 1
45540 _ACEOF
45541
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_OLE_ACTIVEX 1
45544 _ACEOF
45545
45546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45547 fi
45548 fi
45549
45550 if test "$wxUSE_DATAOBJ" = "yes" ; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_DATAOBJ 1
45553 _ACEOF
45554
45555 fi
45556 else
45557 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45558 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45559
45560 wxUSE_CLIPBOARD=no
45561 wxUSE_DRAG_AND_DROP=no
45562 wxUSE_DATAOBJ=no
45563 wxUSE_OLE=no
45564 fi
45565
45566 if test "$wxUSE_METAFILE" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_METAFILE 1
45569 _ACEOF
45570
45571
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_ENH_METAFILE 1
45574 _ACEOF
45575
45576 fi
45577 fi
45578
45579 if test "$wxUSE_IPC" = "yes"; then
45580 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45581 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45582 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45583 wxUSE_IPC=no
45584 fi
45585
45586 if test "$wxUSE_IPC" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_IPC 1
45589 _ACEOF
45590
45591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45592 fi
45593 fi
45594
45595 if test "$wxUSE_DATAOBJ" = "yes"; then
45596 if test "$wxUSE_MGL" = 1; then
45597 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45598 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45599 wxUSE_DATAOBJ=no
45600 else
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_DATAOBJ 1
45603 _ACEOF
45604
45605 fi
45606 else
45607 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45608 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45609 wxUSE_CLIPBOARD=no
45610 wxUSE_DRAG_AND_DROP=no
45611 fi
45612
45613 if test "$wxUSE_CLIPBOARD" = "yes"; then
45614 if test "$wxUSE_MGL" = 1; then
45615 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45616 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45617 wxUSE_CLIPBOARD=no
45618 fi
45619
45620 if test "$wxUSE_CLIPBOARD" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_CLIPBOARD 1
45623 _ACEOF
45624
45625 fi
45626 fi
45627
45628 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45629 if test "$wxUSE_GTK" = 1; then
45630 if test "$WXGTK12" != 1; then
45631 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45632 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45633 wxUSE_DRAG_AND_DROP=no
45634 fi
45635 fi
45636
45637 if test "$wxUSE_MOTIF" = 1; then
45638 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45639 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45640 wxUSE_DRAG_AND_DROP=no
45641 fi
45642
45643 if test "$wxUSE_X11" = 1; then
45644 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45645 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45646 wxUSE_DRAG_AND_DROP=no
45647 fi
45648
45649 if test "$wxUSE_MGL" = 1; then
45650 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45651 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45652 wxUSE_DRAG_AND_DROP=no
45653 fi
45654
45655 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_DRAG_AND_DROP 1
45658 _ACEOF
45659
45660 fi
45661
45662 fi
45663
45664 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45666 fi
45667
45668 if test "$wxUSE_SPLINES" = "yes" ; then
45669 cat >>confdefs.h <<\_ACEOF
45670 #define wxUSE_SPLINES 1
45671 _ACEOF
45672
45673 fi
45674
45675 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_MOUSEWHEEL 1
45678 _ACEOF
45679
45680 fi
45681
45682
45683 USES_CONTROLS=0
45684 if test "$wxUSE_CONTROLS" = "yes"; then
45685 USES_CONTROLS=1
45686 fi
45687
45688 if test "$wxUSE_ACCEL" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_ACCEL 1
45691 _ACEOF
45692
45693 USES_CONTROLS=1
45694 fi
45695
45696 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_ANIMATIONCTRL 1
45699 _ACEOF
45700
45701 USES_CONTROLS=1
45702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45703 fi
45704
45705 if test "$wxUSE_BUTTON" = "yes"; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_BUTTON 1
45708 _ACEOF
45709
45710 USES_CONTROLS=1
45711 fi
45712
45713 if test "$wxUSE_BMPBUTTON" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_BMPBUTTON 1
45716 _ACEOF
45717
45718 USES_CONTROLS=1
45719 fi
45720
45721 if test "$wxUSE_CALCTRL" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_CALENDARCTRL 1
45724 _ACEOF
45725
45726 USES_CONTROLS=1
45727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45728 fi
45729
45730 if test "$wxUSE_CARET" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_CARET 1
45733 _ACEOF
45734
45735 USES_CONTROLS=1
45736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45737 fi
45738
45739 if test "$wxUSE_COLLPANE" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_COLLPANE 1
45742 _ACEOF
45743
45744 USES_CONTROLS=1
45745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45746 fi
45747
45748 if test "$wxUSE_COMBOBOX" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_COMBOBOX 1
45751 _ACEOF
45752
45753 USES_CONTROLS=1
45754 fi
45755
45756 if test "$wxUSE_COMBOCTRL" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_COMBOCTRL 1
45759 _ACEOF
45760
45761 USES_CONTROLS=1
45762 fi
45763
45764 if test "$wxUSE_CHOICE" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_CHOICE 1
45767 _ACEOF
45768
45769 USES_CONTROLS=1
45770 fi
45771
45772 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_CHOICEBOOK 1
45775 _ACEOF
45776
45777 USES_CONTROLS=1
45778 fi
45779
45780 if test "$wxUSE_CHECKBOX" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_CHECKBOX 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 fi
45787
45788 if test "$wxUSE_CHECKLST" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_CHECKLISTBOX 1
45791 _ACEOF
45792
45793 USES_CONTROLS=1
45794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45795 fi
45796
45797 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_COLOURPICKERCTRL 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803 fi
45804
45805 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_DATEPICKCTRL 1
45808 _ACEOF
45809
45810 USES_CONTROLS=1
45811 fi
45812
45813 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_DIRPICKERCTRL 1
45816 _ACEOF
45817
45818 USES_CONTROLS=1
45819 fi
45820
45821 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_FILEPICKERCTRL 1
45824 _ACEOF
45825
45826 USES_CONTROLS=1
45827 fi
45828
45829 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45830 cat >>confdefs.h <<\_ACEOF
45831 #define wxUSE_FONTPICKERCTRL 1
45832 _ACEOF
45833
45834 USES_CONTROLS=1
45835 fi
45836
45837 if test "$wxUSE_DISPLAY" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_DISPLAY 1
45840 _ACEOF
45841
45842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45843 fi
45844
45845 if test "$wxUSE_DETECT_SM" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_DETECT_SM 1
45848 _ACEOF
45849
45850 fi
45851
45852 if test "$wxUSE_GAUGE" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_GAUGE 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 fi
45859
45860 if test "$wxUSE_GRID" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_GRID 1
45863 _ACEOF
45864
45865 USES_CONTROLS=1
45866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45867 fi
45868
45869 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_HYPERLINKCTRL 1
45872 _ACEOF
45873
45874 USES_CONTROLS=1
45875 fi
45876
45877 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_BITMAPCOMBOBOX 1
45880 _ACEOF
45881
45882 USES_CONTROLS=1
45883 fi
45884
45885 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_DATAVIEWCTRL 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45892 fi
45893
45894 if test "$wxUSE_IMAGLIST" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_IMAGLIST 1
45897 _ACEOF
45898
45899 fi
45900
45901 if test "$wxUSE_LISTBOOK" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_LISTBOOK 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 fi
45908
45909 if test "$wxUSE_LISTBOX" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_LISTBOX 1
45912 _ACEOF
45913
45914 USES_CONTROLS=1
45915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45916 fi
45917
45918 if test "$wxUSE_LISTCTRL" = "yes"; then
45919 if test "$wxUSE_IMAGLIST" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_LISTCTRL 1
45922 _ACEOF
45923
45924 USES_CONTROLS=1
45925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45926 else
45927 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45928 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45929 fi
45930 fi
45931
45932 if test "$wxUSE_NOTEBOOK" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_NOTEBOOK 1
45935 _ACEOF
45936
45937 USES_CONTROLS=1
45938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45939 fi
45940
45941 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define wxUSE_ODCOMBOBOX 1
45944 _ACEOF
45945
45946 USES_CONTROLS=1
45947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45948 fi
45949
45950
45951 if test "$wxUSE_RADIOBOX" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_RADIOBOX 1
45954 _ACEOF
45955
45956 USES_CONTROLS=1
45957 fi
45958
45959 if test "$wxUSE_RADIOBTN" = "yes"; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_RADIOBTN 1
45962 _ACEOF
45963
45964 USES_CONTROLS=1
45965 fi
45966
45967 if test "$wxUSE_SASH" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_SASH 1
45970 _ACEOF
45971
45972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45973 fi
45974
45975 if test "$wxUSE_SCROLLBAR" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_SCROLLBAR 1
45978 _ACEOF
45979
45980 USES_CONTROLS=1
45981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45982 fi
45983
45984 if test "$wxUSE_SLIDER" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_SLIDER 1
45987 _ACEOF
45988
45989 USES_CONTROLS=1
45990 fi
45991
45992 if test "$wxUSE_SPINBTN" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_SPINBTN 1
45995 _ACEOF
45996
45997 USES_CONTROLS=1
45998 fi
45999
46000 if test "$wxUSE_SPINCTRL" = "yes"; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_SPINCTRL 1
46003 _ACEOF
46004
46005 USES_CONTROLS=1
46006 fi
46007
46008 if test "$wxUSE_SPLITTER" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_SPLITTER 1
46011 _ACEOF
46012
46013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46014 fi
46015
46016 if test "$wxUSE_STATBMP" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_STATBMP 1
46019 _ACEOF
46020
46021 USES_CONTROLS=1
46022 fi
46023
46024 if test "$wxUSE_STATBOX" = "yes"; then
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_STATBOX 1
46027 _ACEOF
46028
46029 USES_CONTROLS=1
46030 fi
46031
46032 if test "$wxUSE_STATTEXT" = "yes"; then
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_STATTEXT 1
46035 _ACEOF
46036
46037 USES_CONTROLS=1
46038 fi
46039
46040 if test "$wxUSE_STATLINE" = "yes"; then
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_STATLINE 1
46043 _ACEOF
46044
46045 USES_CONTROLS=1
46046 fi
46047
46048 if test "$wxUSE_STATUSBAR" = "yes"; then
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_NATIVE_STATUSBAR 1
46051 _ACEOF
46052
46053 cat >>confdefs.h <<\_ACEOF
46054 #define wxUSE_STATUSBAR 1
46055 _ACEOF
46056
46057 USES_CONTROLS=1
46058
46059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46060 fi
46061
46062 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_TAB_DIALOG 1
46065 _ACEOF
46066
46067 fi
46068
46069 if test "$wxUSE_TEXTCTRL" = "yes"; then
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_TEXTCTRL 1
46072 _ACEOF
46073
46074 USES_CONTROLS=1
46075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46076 fi
46077
46078 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46079 if test "$wxUSE_COCOA" = 1 ; then
46080 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46081 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46082 wxUSE_TOGGLEBTN=no
46083 fi
46084
46085 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_TOGGLEBTN 1
46088 _ACEOF
46089
46090 USES_CONTROLS=1
46091 fi
46092 fi
46093
46094 if test "$wxUSE_TOOLBAR" = "yes"; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_TOOLBAR 1
46097 _ACEOF
46098
46099 USES_CONTROLS=1
46100
46101 if test "$wxUSE_UNIVERSAL" = "yes"; then
46102 wxUSE_TOOLBAR_NATIVE="no"
46103 else
46104 wxUSE_TOOLBAR_NATIVE="yes"
46105 cat >>confdefs.h <<\_ACEOF
46106 #define wxUSE_TOOLBAR_NATIVE 1
46107 _ACEOF
46108
46109 fi
46110
46111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46112 fi
46113
46114 if test "$wxUSE_TOOLTIPS" = "yes"; then
46115 if test "$wxUSE_MOTIF" = 1; then
46116 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46117 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46118 else
46119 if test "$wxUSE_UNIVERSAL" = "yes"; then
46120 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46121 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46122 else
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_TOOLTIPS 1
46125 _ACEOF
46126
46127 fi
46128 fi
46129 fi
46130
46131 if test "$wxUSE_TREEBOOK" = "yes"; then
46132 cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_TREEBOOK 1
46134 _ACEOF
46135
46136 USES_CONTROLS=1
46137 fi
46138
46139 if test "$wxUSE_TOOLBOOK" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_TOOLBOOK 1
46142 _ACEOF
46143
46144 USES_CONTROLS=1
46145 fi
46146
46147 if test "$wxUSE_TREECTRL" = "yes"; then
46148 if test "$wxUSE_IMAGLIST" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_TREECTRL 1
46151 _ACEOF
46152
46153 USES_CONTROLS=1
46154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46155 else
46156 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46157 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46158 fi
46159 fi
46160
46161 if test "$wxUSE_POPUPWIN" = "yes"; then
46162 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46163 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46164 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46165 else
46166 if test "$wxUSE_PM" = 1; then
46167 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46168 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46169 else
46170 cat >>confdefs.h <<\_ACEOF
46171 #define wxUSE_POPUPWIN 1
46172 _ACEOF
46173
46174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46175
46176 USES_CONTROLS=1
46177 fi
46178 fi
46179 fi
46180
46181 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46182 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46183 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46184 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46185 else
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_DIALUP_MANAGER 1
46188 _ACEOF
46189
46190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46191 fi
46192 fi
46193
46194 if test "$wxUSE_TIPWINDOW" = "yes"; then
46195 if test "$wxUSE_PM" = 1; then
46196 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46197 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46198 else
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_TIPWINDOW 1
46201 _ACEOF
46202
46203 fi
46204 fi
46205
46206 if test "$USES_CONTROLS" = 1; then
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_CONTROLS 1
46209 _ACEOF
46210
46211 fi
46212
46213
46214 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_ACCESSIBILITY 1
46217 _ACEOF
46218
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46220 fi
46221
46222 if test "$wxUSE_DC_CACHEING" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_DC_CACHEING 1
46225 _ACEOF
46226
46227 fi
46228
46229 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_DRAGIMAGE 1
46232 _ACEOF
46233
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46235 fi
46236
46237 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46238 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46239 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46240 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46241 else
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_EXCEPTIONS 1
46244 _ACEOF
46245
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46247 fi
46248 fi
46249
46250 USE_HTML=0
46251 if test "$wxUSE_HTML" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_HTML 1
46254 _ACEOF
46255
46256 USE_HTML=1
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46258 if test "$wxUSE_MAC" = 1; then
46259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46260 fi
46261 fi
46262 if test "$wxUSE_WEBKIT" = "yes"; then
46263 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46264 old_CPPFLAGS="$CPPFLAGS"
46265 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46266 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46267 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46268 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46269 echo $ECHO_N "(cached) $ECHO_C" >&6
46270 else
46271 cat >conftest.$ac_ext <<_ACEOF
46272 /* confdefs.h. */
46273 _ACEOF
46274 cat confdefs.h >>conftest.$ac_ext
46275 cat >>conftest.$ac_ext <<_ACEOF
46276 /* end confdefs.h. */
46277 #include <Carbon/Carbon.h>
46278
46279 #include <WebKit/HIWebView.h>
46280 _ACEOF
46281 rm -f conftest.$ac_objext
46282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46283 (eval $ac_compile) 2>conftest.er1
46284 ac_status=$?
46285 grep -v '^ *+' conftest.er1 >conftest.err
46286 rm -f conftest.er1
46287 cat conftest.err >&5
46288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289 (exit $ac_status); } &&
46290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46292 (eval $ac_try) 2>&5
46293 ac_status=$?
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); }; } &&
46296 { ac_try='test -s conftest.$ac_objext'
46297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46298 (eval $ac_try) 2>&5
46299 ac_status=$?
46300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46301 (exit $ac_status); }; }; then
46302 ac_cv_header_WebKit_HIWebView_h=yes
46303 else
46304 echo "$as_me: failed program was:" >&5
46305 sed 's/^/| /' conftest.$ac_ext >&5
46306
46307 ac_cv_header_WebKit_HIWebView_h=no
46308 fi
46309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46310 fi
46311 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46312 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46313 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46314
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_WEBKIT 1
46317 _ACEOF
46318
46319 WEBKIT_LINK="-framework WebKit"
46320
46321 else
46322
46323 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46324 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46325 wxUSE_WEBKIT=no
46326
46327 fi
46328
46329
46330 CPPFLAGS="$old_CPPFLAGS"
46331 elif test "$wxUSE_COCOA" = 1; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_WEBKIT 1
46334 _ACEOF
46335
46336 else
46337 wxUSE_WEBKIT=no
46338 fi
46339 fi
46340
46341 USE_XRC=0
46342 if test "$wxUSE_XRC" = "yes"; then
46343 if test "$wxUSE_XML" != "yes"; then
46344 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46345 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46346 wxUSE_XRC=no
46347 else
46348 cat >>confdefs.h <<\_ACEOF
46349 #define wxUSE_XRC 1
46350 _ACEOF
46351
46352 USE_XRC=1
46353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46354 fi
46355 fi
46356
46357 USE_AUI=0
46358 if test "$wxUSE_AUI" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_AUI 1
46361 _ACEOF
46362
46363 USE_AUI=1
46364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46365 fi
46366
46367 if test "$wxUSE_MENUS" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_MENUS 1
46370 _ACEOF
46371
46372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46373 fi
46374
46375 if test "$wxUSE_METAFILE" = "yes"; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_METAFILE 1
46378 _ACEOF
46379
46380 fi
46381
46382 if test "$wxUSE_MIMETYPE" = "yes"; then
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_MIMETYPE 1
46385 _ACEOF
46386
46387 fi
46388
46389 if test "$wxUSE_MINIFRAME" = "yes"; then
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_MINIFRAME 1
46392 _ACEOF
46393
46394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46395 fi
46396
46397 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_SYSTEM_OPTIONS 1
46400 _ACEOF
46401
46402 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46403 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46405 fi
46406 fi
46407
46408
46409 if test "$wxUSE_VALIDATORS" = "yes"; then
46410 cat >>confdefs.h <<\_ACEOF
46411 #define wxUSE_VALIDATORS 1
46412 _ACEOF
46413
46414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46415 fi
46416
46417 if test "$wxUSE_PALETTE" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_PALETTE 1
46420 _ACEOF
46421
46422 fi
46423
46424 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46425 LIBS=" -lunicows $LIBS"
46426 fi
46427
46428 USE_RICHTEXT=0
46429 if test "$wxUSE_RICHTEXT" = "yes"; then
46430 cat >>confdefs.h <<\_ACEOF
46431 #define wxUSE_RICHTEXT 1
46432 _ACEOF
46433
46434 USE_RICHTEXT=1
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46436 fi
46437
46438
46439 if test "$wxUSE_IMAGE" = "yes" ; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_IMAGE 1
46442 _ACEOF
46443
46444
46445 if test "$wxUSE_GIF" = "yes" ; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_GIF 1
46448 _ACEOF
46449
46450 fi
46451
46452 if test "$wxUSE_PCX" = "yes" ; then
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_PCX 1
46455 _ACEOF
46456
46457 fi
46458
46459 if test "$wxUSE_TGA" = "yes" ; then
46460 cat >>confdefs.h <<\_ACEOF
46461 #define wxUSE_TGA 1
46462 _ACEOF
46463
46464 fi
46465
46466 if test "$wxUSE_IFF" = "yes" ; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_IFF 1
46469 _ACEOF
46470
46471 fi
46472
46473 if test "$wxUSE_PNM" = "yes" ; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_PNM 1
46476 _ACEOF
46477
46478 fi
46479
46480 if test "$wxUSE_XPM" = "yes" ; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_XPM 1
46483 _ACEOF
46484
46485 fi
46486
46487 if test "$wxUSE_ICO_CUR" = "yes" ; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_ICO_CUR 1
46490 _ACEOF
46491
46492 fi
46493 fi
46494
46495
46496 if test "$wxUSE_ABOUTDLG" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_ABOUTDLG 1
46499 _ACEOF
46500
46501 fi
46502
46503 if test "$wxUSE_CHOICEDLG" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_CHOICEDLG 1
46506 _ACEOF
46507
46508 fi
46509
46510 if test "$wxUSE_COLOURDLG" = "yes"; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_COLOURDLG 1
46513 _ACEOF
46514
46515 fi
46516
46517 if test "$wxUSE_FILEDLG" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_FILEDLG 1
46520 _ACEOF
46521
46522 fi
46523
46524 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_FINDREPLDLG 1
46527 _ACEOF
46528
46529 fi
46530
46531 if test "$wxUSE_FONTDLG" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_FONTDLG 1
46534 _ACEOF
46535
46536 fi
46537
46538 if test "$wxUSE_DIRDLG" = "yes"; then
46539 if test "$wxUSE_TREECTRL" != "yes"; then
46540 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46541 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46542 else
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_DIRDLG 1
46545 _ACEOF
46546
46547 fi
46548 fi
46549
46550 if test "$wxUSE_MSGDLG" = "yes"; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_MSGDLG 1
46553 _ACEOF
46554
46555 fi
46556
46557 if test "$wxUSE_NUMBERDLG" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_NUMBERDLG 1
46560 _ACEOF
46561
46562 fi
46563
46564 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46565 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46566 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46567 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46568 else
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_PROGRESSDLG 1
46571 _ACEOF
46572
46573 fi
46574 fi
46575
46576 if test "$wxUSE_SPLASH" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_SPLASH 1
46579 _ACEOF
46580
46581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46582 fi
46583
46584 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46586 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46587 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46588 else
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_STARTUP_TIPS 1
46591 _ACEOF
46592
46593 fi
46594 fi
46595
46596 if test "$wxUSE_TEXTDLG" = "yes"; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_TEXTDLG 1
46599 _ACEOF
46600
46601 fi
46602
46603 if test "$wxUSE_WIZARDDLG" = "yes"; then
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_WIZARDDLG 1
46606 _ACEOF
46607
46608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46609 fi
46610
46611
46612 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46613 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_GRAPHICS_CONTEXT 1
46616 _ACEOF
46617
46618 elif test "$wxUSE_GTK" != 1; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_GRAPHICS_CONTEXT 1
46621 _ACEOF
46622
46623 else
46624
46625 pkg_failed=no
46626 echo "$as_me:$LINENO: checking for CAIRO" >&5
46627 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46628
46629 if test -n "$PKG_CONFIG"; then
46630 if test -n "$CAIRO_CFLAGS"; then
46631 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46632 else
46633 if test -n "$PKG_CONFIG" && \
46634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46635 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46636 ac_status=$?
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); }; then
46639 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46640 else
46641 pkg_failed=yes
46642 fi
46643 fi
46644 else
46645 pkg_failed=untried
46646 fi
46647 if test -n "$PKG_CONFIG"; then
46648 if test -n "$CAIRO_LIBS"; then
46649 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46650 else
46651 if test -n "$PKG_CONFIG" && \
46652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46653 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46654 ac_status=$?
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); }; then
46657 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46658 else
46659 pkg_failed=yes
46660 fi
46661 fi
46662 else
46663 pkg_failed=untried
46664 fi
46665
46666
46667
46668 if test $pkg_failed = yes; then
46669
46670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46671 _pkg_short_errors_supported=yes
46672 else
46673 _pkg_short_errors_supported=no
46674 fi
46675 if test $_pkg_short_errors_supported = yes; then
46676 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46677 else
46678 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46679 fi
46680 # Put the nasty error message in config.log where it belongs
46681 echo "$CAIRO_PKG_ERRORS" >&5
46682
46683 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46684 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46685
46686 elif test $pkg_failed = untried; then
46687 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46688 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46689
46690 else
46691 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46692 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46693 echo "$as_me:$LINENO: result: yes" >&5
46694 echo "${ECHO_T}yes" >&6
46695 cat >>confdefs.h <<\_ACEOF
46696 #define wxUSE_GRAPHICS_CONTEXT 1
46697 _ACEOF
46698
46699 fi
46700 fi
46701 fi
46702
46703
46704 USE_MEDIA=0
46705
46706 if test "$wxUSE_MEDIACTRL" = "yes"; then
46707 USE_MEDIA=1
46708
46709 if test "$wxUSE_GTK" = 1; then
46710 wxUSE_GSTREAMER="no"
46711
46712 GST_VERSION_MAJOR=0
46713 GST_VERSION_MINOR=10
46714 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46715
46716 if test "$wxUSE_GSTREAMER8" = "no"; then
46717
46718 pkg_failed=no
46719 echo "$as_me:$LINENO: checking for GST" >&5
46720 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46721
46722 if test -n "$PKG_CONFIG"; then
46723 if test -n "$GST_CFLAGS"; then
46724 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46725 else
46726 if test -n "$PKG_CONFIG" && \
46727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46728 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46729 ac_status=$?
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); }; then
46732 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46733 else
46734 pkg_failed=yes
46735 fi
46736 fi
46737 else
46738 pkg_failed=untried
46739 fi
46740 if test -n "$PKG_CONFIG"; then
46741 if test -n "$GST_LIBS"; then
46742 pkg_cv_GST_LIBS="$GST_LIBS"
46743 else
46744 if test -n "$PKG_CONFIG" && \
46745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46746 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46747 ac_status=$?
46748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46749 (exit $ac_status); }; then
46750 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46751 else
46752 pkg_failed=yes
46753 fi
46754 fi
46755 else
46756 pkg_failed=untried
46757 fi
46758
46759
46760
46761 if test $pkg_failed = yes; then
46762
46763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46764 _pkg_short_errors_supported=yes
46765 else
46766 _pkg_short_errors_supported=no
46767 fi
46768 if test $_pkg_short_errors_supported = yes; then
46769 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46770 else
46771 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46772 fi
46773 # Put the nasty error message in config.log where it belongs
46774 echo "$GST_PKG_ERRORS" >&5
46775
46776
46777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46778 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46779 GST_VERSION_MINOR=8
46780
46781
46782 elif test $pkg_failed = untried; then
46783
46784 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46785 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46786 GST_VERSION_MINOR=8
46787
46788
46789 else
46790 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46791 GST_LIBS=$pkg_cv_GST_LIBS
46792 echo "$as_me:$LINENO: result: yes" >&5
46793 echo "${ECHO_T}yes" >&6
46794
46795 wxUSE_GSTREAMER="yes"
46796 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46797
46798 fi
46799 else
46800 GST_VERSION_MINOR=8
46801 fi
46802
46803 if test $GST_VERSION_MINOR = "8"; then
46804 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46805
46806 pkg_failed=no
46807 echo "$as_me:$LINENO: checking for GST" >&5
46808 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46809
46810 if test -n "$PKG_CONFIG"; then
46811 if test -n "$GST_CFLAGS"; then
46812 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46813 else
46814 if test -n "$PKG_CONFIG" && \
46815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46816 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46817 ac_status=$?
46818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819 (exit $ac_status); }; then
46820 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46821 else
46822 pkg_failed=yes
46823 fi
46824 fi
46825 else
46826 pkg_failed=untried
46827 fi
46828 if test -n "$PKG_CONFIG"; then
46829 if test -n "$GST_LIBS"; then
46830 pkg_cv_GST_LIBS="$GST_LIBS"
46831 else
46832 if test -n "$PKG_CONFIG" && \
46833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46834 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46835 ac_status=$?
46836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46837 (exit $ac_status); }; then
46838 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46839 else
46840 pkg_failed=yes
46841 fi
46842 fi
46843 else
46844 pkg_failed=untried
46845 fi
46846
46847
46848
46849 if test $pkg_failed = yes; then
46850
46851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46852 _pkg_short_errors_supported=yes
46853 else
46854 _pkg_short_errors_supported=no
46855 fi
46856 if test $_pkg_short_errors_supported = yes; then
46857 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46858 else
46859 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46860 fi
46861 # Put the nasty error message in config.log where it belongs
46862 echo "$GST_PKG_ERRORS" >&5
46863
46864
46865 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46866 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46867
46868 elif test $pkg_failed = untried; then
46869
46870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46871 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46872
46873 else
46874 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46875 GST_LIBS=$pkg_cv_GST_LIBS
46876 echo "$as_me:$LINENO: result: yes" >&5
46877 echo "${ECHO_T}yes" >&6
46878 wxUSE_GSTREAMER="yes"
46879 fi
46880 fi
46881
46882
46883 if test "$wxUSE_GSTREAMER" = "yes"; then
46884 case "${host}" in
46885 *-*-solaris2* )
46886 if "$GCC" = yes; then
46887 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46888 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46889 fi
46890 esac
46891
46892 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46893 LIBS="$GST_LIBS $LIBS"
46894
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_GSTREAMER 1
46897 _ACEOF
46898
46899 else
46900 USE_MEDIA=0
46901 fi
46902 fi
46903
46904 if test $USE_MEDIA = 1; then
46905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46906 cat >>confdefs.h <<\_ACEOF
46907 #define wxUSE_MEDIACTRL 1
46908 _ACEOF
46909
46910 fi
46911 fi
46912
46913
46914 if test "$cross_compiling" = "yes"; then
46915 OSINFO="\"$host\""
46916 else
46917 OSINFO=`uname -s -r -m`
46918 OSINFO="\"$OSINFO\""
46919 fi
46920
46921 cat >>confdefs.h <<_ACEOF
46922 #define WXWIN_OS_DESCRIPTION $OSINFO
46923 _ACEOF
46924
46925
46926
46927 if test "x$prefix" != "xNONE"; then
46928 wxPREFIX=$prefix
46929 else
46930 wxPREFIX=$ac_default_prefix
46931 fi
46932
46933 cat >>confdefs.h <<_ACEOF
46934 #define wxINSTALL_PREFIX "$wxPREFIX"
46935 _ACEOF
46936
46937
46938
46939
46940 CORE_BASE_LIBS="net base"
46941 CORE_GUI_LIBS="adv core"
46942
46943 if test "$wxUSE_XML" = "yes" ; then
46944 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46945 fi
46946 if test "$wxUSE_ODBC" != "no" ; then
46947 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46948 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46949 fi
46950 if test "$wxUSE_HTML" = "yes" ; then
46951 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46952 fi
46953 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46954 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46955 fi
46956 if test "$wxUSE_XRC" = "yes" ; then
46957 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46958 fi
46959 if test "$wxUSE_AUI" = "yes" ; then
46960 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46961 fi
46962
46963 if test "$wxUSE_GUI" != "yes"; then
46964 CORE_GUI_LIBS=""
46965 fi
46966
46967
46968
46969
46970
46971
46972 if test "$wxUSE_MAC" = 1 ; then
46973 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46974 if test "$USE_DARWIN" = 1; then
46975 LDFLAGS="$LDFLAGS -framework QuickTime"
46976 else
46977 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46978 fi
46979 fi
46980 if test "$USE_DARWIN" = 1; then
46981 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46982 else
46983 LDFLAGS="$LDFLAGS -lCarbonLib"
46984 fi
46985 fi
46986 if test "$wxUSE_COCOA" = 1 ; then
46987 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46988 if test "$wxUSE_MEDIACTRL" = "yes"; then
46989 LDFLAGS="$LDFLAGS -framework QuickTime"
46990 fi
46991 fi
46992 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46993 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46994 fi
46995
46996 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46997
46998 if test "$wxUSE_GUI" = "yes"; then
46999
47000
47001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47002 dynamic erase event exec font image minimal mobile \
47003 mobile/wxedit mobile/styles propsize render \
47004 rotate shaped vscroll widgets"
47005
47006 if test "$wxUSE_MONOLITHIC" != "yes"; then
47007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47008 fi
47009 if test "$TOOLKIT" = "MSW"; then
47010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47011 if test "$wxUSE_UNIVERSAL" != "yes"; then
47012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47013 fi
47014 fi
47015 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47017 fi
47018 else
47019 SAMPLES_SUBDIRS="console"
47020 fi
47021
47022
47023 if test "x$INTELCC" = "xyes" ; then
47024 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47025 elif test "$GCC" = yes ; then
47026 CWARNINGS="-Wall -Wundef"
47027 fi
47028
47029 if test "x$INTELCXX" = "xyes" ; then
47030 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47031 elif test "$GXX" = yes ; then
47032 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47033 fi
47034
47035
47036 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47037 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47038
47039
47040 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47041 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47042 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47043 $CPPFLAGS `
47044
47045 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47046 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47047 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47048
47049 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47050
47051
47052 if test "x$MWCC" = "xyes"; then
47053
47054 CC="$CC -cwd source -I-"
47055 CXX="$CXX -cwd source -I-"
47056 fi
47057
47058
47059 LIBS=`echo $LIBS`
47060 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47061 EXTRALIBS_XML="$EXPAT_LINK"
47062 EXTRALIBS_HTML="$MSPACK_LINK"
47063 EXTRALIBS_ODBC="$ODBC_LINK"
47064 if test "$wxUSE_GUI" = "yes"; then
47065 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47066 fi
47067 if test "$wxUSE_OPENGL" = "yes"; then
47068 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47069 fi
47070
47071 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47072
47073 WXCONFIG_LIBS="$LIBS"
47074
47075 if test "$wxUSE_REGEX" = "builtin" ; then
47076 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47077 fi
47078 if test "$wxUSE_EXPAT" = "builtin" ; then
47079 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47080 fi
47081 if test "$wxUSE_ODBC" = "builtin" ; then
47082 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47083 fi
47084 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47085 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47086 fi
47087 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47088 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47089 fi
47090 if test "$wxUSE_LIBPNG" = "builtin" ; then
47091 wxconfig_3rdparty="png $wxconfig_3rdparty"
47092 fi
47093 if test "$wxUSE_ZLIB" = "builtin" ; then
47094 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47095 fi
47096
47097 for i in $wxconfig_3rdparty ; do
47098 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47099 done
47100
47101
47102 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47103 WXUNIV=1
47104
47105 case "$wxUNIV_THEMES" in
47106 ''|all)
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_ALL_THEMES 1
47109 _ACEOF
47110
47111 ;;
47112
47113 *)
47114 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47115 cat >>confdefs.h <<_ACEOF
47116 #define wxUSE_THEME_$t 1
47117 _ACEOF
47118
47119 done
47120 esac
47121 else
47122 WXUNIV=0
47123 fi
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133 if test $wxUSE_MONOLITHIC = "yes" ; then
47134 MONOLITHIC=1
47135 else
47136 MONOLITHIC=0
47137 fi
47138
47139 if test $wxUSE_PLUGINS = "yes" ; then
47140 USE_PLUGINS=1
47141 else
47142 USE_PLUGINS=0
47143 fi
47144
47145 if test $wxUSE_ODBC != "no" ; then
47146 USE_ODBC=1
47147 else
47148 USE_ODBC=0
47149 fi
47150
47151 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47152 USE_QA=1
47153 else
47154 USE_QA=0
47155 fi
47156
47157 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47158 OFFICIAL_BUILD=1
47159 else
47160 OFFICIAL_BUILD=0
47161 fi
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47188
47189
47190
47191
47192
47193
47194
47195
47196 case "$TOOLKIT" in
47197 GTK)
47198 TOOLKIT_DESC="GTK+"
47199 if test "$WXGTK20" = 1; then
47200 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47201 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47202 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47203 fi
47204 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47205 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47206 fi
47207 if test "$wxUSE_LIBHILDON" = "yes"; then
47208 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47209 fi
47210
47211 if test "$TOOLKIT_EXTRA" != ""; then
47212 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47213 fi
47214 fi
47215 ;;
47216
47217 ?*)
47218 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47219 ;;
47220
47221 *)
47222 TOOLKIT_DESC="base only"
47223 ;;
47224 esac
47225
47226 if test "$wxUSE_WINE" = "yes"; then
47227 BAKEFILE_FORCE_PLATFORM=win32
47228 fi
47229
47230 if test "$wxUSE_MAC" = 1 ; then
47231 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47232 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47233 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47234 else
47235 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47236 fi
47237 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47238 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47239 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47240 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47241 bk_use_pch=no
47242 fi
47243 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47244 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47245 fi
47246
47247 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47248 then
47249 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47250 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47251 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47252 echo $ECHO_N "(cached) $ECHO_C" >&6
47253 else
47254
47255 echo '#include <stdio.h>
47256 const wchar_t test_var[] = L"awidetest";' > conftest.h
47257
47258 echo '#include "conftest.h"
47259 int main()
47260 {
47261 printf("%ls", test_var);
47262 return 0;
47263 }' > conftest.cpp
47264
47265 wx_cv_gcc_pch_bug="pch not supported"
47266
47267 if $CXX conftest.h >/dev/null 2>&1
47268 then
47269 wx_cv_gcc_pch_bug=
47270
47271 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47272 then
47273 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47274 grep awidetest >/dev/null
47275 then
47276 wx_cv_gcc_pch_bug=no
47277 else
47278 wx_cv_gcc_pch_bug=yes
47279 fi
47280 fi
47281 fi
47282
47283 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47284
47285 fi
47286 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47287 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47288
47289 if test "$wx_cv_gcc_pch_bug" = yes; then
47290 bk_use_pch=no
47291 fi
47292 fi
47293
47294
47295
47296
47297 if test "x$BAKEFILE_HOST" = "x"; then
47298 if test "x${host}" = "x" ; then
47299 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47300 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47301 { (exit 1); exit 1; }; }
47302 fi
47303
47304 BAKEFILE_HOST="${host}"
47305 fi
47306
47307 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47308
47309 if test -n "$ac_tool_prefix"; then
47310 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47311 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47312 echo "$as_me:$LINENO: checking for $ac_word" >&5
47313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47314 if test "${ac_cv_prog_RANLIB+set}" = set; then
47315 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 else
47317 if test -n "$RANLIB"; then
47318 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47319 else
47320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47321 for as_dir in $PATH
47322 do
47323 IFS=$as_save_IFS
47324 test -z "$as_dir" && as_dir=.
47325 for ac_exec_ext in '' $ac_executable_extensions; do
47326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47327 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47329 break 2
47330 fi
47331 done
47332 done
47333
47334 fi
47335 fi
47336 RANLIB=$ac_cv_prog_RANLIB
47337 if test -n "$RANLIB"; then
47338 echo "$as_me:$LINENO: result: $RANLIB" >&5
47339 echo "${ECHO_T}$RANLIB" >&6
47340 else
47341 echo "$as_me:$LINENO: result: no" >&5
47342 echo "${ECHO_T}no" >&6
47343 fi
47344
47345 fi
47346 if test -z "$ac_cv_prog_RANLIB"; then
47347 ac_ct_RANLIB=$RANLIB
47348 # Extract the first word of "ranlib", so it can be a program name with args.
47349 set dummy ranlib; ac_word=$2
47350 echo "$as_me:$LINENO: checking for $ac_word" >&5
47351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47352 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47353 echo $ECHO_N "(cached) $ECHO_C" >&6
47354 else
47355 if test -n "$ac_ct_RANLIB"; then
47356 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47357 else
47358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47359 for as_dir in $PATH
47360 do
47361 IFS=$as_save_IFS
47362 test -z "$as_dir" && as_dir=.
47363 for ac_exec_ext in '' $ac_executable_extensions; do
47364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47365 ac_cv_prog_ac_ct_RANLIB="ranlib"
47366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47367 break 2
47368 fi
47369 done
47370 done
47371
47372 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47373 fi
47374 fi
47375 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47376 if test -n "$ac_ct_RANLIB"; then
47377 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47378 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47379 else
47380 echo "$as_me:$LINENO: result: no" >&5
47381 echo "${ECHO_T}no" >&6
47382 fi
47383
47384 RANLIB=$ac_ct_RANLIB
47385 else
47386 RANLIB="$ac_cv_prog_RANLIB"
47387 fi
47388
47389 # Find a good install program. We prefer a C program (faster),
47390 # so one script is as good as another. But avoid the broken or
47391 # incompatible versions:
47392 # SysV /etc/install, /usr/sbin/install
47393 # SunOS /usr/etc/install
47394 # IRIX /sbin/install
47395 # AIX /bin/install
47396 # AmigaOS /C/install, which installs bootblocks on floppy discs
47397 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47400 # OS/2's system install, which has a completely different semantic
47401 # ./install, which can be erroneously created by make from ./install.sh.
47402 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47403 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47404 if test -z "$INSTALL"; then
47405 if test "${ac_cv_path_install+set}" = set; then
47406 echo $ECHO_N "(cached) $ECHO_C" >&6
47407 else
47408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47409 for as_dir in $PATH
47410 do
47411 IFS=$as_save_IFS
47412 test -z "$as_dir" && as_dir=.
47413 # Account for people who put trailing slashes in PATH elements.
47414 case $as_dir/ in
47415 ./ | .// | /cC/* | \
47416 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47417 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47418 /usr/ucb/* ) ;;
47419 *)
47420 # OSF1 and SCO ODT 3.0 have their own names for install.
47421 # Don't use installbsd from OSF since it installs stuff as root
47422 # by default.
47423 for ac_prog in ginstall scoinst install; do
47424 for ac_exec_ext in '' $ac_executable_extensions; do
47425 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47426 if test $ac_prog = install &&
47427 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47428 # AIX install. It has an incompatible calling convention.
47429 :
47430 elif test $ac_prog = install &&
47431 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47432 # program-specific install script used by HP pwplus--don't use.
47433 :
47434 else
47435 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47436 break 3
47437 fi
47438 fi
47439 done
47440 done
47441 ;;
47442 esac
47443 done
47444
47445
47446 fi
47447 if test "${ac_cv_path_install+set}" = set; then
47448 INSTALL=$ac_cv_path_install
47449 else
47450 # As a last resort, use the slow shell script. We don't cache a
47451 # path for INSTALL within a source directory, because that will
47452 # break other packages using the cache if that directory is
47453 # removed, or if the path is relative.
47454 INSTALL=$ac_install_sh
47455 fi
47456 fi
47457 echo "$as_me:$LINENO: result: $INSTALL" >&5
47458 echo "${ECHO_T}$INSTALL" >&6
47459
47460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47461 # It thinks the first close brace ends the variable substitution.
47462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47463
47464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47465
47466 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47467
47468 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47469 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47470 LN_S=$as_ln_s
47471 if test "$LN_S" = "ln -s"; then
47472 echo "$as_me:$LINENO: result: yes" >&5
47473 echo "${ECHO_T}yes" >&6
47474 else
47475 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47476 echo "${ECHO_T}no, using $LN_S" >&6
47477 fi
47478
47479
47480 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47481 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47482 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47483 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47484 echo $ECHO_N "(cached) $ECHO_C" >&6
47485 else
47486 cat >conftest.make <<\_ACEOF
47487 all:
47488 @echo 'ac_maketemp="$(MAKE)"'
47489 _ACEOF
47490 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47491 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47492 if test -n "$ac_maketemp"; then
47493 eval ac_cv_prog_make_${ac_make}_set=yes
47494 else
47495 eval ac_cv_prog_make_${ac_make}_set=no
47496 fi
47497 rm -f conftest.make
47498 fi
47499 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47500 echo "$as_me:$LINENO: result: yes" >&5
47501 echo "${ECHO_T}yes" >&6
47502 SET_MAKE=
47503 else
47504 echo "$as_me:$LINENO: result: no" >&5
47505 echo "${ECHO_T}no" >&6
47506 SET_MAKE="MAKE=${MAKE-make}"
47507 fi
47508
47509
47510
47511 if test "x$SUNCXX" = "xyes"; then
47512 AR=$CXX
47513
47514 AROPTIONS="-xar -o"
47515 else
47516 if test -n "$ac_tool_prefix"; then
47517 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47518 set dummy ${ac_tool_prefix}ar; ac_word=$2
47519 echo "$as_me:$LINENO: checking for $ac_word" >&5
47520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47521 if test "${ac_cv_prog_AR+set}" = set; then
47522 echo $ECHO_N "(cached) $ECHO_C" >&6
47523 else
47524 if test -n "$AR"; then
47525 ac_cv_prog_AR="$AR" # Let the user override the test.
47526 else
47527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47528 for as_dir in $PATH
47529 do
47530 IFS=$as_save_IFS
47531 test -z "$as_dir" && as_dir=.
47532 for ac_exec_ext in '' $ac_executable_extensions; do
47533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47534 ac_cv_prog_AR="${ac_tool_prefix}ar"
47535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47536 break 2
47537 fi
47538 done
47539 done
47540
47541 fi
47542 fi
47543 AR=$ac_cv_prog_AR
47544 if test -n "$AR"; then
47545 echo "$as_me:$LINENO: result: $AR" >&5
47546 echo "${ECHO_T}$AR" >&6
47547 else
47548 echo "$as_me:$LINENO: result: no" >&5
47549 echo "${ECHO_T}no" >&6
47550 fi
47551
47552 fi
47553 if test -z "$ac_cv_prog_AR"; then
47554 ac_ct_AR=$AR
47555 # Extract the first word of "ar", so it can be a program name with args.
47556 set dummy ar; ac_word=$2
47557 echo "$as_me:$LINENO: checking for $ac_word" >&5
47558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47559 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47560 echo $ECHO_N "(cached) $ECHO_C" >&6
47561 else
47562 if test -n "$ac_ct_AR"; then
47563 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47564 else
47565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47566 for as_dir in $PATH
47567 do
47568 IFS=$as_save_IFS
47569 test -z "$as_dir" && as_dir=.
47570 for ac_exec_ext in '' $ac_executable_extensions; do
47571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47572 ac_cv_prog_ac_ct_AR="ar"
47573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47574 break 2
47575 fi
47576 done
47577 done
47578
47579 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47580 fi
47581 fi
47582 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47583 if test -n "$ac_ct_AR"; then
47584 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47585 echo "${ECHO_T}$ac_ct_AR" >&6
47586 else
47587 echo "$as_me:$LINENO: result: no" >&5
47588 echo "${ECHO_T}no" >&6
47589 fi
47590
47591 AR=$ac_ct_AR
47592 else
47593 AR="$ac_cv_prog_AR"
47594 fi
47595
47596 AROPTIONS=rcu
47597 fi
47598
47599
47600 if test -n "$ac_tool_prefix"; then
47601 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47602 set dummy ${ac_tool_prefix}strip; ac_word=$2
47603 echo "$as_me:$LINENO: checking for $ac_word" >&5
47604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47605 if test "${ac_cv_prog_STRIP+set}" = set; then
47606 echo $ECHO_N "(cached) $ECHO_C" >&6
47607 else
47608 if test -n "$STRIP"; then
47609 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47610 else
47611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47612 for as_dir in $PATH
47613 do
47614 IFS=$as_save_IFS
47615 test -z "$as_dir" && as_dir=.
47616 for ac_exec_ext in '' $ac_executable_extensions; do
47617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47618 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47620 break 2
47621 fi
47622 done
47623 done
47624
47625 fi
47626 fi
47627 STRIP=$ac_cv_prog_STRIP
47628 if test -n "$STRIP"; then
47629 echo "$as_me:$LINENO: result: $STRIP" >&5
47630 echo "${ECHO_T}$STRIP" >&6
47631 else
47632 echo "$as_me:$LINENO: result: no" >&5
47633 echo "${ECHO_T}no" >&6
47634 fi
47635
47636 fi
47637 if test -z "$ac_cv_prog_STRIP"; then
47638 ac_ct_STRIP=$STRIP
47639 # Extract the first word of "strip", so it can be a program name with args.
47640 set dummy strip; ac_word=$2
47641 echo "$as_me:$LINENO: checking for $ac_word" >&5
47642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47643 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47644 echo $ECHO_N "(cached) $ECHO_C" >&6
47645 else
47646 if test -n "$ac_ct_STRIP"; then
47647 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47648 else
47649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47650 for as_dir in $PATH
47651 do
47652 IFS=$as_save_IFS
47653 test -z "$as_dir" && as_dir=.
47654 for ac_exec_ext in '' $ac_executable_extensions; do
47655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47656 ac_cv_prog_ac_ct_STRIP="strip"
47657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47658 break 2
47659 fi
47660 done
47661 done
47662
47663 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47664 fi
47665 fi
47666 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47667 if test -n "$ac_ct_STRIP"; then
47668 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47669 echo "${ECHO_T}$ac_ct_STRIP" >&6
47670 else
47671 echo "$as_me:$LINENO: result: no" >&5
47672 echo "${ECHO_T}no" >&6
47673 fi
47674
47675 STRIP=$ac_ct_STRIP
47676 else
47677 STRIP="$ac_cv_prog_STRIP"
47678 fi
47679
47680 if test -n "$ac_tool_prefix"; then
47681 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47682 set dummy ${ac_tool_prefix}nm; ac_word=$2
47683 echo "$as_me:$LINENO: checking for $ac_word" >&5
47684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47685 if test "${ac_cv_prog_NM+set}" = set; then
47686 echo $ECHO_N "(cached) $ECHO_C" >&6
47687 else
47688 if test -n "$NM"; then
47689 ac_cv_prog_NM="$NM" # Let the user override the test.
47690 else
47691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47692 for as_dir in $PATH
47693 do
47694 IFS=$as_save_IFS
47695 test -z "$as_dir" && as_dir=.
47696 for ac_exec_ext in '' $ac_executable_extensions; do
47697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47698 ac_cv_prog_NM="${ac_tool_prefix}nm"
47699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47700 break 2
47701 fi
47702 done
47703 done
47704
47705 fi
47706 fi
47707 NM=$ac_cv_prog_NM
47708 if test -n "$NM"; then
47709 echo "$as_me:$LINENO: result: $NM" >&5
47710 echo "${ECHO_T}$NM" >&6
47711 else
47712 echo "$as_me:$LINENO: result: no" >&5
47713 echo "${ECHO_T}no" >&6
47714 fi
47715
47716 fi
47717 if test -z "$ac_cv_prog_NM"; then
47718 ac_ct_NM=$NM
47719 # Extract the first word of "nm", so it can be a program name with args.
47720 set dummy nm; ac_word=$2
47721 echo "$as_me:$LINENO: checking for $ac_word" >&5
47722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47723 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47724 echo $ECHO_N "(cached) $ECHO_C" >&6
47725 else
47726 if test -n "$ac_ct_NM"; then
47727 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47728 else
47729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47730 for as_dir in $PATH
47731 do
47732 IFS=$as_save_IFS
47733 test -z "$as_dir" && as_dir=.
47734 for ac_exec_ext in '' $ac_executable_extensions; do
47735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47736 ac_cv_prog_ac_ct_NM="nm"
47737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47738 break 2
47739 fi
47740 done
47741 done
47742
47743 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47744 fi
47745 fi
47746 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47747 if test -n "$ac_ct_NM"; then
47748 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47749 echo "${ECHO_T}$ac_ct_NM" >&6
47750 else
47751 echo "$as_me:$LINENO: result: no" >&5
47752 echo "${ECHO_T}no" >&6
47753 fi
47754
47755 NM=$ac_ct_NM
47756 else
47757 NM="$ac_cv_prog_NM"
47758 fi
47759
47760
47761 case ${BAKEFILE_HOST} in
47762 *-hp-hpux* )
47763 INSTALL_DIR="mkdir -p"
47764 ;;
47765 * )
47766 INSTALL_DIR='$(INSTALL) -d'
47767 ;;
47768 esac
47769
47770
47771 LDFLAGS_GUI=
47772 case ${BAKEFILE_HOST} in
47773 *-*-cygwin* | *-*-mingw32* )
47774 LDFLAGS_GUI="-mwindows"
47775 esac
47776
47777
47778 fi
47779
47780 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47781 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47782 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47783 echo $ECHO_N "(cached) $ECHO_C" >&6
47784 else
47785
47786 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47787 egrep -s GNU > /dev/null); then
47788 bakefile_cv_prog_makeisgnu="yes"
47789 else
47790 bakefile_cv_prog_makeisgnu="no"
47791 fi
47792
47793 fi
47794 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47795 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47796
47797 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47798 IF_GNU_MAKE=""
47799 else
47800 IF_GNU_MAKE="#"
47801 fi
47802
47803
47804
47805 PLATFORM_UNIX=0
47806 PLATFORM_WIN32=0
47807 PLATFORM_MSDOS=0
47808 PLATFORM_MAC=0
47809 PLATFORM_MACOS=0
47810 PLATFORM_MACOSX=0
47811 PLATFORM_OS2=0
47812 PLATFORM_BEOS=0
47813
47814 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47815 case "${BAKEFILE_HOST}" in
47816 *-*-mingw32* )
47817 PLATFORM_WIN32=1
47818 ;;
47819 *-pc-msdosdjgpp )
47820 PLATFORM_MSDOS=1
47821 ;;
47822 *-pc-os2_emx | *-pc-os2-emx )
47823 PLATFORM_OS2=1
47824 ;;
47825 *-*-darwin* )
47826 PLATFORM_MAC=1
47827 PLATFORM_MACOSX=1
47828 ;;
47829 *-*-beos* )
47830 PLATFORM_BEOS=1
47831 ;;
47832 powerpc-apple-macos* )
47833 PLATFORM_MAC=1
47834 PLATFORM_MACOS=1
47835 ;;
47836 * )
47837 PLATFORM_UNIX=1
47838 ;;
47839 esac
47840 else
47841 case "$BAKEFILE_FORCE_PLATFORM" in
47842 win32 )
47843 PLATFORM_WIN32=1
47844 ;;
47845 msdos )
47846 PLATFORM_MSDOS=1
47847 ;;
47848 os2 )
47849 PLATFORM_OS2=1
47850 ;;
47851 darwin )
47852 PLATFORM_MAC=1
47853 PLATFORM_MACOSX=1
47854 ;;
47855 unix )
47856 PLATFORM_UNIX=1
47857 ;;
47858 beos )
47859 PLATFORM_BEOS=1
47860 ;;
47861 * )
47862 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47863 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47864 { (exit 1); exit 1; }; }
47865 ;;
47866 esac
47867 fi
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879 # Check whether --enable-omf or --disable-omf was given.
47880 if test "${enable_omf+set}" = set; then
47881 enableval="$enable_omf"
47882 bk_os2_use_omf="$enableval"
47883 fi;
47884
47885 case "${BAKEFILE_HOST}" in
47886 *-*-darwin* )
47887 if test "x$GCC" = "xyes"; then
47888 CFLAGS="$CFLAGS -fno-common"
47889 CXXFLAGS="$CXXFLAGS -fno-common"
47890 fi
47891 if test "x$XLCC" = "xyes"; then
47892 CFLAGS="$CFLAGS -qnocommon"
47893 CXXFLAGS="$CXXFLAGS -qnocommon"
47894 fi
47895 ;;
47896
47897 *-pc-os2_emx | *-pc-os2-emx )
47898 if test "x$bk_os2_use_omf" = "xyes" ; then
47899 AR=emxomfar
47900 RANLIB=:
47901 LDFLAGS="-Zomf $LDFLAGS"
47902 CFLAGS="-Zomf $CFLAGS"
47903 CXXFLAGS="-Zomf $CXXFLAGS"
47904 OS2_LIBEXT="lib"
47905 else
47906 OS2_LIBEXT="a"
47907 fi
47908 ;;
47909
47910 i*86-*-beos* )
47911 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47912 ;;
47913 esac
47914
47915
47916 SO_SUFFIX="so"
47917 SO_SUFFIX_MODULE="so"
47918 EXEEXT=""
47919 LIBPREFIX="lib"
47920 LIBEXT=".a"
47921 DLLPREFIX="lib"
47922 DLLPREFIX_MODULE=""
47923 DLLIMP_SUFFIX=""
47924 dlldir="$libdir"
47925
47926 case "${BAKEFILE_HOST}" in
47927 *-hp-hpux* )
47928 SO_SUFFIX="sl"
47929 SO_SUFFIX_MODULE="sl"
47930 ;;
47931 *-*-aix* )
47932 SO_SUFFIX="a"
47933 SO_SUFFIX_MODULE="a"
47934 ;;
47935 *-*-cygwin* )
47936 SO_SUFFIX="dll"
47937 SO_SUFFIX_MODULE="dll"
47938 DLLIMP_SUFFIX="dll.a"
47939 EXEEXT=".exe"
47940 DLLPREFIX="cyg"
47941 dlldir="$bindir"
47942 ;;
47943 *-*-mingw32* )
47944 SO_SUFFIX="dll"
47945 SO_SUFFIX_MODULE="dll"
47946 DLLIMP_SUFFIX="dll.a"
47947 EXEEXT=".exe"
47948 DLLPREFIX=""
47949 dlldir="$bindir"
47950 ;;
47951 *-pc-msdosdjgpp )
47952 EXEEXT=".exe"
47953 DLLPREFIX=""
47954 dlldir="$bindir"
47955 ;;
47956 *-pc-os2_emx | *-pc-os2-emx )
47957 SO_SUFFIX="dll"
47958 SO_SUFFIX_MODULE="dll"
47959 DLLIMP_SUFFIX=$OS2_LIBEXT
47960 EXEEXT=".exe"
47961 DLLPREFIX=""
47962 LIBPREFIX=""
47963 LIBEXT=".$OS2_LIBEXT"
47964 dlldir="$bindir"
47965 ;;
47966 *-*-darwin* )
47967 SO_SUFFIX="dylib"
47968 SO_SUFFIX_MODULE="bundle"
47969 ;;
47970 esac
47971
47972 if test "x$DLLIMP_SUFFIX" = "x" ; then
47973 DLLIMP_SUFFIX="$SO_SUFFIX"
47974 fi
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987 PIC_FLAG=""
47988 if test "x$GCC" = "xyes"; then
47989 PIC_FLAG="-fPIC"
47990 fi
47991
47992 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47993 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47994 WINDOWS_IMPLIB=0
47995
47996 case "${BAKEFILE_HOST}" in
47997 *-hp-hpux* )
47998 if test "x$GCC" != "xyes"; then
47999 LDFLAGS="$LDFLAGS -L/usr/lib"
48000
48001 SHARED_LD_CC="${CC} -b -o"
48002 SHARED_LD_CXX="${CXX} -b -o"
48003 PIC_FLAG="+Z"
48004 fi
48005 ;;
48006
48007 *-*-linux* )
48008 if test "x$GCC" != "xyes"; then
48009 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48010 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48011 if test "${bakefile_cv_prog_icc+set}" = set; then
48012 echo $ECHO_N "(cached) $ECHO_C" >&6
48013 else
48014
48015 cat >conftest.$ac_ext <<_ACEOF
48016 /* confdefs.h. */
48017 _ACEOF
48018 cat confdefs.h >>conftest.$ac_ext
48019 cat >>conftest.$ac_ext <<_ACEOF
48020 /* end confdefs.h. */
48021
48022 int
48023 main ()
48024 {
48025
48026 #ifndef __INTEL_COMPILER
48027 This is not ICC
48028 #endif
48029
48030 ;
48031 return 0;
48032 }
48033 _ACEOF
48034 rm -f conftest.$ac_objext
48035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48036 (eval $ac_compile) 2>conftest.er1
48037 ac_status=$?
48038 grep -v '^ *+' conftest.er1 >conftest.err
48039 rm -f conftest.er1
48040 cat conftest.err >&5
48041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48042 (exit $ac_status); } &&
48043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48045 (eval $ac_try) 2>&5
48046 ac_status=$?
48047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48048 (exit $ac_status); }; } &&
48049 { ac_try='test -s conftest.$ac_objext'
48050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48051 (eval $ac_try) 2>&5
48052 ac_status=$?
48053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48054 (exit $ac_status); }; }; then
48055 bakefile_cv_prog_icc=yes
48056 else
48057 echo "$as_me: failed program was:" >&5
48058 sed 's/^/| /' conftest.$ac_ext >&5
48059
48060 bakefile_cv_prog_icc=no
48061
48062 fi
48063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48064
48065 fi
48066 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48067 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48068 if test "$bakefile_cv_prog_icc" = "yes"; then
48069 PIC_FLAG="-KPIC"
48070 fi
48071 fi
48072 ;;
48073
48074 *-*-solaris2* )
48075 if test "x$GCC" != xyes ; then
48076 SHARED_LD_CC="${CC} -G -o"
48077 SHARED_LD_CXX="${CXX} -G -o"
48078 PIC_FLAG="-KPIC"
48079 fi
48080 ;;
48081
48082 *-*-darwin* )
48083
48084 D='$'
48085 cat <<EOF >shared-ld-sh
48086 #!/bin/sh
48087 #-----------------------------------------------------------------------------
48088 #-- Name: distrib/mac/shared-ld-sh
48089 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48090 #-- Author: Gilles Depeyrot
48091 #-- Copyright: (c) 2002 Gilles Depeyrot
48092 #-- Licence: any use permitted
48093 #-----------------------------------------------------------------------------
48094
48095 verbose=0
48096 args=""
48097 objects=""
48098 linking_flag="-dynamiclib"
48099 ldargs="-r -keep_private_externs -nostdlib"
48100
48101 while test ${D}# -gt 0; do
48102 case ${D}1 in
48103
48104 -v)
48105 verbose=1
48106 ;;
48107
48108 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48109 # collect these options and values
48110 args="${D}{args} ${D}1 ${D}2"
48111 shift
48112 ;;
48113
48114 -s|-Wl,*)
48115 # collect these load args
48116 ldargs="${D}{ldargs} ${D}1"
48117 ;;
48118
48119 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48120 # collect these options
48121 args="${D}{args} ${D}1"
48122 ;;
48123
48124 -dynamiclib|-bundle)
48125 linking_flag="${D}1"
48126 ;;
48127
48128 -*)
48129 echo "shared-ld: unhandled option '${D}1'"
48130 exit 1
48131 ;;
48132
48133 *.o | *.a | *.dylib)
48134 # collect object files
48135 objects="${D}{objects} ${D}1"
48136 ;;
48137
48138 *)
48139 echo "shared-ld: unhandled argument '${D}1'"
48140 exit 1
48141 ;;
48142
48143 esac
48144 shift
48145 done
48146
48147 status=0
48148
48149 #
48150 # Link one module containing all the others
48151 #
48152 if test ${D}{verbose} = 1; then
48153 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48154 fi
48155 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48156 status=${D}?
48157
48158 #
48159 # Link the shared library from the single module created, but only if the
48160 # previous command didn't fail:
48161 #
48162 if test ${D}{status} = 0; then
48163 if test ${D}{verbose} = 1; then
48164 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48165 fi
48166 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48167 status=${D}?
48168 fi
48169
48170 #
48171 # Remove intermediate module
48172 #
48173 rm -f master.${D}${D}.o
48174
48175 exit ${D}status
48176 EOF
48177
48178 chmod +x shared-ld-sh
48179
48180 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48181 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48182
48183
48184 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48185 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48186 if test "${bakefile_cv_gcc31+set}" = set; then
48187 echo $ECHO_N "(cached) $ECHO_C" >&6
48188 else
48189
48190 cat >conftest.$ac_ext <<_ACEOF
48191 /* confdefs.h. */
48192 _ACEOF
48193 cat confdefs.h >>conftest.$ac_ext
48194 cat >>conftest.$ac_ext <<_ACEOF
48195 /* end confdefs.h. */
48196
48197 int
48198 main ()
48199 {
48200
48201 #if (__GNUC__ < 3) || \
48202 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48203 This is old gcc
48204 #endif
48205
48206 ;
48207 return 0;
48208 }
48209 _ACEOF
48210 rm -f conftest.$ac_objext
48211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48212 (eval $ac_compile) 2>conftest.er1
48213 ac_status=$?
48214 grep -v '^ *+' conftest.er1 >conftest.err
48215 rm -f conftest.er1
48216 cat conftest.err >&5
48217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218 (exit $ac_status); } &&
48219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48221 (eval $ac_try) 2>&5
48222 ac_status=$?
48223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48224 (exit $ac_status); }; } &&
48225 { ac_try='test -s conftest.$ac_objext'
48226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48227 (eval $ac_try) 2>&5
48228 ac_status=$?
48229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48230 (exit $ac_status); }; }; then
48231
48232 bakefile_cv_gcc31=yes
48233
48234 else
48235 echo "$as_me: failed program was:" >&5
48236 sed 's/^/| /' conftest.$ac_ext >&5
48237
48238
48239 bakefile_cv_gcc31=no
48240
48241
48242 fi
48243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48244
48245 fi
48246 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48247 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48248 if test "$bakefile_cv_gcc31" = "no"; then
48249 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48250 SHARED_LD_CXX="$SHARED_LD_CC"
48251 else
48252 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48253 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48254 fi
48255
48256 if test "x$GCC" == "xyes"; then
48257 PIC_FLAG="-dynamic -fPIC"
48258 fi
48259 if test "x$XLCC" = "xyes"; then
48260 PIC_FLAG="-dynamic -DPIC"
48261 fi
48262 ;;
48263
48264 *-*-aix* )
48265 if test "x$GCC" = "xyes"; then
48266 PIC_FLAG=""
48267
48268 case "${BAKEFILE_HOST}" in
48269 *-*-aix5* )
48270 LD_EXPFULL="-Wl,-bexpfull"
48271 ;;
48272 esac
48273
48274 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48275 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48276 else
48277 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48278 set dummy makeC++SharedLib; ac_word=$2
48279 echo "$as_me:$LINENO: checking for $ac_word" >&5
48280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48281 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48282 echo $ECHO_N "(cached) $ECHO_C" >&6
48283 else
48284 if test -n "$AIX_CXX_LD"; then
48285 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48286 else
48287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48288 for as_dir in $PATH
48289 do
48290 IFS=$as_save_IFS
48291 test -z "$as_dir" && as_dir=.
48292 for ac_exec_ext in '' $ac_executable_extensions; do
48293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48294 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48296 break 2
48297 fi
48298 done
48299 done
48300
48301 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48302 fi
48303 fi
48304 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48305 if test -n "$AIX_CXX_LD"; then
48306 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48307 echo "${ECHO_T}$AIX_CXX_LD" >&6
48308 else
48309 echo "$as_me:$LINENO: result: no" >&5
48310 echo "${ECHO_T}no" >&6
48311 fi
48312
48313 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48314 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48315 fi
48316 ;;
48317
48318 *-*-beos* )
48319 SHARED_LD_CC="${LD} -nostart -o"
48320 SHARED_LD_CXX="${LD} -nostart -o"
48321 ;;
48322
48323 *-*-irix* )
48324 if test "x$GCC" != "xyes"; then
48325 PIC_FLAG="-KPIC"
48326 fi
48327 ;;
48328
48329 *-*-cygwin* | *-*-mingw32* )
48330 PIC_FLAG=""
48331 SHARED_LD_CC="\$(CC) -shared -o"
48332 SHARED_LD_CXX="\$(CXX) -shared -o"
48333 WINDOWS_IMPLIB=1
48334 ;;
48335
48336 *-pc-os2_emx | *-pc-os2-emx )
48337 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48338 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48339 PIC_FLAG=""
48340
48341 D='$'
48342 cat <<EOF >dllar.sh
48343 #!/bin/sh
48344 #
48345 # dllar - a tool to build both a .dll and an .a file
48346 # from a set of object (.o) files for EMX/OS2.
48347 #
48348 # Written by Andrew Zabolotny, bit@freya.etu.ru
48349 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48350 #
48351 # This script will accept a set of files on the command line.
48352 # All the public symbols from the .o files will be exported into
48353 # a .DEF file, then linker will be run (through gcc) against them to
48354 # build a shared library consisting of all given .o files. All libraries
48355 # (.a) will be first decompressed into component .o files then act as
48356 # described above. You can optionally give a description (-d "description")
48357 # which will be put into .DLL. To see the list of accepted options (as well
48358 # as command-line format) simply run this program without options. The .DLL
48359 # is built to be imported by name (there is no guarantee that new versions
48360 # of the library you build will have same ordinals for same symbols).
48361 #
48362 # dllar is free software; you can redistribute it and/or modify
48363 # it under the terms of the GNU General Public License as published by
48364 # the Free Software Foundation; either version 2, or (at your option)
48365 # any later version.
48366 #
48367 # dllar is distributed in the hope that it will be useful,
48368 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48370 # GNU General Public License for more details.
48371 #
48372 # You should have received a copy of the GNU General Public License
48373 # along with dllar; see the file COPYING. If not, write to the Free
48374 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48375 # 02111-1307, USA.
48376
48377 # To successfuly run this program you will need:
48378 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48379 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48380 # - gcc
48381 # (used to build the .dll)
48382 # - emxexp
48383 # (used to create .def file from .o files)
48384 # - emximp
48385 # (used to create .a file from .def file)
48386 # - GNU text utilites (cat, sort, uniq)
48387 # used to process emxexp output
48388 # - GNU file utilities (mv, rm)
48389 # - GNU sed
48390 # - lxlite (optional, see flag below)
48391 # (used for general .dll cleanup)
48392 #
48393
48394 flag_USE_LXLITE=1;
48395
48396 #
48397 # helper functions
48398 # basnam, variant of basename, which does _not_ remove the path, _iff_
48399 # second argument (suffix to remove) is given
48400 basnam(){
48401 case ${D}# in
48402 1)
48403 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48404 ;;
48405 2)
48406 echo ${D}1 | sed 's/'${D}2'${D}//'
48407 ;;
48408 *)
48409 echo "error in basnam ${D}*"
48410 exit 8
48411 ;;
48412 esac
48413 }
48414
48415 # Cleanup temporary files and output
48416 CleanUp() {
48417 cd ${D}curDir
48418 for i in ${D}inputFiles ; do
48419 case ${D}i in
48420 *!)
48421 rm -rf \`basnam ${D}i !\`
48422 ;;
48423 *)
48424 ;;
48425 esac
48426 done
48427
48428 # Kill result in case of failure as there is just to many stupid make/nmake
48429 # things out there which doesn't do this.
48430 if [ ${D}# -eq 0 ]; then
48431 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48432 fi
48433 }
48434
48435 # Print usage and exit script with rc=1.
48436 PrintHelp() {
48437 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48438 echo ' [-name-mangler-script script.sh]'
48439 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48440 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48441 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48442 echo ' [*.o] [*.a]'
48443 echo '*> "output_file" should have no extension.'
48444 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48445 echo ' The import library name is derived from this and is set to "name".a,'
48446 echo ' unless overridden by -import'
48447 echo '*> "importlib_name" should have no extension.'
48448 echo ' If it has the .o, or .a extension, it is automatically removed.'
48449 echo ' This name is used as the import library name and may be longer and'
48450 echo ' more descriptive than the DLL name which has to follow the old '
48451 echo ' 8.3 convention of FAT.'
48452 echo '*> "script.sh may be given to override the output_file name by a'
48453 echo ' different name. It is mainly useful if the regular make process'
48454 echo ' of some package does not take into account OS/2 restriction of'
48455 echo ' DLL name lengths. It takes the importlib name as input and is'
48456 echo ' supposed to procude a shorter name as output. The script should'
48457 echo ' expect to get importlib_name without extension and should produce'
48458 echo ' a (max.) 8 letter name without extension.'
48459 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48460 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48461 echo ' These flags will be put at the start of GCC command line.'
48462 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48463 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48464 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48465 echo ' If the last character of a symbol is "*", all symbols beginning'
48466 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48467 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48468 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48469 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48470 echo ' C runtime DLLs.'
48471 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48472 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48473 echo ' unchanged to GCC at the end of command line.'
48474 echo '*> If you create a DLL from a library and you do not specify -o,'
48475 echo ' the basename for DLL and import library will be set to library name,'
48476 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48477 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48478 echo ' library will be renamed into gcc_s.a.'
48479 echo '--------'
48480 echo 'Example:'
48481 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48482 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48483 CleanUp
48484 exit 1
48485 }
48486
48487 # Execute a command.
48488 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48489 # @Uses Whatever CleanUp() uses.
48490 doCommand() {
48491 echo "${D}*"
48492 eval ${D}*
48493 rcCmd=${D}?
48494
48495 if [ ${D}rcCmd -ne 0 ]; then
48496 echo "command failed, exit code="${D}rcCmd
48497 CleanUp
48498 exit ${D}rcCmd
48499 fi
48500 }
48501
48502 # main routine
48503 # setup globals
48504 cmdLine=${D}*
48505 outFile=""
48506 outimpFile=""
48507 inputFiles=""
48508 renameScript=""
48509 description=""
48510 CC=gcc.exe
48511 CFLAGS="-s -Zcrtdll"
48512 EXTRA_CFLAGS=""
48513 EXPORT_BY_ORDINALS=0
48514 exclude_symbols=""
48515 library_flags=""
48516 curDir=\`pwd\`
48517 curDirS=curDir
48518 case ${D}curDirS in
48519 */)
48520 ;;
48521 *)
48522 curDirS=${D}{curDirS}"/"
48523 ;;
48524 esac
48525 # Parse commandline
48526 libsToLink=0
48527 omfLinking=0
48528 while [ ${D}1 ]; do
48529 case ${D}1 in
48530 -ord*)
48531 EXPORT_BY_ORDINALS=1;
48532 ;;
48533 -o*)
48534 shift
48535 outFile=${D}1
48536 ;;
48537 -i*)
48538 shift
48539 outimpFile=${D}1
48540 ;;
48541 -name-mangler-script)
48542 shift
48543 renameScript=${D}1
48544 ;;
48545 -d*)
48546 shift
48547 description=${D}1
48548 ;;
48549 -f*)
48550 shift
48551 CFLAGS=${D}1
48552 ;;
48553 -c*)
48554 shift
48555 CC=${D}1
48556 ;;
48557 -h*)
48558 PrintHelp
48559 ;;
48560 -ex*)
48561 shift
48562 exclude_symbols=${D}{exclude_symbols}${D}1" "
48563 ;;
48564 -libf*)
48565 shift
48566 library_flags=${D}{library_flags}${D}1" "
48567 ;;
48568 -nocrt*)
48569 CFLAGS="-s"
48570 ;;
48571 -nolxl*)
48572 flag_USE_LXLITE=0
48573 ;;
48574 -* | /*)
48575 case ${D}1 in
48576 -L* | -l*)
48577 libsToLink=1
48578 ;;
48579 -Zomf)
48580 omfLinking=1
48581 ;;
48582 *)
48583 ;;
48584 esac
48585 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48586 ;;
48587 *.dll)
48588 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48589 if [ ${D}omfLinking -eq 1 ]; then
48590 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48591 else
48592 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48593 fi
48594 ;;
48595 *)
48596 found=0;
48597 if [ ${D}libsToLink -ne 0 ]; then
48598 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48599 else
48600 for file in ${D}1 ; do
48601 if [ -f ${D}file ]; then
48602 inputFiles="${D}{inputFiles} ${D}file"
48603 found=1
48604 fi
48605 done
48606 if [ ${D}found -eq 0 ]; then
48607 echo "ERROR: No file(s) found: "${D}1
48608 exit 8
48609 fi
48610 fi
48611 ;;
48612 esac
48613 shift
48614 done # iterate cmdline words
48615
48616 #
48617 if [ -z "${D}inputFiles" ]; then
48618 echo "dllar: no input files"
48619 PrintHelp
48620 fi
48621
48622 # Now extract all .o files from .a files
48623 newInputFiles=""
48624 for file in ${D}inputFiles ; do
48625 case ${D}file in
48626 *.a | *.lib)
48627 case ${D}file in
48628 *.a)
48629 suffix=".a"
48630 AR="ar"
48631 ;;
48632 *.lib)
48633 suffix=".lib"
48634 AR="emxomfar"
48635 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48636 ;;
48637 *)
48638 ;;
48639 esac
48640 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48641 mkdir ${D}dirname
48642 if [ ${D}? -ne 0 ]; then
48643 echo "Failed to create subdirectory ./${D}dirname"
48644 CleanUp
48645 exit 8;
48646 fi
48647 # Append '!' to indicate archive
48648 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48649 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48650 cd ${D}curDir
48651 found=0;
48652 for subfile in ${D}dirname/*.o* ; do
48653 if [ -f ${D}subfile ]; then
48654 found=1
48655 if [ -s ${D}subfile ]; then
48656 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48657 newInputFiles="${D}newInputFiles ${D}subfile"
48658 fi
48659 fi
48660 done
48661 if [ ${D}found -eq 0 ]; then
48662 echo "WARNING: there are no files in archive \\'${D}file\\'"
48663 fi
48664 ;;
48665 *)
48666 newInputFiles="${D}{newInputFiles} ${D}file"
48667 ;;
48668 esac
48669 done
48670 inputFiles="${D}newInputFiles"
48671
48672 # Output filename(s).
48673 do_backup=0;
48674 if [ -z ${D}outFile ]; then
48675 do_backup=1;
48676 set outFile ${D}inputFiles; outFile=${D}2
48677 fi
48678
48679 # If it is an archive, remove the '!' and the '_%' suffixes
48680 case ${D}outFile in
48681 *_%!)
48682 outFile=\`basnam ${D}outFile _%!\`
48683 ;;
48684 *)
48685 ;;
48686 esac
48687 case ${D}outFile in
48688 *.dll)
48689 outFile=\`basnam ${D}outFile .dll\`
48690 ;;
48691 *.DLL)
48692 outFile=\`basnam ${D}outFile .DLL\`
48693 ;;
48694 *.o)
48695 outFile=\`basnam ${D}outFile .o\`
48696 ;;
48697 *.obj)
48698 outFile=\`basnam ${D}outFile .obj\`
48699 ;;
48700 *.a)
48701 outFile=\`basnam ${D}outFile .a\`
48702 ;;
48703 *.lib)
48704 outFile=\`basnam ${D}outFile .lib\`
48705 ;;
48706 *)
48707 ;;
48708 esac
48709 case ${D}outimpFile in
48710 *.a)
48711 outimpFile=\`basnam ${D}outimpFile .a\`
48712 ;;
48713 *.lib)
48714 outimpFile=\`basnam ${D}outimpFile .lib\`
48715 ;;
48716 *)
48717 ;;
48718 esac
48719 if [ -z ${D}outimpFile ]; then
48720 outimpFile=${D}outFile
48721 fi
48722 defFile="${D}{outFile}.def"
48723 arcFile="${D}{outimpFile}.a"
48724 arcFile2="${D}{outimpFile}.lib"
48725
48726 #create ${D}dllFile as something matching 8.3 restrictions,
48727 if [ -z ${D}renameScript ] ; then
48728 dllFile="${D}outFile"
48729 else
48730 dllFile=\`${D}renameScript ${D}outimpFile\`
48731 fi
48732
48733 if [ ${D}do_backup -ne 0 ] ; then
48734 if [ -f ${D}arcFile ] ; then
48735 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48736 fi
48737 if [ -f ${D}arcFile2 ] ; then
48738 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48739 fi
48740 fi
48741
48742 # Extract public symbols from all the object files.
48743 tmpdefFile=${D}{defFile}_%
48744 rm -f ${D}tmpdefFile
48745 for file in ${D}inputFiles ; do
48746 case ${D}file in
48747 *!)
48748 ;;
48749 *)
48750 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48751 ;;
48752 esac
48753 done
48754
48755 # Create the def file.
48756 rm -f ${D}defFile
48757 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48758 dllFile="${D}{dllFile}.dll"
48759 if [ ! -z ${D}description ]; then
48760 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48761 fi
48762 echo "EXPORTS" >> ${D}defFile
48763
48764 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48765 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48766
48767 # Checks if the export is ok or not.
48768 for word in ${D}exclude_symbols; do
48769 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48770 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48771 done
48772
48773
48774 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48775 sed "=" < ${D}tmpdefFile | \\
48776 sed '
48777 N
48778 : loop
48779 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48780 t loop
48781 ' > ${D}{tmpdefFile}%
48782 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48783 else
48784 rm -f ${D}{tmpdefFile}%
48785 fi
48786 cat ${D}tmpdefFile >> ${D}defFile
48787 rm -f ${D}tmpdefFile
48788
48789 # Do linking, create implib, and apply lxlite.
48790 gccCmdl="";
48791 for file in ${D}inputFiles ; do
48792 case ${D}file in
48793 *!)
48794 ;;
48795 *)
48796 gccCmdl="${D}gccCmdl ${D}file"
48797 ;;
48798 esac
48799 done
48800 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48801 touch "${D}{outFile}.dll"
48802
48803 doCommand "emximp -o ${D}arcFile ${D}defFile"
48804 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48805 add_flags="";
48806 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48807 add_flags="-ynd"
48808 fi
48809 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48810 fi
48811 doCommand "emxomf -s -l ${D}arcFile"
48812
48813 # Successful exit.
48814 CleanUp 1
48815 exit 0
48816 EOF
48817
48818 chmod +x dllar.sh
48819 ;;
48820
48821 powerpc-apple-macos* | \
48822 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48823 *-*-mirbsd* | \
48824 *-*-sunos4* | \
48825 *-*-osf* | \
48826 *-*-dgux5* | \
48827 *-*-sysv5* | \
48828 *-pc-msdosdjgpp )
48829 ;;
48830
48831 *)
48832 esac
48833
48834 if test "x$PIC_FLAG" != "x" ; then
48835 PIC_FLAG="$PIC_FLAG -DPIC"
48836 fi
48837
48838 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48839 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48840 fi
48841 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48842 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48843 fi
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853 USE_SOVERSION=0
48854 USE_SOVERLINUX=0
48855 USE_SOVERSOLARIS=0
48856 USE_SOVERCYGWIN=0
48857 USE_SOSYMLINKS=0
48858 USE_MACVERSION=0
48859 SONAME_FLAG=
48860
48861 case "${BAKEFILE_HOST}" in
48862 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48863 SONAME_FLAG="-Wl,-soname,"
48864 USE_SOVERSION=1
48865 USE_SOVERLINUX=1
48866 USE_SOSYMLINKS=1
48867 ;;
48868
48869 *-*-solaris2* )
48870 SONAME_FLAG="-h "
48871 USE_SOVERSION=1
48872 USE_SOVERSOLARIS=1
48873 USE_SOSYMLINKS=1
48874 ;;
48875
48876 *-*-darwin* )
48877 USE_MACVERSION=1
48878 USE_SOVERSION=1
48879 USE_SOSYMLINKS=1
48880 ;;
48881
48882 *-*-cygwin* )
48883 USE_SOVERSION=1
48884 USE_SOVERCYGWIN=1
48885 ;;
48886 esac
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48898 if test "${enable_dependency_tracking+set}" = set; then
48899 enableval="$enable_dependency_tracking"
48900 bk_use_trackdeps="$enableval"
48901 fi;
48902
48903 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48904 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48905
48906 BK_DEPS=""
48907 if test "x$bk_use_trackdeps" = "xno" ; then
48908 DEPS_TRACKING=0
48909 echo "$as_me:$LINENO: result: disabled" >&5
48910 echo "${ECHO_T}disabled" >&6
48911 else
48912 DEPS_TRACKING=1
48913
48914 if test "x$GCC" = "xyes"; then
48915 DEPSMODE=gcc
48916 case "${BAKEFILE_HOST}" in
48917 *-*-darwin* )
48918 DEPSFLAG="-no-cpp-precomp -MMD"
48919 ;;
48920 * )
48921 DEPSFLAG="-MMD"
48922 ;;
48923 esac
48924 echo "$as_me:$LINENO: result: gcc" >&5
48925 echo "${ECHO_T}gcc" >&6
48926 elif test "x$MWCC" = "xyes"; then
48927 DEPSMODE=mwcc
48928 DEPSFLAG="-MM"
48929 echo "$as_me:$LINENO: result: mwcc" >&5
48930 echo "${ECHO_T}mwcc" >&6
48931 elif test "x$SUNCC" = "xyes"; then
48932 DEPSMODE=unixcc
48933 DEPSFLAG="-xM1"
48934 echo "$as_me:$LINENO: result: Sun cc" >&5
48935 echo "${ECHO_T}Sun cc" >&6
48936 elif test "x$SGICC" = "xyes"; then
48937 DEPSMODE=unixcc
48938 DEPSFLAG="-M"
48939 echo "$as_me:$LINENO: result: SGI cc" >&5
48940 echo "${ECHO_T}SGI cc" >&6
48941 elif test "x$HPCC" = "xyes"; then
48942 DEPSMODE=unixcc
48943 DEPSFLAG="+make"
48944 echo "$as_me:$LINENO: result: HP cc" >&5
48945 echo "${ECHO_T}HP cc" >&6
48946 elif test "x$COMPAQCC" = "xyes"; then
48947 DEPSMODE=gcc
48948 DEPSFLAG="-MD"
48949 echo "$as_me:$LINENO: result: Compaq cc" >&5
48950 echo "${ECHO_T}Compaq cc" >&6
48951 else
48952 DEPS_TRACKING=0
48953 echo "$as_me:$LINENO: result: none" >&5
48954 echo "${ECHO_T}none" >&6
48955 fi
48956
48957 if test $DEPS_TRACKING = 1 ; then
48958
48959 D='$'
48960 cat <<EOF >bk-deps
48961 #!/bin/sh
48962
48963 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48964 # script. It is used to track C/C++ files dependencies in portable way.
48965 #
48966 # Permission is given to use this file in any way.
48967
48968 DEPSMODE=${DEPSMODE}
48969 DEPSDIR=.deps
48970 DEPSFLAG="${DEPSFLAG}"
48971
48972 mkdir -p ${D}DEPSDIR
48973
48974 if test ${D}DEPSMODE = gcc ; then
48975 ${D}* ${D}{DEPSFLAG}
48976 status=${D}?
48977 if test ${D}{status} != 0 ; then
48978 exit ${D}{status}
48979 fi
48980 # move created file to the location we want it in:
48981 while test ${D}# -gt 0; do
48982 case "${D}1" in
48983 -o )
48984 shift
48985 objfile=${D}1
48986 ;;
48987 -* )
48988 ;;
48989 * )
48990 srcfile=${D}1
48991 ;;
48992 esac
48993 shift
48994 done
48995 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48996 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48997 if test -f ${D}depfile ; then
48998 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48999 rm -f ${D}depfile
49000 else
49001 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49002 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49003 if test ! -f ${D}depfile ; then
49004 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49005 depfile="${D}objfile.d"
49006 fi
49007 if test -f ${D}depfile ; then
49008 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49009 rm -f ${D}depfile
49010 fi
49011 fi
49012 exit 0
49013 elif test ${D}DEPSMODE = mwcc ; then
49014 ${D}* || exit ${D}?
49015 # Run mwcc again with -MM and redirect into the dep file we want
49016 # NOTE: We can't use shift here because we need ${D}* to be valid
49017 prevarg=
49018 for arg in ${D}* ; do
49019 if test "${D}prevarg" = "-o"; then
49020 objfile=${D}arg
49021 else
49022 case "${D}arg" in
49023 -* )
49024 ;;
49025 * )
49026 srcfile=${D}arg
49027 ;;
49028 esac
49029 fi
49030 prevarg="${D}arg"
49031 done
49032 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49033 exit 0
49034 elif test ${D}DEPSMODE = unixcc; then
49035 ${D}* || exit ${D}?
49036 # Run compiler again with deps flag and redirect into the dep file.
49037 # It doesn't work if the '-o FILE' option is used, but without it the
49038 # dependency file will contain the wrong name for the object. So it is
49039 # removed from the command line, and the dep file is fixed with sed.
49040 cmd=""
49041 while test ${D}# -gt 0; do
49042 case "${D}1" in
49043 -o )
49044 shift
49045 objfile=${D}1
49046 ;;
49047 * )
49048 eval arg${D}#=\\${D}1
49049 cmd="${D}cmd \\${D}arg${D}#"
49050 ;;
49051 esac
49052 shift
49053 done
49054 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49055 exit 0
49056 else
49057 ${D}*
49058 exit ${D}?
49059 fi
49060 EOF
49061
49062 chmod +x bk-deps
49063 BK_DEPS="`pwd`/bk-deps"
49064 fi
49065 fi
49066
49067
49068
49069
49070
49071 case ${BAKEFILE_HOST} in
49072 *-*-cygwin* | *-*-mingw32* )
49073 if test -n "$ac_tool_prefix"; then
49074 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49075 set dummy ${ac_tool_prefix}windres; ac_word=$2
49076 echo "$as_me:$LINENO: checking for $ac_word" >&5
49077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49078 if test "${ac_cv_prog_WINDRES+set}" = set; then
49079 echo $ECHO_N "(cached) $ECHO_C" >&6
49080 else
49081 if test -n "$WINDRES"; then
49082 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49083 else
49084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49085 for as_dir in $PATH
49086 do
49087 IFS=$as_save_IFS
49088 test -z "$as_dir" && as_dir=.
49089 for ac_exec_ext in '' $ac_executable_extensions; do
49090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49091 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49093 break 2
49094 fi
49095 done
49096 done
49097
49098 fi
49099 fi
49100 WINDRES=$ac_cv_prog_WINDRES
49101 if test -n "$WINDRES"; then
49102 echo "$as_me:$LINENO: result: $WINDRES" >&5
49103 echo "${ECHO_T}$WINDRES" >&6
49104 else
49105 echo "$as_me:$LINENO: result: no" >&5
49106 echo "${ECHO_T}no" >&6
49107 fi
49108
49109 fi
49110 if test -z "$ac_cv_prog_WINDRES"; then
49111 ac_ct_WINDRES=$WINDRES
49112 # Extract the first word of "windres", so it can be a program name with args.
49113 set dummy windres; ac_word=$2
49114 echo "$as_me:$LINENO: checking for $ac_word" >&5
49115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49116 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49117 echo $ECHO_N "(cached) $ECHO_C" >&6
49118 else
49119 if test -n "$ac_ct_WINDRES"; then
49120 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49121 else
49122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49123 for as_dir in $PATH
49124 do
49125 IFS=$as_save_IFS
49126 test -z "$as_dir" && as_dir=.
49127 for ac_exec_ext in '' $ac_executable_extensions; do
49128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49129 ac_cv_prog_ac_ct_WINDRES="windres"
49130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49131 break 2
49132 fi
49133 done
49134 done
49135
49136 fi
49137 fi
49138 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49139 if test -n "$ac_ct_WINDRES"; then
49140 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49141 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49142 else
49143 echo "$as_me:$LINENO: result: no" >&5
49144 echo "${ECHO_T}no" >&6
49145 fi
49146
49147 WINDRES=$ac_ct_WINDRES
49148 else
49149 WINDRES="$ac_cv_prog_WINDRES"
49150 fi
49151
49152 ;;
49153
49154 *-*-darwin* | powerpc-apple-macos* )
49155 # Extract the first word of "Rez", so it can be a program name with args.
49156 set dummy Rez; ac_word=$2
49157 echo "$as_me:$LINENO: checking for $ac_word" >&5
49158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49159 if test "${ac_cv_prog_REZ+set}" = set; then
49160 echo $ECHO_N "(cached) $ECHO_C" >&6
49161 else
49162 if test -n "$REZ"; then
49163 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49164 else
49165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49166 for as_dir in $PATH
49167 do
49168 IFS=$as_save_IFS
49169 test -z "$as_dir" && as_dir=.
49170 for ac_exec_ext in '' $ac_executable_extensions; do
49171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49172 ac_cv_prog_REZ="Rez"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49174 break 2
49175 fi
49176 done
49177 done
49178
49179 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49180 fi
49181 fi
49182 REZ=$ac_cv_prog_REZ
49183 if test -n "$REZ"; then
49184 echo "$as_me:$LINENO: result: $REZ" >&5
49185 echo "${ECHO_T}$REZ" >&6
49186 else
49187 echo "$as_me:$LINENO: result: no" >&5
49188 echo "${ECHO_T}no" >&6
49189 fi
49190
49191 # Extract the first word of "SetFile", so it can be a program name with args.
49192 set dummy SetFile; ac_word=$2
49193 echo "$as_me:$LINENO: checking for $ac_word" >&5
49194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49195 if test "${ac_cv_prog_SETFILE+set}" = set; then
49196 echo $ECHO_N "(cached) $ECHO_C" >&6
49197 else
49198 if test -n "$SETFILE"; then
49199 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49200 else
49201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49202 for as_dir in $PATH
49203 do
49204 IFS=$as_save_IFS
49205 test -z "$as_dir" && as_dir=.
49206 for ac_exec_ext in '' $ac_executable_extensions; do
49207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49208 ac_cv_prog_SETFILE="SetFile"
49209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49210 break 2
49211 fi
49212 done
49213 done
49214
49215 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49216 fi
49217 fi
49218 SETFILE=$ac_cv_prog_SETFILE
49219 if test -n "$SETFILE"; then
49220 echo "$as_me:$LINENO: result: $SETFILE" >&5
49221 echo "${ECHO_T}$SETFILE" >&6
49222 else
49223 echo "$as_me:$LINENO: result: no" >&5
49224 echo "${ECHO_T}no" >&6
49225 fi
49226
49227 ;;
49228 esac
49229
49230
49231
49232
49233
49234
49235 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49236
49237
49238 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49239
49240
49241
49242 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49243 if test "${enable_precomp_headers+set}" = set; then
49244 enableval="$enable_precomp_headers"
49245 bk_use_pch="$enableval"
49246 fi;
49247
49248 GCC_PCH=0
49249 ICC_PCH=0
49250 USE_PCH=0
49251 BK_MAKE_PCH=""
49252
49253 case ${BAKEFILE_HOST} in
49254 *-*-cygwin* )
49255 bk_use_pch="no"
49256 ;;
49257 esac
49258
49259 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49260 if test "x$GCC" = "xyes"; then
49261 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49262 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49263 cat >conftest.$ac_ext <<_ACEOF
49264 /* confdefs.h. */
49265 _ACEOF
49266 cat confdefs.h >>conftest.$ac_ext
49267 cat >>conftest.$ac_ext <<_ACEOF
49268 /* end confdefs.h. */
49269
49270 int
49271 main ()
49272 {
49273
49274 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49275 There is no PCH support
49276 #endif
49277 #if (__GNUC__ < 3)
49278 There is no PCH support
49279 #endif
49280 #if (__GNUC__ == 3) && \
49281 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49282 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49283 ( defined(__INTEL_COMPILER) )
49284 There is no PCH support
49285 #endif
49286
49287 ;
49288 return 0;
49289 }
49290 _ACEOF
49291 rm -f conftest.$ac_objext
49292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49293 (eval $ac_compile) 2>conftest.er1
49294 ac_status=$?
49295 grep -v '^ *+' conftest.er1 >conftest.err
49296 rm -f conftest.er1
49297 cat conftest.err >&5
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); } &&
49300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49302 (eval $ac_try) 2>&5
49303 ac_status=$?
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; } &&
49306 { ac_try='test -s conftest.$ac_objext'
49307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49308 (eval $ac_try) 2>&5
49309 ac_status=$?
49310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49311 (exit $ac_status); }; }; then
49312
49313 echo "$as_me:$LINENO: result: yes" >&5
49314 echo "${ECHO_T}yes" >&6
49315 GCC_PCH=1
49316
49317 else
49318 echo "$as_me: failed program was:" >&5
49319 sed 's/^/| /' conftest.$ac_ext >&5
49320
49321
49322 cat >conftest.$ac_ext <<_ACEOF
49323 /* confdefs.h. */
49324 _ACEOF
49325 cat confdefs.h >>conftest.$ac_ext
49326 cat >>conftest.$ac_ext <<_ACEOF
49327 /* end confdefs.h. */
49328
49329 int
49330 main ()
49331 {
49332
49333 #if !defined(__INTEL_COMPILER) || \
49334 (__INTEL_COMPILER < 800)
49335 There is no PCH support
49336 #endif
49337
49338 ;
49339 return 0;
49340 }
49341 _ACEOF
49342 rm -f conftest.$ac_objext
49343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49344 (eval $ac_compile) 2>conftest.er1
49345 ac_status=$?
49346 grep -v '^ *+' conftest.er1 >conftest.err
49347 rm -f conftest.er1
49348 cat conftest.err >&5
49349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49350 (exit $ac_status); } &&
49351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49353 (eval $ac_try) 2>&5
49354 ac_status=$?
49355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49356 (exit $ac_status); }; } &&
49357 { ac_try='test -s conftest.$ac_objext'
49358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49359 (eval $ac_try) 2>&5
49360 ac_status=$?
49361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362 (exit $ac_status); }; }; then
49363
49364 echo "$as_me:$LINENO: result: yes" >&5
49365 echo "${ECHO_T}yes" >&6
49366 ICC_PCH=1
49367
49368 else
49369 echo "$as_me: failed program was:" >&5
49370 sed 's/^/| /' conftest.$ac_ext >&5
49371
49372
49373 echo "$as_me:$LINENO: result: no" >&5
49374 echo "${ECHO_T}no" >&6
49375
49376 fi
49377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49378
49379 fi
49380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49381 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49382 USE_PCH=1
49383
49384 D='$'
49385 cat <<EOF >bk-make-pch
49386 #!/bin/sh
49387
49388 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49389 # script. It is used to generated precompiled headers.
49390 #
49391 # Permission is given to use this file in any way.
49392
49393 outfile="${D}{1}"
49394 header="${D}{2}"
49395 shift
49396 shift
49397
49398 compiler=""
49399 headerfile=""
49400
49401 while test ${D}{#} -gt 0; do
49402 add_to_cmdline=1
49403 case "${D}{1}" in
49404 -I* )
49405 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49406 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49407 headerfile="${D}{incdir}/${D}{header}"
49408 fi
49409 ;;
49410 -use-pch|-use_pch )
49411 shift
49412 add_to_cmdline=0
49413 ;;
49414 esac
49415 if test ${D}add_to_cmdline = 1 ; then
49416 compiler="${D}{compiler} ${D}{1}"
49417 fi
49418 shift
49419 done
49420
49421 if test "x${D}{headerfile}" = "x" ; then
49422 echo "error: can't find header ${D}{header} in include paths" >&2
49423 else
49424 if test -f ${D}{outfile} ; then
49425 rm -f ${D}{outfile}
49426 else
49427 mkdir -p \`dirname ${D}{outfile}\`
49428 fi
49429 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49430 mkdir -p .deps
49431 if test "x${GCC_PCH}" = "x1" ; then
49432 # can do this because gcc is >= 3.4:
49433 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49434 elif test "x${ICC_PCH}" = "x1" ; then
49435 filename=pch_gen-${D}${D}
49436 file=${D}{filename}.c
49437 dfile=${D}{filename}.d
49438 cat > ${D}file <<EOT
49439 #include "${D}header"
49440 EOT
49441 # using -MF icc complains about differing command lines in creation/use
49442 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49443 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49444 rm -f ${D}file ${D}dfile ${D}{filename}.o
49445 fi
49446 exit ${D}{?}
49447 fi
49448 EOF
49449
49450 chmod +x bk-make-pch
49451 BK_MAKE_PCH="`pwd`/bk-make-pch"
49452 fi
49453 fi
49454 fi
49455
49456
49457
49458
49459
49460 COND_BUILD_DEBUG="#"
49461 if test "x$BUILD" = "xdebug" ; then
49462 COND_BUILD_DEBUG=""
49463 fi
49464
49465 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49466 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49467 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49468 fi
49469
49470 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49471 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49472 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49473 fi
49474
49475 COND_BUILD_DEBUG_UNICODE_0="#"
49476 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49477 COND_BUILD_DEBUG_UNICODE_0=""
49478 fi
49479
49480 COND_BUILD_DEBUG_UNICODE_1="#"
49481 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49482 COND_BUILD_DEBUG_UNICODE_1=""
49483 fi
49484
49485 COND_BUILD_RELEASE="#"
49486 if test "x$BUILD" = "xrelease" ; then
49487 COND_BUILD_RELEASE=""
49488 fi
49489
49490 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49491 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49492 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49493 fi
49494
49495 COND_BUILD_RELEASE_UNICODE_0="#"
49496 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49497 COND_BUILD_RELEASE_UNICODE_0=""
49498 fi
49499
49500 COND_BUILD_RELEASE_UNICODE_1="#"
49501 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49502 COND_BUILD_RELEASE_UNICODE_1=""
49503 fi
49504
49505 COND_DEBUG_FLAG_1="#"
49506 if test "x$DEBUG_FLAG" = "x1" ; then
49507 COND_DEBUG_FLAG_1=""
49508 fi
49509
49510 COND_DEBUG_INFO_0="#"
49511 if test "x$DEBUG_INFO" = "x0" ; then
49512 COND_DEBUG_INFO_0=""
49513 fi
49514
49515 COND_DEBUG_INFO_1="#"
49516 if test "x$DEBUG_INFO" = "x1" ; then
49517 COND_DEBUG_INFO_1=""
49518 fi
49519
49520 COND_DEPS_TRACKING_0="#"
49521 if test "x$DEPS_TRACKING" = "x0" ; then
49522 COND_DEPS_TRACKING_0=""
49523 fi
49524
49525 COND_DEPS_TRACKING_1="#"
49526 if test "x$DEPS_TRACKING" = "x1" ; then
49527 COND_DEPS_TRACKING_1=""
49528 fi
49529
49530 COND_GCC_PCH_1="#"
49531 if test "x$GCC_PCH" = "x1" ; then
49532 COND_GCC_PCH_1=""
49533 fi
49534
49535 COND_ICC_PCH_1="#"
49536 if test "x$ICC_PCH" = "x1" ; then
49537 COND_ICC_PCH_1=""
49538 fi
49539
49540 COND_MONOLITHIC_0="#"
49541 if test "x$MONOLITHIC" = "x0" ; then
49542 COND_MONOLITHIC_0=""
49543 fi
49544
49545 COND_MONOLITHIC_0_SHARED_0="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49547 COND_MONOLITHIC_0_SHARED_0=""
49548 fi
49549
49550 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49553 fi
49554
49555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49558 fi
49559
49560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49563 fi
49564
49565 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49568 fi
49569
49570 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49573 fi
49574
49575 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49577 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49578 fi
49579
49580 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49582 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49583 fi
49584
49585 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49587 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49588 fi
49589
49590 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49592 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49593 fi
49594
49595 COND_MONOLITHIC_0_SHARED_1="#"
49596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49597 COND_MONOLITHIC_0_SHARED_1=""
49598 fi
49599
49600 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49602 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49603 fi
49604
49605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49607 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49608 fi
49609
49610 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49612 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49613 fi
49614
49615 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49617 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49618 fi
49619
49620 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49622 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49623 fi
49624
49625 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49627 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49628 fi
49629
49630 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49632 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49633 fi
49634
49635 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49637 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49638 fi
49639
49640 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49642 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49643 fi
49644
49645 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49646 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49647 COND_MONOLITHIC_0_USE_MEDIA_1=""
49648 fi
49649
49650 COND_MONOLITHIC_0_USE_ODBC_1="#"
49651 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49652 COND_MONOLITHIC_0_USE_ODBC_1=""
49653 fi
49654
49655 COND_MONOLITHIC_1="#"
49656 if test "x$MONOLITHIC" = "x1" ; then
49657 COND_MONOLITHIC_1=""
49658 fi
49659
49660 COND_MONOLITHIC_1_SHARED_0="#"
49661 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49662 COND_MONOLITHIC_1_SHARED_0=""
49663 fi
49664
49665 COND_MONOLITHIC_1_SHARED_1="#"
49666 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49667 COND_MONOLITHIC_1_SHARED_1=""
49668 fi
49669
49670 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49671 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49672 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49673 fi
49674
49675 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49676 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49677 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49678 fi
49679
49680 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49681 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49682 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49683 fi
49684
49685 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49686 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49687 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49688 fi
49689
49690 COND_PLATFORM_MACOSX_1="#"
49691 if test "x$PLATFORM_MACOSX" = "x1" ; then
49692 COND_PLATFORM_MACOSX_1=""
49693 fi
49694
49695 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49696 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49697 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49698 fi
49699
49700 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49701 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49702 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49703 fi
49704
49705 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49707 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49708 fi
49709
49710 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49712 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49713 fi
49714
49715 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49717 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49718 fi
49719
49720 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49722 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49723 fi
49724
49725 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49727 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49728 fi
49729
49730 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49732 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49733 fi
49734
49735 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49737 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49738 fi
49739
49740 COND_PLATFORM_MACOS_1="#"
49741 if test "x$PLATFORM_MACOS" = "x1" ; then
49742 COND_PLATFORM_MACOS_1=""
49743 fi
49744
49745 COND_PLATFORM_MAC_1="#"
49746 if test "x$PLATFORM_MAC" = "x1" ; then
49747 COND_PLATFORM_MAC_1=""
49748 fi
49749
49750 COND_PLATFORM_MSDOS_0="#"
49751 if test "x$PLATFORM_MSDOS" = "x0" ; then
49752 COND_PLATFORM_MSDOS_0=""
49753 fi
49754
49755 COND_PLATFORM_MSDOS_1="#"
49756 if test "x$PLATFORM_MSDOS" = "x1" ; then
49757 COND_PLATFORM_MSDOS_1=""
49758 fi
49759
49760 COND_PLATFORM_OS2_1="#"
49761 if test "x$PLATFORM_OS2" = "x1" ; then
49762 COND_PLATFORM_OS2_1=""
49763 fi
49764
49765 COND_PLATFORM_UNIX_0="#"
49766 if test "x$PLATFORM_UNIX" = "x0" ; then
49767 COND_PLATFORM_UNIX_0=""
49768 fi
49769
49770 COND_PLATFORM_UNIX_1="#"
49771 if test "x$PLATFORM_UNIX" = "x1" ; then
49772 COND_PLATFORM_UNIX_1=""
49773 fi
49774
49775 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49776 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49777 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49778 fi
49779
49780 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49781 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49782 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49783 fi
49784
49785 COND_PLATFORM_WIN32_0="#"
49786 if test "x$PLATFORM_WIN32" = "x0" ; then
49787 COND_PLATFORM_WIN32_0=""
49788 fi
49789
49790 COND_PLATFORM_WIN32_1="#"
49791 if test "x$PLATFORM_WIN32" = "x1" ; then
49792 COND_PLATFORM_WIN32_1=""
49793 fi
49794
49795 COND_SHARED_0="#"
49796 if test "x$SHARED" = "x0" ; then
49797 COND_SHARED_0=""
49798 fi
49799
49800 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49801 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49802 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49803 fi
49804
49805 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49806 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49807 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49808 fi
49809
49810 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49811 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49812 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49813 fi
49814
49815 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49816 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49817 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49818 fi
49819
49820 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49821 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49822 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49823 fi
49824
49825 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49826 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49827 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49828 fi
49829
49830 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49831 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49832 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49833 fi
49834
49835 COND_SHARED_0_USE_XRC_1="#"
49836 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49837 COND_SHARED_0_USE_XRC_1=""
49838 fi
49839
49840 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49841 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49842 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49843 fi
49844
49845 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49846 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49847 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49848 fi
49849
49850 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49851 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49852 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49853 fi
49854
49855 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49856 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49857 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49858 fi
49859
49860 COND_SHARED_1="#"
49861 if test "x$SHARED" = "x1" ; then
49862 COND_SHARED_1=""
49863 fi
49864
49865 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49866 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49867 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49868 fi
49869
49870 COND_SHARED_1_USE_XRC_1="#"
49871 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49872 COND_SHARED_1_USE_XRC_1=""
49873 fi
49874
49875 COND_TOOLKIT_="#"
49876 if test "x$TOOLKIT" = "x" ; then
49877 COND_TOOLKIT_=""
49878 fi
49879
49880 COND_TOOLKIT_COCOA="#"
49881 if test "x$TOOLKIT" = "xCOCOA" ; then
49882 COND_TOOLKIT_COCOA=""
49883 fi
49884
49885 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49886 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49887 COND_TOOLKIT_COCOA_USE_GUI_1=""
49888 fi
49889
49890 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49891 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49892 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49893 fi
49894
49895 COND_TOOLKIT_DFB="#"
49896 if test "x$TOOLKIT" = "xDFB" ; then
49897 COND_TOOLKIT_DFB=""
49898 fi
49899
49900 COND_TOOLKIT_DFB_USE_GUI_1="#"
49901 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49902 COND_TOOLKIT_DFB_USE_GUI_1=""
49903 fi
49904
49905 COND_TOOLKIT_GTK="#"
49906 if test "x$TOOLKIT" = "xGTK" ; then
49907 COND_TOOLKIT_GTK=""
49908 fi
49909
49910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49911 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49913 fi
49914
49915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49916 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49918 fi
49919
49920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49921 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49923 fi
49924
49925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49928 fi
49929
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49933 fi
49934
49935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49937 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49938 fi
49939
49940 COND_TOOLKIT_GTK_USE_GUI_1="#"
49941 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49942 COND_TOOLKIT_GTK_USE_GUI_1=""
49943 fi
49944
49945 COND_TOOLKIT_MAC="#"
49946 if test "x$TOOLKIT" = "xMAC" ; then
49947 COND_TOOLKIT_MAC=""
49948 fi
49949
49950 COND_TOOLKIT_MAC_USE_GUI_1="#"
49951 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49952 COND_TOOLKIT_MAC_USE_GUI_1=""
49953 fi
49954
49955 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49956 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49957 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49958 fi
49959
49960 COND_TOOLKIT_MGL="#"
49961 if test "x$TOOLKIT" = "xMGL" ; then
49962 COND_TOOLKIT_MGL=""
49963 fi
49964
49965 COND_TOOLKIT_MGL_USE_GUI_1="#"
49966 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49967 COND_TOOLKIT_MGL_USE_GUI_1=""
49968 fi
49969
49970 COND_TOOLKIT_MOTIF="#"
49971 if test "x$TOOLKIT" = "xMOTIF" ; then
49972 COND_TOOLKIT_MOTIF=""
49973 fi
49974
49975 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49976 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49977 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49978 fi
49979
49980 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49981 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49982 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49983 fi
49984
49985 COND_TOOLKIT_MSW="#"
49986 if test "x$TOOLKIT" = "xMSW" ; then
49987 COND_TOOLKIT_MSW=""
49988 fi
49989
49990 COND_TOOLKIT_MSW_USE_GUI_1="#"
49991 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49992 COND_TOOLKIT_MSW_USE_GUI_1=""
49993 fi
49994
49995 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49996 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49997 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49998 fi
49999
50000 COND_TOOLKIT_MSW_WXUNIV_0="#"
50001 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50002 COND_TOOLKIT_MSW_WXUNIV_0=""
50003 fi
50004
50005 COND_TOOLKIT_PM="#"
50006 if test "x$TOOLKIT" = "xPM" ; then
50007 COND_TOOLKIT_PM=""
50008 fi
50009
50010 COND_TOOLKIT_PM_USE_GUI_1="#"
50011 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50012 COND_TOOLKIT_PM_USE_GUI_1=""
50013 fi
50014
50015 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50016 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50017 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50018 fi
50019
50020 COND_TOOLKIT_WINCE="#"
50021 if test "x$TOOLKIT" = "xWINCE" ; then
50022 COND_TOOLKIT_WINCE=""
50023 fi
50024
50025 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50026 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50027 COND_TOOLKIT_WINCE_USE_GUI_1=""
50028 fi
50029
50030 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50031 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50032 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50033 fi
50034
50035 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50036 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50037 COND_TOOLKIT_WINCE_WXUNIV_0=""
50038 fi
50039
50040 COND_TOOLKIT_X11="#"
50041 if test "x$TOOLKIT" = "xX11" ; then
50042 COND_TOOLKIT_X11=""
50043 fi
50044
50045 COND_TOOLKIT_X11_USE_GUI_1="#"
50046 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50047 COND_TOOLKIT_X11_USE_GUI_1=""
50048 fi
50049
50050 COND_UNICODE_1="#"
50051 if test "x$UNICODE" = "x1" ; then
50052 COND_UNICODE_1=""
50053 fi
50054
50055 COND_USE_EXCEPTIONS_0="#"
50056 if test "x$USE_EXCEPTIONS" = "x0" ; then
50057 COND_USE_EXCEPTIONS_0=""
50058 fi
50059
50060 COND_USE_EXCEPTIONS_1="#"
50061 if test "x$USE_EXCEPTIONS" = "x1" ; then
50062 COND_USE_EXCEPTIONS_1=""
50063 fi
50064
50065 COND_USE_GUI_0="#"
50066 if test "x$USE_GUI" = "x0" ; then
50067 COND_USE_GUI_0=""
50068 fi
50069
50070 COND_USE_GUI_1="#"
50071 if test "x$USE_GUI" = "x1" ; then
50072 COND_USE_GUI_1=""
50073 fi
50074
50075 COND_USE_GUI_1_WXUNIV_0="#"
50076 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_USE_GUI_1_WXUNIV_0=""
50078 fi
50079
50080 COND_USE_GUI_1_WXUNIV_1="#"
50081 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50082 COND_USE_GUI_1_WXUNIV_1=""
50083 fi
50084
50085 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50086 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50087 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50088 fi
50089
50090 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50091 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50092 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50093 fi
50094
50095 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50096 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50097 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50098 fi
50099
50100 COND_USE_ODBC_1="#"
50101 if test "x$USE_ODBC" = "x1" ; then
50102 COND_USE_ODBC_1=""
50103 fi
50104
50105 COND_USE_OPENGL_1="#"
50106 if test "x$USE_OPENGL" = "x1" ; then
50107 COND_USE_OPENGL_1=""
50108 fi
50109
50110 COND_USE_PCH_1="#"
50111 if test "x$USE_PCH" = "x1" ; then
50112 COND_USE_PCH_1=""
50113 fi
50114
50115 COND_USE_PLUGINS_0="#"
50116 if test "x$USE_PLUGINS" = "x0" ; then
50117 COND_USE_PLUGINS_0=""
50118 fi
50119
50120 COND_USE_RTTI_0="#"
50121 if test "x$USE_RTTI" = "x0" ; then
50122 COND_USE_RTTI_0=""
50123 fi
50124
50125 COND_USE_RTTI_1="#"
50126 if test "x$USE_RTTI" = "x1" ; then
50127 COND_USE_RTTI_1=""
50128 fi
50129
50130 COND_USE_SOSYMLINKS_1="#"
50131 if test "x$USE_SOSYMLINKS" = "x1" ; then
50132 COND_USE_SOSYMLINKS_1=""
50133 fi
50134
50135 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50136 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50137 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50138 fi
50139
50140 COND_USE_SOVERLINUX_1="#"
50141 if test "x$USE_SOVERLINUX" = "x1" ; then
50142 COND_USE_SOVERLINUX_1=""
50143 fi
50144
50145 COND_USE_SOVERSION_0="#"
50146 if test "x$USE_SOVERSION" = "x0" ; then
50147 COND_USE_SOVERSION_0=""
50148 fi
50149
50150 COND_USE_SOVERSOLARIS_1="#"
50151 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50152 COND_USE_SOVERSOLARIS_1=""
50153 fi
50154
50155 COND_USE_THREADS_0="#"
50156 if test "x$USE_THREADS" = "x0" ; then
50157 COND_USE_THREADS_0=""
50158 fi
50159
50160 COND_USE_THREADS_1="#"
50161 if test "x$USE_THREADS" = "x1" ; then
50162 COND_USE_THREADS_1=""
50163 fi
50164
50165 COND_USE_XRC_1="#"
50166 if test "x$USE_XRC" = "x1" ; then
50167 COND_USE_XRC_1=""
50168 fi
50169
50170 COND_WINDOWS_IMPLIB_1="#"
50171 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50172 COND_WINDOWS_IMPLIB_1=""
50173 fi
50174
50175 COND_WITH_PLUGIN_SDL_1="#"
50176 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50177 COND_WITH_PLUGIN_SDL_1=""
50178 fi
50179
50180 COND_WXUNIV_0="#"
50181 if test "x$WXUNIV" = "x0" ; then
50182 COND_WXUNIV_0=""
50183 fi
50184
50185 COND_WXUNIV_1="#"
50186 if test "x$WXUNIV" = "x1" ; then
50187 COND_WXUNIV_1=""
50188 fi
50189
50190 COND_WXUSE_EXPAT_BUILTIN="#"
50191 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50192 COND_WXUSE_EXPAT_BUILTIN=""
50193 fi
50194
50195 COND_WXUSE_LIBJPEG_BUILTIN="#"
50196 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50197 COND_WXUSE_LIBJPEG_BUILTIN=""
50198 fi
50199
50200 COND_WXUSE_LIBPNG_BUILTIN="#"
50201 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50202 COND_WXUSE_LIBPNG_BUILTIN=""
50203 fi
50204
50205 COND_WXUSE_LIBTIFF_BUILTIN="#"
50206 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50207 COND_WXUSE_LIBTIFF_BUILTIN=""
50208 fi
50209
50210 COND_WXUSE_ODBC_BUILTIN="#"
50211 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50212 COND_WXUSE_ODBC_BUILTIN=""
50213 fi
50214
50215 COND_WXUSE_REGEX_BUILTIN="#"
50216 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50217 COND_WXUSE_REGEX_BUILTIN=""
50218 fi
50219
50220 COND_WXUSE_ZLIB_BUILTIN="#"
50221 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50222 COND_WXUSE_ZLIB_BUILTIN=""
50223 fi
50224
50225
50226
50227 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50228 { { 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
50229 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;}
50230 { (exit 1); exit 1; }; }
50231 fi
50232
50233 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50234 { { 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
50235 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;}
50236 { (exit 1); exit 1; }; }
50237 fi
50238
50239
50240 if test $GCC_PCH = 1
50241 then
50242 if test "$wx_cv_gcc_pch_bug" = yes; then
50243 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50244 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50245 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50246 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50247 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50248 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50249 fi
50250
50251 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50252 fi
50253
50254
50255 if test "$wxUSE_MAC" = 1 ; then
50256 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50257 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50258 mv temp bk-deps
50259 chmod +x bk-deps
50260 fi
50261 fi
50262
50263 if test "$wxUSE_SHARED" = "yes"; then
50264
50265 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50266 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50267
50268 case "${host}" in
50269 *-pc-os2_emx | *-pc-os2-emx )
50270 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50271 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50272 cp -p ${srcdir}/src/os2/dllnames.sh .
50273 cp -p ${srcdir}/src/os2/dllar.sh .
50274 ;;
50275 esac
50276 else
50277
50278 EXE_LINKER="$CXX -o"
50279
50280 fi
50281 if test "$wxUSE_OMF" = "yes"; then
50282 case "${host}" in
50283 *-pc-os2_emx | *-pc-os2-emx )
50284 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50285 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50286 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50287 ;;
50288 esac
50289 fi
50290
50291 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50292
50293 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50294
50295
50296
50297
50298
50299
50300
50301
50302
50303
50304
50305
50306
50307
50308
50309
50310
50311
50312
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322
50323
50324
50325
50326
50327
50328
50329
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50356 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50357 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50358 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50359 echo $ECHO_N "(cached) $ECHO_C" >&6
50360 else
50361 cat >conftest.make <<\_ACEOF
50362 all:
50363 @echo 'ac_maketemp="$(MAKE)"'
50364 _ACEOF
50365 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50366 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50367 if test -n "$ac_maketemp"; then
50368 eval ac_cv_prog_make_${ac_make}_set=yes
50369 else
50370 eval ac_cv_prog_make_${ac_make}_set=no
50371 fi
50372 rm -f conftest.make
50373 fi
50374 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50375 echo "$as_me:$LINENO: result: yes" >&5
50376 echo "${ECHO_T}yes" >&6
50377 SET_MAKE=
50378 else
50379 echo "$as_me:$LINENO: result: no" >&5
50380 echo "${ECHO_T}no" >&6
50381 SET_MAKE="MAKE=${MAKE-make}"
50382 fi
50383
50384
50385
50386 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50387
50388
50389 if test "$USE_WIN32" = 1; then
50390 ac_config_commands="$ac_config_commands
50391 rcdefs.h
50392 "
50393
50394 fi
50395
50396 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50397
50398
50399 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50400
50401
50402 if test "$wx_cv_version_script" = "yes"; then
50403 ac_config_files="$ac_config_files version-script"
50404
50405 fi
50406 ac_config_files="$ac_config_files Makefile"
50407
50408
50409 ac_config_commands="$ac_config_commands wx-config"
50410
50411
50412
50413 if test "$wxWITH_SUBDIRS" != "no"; then
50414 if test "$wxUSE_GUI" = "yes"; then
50415 SUBDIRS="samples demos utils contrib"
50416 else SUBDIRS="samples utils"
50417 fi
50418
50419
50420
50421 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50422 if test "${with_cppunit_prefix+set}" = set; then
50423 withval="$with_cppunit_prefix"
50424 cppunit_config_prefix="$withval"
50425 else
50426 cppunit_config_prefix=""
50427 fi;
50428
50429 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50430 if test "${with_cppunit_exec_prefix+set}" = set; then
50431 withval="$with_cppunit_exec_prefix"
50432 cppunit_config_exec_prefix="$withval"
50433 else
50434 cppunit_config_exec_prefix=""
50435 fi;
50436
50437 if test x$cppunit_config_exec_prefix != x ; then
50438 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50439 if test x${CPPUNIT_CONFIG+set} != xset ; then
50440 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50441 fi
50442 fi
50443 if test x$cppunit_config_prefix != x ; then
50444 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50445 if test x${CPPUNIT_CONFIG+set} != xset ; then
50446 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50447 fi
50448 fi
50449
50450 # Extract the first word of "cppunit-config", so it can be a program name with args.
50451 set dummy cppunit-config; ac_word=$2
50452 echo "$as_me:$LINENO: checking for $ac_word" >&5
50453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50454 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50455 echo $ECHO_N "(cached) $ECHO_C" >&6
50456 else
50457 case $CPPUNIT_CONFIG in
50458 [\\/]* | ?:[\\/]*)
50459 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50460 ;;
50461 *)
50462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50463 for as_dir in $PATH
50464 do
50465 IFS=$as_save_IFS
50466 test -z "$as_dir" && as_dir=.
50467 for ac_exec_ext in '' $ac_executable_extensions; do
50468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50469 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50471 break 2
50472 fi
50473 done
50474 done
50475
50476 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50477 ;;
50478 esac
50479 fi
50480 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50481
50482 if test -n "$CPPUNIT_CONFIG"; then
50483 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50484 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50485 else
50486 echo "$as_me:$LINENO: result: no" >&5
50487 echo "${ECHO_T}no" >&6
50488 fi
50489
50490 cppunit_version_min=1.8.0
50491
50492 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50493 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50494 no_cppunit=""
50495 if test "$CPPUNIT_CONFIG" = "no" ; then
50496 echo "$as_me:$LINENO: result: no" >&5
50497 echo "${ECHO_T}no" >&6
50498 no_cppunit=yes
50499 else
50500 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50501 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50502 cppunit_version=`$CPPUNIT_CONFIG --version`
50503
50504 cppunit_major_version=`echo $cppunit_version | \
50505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50506 cppunit_minor_version=`echo $cppunit_version | \
50507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50508 cppunit_micro_version=`echo $cppunit_version | \
50509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50510
50511 cppunit_major_min=`echo $cppunit_version_min | \
50512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50513 cppunit_minor_min=`echo $cppunit_version_min | \
50514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50515 cppunit_micro_min=`echo $cppunit_version_min | \
50516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50517
50518 cppunit_version_proper=`expr \
50519 $cppunit_major_version \> $cppunit_major_min \| \
50520 $cppunit_major_version \= $cppunit_major_min \& \
50521 $cppunit_minor_version \> $cppunit_minor_min \| \
50522 $cppunit_major_version \= $cppunit_major_min \& \
50523 $cppunit_minor_version \= $cppunit_minor_min \& \
50524 $cppunit_micro_version \>= $cppunit_micro_min `
50525
50526 if test "$cppunit_version_proper" = "1" ; then
50527 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50528 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50529 else
50530 echo "$as_me:$LINENO: result: no" >&5
50531 echo "${ECHO_T}no" >&6
50532 no_cppunit=yes
50533 fi
50534 fi
50535
50536 if test "x$no_cppunit" = x ; then
50537 SUBDIRS="$SUBDIRS tests"
50538 else
50539 CPPUNIT_CFLAGS=""
50540 CPPUNIT_LIBS=""
50541 :
50542 fi
50543
50544
50545
50546
50547
50548 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50549 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50550 fi
50551
50552 for subdir in `echo $SUBDIRS`; do
50553 if test -d ${srcdir}/${subdir} ; then
50554 if test "$wxUSE_GUI" = "yes"; then
50555 if test ${subdir} = "samples"; then
50556 makefiles="samples/Makefile.in $makefiles"
50557 for sample in `echo $SAMPLES_SUBDIRS`; do
50558 if test -d $srcdir/samples/$sample; then
50559 makefiles="samples/$sample/Makefile.in $makefiles"
50560 fi
50561 done
50562 else
50563 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50564 eval "disabled=\$$disabled_var"
50565 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50566 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50567 fi
50568 else if test ${subdir} = "samples"; then
50569 makefiles="samples/Makefile.in samples/console/Makefile.in"
50570 elif test ${subdir} = "utils"; then
50571 makefiles=""
50572 for util in HelpGen tex2rtf ; do
50573 if test -d $srcdir/utils/$util ; then
50574 makefiles="utils/$util/Makefile.in \
50575 utils/$util/src/Makefile.in \
50576 $makefiles"
50577 fi
50578 done
50579 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50580 fi
50581 fi
50582
50583 for mkin in $makefiles ; do
50584 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50585 ac_config_files="$ac_config_files $mk"
50586
50587 done
50588 fi
50589 done
50590 fi
50591 cat >confcache <<\_ACEOF
50592 # This file is a shell script that caches the results of configure
50593 # tests run on this system so they can be shared between configure
50594 # scripts and configure runs, see configure's option --config-cache.
50595 # It is not useful on other systems. If it contains results you don't
50596 # want to keep, you may remove or edit it.
50597 #
50598 # config.status only pays attention to the cache file if you give it
50599 # the --recheck option to rerun configure.
50600 #
50601 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50602 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50603 # following values.
50604
50605 _ACEOF
50606
50607 # The following way of writing the cache mishandles newlines in values,
50608 # but we know of no workaround that is simple, portable, and efficient.
50609 # So, don't put newlines in cache variables' values.
50610 # Ultrix sh set writes to stderr and can't be redirected directly,
50611 # and sets the high bit in the cache file unless we assign to the vars.
50612 {
50613 (set) 2>&1 |
50614 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50615 *ac_space=\ *)
50616 # `set' does not quote correctly, so add quotes (double-quote
50617 # substitution turns \\\\ into \\, and sed turns \\ into \).
50618 sed -n \
50619 "s/'/'\\\\''/g;
50620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50621 ;;
50622 *)
50623 # `set' quotes correctly as required by POSIX, so do not add quotes.
50624 sed -n \
50625 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50626 ;;
50627 esac;
50628 } |
50629 sed '
50630 t clear
50631 : clear
50632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50633 t end
50634 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50635 : end' >>confcache
50636 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50637 if test -w $cache_file; then
50638 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50639 cat confcache >$cache_file
50640 else
50641 echo "not updating unwritable cache $cache_file"
50642 fi
50643 fi
50644 rm -f confcache
50645
50646 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50647 # Let make expand exec_prefix.
50648 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50649
50650 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50651 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50652 # trailing colons and then remove the whole line if VPATH becomes empty
50653 # (actually we leave an empty line to preserve line numbers).
50654 if test "x$srcdir" = x.; then
50655 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50656 s/:*\$(srcdir):*/:/;
50657 s/:*\${srcdir}:*/:/;
50658 s/:*@srcdir@:*/:/;
50659 s/^\([^=]*=[ ]*\):*/\1/;
50660 s/:*$//;
50661 s/^[^=]*=[ ]*$//;
50662 }'
50663 fi
50664
50665 DEFS=-DHAVE_CONFIG_H
50666
50667 ac_libobjs=
50668 ac_ltlibobjs=
50669 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50670 # 1. Remove the extension, and $U if already installed.
50671 ac_i=`echo "$ac_i" |
50672 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50673 # 2. Add them.
50674 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50675 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50676 done
50677 LIBOBJS=$ac_libobjs
50678
50679 LTLIBOBJS=$ac_ltlibobjs
50680
50681
50682
50683 : ${CONFIG_STATUS=./config.status}
50684 ac_clean_files_save=$ac_clean_files
50685 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50686 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50687 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50688 cat >$CONFIG_STATUS <<_ACEOF
50689 #! $SHELL
50690 # Generated by $as_me.
50691 # Run this file to recreate the current configuration.
50692 # Compiler output produced by configure, useful for debugging
50693 # configure, is in config.log if it exists.
50694
50695 debug=false
50696 ac_cs_recheck=false
50697 ac_cs_silent=false
50698 SHELL=\${CONFIG_SHELL-$SHELL}
50699 _ACEOF
50700
50701 cat >>$CONFIG_STATUS <<\_ACEOF
50702 ## --------------------- ##
50703 ## M4sh Initialization. ##
50704 ## --------------------- ##
50705
50706 # Be Bourne compatible
50707 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50708 emulate sh
50709 NULLCMD=:
50710 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50711 # is contrary to our usage. Disable this feature.
50712 alias -g '${1+"$@"}'='"$@"'
50713 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50714 set -o posix
50715 fi
50716 DUALCASE=1; export DUALCASE # for MKS sh
50717
50718 # Support unset when possible.
50719 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50720 as_unset=unset
50721 else
50722 as_unset=false
50723 fi
50724
50725
50726 # Work around bugs in pre-3.0 UWIN ksh.
50727 $as_unset ENV MAIL MAILPATH
50728 PS1='$ '
50729 PS2='> '
50730 PS4='+ '
50731
50732 # NLS nuisances.
50733 for as_var in \
50734 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50735 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50736 LC_TELEPHONE LC_TIME
50737 do
50738 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50739 eval $as_var=C; export $as_var
50740 else
50741 $as_unset $as_var
50742 fi
50743 done
50744
50745 # Required to use basename.
50746 if expr a : '\(a\)' >/dev/null 2>&1; then
50747 as_expr=expr
50748 else
50749 as_expr=false
50750 fi
50751
50752 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50753 as_basename=basename
50754 else
50755 as_basename=false
50756 fi
50757
50758
50759 # Name of the executable.
50760 as_me=`$as_basename "$0" ||
50761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50762 X"$0" : 'X\(//\)$' \| \
50763 X"$0" : 'X\(/\)$' \| \
50764 . : '\(.\)' 2>/dev/null ||
50765 echo X/"$0" |
50766 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50767 /^X\/\(\/\/\)$/{ s//\1/; q; }
50768 /^X\/\(\/\).*/{ s//\1/; q; }
50769 s/.*/./; q'`
50770
50771
50772 # PATH needs CR, and LINENO needs CR and PATH.
50773 # Avoid depending upon Character Ranges.
50774 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50775 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50776 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50777 as_cr_digits='0123456789'
50778 as_cr_alnum=$as_cr_Letters$as_cr_digits
50779
50780 # The user is always right.
50781 if test "${PATH_SEPARATOR+set}" != set; then
50782 echo "#! /bin/sh" >conf$$.sh
50783 echo "exit 0" >>conf$$.sh
50784 chmod +x conf$$.sh
50785 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50786 PATH_SEPARATOR=';'
50787 else
50788 PATH_SEPARATOR=:
50789 fi
50790 rm -f conf$$.sh
50791 fi
50792
50793
50794 as_lineno_1=$LINENO
50795 as_lineno_2=$LINENO
50796 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50797 test "x$as_lineno_1" != "x$as_lineno_2" &&
50798 test "x$as_lineno_3" = "x$as_lineno_2" || {
50799 # Find who we are. Look in the path if we contain no path at all
50800 # relative or not.
50801 case $0 in
50802 *[\\/]* ) as_myself=$0 ;;
50803 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50804 for as_dir in $PATH
50805 do
50806 IFS=$as_save_IFS
50807 test -z "$as_dir" && as_dir=.
50808 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50809 done
50810
50811 ;;
50812 esac
50813 # We did not find ourselves, most probably we were run as `sh COMMAND'
50814 # in which case we are not to be found in the path.
50815 if test "x$as_myself" = x; then
50816 as_myself=$0
50817 fi
50818 if test ! -f "$as_myself"; then
50819 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50820 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50821 { (exit 1); exit 1; }; }
50822 fi
50823 case $CONFIG_SHELL in
50824 '')
50825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50826 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50827 do
50828 IFS=$as_save_IFS
50829 test -z "$as_dir" && as_dir=.
50830 for as_base in sh bash ksh sh5; do
50831 case $as_dir in
50832 /*)
50833 if ("$as_dir/$as_base" -c '
50834 as_lineno_1=$LINENO
50835 as_lineno_2=$LINENO
50836 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50837 test "x$as_lineno_1" != "x$as_lineno_2" &&
50838 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50839 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50840 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50841 CONFIG_SHELL=$as_dir/$as_base
50842 export CONFIG_SHELL
50843 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50844 fi;;
50845 esac
50846 done
50847 done
50848 ;;
50849 esac
50850
50851 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50852 # uniformly replaced by the line number. The first 'sed' inserts a
50853 # line-number line before each line; the second 'sed' does the real
50854 # work. The second script uses 'N' to pair each line-number line
50855 # with the numbered line, and appends trailing '-' during
50856 # substitution so that $LINENO is not a special case at line end.
50857 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50858 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50859 sed '=' <$as_myself |
50860 sed '
50861 N
50862 s,$,-,
50863 : loop
50864 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50865 t loop
50866 s,-$,,
50867 s,^['$as_cr_digits']*\n,,
50868 ' >$as_me.lineno &&
50869 chmod +x $as_me.lineno ||
50870 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50871 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50872 { (exit 1); exit 1; }; }
50873
50874 # Don't try to exec as it changes $[0], causing all sort of problems
50875 # (the dirname of $[0] is not the place where we might find the
50876 # original and so on. Autoconf is especially sensible to this).
50877 . ./$as_me.lineno
50878 # Exit status is that of the last command.
50879 exit
50880 }
50881
50882
50883 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50884 *c*,-n*) ECHO_N= ECHO_C='
50885 ' ECHO_T=' ' ;;
50886 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50887 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50888 esac
50889
50890 if expr a : '\(a\)' >/dev/null 2>&1; then
50891 as_expr=expr
50892 else
50893 as_expr=false
50894 fi
50895
50896 rm -f conf$$ conf$$.exe conf$$.file
50897 echo >conf$$.file
50898 if ln -s conf$$.file conf$$ 2>/dev/null; then
50899 # We could just check for DJGPP; but this test a) works b) is more generic
50900 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50901 if test -f conf$$.exe; then
50902 # Don't use ln at all; we don't have any links
50903 as_ln_s='cp -p'
50904 else
50905 as_ln_s='ln -s'
50906 fi
50907 elif ln conf$$.file conf$$ 2>/dev/null; then
50908 as_ln_s=ln
50909 else
50910 as_ln_s='cp -p'
50911 fi
50912 rm -f conf$$ conf$$.exe conf$$.file
50913
50914 if mkdir -p . 2>/dev/null; then
50915 as_mkdir_p=:
50916 else
50917 test -d ./-p && rmdir ./-p
50918 as_mkdir_p=false
50919 fi
50920
50921 as_executable_p="test -f"
50922
50923 # Sed expression to map a string onto a valid CPP name.
50924 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50925
50926 # Sed expression to map a string onto a valid variable name.
50927 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50928
50929
50930 # IFS
50931 # We need space, tab and new line, in precisely that order.
50932 as_nl='
50933 '
50934 IFS=" $as_nl"
50935
50936 # CDPATH.
50937 $as_unset CDPATH
50938
50939 exec 6>&1
50940
50941 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50942 # report actual input values of CONFIG_FILES etc. instead of their
50943 # values after options handling. Logging --version etc. is OK.
50944 exec 5>>config.log
50945 {
50946 echo
50947 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50948 ## Running $as_me. ##
50949 _ASBOX
50950 } >&5
50951 cat >&5 <<_CSEOF
50952
50953 This file was extended by wxWidgets $as_me 2.8.0, which was
50954 generated by GNU Autoconf 2.59. Invocation command line was
50955
50956 CONFIG_FILES = $CONFIG_FILES
50957 CONFIG_HEADERS = $CONFIG_HEADERS
50958 CONFIG_LINKS = $CONFIG_LINKS
50959 CONFIG_COMMANDS = $CONFIG_COMMANDS
50960 $ $0 $@
50961
50962 _CSEOF
50963 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50964 echo >&5
50965 _ACEOF
50966
50967 # Files that config.status was made for.
50968 if test -n "$ac_config_files"; then
50969 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50970 fi
50971
50972 if test -n "$ac_config_headers"; then
50973 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50974 fi
50975
50976 if test -n "$ac_config_links"; then
50977 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50978 fi
50979
50980 if test -n "$ac_config_commands"; then
50981 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50982 fi
50983
50984 cat >>$CONFIG_STATUS <<\_ACEOF
50985
50986 ac_cs_usage="\
50987 \`$as_me' instantiates files from templates according to the
50988 current configuration.
50989
50990 Usage: $0 [OPTIONS] [FILE]...
50991
50992 -h, --help print this help, then exit
50993 -V, --version print version number, then exit
50994 -q, --quiet do not print progress messages
50995 -d, --debug don't remove temporary files
50996 --recheck update $as_me by reconfiguring in the same conditions
50997 --file=FILE[:TEMPLATE]
50998 instantiate the configuration file FILE
50999 --header=FILE[:TEMPLATE]
51000 instantiate the configuration header FILE
51001
51002 Configuration files:
51003 $config_files
51004
51005 Configuration headers:
51006 $config_headers
51007
51008 Configuration commands:
51009 $config_commands
51010
51011 Report bugs to <bug-autoconf@gnu.org>."
51012 _ACEOF
51013
51014 cat >>$CONFIG_STATUS <<_ACEOF
51015 ac_cs_version="\\
51016 wxWidgets config.status 2.8.0
51017 configured by $0, generated by GNU Autoconf 2.59,
51018 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51019
51020 Copyright (C) 2003 Free Software Foundation, Inc.
51021 This config.status script is free software; the Free Software Foundation
51022 gives unlimited permission to copy, distribute and modify it."
51023 srcdir=$srcdir
51024 INSTALL="$INSTALL"
51025 _ACEOF
51026
51027 cat >>$CONFIG_STATUS <<\_ACEOF
51028 # If no file are specified by the user, then we need to provide default
51029 # value. By we need to know if files were specified by the user.
51030 ac_need_defaults=:
51031 while test $# != 0
51032 do
51033 case $1 in
51034 --*=*)
51035 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51036 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51037 ac_shift=:
51038 ;;
51039 -*)
51040 ac_option=$1
51041 ac_optarg=$2
51042 ac_shift=shift
51043 ;;
51044 *) # This is not an option, so the user has probably given explicit
51045 # arguments.
51046 ac_option=$1
51047 ac_need_defaults=false;;
51048 esac
51049
51050 case $ac_option in
51051 # Handling of the options.
51052 _ACEOF
51053 cat >>$CONFIG_STATUS <<\_ACEOF
51054 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51055 ac_cs_recheck=: ;;
51056 --version | --vers* | -V )
51057 echo "$ac_cs_version"; exit 0 ;;
51058 --he | --h)
51059 # Conflict between --help and --header
51060 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51061 Try \`$0 --help' for more information." >&5
51062 echo "$as_me: error: ambiguous option: $1
51063 Try \`$0 --help' for more information." >&2;}
51064 { (exit 1); exit 1; }; };;
51065 --help | --hel | -h )
51066 echo "$ac_cs_usage"; exit 0 ;;
51067 --debug | --d* | -d )
51068 debug=: ;;
51069 --file | --fil | --fi | --f )
51070 $ac_shift
51071 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51072 ac_need_defaults=false;;
51073 --header | --heade | --head | --hea )
51074 $ac_shift
51075 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51076 ac_need_defaults=false;;
51077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51078 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51079 ac_cs_silent=: ;;
51080
51081 # This is an error.
51082 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51083 Try \`$0 --help' for more information." >&5
51084 echo "$as_me: error: unrecognized option: $1
51085 Try \`$0 --help' for more information." >&2;}
51086 { (exit 1); exit 1; }; } ;;
51087
51088 *) ac_config_targets="$ac_config_targets $1" ;;
51089
51090 esac
51091 shift
51092 done
51093
51094 ac_configure_extra_args=
51095
51096 if $ac_cs_silent; then
51097 exec 6>/dev/null
51098 ac_configure_extra_args="$ac_configure_extra_args --silent"
51099 fi
51100
51101 _ACEOF
51102 cat >>$CONFIG_STATUS <<_ACEOF
51103 if \$ac_cs_recheck; then
51104 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51105 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51106 fi
51107
51108 _ACEOF
51109
51110 cat >>$CONFIG_STATUS <<_ACEOF
51111 #
51112 # INIT-COMMANDS section.
51113 #
51114
51115
51116 CPP="$CPP"
51117 infile="$srcdir/include/wx/msw/genrcdefs.h"
51118 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51119
51120
51121 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51122 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51123 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51124 LN_S="${LN_S}"
51125
51126
51127 _ACEOF
51128
51129
51130
51131 cat >>$CONFIG_STATUS <<\_ACEOF
51132 for ac_config_target in $ac_config_targets
51133 do
51134 case "$ac_config_target" in
51135 # Handling of arguments.
51136 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51137 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51138 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51139 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51140 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51141 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51142 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51143 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51144 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51145 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51146 { (exit 1); exit 1; }; };;
51147 esac
51148 done
51149
51150 # If the user did not use the arguments to specify the items to instantiate,
51151 # then the envvar interface is used. Set only those that are not.
51152 # We use the long form for the default assignment because of an extremely
51153 # bizarre bug on SunOS 4.1.3.
51154 if $ac_need_defaults; then
51155 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51156 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51157 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51158 fi
51159
51160 # Have a temporary directory for convenience. Make it in the build tree
51161 # simply because there is no reason to put it here, and in addition,
51162 # creating and moving files from /tmp can sometimes cause problems.
51163 # Create a temporary directory, and hook for its removal unless debugging.
51164 $debug ||
51165 {
51166 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51167 trap '{ (exit 1); exit 1; }' 1 2 13 15
51168 }
51169
51170 # Create a (secure) tmp directory for tmp files.
51171
51172 {
51173 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51174 test -n "$tmp" && test -d "$tmp"
51175 } ||
51176 {
51177 tmp=./confstat$$-$RANDOM
51178 (umask 077 && mkdir $tmp)
51179 } ||
51180 {
51181 echo "$me: cannot create a temporary directory in ." >&2
51182 { (exit 1); exit 1; }
51183 }
51184
51185 _ACEOF
51186
51187 cat >>$CONFIG_STATUS <<_ACEOF
51188
51189 #
51190 # CONFIG_FILES section.
51191 #
51192
51193 # No need to generate the scripts if there are no CONFIG_FILES.
51194 # This happens for instance when ./config.status config.h
51195 if test -n "\$CONFIG_FILES"; then
51196 # Protect against being on the right side of a sed subst in config.status.
51197 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51198 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51199 s,@SHELL@,$SHELL,;t t
51200 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51201 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51202 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51203 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51204 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51205 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51206 s,@exec_prefix@,$exec_prefix,;t t
51207 s,@prefix@,$prefix,;t t
51208 s,@program_transform_name@,$program_transform_name,;t t
51209 s,@bindir@,$bindir,;t t
51210 s,@sbindir@,$sbindir,;t t
51211 s,@libexecdir@,$libexecdir,;t t
51212 s,@datadir@,$datadir,;t t
51213 s,@sysconfdir@,$sysconfdir,;t t
51214 s,@sharedstatedir@,$sharedstatedir,;t t
51215 s,@localstatedir@,$localstatedir,;t t
51216 s,@libdir@,$libdir,;t t
51217 s,@includedir@,$includedir,;t t
51218 s,@oldincludedir@,$oldincludedir,;t t
51219 s,@infodir@,$infodir,;t t
51220 s,@mandir@,$mandir,;t t
51221 s,@build_alias@,$build_alias,;t t
51222 s,@host_alias@,$host_alias,;t t
51223 s,@target_alias@,$target_alias,;t t
51224 s,@DEFS@,$DEFS,;t t
51225 s,@ECHO_C@,$ECHO_C,;t t
51226 s,@ECHO_N@,$ECHO_N,;t t
51227 s,@ECHO_T@,$ECHO_T,;t t
51228 s,@LIBS@,$LIBS,;t t
51229 s,@build@,$build,;t t
51230 s,@build_cpu@,$build_cpu,;t t
51231 s,@build_vendor@,$build_vendor,;t t
51232 s,@build_os@,$build_os,;t t
51233 s,@host@,$host,;t t
51234 s,@host_cpu@,$host_cpu,;t t
51235 s,@host_vendor@,$host_vendor,;t t
51236 s,@host_os@,$host_os,;t t
51237 s,@target@,$target,;t t
51238 s,@target_cpu@,$target_cpu,;t t
51239 s,@target_vendor@,$target_vendor,;t t
51240 s,@target_os@,$target_os,;t t
51241 s,@wx_top_builddir@,$wx_top_builddir,;t t
51242 s,@CC@,$CC,;t t
51243 s,@CFLAGS@,$CFLAGS,;t t
51244 s,@LDFLAGS@,$LDFLAGS,;t t
51245 s,@CPPFLAGS@,$CPPFLAGS,;t t
51246 s,@ac_ct_CC@,$ac_ct_CC,;t t
51247 s,@EXEEXT@,$EXEEXT,;t t
51248 s,@OBJEXT@,$OBJEXT,;t t
51249 s,@CPP@,$CPP,;t t
51250 s,@EGREP@,$EGREP,;t t
51251 s,@CXX@,$CXX,;t t
51252 s,@CXXFLAGS@,$CXXFLAGS,;t t
51253 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51254 s,@RANLIB@,$RANLIB,;t t
51255 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51256 s,@AR@,$AR,;t t
51257 s,@ac_ct_AR@,$ac_ct_AR,;t t
51258 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51259 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51260 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51261 s,@STRIP@,$STRIP,;t t
51262 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51263 s,@WINDRES@,$WINDRES,;t t
51264 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51265 s,@DLLTOOL@,$DLLTOOL,;t t
51266 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51267 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51268 s,@LN_S@,$LN_S,;t t
51269 s,@CXXCPP@,$CXXCPP,;t t
51270 s,@subdirs@,$subdirs,;t t
51271 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51272 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51273 s,@GTK_LIBS@,$GTK_LIBS,;t t
51274 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51275 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51276 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51277 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51278 s,@X_CFLAGS@,$X_CFLAGS,;t t
51279 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51280 s,@X_LIBS@,$X_LIBS,;t t
51281 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51282 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51283 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51284 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51285 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51286 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51287 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51288 s,@REZ@,$REZ,;t t
51289 s,@DEREZ@,$DEREZ,;t t
51290 s,@SETFILE@,$SETFILE,;t t
51291 s,@LIBICONV@,$LIBICONV,;t t
51292 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51293 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51294 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51295 s,@SDL_LIBS@,$SDL_LIBS,;t t
51296 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51297 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51298 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51299 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51300 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51301 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51302 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51303 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51304 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51305 s,@GST_LIBS@,$GST_LIBS,;t t
51306 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51307 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51308 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51309 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51310 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51311 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51312 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51313 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51314 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51315 s,@VENDOR@,$VENDOR,;t t
51316 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51317 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51318 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51319 s,@WXUNIV@,$WXUNIV,;t t
51320 s,@MONOLITHIC@,$MONOLITHIC,;t t
51321 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51322 s,@EXTRALIBS@,$EXTRALIBS,;t t
51323 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51324 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51325 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51326 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51327 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51328 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51329 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51330 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51331 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51332 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51333 s,@UNICODE@,$UNICODE,;t t
51334 s,@BUILD@,$BUILD,;t t
51335 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51336 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51337 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51338 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51339 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51340 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51341 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51342 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51343 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51344 s,@SET_MAKE@,$SET_MAKE,;t t
51345 s,@MAKE_SET@,$MAKE_SET,;t t
51346 s,@AROPTIONS@,$AROPTIONS,;t t
51347 s,@NM@,$NM,;t t
51348 s,@ac_ct_NM@,$ac_ct_NM,;t t
51349 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51350 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51351 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51352 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51353 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51354 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51355 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51356 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51357 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51358 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51359 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51360 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51361 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51362 s,@LIBPREFIX@,$LIBPREFIX,;t t
51363 s,@LIBEXT@,$LIBEXT,;t t
51364 s,@DLLPREFIX@,$DLLPREFIX,;t t
51365 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51366 s,@dlldir@,$dlldir,;t t
51367 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51368 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51369 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51370 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51371 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51372 s,@PIC_FLAG@,$PIC_FLAG,;t t
51373 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51374 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51375 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51376 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51377 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51378 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51379 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51380 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51381 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51382 s,@BK_DEPS@,$BK_DEPS,;t t
51383 s,@GCC_PCH@,$GCC_PCH,;t t
51384 s,@ICC_PCH@,$ICC_PCH,;t t
51385 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51386 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51387 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51388 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51389 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51390 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51391 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51392 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51393 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51394 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51395 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51396 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51397 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51398 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51399 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51400 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51401 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51402 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51403 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51404 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51405 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51406 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
51407 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
51408 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
51409 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
51410 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51411 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51412 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51413 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51414 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51415 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51416 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
51417 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
51418 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
51419 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
51420 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51421 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51422 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51423 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51424 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51425 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51426 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51427 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51428 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51429 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51430 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51431 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51432 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51433 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51434 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51435 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51436 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51437 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51438 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51439 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51440 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51441 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51442 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51443 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51444 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51445 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51446 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51447 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51448 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51449 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51450 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51451 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51452 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51453 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51454 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51455 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51456 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51457 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51458 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51459 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51460 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51461 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51462 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51463 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51464 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51465 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51466 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51467 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51468 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51469 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51470 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51471 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51472 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51473 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51474 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51475 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51476 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51477 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51478 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51479 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
51480 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51481 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51482 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51483 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51484 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51485 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51486 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51487 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51488 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51489 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51490 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51491 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51492 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51493 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51494 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51495 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51496 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51497 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51498 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51499 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51500 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51501 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51502 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51503 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51504 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51505 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51506 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51507 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51508 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51509 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51510 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51511 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51512 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51513 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51514 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51515 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51516 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51517 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51518 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51519 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51520 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51521 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51522 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51523 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51524 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51525 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51526 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51527 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51528 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51529 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51530 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51531 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51532 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51533 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51534 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51535 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51536 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51537 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51538 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51539 s,@SHARED@,$SHARED,;t t
51540 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51541 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51542 s,@USE_GUI@,$USE_GUI,;t t
51543 s,@AFMINSTALL@,$AFMINSTALL,;t t
51544 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51545 s,@TOOLKIT@,$TOOLKIT,;t t
51546 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51547 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51548 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51549 s,@cross_compiling@,$cross_compiling,;t t
51550 s,@WIDGET_SET@,$WIDGET_SET,;t t
51551 s,@WX_RELEASE@,$WX_RELEASE,;t t
51552 s,@WX_VERSION@,$WX_VERSION,;t t
51553 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51554 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51555 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51556 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51557 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51558 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51559 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51560 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51561 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51562 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51563 s,@EXE_LINKER@,$EXE_LINKER,;t t
51564 s,@GUIDIST@,$GUIDIST,;t t
51565 s,@DISTDIR@,$DISTDIR,;t t
51566 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51567 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51568 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51569 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51570 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51571 s,@RESCOMP@,$RESCOMP,;t t
51572 s,@RESFLAGS@,$RESFLAGS,;t t
51573 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51574 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51575 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51576 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51577 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51578 s,@MACSETFILE@,$MACSETFILE,;t t
51579 s,@GCC@,$GCC,;t t
51580 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51581 s,@LIBOBJS@,$LIBOBJS,;t t
51582 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51583 CEOF
51584
51585 _ACEOF
51586
51587 cat >>$CONFIG_STATUS <<\_ACEOF
51588 # Split the substitutions into bite-sized pieces for seds with
51589 # small command number limits, like on Digital OSF/1 and HP-UX.
51590 ac_max_sed_lines=48
51591 ac_sed_frag=1 # Number of current file.
51592 ac_beg=1 # First line for current file.
51593 ac_end=$ac_max_sed_lines # Line after last line for current file.
51594 ac_more_lines=:
51595 ac_sed_cmds=
51596 while $ac_more_lines; do
51597 if test $ac_beg -gt 1; then
51598 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51599 else
51600 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51601 fi
51602 if test ! -s $tmp/subs.frag; then
51603 ac_more_lines=false
51604 else
51605 # The purpose of the label and of the branching condition is to
51606 # speed up the sed processing (if there are no `@' at all, there
51607 # is no need to browse any of the substitutions).
51608 # These are the two extra sed commands mentioned above.
51609 (echo ':t
51610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51611 if test -z "$ac_sed_cmds"; then
51612 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51613 else
51614 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51615 fi
51616 ac_sed_frag=`expr $ac_sed_frag + 1`
51617 ac_beg=$ac_end
51618 ac_end=`expr $ac_end + $ac_max_sed_lines`
51619 fi
51620 done
51621 if test -z "$ac_sed_cmds"; then
51622 ac_sed_cmds=cat
51623 fi
51624 fi # test -n "$CONFIG_FILES"
51625
51626 _ACEOF
51627 cat >>$CONFIG_STATUS <<\_ACEOF
51628 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51630 case $ac_file in
51631 - | *:- | *:-:* ) # input from stdin
51632 cat >$tmp/stdin
51633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51637 * ) ac_file_in=$ac_file.in ;;
51638 esac
51639
51640 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51641 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51643 X"$ac_file" : 'X\(//\)[^/]' \| \
51644 X"$ac_file" : 'X\(//\)$' \| \
51645 X"$ac_file" : 'X\(/\)' \| \
51646 . : '\(.\)' 2>/dev/null ||
51647 echo X"$ac_file" |
51648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51650 /^X\(\/\/\)$/{ s//\1/; q; }
51651 /^X\(\/\).*/{ s//\1/; q; }
51652 s/.*/./; q'`
51653 { if $as_mkdir_p; then
51654 mkdir -p "$ac_dir"
51655 else
51656 as_dir="$ac_dir"
51657 as_dirs=
51658 while test ! -d "$as_dir"; do
51659 as_dirs="$as_dir $as_dirs"
51660 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51662 X"$as_dir" : 'X\(//\)[^/]' \| \
51663 X"$as_dir" : 'X\(//\)$' \| \
51664 X"$as_dir" : 'X\(/\)' \| \
51665 . : '\(.\)' 2>/dev/null ||
51666 echo X"$as_dir" |
51667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51669 /^X\(\/\/\)$/{ s//\1/; q; }
51670 /^X\(\/\).*/{ s//\1/; q; }
51671 s/.*/./; q'`
51672 done
51673 test ! -n "$as_dirs" || mkdir $as_dirs
51674 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51676 { (exit 1); exit 1; }; }; }
51677
51678 ac_builddir=.
51679
51680 if test "$ac_dir" != .; then
51681 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51682 # A "../" for each directory in $ac_dir_suffix.
51683 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51684 else
51685 ac_dir_suffix= ac_top_builddir=
51686 fi
51687
51688 case $srcdir in
51689 .) # No --srcdir option. We are building in place.
51690 ac_srcdir=.
51691 if test -z "$ac_top_builddir"; then
51692 ac_top_srcdir=.
51693 else
51694 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51695 fi ;;
51696 [\\/]* | ?:[\\/]* ) # Absolute path.
51697 ac_srcdir=$srcdir$ac_dir_suffix;
51698 ac_top_srcdir=$srcdir ;;
51699 *) # Relative path.
51700 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51701 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51702 esac
51703
51704 # Do not use `cd foo && pwd` to compute absolute paths, because
51705 # the directories may not exist.
51706 case `pwd` in
51707 .) ac_abs_builddir="$ac_dir";;
51708 *)
51709 case "$ac_dir" in
51710 .) ac_abs_builddir=`pwd`;;
51711 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51712 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51713 esac;;
51714 esac
51715 case $ac_abs_builddir in
51716 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51717 *)
51718 case ${ac_top_builddir}. in
51719 .) ac_abs_top_builddir=$ac_abs_builddir;;
51720 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51721 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51722 esac;;
51723 esac
51724 case $ac_abs_builddir in
51725 .) ac_abs_srcdir=$ac_srcdir;;
51726 *)
51727 case $ac_srcdir in
51728 .) ac_abs_srcdir=$ac_abs_builddir;;
51729 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51730 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51731 esac;;
51732 esac
51733 case $ac_abs_builddir in
51734 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51735 *)
51736 case $ac_top_srcdir in
51737 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51738 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51739 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51740 esac;;
51741 esac
51742
51743
51744 case $INSTALL in
51745 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51746 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51747 esac
51748
51749 # Let's still pretend it is `configure' which instantiates (i.e., don't
51750 # use $as_me), people would be surprised to read:
51751 # /* config.h. Generated by config.status. */
51752 if test x"$ac_file" = x-; then
51753 configure_input=
51754 else
51755 configure_input="$ac_file. "
51756 fi
51757 configure_input=$configure_input"Generated from `echo $ac_file_in |
51758 sed 's,.*/,,'` by configure."
51759
51760 # First look for the input files in the build tree, otherwise in the
51761 # src tree.
51762 ac_file_inputs=`IFS=:
51763 for f in $ac_file_in; do
51764 case $f in
51765 -) echo $tmp/stdin ;;
51766 [\\/$]*)
51767 # Absolute (can't be DOS-style, as IFS=:)
51768 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51769 echo "$as_me: error: cannot find input file: $f" >&2;}
51770 { (exit 1); exit 1; }; }
51771 echo "$f";;
51772 *) # Relative
51773 if test -f "$f"; then
51774 # Build tree
51775 echo "$f"
51776 elif test -f "$srcdir/$f"; then
51777 # Source tree
51778 echo "$srcdir/$f"
51779 else
51780 # /dev/null tree
51781 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51782 echo "$as_me: error: cannot find input file: $f" >&2;}
51783 { (exit 1); exit 1; }; }
51784 fi;;
51785 esac
51786 done` || { (exit 1); exit 1; }
51787
51788 if test x"$ac_file" != x-; then
51789 { echo "$as_me:$LINENO: creating $ac_file" >&5
51790 echo "$as_me: creating $ac_file" >&6;}
51791 rm -f "$ac_file"
51792 fi
51793 _ACEOF
51794 cat >>$CONFIG_STATUS <<_ACEOF
51795 sed "$ac_vpsub
51796 $extrasub
51797 _ACEOF
51798 cat >>$CONFIG_STATUS <<\_ACEOF
51799 :t
51800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51801 s,@configure_input@,$configure_input,;t t
51802 s,@srcdir@,$ac_srcdir,;t t
51803 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51804 s,@top_srcdir@,$ac_top_srcdir,;t t
51805 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51806 s,@builddir@,$ac_builddir,;t t
51807 s,@abs_builddir@,$ac_abs_builddir,;t t
51808 s,@top_builddir@,$ac_top_builddir,;t t
51809 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51810 s,@INSTALL@,$ac_INSTALL,;t t
51811 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51812 rm -f $tmp/stdin
51813 if test x"$ac_file" != x-; then
51814 mv $tmp/out $ac_file
51815 else
51816 cat $tmp/out
51817 rm -f $tmp/out
51818 fi
51819
51820 # Run the commands associated with the file.
51821 case $ac_file in
51822 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51823 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51824 esac
51825 done
51826 _ACEOF
51827 cat >>$CONFIG_STATUS <<\_ACEOF
51828
51829 #
51830 # CONFIG_HEADER section.
51831 #
51832
51833 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51834 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51835 #
51836 # ac_d sets the value in "#define NAME VALUE" lines.
51837 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51838 ac_dB='[ ].*$,\1#\2'
51839 ac_dC=' '
51840 ac_dD=',;t'
51841 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51842 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51843 ac_uB='$,\1#\2define\3'
51844 ac_uC=' '
51845 ac_uD=',;t'
51846
51847 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51848 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51849 case $ac_file in
51850 - | *:- | *:-:* ) # input from stdin
51851 cat >$tmp/stdin
51852 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51853 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51854 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51855 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51856 * ) ac_file_in=$ac_file.in ;;
51857 esac
51858
51859 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51860 echo "$as_me: creating $ac_file" >&6;}
51861
51862 # First look for the input files in the build tree, otherwise in the
51863 # src tree.
51864 ac_file_inputs=`IFS=:
51865 for f in $ac_file_in; do
51866 case $f in
51867 -) echo $tmp/stdin ;;
51868 [\\/$]*)
51869 # Absolute (can't be DOS-style, as IFS=:)
51870 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51871 echo "$as_me: error: cannot find input file: $f" >&2;}
51872 { (exit 1); exit 1; }; }
51873 # Do quote $f, to prevent DOS paths from being IFS'd.
51874 echo "$f";;
51875 *) # Relative
51876 if test -f "$f"; then
51877 # Build tree
51878 echo "$f"
51879 elif test -f "$srcdir/$f"; then
51880 # Source tree
51881 echo "$srcdir/$f"
51882 else
51883 # /dev/null tree
51884 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51885 echo "$as_me: error: cannot find input file: $f" >&2;}
51886 { (exit 1); exit 1; }; }
51887 fi;;
51888 esac
51889 done` || { (exit 1); exit 1; }
51890 # Remove the trailing spaces.
51891 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51892
51893 _ACEOF
51894
51895 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51896 # `conftest.undefs', that substitutes the proper values into
51897 # config.h.in to produce config.h. The first handles `#define'
51898 # templates, and the second `#undef' templates.
51899 # And first: Protect against being on the right side of a sed subst in
51900 # config.status. Protect against being in an unquoted here document
51901 # in config.status.
51902 rm -f conftest.defines conftest.undefs
51903 # Using a here document instead of a string reduces the quoting nightmare.
51904 # Putting comments in sed scripts is not portable.
51905 #
51906 # `end' is used to avoid that the second main sed command (meant for
51907 # 0-ary CPP macros) applies to n-ary macro definitions.
51908 # See the Autoconf documentation for `clear'.
51909 cat >confdef2sed.sed <<\_ACEOF
51910 s/[\\&,]/\\&/g
51911 s,[\\$`],\\&,g
51912 t clear
51913 : clear
51914 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51915 t end
51916 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51917 : end
51918 _ACEOF
51919 # If some macros were called several times there might be several times
51920 # the same #defines, which is useless. Nevertheless, we may not want to
51921 # sort them, since we want the *last* AC-DEFINE to be honored.
51922 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51923 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51924 rm -f confdef2sed.sed
51925
51926 # This sed command replaces #undef with comments. This is necessary, for
51927 # example, in the case of _POSIX_SOURCE, which is predefined and required
51928 # on some systems where configure will not decide to define it.
51929 cat >>conftest.undefs <<\_ACEOF
51930 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51931 _ACEOF
51932
51933 # Break up conftest.defines because some shells have a limit on the size
51934 # of here documents, and old seds have small limits too (100 cmds).
51935 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51936 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51937 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51938 echo ' :' >>$CONFIG_STATUS
51939 rm -f conftest.tail
51940 while grep . conftest.defines >/dev/null
51941 do
51942 # Write a limited-size here document to $tmp/defines.sed.
51943 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51944 # Speed up: don't consider the non `#define' lines.
51945 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51946 # Work around the forget-to-reset-the-flag bug.
51947 echo 't clr' >>$CONFIG_STATUS
51948 echo ': clr' >>$CONFIG_STATUS
51949 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51950 echo 'CEOF
51951 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51952 rm -f $tmp/in
51953 mv $tmp/out $tmp/in
51954 ' >>$CONFIG_STATUS
51955 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51956 rm -f conftest.defines
51957 mv conftest.tail conftest.defines
51958 done
51959 rm -f conftest.defines
51960 echo ' fi # grep' >>$CONFIG_STATUS
51961 echo >>$CONFIG_STATUS
51962
51963 # Break up conftest.undefs because some shells have a limit on the size
51964 # of here documents, and old seds have small limits too (100 cmds).
51965 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51966 rm -f conftest.tail
51967 while grep . conftest.undefs >/dev/null
51968 do
51969 # Write a limited-size here document to $tmp/undefs.sed.
51970 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51971 # Speed up: don't consider the non `#undef'
51972 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51973 # Work around the forget-to-reset-the-flag bug.
51974 echo 't clr' >>$CONFIG_STATUS
51975 echo ': clr' >>$CONFIG_STATUS
51976 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51977 echo 'CEOF
51978 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51979 rm -f $tmp/in
51980 mv $tmp/out $tmp/in
51981 ' >>$CONFIG_STATUS
51982 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51983 rm -f conftest.undefs
51984 mv conftest.tail conftest.undefs
51985 done
51986 rm -f conftest.undefs
51987
51988 cat >>$CONFIG_STATUS <<\_ACEOF
51989 # Let's still pretend it is `configure' which instantiates (i.e., don't
51990 # use $as_me), people would be surprised to read:
51991 # /* config.h. Generated by config.status. */
51992 if test x"$ac_file" = x-; then
51993 echo "/* Generated by configure. */" >$tmp/config.h
51994 else
51995 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51996 fi
51997 cat $tmp/in >>$tmp/config.h
51998 rm -f $tmp/in
51999 if test x"$ac_file" != x-; then
52000 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52001 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52002 echo "$as_me: $ac_file is unchanged" >&6;}
52003 else
52004 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52005 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52006 X"$ac_file" : 'X\(//\)[^/]' \| \
52007 X"$ac_file" : 'X\(//\)$' \| \
52008 X"$ac_file" : 'X\(/\)' \| \
52009 . : '\(.\)' 2>/dev/null ||
52010 echo X"$ac_file" |
52011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52013 /^X\(\/\/\)$/{ s//\1/; q; }
52014 /^X\(\/\).*/{ s//\1/; q; }
52015 s/.*/./; q'`
52016 { if $as_mkdir_p; then
52017 mkdir -p "$ac_dir"
52018 else
52019 as_dir="$ac_dir"
52020 as_dirs=
52021 while test ! -d "$as_dir"; do
52022 as_dirs="$as_dir $as_dirs"
52023 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52025 X"$as_dir" : 'X\(//\)[^/]' \| \
52026 X"$as_dir" : 'X\(//\)$' \| \
52027 X"$as_dir" : 'X\(/\)' \| \
52028 . : '\(.\)' 2>/dev/null ||
52029 echo X"$as_dir" |
52030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52032 /^X\(\/\/\)$/{ s//\1/; q; }
52033 /^X\(\/\).*/{ s//\1/; q; }
52034 s/.*/./; q'`
52035 done
52036 test ! -n "$as_dirs" || mkdir $as_dirs
52037 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52038 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52039 { (exit 1); exit 1; }; }; }
52040
52041 rm -f $ac_file
52042 mv $tmp/config.h $ac_file
52043 fi
52044 else
52045 cat $tmp/config.h
52046 rm -f $tmp/config.h
52047 fi
52048 done
52049 _ACEOF
52050 cat >>$CONFIG_STATUS <<\_ACEOF
52051
52052 #
52053 # CONFIG_COMMANDS section.
52054 #
52055 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52056 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52057 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52058 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52059 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52060 X"$ac_dest" : 'X\(//\)[^/]' \| \
52061 X"$ac_dest" : 'X\(//\)$' \| \
52062 X"$ac_dest" : 'X\(/\)' \| \
52063 . : '\(.\)' 2>/dev/null ||
52064 echo X"$ac_dest" |
52065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52067 /^X\(\/\/\)$/{ s//\1/; q; }
52068 /^X\(\/\).*/{ s//\1/; q; }
52069 s/.*/./; q'`
52070 { if $as_mkdir_p; then
52071 mkdir -p "$ac_dir"
52072 else
52073 as_dir="$ac_dir"
52074 as_dirs=
52075 while test ! -d "$as_dir"; do
52076 as_dirs="$as_dir $as_dirs"
52077 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52079 X"$as_dir" : 'X\(//\)[^/]' \| \
52080 X"$as_dir" : 'X\(//\)$' \| \
52081 X"$as_dir" : 'X\(/\)' \| \
52082 . : '\(.\)' 2>/dev/null ||
52083 echo X"$as_dir" |
52084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52086 /^X\(\/\/\)$/{ s//\1/; q; }
52087 /^X\(\/\).*/{ s//\1/; q; }
52088 s/.*/./; q'`
52089 done
52090 test ! -n "$as_dirs" || mkdir $as_dirs
52091 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52092 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52093 { (exit 1); exit 1; }; }; }
52094
52095 ac_builddir=.
52096
52097 if test "$ac_dir" != .; then
52098 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52099 # A "../" for each directory in $ac_dir_suffix.
52100 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52101 else
52102 ac_dir_suffix= ac_top_builddir=
52103 fi
52104
52105 case $srcdir in
52106 .) # No --srcdir option. We are building in place.
52107 ac_srcdir=.
52108 if test -z "$ac_top_builddir"; then
52109 ac_top_srcdir=.
52110 else
52111 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52112 fi ;;
52113 [\\/]* | ?:[\\/]* ) # Absolute path.
52114 ac_srcdir=$srcdir$ac_dir_suffix;
52115 ac_top_srcdir=$srcdir ;;
52116 *) # Relative path.
52117 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52118 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52119 esac
52120
52121 # Do not use `cd foo && pwd` to compute absolute paths, because
52122 # the directories may not exist.
52123 case `pwd` in
52124 .) ac_abs_builddir="$ac_dir";;
52125 *)
52126 case "$ac_dir" in
52127 .) ac_abs_builddir=`pwd`;;
52128 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52129 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52130 esac;;
52131 esac
52132 case $ac_abs_builddir in
52133 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52134 *)
52135 case ${ac_top_builddir}. in
52136 .) ac_abs_top_builddir=$ac_abs_builddir;;
52137 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52138 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52139 esac;;
52140 esac
52141 case $ac_abs_builddir in
52142 .) ac_abs_srcdir=$ac_srcdir;;
52143 *)
52144 case $ac_srcdir in
52145 .) ac_abs_srcdir=$ac_abs_builddir;;
52146 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52147 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52148 esac;;
52149 esac
52150 case $ac_abs_builddir in
52151 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52152 *)
52153 case $ac_top_srcdir in
52154 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52155 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52156 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52157 esac;;
52158 esac
52159
52160
52161 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52162 echo "$as_me: executing $ac_dest commands" >&6;}
52163 case $ac_dest in
52164 rcdefs.h )
52165 mkdir -p $outdir &&
52166 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52167 ;;
52168 wx-config ) rm -f wx-config
52169 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52170 ;;
52171 esac
52172 done
52173 _ACEOF
52174
52175 cat >>$CONFIG_STATUS <<\_ACEOF
52176
52177 { (exit 0); exit 0; }
52178 _ACEOF
52179 chmod +x $CONFIG_STATUS
52180 ac_clean_files=$ac_clean_files_save
52181
52182
52183 # configure is writing to config.log, and then calls config.status.
52184 # config.status does its own redirection, appending to config.log.
52185 # Unfortunately, on DOS this fails, as config.log is still kept open
52186 # by configure, so config.status won't be able to write to it; its
52187 # output is simply discarded. So we exec the FD to /dev/null,
52188 # effectively closing config.log, so it can be properly (re)opened and
52189 # appended to by config.status. When coming back to configure, we
52190 # need to make the FD available again.
52191 if test "$no_create" != yes; then
52192 ac_cs_success=:
52193 ac_config_status_args=
52194 test "$silent" = yes &&
52195 ac_config_status_args="$ac_config_status_args --quiet"
52196 exec 5>/dev/null
52197 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52198 exec 5>>config.log
52199 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52200 # would make configure fail if this is the last instruction.
52201 $ac_cs_success || { (exit 1); exit 1; }
52202 fi
52203
52204 #
52205 # CONFIG_SUBDIRS section.
52206 #
52207 if test "$no_recursion" != yes; then
52208
52209 # Remove --cache-file and --srcdir arguments so they do not pile up.
52210 ac_sub_configure_args=
52211 ac_prev=
52212 for ac_arg in $ac_configure_args; do
52213 if test -n "$ac_prev"; then
52214 ac_prev=
52215 continue
52216 fi
52217 case $ac_arg in
52218 -cache-file | --cache-file | --cache-fil | --cache-fi \
52219 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52220 ac_prev=cache_file ;;
52221 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52222 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52223 | --c=*)
52224 ;;
52225 --config-cache | -C)
52226 ;;
52227 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52228 ac_prev=srcdir ;;
52229 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52230 ;;
52231 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52232 ac_prev=prefix ;;
52233 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52234 ;;
52235 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52236 esac
52237 done
52238
52239 # Always prepend --prefix to ensure using the same prefix
52240 # in subdir configurations.
52241 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52242
52243 ac_popdir=`pwd`
52244 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52245
52246 # Do not complain, so a configure script can configure whichever
52247 # parts of a large source tree are present.
52248 test -d $srcdir/$ac_dir || continue
52249
52250 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52251 echo "$as_me: configuring in $ac_dir" >&6;}
52252 { if $as_mkdir_p; then
52253 mkdir -p "$ac_dir"
52254 else
52255 as_dir="$ac_dir"
52256 as_dirs=
52257 while test ! -d "$as_dir"; do
52258 as_dirs="$as_dir $as_dirs"
52259 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52260 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52261 X"$as_dir" : 'X\(//\)[^/]' \| \
52262 X"$as_dir" : 'X\(//\)$' \| \
52263 X"$as_dir" : 'X\(/\)' \| \
52264 . : '\(.\)' 2>/dev/null ||
52265 echo X"$as_dir" |
52266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52268 /^X\(\/\/\)$/{ s//\1/; q; }
52269 /^X\(\/\).*/{ s//\1/; q; }
52270 s/.*/./; q'`
52271 done
52272 test ! -n "$as_dirs" || mkdir $as_dirs
52273 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52274 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52275 { (exit 1); exit 1; }; }; }
52276
52277 ac_builddir=.
52278
52279 if test "$ac_dir" != .; then
52280 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52281 # A "../" for each directory in $ac_dir_suffix.
52282 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52283 else
52284 ac_dir_suffix= ac_top_builddir=
52285 fi
52286
52287 case $srcdir in
52288 .) # No --srcdir option. We are building in place.
52289 ac_srcdir=.
52290 if test -z "$ac_top_builddir"; then
52291 ac_top_srcdir=.
52292 else
52293 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52294 fi ;;
52295 [\\/]* | ?:[\\/]* ) # Absolute path.
52296 ac_srcdir=$srcdir$ac_dir_suffix;
52297 ac_top_srcdir=$srcdir ;;
52298 *) # Relative path.
52299 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52300 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52301 esac
52302
52303 # Do not use `cd foo && pwd` to compute absolute paths, because
52304 # the directories may not exist.
52305 case `pwd` in
52306 .) ac_abs_builddir="$ac_dir";;
52307 *)
52308 case "$ac_dir" in
52309 .) ac_abs_builddir=`pwd`;;
52310 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52311 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52312 esac;;
52313 esac
52314 case $ac_abs_builddir in
52315 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52316 *)
52317 case ${ac_top_builddir}. in
52318 .) ac_abs_top_builddir=$ac_abs_builddir;;
52319 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52320 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52321 esac;;
52322 esac
52323 case $ac_abs_builddir in
52324 .) ac_abs_srcdir=$ac_srcdir;;
52325 *)
52326 case $ac_srcdir in
52327 .) ac_abs_srcdir=$ac_abs_builddir;;
52328 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52329 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52330 esac;;
52331 esac
52332 case $ac_abs_builddir in
52333 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52334 *)
52335 case $ac_top_srcdir in
52336 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52337 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52338 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52339 esac;;
52340 esac
52341
52342
52343 cd $ac_dir
52344
52345 # Check for guested configure; otherwise get Cygnus style configure.
52346 if test -f $ac_srcdir/configure.gnu; then
52347 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52348 elif test -f $ac_srcdir/configure; then
52349 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52350 elif test -f $ac_srcdir/configure.in; then
52351 ac_sub_configure=$ac_configure
52352 else
52353 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52354 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52355 ac_sub_configure=
52356 fi
52357
52358 # The recursion is here.
52359 if test -n "$ac_sub_configure"; then
52360 # Make the cache file name correct relative to the subdirectory.
52361 case $cache_file in
52362 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52363 *) # Relative path.
52364 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52365 esac
52366
52367 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52368 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52369 # The eval makes quoting arguments work.
52370 eval $ac_sub_configure $ac_sub_configure_args \
52371 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52372 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52373 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52374 { (exit 1); exit 1; }; }
52375 fi
52376
52377 cd "$ac_popdir"
52378 done
52379 fi
52380
52381
52382 echo
52383 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52384 echo ""
52385 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52386 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52387
52388 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52389 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52390 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52391
52392 echo " What level of wxWidgets compatibility should be enabled?"
52393 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52394 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52395
52396 echo " Which libraries should wxWidgets use?"
52397 echo " jpeg ${wxUSE_LIBJPEG-none}"
52398 echo " png ${wxUSE_LIBPNG-none}"
52399 echo " regex ${wxUSE_REGEX}"
52400 echo " tiff ${wxUSE_LIBTIFF-none}"
52401 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52402 echo " xpm ${wxUSE_LIBXPM-none}"
52403 fi
52404 echo " zlib ${wxUSE_ZLIB}"
52405 echo " odbc ${wxUSE_ODBC}"
52406 echo " expat ${wxUSE_EXPAT}"
52407 echo " libmspack ${wxUSE_LIBMSPACK}"
52408 echo " sdl ${wxUSE_LIBSDL}"
52409
52410 echo ""
52411