]> git.saurik.com Git - wxWidgets.git/blob - configure
include widec.h if it's available, it contains declarations of [f]putws() under Solaris
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.7.1
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=7
1805 wx_release_number=2
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2196 DEFAULT_wxUSE_RPATH=yes
2197 DEFAULT_wxUSE_PERMISSIVE=no
2198 DEFAULT_wxUSE_DEBUG_FLAG=yes
2199 DEFAULT_wxUSE_DEBUG_INFO=yes
2200 DEFAULT_wxUSE_DEBUG_GDB=yes
2201 DEFAULT_wxUSE_MEM_TRACING=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2203 DEFAULT_wxUSE_DMALLOC=no
2204 DEFAULT_wxUSE_APPLE_IEEE=no
2205
2206 DEFAULT_wxUSE_EXCEPTIONS=no
2207 DEFAULT_wxUSE_LOG=yes
2208 DEFAULT_wxUSE_LOGWINDOW=no
2209 DEFAULT_wxUSE_LOGGUI=no
2210 DEFAULT_wxUSE_LOGDIALOG=no
2211
2212 DEFAULT_wxUSE_GUI=yes
2213 DEFAULT_wxUSE_CONTROLS=no
2214
2215 DEFAULT_wxUSE_REGEX=no
2216 DEFAULT_wxUSE_XML=no
2217 DEFAULT_wxUSE_EXPAT=no
2218 DEFAULT_wxUSE_ZLIB=no
2219 DEFAULT_wxUSE_LIBPNG=no
2220 DEFAULT_wxUSE_LIBJPEG=no
2221 DEFAULT_wxUSE_LIBTIFF=no
2222 DEFAULT_wxUSE_LIBXPM=no
2223 DEFAULT_wxUSE_LIBMSPACK=no
2224 DEFAULT_wxUSE_LIBSDL=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS=no
2227 DEFAULT_wxUSE_LIBHILDON=no
2228 DEFAULT_wxUSE_ODBC=no
2229 DEFAULT_wxUSE_OPENGL=no
2230
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2232 DEFAULT_wxUSE_STACKWALKER=no
2233 DEFAULT_wxUSE_DEBUGREPORT=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2235 DEFAULT_wxUSE_STD_IOSTREAM=no
2236 DEFAULT_wxUSE_STD_STRING=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER=no
2238 DEFAULT_wxUSE_DATETIME=no
2239 DEFAULT_wxUSE_TIMER=no
2240 DEFAULT_wxUSE_STOPWATCH=no
2241 DEFAULT_wxUSE_FILE=no
2242 DEFAULT_wxUSE_FFILE=no
2243 DEFAULT_wxUSE_STDPATHS=no
2244 DEFAULT_wxUSE_TEXTBUFFER=no
2245 DEFAULT_wxUSE_TEXTFILE=no
2246 DEFAULT_wxUSE_SOUND=no
2247 DEFAULT_wxUSE_MEDIACTRL=no
2248 DEFAULT_wxUSE_GSTREAMER8=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2250 DEFAULT_wxUSE_INTL=no
2251 DEFAULT_wxUSE_CONFIG=no
2252 DEFAULT_wxUSE_FONTMAP=no
2253 DEFAULT_wxUSE_STREAMS=no
2254 DEFAULT_wxUSE_SOCKETS=no
2255 DEFAULT_wxUSE_OLE=no
2256 DEFAULT_wxUSE_DATAOBJ=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER=no
2258 DEFAULT_wxUSE_JOYSTICK=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2261 DEFAULT_wxUSE_LONGLONG=no
2262 DEFAULT_wxUSE_GEOMETRY=no
2263
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2266 DEFAULT_wxUSE_POSTSCRIPT=no
2267
2268 DEFAULT_wxUSE_CLIPBOARD=no
2269 DEFAULT_wxUSE_TOOLTIPS=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP=no
2271 DEFAULT_wxUSE_DRAGIMAGE=no
2272 DEFAULT_wxUSE_SPLINES=no
2273 DEFAULT_wxUSE_MOUSEWHEEL=no
2274
2275 DEFAULT_wxUSE_MDI=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_WEBKIT=no
2320 DEFAULT_wxUSE_FILESYSTEM=no
2321 DEFAULT_wxUSE_FS_INET=no
2322 DEFAULT_wxUSE_FS_ZIP=no
2323 DEFAULT_wxUSE_FS_ARCHIVE=no
2324 DEFAULT_wxUSE_BUSYINFO=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2326 DEFAULT_wxUSE_ZIPSTREAM=no
2327 DEFAULT_wxUSE_TARSTREAM=no
2328 DEFAULT_wxUSE_VALIDATORS=no
2329
2330 DEFAULT_wxUSE_ACCEL=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL=no
2332 DEFAULT_wxUSE_BUTTON=no
2333 DEFAULT_wxUSE_BMPBUTTON=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2335 DEFAULT_wxUSE_CALCTRL=no
2336 DEFAULT_wxUSE_CARET=no
2337 DEFAULT_wxUSE_CHECKBOX=no
2338 DEFAULT_wxUSE_CHECKLST=no
2339 DEFAULT_wxUSE_CHOICE=no
2340 DEFAULT_wxUSE_CHOICEBOOK=no
2341 DEFAULT_wxUSE_COLLPANE=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2343 DEFAULT_wxUSE_COMBOBOX=no
2344 DEFAULT_wxUSE_COMBOCTRL=no
2345 DEFAULT_wxUSE_DATEPICKCTRL=no
2346 DEFAULT_wxUSE_DISPLAY=no
2347 DEFAULT_wxUSE_DETECT_SM=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL=no
2351 DEFAULT_wxUSE_GAUGE=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2353 DEFAULT_wxUSE_GRID=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL=no
2356 DEFAULT_wxUSE_IMAGLIST=no
2357 DEFAULT_wxUSE_LISTBOOK=no
2358 DEFAULT_wxUSE_LISTBOX=no
2359 DEFAULT_wxUSE_LISTCTRL=no
2360 DEFAULT_wxUSE_NOTEBOOK=no
2361 DEFAULT_wxUSE_ODCOMBOBOX=no
2362 DEFAULT_wxUSE_RADIOBOX=no
2363 DEFAULT_wxUSE_RADIOBTN=no
2364 DEFAULT_wxUSE_SASH=no
2365 DEFAULT_wxUSE_SCROLLBAR=no
2366 DEFAULT_wxUSE_SLIDER=no
2367 DEFAULT_wxUSE_SPINBTN=no
2368 DEFAULT_wxUSE_SPINCTRL=no
2369 DEFAULT_wxUSE_SPLITTER=no
2370 DEFAULT_wxUSE_STATBMP=no
2371 DEFAULT_wxUSE_STATBOX=no
2372 DEFAULT_wxUSE_STATLINE=no
2373 DEFAULT_wxUSE_STATTEXT=no
2374 DEFAULT_wxUSE_STATUSBAR=yes
2375 DEFAULT_wxUSE_TAB_DIALOG=no
2376 DEFAULT_wxUSE_TEXTCTRL=no
2377 DEFAULT_wxUSE_TOGGLEBTN=no
2378 DEFAULT_wxUSE_TOOLBAR=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2380 DEFAULT_wxUSE_TREEBOOK=no
2381 DEFAULT_wxUSE_TOOLBOOK=no
2382 DEFAULT_wxUSE_TREECTRL=no
2383 DEFAULT_wxUSE_POPUPWIN=no
2384 DEFAULT_wxUSE_TIPWINDOW=no
2385
2386 DEFAULT_wxUSE_UNICODE=no
2387 DEFAULT_wxUSE_UNICODE_MSLU=no
2388 DEFAULT_wxUSE_WCSRTOMBS=no
2389
2390 DEFAULT_wxUSE_PALETTE=no
2391 DEFAULT_wxUSE_IMAGE=no
2392 DEFAULT_wxUSE_GIF=no
2393 DEFAULT_wxUSE_PCX=no
2394 DEFAULT_wxUSE_TGA=no
2395 DEFAULT_wxUSE_PNM=no
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_XPM=no
2398 DEFAULT_wxUSE_ICO_CUR=no
2399 DEFAULT_wxUSE_ACCESSIBILITY=no
2400
2401 DEFAULT_wxUSE_MONOLITHIC=no
2402 DEFAULT_wxUSE_PLUGINS=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2404 else
2405 DEFAULT_wxUSE_UNIVERSAL=no
2406 DEFAULT_wxUSE_STL=no
2407
2408 DEFAULT_wxUSE_NANOX=no
2409
2410 DEFAULT_wxUSE_THREADS=yes
2411
2412 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE=yes
2414 DEFAULT_wxUSE_PROFILE=no
2415 DEFAULT_wxUSE_NO_DEPS=no
2416 DEFAULT_wxUSE_NO_RTTI=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2419 DEFAULT_wxUSE_RPATH=yes
2420 DEFAULT_wxUSE_PERMISSIVE=no
2421 DEFAULT_wxUSE_DEBUG_FLAG=no
2422 DEFAULT_wxUSE_DEBUG_INFO=no
2423 DEFAULT_wxUSE_DEBUG_GDB=no
2424 DEFAULT_wxUSE_MEM_TRACING=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2426 DEFAULT_wxUSE_DMALLOC=no
2427 DEFAULT_wxUSE_APPLE_IEEE=yes
2428
2429 DEFAULT_wxUSE_EXCEPTIONS=yes
2430 DEFAULT_wxUSE_LOG=yes
2431 DEFAULT_wxUSE_LOGWINDOW=yes
2432 DEFAULT_wxUSE_LOGGUI=yes
2433 DEFAULT_wxUSE_LOGDIALOG=yes
2434
2435 DEFAULT_wxUSE_GUI=yes
2436
2437 DEFAULT_wxUSE_REGEX=yes
2438 DEFAULT_wxUSE_XML=yes
2439 DEFAULT_wxUSE_EXPAT=yes
2440 DEFAULT_wxUSE_ZLIB=yes
2441 DEFAULT_wxUSE_LIBPNG=yes
2442 DEFAULT_wxUSE_LIBJPEG=yes
2443 DEFAULT_wxUSE_LIBTIFF=yes
2444 DEFAULT_wxUSE_LIBXPM=yes
2445 DEFAULT_wxUSE_LIBMSPACK=yes
2446 DEFAULT_wxUSE_LIBSDL=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS=no
2449 DEFAULT_wxUSE_LIBHILDON=no
2450 DEFAULT_wxUSE_ODBC=no
2451 DEFAULT_wxUSE_OPENGL=no
2452
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2454 DEFAULT_wxUSE_STACKWALKER=yes
2455 DEFAULT_wxUSE_DEBUGREPORT=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2460 DEFAULT_wxUSE_DATETIME=yes
2461 DEFAULT_wxUSE_TIMER=yes
2462 DEFAULT_wxUSE_STOPWATCH=yes
2463 DEFAULT_wxUSE_FILE=yes
2464 DEFAULT_wxUSE_FFILE=yes
2465 DEFAULT_wxUSE_STDPATHS=yes
2466 DEFAULT_wxUSE_TEXTBUFFER=yes
2467 DEFAULT_wxUSE_TEXTFILE=yes
2468 DEFAULT_wxUSE_SOUND=yes
2469 DEFAULT_wxUSE_MEDIACTRL=no
2470 DEFAULT_wxUSE_GSTREAMER8=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2472 DEFAULT_wxUSE_INTL=yes
2473 DEFAULT_wxUSE_CONFIG=yes
2474 DEFAULT_wxUSE_FONTMAP=yes
2475 DEFAULT_wxUSE_STREAMS=yes
2476 DEFAULT_wxUSE_SOCKETS=yes
2477 DEFAULT_wxUSE_OLE=yes
2478 DEFAULT_wxUSE_DATAOBJ=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2480 DEFAULT_wxUSE_JOYSTICK=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2483 DEFAULT_wxUSE_LONGLONG=yes
2484 DEFAULT_wxUSE_GEOMETRY=yes
2485
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2488 DEFAULT_wxUSE_POSTSCRIPT=yes
2489
2490 DEFAULT_wxUSE_CLIPBOARD=yes
2491 DEFAULT_wxUSE_TOOLTIPS=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2493 DEFAULT_wxUSE_DRAGIMAGE=yes
2494 DEFAULT_wxUSE_SPLINES=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL=yes
2496
2497 DEFAULT_wxUSE_MDI=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2501
2502 DEFAULT_wxUSE_RESOURCES=no
2503 DEFAULT_wxUSE_CONSTRAINTS=yes
2504 DEFAULT_wxUSE_IPC=yes
2505 DEFAULT_wxUSE_HELP=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP=yes
2507 DEFAULT_wxUSE_WXHTML_HELP=yes
2508 DEFAULT_wxUSE_TREELAYOUT=yes
2509 DEFAULT_wxUSE_METAFILE=yes
2510 DEFAULT_wxUSE_MIMETYPE=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2512 DEFAULT_wxUSE_PROTOCOL=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2516 DEFAULT_wxUSE_URL=yes
2517 DEFAULT_wxUSE_VARIANT=yes
2518
2519 DEFAULT_wxUSE_ABOUTDLG=yes
2520 DEFAULT_wxUSE_COMMONDLGS=yes
2521 DEFAULT_wxUSE_CHOICEDLG=yes
2522 DEFAULT_wxUSE_COLOURDLG=yes
2523 DEFAULT_wxUSE_DIRDLG=yes
2524 DEFAULT_wxUSE_FILEDLG=yes
2525 DEFAULT_wxUSE_FINDREPLDLG=yes
2526 DEFAULT_wxUSE_FONTDLG=yes
2527 DEFAULT_wxUSE_MSGDLG=yes
2528 DEFAULT_wxUSE_NUMBERDLG=yes
2529 DEFAULT_wxUSE_TEXTDLG=yes
2530 DEFAULT_wxUSE_SPLASH=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS=yes
2532 DEFAULT_wxUSE_PROGRESSDLG=yes
2533 DEFAULT_wxUSE_WIZARDDLG=yes
2534
2535 DEFAULT_wxUSE_MENUS=yes
2536 DEFAULT_wxUSE_MINIFRAME=yes
2537 DEFAULT_wxUSE_HTML=yes
2538 DEFAULT_wxUSE_RICHTEXT=yes
2539 DEFAULT_wxUSE_XRC=yes
2540 DEFAULT_wxUSE_AUI=yes
2541 DEFAULT_wxUSE_WEBKIT=yes
2542 DEFAULT_wxUSE_FILESYSTEM=yes
2543 DEFAULT_wxUSE_FS_INET=yes
2544 DEFAULT_wxUSE_FS_ZIP=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE=yes
2546 DEFAULT_wxUSE_BUSYINFO=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2548 DEFAULT_wxUSE_ZIPSTREAM=yes
2549 DEFAULT_wxUSE_TARSTREAM=yes
2550 DEFAULT_wxUSE_VALIDATORS=yes
2551
2552 DEFAULT_wxUSE_ACCEL=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2554 DEFAULT_wxUSE_BUTTON=yes
2555 DEFAULT_wxUSE_BMPBUTTON=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2557 DEFAULT_wxUSE_CALCTRL=yes
2558 DEFAULT_wxUSE_CARET=yes
2559 DEFAULT_wxUSE_CHECKBOX=yes
2560 DEFAULT_wxUSE_CHECKLST=yes
2561 DEFAULT_wxUSE_CHOICE=yes
2562 DEFAULT_wxUSE_CHOICEBOOK=yes
2563 DEFAULT_wxUSE_COLLPANE=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2565 DEFAULT_wxUSE_COMBOBOX=yes
2566 DEFAULT_wxUSE_COMBOCTRL=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL=yes
2568 DEFAULT_wxUSE_DISPLAY=yes
2569 DEFAULT_wxUSE_DETECT_SM=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2573 DEFAULT_wxUSE_GAUGE=yes
2574 DEFAULT_wxUSE_GRID=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL=no
2578 DEFAULT_wxUSE_IMAGLIST=yes
2579 DEFAULT_wxUSE_LISTBOOK=yes
2580 DEFAULT_wxUSE_LISTBOX=yes
2581 DEFAULT_wxUSE_LISTCTRL=yes
2582 DEFAULT_wxUSE_NOTEBOOK=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX=yes
2584 DEFAULT_wxUSE_RADIOBOX=yes
2585 DEFAULT_wxUSE_RADIOBTN=yes
2586 DEFAULT_wxUSE_SASH=yes
2587 DEFAULT_wxUSE_SCROLLBAR=yes
2588 DEFAULT_wxUSE_SLIDER=yes
2589 DEFAULT_wxUSE_SPINBTN=yes
2590 DEFAULT_wxUSE_SPINCTRL=yes
2591 DEFAULT_wxUSE_SPLITTER=yes
2592 DEFAULT_wxUSE_STATBMP=yes
2593 DEFAULT_wxUSE_STATBOX=yes
2594 DEFAULT_wxUSE_STATLINE=yes
2595 DEFAULT_wxUSE_STATTEXT=yes
2596 DEFAULT_wxUSE_STATUSBAR=yes
2597 DEFAULT_wxUSE_TAB_DIALOG=no
2598 DEFAULT_wxUSE_TEXTCTRL=yes
2599 DEFAULT_wxUSE_TOGGLEBTN=yes
2600 DEFAULT_wxUSE_TOOLBAR=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2602 DEFAULT_wxUSE_TREEBOOK=yes
2603 DEFAULT_wxUSE_TOOLBOOK=yes
2604 DEFAULT_wxUSE_TREECTRL=yes
2605 DEFAULT_wxUSE_POPUPWIN=yes
2606 DEFAULT_wxUSE_TIPWINDOW=yes
2607
2608 DEFAULT_wxUSE_UNICODE=no
2609 DEFAULT_wxUSE_UNICODE_MSLU=yes
2610 DEFAULT_wxUSE_WCSRTOMBS=no
2611
2612 DEFAULT_wxUSE_PALETTE=yes
2613 DEFAULT_wxUSE_IMAGE=yes
2614 DEFAULT_wxUSE_GIF=yes
2615 DEFAULT_wxUSE_PCX=yes
2616 DEFAULT_wxUSE_TGA=yes
2617 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2618 DEFAULT_wxUSE_XPM=yes
2619 DEFAULT_wxUSE_ICO_CUR=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY=no
2621
2622 DEFAULT_wxUSE_MONOLITHIC=no
2623 DEFAULT_wxUSE_PLUGINS=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2625
2626 DEFAULT_wxUSE_GTK2=yes
2627 fi
2628
2629
2630
2631
2632 for toolkit in `echo $ALL_TOOLKITS`; do
2633 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2638
2639 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2642 fi
2643 fi
2644 done
2645
2646
2647
2648 enablestring=
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2651 no_cache=0
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval="$enable_gui"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui='wxUSE_GUI=yes'
2658 else
2659 ac_cv_use_gui='wxUSE_GUI=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672
2673 fi;
2674
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 else
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 fi
2687
2688
2689 enablestring=
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2692 no_cache=0
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval="$enable_monolithic"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2699 else
2700 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713
2714 fi;
2715
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2719 fi
2720
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2724 else
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2727 fi
2728
2729
2730 enablestring=
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2733 no_cache=0
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval="$enable_plugins"
2737
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2740 else
2741 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2742 fi
2743
2744 else
2745
2746 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2749 else
2750 no_cache=1
2751 fi
2752
2753 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754
2755 fi;
2756
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 else
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2768 fi
2769
2770
2771 withstring=without
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2774 no_cache=0
2775
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval="$with_subdirs"
2779
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2782 else
2783 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796
2797 fi;
2798
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 else
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 fi
2811
2812
2813 if test "$wxUSE_GUI" = "yes"; then
2814
2815
2816 enablestring=
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2819 no_cache=0
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval="$enable_universal"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2826 else
2827 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840
2841 fi;
2842
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 else
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 fi
2855
2856
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2859 withval="$with_gtk"
2860 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval="$with_motif"
2866 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2871 withval="$with_mac"
2872 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval="$with_cocoa"
2878 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval="$with_wine"
2884 wxUSE_WINE="$withval" CACHE_WINE=1
2885 fi;
2886
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2889 withval="$with_msw"
2890 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2895 withval="$with_pm"
2896 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2901 withval="$with_mgl"
2902 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval="$with_directfb"
2908 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval="$with_microwin"
2914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2919 withval="$with_x11"
2920 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 enablestring=
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2926 no_cache=0
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval="$enable_nanox"
2930
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox='wxUSE_NANOX=yes'
2933 else
2934 ac_cv_use_nanox='wxUSE_NANOX=no'
2935 fi
2936
2937 else
2938
2939 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x ; then
2941 eval "DEFAULT_$LINE"
2942 else
2943 no_cache=1
2944 fi
2945
2946 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947
2948 fi;
2949
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2953 fi
2954
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2958 else
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2961 fi
2962
2963
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval="$enable_gtk2"
2967 wxUSE_GTK2="$enableval"
2968 fi;
2969
2970 enablestring=
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2973 no_cache=0
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval="$enable_gpe"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe='wxUSE_GPE=yes'
2980 else
2981 ac_cv_use_gpe='wxUSE_GPE=no'
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994
2995 fi;
2996
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 else
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 fi
3009
3010
3011
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3014 no_cache=0
3015
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval="$with_libpng"
3019
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no; then
3023 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys; then
3025 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044
3045 fi;
3046
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3064 else
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval="$with_libjpeg"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103
3104 fi;
3105
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval="$with_libtiff"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162
3163 fi;
3164
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval="$with_libxpm"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221
3222 fi;
3223
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 withstring=
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3251 no_cache=0
3252
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval="$with_libmspack"
3256
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3259 else
3260 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273
3274 fi;
3275
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 withstring=
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3293 no_cache=0
3294
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3297 withval="$with_sdl"
3298
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3301 else
3302 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315
3316 fi;
3317
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 else
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 fi
3330
3331
3332 withstring=
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3335 no_cache=0
3336
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval="$with_gnomeprint"
3340
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3343 else
3344 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3345 fi
3346
3347 else
3348
3349 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357
3358 fi;
3359
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 fi
3372
3373
3374 withstring=
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3377 no_cache=0
3378
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval="$with_gnomevfs"
3382
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3385 else
3386 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399
3400 fi;
3401
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3413 fi
3414
3415
3416 withstring=
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3419 no_cache=0
3420
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval="$with_hildon"
3424
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3427 else
3428 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441
3442 fi;
3443
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 withstring=
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3461 no_cache=0
3462
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval="$with_opengl"
3466
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3469 else
3470 ac_cv_use_opengl='wxUSE_OPENGL=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483
3484 fi;
3485
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3501
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval="$with_themes"
3505 wxUNIV_THEMES="$withval"
3506 fi;
3507 fi
3508
3509 fi
3510
3511
3512 withstring=
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3515 no_cache=0
3516
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval="$with_dmalloc"
3520
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3523 else
3524 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537
3538 fi;
3539
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval="$with_regex"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex='wxUSE_REGEX=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_regex='wxUSE_REGEX=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_regex='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex='wxUSE_REGEX=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586
3587 fi;
3588
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3615 no_cache=0
3616
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval="$with_zlib"
3620
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no; then
3624 ac_cv_use_zlib='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys; then
3626 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3629 else
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645
3646 fi;
3647
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3674 no_cache=0
3675
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval="$with_odbc"
3679
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc='wxUSE_ODBC=yes'
3682 elif test "$withval" = no; then
3683 ac_cv_use_odbc='wxUSE_ODBC=no'
3684 elif test "$withval" = sys; then
3685 ac_cv_use_odbc='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704
3705 fi;
3706
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3733 no_cache=0
3734
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval="$with_expat"
3738
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_expat='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_expat='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763
3764 fi;
3765
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval="$enable_shared"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared='wxUSE_SHARED=yes'
3802 else
3803 ac_cv_use_shared='wxUSE_SHARED=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816
3817 fi;
3818
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval="$enable_optimise"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3843 else
3844 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857
3858 fi;
3859
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval="$enable_debug"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug='wxUSE_DEBUG=yes'
3884 else
3885 ac_cv_use_debug='wxUSE_DEBUG=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898
3899 fi;
3900
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval="$enable_stl"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl='wxUSE_STL=yes'
3925 else
3926 ac_cv_use_stl='wxUSE_STL=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3939
3940 fi;
3941
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF=no
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval="$enable_omf"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf='wxUSE_OMF=yes'
3968 else
3969 ac_cv_use_omf='wxUSE_OMF=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982
3983 fi;
3984
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998 fi
3999
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG=yes
4002 DEFAULT_wxUSE_DEBUG_INFO=yes
4003 BUILD=debug
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG=no
4006 DEFAULT_wxUSE_DEBUG_INFO=no
4007 BUILD=release
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval="$enable_debug_flag"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4021 else
4022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035
4036 fi;
4037
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval="$enable_debug_info"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4062 else
4063 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076
4077 fi;
4078
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval="$enable_debug_gdb"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4103 else
4104 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117
4118 fi;
4119
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval="$enable_debug_cntxt"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4144 else
4145 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158
4159 fi;
4160
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval="$enable_mem_tracing"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4185 else
4186 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199
4200 fi;
4201
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval="$enable_profile"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile='wxUSE_PROFILE=yes'
4226 else
4227 ac_cv_use_profile='wxUSE_PROFILE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval="$enable_no_rtti"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4267 else
4268 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281
4282 fi;
4283
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval="$enable_no_exceptions"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4308 else
4309 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322
4323 fi;
4324
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval="$enable_permissive"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4349 else
4350 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363
4364 fi;
4365
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval="$enable_no_deps"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4390 else
4391 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404
4405 fi;
4406
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval="$enable_universal_binary"
4428
4429 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430
4431 else
4432
4433 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4437 else
4438 no_cache=1
4439 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4440 fi
4441
4442 fi;
4443
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4451
4452
4453
4454 enablestring=enable
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval="$enable_compat24"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4464 else
4465 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478
4479 fi;
4480
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval="$enable_compat26"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4505 else
4506 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519
4520 fi;
4521
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval="$enable_rpath"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath='wxUSE_RPATH=yes'
4547 else
4548 ac_cv_use_rpath='wxUSE_RPATH=no'
4549 fi
4550
4551 else
4552
4553 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561
4562 fi;
4563
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval="$enable_intl"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl='wxUSE_INTL=yes'
4591 else
4592 ac_cv_use_intl='wxUSE_INTL=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605
4606 fi;
4607
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622 enablestring=
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4625 no_cache=0
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval="$enable_config"
4629
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config='wxUSE_CONFIG=yes'
4632 else
4633 ac_cv_use_config='wxUSE_CONFIG=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646
4647 fi;
4648
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4652 fi
4653
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4657 else
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4660 fi
4661
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval="$enable_protocols"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4674 else
4675 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688
4689 fi;
4690
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval="$enable_ftp"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4715 else
4716 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729
4730 fi;
4731
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval="$enable_http"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4756 else
4757 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770
4771 fi;
4772
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval="$enable_fileproto"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4797 else
4798 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval="$enable_sockets"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4838 else
4839 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852
4853 fi;
4854
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval="$enable_ole"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole='wxUSE_OLE=yes'
4879 else
4880 ac_cv_use_ole='wxUSE_OLE=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893
4894 fi;
4895
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval="$enable_dataobj"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4920 else
4921 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934
4935 fi;
4936
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951
4952 enablestring=
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4955 no_cache=0
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval="$enable_ipc"
4959
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc='wxUSE_IPC=yes'
4962 else
4963 ac_cv_use_ipc='wxUSE_IPC=no'
4964 fi
4965
4966 else
4967
4968 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x ; then
4970 eval "DEFAULT_$LINE"
4971 else
4972 no_cache=1
4973 fi
4974
4975 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976
4977 fi;
4978
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4987 else
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4990 fi
4991
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval="$enable_apple_ieee"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5004 else
5005 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval="$enable_arcstream"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5045 else
5046 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059
5060 fi;
5061
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval="$enable_backtrace"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5086 else
5087 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100
5101 fi;
5102
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval="$enable_catch_segvs"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5127 else
5128 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141
5142 fi;
5143
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval="$enable_cmdline"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5168 else
5169 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182
5183 fi;
5184
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval="$enable_datetime"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5209 else
5210 ac_cv_use_datetime='wxUSE_DATETIME=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223
5224 fi;
5225
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval="$enable_debugreport"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5250 else
5251 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264
5265 fi;
5266
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval="$enable_dialupman"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5291 else
5292 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305
5306 fi;
5307
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval="$enable_dynlib"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5332 else
5333 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346
5347 fi;
5348
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval="$enable_dynamicloader"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5373 else
5374 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387
5388 fi;
5389
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval="$enable_exceptions"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5414 else
5415 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428
5429 fi;
5430
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval="$enable_ffile"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile='wxUSE_FFILE=yes'
5455 else
5456 ac_cv_use_ffile='wxUSE_FFILE=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469
5470 fi;
5471
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval="$enable_file"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file='wxUSE_FILE=yes'
5496 else
5497 ac_cv_use_file='wxUSE_FILE=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510
5511 fi;
5512
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval="$enable_filesystem"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5537 else
5538 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551
5552 fi;
5553
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval="$enable_fontmap"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5578 else
5579 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592
5593 fi;
5594
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval="$enable_fs_archive"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5619 else
5620 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633
5634 fi;
5635
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval="$enable_fs_inet"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5660 else
5661 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674
5675 fi;
5676
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval="$enable_fs_zip"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5701 else
5702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715
5716 fi;
5717
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval="$enable_geometry"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5742 else
5743 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756
5757 fi;
5758
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval="$enable_log"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log='wxUSE_LOG=yes'
5783 else
5784 ac_cv_use_log='wxUSE_LOG=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797
5798 fi;
5799
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval="$enable_longlong"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5824 else
5825 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838
5839 fi;
5840
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval="$enable_mimetype"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5865 else
5866 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879
5880 fi;
5881
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval="$enable_mslu"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5906 else
5907 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920
5921 fi;
5922
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937 enablestring=
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5940 no_cache=0
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval="$enable_snglinst"
5944
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5947 else
5948 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961
5962 fi;
5963
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5972 else
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5975 fi
5976
5977
5978 enablestring=
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5981 no_cache=0
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval="$enable_std_iostreams"
5985
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5988 else
5989 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002
6003 fi;
6004
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6013 else
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6016 fi
6017
6018
6019 enablestring=
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6022 no_cache=0
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval="$enable_std_string"
6026
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 else
6030 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043
6044 fi;
6045
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6054 else
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6057 fi
6058
6059
6060 enablestring=
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6063 no_cache=0
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval="$enable_stdpaths"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6070 else
6071 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084
6085 fi;
6086
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6095 else
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6098 fi
6099
6100
6101 enablestring=
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6104 no_cache=0
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval="$enable_stopwatch"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6111 else
6112 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125
6126 fi;
6127
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6136 else
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6139 fi
6140
6141
6142 enablestring=
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6145 no_cache=0
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval="$enable_streams"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams='wxUSE_STREAMS=yes'
6152 else
6153 ac_cv_use_streams='wxUSE_STREAMS=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166
6167 fi;
6168
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6177 else
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6180 fi
6181
6182
6183 enablestring=
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6186 no_cache=0
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval="$enable_system_options"
6190
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6193 else
6194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207
6208 fi;
6209
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6218 else
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6221 fi
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval="$enable_tarstream"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6234 else
6235 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248
6249 fi;
6250
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265 enablestring=
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6268 no_cache=0
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval="$enable_textbuf"
6272
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6275 else
6276 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289
6290 fi;
6291
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6300 else
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6303 fi
6304
6305
6306 enablestring=
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval="$enable_textfile"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6316 else
6317 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330
6331 fi;
6332
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346
6347 enablestring=
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6350 no_cache=0
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval="$enable_timer"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer='wxUSE_TIMER=yes'
6357 else
6358 ac_cv_use_timer='wxUSE_TIMER=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371
6372 fi;
6373
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6382 else
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6385 fi
6386
6387
6388 enablestring=
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6391 no_cache=0
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval="$enable_unicode"
6395
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6398 else
6399 ac_cv_use_unicode='wxUSE_UNICODE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412
6413 fi;
6414
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6423 else
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6426 fi
6427
6428
6429 enablestring=
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6432 no_cache=0
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval="$enable_sound"
6436
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound='wxUSE_SOUND=yes'
6439 else
6440 ac_cv_use_sound='wxUSE_SOUND=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453
6454 fi;
6455
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 else
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6467 fi
6468
6469
6470 enablestring=
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6473 no_cache=0
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval="$enable_mediactrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6480 else
6481 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494
6495 fi;
6496
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6505 else
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6508 fi
6509
6510
6511 enablestring=
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6514 no_cache=0
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval="$enable_gstreamer8"
6518
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6521 else
6522 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535
6536 fi;
6537
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6546 else
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6549 fi
6550
6551
6552 enablestring=
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6555 no_cache=0
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval="$enable_printfposparam"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6562 else
6563 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576
6577 fi;
6578
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6587 else
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6590 fi
6591
6592
6593 enablestring=
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6596 no_cache=0
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval="$enable_zipstream"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6603 else
6604 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617
6618 fi;
6619
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6628 else
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6631 fi
6632
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval="$enable_url"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url='wxUSE_URL=yes'
6645 else
6646 ac_cv_use_url='wxUSE_URL=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6659
6660 fi;
6661
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval="$enable_variant"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant='wxUSE_VARIANT=yes'
6686 else
6687 ac_cv_use_variant='wxUSE_VARIANT=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700
6701 fi;
6702
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval="$enable_protocol"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6727 else
6728 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741
6742 fi;
6743
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval="$enable_protocol_http"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6768 else
6769 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782
6783 fi;
6784
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval="$enable_protocol_ftp"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6809 else
6810 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823
6824 fi;
6825
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval="$enable_protocol_file"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6850 else
6851 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864
6865 fi;
6866
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval="$enable_threads"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads='wxUSE_THREADS=yes'
6894 else
6895 ac_cv_use_threads='wxUSE_THREADS=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908
6909 fi;
6910
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 if test "$wxUSE_GUI" = "yes"; then
6926
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval="$enable_docview"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6939 else
6940 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953
6954 fi;
6955
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval="$enable_help"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help='wxUSE_HELP=yes'
6980 else
6981 ac_cv_use_help='wxUSE_HELP=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994
6995 fi;
6996
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval="$enable_mshtmlhelp"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7021 else
7022 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035
7036 fi;
7037
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval="$enable_html"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html='wxUSE_HTML=yes'
7062 else
7063 ac_cv_use_html='wxUSE_HTML=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076
7077 fi;
7078
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval="$enable_htmlhelp"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7103 else
7104 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117
7118 fi;
7119
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval="$enable_xrc"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc='wxUSE_XRC=yes'
7144 else
7145 ac_cv_use_xrc='wxUSE_XRC=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158
7159 fi;
7160
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval="$enable_aui"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui='wxUSE_AUI=yes'
7185 else
7186 ac_cv_use_aui='wxUSE_AUI=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199
7200 fi;
7201
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval="$enable_constraints"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7226 else
7227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval="$enable_printarch"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7267 else
7268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281
7282 fi;
7283
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval="$enable_mdi"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi='wxUSE_MDI=yes'
7308 else
7309 ac_cv_use_mdi='wxUSE_MDI=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322
7323 fi;
7324
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval="$enable_mdidoc"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7349 else
7350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363
7364 fi;
7365
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval="$enable_loggui"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7390 else
7391 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404
7405 fi;
7406
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval="$enable_logwin"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7431 else
7432 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445
7446 fi;
7447
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval="$enable_logdialog"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7472 else
7473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486
7487 fi;
7488
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval="$enable_webkit"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7513 else
7514 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527
7528 fi;
7529
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval="$enable_richtext"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7554 else
7555 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568
7569 fi;
7570
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval="$enable_graphics_ctx"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7595 else
7596 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609
7610 fi;
7611
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval="$enable_postscript"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7637 else
7638 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651
7652 fi;
7653
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval="$enable_prologio"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7681 else
7682 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695
7696 fi;
7697
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval="$enable_resources"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7722 else
7723 ac_cv_use_resources='wxUSE_RESOURCES=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736
7737 fi;
7738
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval="$enable_clipboard"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7765 else
7766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779
7780 fi;
7781
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval="$enable_dnd"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7806 else
7807 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820
7821 fi;
7822
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval="$enable_metafile"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7847 else
7848 ac_cv_use_metafile='wxUSE_METAFILE=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861
7862 fi;
7863
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval="$enable_controls"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7891 else
7892 ac_cv_use_controls='wxUSE_CONTROLS=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905
7906 fi;
7907
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7925 DEFAULT_wxUSE_BMPBUTTON=yes
7926 DEFAULT_wxUSE_BUTTON=yes
7927 DEFAULT_wxUSE_CALCTRL=yes
7928 DEFAULT_wxUSE_CARET=yes
7929 DEFAULT_wxUSE_COMBOBOX=yes
7930 DEFAULT_wxUSE_CHECKBOX=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX=yes
7932 DEFAULT_wxUSE_CHOICE=yes
7933 DEFAULT_wxUSE_CHOICEBOOK=yes
7934 DEFAULT_wxUSE_COLLPANE=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7936 DEFAULT_wxUSE_COMBOBOX=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL=yes
7938 DEFAULT_wxUSE_DISPLAY=yes
7939 DEFAULT_wxUSE_DETECT_SM=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7943 DEFAULT_wxUSE_GAUGE=yes
7944 DEFAULT_wxUSE_GRID=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL=no
7947 DEFAULT_wxUSE_IMAGLIST=yes
7948 DEFAULT_wxUSE_LISTBOOK=yes
7949 DEFAULT_wxUSE_LISTBOX=yes
7950 DEFAULT_wxUSE_LISTCTRL=yes
7951 DEFAULT_wxUSE_NOTEBOOK=yes
7952 DEFAULT_wxUSE_RADIOBOX=yes
7953 DEFAULT_wxUSE_RADIOBTN=yes
7954 DEFAULT_wxUSE_SASH=yes
7955 DEFAULT_wxUSE_SCROLLBAR=yes
7956 DEFAULT_wxUSE_SLIDER=yes
7957 DEFAULT_wxUSE_SPINBTN=yes
7958 DEFAULT_wxUSE_SPINCTRL=yes
7959 DEFAULT_wxUSE_SPLITTER=yes
7960 DEFAULT_wxUSE_STATBMP=yes
7961 DEFAULT_wxUSE_STATBOX=yes
7962 DEFAULT_wxUSE_STATLINE=yes
7963 DEFAULT_wxUSE_STATUSBAR=yes
7964 DEFAULT_wxUSE_TAB_DIALOG=yes
7965 DEFAULT_wxUSE_TOGGLEBTN=yes
7966 DEFAULT_wxUSE_TOOLBAR=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7968 DEFAULT_wxUSE_TOOLTIPS=yes
7969 DEFAULT_wxUSE_TREEBOOK=yes
7970 DEFAULT_wxUSE_TOOLBOOK=yes
7971 DEFAULT_wxUSE_TREECTRL=yes
7972 DEFAULT_wxUSE_POPUPWIN=yes
7973 DEFAULT_wxUSE_TIPWINDOW=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL=no
7977 DEFAULT_wxUSE_BMPBUTTON=no
7978 DEFAULT_wxUSE_BUTTON=no
7979 DEFAULT_wxUSE_CALCTRL=no
7980 DEFAULT_wxUSE_CARET=no
7981 DEFAULT_wxUSE_COLLPANE=no
7982 DEFAULT_wxUSE_COMBOBOX=no
7983 DEFAULT_wxUSE_CHECKBOX=no
7984 DEFAULT_wxUSE_CHECKLISTBOX=no
7985 DEFAULT_wxUSE_CHOICE=no
7986 DEFAULT_wxUSE_CHOICEBOOK=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7988 DEFAULT_wxUSE_COMBOBOX=no
7989 DEFAULT_wxUSE_DATEPICKCTRL=no
7990 DEFAULT_wxUSE_DISPLAY=no
7991 DEFAULT_wxUSE_DETECT_SM=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL=no
7995 DEFAULT_wxUSE_GAUGE=no
7996 DEFAULT_wxUSE_GRID=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL=no
7999 DEFAULT_wxUSE_IMAGLIST=no
8000 DEFAULT_wxUSE_LISTBOOK=no
8001 DEFAULT_wxUSE_LISTBOX=no
8002 DEFAULT_wxUSE_LISTCTRL=no
8003 DEFAULT_wxUSE_NOTEBOOK=no
8004 DEFAULT_wxUSE_RADIOBOX=no
8005 DEFAULT_wxUSE_RADIOBTN=no
8006 DEFAULT_wxUSE_SASH=no
8007 DEFAULT_wxUSE_SCROLLBAR=no
8008 DEFAULT_wxUSE_SLIDER=no
8009 DEFAULT_wxUSE_SPINBTN=no
8010 DEFAULT_wxUSE_SPINCTRL=no
8011 DEFAULT_wxUSE_SPLITTER=no
8012 DEFAULT_wxUSE_STATBMP=no
8013 DEFAULT_wxUSE_STATBOX=no
8014 DEFAULT_wxUSE_STATLINE=no
8015 DEFAULT_wxUSE_STATUSBAR=no
8016 DEFAULT_wxUSE_TAB_DIALOG=no
8017 DEFAULT_wxUSE_TOGGLEBTN=no
8018 DEFAULT_wxUSE_TOOLBAR=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8020 DEFAULT_wxUSE_TOOLTIPS=no
8021 DEFAULT_wxUSE_TREEBOOK=no
8022 DEFAULT_wxUSE_TOOLBOOK=no
8023 DEFAULT_wxUSE_TREECTRL=no
8024 DEFAULT_wxUSE_POPUPWIN=no
8025 DEFAULT_wxUSE_TIPWINDOW=no
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval="$enable_accel"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel='wxUSE_ACCEL=yes'
8039 else
8040 ac_cv_use_accel='wxUSE_ACCEL=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053
8054 fi;
8055
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval="$enable_animatectrl"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8080 else
8081 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094
8095 fi;
8096
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval="$enable_button"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button='wxUSE_BUTTON=yes'
8121 else
8122 ac_cv_use_button='wxUSE_BUTTON=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135
8136 fi;
8137
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval="$enable_bmpbutton"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8162 else
8163 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176
8177 fi;
8178
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval="$enable_bmpcombobox"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8203 else
8204 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217
8218 fi;
8219
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval="$enable_calendar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8244 else
8245 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258
8259 fi;
8260
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval="$enable_caret"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret='wxUSE_CARET=yes'
8285 else
8286 ac_cv_use_caret='wxUSE_CARET=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299
8300 fi;
8301
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval="$enable_checkbox"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8326 else
8327 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340
8341 fi;
8342
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval="$enable_checklst"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8367 else
8368 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381
8382 fi;
8383
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval="$enable_choice"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice='wxUSE_CHOICE=yes'
8408 else
8409 ac_cv_use_choice='wxUSE_CHOICE=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422
8423 fi;
8424
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval="$enable_choicebook"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8449 else
8450 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463
8464 fi;
8465
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval="$enable_collpane"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8490 else
8491 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504
8505 fi;
8506
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval="$enable_colourpicker"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8531 else
8532 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545
8546 fi;
8547
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval="$enable_combobox"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8572 else
8573 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586
8587 fi;
8588
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval="$enable_comboctrl"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8613 else
8614 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627
8628 fi;
8629
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval="$enable_datepick"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8654 else
8655 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668
8669 fi;
8670
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval="$enable_dirpicker"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8695 else
8696 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709
8710 fi;
8711
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval="$enable_display"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display='wxUSE_DISPLAY=yes'
8736 else
8737 ac_cv_use_display='wxUSE_DISPLAY=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750
8751 fi;
8752
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval="$enable_detect_sm"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8777 else
8778 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791
8792 fi;
8793
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval="$enable_filepicker"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8818 else
8819 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832
8833 fi;
8834
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval="$enable_fontpicker"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8859 else
8860 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873
8874 fi;
8875
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval="$enable_gauge"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8900 else
8901 ac_cv_use_gauge='wxUSE_GAUGE=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914
8915 fi;
8916
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval="$enable_grid"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid='wxUSE_GRID=yes'
8941 else
8942 ac_cv_use_grid='wxUSE_GRID=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955
8956 fi;
8957
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval="$enable_dataviewctrl"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8982 else
8983 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996
8997 fi;
8998
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval="$enable_hyperlink"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9023 else
9024 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037
9038 fi;
9039
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054 enablestring=
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9057 no_cache=0
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval="$enable_imaglist"
9061
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9064 else
9065 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9066 fi
9067
9068 else
9069
9070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 else
9074 no_cache=1
9075 fi
9076
9077 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078
9079 fi;
9080
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9084 fi
9085
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9089 else
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9092 fi
9093
9094
9095 enablestring=
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9098 no_cache=0
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval="$enable_listbook"
9102
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9105 else
9106 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9107 fi
9108
9109 else
9110
9111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9114 else
9115 no_cache=1
9116 fi
9117
9118 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119
9120 fi;
9121
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9130 else
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9133 fi
9134
9135
9136 enablestring=
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9139 no_cache=0
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval="$enable_listbox"
9143
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9146 else
9147 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9148 fi
9149
9150 else
9151
9152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 else
9156 no_cache=1
9157 fi
9158
9159 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160
9161 fi;
9162
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9171 else
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9174 fi
9175
9176
9177 enablestring=
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9180 no_cache=0
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval="$enable_listctrl"
9184
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9187 else
9188 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9189 fi
9190
9191 else
9192
9193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x ; then
9195 eval "DEFAULT_$LINE"
9196 else
9197 no_cache=1
9198 fi
9199
9200 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201
9202 fi;
9203
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9207 fi
9208
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9212 else
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9215 fi
9216
9217
9218 enablestring=
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval="$enable_notebook"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9228 else
9229 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242
9243 fi;
9244
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9253 else
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9256 fi
9257
9258
9259 enablestring=
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9262 no_cache=0
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval="$enable_odcombobox"
9266
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9269 else
9270 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9271 fi
9272
9273 else
9274
9275 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x ; then
9277 eval "DEFAULT_$LINE"
9278 else
9279 no_cache=1
9280 fi
9281
9282 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283
9284 fi;
9285
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9294 else
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 fi
9298
9299
9300 enablestring=
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9303 no_cache=0
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval="$enable_radiobox"
9307
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9310 else
9311 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324
9325 fi;
9326
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9335 else
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9338 fi
9339
9340
9341 enablestring=
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9344 no_cache=0
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval="$enable_radiobtn"
9348
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9351 else
9352 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9353 fi
9354
9355 else
9356
9357 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x ; then
9359 eval "DEFAULT_$LINE"
9360 else
9361 no_cache=1
9362 fi
9363
9364 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365
9366 fi;
9367
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9371 fi
9372
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9376 else
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9379 fi
9380
9381
9382 enablestring=
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9385 no_cache=0
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval="$enable_sash"
9389
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash='wxUSE_SASH=yes'
9392 else
9393 ac_cv_use_sash='wxUSE_SASH=no'
9394 fi
9395
9396 else
9397
9398 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 else
9402 no_cache=1
9403 fi
9404
9405 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406
9407 fi;
9408
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9412 fi
9413
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9417 else
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9420 fi
9421
9422
9423 enablestring=
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9426 no_cache=0
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval="$enable_scrollbar"
9430
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9433 else
9434 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9435 fi
9436
9437 else
9438
9439 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9442 else
9443 no_cache=1
9444 fi
9445
9446 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447
9448 fi;
9449
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9458 else
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9461 fi
9462
9463
9464 enablestring=
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9467 no_cache=0
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval="$enable_slider"
9471
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider='wxUSE_SLIDER=yes'
9474 else
9475 ac_cv_use_slider='wxUSE_SLIDER=no'
9476 fi
9477
9478 else
9479
9480 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x ; then
9482 eval "DEFAULT_$LINE"
9483 else
9484 no_cache=1
9485 fi
9486
9487 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488
9489 fi;
9490
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9494 fi
9495
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9499 else
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9502 fi
9503
9504
9505 enablestring=
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9508 no_cache=0
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval="$enable_spinbtn"
9512
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9515 else
9516 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9517 fi
9518
9519 else
9520
9521 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x ; then
9523 eval "DEFAULT_$LINE"
9524 else
9525 no_cache=1
9526 fi
9527
9528 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529
9530 fi;
9531
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9535 fi
9536
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9540 else
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9543 fi
9544
9545
9546 enablestring=
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9549 no_cache=0
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval="$enable_spinctrl"
9553
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9556 else
9557 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9558 fi
9559
9560 else
9561
9562 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x ; then
9564 eval "DEFAULT_$LINE"
9565 else
9566 no_cache=1
9567 fi
9568
9569 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570
9571 fi;
9572
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9581 else
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9584 fi
9585
9586
9587 enablestring=
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9590 no_cache=0
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval="$enable_splitter"
9594
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9597 else
9598 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611
9612 fi;
9613
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9622 else
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9625 fi
9626
9627
9628 enablestring=
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9631 no_cache=0
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval="$enable_statbmp"
9635
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9638 else
9639 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9640 fi
9641
9642 else
9643
9644 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x ; then
9646 eval "DEFAULT_$LINE"
9647 else
9648 no_cache=1
9649 fi
9650
9651 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652
9653 fi;
9654
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9658 fi
9659
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668
9669 enablestring=
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9672 no_cache=0
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval="$enable_statbox"
9676
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9679 else
9680 ac_cv_use_statbox='wxUSE_STATBOX=no'
9681 fi
9682
9683 else
9684
9685 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 else
9689 no_cache=1
9690 fi
9691
9692 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693
9694 fi;
9695
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9704 else
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9707 fi
9708
9709
9710 enablestring=
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9713 no_cache=0
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval="$enable_statline"
9717
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline='wxUSE_STATLINE=yes'
9720 else
9721 ac_cv_use_statline='wxUSE_STATLINE=no'
9722 fi
9723
9724 else
9725
9726 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x ; then
9728 eval "DEFAULT_$LINE"
9729 else
9730 no_cache=1
9731 fi
9732
9733 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734
9735 fi;
9736
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9740 fi
9741
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9745 else
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9748 fi
9749
9750
9751 enablestring=
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9754 no_cache=0
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval="$enable_stattext"
9758
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9761 else
9762 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775
9776 fi;
9777
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9786 else
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9789 fi
9790
9791
9792 enablestring=
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9795 no_cache=0
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval="$enable_statusbar"
9799
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9802 else
9803 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9804 fi
9805
9806 else
9807
9808 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x ; then
9810 eval "DEFAULT_$LINE"
9811 else
9812 no_cache=1
9813 fi
9814
9815 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816
9817 fi;
9818
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9827 else
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9830 fi
9831
9832
9833 enablestring=
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9836 no_cache=0
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval="$enable_tabdialog"
9840
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9843 else
9844 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9845 fi
9846
9847 else
9848
9849 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x ; then
9851 eval "DEFAULT_$LINE"
9852 else
9853 no_cache=1
9854 fi
9855
9856 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857
9858 fi;
9859
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9863 fi
9864
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9868 else
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9871 fi
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval="$enable_textctrl"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9884 else
9885 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898
9899 fi;
9900
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval="$enable_togglebtn"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9925 else
9926 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939
9940 fi;
9941
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval="$enable_toolbar"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9966 else
9967 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980
9981 fi;
9982
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval="$enable_tbarnative"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10007 else
10008 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021
10022 fi;
10023
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval="$enable_treebook"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10048 else
10049 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062
10063 fi;
10064
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval="$enable_toolbook"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10089 else
10090 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103
10104 fi;
10105
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval="$enable_treectrl"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10130 else
10131 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144
10145 fi;
10146
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval="$enable_tipwindow"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10171 else
10172 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185
10186 fi;
10187
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval="$enable_popupwin"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10212 else
10213 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226
10227 fi;
10228
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243
10244
10245 enablestring=
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10248 no_cache=0
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval="$enable_commondlg"
10252
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10255 else
10256 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10257 fi
10258
10259 else
10260
10261 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10264 else
10265 no_cache=1
10266 fi
10267
10268 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269
10270 fi;
10271
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10280 else
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10283 fi
10284
10285
10286 enablestring=
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10289 no_cache=0
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval="$enable_aboutdlg"
10293
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10296 else
10297 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10298 fi
10299
10300 else
10301
10302 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 else
10306 no_cache=1
10307 fi
10308
10309 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310
10311 fi;
10312
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10321 else
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10324 fi
10325
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval="$enable_choicedlg"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10337 else
10338 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351
10352 fi;
10353
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367
10368 enablestring=
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10371 no_cache=0
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval="$enable_coldlg"
10375
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10378 else
10379 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10380 fi
10381
10382 else
10383
10384 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 else
10388 no_cache=1
10389 fi
10390
10391 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392
10393 fi;
10394
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10403 else
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10406 fi
10407
10408
10409 enablestring=
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10412 no_cache=0
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval="$enable_filedlg"
10416
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10419 else
10420 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10421 fi
10422
10423 else
10424
10425 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10428 else
10429 no_cache=1
10430 fi
10431
10432 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433
10434 fi;
10435
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10444 else
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10447 fi
10448
10449
10450 enablestring=
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10453 no_cache=0
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval="$enable_finddlg"
10457
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10460 else
10461 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10462 fi
10463
10464 else
10465
10466 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 else
10470 no_cache=1
10471 fi
10472
10473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474
10475 fi;
10476
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490
10491 enablestring=
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10494 no_cache=0
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval="$enable_fontdlg"
10498
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10501 else
10502 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10503 fi
10504
10505 else
10506
10507 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10510 else
10511 no_cache=1
10512 fi
10513
10514 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515
10516 fi;
10517
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10526 else
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10529 fi
10530
10531
10532 enablestring=
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10535 no_cache=0
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval="$enable_dirdlg"
10539
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10542 else
10543 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10544 fi
10545
10546 else
10547
10548 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10551 else
10552 no_cache=1
10553 fi
10554
10555 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556
10557 fi;
10558
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10567 else
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10570 fi
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval="$enable_msgdlg"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10583 else
10584 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597
10598 fi;
10599
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613
10614 enablestring=
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10617 no_cache=0
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval="$enable_numberdlg"
10621
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10624 else
10625 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10626 fi
10627
10628 else
10629
10630 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 else
10634 no_cache=1
10635 fi
10636
10637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638
10639 fi;
10640
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654
10655 enablestring=
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10658 no_cache=0
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval="$enable_splash"
10662
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash='wxUSE_SPLASH=yes'
10665 else
10666 ac_cv_use_splash='wxUSE_SPLASH=no'
10667 fi
10668
10669 else
10670
10671 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10674 else
10675 no_cache=1
10676 fi
10677
10678 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679
10680 fi;
10681
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695
10696 enablestring=
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10699 no_cache=0
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval="$enable_textdlg"
10703
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10706 else
10707 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10708 fi
10709
10710 else
10711
10712 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10715 else
10716 no_cache=1
10717 fi
10718
10719 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720
10721 fi;
10722
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735
10736
10737 enablestring=
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10740 no_cache=0
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval="$enable_tipdlg"
10744
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10747 else
10748 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10749 fi
10750
10751 else
10752
10753 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 else
10757 no_cache=1
10758 fi
10759
10760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761
10762 fi;
10763
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777
10778 enablestring=
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10781 no_cache=0
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval="$enable_progressdlg"
10785
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10788 else
10789 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10790 fi
10791
10792 else
10793
10794 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 else
10798 no_cache=1
10799 fi
10800
10801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802
10803 fi;
10804
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10813 else
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10816 fi
10817
10818
10819 enablestring=
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10822 no_cache=0
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval="$enable_wizarddlg"
10826
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10829 else
10830 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10831 fi
10832
10833 else
10834
10835 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10838 else
10839 no_cache=1
10840 fi
10841
10842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843
10844 fi;
10845
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859
10860
10861
10862 enablestring=
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10865 no_cache=0
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval="$enable_menus"
10869
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus='wxUSE_MENUS=yes'
10872 else
10873 ac_cv_use_menus='wxUSE_MENUS=no'
10874 fi
10875
10876 else
10877
10878 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x ; then
10880 eval "DEFAULT_$LINE"
10881 else
10882 no_cache=1
10883 fi
10884
10885 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886
10887 fi;
10888
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10892 fi
10893
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902
10903 enablestring=
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10906 no_cache=0
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval="$enable_miniframe"
10910
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10913 else
10914 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10915 fi
10916
10917 else
10918
10919 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x ; then
10921 eval "DEFAULT_$LINE"
10922 else
10923 no_cache=1
10924 fi
10925
10926 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927
10928 fi;
10929
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10933 fi
10934
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943
10944 enablestring=
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10947 no_cache=0
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval="$enable_tooltips"
10951
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10954 else
10955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10956 fi
10957
10958 else
10959
10960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x ; then
10962 eval "DEFAULT_$LINE"
10963 else
10964 no_cache=1
10965 fi
10966
10967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968
10969 fi;
10970
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10974 fi
10975
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10979 else
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10982 fi
10983
10984
10985 enablestring=
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10988 no_cache=0
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval="$enable_splines"
10992
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines='wxUSE_SPLINES=yes'
10995 else
10996 ac_cv_use_splines='wxUSE_SPLINES=no'
10997 fi
10998
10999 else
11000
11001 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x ; then
11003 eval "DEFAULT_$LINE"
11004 else
11005 no_cache=1
11006 fi
11007
11008 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009
11010 fi;
11011
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11015 fi
11016
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11020 else
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11023 fi
11024
11025
11026 enablestring=
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11029 no_cache=0
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval="$enable_mousewheel"
11033
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11036 else
11037 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11038 fi
11039
11040 else
11041
11042 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x ; then
11044 eval "DEFAULT_$LINE"
11045 else
11046 no_cache=1
11047 fi
11048
11049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050
11051 fi;
11052
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11061 else
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11064 fi
11065
11066
11067 enablestring=
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11070 no_cache=0
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval="$enable_validators"
11074
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11077 else
11078 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11079 fi
11080
11081 else
11082
11083 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11086 else
11087 no_cache=1
11088 fi
11089
11090 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091
11092 fi;
11093
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11102 else
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11105 fi
11106
11107
11108 enablestring=
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11111 no_cache=0
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval="$enable_busyinfo"
11115
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11118 else
11119 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11120 fi
11121
11122 else
11123
11124 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 else
11128 no_cache=1
11129 fi
11130
11131 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132
11133 fi;
11134
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148
11149 enablestring=
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11152 no_cache=0
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval="$enable_joystick"
11156
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11159 else
11160 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11161 fi
11162
11163 else
11164
11165 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11168 else
11169 no_cache=1
11170 fi
11171
11172 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173
11174 fi;
11175
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11184 else
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11187 fi
11188
11189
11190 enablestring=
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11193 no_cache=0
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval="$enable_metafile"
11197
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11200 else
11201 ac_cv_use_metafile='wxUSE_METAFILE=no'
11202 fi
11203
11204 else
11205
11206 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11209 else
11210 no_cache=1
11211 fi
11212
11213 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214
11215 fi;
11216
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11225 else
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230
11231 enablestring=
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11234 no_cache=0
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval="$enable_dragimage"
11238
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11241 else
11242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11243 fi
11244
11245 else
11246
11247 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 else
11251 no_cache=1
11252 fi
11253
11254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255
11256 fi;
11257
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval="$enable_accessibility"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11282 else
11283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296
11297 fi;
11298
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312
11313 if test "$wxUSE_MSW" = "1"; then
11314
11315 enablestring=
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11318 no_cache=0
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval="$enable_dccache"
11322
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11325 else
11326 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11327 fi
11328
11329 else
11330
11331 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x ; then
11333 eval "DEFAULT_$LINE"
11334 else
11335 no_cache=1
11336 fi
11337
11338 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339
11340 fi;
11341
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval="$enable_palette"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette='wxUSE_PALETTE=yes'
11369 else
11370 ac_cv_use_palette='wxUSE_PALETTE=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383
11384 fi;
11385
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 enablestring=
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11403 no_cache=0
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval="$enable_image"
11407
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image='wxUSE_IMAGE=yes'
11410 else
11411 ac_cv_use_image='wxUSE_IMAGE=no'
11412 fi
11413
11414 else
11415
11416 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x ; then
11418 eval "DEFAULT_$LINE"
11419 else
11420 no_cache=1
11421 fi
11422
11423 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424
11425 fi;
11426
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11430 fi
11431
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440
11441 enablestring=
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11444 no_cache=0
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval="$enable_gif"
11448
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif='wxUSE_GIF=yes'
11451 else
11452 ac_cv_use_gif='wxUSE_GIF=no'
11453 fi
11454
11455 else
11456
11457 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x ; then
11459 eval "DEFAULT_$LINE"
11460 else
11461 no_cache=1
11462 fi
11463
11464 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465
11466 fi;
11467
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480
11481
11482 enablestring=
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11485 no_cache=0
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval="$enable_pcx"
11489
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx='wxUSE_PCX=yes'
11492 else
11493 ac_cv_use_pcx='wxUSE_PCX=no'
11494 fi
11495
11496 else
11497
11498 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 else
11502 no_cache=1
11503 fi
11504
11505 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506
11507 fi;
11508
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11517 else
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11520 fi
11521
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval="$enable_tga"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga='wxUSE_TGA=yes'
11533 else
11534 ac_cv_use_tga='wxUSE_TGA=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547
11548 fi;
11549
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563
11564 enablestring=
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11567 no_cache=0
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval="$enable_iff"
11571
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff='wxUSE_IFF=yes'
11574 else
11575 ac_cv_use_iff='wxUSE_IFF=no'
11576 fi
11577
11578 else
11579
11580 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x ; then
11582 eval "DEFAULT_$LINE"
11583 else
11584 no_cache=1
11585 fi
11586
11587 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588
11589 fi;
11590
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604
11605 enablestring=
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11608 no_cache=0
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval="$enable_pnm"
11612
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm='wxUSE_PNM=yes'
11615 else
11616 ac_cv_use_pnm='wxUSE_PNM=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629
11630 fi;
11631
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11635 fi
11636
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11640 else
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11643 fi
11644
11645
11646 enablestring=
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11649 no_cache=0
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval="$enable_xpm"
11653
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm='wxUSE_XPM=yes'
11656 else
11657 ac_cv_use_xpm='wxUSE_XPM=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670
11671 fi;
11672
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11676 fi
11677
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686
11687 enablestring=
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11690 no_cache=0
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval="$enable_ico_cur"
11694
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11697 else
11698 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711
11712 fi;
11713
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11717 fi
11718
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727
11728 fi
11729
11730
11731
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval="$with_flavour"
11735 WX_FLAVOUR="$withval"
11736 fi;
11737
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval="$enable_official_build"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11750 else
11751 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764
11765 fi;
11766
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval="$enable_vendor"
11783 VENDOR="$enableval"
11784 fi;
11785 if test "x$VENDOR" = "x"; then
11786 VENDOR="custom"
11787 fi
11788
11789
11790
11791
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11794
11795
11796
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11799
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11804 DEFAULT_DEFAULT_wxUSE_MSW=1
11805 wxUSE_SHARED=no
11806 fi
11807
11808
11809 if test "$wxUSE_GUI" = "yes"; then
11810
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11815 fi
11816
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit in `echo $ALL_TOOLKITS`; do
11819 var=wxUSE_$toolkit
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11822 eval "$var=0"
11823 elif test "x$value" != "x"; then
11824 eval "$var=1"
11825 fi
11826
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11829 fi
11830 done
11831 else
11832 for toolkit in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11835 else
11836 var=DEFAULT_wxUSE_$toolkit
11837
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11841 fi
11842 fi
11843 eval "wxUSE_$toolkit=\$${var}"
11844 done
11845 fi
11846
11847 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11850
11851 case "${host}" in
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11854 esac
11855
11856 case "$NUM_TOOLKITS" in
11857 1)
11858 ;;
11859 0)
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11863 ;;
11864 *)
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11868 esac
11869
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11872 wxGTK_VERSION=2
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11874 wxGTK_VERSION=1
11875 fi
11876
11877 for toolkit in `echo $ALL_TOOLKITS`; do
11878 var=wxUSE_$toolkit
11879 eval "value=\$${var}"
11880 if test "x$value" != x; then
11881 cache_var=CACHE_$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11888 fi
11889 fi
11890 if test "$value" = 1; then
11891 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11894 fi
11895 fi
11896 done
11897 else
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11901 else
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11904 fi
11905 fi
11906
11907
11908 cat >confcache <<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11914 #
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11917 #
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11921
11922 _ACEOF
11923
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11929 {
11930 (set) 2>&1 |
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11932 *ac_space=\ *)
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11935 sed -n \
11936 "s/'/'\\\\''/g;
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11938 ;;
11939 *)
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11941 sed -n \
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11943 ;;
11944 esac;
11945 } |
11946 sed '
11947 t clear
11948 : clear
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11950 t end
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11952 : end' >>confcache
11953 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache >$cache_file
11957 else
11958 echo "not updating unwritable cache $cache_file"
11959 fi
11960 fi
11961 rm -f confcache
11962
11963 CFLAGS=${CFLAGS:=}
11964
11965
11966
11967 ac_ext=c
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC="$CC" # Let the user override the test.
11982 else
11983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11984 for as_dir in $PATH
11985 do
11986 IFS=$as_save_IFS
11987 test -z "$as_dir" && as_dir=.
11988 for ac_exec_ext in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 break 2
11993 fi
11994 done
11995 done
11996
11997 fi
11998 fi
11999 CC=$ac_cv_prog_CC
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12003 else
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12006 fi
12007
12008 fi
12009 if test -z "$ac_cv_prog_CC"; then
12010 ac_ct_CC=$CC
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc; ac_word=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12020 else
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12023 do
12024 IFS=$as_save_IFS
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 break 2
12031 fi
12032 done
12033 done
12034
12035 fi
12036 fi
12037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12041 else
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12044 fi
12045
12046 CC=$ac_ct_CC
12047 else
12048 CC="$ac_cv_prog_CC"
12049 fi
12050
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy ${ac_tool_prefix}cc; ac_word=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC="$CC" # Let the user override the test.
12062 else
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12065 do
12066 IFS=$as_save_IFS
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 break 2
12073 fi
12074 done
12075 done
12076
12077 fi
12078 fi
12079 CC=$ac_cv_prog_CC
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12083 else
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12086 fi
12087
12088 fi
12089 if test -z "$ac_cv_prog_CC"; then
12090 ac_ct_CC=$CC
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc; ac_word=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12100 else
12101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102 for as_dir in $PATH
12103 do
12104 IFS=$as_save_IFS
12105 test -z "$as_dir" && as_dir=.
12106 for ac_exec_ext in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 break 2
12111 fi
12112 done
12113 done
12114
12115 fi
12116 fi
12117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12121 else
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12124 fi
12125
12126 CC=$ac_ct_CC
12127 else
12128 CC="$ac_cv_prog_CC"
12129 fi
12130
12131 fi
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc; ac_word=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC="$CC" # Let the user override the test.
12142 else
12143 ac_prog_rejected=no
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12146 do
12147 IFS=$as_save_IFS
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected=yes
12153 continue
12154 fi
12155 ac_cv_prog_CC="cc"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy $ac_cv_prog_CC
12165 shift
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12170 shift
12171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12172 fi
12173 fi
12174 fi
12175 fi
12176 CC=$ac_cv_prog_CC
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12180 else
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12183 fi
12184
12185 fi
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12188 for ac_prog in cl
12189 do
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC="$CC" # Let the user override the test.
12199 else
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12202 do
12203 IFS=$as_save_IFS
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 break 2
12210 fi
12211 done
12212 done
12213
12214 fi
12215 fi
12216 CC=$ac_cv_prog_CC
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12220 else
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12223 fi
12224
12225 test -n "$CC" && break
12226 done
12227 fi
12228 if test -z "$CC"; then
12229 ac_ct_CC=$CC
12230 for ac_prog in cl
12231 do
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy $ac_prog; ac_word=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 else
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12241 else
12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12244 do
12245 IFS=$as_save_IFS
12246 test -z "$as_dir" && as_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 break 2
12252 fi
12253 done
12254 done
12255
12256 fi
12257 fi
12258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12262 else
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12265 fi
12266
12267 test -n "$ac_ct_CC" && break
12268 done
12269
12270 CC=$ac_ct_CC
12271 fi
12272
12273 fi
12274
12275
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12281
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev/null >&5) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev/null >&5) 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev/null >&5) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 ac_clean_files_save=$ac_clean_files
12318 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12321 # of exeext.
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12332 # resort.
12333
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12336 ac_cv_exeext=
12337 # b.out is created by i960 compilers.
12338 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12339 do
12340 test -f "$ac_file" || continue
12341 case $ac_file in
12342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12343 ;;
12344 conftest.$ac_ext )
12345 # This is the source file.
12346 ;;
12347 [ab].out )
12348 # We found the default executable, but exeext='' is most
12349 # certainly right.
12350 break;;
12351 *.* )
12352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12357 break;;
12358 * )
12359 break;;
12360 esac
12361 done
12362 else
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.$ac_ext >&5
12365
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12371 fi
12372
12373 ac_exeext=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12376
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 cross_compiling=no
12391 else
12392 if test "$cross_compiling" = maybe; then
12393 cross_compiling=yes
12394 else
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12402 fi
12403 fi
12404 fi
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12407
12408 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12409 ac_clean_files=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12416
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12427 # `rm'.
12428 for ac_file in conftest.exe conftest conftest.*; do
12429 test -f "$ac_file" || continue
12430 case $ac_file in
12431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12434 break;;
12435 * ) break;;
12436 esac
12437 done
12438 else
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12444 fi
12445
12446 rm -f conftest$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12449
12450 rm -f conftest.$ac_ext
12451 EXEEXT=$ac_cv_exeext
12452 ac_exeext=$EXEEXT
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 else
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464
12465 int
12466 main ()
12467 {
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12480 case $ac_file in
12481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12483 break;;
12484 esac
12485 done
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12495 fi
12496
12497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT=$ac_cv_objext
12502 ac_objext=$OBJEXT
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12508 cat >conftest.$ac_ext <<_ACEOF
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514
12515 int
12516 main ()
12517 {
12518 #ifndef __GNUC__
12519 choke me
12520 #endif
12521
12522 ;
12523 return 0;
12524 }
12525 _ACEOF
12526 rm -f conftest.$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 ac_compiler_gnu=no
12553 fi
12554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12556
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS=${CFLAGS+set}
12562 ac_save_CFLAGS=$CFLAGS
12563 CFLAGS="-g"
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575
12576 int
12577 main ()
12578 {
12579
12580 ;
12581 return 0;
12582 }
12583 _ACEOF
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12602 ac_status=$?
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g=yes
12606 else
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_cv_prog_cc_g=no
12611 fi
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 fi
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12620 CFLAGS="-g -O2"
12621 else
12622 CFLAGS="-g"
12623 fi
12624 else
12625 if test "$GCC" = yes; then
12626 CFLAGS="-O2"
12627 else
12628 CFLAGS=
12629 fi
12630 fi
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636 ac_cv_prog_cc_stdc=no
12637 ac_save_CC=$CC
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12645 #include <stdio.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12652 char **p;
12653 int i;
12654 {
12655 return p[i];
12656 }
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12658 {
12659 char *s;
12660 va_list v;
12661 va_start (v,p);
12662 s = g (p, va_arg (v,int));
12663 va_end (v);
12664 return s;
12665 }
12666
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12675
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12680 int argc;
12681 char **argv;
12682 int
12683 main ()
12684 {
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12698 do
12699 CC="$ac_save_CC $ac_arg"
12700 rm -f conftest.$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12712 ac_status=$?
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc=$ac_arg
12722 break
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 fi
12728 rm -f conftest.err conftest.$ac_objext
12729 done
12730 rm -f conftest.$ac_ext conftest.$ac_objext
12731 CC=$ac_save_CC
12732
12733 fi
12734
12735 case "x$ac_cv_prog_cc_stdc" in
12736 x|xno)
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12739 *)
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC="$CC $ac_cv_prog_cc_stdc" ;;
12743 esac
12744
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12751 choke me
12752 #endif
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration in \
12776 '' \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12781 'void exit (int);'
12782 do
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 $ac_declaration
12790 #include <stdlib.h>
12791 int
12792 main ()
12793 {
12794 exit (42);
12795 ;
12796 return 0;
12797 }
12798 _ACEOF
12799 rm -f conftest.$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 :
12821 else
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12824
12825 continue
12826 fi
12827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12828 cat >conftest.$ac_ext <<_ACEOF
12829 /* confdefs.h. */
12830 _ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 $ac_declaration
12835 int
12836 main ()
12837 {
12838 exit (42);
12839 ;
12840 return 0;
12841 }
12842 _ACEOF
12843 rm -f conftest.$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12846 ac_status=$?
12847 grep -v '^ *+' conftest.er1 >conftest.err
12848 rm -f conftest.er1
12849 cat conftest.err >&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 break
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12868
12869 fi
12870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 done
12872 rm -f conftest*
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12877 fi
12878
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 fi
12884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12885 ac_ext=c
12886 ac_cpp='$CPP $CPPFLAGS'
12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12890
12891
12892
12893 ac_ext=c
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 else
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910
12911 int
12912 main ()
12913 {
12914
12915 #ifndef __INTEL_COMPILER
12916 choke me
12917 #endif
12918
12919 ;
12920 return 0;
12921 }
12922 _ACEOF
12923 rm -f conftest.$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12926 ac_status=$?
12927 grep -v '^ *+' conftest.er1 >conftest.err
12928 rm -f conftest.er1
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12945 else
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.$ac_ext >&5
12948
12949 bakefile_cv_c_compiler___INTEL_COMPILER=no
12950
12951 fi
12952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12953
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12958 ac_ext=c
12959 ac_cpp='$CPP $CPPFLAGS'
12960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12963
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12965 :; INTELCC=yes
12966 else
12967 :;
12968 fi
12969
12970
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 else
12978 cat >conftest.$ac_ext <<_ACEOF
12979 /* confdefs.h. */
12980 _ACEOF
12981 cat confdefs.h >>conftest.$ac_ext
12982 cat >>conftest.$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12984
12985 int
12986 main ()
12987 {
12988
12989 ;
12990 return 0;
12991 }
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest.$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13000 case $ac_file in
13001 conftest.$ac_ext.o)
13002 bakefile_cv_c_exto="-ext o"
13003 ;;
13004 *)
13005 ;;
13006 esac
13007 done
13008 else
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13014
13015 fi
13016
13017 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13018
13019 fi
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13025 fi
13026 if test "c" = "cxx"; then
13027 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13028 fi
13029 fi
13030
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS=${CFLAGS+set}
13034 ac_save_CFLAGS=$CFLAGS
13035 CFLAGS="-g"
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041 cat >conftest.$ac_ext <<_ACEOF
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047
13048 int
13049 main ()
13050 {
13051
13052 ;
13053 return 0;
13054 }
13055 _ACEOF
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13059 ac_status=$?
13060 grep -v '^ *+' conftest.er1 >conftest.err
13061 rm -f conftest.er1
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g=yes
13078 else
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13081
13082 ac_cv_prog_cc_g=no
13083 fi
13084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13085 fi
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13092 CFLAGS="-g -O2"
13093 else
13094 CFLAGS="-g"
13095 fi
13096 else
13097 if test "$GCC" = yes; then
13098 CFLAGS="-O2"
13099 else
13100 CFLAGS=
13101 fi
13102 fi
13103 fi
13104 fi
13105
13106 case `uname -s` in
13107 AIX*)
13108 ac_ext=c
13109 ac_cpp='$CPP $CPPFLAGS'
13110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13113
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */
13121 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125
13126 int
13127 main ()
13128 {
13129 #ifndef __xlC__
13130 choke me
13131 #endif
13132
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13149 ac_status=$?
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc=yes
13159 else
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13162
13163 bakefile_compiler_xlc=no
13164 fi
13165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13166 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13167
13168 fi
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13171
13172 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13173 ac_ext=c
13174 ac_cpp='$CPP $CPPFLAGS'
13175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13178
13179
13180 ;;
13181
13182 Darwin)
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200
13201 int
13202 main ()
13203 {
13204 #ifndef __MWERKS__
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_compiler_mwerks=no
13239 fi
13240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13241 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13242
13243 fi
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13246
13247 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13248 ac_ext=c
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253
13254
13255 ac_ext=c
13256 ac_cpp='$CPP $CPPFLAGS'
13257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276 #ifndef __xlC__
13277 choke me
13278 #endif
13279
13280 ;
13281 return 0;
13282 }
13283 _ACEOF
13284 rm -f conftest.$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_compiler_xlc=yes
13306 else
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13309
13310 bakefile_compiler_xlc=no
13311 fi
13312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13314
13315 fi
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13318
13319 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13320 ac_ext=c
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325
13326
13327 ;;
13328
13329 IRIX*)
13330
13331
13332 ac_ext=c
13333 ac_cpp='$CPP $CPPFLAGS'
13334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13337
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349
13350 int
13351 main ()
13352 {
13353
13354 #ifndef _SGI_COMPILER_VERSION
13355 choke me
13356 #endif
13357
13358 ;
13359 return 0;
13360 }
13361 _ACEOF
13362 rm -f conftest.$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13387
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13389
13390 fi
13391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13392
13393
13394 fi
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13404 :; SGICC=yes
13405 else
13406 :;
13407 fi
13408
13409
13410 ;;
13411
13412 HP-UX*)
13413
13414
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432
13433 int
13434 main ()
13435 {
13436
13437 #ifndef __HP_cc
13438 choke me
13439 #endif
13440
13441 ;
13442 return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc=yes
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 bakefile_cv_c_compiler___HP_cc=no
13472
13473 fi
13474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13475
13476
13477 fi
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13480 ac_ext=c
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13485
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13487 :; HPCC=yes
13488 else
13489 :;
13490 fi
13491
13492
13493 ;;
13494
13495 OSF1)
13496
13497
13498 ac_ext=c
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13503
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515
13516 int
13517 main ()
13518 {
13519
13520 #ifndef __DECC
13521 choke me
13522 #endif
13523
13524 ;
13525 return 0;
13526 }
13527 _ACEOF
13528 rm -f conftest.$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13531 ac_status=$?
13532 grep -v '^ *+' conftest.er1 >conftest.err
13533 rm -f conftest.er1
13534 cat conftest.err >&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_cv_c_compiler___DECC=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 bakefile_cv_c_compiler___DECC=no
13555
13556 fi
13557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13558
13559
13560 fi
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13563 ac_ext=c
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13568
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13570 :; COMPAQCC=yes
13571 else
13572 :;
13573 fi
13574
13575
13576 ;;
13577
13578 SunOS)
13579
13580
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13586
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598
13599 int
13600 main ()
13601 {
13602
13603 #ifndef __SUNPRO_C
13604 choke me
13605 #endif
13606
13607 ;
13608 return 0;
13609 }
13610 _ACEOF
13611 rm -f conftest.$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C=yes
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13636
13637 bakefile_cv_c_compiler___SUNPRO_C=no
13638
13639 fi
13640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641
13642
13643 fi
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13653 :; SUNCC=yes
13654 else
13655 :;
13656 fi
13657
13658
13659 ;;
13660 esac
13661 fi
13662
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13674 CPP=
13675 fi
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 else
13680 # Double quotes because CPP needs to be expanded
13681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13682 do
13683 ac_preproc_ok=false
13684 for ac_c_preproc_warn_flag in '' yes
13685 do
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #ifdef __STDC__
13699 # include <limits.h>
13700 #else
13701 # include <assert.h>
13702 #endif
13703 Syntax error
13704 _ACEOF
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev/null; then
13713 if test -s conftest.err; then
13714 ac_cpp_err=$ac_c_preproc_warn_flag
13715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13716 else
13717 ac_cpp_err=
13718 fi
13719 else
13720 ac_cpp_err=yes
13721 fi
13722 if test -z "$ac_cpp_err"; then
13723 :
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728 # Broken: fails on valid input.
13729 continue
13730 fi
13731 rm -f conftest.err conftest.$ac_ext
13732
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.$ac_ext <<_ACEOF
13736 /* confdefs.h. */
13737 _ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13742 _ACEOF
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev/null; then
13751 if test -s conftest.err; then
13752 ac_cpp_err=$ac_c_preproc_warn_flag
13753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13754 else
13755 ac_cpp_err=
13756 fi
13757 else
13758 ac_cpp_err=yes
13759 fi
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13762 continue
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 # Passes both tests.
13768 ac_preproc_ok=:
13769 break
13770 fi
13771 rm -f conftest.err conftest.$ac_ext
13772
13773 done
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.$ac_ext
13776 if $ac_preproc_ok; then
13777 break
13778 fi
13779
13780 done
13781 ac_cv_prog_CPP=$CPP
13782
13783 fi
13784 CPP=$ac_cv_prog_CPP
13785 else
13786 ac_cv_prog_CPP=$CPP
13787 fi
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok=false
13791 for ac_c_preproc_warn_flag in '' yes
13792 do
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13810 Syntax error
13811 _ACEOF
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev/null; then
13820 if test -s conftest.err; then
13821 ac_cpp_err=$ac_c_preproc_warn_flag
13822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13823 else
13824 ac_cpp_err=
13825 fi
13826 else
13827 ac_cpp_err=yes
13828 fi
13829 if test -z "$ac_cpp_err"; then
13830 :
13831 else
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.$ac_ext >&5
13834
13835 # Broken: fails on valid input.
13836 continue
13837 fi
13838 rm -f conftest.err conftest.$ac_ext
13839
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13849 _ACEOF
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13852 ac_status=$?
13853 grep -v '^ *+' conftest.er1 >conftest.err
13854 rm -f conftest.er1
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev/null; then
13858 if test -s conftest.err; then
13859 ac_cpp_err=$ac_c_preproc_warn_flag
13860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13861 else
13862 ac_cpp_err=
13863 fi
13864 else
13865 ac_cpp_err=yes
13866 fi
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13869 continue
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 # Passes both tests.
13875 ac_preproc_ok=:
13876 break
13877 fi
13878 rm -f conftest.err conftest.$ac_ext
13879
13880 done
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.$ac_ext
13883 if $ac_preproc_ok; then
13884 :
13885 else
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13891 fi
13892
13893 ac_ext=c
13894 ac_cpp='$CPP $CPPFLAGS'
13895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898
13899
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13906 then ac_cv_prog_egrep='grep -E'
13907 else ac_cv_prog_egrep='egrep'
13908 fi
13909 fi
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP=$ac_cv_prog_egrep
13913
13914
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 ac_pattern="Autoconf.*'x'"
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 #include <sgtty.h>
13929 Autoconf TIOCGETP
13930 _ACEOF
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13933 ac_cv_prog_gcc_traditional=yes
13934 else
13935 ac_cv_prog_gcc_traditional=no
13936 fi
13937 rm -f conftest*
13938
13939
13940 if test $ac_cv_prog_gcc_traditional = no; then
13941 cat >conftest.$ac_ext <<_ACEOF
13942 /* confdefs.h. */
13943 _ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13948 Autoconf TCGETA
13949 _ACEOF
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13952 ac_cv_prog_gcc_traditional=yes
13953 fi
13954 rm -f conftest*
13955
13956 fi
13957 fi
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC="$CC -traditional"
13962 fi
13963 fi
13964
13965
13966 CXXFLAGS=${CXXFLAGS:=}
13967
13968
13969
13970 ac_ext=cc
13971 ac_cpp='$CXXCPP $CPPFLAGS'
13972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13975 if test -n "$ac_tool_prefix"; then
13976 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13977 do
13978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13980 echo "$as_me:$LINENO: checking for $ac_word" >&5
13981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13982 if test "${ac_cv_prog_CXX+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 if test -n "$CXX"; then
13986 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13987 else
13988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13989 for as_dir in $PATH
13990 do
13991 IFS=$as_save_IFS
13992 test -z "$as_dir" && as_dir=.
13993 for ac_exec_ext in '' $ac_executable_extensions; do
13994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13997 break 2
13998 fi
13999 done
14000 done
14001
14002 fi
14003 fi
14004 CXX=$ac_cv_prog_CXX
14005 if test -n "$CXX"; then
14006 echo "$as_me:$LINENO: result: $CXX" >&5
14007 echo "${ECHO_T}$CXX" >&6
14008 else
14009 echo "$as_me:$LINENO: result: no" >&5
14010 echo "${ECHO_T}no" >&6
14011 fi
14012
14013 test -n "$CXX" && break
14014 done
14015 fi
14016 if test -z "$CXX"; then
14017 ac_ct_CXX=$CXX
14018 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14019 do
14020 # Extract the first word of "$ac_prog", so it can be a program name with args.
14021 set dummy $ac_prog; ac_word=$2
14022 echo "$as_me:$LINENO: checking for $ac_word" >&5
14023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14024 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 else
14027 if test -n "$ac_ct_CXX"; then
14028 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14029 else
14030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14031 for as_dir in $PATH
14032 do
14033 IFS=$as_save_IFS
14034 test -z "$as_dir" && as_dir=.
14035 for ac_exec_ext in '' $ac_executable_extensions; do
14036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14037 ac_cv_prog_ac_ct_CXX="$ac_prog"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14039 break 2
14040 fi
14041 done
14042 done
14043
14044 fi
14045 fi
14046 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14047 if test -n "$ac_ct_CXX"; then
14048 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14049 echo "${ECHO_T}$ac_ct_CXX" >&6
14050 else
14051 echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14053 fi
14054
14055 test -n "$ac_ct_CXX" && break
14056 done
14057 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14058
14059 CXX=$ac_ct_CXX
14060 fi
14061
14062
14063 # Provide some information about the compiler.
14064 echo "$as_me:$LINENO:" \
14065 "checking for C++ compiler version" >&5
14066 ac_compiler=`set X $ac_compile; echo $2`
14067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14068 (eval $ac_compiler --version </dev/null >&5) 2>&5
14069 ac_status=$?
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }
14072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14073 (eval $ac_compiler -v </dev/null >&5) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }
14077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14078 (eval $ac_compiler -V </dev/null >&5) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }
14082
14083 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 else
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094
14095 int
14096 main ()
14097 {
14098 #ifndef __GNUC__
14099 choke me
14100 #endif
14101
14102 ;
14103 return 0;
14104 }
14105 _ACEOF
14106 rm -f conftest.$ac_objext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14108 (eval $ac_compile) 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try='test -s conftest.$ac_objext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_compiler_gnu=yes
14128 else
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14131
14132 ac_compiler_gnu=no
14133 fi
14134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14135 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14136
14137 fi
14138 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14139 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14140 GXX=`test $ac_compiler_gnu = yes && echo yes`
14141 ac_test_CXXFLAGS=${CXXFLAGS+set}
14142 ac_save_CXXFLAGS=$CXXFLAGS
14143 CXXFLAGS="-g"
14144 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14145 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14146 if test "${ac_cv_prog_cxx_g+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 else
14149 cat >conftest.$ac_ext <<_ACEOF
14150 /* confdefs.h. */
14151 _ACEOF
14152 cat confdefs.h >>conftest.$ac_ext
14153 cat >>conftest.$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155
14156 int
14157 main ()
14158 {
14159
14160 ;
14161 return 0;
14162 }
14163 _ACEOF
14164 rm -f conftest.$ac_objext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>conftest.er1
14167 ac_status=$?
14168 grep -v '^ *+' conftest.er1 >conftest.err
14169 rm -f conftest.er1
14170 cat conftest.err >&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_prog_cxx_g=yes
14186 else
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14189
14190 ac_cv_prog_cxx_g=no
14191 fi
14192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14193 fi
14194 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14195 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14196 if test "$ac_test_CXXFLAGS" = set; then
14197 CXXFLAGS=$ac_save_CXXFLAGS
14198 elif test $ac_cv_prog_cxx_g = yes; then
14199 if test "$GXX" = yes; then
14200 CXXFLAGS="-g -O2"
14201 else
14202 CXXFLAGS="-g"
14203 fi
14204 else
14205 if test "$GXX" = yes; then
14206 CXXFLAGS="-O2"
14207 else
14208 CXXFLAGS=
14209 fi
14210 fi
14211 for ac_declaration in \
14212 '' \
14213 'extern "C" void std::exit (int) throw (); using std::exit;' \
14214 'extern "C" void std::exit (int); using std::exit;' \
14215 'extern "C" void exit (int) throw ();' \
14216 'extern "C" void exit (int);' \
14217 'void exit (int);'
14218 do
14219 cat >conftest.$ac_ext <<_ACEOF
14220 /* confdefs.h. */
14221 _ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_declaration
14226 #include <stdlib.h>
14227 int
14228 main ()
14229 {
14230 exit (42);
14231 ;
14232 return 0;
14233 }
14234 _ACEOF
14235 rm -f conftest.$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14238 ac_status=$?
14239 grep -v '^ *+' conftest.er1 >conftest.err
14240 rm -f conftest.er1
14241 cat conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14247 ac_status=$?
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try='test -s conftest.$ac_objext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14253 ac_status=$?
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14256 :
14257 else
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.$ac_ext >&5
14260
14261 continue
14262 fi
14263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 $ac_declaration
14271 int
14272 main ()
14273 {
14274 exit (42);
14275 ;
14276 return 0;
14277 }
14278 _ACEOF
14279 rm -f conftest.$ac_objext
14280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14281 (eval $ac_compile) 2>conftest.er1
14282 ac_status=$?
14283 grep -v '^ *+' conftest.er1 >conftest.err
14284 rm -f conftest.er1
14285 cat conftest.err >&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } &&
14288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14291 ac_status=$?
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try='test -s conftest.$ac_objext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14297 ac_status=$?
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 break
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14304
14305 fi
14306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14307 done
14308 rm -f conftest*
14309 if test -n "$ac_declaration"; then
14310 echo '#ifdef __cplusplus' >>confdefs.h
14311 echo $ac_declaration >>confdefs.h
14312 echo '#endif' >>confdefs.h
14313 fi
14314
14315 ac_ext=c
14316 ac_cpp='$CPP $CPPFLAGS'
14317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14320
14321
14322
14323 ac_ext=cc
14324 ac_cpp='$CXXCPP $CPPFLAGS'
14325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14328
14329 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14330 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14331 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14334 cat >conftest.$ac_ext <<_ACEOF
14335 /* confdefs.h. */
14336 _ACEOF
14337 cat confdefs.h >>conftest.$ac_ext
14338 cat >>conftest.$ac_ext <<_ACEOF
14339 /* end confdefs.h. */
14340
14341 int
14342 main ()
14343 {
14344
14345 #ifndef __INTEL_COMPILER
14346 choke me
14347 #endif
14348
14349 ;
14350 return 0;
14351 }
14352 _ACEOF
14353 rm -f conftest.$ac_objext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355 (eval $ac_compile) 2>conftest.er1
14356 ac_status=$?
14357 grep -v '^ *+' conftest.er1 >conftest.err
14358 rm -f conftest.er1
14359 cat conftest.err >&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } &&
14362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14375 else
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.$ac_ext >&5
14378
14379 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14380
14381 fi
14382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14383
14384
14385 fi
14386 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14388 ac_ext=c
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14393
14394 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14395 :; INTELCXX=yes
14396 else
14397 :;
14398 fi
14399
14400
14401 if test "x$GCXX" != "xyes"; then
14402 if test "xCXX" = "xC"; then
14403 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14404 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14405 if test "${bakefile_cv_c_exto+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 else
14408 cat >conftest.$ac_ext <<_ACEOF
14409 /* confdefs.h. */
14410 _ACEOF
14411 cat confdefs.h >>conftest.$ac_ext
14412 cat >>conftest.$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414
14415 int
14416 main ()
14417 {
14418
14419 ;
14420 return 0;
14421 }
14422 _ACEOF
14423 rm -f conftest.$ac_objext conftest.$ac_ext.o
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; then
14429 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14430 case $ac_file in
14431 conftest.$ac_ext.o)
14432 bakefile_cv_c_exto="-ext o"
14433 ;;
14434 *)
14435 ;;
14436 esac
14437 done
14438 else
14439 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14440 See \`config.log' for more details." >&5
14441 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14442 See \`config.log' for more details." >&2;}
14443 { (exit 1); exit 1; }; }
14444
14445 fi
14446
14447 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14448
14449 fi
14450 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14451 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14452 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14453 if test "c" = "c"; then
14454 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14455 fi
14456 if test "c" = "cxx"; then
14457 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14458 fi
14459 fi
14460
14461 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14462 unset ac_cv_prog_cc_g
14463 ac_test_CFLAGS=${CFLAGS+set}
14464 ac_save_CFLAGS=$CFLAGS
14465 CFLAGS="-g"
14466 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14467 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14468 if test "${ac_cv_prog_cc_g+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471 cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477
14478 int
14479 main ()
14480 {
14481
14482 ;
14483 return 0;
14484 }
14485 _ACEOF
14486 rm -f conftest.$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>conftest.er1
14489 ac_status=$?
14490 grep -v '^ *+' conftest.er1 >conftest.err
14491 rm -f conftest.er1
14492 cat conftest.err >&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497 (eval $ac_try) 2>&5
14498 ac_status=$?
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try='test -s conftest.$ac_objext'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14504 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 ac_cv_prog_cc_g=yes
14508 else
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.$ac_ext >&5
14511
14512 ac_cv_prog_cc_g=no
14513 fi
14514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14515 fi
14516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14518 if test "$ac_test_CFLAGS" = set; then
14519 CFLAGS=$ac_save_CFLAGS
14520 elif test $ac_cv_prog_cc_g = yes; then
14521 if test "$GCC" = yes; then
14522 CFLAGS="-g -O2"
14523 else
14524 CFLAGS="-g"
14525 fi
14526 else
14527 if test "$GCC" = yes; then
14528 CFLAGS="-O2"
14529 else
14530 CFLAGS=
14531 fi
14532 fi
14533 fi
14534 fi
14535
14536 case `uname -s` in
14537 AIX*)
14538 ac_ext=cc
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14543
14544 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14545 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14546 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 else
14549 cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555
14556 int
14557 main ()
14558 {
14559 #ifndef __xlC__
14560 choke me
14561 #endif
14562
14563 ;
14564 return 0;
14565 }
14566 _ACEOF
14567 rm -f conftest.$ac_objext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14569 (eval $ac_compile) 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14579 ac_status=$?
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 bakefile_compiler_xlc=yes
14589 else
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.$ac_ext >&5
14592
14593 bakefile_compiler_xlc=no
14594 fi
14595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14596 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14597
14598 fi
14599 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14600 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14601
14602 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14603 ac_ext=c
14604 ac_cpp='$CPP $CPPFLAGS'
14605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14608
14609
14610 ;;
14611
14612 Darwin)
14613 ac_ext=cc
14614 ac_cpp='$CXXCPP $CPPFLAGS'
14615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14618
14619 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14620 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14621 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624 cat >conftest.$ac_ext <<_ACEOF
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630
14631 int
14632 main ()
14633 {
14634 #ifndef __MWERKS__
14635 choke me
14636 #endif
14637
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 bakefile_compiler_mwerks=yes
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668 bakefile_compiler_mwerks=no
14669 fi
14670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14671 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14672
14673 fi
14674 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14675 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14676
14677 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14678 ac_ext=c
14679 ac_cpp='$CPP $CPPFLAGS'
14680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14683
14684
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14692 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14693 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696 cat >conftest.$ac_ext <<_ACEOF
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702
14703 int
14704 main ()
14705 {
14706 #ifndef __xlC__
14707 choke me
14708 #endif
14709
14710 ;
14711 return 0;
14712 }
14713 _ACEOF
14714 rm -f conftest.$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 (eval $ac_compile) 2>conftest.er1
14717 ac_status=$?
14718 grep -v '^ *+' conftest.er1 >conftest.err
14719 rm -f conftest.er1
14720 cat conftest.err >&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } &&
14723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 bakefile_compiler_xlc=yes
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 bakefile_compiler_xlc=no
14741 fi
14742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14743 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14744
14745 fi
14746 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14747 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14748
14749 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14750 ac_ext=c
14751 ac_cpp='$CPP $CPPFLAGS'
14752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14755
14756
14757 ;;
14758
14759 IRIX*)
14760
14761
14762 ac_ext=cc
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14767
14768 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14769 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14770 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779
14780 int
14781 main ()
14782 {
14783
14784 #ifndef _SGI_COMPILER_VERSION
14785 choke me
14786 #endif
14787
14788 ;
14789 return 0;
14790 }
14791 _ACEOF
14792 rm -f conftest.$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14795 ac_status=$?
14796 grep -v '^ *+' conftest.er1 >conftest.err
14797 rm -f conftest.er1
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14819
14820 fi
14821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14822
14823
14824 fi
14825 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14826 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14827 ac_ext=c
14828 ac_cpp='$CPP $CPPFLAGS'
14829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14832
14833 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14834 :; SGICXX=yes
14835 else
14836 :;
14837 fi
14838
14839
14840 ;;
14841
14842 HP-UX*)
14843
14844
14845 ac_ext=cc
14846 ac_cpp='$CXXCPP $CPPFLAGS'
14847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14850
14851 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14852 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14853 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862
14863 int
14864 main ()
14865 {
14866
14867 #ifndef __HP_aCC
14868 choke me
14869 #endif
14870
14871 ;
14872 return 0;
14873 }
14874 _ACEOF
14875 rm -f conftest.$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14878 ac_status=$?
14879 grep -v '^ *+' conftest.er1 >conftest.err
14880 rm -f conftest.er1
14881 cat conftest.err >&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 bakefile_cv_cxx_compiler___HP_aCC=yes
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14900
14901 bakefile_cv_cxx_compiler___HP_aCC=no
14902
14903 fi
14904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14905
14906
14907 fi
14908 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14909 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14910 ac_ext=c
14911 ac_cpp='$CPP $CPPFLAGS'
14912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14915
14916 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14917 :; HPCXX=yes
14918 else
14919 :;
14920 fi
14921
14922
14923 ;;
14924
14925 OSF1)
14926
14927
14928 ac_ext=cc
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14935 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14936 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945
14946 int
14947 main ()
14948 {
14949
14950 #ifndef __DECCXX
14951 choke me
14952 #endif
14953
14954 ;
14955 return 0;
14956 }
14957 _ACEOF
14958 rm -f conftest.$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14961 ac_status=$?
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; } &&
14973 { ac_try='test -s conftest.$ac_objext'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14976 ac_status=$?
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; }; then
14979 bakefile_cv_cxx_compiler___DECCXX=yes
14980 else
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14983
14984 bakefile_cv_cxx_compiler___DECCXX=no
14985
14986 fi
14987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14988
14989
14990 fi
14991 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14992 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998
14999 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15000 :; COMPAQCXX=yes
15001 else
15002 :;
15003 fi
15004
15005
15006 ;;
15007
15008 SunOS)
15009
15010
15011 ac_ext=cc
15012 ac_cpp='$CXXCPP $CPPFLAGS'
15013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15016
15017 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15018 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15019 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 else
15022 cat >conftest.$ac_ext <<_ACEOF
15023 /* confdefs.h. */
15024 _ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028
15029 int
15030 main ()
15031 {
15032
15033 #ifndef __SUNPRO_CC
15034 choke me
15035 #endif
15036
15037 ;
15038 return 0;
15039 }
15040 _ACEOF
15041 rm -f conftest.$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15053 ac_status=$?
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; } &&
15056 { ac_try='test -s conftest.$ac_objext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15063 else
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.$ac_ext >&5
15066
15067 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15068
15069 fi
15070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15071
15072
15073 fi
15074 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15076 ac_ext=c
15077 ac_cpp='$CPP $CPPFLAGS'
15078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15081
15082 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15083 :; SUNCXX=yes
15084 else
15085 :;
15086 fi
15087
15088
15089 ;;
15090 esac
15091 fi
15092
15093
15094
15095 if test -n "$ac_tool_prefix"; then
15096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15097 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15098 echo "$as_me:$LINENO: checking for $ac_word" >&5
15099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15100 if test "${ac_cv_prog_RANLIB+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 else
15103 if test -n "$RANLIB"; then
15104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15105 else
15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15108 do
15109 IFS=$as_save_IFS
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15113 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 break 2
15116 fi
15117 done
15118 done
15119
15120 fi
15121 fi
15122 RANLIB=$ac_cv_prog_RANLIB
15123 if test -n "$RANLIB"; then
15124 echo "$as_me:$LINENO: result: $RANLIB" >&5
15125 echo "${ECHO_T}$RANLIB" >&6
15126 else
15127 echo "$as_me:$LINENO: result: no" >&5
15128 echo "${ECHO_T}no" >&6
15129 fi
15130
15131 fi
15132 if test -z "$ac_cv_prog_RANLIB"; then
15133 ac_ct_RANLIB=$RANLIB
15134 # Extract the first word of "ranlib", so it can be a program name with args.
15135 set dummy ranlib; ac_word=$2
15136 echo "$as_me:$LINENO: checking for $ac_word" >&5
15137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 if test -n "$ac_ct_RANLIB"; then
15142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15143 else
15144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15145 for as_dir in $PATH
15146 do
15147 IFS=$as_save_IFS
15148 test -z "$as_dir" && as_dir=.
15149 for ac_exec_ext in '' $ac_executable_extensions; do
15150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15151 ac_cv_prog_ac_ct_RANLIB="ranlib"
15152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15153 break 2
15154 fi
15155 done
15156 done
15157
15158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15159 fi
15160 fi
15161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15162 if test -n "$ac_ct_RANLIB"; then
15163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15164 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15165 else
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15168 fi
15169
15170 RANLIB=$ac_ct_RANLIB
15171 else
15172 RANLIB="$ac_cv_prog_RANLIB"
15173 fi
15174
15175
15176 if test -n "$ac_tool_prefix"; then
15177 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15178 set dummy ${ac_tool_prefix}ar; ac_word=$2
15179 echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15181 if test "${ac_cv_prog_AR+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$AR"; then
15185 ac_cv_prog_AR="$AR" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15194 ac_cv_prog_AR="${ac_tool_prefix}ar"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200
15201 fi
15202 fi
15203 AR=$ac_cv_prog_AR
15204 if test -n "$AR"; then
15205 echo "$as_me:$LINENO: result: $AR" >&5
15206 echo "${ECHO_T}$AR" >&6
15207 else
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15210 fi
15211
15212 fi
15213 if test -z "$ac_cv_prog_AR"; then
15214 ac_ct_AR=$AR
15215 # Extract the first word of "ar", so it can be a program name with args.
15216 set dummy ar; ac_word=$2
15217 echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15219 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 if test -n "$ac_ct_AR"; then
15223 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15224 else
15225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15226 for as_dir in $PATH
15227 do
15228 IFS=$as_save_IFS
15229 test -z "$as_dir" && as_dir=.
15230 for ac_exec_ext in '' $ac_executable_extensions; do
15231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15232 ac_cv_prog_ac_ct_AR="ar"
15233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 break 2
15235 fi
15236 done
15237 done
15238
15239 fi
15240 fi
15241 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15242 if test -n "$ac_ct_AR"; then
15243 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15244 echo "${ECHO_T}$ac_ct_AR" >&6
15245 else
15246 echo "$as_me:$LINENO: result: no" >&5
15247 echo "${ECHO_T}no" >&6
15248 fi
15249
15250 AR=$ac_ct_AR
15251 else
15252 AR="$ac_cv_prog_AR"
15253 fi
15254
15255 if test "x$AR" = "x" ; then
15256 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15257 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15258 { (exit 1); exit 1; }; }
15259 fi
15260
15261 # Find a good install program. We prefer a C program (faster),
15262 # so one script is as good as another. But avoid the broken or
15263 # incompatible versions:
15264 # SysV /etc/install, /usr/sbin/install
15265 # SunOS /usr/etc/install
15266 # IRIX /sbin/install
15267 # AIX /bin/install
15268 # AmigaOS /C/install, which installs bootblocks on floppy discs
15269 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15270 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15271 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15272 # OS/2's system install, which has a completely different semantic
15273 # ./install, which can be erroneously created by make from ./install.sh.
15274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15276 if test -z "$INSTALL"; then
15277 if test "${ac_cv_path_install+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283 IFS=$as_save_IFS
15284 test -z "$as_dir" && as_dir=.
15285 # Account for people who put trailing slashes in PATH elements.
15286 case $as_dir/ in
15287 ./ | .// | /cC/* | \
15288 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15289 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15290 /usr/ucb/* ) ;;
15291 *)
15292 # OSF1 and SCO ODT 3.0 have their own names for install.
15293 # Don't use installbsd from OSF since it installs stuff as root
15294 # by default.
15295 for ac_prog in ginstall scoinst install; do
15296 for ac_exec_ext in '' $ac_executable_extensions; do
15297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15298 if test $ac_prog = install &&
15299 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15300 # AIX install. It has an incompatible calling convention.
15301 :
15302 elif test $ac_prog = install &&
15303 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15304 # program-specific install script used by HP pwplus--don't use.
15305 :
15306 else
15307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15308 break 3
15309 fi
15310 fi
15311 done
15312 done
15313 ;;
15314 esac
15315 done
15316
15317
15318 fi
15319 if test "${ac_cv_path_install+set}" = set; then
15320 INSTALL=$ac_cv_path_install
15321 else
15322 # As a last resort, use the slow shell script. We don't cache a
15323 # path for INSTALL within a source directory, because that will
15324 # break other packages using the cache if that directory is
15325 # removed, or if the path is relative.
15326 INSTALL=$ac_install_sh
15327 fi
15328 fi
15329 echo "$as_me:$LINENO: result: $INSTALL" >&5
15330 echo "${ECHO_T}$INSTALL" >&6
15331
15332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15333 # It thinks the first close brace ends the variable substitution.
15334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15335
15336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15337
15338 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15339
15340
15341 case ${INSTALL} in
15342 /* ) # Absolute
15343 ;;
15344 ?:* ) # Drive letter, considered as absolute.
15345 ;;
15346 *)
15347 INSTALL=`pwd`/${INSTALL} ;;
15348 esac
15349
15350
15351 case "${host}" in
15352
15353 *-*-darwin* )
15354 INSTALL_PROGRAM="cp -fp"
15355 INSTALL_DATA="cp -fp"
15356 ;;
15357 *)
15358 ;;
15359 esac
15360
15361 if test -n "$ac_tool_prefix"; then
15362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15363 set dummy ${ac_tool_prefix}strip; ac_word=$2
15364 echo "$as_me:$LINENO: checking for $ac_word" >&5
15365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15366 if test "${ac_cv_prog_STRIP+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 if test -n "$STRIP"; then
15370 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15371 else
15372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15373 for as_dir in $PATH
15374 do
15375 IFS=$as_save_IFS
15376 test -z "$as_dir" && as_dir=.
15377 for ac_exec_ext in '' $ac_executable_extensions; do
15378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15379 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15381 break 2
15382 fi
15383 done
15384 done
15385
15386 fi
15387 fi
15388 STRIP=$ac_cv_prog_STRIP
15389 if test -n "$STRIP"; then
15390 echo "$as_me:$LINENO: result: $STRIP" >&5
15391 echo "${ECHO_T}$STRIP" >&6
15392 else
15393 echo "$as_me:$LINENO: result: no" >&5
15394 echo "${ECHO_T}no" >&6
15395 fi
15396
15397 fi
15398 if test -z "$ac_cv_prog_STRIP"; then
15399 ac_ct_STRIP=$STRIP
15400 # Extract the first word of "strip", so it can be a program name with args.
15401 set dummy strip; ac_word=$2
15402 echo "$as_me:$LINENO: checking for $ac_word" >&5
15403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15404 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 if test -n "$ac_ct_STRIP"; then
15408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15409 else
15410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15411 for as_dir in $PATH
15412 do
15413 IFS=$as_save_IFS
15414 test -z "$as_dir" && as_dir=.
15415 for ac_exec_ext in '' $ac_executable_extensions; do
15416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15417 ac_cv_prog_ac_ct_STRIP="strip"
15418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15419 break 2
15420 fi
15421 done
15422 done
15423
15424 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15425 fi
15426 fi
15427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15428 if test -n "$ac_ct_STRIP"; then
15429 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15430 echo "${ECHO_T}$ac_ct_STRIP" >&6
15431 else
15432 echo "$as_me:$LINENO: result: no" >&5
15433 echo "${ECHO_T}no" >&6
15434 fi
15435
15436 STRIP=$ac_ct_STRIP
15437 else
15438 STRIP="$ac_cv_prog_STRIP"
15439 fi
15440
15441
15442 if test "$wxUSE_WINE" = "yes"; then
15443 if test -n "$ac_tool_prefix"; then
15444 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15445 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15446 echo "$as_me:$LINENO: checking for $ac_word" >&5
15447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15448 if test "${ac_cv_prog_WINDRES+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 else
15451 if test -n "$WINDRES"; then
15452 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15453 else
15454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15455 for as_dir in $PATH
15456 do
15457 IFS=$as_save_IFS
15458 test -z "$as_dir" && as_dir=.
15459 for ac_exec_ext in '' $ac_executable_extensions; do
15460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15461 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15463 break 2
15464 fi
15465 done
15466 done
15467
15468 fi
15469 fi
15470 WINDRES=$ac_cv_prog_WINDRES
15471 if test -n "$WINDRES"; then
15472 echo "$as_me:$LINENO: result: $WINDRES" >&5
15473 echo "${ECHO_T}$WINDRES" >&6
15474 else
15475 echo "$as_me:$LINENO: result: no" >&5
15476 echo "${ECHO_T}no" >&6
15477 fi
15478
15479 fi
15480 if test -z "$ac_cv_prog_WINDRES"; then
15481 ac_ct_WINDRES=$WINDRES
15482 # Extract the first word of "wrc", so it can be a program name with args.
15483 set dummy wrc; ac_word=$2
15484 echo "$as_me:$LINENO: checking for $ac_word" >&5
15485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15486 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 if test -n "$ac_ct_WINDRES"; then
15490 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15491 else
15492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15493 for as_dir in $PATH
15494 do
15495 IFS=$as_save_IFS
15496 test -z "$as_dir" && as_dir=.
15497 for ac_exec_ext in '' $ac_executable_extensions; do
15498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15499 ac_cv_prog_ac_ct_WINDRES="wrc"
15500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15501 break 2
15502 fi
15503 done
15504 done
15505
15506 fi
15507 fi
15508 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15509 if test -n "$ac_ct_WINDRES"; then
15510 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15511 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15512 else
15513 echo "$as_me:$LINENO: result: no" >&5
15514 echo "${ECHO_T}no" >&6
15515 fi
15516
15517 WINDRES=$ac_ct_WINDRES
15518 else
15519 WINDRES="$ac_cv_prog_WINDRES"
15520 fi
15521
15522 RESCOMP="$WINDRES"
15523 else
15524 case "${host}" in
15525 *-*-cygwin* | *-*-mingw32* )
15526 if test -n "$ac_tool_prefix"; then
15527 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15528 set dummy ${ac_tool_prefix}windres; ac_word=$2
15529 echo "$as_me:$LINENO: checking for $ac_word" >&5
15530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15531 if test "${ac_cv_prog_WINDRES+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 else
15534 if test -n "$WINDRES"; then
15535 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15536 else
15537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15538 for as_dir in $PATH
15539 do
15540 IFS=$as_save_IFS
15541 test -z "$as_dir" && as_dir=.
15542 for ac_exec_ext in '' $ac_executable_extensions; do
15543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15544 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15546 break 2
15547 fi
15548 done
15549 done
15550
15551 fi
15552 fi
15553 WINDRES=$ac_cv_prog_WINDRES
15554 if test -n "$WINDRES"; then
15555 echo "$as_me:$LINENO: result: $WINDRES" >&5
15556 echo "${ECHO_T}$WINDRES" >&6
15557 else
15558 echo "$as_me:$LINENO: result: no" >&5
15559 echo "${ECHO_T}no" >&6
15560 fi
15561
15562 fi
15563 if test -z "$ac_cv_prog_WINDRES"; then
15564 ac_ct_WINDRES=$WINDRES
15565 # Extract the first word of "windres", so it can be a program name with args.
15566 set dummy windres; ac_word=$2
15567 echo "$as_me:$LINENO: checking for $ac_word" >&5
15568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15569 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15572 if test -n "$ac_ct_WINDRES"; then
15573 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15574 else
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15577 do
15578 IFS=$as_save_IFS
15579 test -z "$as_dir" && as_dir=.
15580 for ac_exec_ext in '' $ac_executable_extensions; do
15581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15582 ac_cv_prog_ac_ct_WINDRES="windres"
15583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15584 break 2
15585 fi
15586 done
15587 done
15588
15589 fi
15590 fi
15591 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15592 if test -n "$ac_ct_WINDRES"; then
15593 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15594 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15595 else
15596 echo "$as_me:$LINENO: result: no" >&5
15597 echo "${ECHO_T}no" >&6
15598 fi
15599
15600 WINDRES=$ac_ct_WINDRES
15601 else
15602 WINDRES="$ac_cv_prog_WINDRES"
15603 fi
15604
15605 RESCOMP="$WINDRES"
15606 if test -n "$ac_tool_prefix"; then
15607 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15608 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15609 echo "$as_me:$LINENO: checking for $ac_word" >&5
15610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15611 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 if test -n "$DLLTOOL"; then
15615 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15616 else
15617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15618 for as_dir in $PATH
15619 do
15620 IFS=$as_save_IFS
15621 test -z "$as_dir" && as_dir=.
15622 for ac_exec_ext in '' $ac_executable_extensions; do
15623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15624 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15626 break 2
15627 fi
15628 done
15629 done
15630
15631 fi
15632 fi
15633 DLLTOOL=$ac_cv_prog_DLLTOOL
15634 if test -n "$DLLTOOL"; then
15635 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15636 echo "${ECHO_T}$DLLTOOL" >&6
15637 else
15638 echo "$as_me:$LINENO: result: no" >&5
15639 echo "${ECHO_T}no" >&6
15640 fi
15641
15642 fi
15643 if test -z "$ac_cv_prog_DLLTOOL"; then
15644 ac_ct_DLLTOOL=$DLLTOOL
15645 # Extract the first word of "dlltool", so it can be a program name with args.
15646 set dummy dlltool; ac_word=$2
15647 echo "$as_me:$LINENO: checking for $ac_word" >&5
15648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15649 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 if test -n "$ac_ct_DLLTOOL"; then
15653 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15654 else
15655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15656 for as_dir in $PATH
15657 do
15658 IFS=$as_save_IFS
15659 test -z "$as_dir" && as_dir=.
15660 for ac_exec_ext in '' $ac_executable_extensions; do
15661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15662 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15664 break 2
15665 fi
15666 done
15667 done
15668
15669 fi
15670 fi
15671 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15672 if test -n "$ac_ct_DLLTOOL"; then
15673 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15674 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15675 else
15676 echo "$as_me:$LINENO: result: no" >&5
15677 echo "${ECHO_T}no" >&6
15678 fi
15679
15680 DLLTOOL=$ac_ct_DLLTOOL
15681 else
15682 DLLTOOL="$ac_cv_prog_DLLTOOL"
15683 fi
15684
15685 ;;
15686 esac
15687 fi
15688
15689 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15690 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15691 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694
15695 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15696 egrep -s GNU > /dev/null); then
15697 wx_cv_prog_makeisgnu="yes"
15698 else
15699 wx_cv_prog_makeisgnu="no"
15700 fi
15701
15702 fi
15703 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15704 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15705
15706 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15707 IF_GNU_MAKE=""
15708 else
15709 IF_GNU_MAKE="#"
15710 fi
15711
15712
15713
15714 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15715 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15716 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15717 if test "${wx_cv_prog_makevpath+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 else
15720
15721 cat - << EOF > confMake
15722 check : file
15723 cp \$? \$@
15724 cp \$? final_file
15725 EOF
15726
15727 if test ! -d sub ; then
15728 mkdir sub
15729 fi
15730 echo dummy > sub/file
15731 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15732 RESULT=$?
15733 rm -f sub/file check final_file confMake
15734 rmdir sub
15735 if test "$RESULT" = 0; then
15736 wx_cv_prog_makevpath="yes"
15737 else
15738 wx_cv_prog_makevpath="no"
15739 fi
15740
15741 fi
15742 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15743 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15744
15745 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15746 { { echo "$as_me:$LINENO: error:
15747 You need a make-utility that is able to use the variable
15748 VPATH correctly.
15749 If your version of make does not support VPATH correctly,
15750 please install GNU-make (possibly as gmake), and start
15751 configure with the following command:
15752 export MAKE=gmake; ./configure for sh-type shells
15753 setenv MAKE gmake; ./configure for csh-type shells
15754 Also please do remember to use gmake in this case every time
15755 you are trying to compile.
15756 " >&5
15757 echo "$as_me: error:
15758 You need a make-utility that is able to use the variable
15759 VPATH correctly.
15760 If your version of make does not support VPATH correctly,
15761 please install GNU-make (possibly as gmake), and start
15762 configure with the following command:
15763 export MAKE=gmake; ./configure for sh-type shells
15764 setenv MAKE gmake; ./configure for csh-type shells
15765 Also please do remember to use gmake in this case every time
15766 you are trying to compile.
15767 " >&2;}
15768 { (exit 1); exit 1; }; }
15769 fi fi
15770 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15771 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15772 LN_S=$as_ln_s
15773 if test "$LN_S" = "ln -s"; then
15774 echo "$as_me:$LINENO: result: yes" >&5
15775 echo "${ECHO_T}yes" >&6
15776 else
15777 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15778 echo "${ECHO_T}no, using $LN_S" >&6
15779 fi
15780
15781
15782
15783
15784 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15785 CXXFLAGS="-qunique $CXXFLAGS"
15786 fi
15787
15788 case "${host}" in
15789 powerpc-*-darwin* )
15790 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15791 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798
15799 int
15800 main ()
15801 {
15802 #ifndef __POWERPC__
15803 choke me for lack of PowerPC
15804 #endif
15805
15806 ;
15807 return 0;
15808 }
15809 _ACEOF
15810 rm -f conftest.$ac_objext
15811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15812 (eval $ac_compile) 2>conftest.er1
15813 ac_status=$?
15814 grep -v '^ *+' conftest.er1 >conftest.err
15815 rm -f conftest.er1
15816 cat conftest.err >&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15828 ac_status=$?
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 echo "$as_me:$LINENO: result: yes" >&5
15832 echo "${ECHO_T}yes" >&6
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15836
15837 echo "$as_me:$LINENO: result: no" >&5
15838 echo "${ECHO_T}no" >&6
15839 cat >>confdefs.h <<\_ACEOF
15840 #define __POWERPC__ 1
15841 _ACEOF
15842
15843
15844 fi
15845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15846 ;;
15847 esac
15848
15849 case "${host}" in
15850 *-*-darwin* )
15851 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15852 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15853 cat >conftest.$ac_ext <<_ACEOF
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 #include <CoreFoundation/CFBase.h>
15860
15861 int
15862 main ()
15863 {
15864
15865 ;
15866 return 0;
15867 }
15868 _ACEOF
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15881 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 echo "$as_me:$LINENO: result: yes" >&5
15891 echo "${ECHO_T}yes" >&6
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 echo "$as_me:$LINENO: result: no" >&5
15897 echo "${ECHO_T}no" >&6
15898 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15899 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15900 cat >conftest.$ac_ext <<_ACEOF
15901 /* confdefs.h. */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 #define __CF_USE_FRAMEWORK_INCLUDES__
15907 #include <CoreFoundation/CFBase.h>
15908
15909 int
15910 main ()
15911 {
15912
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 rm -f conftest.$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>conftest.er1
15920 ac_status=$?
15921 grep -v '^ *+' conftest.er1 >conftest.err
15922 rm -f conftest.er1
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 echo "$as_me:$LINENO: result: yes" >&5
15939 echo "${ECHO_T}yes" >&6
15940 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15941 else
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15944
15945 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15946 See \`config.log' for more details." >&5
15947 echo "$as_me: error: no. CoreFoundation not available.
15948 See \`config.log' for more details." >&2;}
15949 { (exit 1); exit 1; }; }
15950
15951 fi
15952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15953
15954
15955 fi
15956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15957 ;;
15958 esac
15959
15960 wants_win32=0
15961 doesnt_want_win32=0
15962 case "${host}" in
15963 *-*-cygwin*)
15964 if test "$wxUSE_MSW" = 1 ; then
15965 wants_win32=1
15966 else
15967 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15968 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15969 if test "${wx_cv_nocygwin+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979
15980 int
15981 main ()
15982 {
15983
15984 #ifdef __MINGW32__
15985 choke me
15986 #endif
15987
15988 ;
15989 return 0;
15990 }
15991 _ACEOF
15992 rm -f conftest.$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994 (eval $ac_compile) 2>conftest.er1
15995 ac_status=$?
15996 grep -v '^ *+' conftest.er1 >conftest.err
15997 rm -f conftest.er1
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16004 ac_status=$?
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; } &&
16007 { ac_try='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16010 ac_status=$?
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 wx_cv_nocygwin=no
16014 else
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16017
16018 wx_cv_nocygwin=yes
16019
16020 fi
16021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16022
16023
16024 fi
16025 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16026 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16027
16028 if test "$wx_cv_nocygwin" = "yes"; then
16029 wants_win32=1
16030 else
16031 doesnt_want_win32=1
16032 fi
16033 fi
16034 if test "$wants_win32" = 1 ; then
16035 BAKEFILE_FORCE_PLATFORM=win32
16036 fi
16037 ;;
16038 *-*-mingw*)
16039 wants_win32=1
16040 ;;
16041 esac
16042
16043 if test "$wxUSE_WINE" = "yes"; then
16044 wants_win32=1
16045 CC=winegcc
16046 CXX=wineg++
16047 LDFLAGS_GUI="-mwindows"
16048 fi
16049
16050 if test "$wants_win32" = 1 ; then
16051 USE_UNIX=0
16052 USE_WIN32=1
16053 cat >>confdefs.h <<\_ACEOF
16054 #define __WIN32__ 1
16055 _ACEOF
16056
16057 cat >>confdefs.h <<\_ACEOF
16058 #define __WIN95__ 1
16059 _ACEOF
16060
16061 cat >>confdefs.h <<\_ACEOF
16062 #define __WINDOWS__ 1
16063 _ACEOF
16064
16065 cat >>confdefs.h <<\_ACEOF
16066 #define __GNUWIN32__ 1
16067 _ACEOF
16068
16069 cat >>confdefs.h <<\_ACEOF
16070 #define STRICT 1
16071 _ACEOF
16072
16073 fi
16074 if test "$doesnt_want_win32" = 1 ; then
16075 USE_UNIX=1
16076 USE_WIN32=0
16077 fi
16078
16079 if test "$USE_UNIX" = 1 ; then
16080 wxUSE_UNIX=yes
16081 cat >>confdefs.h <<\_ACEOF
16082 #define __UNIX__ 1
16083 _ACEOF
16084
16085 fi
16086
16087 case "${host}" in
16088 *-pc-os2_emx | *-pc-os2-emx )
16089 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16090 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16091 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16092 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095 ac_check_lib_save_LIBS=$LIBS
16096 LIBS="-lcExt $LIBS"
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103
16104 /* Override any gcc2 internal prototype to avoid an error. */
16105 #ifdef __cplusplus
16106 extern "C"
16107 #endif
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16110 char drand48 ();
16111 int
16112 main ()
16113 {
16114 drand48 ();
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest.$ac_objext conftest$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>conftest.er1
16122 ac_status=$?
16123 grep -v '^ *+' conftest.er1 >conftest.err
16124 rm -f conftest.er1
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try='test -s conftest$ac_exeext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_lib_cExt_drand48=yes
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 ac_cv_lib_cExt_drand48=no
16146 fi
16147 rm -f conftest.err conftest.$ac_objext \
16148 conftest$ac_exeext conftest.$ac_ext
16149 LIBS=$ac_check_lib_save_LIBS
16150 fi
16151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16153 if test $ac_cv_lib_cExt_drand48 = yes; then
16154 LIBS="$LIBS -lcExt"
16155 fi
16156
16157 else
16158 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16159 fi
16160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16162 if test "${wx_cv_gccversion+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 else
16165
16166 if test "$cross_compiling" = yes; then
16167 wx_cv_gccversion="EMX2"
16168
16169 else
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176
16177 #include <stdio.h>
16178
16179 int main()
16180 {
16181 FILE *f=fopen("conftestval", "w");
16182 if (!f) exit(1);
16183 fprintf(f,
16184 #if (__GNUC__ < 3)
16185 "EMX2"
16186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16187 "EMX3"
16188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16189 "Innotek5"
16190 #else
16191 "Innotek6"
16192 #endif
16193 );
16194 exit(0);
16195 }
16196
16197 _ACEOF
16198 rm -f conftest$ac_exeext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16200 (eval $ac_link) 2>&5
16201 ac_status=$?
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 wx_cv_gccversion=`cat conftestval`
16210 else
16211 echo "$as_me: program exited with status $ac_status" >&5
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.$ac_ext >&5
16214
16215 ( exit $ac_status )
16216 wx_cv_gccversion="EMX2"
16217 fi
16218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16219 fi
16220
16221 fi
16222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16223 echo "${ECHO_T}$wx_cv_gccversion" >&6
16224 if test "$wx_cv_gccversion" = "EMX2"; then
16225 LIBS="$LIBS -lstdcpp"
16226 LDFLAGS="$LDFLAGS -Zsysv-signals"
16227 else
16228 if test "$wx_cv_gccversion" = "EMX3"; then
16229 LIBS="$LIBS -lstdcxx -lgcc"
16230 LDFLAGS="$LDFLAGS -Zsysv-signals"
16231 else
16232 LIBS="$LIBS -lstdc++"
16233 fi
16234 fi
16235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16238 wxUSE_OMF=yes
16239 enable_omf=yes
16240 fi
16241 ;;
16242 *)
16243
16244 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16245 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16246 if test "${ac_cv_string_strcasecmp+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256
16257 #include <string.h>
16258
16259 int
16260 main ()
16261 {
16262
16263 strcasecmp("foo", "bar");
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext conftest$ac_exeext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16271 (eval $ac_link) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_cv_string_strcasecmp=yes
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_cv_string_strcasecmp=no
16296
16297 fi
16298 rm -f conftest.err conftest.$ac_objext \
16299 conftest$ac_exeext conftest.$ac_ext
16300
16301 fi
16302 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16303 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16304
16305 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16306 cat >>confdefs.h <<\_ACEOF
16307 #define HAVE_STRCASECMP_IN_STRING_H 1
16308 _ACEOF
16309
16310 else
16311 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16312 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16313 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323
16324 #include <strings.h>
16325
16326 int
16327 main ()
16328 {
16329
16330 strcasecmp("foo", "bar");
16331
16332 ;
16333 return 0;
16334 }
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try='test -s conftest$ac_exeext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_strings_strcasecmp=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 ac_cv_strings_strcasecmp=no
16363
16364 fi
16365 rm -f conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16367
16368 fi
16369 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16370 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16371
16372 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16373 cat >>confdefs.h <<\_ACEOF
16374 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16375 _ACEOF
16376
16377 else
16378 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16379 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16380 { (exit 1); exit 1; }; }
16381 fi
16382 fi
16383
16384 ;;
16385 esac
16386
16387
16388 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16389 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16390 if test "${ac_cv_header_stdc+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 #include <stdlib.h>
16400 #include <stdarg.h>
16401 #include <string.h>
16402 #include <float.h>
16403
16404 int
16405 main ()
16406 {
16407
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 rm -f conftest.$ac_objext
16413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16414 (eval $ac_compile) 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16430 ac_status=$?
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_cv_header_stdc=yes
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 ac_cv_header_stdc=no
16439 fi
16440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16441
16442 if test $ac_cv_header_stdc = yes; then
16443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <string.h>
16451
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "memchr" >/dev/null 2>&1; then
16455 :
16456 else
16457 ac_cv_header_stdc=no
16458 fi
16459 rm -f conftest*
16460
16461 fi
16462
16463 if test $ac_cv_header_stdc = yes; then
16464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <stdlib.h>
16472
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "free" >/dev/null 2>&1; then
16476 :
16477 else
16478 ac_cv_header_stdc=no
16479 fi
16480 rm -f conftest*
16481
16482 fi
16483
16484 if test $ac_cv_header_stdc = yes; then
16485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16486 if test "$cross_compiling" = yes; then
16487 :
16488 else
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <ctype.h>
16496 #if ((' ' & 0x0FF) == 0x020)
16497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16499 #else
16500 # define ISLOWER(c) \
16501 (('a' <= (c) && (c) <= 'i') \
16502 || ('j' <= (c) && (c) <= 'r') \
16503 || ('s' <= (c) && (c) <= 'z'))
16504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16505 #endif
16506
16507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16508 int
16509 main ()
16510 {
16511 int i;
16512 for (i = 0; i < 256; i++)
16513 if (XOR (islower (i), ISLOWER (i))
16514 || toupper (i) != TOUPPER (i))
16515 exit(2);
16516 exit (0);
16517 }
16518 _ACEOF
16519 rm -f conftest$ac_exeext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16521 (eval $ac_link) 2>&5
16522 ac_status=$?
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16530 :
16531 else
16532 echo "$as_me: program exited with status $ac_status" >&5
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16535
16536 ( exit $ac_status )
16537 ac_cv_header_stdc=no
16538 fi
16539 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16540 fi
16541 fi
16542 fi
16543 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16544 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16545 if test $ac_cv_header_stdc = yes; then
16546
16547 cat >>confdefs.h <<\_ACEOF
16548 #define STDC_HEADERS 1
16549 _ACEOF
16550
16551 fi
16552
16553 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16564 inttypes.h stdint.h unistd.h
16565 do
16566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16579
16580 #include <$ac_header>
16581 _ACEOF
16582 rm -f conftest.$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 eval "$as_ac_Header=yes"
16604 else
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 eval "$as_ac_Header=no"
16609 fi
16610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16611 fi
16612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16615 cat >>confdefs.h <<_ACEOF
16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16617 _ACEOF
16618
16619 fi
16620
16621 done
16622
16623
16624
16625 for ac_header in stdlib.h
16626 do
16627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16629 echo "$as_me:$LINENO: checking for $ac_header" >&5
16630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16633 fi
16634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16636 else
16637 # Is the header compilable?
16638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16647 #include <$ac_header>
16648 _ACEOF
16649 rm -f conftest.$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16652 ac_status=$?
16653 grep -v '^ *+' conftest.er1 >conftest.err
16654 rm -f conftest.er1
16655 cat conftest.err >&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; } &&
16664 { ac_try='test -s conftest.$ac_objext'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; }; then
16670 ac_header_compiler=yes
16671 else
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675 ac_header_compiler=no
16676 fi
16677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16679 echo "${ECHO_T}$ac_header_compiler" >&6
16680
16681 # Is the header present?
16682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16684 cat >conftest.$ac_ext <<_ACEOF
16685 /* confdefs.h. */
16686 _ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 #include <$ac_header>
16691 _ACEOF
16692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16694 ac_status=$?
16695 grep -v '^ *+' conftest.er1 >conftest.err
16696 rm -f conftest.er1
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } >/dev/null; then
16700 if test -s conftest.err; then
16701 ac_cpp_err=$ac_c_preproc_warn_flag
16702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16703 else
16704 ac_cpp_err=
16705 fi
16706 else
16707 ac_cpp_err=yes
16708 fi
16709 if test -z "$ac_cpp_err"; then
16710 ac_header_preproc=yes
16711 else
16712 echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16714
16715 ac_header_preproc=no
16716 fi
16717 rm -f conftest.err conftest.$ac_ext
16718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16719 echo "${ECHO_T}$ac_header_preproc" >&6
16720
16721 # So? What about this header?
16722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16723 yes:no: )
16724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16728 ac_header_preproc=yes
16729 ;;
16730 no:yes:* )
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16743 (
16744 cat <<\_ASBOX
16745 ## ----------------------------------------- ##
16746 ## Report this to wx-dev@lists.wxwidgets.org ##
16747 ## ----------------------------------------- ##
16748 _ASBOX
16749 ) |
16750 sed "s/^/$as_me: WARNING: /" >&2
16751 ;;
16752 esac
16753 echo "$as_me:$LINENO: checking for $ac_header" >&5
16754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16758 eval "$as_ac_Header=\$ac_header_preproc"
16759 fi
16760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16762
16763 fi
16764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16765 cat >>confdefs.h <<_ACEOF
16766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16767 _ACEOF
16768
16769 fi
16770
16771 done
16772
16773
16774 for ac_header in malloc.h
16775 do
16776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16778 echo "$as_me:$LINENO: checking for $ac_header" >&5
16779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 fi
16783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16785 else
16786 # Is the header compilable?
16787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16796 #include <$ac_header>
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16800 (eval $ac_compile) 2>conftest.er1
16801 ac_status=$?
16802 grep -v '^ *+' conftest.er1 >conftest.err
16803 rm -f conftest.er1
16804 cat conftest.err >&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } &&
16807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; } &&
16813 { ac_try='test -s conftest.$ac_objext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 ac_header_compiler=yes
16820 else
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16823
16824 ac_header_compiler=no
16825 fi
16826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16828 echo "${ECHO_T}$ac_header_compiler" >&6
16829
16830 # Is the header present?
16831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16833 cat >conftest.$ac_ext <<_ACEOF
16834 /* confdefs.h. */
16835 _ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <$ac_header>
16840 _ACEOF
16841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16843 ac_status=$?
16844 grep -v '^ *+' conftest.er1 >conftest.err
16845 rm -f conftest.er1
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } >/dev/null; then
16849 if test -s conftest.err; then
16850 ac_cpp_err=$ac_c_preproc_warn_flag
16851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16852 else
16853 ac_cpp_err=
16854 fi
16855 else
16856 ac_cpp_err=yes
16857 fi
16858 if test -z "$ac_cpp_err"; then
16859 ac_header_preproc=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 ac_header_preproc=no
16865 fi
16866 rm -f conftest.err conftest.$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16868 echo "${ECHO_T}$ac_header_preproc" >&6
16869
16870 # So? What about this header?
16871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16872 yes:no: )
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16877 ac_header_preproc=yes
16878 ;;
16879 no:yes:* )
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16892 (
16893 cat <<\_ASBOX
16894 ## ----------------------------------------- ##
16895 ## Report this to wx-dev@lists.wxwidgets.org ##
16896 ## ----------------------------------------- ##
16897 _ASBOX
16898 ) |
16899 sed "s/^/$as_me: WARNING: /" >&2
16900 ;;
16901 esac
16902 echo "$as_me:$LINENO: checking for $ac_header" >&5
16903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 else
16907 eval "$as_ac_Header=\$ac_header_preproc"
16908 fi
16909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16911
16912 fi
16913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16914 cat >>confdefs.h <<_ACEOF
16915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16916 _ACEOF
16917
16918 fi
16919
16920 done
16921
16922
16923 for ac_header in unistd.h
16924 do
16925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16927 echo "$as_me:$LINENO: checking for $ac_header" >&5
16928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 fi
16932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16934 else
16935 # Is the header compilable?
16936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16938 cat >conftest.$ac_ext <<_ACEOF
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 $ac_includes_default
16945 #include <$ac_header>
16946 _ACEOF
16947 rm -f conftest.$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16950 ac_status=$?
16951 grep -v '^ *+' conftest.er1 >conftest.err
16952 rm -f conftest.er1
16953 cat conftest.err >&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_header_compiler=yes
16969 else
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.$ac_ext >&5
16972
16973 ac_header_compiler=no
16974 fi
16975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16977 echo "${ECHO_T}$ac_header_compiler" >&6
16978
16979 # Is the header present?
16980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 #include <$ac_header>
16989 _ACEOF
16990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } >/dev/null; then
16998 if test -s conftest.err; then
16999 ac_cpp_err=$ac_c_preproc_warn_flag
17000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17001 else
17002 ac_cpp_err=
17003 fi
17004 else
17005 ac_cpp_err=yes
17006 fi
17007 if test -z "$ac_cpp_err"; then
17008 ac_header_preproc=yes
17009 else
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17012
17013 ac_header_preproc=no
17014 fi
17015 rm -f conftest.err conftest.$ac_ext
17016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17017 echo "${ECHO_T}$ac_header_preproc" >&6
17018
17019 # So? What about this header?
17020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17021 yes:no: )
17022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17026 ac_header_preproc=yes
17027 ;;
17028 no:yes:* )
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17041 (
17042 cat <<\_ASBOX
17043 ## ----------------------------------------- ##
17044 ## Report this to wx-dev@lists.wxwidgets.org ##
17045 ## ----------------------------------------- ##
17046 _ASBOX
17047 ) |
17048 sed "s/^/$as_me: WARNING: /" >&2
17049 ;;
17050 esac
17051 echo "$as_me:$LINENO: checking for $ac_header" >&5
17052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 else
17056 eval "$as_ac_Header=\$ac_header_preproc"
17057 fi
17058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17060
17061 fi
17062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17063 cat >>confdefs.h <<_ACEOF
17064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17065 _ACEOF
17066
17067 fi
17068
17069 done
17070
17071
17072 for ac_header in wchar.h
17073 do
17074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17076 echo "$as_me:$LINENO: checking for $ac_header" >&5
17077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 fi
17081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17083 else
17084 # Is the header compilable?
17085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17087 cat >conftest.$ac_ext <<_ACEOF
17088 /* confdefs.h. */
17089 _ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17094 #include <$ac_header>
17095 _ACEOF
17096 rm -f conftest.$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098 (eval $ac_compile) 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } &&
17105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try='test -s conftest.$ac_objext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_header_compiler=yes
17118 else
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17121
17122 ac_header_compiler=no
17123 fi
17124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17126 echo "${ECHO_T}$ac_header_compiler" >&6
17127
17128 # Is the header present?
17129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17131 cat >conftest.$ac_ext <<_ACEOF
17132 /* confdefs.h. */
17133 _ACEOF
17134 cat confdefs.h >>conftest.$ac_ext
17135 cat >>conftest.$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17137 #include <$ac_header>
17138 _ACEOF
17139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } >/dev/null; then
17147 if test -s conftest.err; then
17148 ac_cpp_err=$ac_c_preproc_warn_flag
17149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17150 else
17151 ac_cpp_err=
17152 fi
17153 else
17154 ac_cpp_err=yes
17155 fi
17156 if test -z "$ac_cpp_err"; then
17157 ac_header_preproc=yes
17158 else
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17161
17162 ac_header_preproc=no
17163 fi
17164 rm -f conftest.err conftest.$ac_ext
17165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17166 echo "${ECHO_T}$ac_header_preproc" >&6
17167
17168 # So? What about this header?
17169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17170 yes:no: )
17171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17175 ac_header_preproc=yes
17176 ;;
17177 no:yes:* )
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17190 (
17191 cat <<\_ASBOX
17192 ## ----------------------------------------- ##
17193 ## Report this to wx-dev@lists.wxwidgets.org ##
17194 ## ----------------------------------------- ##
17195 _ASBOX
17196 ) |
17197 sed "s/^/$as_me: WARNING: /" >&2
17198 ;;
17199 esac
17200 echo "$as_me:$LINENO: checking for $ac_header" >&5
17201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205 eval "$as_ac_Header=\$ac_header_preproc"
17206 fi
17207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17209
17210 fi
17211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17212 cat >>confdefs.h <<_ACEOF
17213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17214 _ACEOF
17215
17216 fi
17217
17218 done
17219
17220
17221 if test "$ac_cv_header_wchar_h" != "yes"; then
17222
17223 for ac_header in wcstr.h
17224 do
17225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17227 echo "$as_me:$LINENO: checking for $ac_header" >&5
17228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 fi
17232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17234 else
17235 # Is the header compilable?
17236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17238 cat >conftest.$ac_ext <<_ACEOF
17239 /* confdefs.h. */
17240 _ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244 $ac_includes_default
17245 #include <$ac_header>
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; } &&
17262 { ac_try='test -s conftest.$ac_objext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 ac_header_compiler=yes
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17272
17273 ac_header_compiler=no
17274 fi
17275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17277 echo "${ECHO_T}$ac_header_compiler" >&6
17278
17279 # Is the header present?
17280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17282 cat >conftest.$ac_ext <<_ACEOF
17283 /* confdefs.h. */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 #include <$ac_header>
17289 _ACEOF
17290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } >/dev/null; then
17298 if test -s conftest.err; then
17299 ac_cpp_err=$ac_c_preproc_warn_flag
17300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17301 else
17302 ac_cpp_err=
17303 fi
17304 else
17305 ac_cpp_err=yes
17306 fi
17307 if test -z "$ac_cpp_err"; then
17308 ac_header_preproc=yes
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17312
17313 ac_header_preproc=no
17314 fi
17315 rm -f conftest.err conftest.$ac_ext
17316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17317 echo "${ECHO_T}$ac_header_preproc" >&6
17318
17319 # So? What about this header?
17320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17321 yes:no: )
17322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17326 ac_header_preproc=yes
17327 ;;
17328 no:yes:* )
17329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17341 (
17342 cat <<\_ASBOX
17343 ## ----------------------------------------- ##
17344 ## Report this to wx-dev@lists.wxwidgets.org ##
17345 ## ----------------------------------------- ##
17346 _ASBOX
17347 ) |
17348 sed "s/^/$as_me: WARNING: /" >&2
17349 ;;
17350 esac
17351 echo "$as_me:$LINENO: checking for $ac_header" >&5
17352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 else
17356 eval "$as_ac_Header=\$ac_header_preproc"
17357 fi
17358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17360
17361 fi
17362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17365 _ACEOF
17366
17367 fi
17368
17369 done
17370
17371 fi
17372
17373
17374 for ac_header in fnmatch.h
17375 do
17376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17378 echo "$as_me:$LINENO: checking for $ac_header" >&5
17379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 fi
17383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17385 else
17386 # Is the header compilable?
17387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 $ac_includes_default
17396 #include <$ac_header>
17397 _ACEOF
17398 rm -f conftest.$ac_objext
17399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17400 (eval $ac_compile) 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } &&
17407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 (eval $ac_try) 2>&5
17410 ac_status=$?
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; } &&
17413 { ac_try='test -s conftest.$ac_objext'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17416 ac_status=$?
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; }; then
17419 ac_header_compiler=yes
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 ac_header_compiler=no
17425 fi
17426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17428 echo "${ECHO_T}$ac_header_compiler" >&6
17429
17430 # Is the header present?
17431 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 #include <$ac_header>
17440 _ACEOF
17441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17443 ac_status=$?
17444 grep -v '^ *+' conftest.er1 >conftest.err
17445 rm -f conftest.er1
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } >/dev/null; then
17449 if test -s conftest.err; then
17450 ac_cpp_err=$ac_c_preproc_warn_flag
17451 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17452 else
17453 ac_cpp_err=
17454 fi
17455 else
17456 ac_cpp_err=yes
17457 fi
17458 if test -z "$ac_cpp_err"; then
17459 ac_header_preproc=yes
17460 else
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17463
17464 ac_header_preproc=no
17465 fi
17466 rm -f conftest.err conftest.$ac_ext
17467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17468 echo "${ECHO_T}$ac_header_preproc" >&6
17469
17470 # So? What about this header?
17471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17472 yes:no: )
17473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17474 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17476 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17477 ac_header_preproc=yes
17478 ;;
17479 no:yes:* )
17480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17484 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17485 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17486 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17487 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17491 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17492 (
17493 cat <<\_ASBOX
17494 ## ----------------------------------------- ##
17495 ## Report this to wx-dev@lists.wxwidgets.org ##
17496 ## ----------------------------------------- ##
17497 _ASBOX
17498 ) |
17499 sed "s/^/$as_me: WARNING: /" >&2
17500 ;;
17501 esac
17502 echo "$as_me:$LINENO: checking for $ac_header" >&5
17503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 else
17507 eval "$as_ac_Header=\$ac_header_preproc"
17508 fi
17509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17511
17512 fi
17513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17514 cat >>confdefs.h <<_ACEOF
17515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17516 _ACEOF
17517
17518 fi
17519
17520 done
17521
17522
17523
17524 for ac_header in langinfo.h
17525 do
17526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17528 echo "$as_me:$LINENO: checking for $ac_header" >&5
17529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 fi
17533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17535 else
17536 # Is the header compilable?
17537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17539 cat >conftest.$ac_ext <<_ACEOF
17540 /* confdefs.h. */
17541 _ACEOF
17542 cat confdefs.h >>conftest.$ac_ext
17543 cat >>conftest.$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17545 $ac_includes_default
17546 #include <$ac_header>
17547 _ACEOF
17548 rm -f conftest.$ac_objext
17549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17550 (eval $ac_compile) 2>conftest.er1
17551 ac_status=$?
17552 grep -v '^ *+' conftest.er1 >conftest.err
17553 rm -f conftest.er1
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } &&
17557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17560 ac_status=$?
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; } &&
17563 { ac_try='test -s conftest.$ac_objext'
17564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17565 (eval $ac_try) 2>&5
17566 ac_status=$?
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; }; then
17569 ac_header_compiler=yes
17570 else
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.$ac_ext >&5
17573
17574 ac_header_compiler=no
17575 fi
17576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17578 echo "${ECHO_T}$ac_header_compiler" >&6
17579
17580 # Is the header present?
17581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17583 cat >conftest.$ac_ext <<_ACEOF
17584 /* confdefs.h. */
17585 _ACEOF
17586 cat confdefs.h >>conftest.$ac_ext
17587 cat >>conftest.$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 #include <$ac_header>
17590 _ACEOF
17591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } >/dev/null; then
17599 if test -s conftest.err; then
17600 ac_cpp_err=$ac_c_preproc_warn_flag
17601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17602 else
17603 ac_cpp_err=
17604 fi
17605 else
17606 ac_cpp_err=yes
17607 fi
17608 if test -z "$ac_cpp_err"; then
17609 ac_header_preproc=yes
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17613
17614 ac_header_preproc=no
17615 fi
17616 rm -f conftest.err conftest.$ac_ext
17617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17618 echo "${ECHO_T}$ac_header_preproc" >&6
17619
17620 # So? What about this header?
17621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17622 yes:no: )
17623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17627 ac_header_preproc=yes
17628 ;;
17629 no:yes:* )
17630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17642 (
17643 cat <<\_ASBOX
17644 ## ----------------------------------------- ##
17645 ## Report this to wx-dev@lists.wxwidgets.org ##
17646 ## ----------------------------------------- ##
17647 _ASBOX
17648 ) |
17649 sed "s/^/$as_me: WARNING: /" >&2
17650 ;;
17651 esac
17652 echo "$as_me:$LINENO: checking for $ac_header" >&5
17653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 else
17657 eval "$as_ac_Header=\$ac_header_preproc"
17658 fi
17659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17661
17662 fi
17663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17664 cat >>confdefs.h <<_ACEOF
17665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17666 _ACEOF
17667
17668 fi
17669
17670 done
17671
17672
17673 case "${host}" in
17674 *-pc-os2_emx | *-pc-os2-emx )
17675 if test $ac_cv_header_langinfo_h = "yes" \
17676 -a \( "$wx_cv_gccversion" = "EMX2" \
17677 -o "$wx_cv_gccversion" = "EMX3" \
17678 -o "$wx_cv_gccversion" = "Innotek5" \); then
17679 LIBS="$LIBS -lintl"
17680 fi
17681 ;;
17682 esac
17683
17684 if test "$USE_UNIX" = 1 ; then
17685
17686 for ac_header in sys/select.h
17687 do
17688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17690 echo "$as_me:$LINENO: checking for $ac_header" >&5
17691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 fi
17695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17697 else
17698 # Is the header compilable?
17699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 $ac_includes_default
17708 #include <$ac_header>
17709 _ACEOF
17710 rm -f conftest.$ac_objext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17712 (eval $ac_compile) 2>conftest.er1
17713 ac_status=$?
17714 grep -v '^ *+' conftest.er1 >conftest.err
17715 rm -f conftest.er1
17716 cat conftest.err >&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; } &&
17725 { ac_try='test -s conftest.$ac_objext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17728 ac_status=$?
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17731 ac_header_compiler=yes
17732 else
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17735
17736 ac_header_compiler=no
17737 fi
17738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17740 echo "${ECHO_T}$ac_header_compiler" >&6
17741
17742 # Is the header present?
17743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17745 cat >conftest.$ac_ext <<_ACEOF
17746 /* confdefs.h. */
17747 _ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751 #include <$ac_header>
17752 _ACEOF
17753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } >/dev/null; then
17761 if test -s conftest.err; then
17762 ac_cpp_err=$ac_c_preproc_warn_flag
17763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17764 else
17765 ac_cpp_err=
17766 fi
17767 else
17768 ac_cpp_err=yes
17769 fi
17770 if test -z "$ac_cpp_err"; then
17771 ac_header_preproc=yes
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 ac_header_preproc=no
17777 fi
17778 rm -f conftest.err conftest.$ac_ext
17779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17780 echo "${ECHO_T}$ac_header_preproc" >&6
17781
17782 # So? What about this header?
17783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17784 yes:no: )
17785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17789 ac_header_preproc=yes
17790 ;;
17791 no:yes:* )
17792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17804 (
17805 cat <<\_ASBOX
17806 ## ----------------------------------------- ##
17807 ## Report this to wx-dev@lists.wxwidgets.org ##
17808 ## ----------------------------------------- ##
17809 _ASBOX
17810 ) |
17811 sed "s/^/$as_me: WARNING: /" >&2
17812 ;;
17813 esac
17814 echo "$as_me:$LINENO: checking for $ac_header" >&5
17815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 eval "$as_ac_Header=\$ac_header_preproc"
17820 fi
17821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17823
17824 fi
17825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17826 cat >>confdefs.h <<_ACEOF
17827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17828 _ACEOF
17829
17830 fi
17831
17832 done
17833
17834 fi
17835
17836
17837 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17838 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17839 if test "${ac_cv_c_const+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848
17849 int
17850 main ()
17851 {
17852 /* FIXME: Include the comments suggested by Paul. */
17853 #ifndef __cplusplus
17854 /* Ultrix mips cc rejects this. */
17855 typedef int charset[2];
17856 const charset x;
17857 /* SunOS 4.1.1 cc rejects this. */
17858 char const *const *ccp;
17859 char **p;
17860 /* NEC SVR4.0.2 mips cc rejects this. */
17861 struct point {int x, y;};
17862 static struct point const zero = {0,0};
17863 /* AIX XL C 1.02.0.0 rejects this.
17864 It does not let you subtract one const X* pointer from another in
17865 an arm of an if-expression whose if-part is not a constant
17866 expression */
17867 const char *g = "string";
17868 ccp = &g + (g ? g-g : 0);
17869 /* HPUX 7.0 cc rejects these. */
17870 ++ccp;
17871 p = (char**) ccp;
17872 ccp = (char const *const *) p;
17873 { /* SCO 3.2v4 cc rejects this. */
17874 char *t;
17875 char const *s = 0 ? (char *) 0 : (char const *) 0;
17876
17877 *t++ = 0;
17878 }
17879 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17880 int x[] = {25, 17};
17881 const int *foo = &x[0];
17882 ++foo;
17883 }
17884 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17885 typedef const int *iptr;
17886 iptr p = 0;
17887 ++p;
17888 }
17889 { /* AIX XL C 1.02.0.0 rejects this saying
17890 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17891 struct s { int j; const int *ap[3]; };
17892 struct s *b; b->j = 5;
17893 }
17894 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17895 const int foo = 10;
17896 }
17897 #endif
17898
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 rm -f conftest.$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17906 ac_status=$?
17907 grep -v '^ *+' conftest.er1 >conftest.err
17908 rm -f conftest.er1
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17915 ac_status=$?
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try='test -s conftest.$ac_objext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_cv_c_const=yes
17925 else
17926 echo "$as_me: failed program was:" >&5
17927 sed 's/^/| /' conftest.$ac_ext >&5
17928
17929 ac_cv_c_const=no
17930 fi
17931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17932 fi
17933 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17934 echo "${ECHO_T}$ac_cv_c_const" >&6
17935 if test $ac_cv_c_const = no; then
17936
17937 cat >>confdefs.h <<\_ACEOF
17938 #define const
17939 _ACEOF
17940
17941 fi
17942
17943 echo "$as_me:$LINENO: checking for inline" >&5
17944 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17945 if test "${ac_cv_c_inline+set}" = set; then
17946 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 else
17948 ac_cv_c_inline=no
17949 for ac_kw in inline __inline__ __inline; do
17950 cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h. */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 #ifndef __cplusplus
17957 typedef int foo_t;
17958 static $ac_kw foo_t static_foo () {return 0; }
17959 $ac_kw foo_t foo () {return 0; }
17960 #endif
17961
17962 _ACEOF
17963 rm -f conftest.$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; } &&
17978 { ac_try='test -s conftest.$ac_objext'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; }; then
17984 ac_cv_c_inline=$ac_kw; break
17985 else
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17988
17989 fi
17990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17991 done
17992
17993 fi
17994 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17995 echo "${ECHO_T}$ac_cv_c_inline" >&6
17996
17997
17998 case $ac_cv_c_inline in
17999 inline | yes) ;;
18000 *)
18001 case $ac_cv_c_inline in
18002 no) ac_val=;;
18003 *) ac_val=$ac_cv_c_inline;;
18004 esac
18005 cat >>confdefs.h <<_ACEOF
18006 #ifndef __cplusplus
18007 #define inline $ac_val
18008 #endif
18009 _ACEOF
18010 ;;
18011 esac
18012
18013
18014 echo "$as_me:$LINENO: checking for char" >&5
18015 echo $ECHO_N "checking for char... $ECHO_C" >&6
18016 if test "${ac_cv_type_char+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 $ac_includes_default
18026 int
18027 main ()
18028 {
18029 if ((char *) 0)
18030 return 0;
18031 if (sizeof (char))
18032 return 0;
18033 ;
18034 return 0;
18035 }
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18039 (eval $ac_compile) 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; } &&
18052 { ac_try='test -s conftest.$ac_objext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18055 ac_status=$?
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 ac_cv_type_char=yes
18059 else
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18062
18063 ac_cv_type_char=no
18064 fi
18065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18066 fi
18067 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18068 echo "${ECHO_T}$ac_cv_type_char" >&6
18069
18070 echo "$as_me:$LINENO: checking size of char" >&5
18071 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18072 if test "${ac_cv_sizeof_char+set}" = set; then
18073 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 else
18075 if test "$ac_cv_type_char" = yes; then
18076 # The cast to unsigned long works around a bug in the HP C Compiler
18077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18079 # This bug is HP SR number 8606223364.
18080 if test "$cross_compiling" = yes; then
18081 # Depending upon the size, compute the lo and hi bounds.
18082 cat >conftest.$ac_ext <<_ACEOF
18083 /* confdefs.h. */
18084 _ACEOF
18085 cat confdefs.h >>conftest.$ac_ext
18086 cat >>conftest.$ac_ext <<_ACEOF
18087 /* end confdefs.h. */
18088 $ac_includes_default
18089 int
18090 main ()
18091 {
18092 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18093 test_array [0] = 0
18094
18095 ;
18096 return 0;
18097 }
18098 _ACEOF
18099 rm -f conftest.$ac_objext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18101 (eval $ac_compile) 2>conftest.er1
18102 ac_status=$?
18103 grep -v '^ *+' conftest.er1 >conftest.err
18104 rm -f conftest.er1
18105 cat conftest.err >&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; } &&
18114 { ac_try='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_lo=0 ac_mid=0
18121 while :; do
18122 cat >conftest.$ac_ext <<_ACEOF
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 $ac_includes_default
18129 int
18130 main ()
18131 {
18132 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18133 test_array [0] = 0
18134
18135 ;
18136 return 0;
18137 }
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18141 (eval $ac_compile) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18151 ac_status=$?
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi=$ac_mid; break
18161 else
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.$ac_ext >&5
18164
18165 ac_lo=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18167 ac_lo= ac_hi=
18168 break
18169 fi
18170 ac_mid=`expr 2 '*' $ac_mid + 1`
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173 done
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18185 int
18186 main ()
18187 {
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18189 test_array [0] = 0
18190
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18207 ac_status=$?
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18213 ac_status=$?
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_hi=-1 ac_mid=-1
18217 while :; do
18218 cat >conftest.$ac_ext <<_ACEOF
18219 /* confdefs.h. */
18220 _ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 $ac_includes_default
18225 int
18226 main ()
18227 {
18228 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18229 test_array [0] = 0
18230
18231 ;
18232 return 0;
18233 }
18234 _ACEOF
18235 rm -f conftest.$ac_objext
18236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18237 (eval $ac_compile) 2>conftest.er1
18238 ac_status=$?
18239 grep -v '^ *+' conftest.er1 >conftest.err
18240 rm -f conftest.er1
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } &&
18244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18247 ac_status=$?
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; } &&
18250 { ac_try='test -s conftest.$ac_objext'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18253 ac_status=$?
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; }; then
18256 ac_lo=$ac_mid; break
18257 else
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.$ac_ext >&5
18260
18261 ac_hi=`expr '(' $ac_mid ')' - 1`
18262 if test $ac_mid -le $ac_hi; then
18263 ac_lo= ac_hi=
18264 break
18265 fi
18266 ac_mid=`expr 2 '*' $ac_mid`
18267 fi
18268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18269 done
18270 else
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18273
18274 ac_lo= ac_hi=
18275 fi
18276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 # Binary search between lo and hi bounds.
18280 while test "x$ac_lo" != "x$ac_hi"; do
18281 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18282 cat >conftest.$ac_ext <<_ACEOF
18283 /* confdefs.h. */
18284 _ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18289 int
18290 main ()
18291 {
18292 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18293 test_array [0] = 0
18294
18295 ;
18296 return 0;
18297 }
18298 _ACEOF
18299 rm -f conftest.$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try='test -s conftest.$ac_objext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18320 ac_hi=$ac_mid
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18324
18325 ac_lo=`expr '(' $ac_mid ')' + 1`
18326 fi
18327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18328 done
18329 case $ac_lo in
18330 ?*) ac_cv_sizeof_char=$ac_lo;;
18331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18332 See \`config.log' for more details." >&5
18333 echo "$as_me: error: cannot compute sizeof (char), 77
18334 See \`config.log' for more details." >&2;}
18335 { (exit 1); exit 1; }; } ;;
18336 esac
18337 else
18338 if test "$cross_compiling" = yes; then
18339 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18340 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18341 { (exit 1); exit 1; }; }
18342 else
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 $ac_includes_default
18350 long longval () { return (long) (sizeof (char)); }
18351 unsigned long ulongval () { return (long) (sizeof (char)); }
18352 #include <stdio.h>
18353 #include <stdlib.h>
18354 int
18355 main ()
18356 {
18357
18358 FILE *f = fopen ("conftest.val", "w");
18359 if (! f)
18360 exit (1);
18361 if (((long) (sizeof (char))) < 0)
18362 {
18363 long i = longval ();
18364 if (i != ((long) (sizeof (char))))
18365 exit (1);
18366 fprintf (f, "%ld\n", i);
18367 }
18368 else
18369 {
18370 unsigned long i = ulongval ();
18371 if (i != ((long) (sizeof (char))))
18372 exit (1);
18373 fprintf (f, "%lu\n", i);
18374 }
18375 exit (ferror (f) || fclose (f) != 0);
18376
18377 ;
18378 return 0;
18379 }
18380 _ACEOF
18381 rm -f conftest$ac_exeext
18382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18383 (eval $ac_link) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_cv_sizeof_char=`cat conftest.val`
18393 else
18394 echo "$as_me: program exited with status $ac_status" >&5
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398 ( exit $ac_status )
18399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18400 See \`config.log' for more details." >&5
18401 echo "$as_me: error: cannot compute sizeof (char), 77
18402 See \`config.log' for more details." >&2;}
18403 { (exit 1); exit 1; }; }
18404 fi
18405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18406 fi
18407 fi
18408 rm -f conftest.val
18409 else
18410 ac_cv_sizeof_char=0
18411 fi
18412 fi
18413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18414 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18415 cat >>confdefs.h <<_ACEOF
18416 #define SIZEOF_CHAR $ac_cv_sizeof_char
18417 _ACEOF
18418
18419
18420 echo "$as_me:$LINENO: checking for short" >&5
18421 echo $ECHO_N "checking for short... $ECHO_C" >&6
18422 if test "${ac_cv_type_short+set}" = set; then
18423 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 else
18425 cat >conftest.$ac_ext <<_ACEOF
18426 /* confdefs.h. */
18427 _ACEOF
18428 cat confdefs.h >>conftest.$ac_ext
18429 cat >>conftest.$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 $ac_includes_default
18432 int
18433 main ()
18434 {
18435 if ((short *) 0)
18436 return 0;
18437 if (sizeof (short))
18438 return 0;
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18445 (eval $ac_compile) 2>conftest.er1
18446 ac_status=$?
18447 grep -v '^ *+' conftest.er1 >conftest.err
18448 rm -f conftest.er1
18449 cat conftest.err >&5
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); } &&
18452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18455 ac_status=$?
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; } &&
18458 { ac_try='test -s conftest.$ac_objext'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; }; then
18464 ac_cv_type_short=yes
18465 else
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.$ac_ext >&5
18468
18469 ac_cv_type_short=no
18470 fi
18471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18472 fi
18473 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18474 echo "${ECHO_T}$ac_cv_type_short" >&6
18475
18476 echo "$as_me:$LINENO: checking size of short" >&5
18477 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18478 if test "${ac_cv_sizeof_short+set}" = set; then
18479 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 else
18481 if test "$ac_cv_type_short" = yes; then
18482 # The cast to unsigned long works around a bug in the HP C Compiler
18483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18485 # This bug is HP SR number 8606223364.
18486 if test "$cross_compiling" = yes; then
18487 # Depending upon the size, compute the lo and hi bounds.
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 $ac_includes_default
18495 int
18496 main ()
18497 {
18498 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18499 test_array [0] = 0
18500
18501 ;
18502 return 0;
18503 }
18504 _ACEOF
18505 rm -f conftest.$ac_objext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18507 (eval $ac_compile) 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 ac_lo=0 ac_mid=0
18527 while :; do
18528 cat >conftest.$ac_ext <<_ACEOF
18529 /* confdefs.h. */
18530 _ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 $ac_includes_default
18535 int
18536 main ()
18537 {
18538 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18539 test_array [0] = 0
18540
18541 ;
18542 return 0;
18543 }
18544 _ACEOF
18545 rm -f conftest.$ac_objext
18546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>conftest.er1
18548 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18557 ac_status=$?
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest.$ac_objext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18563 ac_status=$?
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18566 ac_hi=$ac_mid; break
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 ac_lo=`expr $ac_mid + 1`
18572 if test $ac_lo -le $ac_mid; then
18573 ac_lo= ac_hi=
18574 break
18575 fi
18576 ac_mid=`expr 2 '*' $ac_mid + 1`
18577 fi
18578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18579 done
18580 else
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18583
18584 cat >conftest.$ac_ext <<_ACEOF
18585 /* confdefs.h. */
18586 _ACEOF
18587 cat confdefs.h >>conftest.$ac_ext
18588 cat >>conftest.$ac_ext <<_ACEOF
18589 /* end confdefs.h. */
18590 $ac_includes_default
18591 int
18592 main ()
18593 {
18594 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18595 test_array [0] = 0
18596
18597 ;
18598 return 0;
18599 }
18600 _ACEOF
18601 rm -f conftest.$ac_objext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18603 (eval $ac_compile) 2>conftest.er1
18604 ac_status=$?
18605 grep -v '^ *+' conftest.er1 >conftest.err
18606 rm -f conftest.er1
18607 cat conftest.err >&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); } &&
18610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18613 ac_status=$?
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; } &&
18616 { ac_try='test -s conftest.$ac_objext'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; }; then
18622 ac_hi=-1 ac_mid=-1
18623 while :; do
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 $ac_includes_default
18631 int
18632 main ()
18633 {
18634 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18635 test_array [0] = 0
18636
18637 ;
18638 return 0;
18639 }
18640 _ACEOF
18641 rm -f conftest.$ac_objext
18642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18643 (eval $ac_compile) 2>conftest.er1
18644 ac_status=$?
18645 grep -v '^ *+' conftest.er1 >conftest.err
18646 rm -f conftest.er1
18647 cat conftest.err >&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18652 (eval $ac_try) 2>&5
18653 ac_status=$?
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try='test -s conftest.$ac_objext'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18659 ac_status=$?
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 ac_lo=$ac_mid; break
18663 else
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.$ac_ext >&5
18666
18667 ac_hi=`expr '(' $ac_mid ')' - 1`
18668 if test $ac_mid -le $ac_hi; then
18669 ac_lo= ac_hi=
18670 break
18671 fi
18672 ac_mid=`expr 2 '*' $ac_mid`
18673 fi
18674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18675 done
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18679
18680 ac_lo= ac_hi=
18681 fi
18682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18683 fi
18684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18685 # Binary search between lo and hi bounds.
18686 while test "x$ac_lo" != "x$ac_hi"; do
18687 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 $ac_includes_default
18695 int
18696 main ()
18697 {
18698 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18699 test_array [0] = 0
18700
18701 ;
18702 return 0;
18703 }
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18707 (eval $ac_compile) 2>conftest.er1
18708 ac_status=$?
18709 grep -v '^ *+' conftest.er1 >conftest.err
18710 rm -f conftest.er1
18711 cat conftest.err >&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } &&
18714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18716 (eval $ac_try) 2>&5
18717 ac_status=$?
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); }; } &&
18720 { ac_try='test -s conftest.$ac_objext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18723 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then
18726 ac_hi=$ac_mid
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 ac_lo=`expr '(' $ac_mid ')' + 1`
18732 fi
18733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18734 done
18735 case $ac_lo in
18736 ?*) ac_cv_sizeof_short=$ac_lo;;
18737 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18738 See \`config.log' for more details." >&5
18739 echo "$as_me: error: cannot compute sizeof (short), 77
18740 See \`config.log' for more details." >&2;}
18741 { (exit 1); exit 1; }; } ;;
18742 esac
18743 else
18744 if test "$cross_compiling" = yes; then
18745 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18746 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18747 { (exit 1); exit 1; }; }
18748 else
18749 cat >conftest.$ac_ext <<_ACEOF
18750 /* confdefs.h. */
18751 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 $ac_includes_default
18756 long longval () { return (long) (sizeof (short)); }
18757 unsigned long ulongval () { return (long) (sizeof (short)); }
18758 #include <stdio.h>
18759 #include <stdlib.h>
18760 int
18761 main ()
18762 {
18763
18764 FILE *f = fopen ("conftest.val", "w");
18765 if (! f)
18766 exit (1);
18767 if (((long) (sizeof (short))) < 0)
18768 {
18769 long i = longval ();
18770 if (i != ((long) (sizeof (short))))
18771 exit (1);
18772 fprintf (f, "%ld\n", i);
18773 }
18774 else
18775 {
18776 unsigned long i = ulongval ();
18777 if (i != ((long) (sizeof (short))))
18778 exit (1);
18779 fprintf (f, "%lu\n", i);
18780 }
18781 exit (ferror (f) || fclose (f) != 0);
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest$ac_exeext
18788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18789 (eval $ac_link) 2>&5
18790 ac_status=$?
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_cv_sizeof_short=`cat conftest.val`
18799 else
18800 echo "$as_me: program exited with status $ac_status" >&5
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.$ac_ext >&5
18803
18804 ( exit $ac_status )
18805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18806 See \`config.log' for more details." >&5
18807 echo "$as_me: error: cannot compute sizeof (short), 77
18808 See \`config.log' for more details." >&2;}
18809 { (exit 1); exit 1; }; }
18810 fi
18811 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18812 fi
18813 fi
18814 rm -f conftest.val
18815 else
18816 ac_cv_sizeof_short=0
18817 fi
18818 fi
18819 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18820 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18821 cat >>confdefs.h <<_ACEOF
18822 #define SIZEOF_SHORT $ac_cv_sizeof_short
18823 _ACEOF
18824
18825
18826 echo "$as_me:$LINENO: checking for void *" >&5
18827 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18828 if test "${ac_cv_type_void_p+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 $ac_includes_default
18838 int
18839 main ()
18840 {
18841 if ((void * *) 0)
18842 return 0;
18843 if (sizeof (void *))
18844 return 0;
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest.$ac_objext
18850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18851 (eval $ac_compile) 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } &&
18858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18861 ac_status=$?
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; } &&
18864 { ac_try='test -s conftest.$ac_objext'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18867 ac_status=$?
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; }; then
18870 ac_cv_type_void_p=yes
18871 else
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 ac_cv_type_void_p=no
18876 fi
18877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18878 fi
18879 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18880 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18881
18882 echo "$as_me:$LINENO: checking size of void *" >&5
18883 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18884 if test "${ac_cv_sizeof_void_p+set}" = set; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18886 else
18887 if test "$ac_cv_type_void_p" = yes; then
18888 # The cast to unsigned long works around a bug in the HP C Compiler
18889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18891 # This bug is HP SR number 8606223364.
18892 if test "$cross_compiling" = yes; then
18893 # Depending upon the size, compute the lo and hi bounds.
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 $ac_includes_default
18901 int
18902 main ()
18903 {
18904 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18905 test_array [0] = 0
18906
18907 ;
18908 return 0;
18909 }
18910 _ACEOF
18911 rm -f conftest.$ac_objext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18913 (eval $ac_compile) 2>conftest.er1
18914 ac_status=$?
18915 grep -v '^ *+' conftest.er1 >conftest.err
18916 rm -f conftest.er1
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } &&
18920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; } &&
18926 { ac_try='test -s conftest.$ac_objext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18932 ac_lo=0 ac_mid=0
18933 while :; do
18934 cat >conftest.$ac_ext <<_ACEOF
18935 /* confdefs.h. */
18936 _ACEOF
18937 cat confdefs.h >>conftest.$ac_ext
18938 cat >>conftest.$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18940 $ac_includes_default
18941 int
18942 main ()
18943 {
18944 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18945 test_array [0] = 0
18946
18947 ;
18948 return 0;
18949 }
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18954 ac_status=$?
18955 grep -v '^ *+' conftest.er1 >conftest.err
18956 rm -f conftest.er1
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try='test -s conftest.$ac_objext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18972 ac_hi=$ac_mid; break
18973 else
18974 echo "$as_me: failed program was:" >&5
18975 sed 's/^/| /' conftest.$ac_ext >&5
18976
18977 ac_lo=`expr $ac_mid + 1`
18978 if test $ac_lo -le $ac_mid; then
18979 ac_lo= ac_hi=
18980 break
18981 fi
18982 ac_mid=`expr 2 '*' $ac_mid + 1`
18983 fi
18984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18985 done
18986 else
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18989
18990 cat >conftest.$ac_ext <<_ACEOF
18991 /* confdefs.h. */
18992 _ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
18997 int
18998 main ()
18999 {
19000 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19001 test_array [0] = 0
19002
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 rm -f conftest.$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try='test -s conftest.$ac_objext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_hi=-1 ac_mid=-1
19029 while :; do
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 $ac_includes_default
19037 int
19038 main ()
19039 {
19040 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19041 test_array [0] = 0
19042
19043 ;
19044 return 0;
19045 }
19046 _ACEOF
19047 rm -f conftest.$ac_objext
19048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19049 (eval $ac_compile) 2>conftest.er1
19050 ac_status=$?
19051 grep -v '^ *+' conftest.er1 >conftest.err
19052 rm -f conftest.er1
19053 cat conftest.err >&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } &&
19056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_lo=$ac_mid; break
19069 else
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19072
19073 ac_hi=`expr '(' $ac_mid ')' - 1`
19074 if test $ac_mid -le $ac_hi; then
19075 ac_lo= ac_hi=
19076 break
19077 fi
19078 ac_mid=`expr 2 '*' $ac_mid`
19079 fi
19080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19081 done
19082 else
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.$ac_ext >&5
19085
19086 ac_lo= ac_hi=
19087 fi
19088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19089 fi
19090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19091 # Binary search between lo and hi bounds.
19092 while test "x$ac_lo" != "x$ac_hi"; do
19093 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 int
19102 main ()
19103 {
19104 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19105 test_array [0] = 0
19106
19107 ;
19108 return 0;
19109 }
19110 _ACEOF
19111 rm -f conftest.$ac_objext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19113 (eval $ac_compile) 2>conftest.er1
19114 ac_status=$?
19115 grep -v '^ *+' conftest.er1 >conftest.err
19116 rm -f conftest.er1
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; } &&
19126 { ac_try='test -s conftest.$ac_objext'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; }; then
19132 ac_hi=$ac_mid
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137 ac_lo=`expr '(' $ac_mid ')' + 1`
19138 fi
19139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19140 done
19141 case $ac_lo in
19142 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19144 See \`config.log' for more details." >&5
19145 echo "$as_me: error: cannot compute sizeof (void *), 77
19146 See \`config.log' for more details." >&2;}
19147 { (exit 1); exit 1; }; } ;;
19148 esac
19149 else
19150 if test "$cross_compiling" = yes; then
19151 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19152 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19153 { (exit 1); exit 1; }; }
19154 else
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 long longval () { return (long) (sizeof (void *)); }
19163 unsigned long ulongval () { return (long) (sizeof (void *)); }
19164 #include <stdio.h>
19165 #include <stdlib.h>
19166 int
19167 main ()
19168 {
19169
19170 FILE *f = fopen ("conftest.val", "w");
19171 if (! f)
19172 exit (1);
19173 if (((long) (sizeof (void *))) < 0)
19174 {
19175 long i = longval ();
19176 if (i != ((long) (sizeof (void *))))
19177 exit (1);
19178 fprintf (f, "%ld\n", i);
19179 }
19180 else
19181 {
19182 unsigned long i = ulongval ();
19183 if (i != ((long) (sizeof (void *))))
19184 exit (1);
19185 fprintf (f, "%lu\n", i);
19186 }
19187 exit (ferror (f) || fclose (f) != 0);
19188
19189 ;
19190 return 0;
19191 }
19192 _ACEOF
19193 rm -f conftest$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_cv_sizeof_void_p=`cat conftest.val`
19205 else
19206 echo "$as_me: program exited with status $ac_status" >&5
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ( exit $ac_status )
19211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19212 See \`config.log' for more details." >&5
19213 echo "$as_me: error: cannot compute sizeof (void *), 77
19214 See \`config.log' for more details." >&2;}
19215 { (exit 1); exit 1; }; }
19216 fi
19217 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19218 fi
19219 fi
19220 rm -f conftest.val
19221 else
19222 ac_cv_sizeof_void_p=0
19223 fi
19224 fi
19225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19226 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19227 cat >>confdefs.h <<_ACEOF
19228 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19229 _ACEOF
19230
19231
19232 echo "$as_me:$LINENO: checking for int" >&5
19233 echo $ECHO_N "checking for int... $ECHO_C" >&6
19234 if test "${ac_cv_type_int+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 int
19245 main ()
19246 {
19247 if ((int *) 0)
19248 return 0;
19249 if (sizeof (int))
19250 return 0;
19251 ;
19252 return 0;
19253 }
19254 _ACEOF
19255 rm -f conftest.$ac_objext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19257 (eval $ac_compile) 2>conftest.er1
19258 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } &&
19264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; } &&
19270 { ac_try='test -s conftest.$ac_objext'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 ac_cv_type_int=yes
19277 else
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19280
19281 ac_cv_type_int=no
19282 fi
19283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19284 fi
19285 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19286 echo "${ECHO_T}$ac_cv_type_int" >&6
19287
19288 echo "$as_me:$LINENO: checking size of int" >&5
19289 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19290 if test "${ac_cv_sizeof_int+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 else
19293 if test "$ac_cv_type_int" = yes; then
19294 # The cast to unsigned long works around a bug in the HP C Compiler
19295 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19296 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19297 # This bug is HP SR number 8606223364.
19298 if test "$cross_compiling" = yes; then
19299 # Depending upon the size, compute the lo and hi bounds.
19300 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 $ac_includes_default
19307 int
19308 main ()
19309 {
19310 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19311 test_array [0] = 0
19312
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 ac_lo=0 ac_mid=0
19339 while :; do
19340 cat >conftest.$ac_ext <<_ACEOF
19341 /* confdefs.h. */
19342 _ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346 $ac_includes_default
19347 int
19348 main ()
19349 {
19350 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19351 test_array [0] = 0
19352
19353 ;
19354 return 0;
19355 }
19356 _ACEOF
19357 rm -f conftest.$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19360 ac_status=$?
19361 grep -v '^ *+' conftest.er1 >conftest.err
19362 rm -f conftest.er1
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_hi=$ac_mid; break
19379 else
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383 ac_lo=`expr $ac_mid + 1`
19384 if test $ac_lo -le $ac_mid; then
19385 ac_lo= ac_hi=
19386 break
19387 fi
19388 ac_mid=`expr 2 '*' $ac_mid + 1`
19389 fi
19390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19391 done
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19395
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 $ac_includes_default
19403 int
19404 main ()
19405 {
19406 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19407 test_array [0] = 0
19408
19409 ;
19410 return 0;
19411 }
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>conftest.er1
19416 ac_status=$?
19417 grep -v '^ *+' conftest.er1 >conftest.err
19418 rm -f conftest.er1
19419 cat conftest.err >&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } &&
19422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 (eval $ac_try) 2>&5
19425 ac_status=$?
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }; } &&
19428 { ac_try='test -s conftest.$ac_objext'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19431 ac_status=$?
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; }; then
19434 ac_hi=-1 ac_mid=-1
19435 while :; do
19436 cat >conftest.$ac_ext <<_ACEOF
19437 /* confdefs.h. */
19438 _ACEOF
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 $ac_includes_default
19443 int
19444 main ()
19445 {
19446 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19447 test_array [0] = 0
19448
19449 ;
19450 return 0;
19451 }
19452 _ACEOF
19453 rm -f conftest.$ac_objext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19455 (eval $ac_compile) 2>conftest.er1
19456 ac_status=$?
19457 grep -v '^ *+' conftest.er1 >conftest.err
19458 rm -f conftest.er1
19459 cat conftest.err >&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } &&
19462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19465 ac_status=$?
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try='test -s conftest.$ac_objext'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19471 ac_status=$?
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; }; then
19474 ac_lo=$ac_mid; break
19475 else
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19478
19479 ac_hi=`expr '(' $ac_mid ')' - 1`
19480 if test $ac_mid -le $ac_hi; then
19481 ac_lo= ac_hi=
19482 break
19483 fi
19484 ac_mid=`expr 2 '*' $ac_mid`
19485 fi
19486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19487 done
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 ac_lo= ac_hi=
19493 fi
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19495 fi
19496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19497 # Binary search between lo and hi bounds.
19498 while test "x$ac_lo" != "x$ac_hi"; do
19499 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19507 int
19508 main ()
19509 {
19510 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19511 test_array [0] = 0
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19529 ac_status=$?
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19535 ac_status=$?
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19538 ac_hi=$ac_mid
19539 else
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19542
19543 ac_lo=`expr '(' $ac_mid ')' + 1`
19544 fi
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19546 done
19547 case $ac_lo in
19548 ?*) ac_cv_sizeof_int=$ac_lo;;
19549 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19550 See \`config.log' for more details." >&5
19551 echo "$as_me: error: cannot compute sizeof (int), 77
19552 See \`config.log' for more details." >&2;}
19553 { (exit 1); exit 1; }; } ;;
19554 esac
19555 else
19556 if test "$cross_compiling" = yes; then
19557 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19558 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19559 { (exit 1); exit 1; }; }
19560 else
19561 cat >conftest.$ac_ext <<_ACEOF
19562 /* confdefs.h. */
19563 _ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 $ac_includes_default
19568 long longval () { return (long) (sizeof (int)); }
19569 unsigned long ulongval () { return (long) (sizeof (int)); }
19570 #include <stdio.h>
19571 #include <stdlib.h>
19572 int
19573 main ()
19574 {
19575
19576 FILE *f = fopen ("conftest.val", "w");
19577 if (! f)
19578 exit (1);
19579 if (((long) (sizeof (int))) < 0)
19580 {
19581 long i = longval ();
19582 if (i != ((long) (sizeof (int))))
19583 exit (1);
19584 fprintf (f, "%ld\n", i);
19585 }
19586 else
19587 {
19588 unsigned long i = ulongval ();
19589 if (i != ((long) (sizeof (int))))
19590 exit (1);
19591 fprintf (f, "%lu\n", i);
19592 }
19593 exit (ferror (f) || fclose (f) != 0);
19594
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 rm -f conftest$ac_exeext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19601 (eval $ac_link) 2>&5
19602 ac_status=$?
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19607 ac_status=$?
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 ac_cv_sizeof_int=`cat conftest.val`
19611 else
19612 echo "$as_me: program exited with status $ac_status" >&5
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19615
19616 ( exit $ac_status )
19617 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19618 See \`config.log' for more details." >&5
19619 echo "$as_me: error: cannot compute sizeof (int), 77
19620 See \`config.log' for more details." >&2;}
19621 { (exit 1); exit 1; }; }
19622 fi
19623 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19624 fi
19625 fi
19626 rm -f conftest.val
19627 else
19628 ac_cv_sizeof_int=0
19629 fi
19630 fi
19631 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19632 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19633 cat >>confdefs.h <<_ACEOF
19634 #define SIZEOF_INT $ac_cv_sizeof_int
19635 _ACEOF
19636
19637
19638 echo "$as_me:$LINENO: checking for long" >&5
19639 echo $ECHO_N "checking for long... $ECHO_C" >&6
19640 if test "${ac_cv_type_long+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 int
19651 main ()
19652 {
19653 if ((long *) 0)
19654 return 0;
19655 if (sizeof (long))
19656 return 0;
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>conftest.er1
19664 ac_status=$?
19665 grep -v '^ *+' conftest.er1 >conftest.err
19666 rm -f conftest.er1
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_cv_type_long=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_cv_type_long=no
19688 fi
19689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690 fi
19691 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19692 echo "${ECHO_T}$ac_cv_type_long" >&6
19693
19694 echo "$as_me:$LINENO: checking size of long" >&5
19695 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19696 if test "${ac_cv_sizeof_long+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19698 else
19699 if test "$ac_cv_type_long" = yes; then
19700 # The cast to unsigned long works around a bug in the HP C Compiler
19701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19703 # This bug is HP SR number 8606223364.
19704 if test "$cross_compiling" = yes; then
19705 # Depending upon the size, compute the lo and hi bounds.
19706 cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h. */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 $ac_includes_default
19713 int
19714 main ()
19715 {
19716 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19717 test_array [0] = 0
19718
19719 ;
19720 return 0;
19721 }
19722 _ACEOF
19723 rm -f conftest.$ac_objext
19724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19725 (eval $ac_compile) 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } &&
19732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; } &&
19738 { ac_try='test -s conftest.$ac_objext'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 ac_lo=0 ac_mid=0
19745 while :; do
19746 cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h. */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 int
19754 main ()
19755 {
19756 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19757 test_array [0] = 0
19758
19759 ;
19760 return 0;
19761 }
19762 _ACEOF
19763 rm -f conftest.$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765 (eval $ac_compile) 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19775 ac_status=$?
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try='test -s conftest.$ac_objext'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 ac_hi=$ac_mid; break
19785 else
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19788
19789 ac_lo=`expr $ac_mid + 1`
19790 if test $ac_lo -le $ac_mid; then
19791 ac_lo= ac_hi=
19792 break
19793 fi
19794 ac_mid=`expr 2 '*' $ac_mid + 1`
19795 fi
19796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19797 done
19798 else
19799 echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.$ac_ext >&5
19801
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19809 int
19810 main ()
19811 {
19812 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19813 test_array [0] = 0
19814
19815 ;
19816 return 0;
19817 }
19818 _ACEOF
19819 rm -f conftest.$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; } &&
19834 { ac_try='test -s conftest.$ac_objext'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; }; then
19840 ac_hi=-1 ac_mid=-1
19841 while :; do
19842 cat >conftest.$ac_ext <<_ACEOF
19843 /* confdefs.h. */
19844 _ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 $ac_includes_default
19849 int
19850 main ()
19851 {
19852 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19853 test_array [0] = 0
19854
19855 ;
19856 return 0;
19857 }
19858 _ACEOF
19859 rm -f conftest.$ac_objext
19860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19861 (eval $ac_compile) 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } &&
19868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19871 ac_status=$?
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest.$ac_objext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19877 ac_status=$?
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 ac_lo=$ac_mid; break
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19884
19885 ac_hi=`expr '(' $ac_mid ')' - 1`
19886 if test $ac_mid -le $ac_hi; then
19887 ac_lo= ac_hi=
19888 break
19889 fi
19890 ac_mid=`expr 2 '*' $ac_mid`
19891 fi
19892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19893 done
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 ac_lo= ac_hi=
19899 fi
19900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19901 fi
19902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19903 # Binary search between lo and hi bounds.
19904 while test "x$ac_lo" != "x$ac_hi"; do
19905 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h. */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912 $ac_includes_default
19913 int
19914 main ()
19915 {
19916 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19917 test_array [0] = 0
19918
19919 ;
19920 return 0;
19921 }
19922 _ACEOF
19923 rm -f conftest.$ac_objext
19924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19925 (eval $ac_compile) 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } &&
19932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19935 ac_status=$?
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try='test -s conftest.$ac_objext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19944 ac_hi=$ac_mid
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19948
19949 ac_lo=`expr '(' $ac_mid ')' + 1`
19950 fi
19951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19952 done
19953 case $ac_lo in
19954 ?*) ac_cv_sizeof_long=$ac_lo;;
19955 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19956 See \`config.log' for more details." >&5
19957 echo "$as_me: error: cannot compute sizeof (long), 77
19958 See \`config.log' for more details." >&2;}
19959 { (exit 1); exit 1; }; } ;;
19960 esac
19961 else
19962 if test "$cross_compiling" = yes; then
19963 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19964 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19965 { (exit 1); exit 1; }; }
19966 else
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 long longval () { return (long) (sizeof (long)); }
19975 unsigned long ulongval () { return (long) (sizeof (long)); }
19976 #include <stdio.h>
19977 #include <stdlib.h>
19978 int
19979 main ()
19980 {
19981
19982 FILE *f = fopen ("conftest.val", "w");
19983 if (! f)
19984 exit (1);
19985 if (((long) (sizeof (long))) < 0)
19986 {
19987 long i = longval ();
19988 if (i != ((long) (sizeof (long))))
19989 exit (1);
19990 fprintf (f, "%ld\n", i);
19991 }
19992 else
19993 {
19994 unsigned long i = ulongval ();
19995 if (i != ((long) (sizeof (long))))
19996 exit (1);
19997 fprintf (f, "%lu\n", i);
19998 }
19999 exit (ferror (f) || fclose (f) != 0);
20000
20001 ;
20002 return 0;
20003 }
20004 _ACEOF
20005 rm -f conftest$ac_exeext
20006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20007 (eval $ac_link) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20013 ac_status=$?
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_cv_sizeof_long=`cat conftest.val`
20017 else
20018 echo "$as_me: program exited with status $ac_status" >&5
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 ( exit $ac_status )
20023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20024 See \`config.log' for more details." >&5
20025 echo "$as_me: error: cannot compute sizeof (long), 77
20026 See \`config.log' for more details." >&2;}
20027 { (exit 1); exit 1; }; }
20028 fi
20029 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20030 fi
20031 fi
20032 rm -f conftest.val
20033 else
20034 ac_cv_sizeof_long=0
20035 fi
20036 fi
20037 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20038 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20039 cat >>confdefs.h <<_ACEOF
20040 #define SIZEOF_LONG $ac_cv_sizeof_long
20041 _ACEOF
20042
20043
20044 echo "$as_me:$LINENO: checking for size_t" >&5
20045 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20046 if test "${ac_cv_type_size_t+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20056 int
20057 main ()
20058 {
20059 if ((size_t *) 0)
20060 return 0;
20061 if (sizeof (size_t))
20062 return 0;
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20079 ac_status=$?
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try='test -s conftest.$ac_objext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20085 ac_status=$?
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20088 ac_cv_type_size_t=yes
20089 else
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 ac_cv_type_size_t=no
20094 fi
20095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20096 fi
20097 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20098 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20099
20100 echo "$as_me:$LINENO: checking size of size_t" >&5
20101 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20102 if test "${ac_cv_sizeof_size_t+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 else
20105 if test "$ac_cv_type_size_t" = yes; then
20106 # The cast to unsigned long works around a bug in the HP C Compiler
20107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20109 # This bug is HP SR number 8606223364.
20110 if test "$cross_compiling" = yes; then
20111 # Depending upon the size, compute the lo and hi bounds.
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 $ac_includes_default
20119 int
20120 main ()
20121 {
20122 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20123 test_array [0] = 0
20124
20125 ;
20126 return 0;
20127 }
20128 _ACEOF
20129 rm -f conftest.$ac_objext
20130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20131 (eval $ac_compile) 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } &&
20138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20140 (eval $ac_try) 2>&5
20141 ac_status=$?
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); }; } &&
20144 { ac_try='test -s conftest.$ac_objext'
20145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20146 (eval $ac_try) 2>&5
20147 ac_status=$?
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); }; }; then
20150 ac_lo=0 ac_mid=0
20151 while :; do
20152 cat >conftest.$ac_ext <<_ACEOF
20153 /* confdefs.h. */
20154 _ACEOF
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 $ac_includes_default
20159 int
20160 main ()
20161 {
20162 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20163 test_array [0] = 0
20164
20165 ;
20166 return 0;
20167 }
20168 _ACEOF
20169 rm -f conftest.$ac_objext
20170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20171 (eval $ac_compile) 2>conftest.er1
20172 ac_status=$?
20173 grep -v '^ *+' conftest.er1 >conftest.err
20174 rm -f conftest.er1
20175 cat conftest.err >&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } &&
20178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; } &&
20184 { ac_try='test -s conftest.$ac_objext'
20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186 (eval $ac_try) 2>&5
20187 ac_status=$?
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); }; }; then
20190 ac_hi=$ac_mid; break
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 ac_lo=`expr $ac_mid + 1`
20196 if test $ac_lo -le $ac_mid; then
20197 ac_lo= ac_hi=
20198 break
20199 fi
20200 ac_mid=`expr 2 '*' $ac_mid + 1`
20201 fi
20202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20203 done
20204 else
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20207
20208 cat >conftest.$ac_ext <<_ACEOF
20209 /* confdefs.h. */
20210 _ACEOF
20211 cat confdefs.h >>conftest.$ac_ext
20212 cat >>conftest.$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20214 $ac_includes_default
20215 int
20216 main ()
20217 {
20218 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20219 test_array [0] = 0
20220
20221 ;
20222 return 0;
20223 }
20224 _ACEOF
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20228 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20237 ac_status=$?
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20243 ac_status=$?
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 ac_hi=-1 ac_mid=-1
20247 while :; do
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h. */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 int
20256 main ()
20257 {
20258 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20259 test_array [0] = 0
20260
20261 ;
20262 return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20268 ac_status=$?
20269 grep -v '^ *+' conftest.er1 >conftest.err
20270 rm -f conftest.er1
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20277 ac_status=$?
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try='test -s conftest.$ac_objext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_lo=$ac_mid; break
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 ac_hi=`expr '(' $ac_mid ')' - 1`
20292 if test $ac_mid -le $ac_hi; then
20293 ac_lo= ac_hi=
20294 break
20295 fi
20296 ac_mid=`expr 2 '*' $ac_mid`
20297 fi
20298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20299 done
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ac_lo= ac_hi=
20305 fi
20306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20307 fi
20308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20309 # Binary search between lo and hi bounds.
20310 while test "x$ac_lo" != "x$ac_hi"; do
20311 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20319 int
20320 main ()
20321 {
20322 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20323 test_array [0] = 0
20324
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; } &&
20344 { ac_try='test -s conftest.$ac_objext'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20347 ac_status=$?
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20350 ac_hi=$ac_mid
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ac_lo=`expr '(' $ac_mid ')' + 1`
20356 fi
20357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20358 done
20359 case $ac_lo in
20360 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20361 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20362 See \`config.log' for more details." >&5
20363 echo "$as_me: error: cannot compute sizeof (size_t), 77
20364 See \`config.log' for more details." >&2;}
20365 { (exit 1); exit 1; }; } ;;
20366 esac
20367 else
20368 if test "$cross_compiling" = yes; then
20369 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20370 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20371 { (exit 1); exit 1; }; }
20372 else
20373 cat >conftest.$ac_ext <<_ACEOF
20374 /* confdefs.h. */
20375 _ACEOF
20376 cat confdefs.h >>conftest.$ac_ext
20377 cat >>conftest.$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 $ac_includes_default
20380 long longval () { return (long) (sizeof (size_t)); }
20381 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20382 #include <stdio.h>
20383 #include <stdlib.h>
20384 int
20385 main ()
20386 {
20387
20388 FILE *f = fopen ("conftest.val", "w");
20389 if (! f)
20390 exit (1);
20391 if (((long) (sizeof (size_t))) < 0)
20392 {
20393 long i = longval ();
20394 if (i != ((long) (sizeof (size_t))))
20395 exit (1);
20396 fprintf (f, "%ld\n", i);
20397 }
20398 else
20399 {
20400 unsigned long i = ulongval ();
20401 if (i != ((long) (sizeof (size_t))))
20402 exit (1);
20403 fprintf (f, "%lu\n", i);
20404 }
20405 exit (ferror (f) || fclose (f) != 0);
20406
20407 ;
20408 return 0;
20409 }
20410 _ACEOF
20411 rm -f conftest$ac_exeext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20413 (eval $ac_link) 2>&5
20414 ac_status=$?
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20419 ac_status=$?
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_sizeof_size_t=`cat conftest.val`
20423 else
20424 echo "$as_me: program exited with status $ac_status" >&5
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20427
20428 ( exit $ac_status )
20429 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20430 See \`config.log' for more details." >&5
20431 echo "$as_me: error: cannot compute sizeof (size_t), 77
20432 See \`config.log' for more details." >&2;}
20433 { (exit 1); exit 1; }; }
20434 fi
20435 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20436 fi
20437 fi
20438 rm -f conftest.val
20439 else
20440 ac_cv_sizeof_size_t=0
20441 fi
20442 fi
20443 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20444 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20445 cat >>confdefs.h <<_ACEOF
20446 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20447 _ACEOF
20448
20449
20450
20451 case "${host}" in
20452 arm-*-linux* )
20453 echo "$as_me:$LINENO: checking for long long" >&5
20454 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20455 if test "${ac_cv_type_long_long+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 else
20458 cat >conftest.$ac_ext <<_ACEOF
20459 /* confdefs.h. */
20460 _ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20465 int
20466 main ()
20467 {
20468 if ((long long *) 0)
20469 return 0;
20470 if (sizeof (long long))
20471 return 0;
20472 ;
20473 return 0;
20474 }
20475 _ACEOF
20476 rm -f conftest.$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478 (eval $ac_compile) 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } &&
20485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_type_long_long=yes
20498 else
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_cv_type_long_long=no
20503 fi
20504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20505 fi
20506 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20507 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20508
20509 echo "$as_me:$LINENO: checking size of long long" >&5
20510 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20511 if test "${ac_cv_sizeof_long_long+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20513 else
20514 if test "$ac_cv_type_long_long" = yes; then
20515 # The cast to unsigned long works around a bug in the HP C Compiler
20516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20518 # This bug is HP SR number 8606223364.
20519 if test "$cross_compiling" = yes; then
20520 # Depending upon the size, compute the lo and hi bounds.
20521 cat >conftest.$ac_ext <<_ACEOF
20522 /* confdefs.h. */
20523 _ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20528 int
20529 main ()
20530 {
20531 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20532 test_array [0] = 0
20533
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20540 (eval $ac_compile) 2>conftest.er1
20541 ac_status=$?
20542 grep -v '^ *+' conftest.er1 >conftest.err
20543 rm -f conftest.er1
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20550 ac_status=$?
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; } &&
20553 { ac_try='test -s conftest.$ac_objext'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20556 ac_status=$?
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then
20559 ac_lo=0 ac_mid=0
20560 while :; do
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 $ac_includes_default
20568 int
20569 main ()
20570 {
20571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20572 test_array [0] = 0
20573
20574 ;
20575 return 0;
20576 }
20577 _ACEOF
20578 rm -f conftest.$ac_objext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20580 (eval $ac_compile) 2>conftest.er1
20581 ac_status=$?
20582 grep -v '^ *+' conftest.er1 >conftest.err
20583 rm -f conftest.er1
20584 cat conftest.err >&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; } &&
20593 { ac_try='test -s conftest.$ac_objext'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20596 ac_status=$?
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20599 ac_hi=$ac_mid; break
20600 else
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20603
20604 ac_lo=`expr $ac_mid + 1`
20605 if test $ac_lo -le $ac_mid; then
20606 ac_lo= ac_hi=
20607 break
20608 fi
20609 ac_mid=`expr 2 '*' $ac_mid + 1`
20610 fi
20611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20612 done
20613 else
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20616
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h. */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 $ac_includes_default
20624 int
20625 main ()
20626 {
20627 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20628 test_array [0] = 0
20629
20630 ;
20631 return 0;
20632 }
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20636 (eval $ac_compile) 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } &&
20643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; } &&
20649 { ac_try='test -s conftest.$ac_objext'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; }; then
20655 ac_hi=-1 ac_mid=-1
20656 while :; do
20657 cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h. */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663 $ac_includes_default
20664 int
20665 main ()
20666 {
20667 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20668 test_array [0] = 0
20669
20670 ;
20671 return 0;
20672 }
20673 _ACEOF
20674 rm -f conftest.$ac_objext
20675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20676 (eval $ac_compile) 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20686 ac_status=$?
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; } &&
20689 { ac_try='test -s conftest.$ac_objext'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; }; then
20695 ac_lo=$ac_mid; break
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 ac_hi=`expr '(' $ac_mid ')' - 1`
20701 if test $ac_mid -le $ac_hi; then
20702 ac_lo= ac_hi=
20703 break
20704 fi
20705 ac_mid=`expr 2 '*' $ac_mid`
20706 fi
20707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20708 done
20709 else
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713 ac_lo= ac_hi=
20714 fi
20715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20716 fi
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718 # Binary search between lo and hi bounds.
20719 while test "x$ac_lo" != "x$ac_hi"; do
20720 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 $ac_includes_default
20728 int
20729 main ()
20730 {
20731 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20732 test_array [0] = 0
20733
20734 ;
20735 return 0;
20736 }
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>conftest.er1
20741 ac_status=$?
20742 grep -v '^ *+' conftest.er1 >conftest.err
20743 rm -f conftest.er1
20744 cat conftest.err >&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try='test -s conftest.$ac_objext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_hi=$ac_mid
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 ac_lo=`expr '(' $ac_mid ')' + 1`
20765 fi
20766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20767 done
20768 case $ac_lo in
20769 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20770 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20771 See \`config.log' for more details." >&5
20772 echo "$as_me: error: cannot compute sizeof (long long), 77
20773 See \`config.log' for more details." >&2;}
20774 { (exit 1); exit 1; }; } ;;
20775 esac
20776 else
20777 if test "$cross_compiling" = yes; then
20778 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20779 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20780 { (exit 1); exit 1; }; }
20781 else
20782 cat >conftest.$ac_ext <<_ACEOF
20783 /* confdefs.h. */
20784 _ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 $ac_includes_default
20789 long longval () { return (long) (sizeof (long long)); }
20790 unsigned long ulongval () { return (long) (sizeof (long long)); }
20791 #include <stdio.h>
20792 #include <stdlib.h>
20793 int
20794 main ()
20795 {
20796
20797 FILE *f = fopen ("conftest.val", "w");
20798 if (! f)
20799 exit (1);
20800 if (((long) (sizeof (long long))) < 0)
20801 {
20802 long i = longval ();
20803 if (i != ((long) (sizeof (long long))))
20804 exit (1);
20805 fprintf (f, "%ld\n", i);
20806 }
20807 else
20808 {
20809 unsigned long i = ulongval ();
20810 if (i != ((long) (sizeof (long long))))
20811 exit (1);
20812 fprintf (f, "%lu\n", i);
20813 }
20814 exit (ferror (f) || fclose (f) != 0);
20815
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest$ac_exeext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20822 (eval $ac_link) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20828 ac_status=$?
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 ac_cv_sizeof_long_long=`cat conftest.val`
20832 else
20833 echo "$as_me: program exited with status $ac_status" >&5
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 ( exit $ac_status )
20838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20839 See \`config.log' for more details." >&5
20840 echo "$as_me: error: cannot compute sizeof (long long), 77
20841 See \`config.log' for more details." >&2;}
20842 { (exit 1); exit 1; }; }
20843 fi
20844 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20845 fi
20846 fi
20847 rm -f conftest.val
20848 else
20849 ac_cv_sizeof_long_long=0
20850 fi
20851 fi
20852 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20853 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20854 cat >>confdefs.h <<_ACEOF
20855 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20856 _ACEOF
20857
20858
20859 ;;
20860 *-hp-hpux* )
20861 echo "$as_me:$LINENO: checking for long long" >&5
20862 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20863 if test "${ac_cv_type_long_long+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873 int
20874 main ()
20875 {
20876 if ((long long *) 0)
20877 return 0;
20878 if (sizeof (long long))
20879 return 0;
20880 ;
20881 return 0;
20882 }
20883 _ACEOF
20884 rm -f conftest.$ac_objext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 (eval $ac_compile) 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; } &&
20899 { ac_try='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_type_long_long=yes
20906 else
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20909
20910 ac_cv_type_long_long=no
20911 fi
20912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20913 fi
20914 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20915 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20916
20917 echo "$as_me:$LINENO: checking size of long long" >&5
20918 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20919 if test "${ac_cv_sizeof_long_long+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 else
20922 if test "$ac_cv_type_long_long" = yes; then
20923 # The cast to unsigned long works around a bug in the HP C Compiler
20924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20926 # This bug is HP SR number 8606223364.
20927 if test "$cross_compiling" = yes; then
20928 # Depending upon the size, compute the lo and hi bounds.
20929 cat >conftest.$ac_ext <<_ACEOF
20930 /* confdefs.h. */
20931 _ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 $ac_includes_default
20936 int
20937 main ()
20938 {
20939 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20940 test_array [0] = 0
20941
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 rm -f conftest.$ac_objext
20947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20948 (eval $ac_compile) 2>conftest.er1
20949 ac_status=$?
20950 grep -v '^ *+' conftest.er1 >conftest.err
20951 rm -f conftest.er1
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } &&
20955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957 (eval $ac_try) 2>&5
20958 ac_status=$?
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_lo=0 ac_mid=0
20968 while :; do
20969 cat >conftest.$ac_ext <<_ACEOF
20970 /* confdefs.h. */
20971 _ACEOF
20972 cat confdefs.h >>conftest.$ac_ext
20973 cat >>conftest.$ac_ext <<_ACEOF
20974 /* end confdefs.h. */
20975 $ac_includes_default
20976 int
20977 main ()
20978 {
20979 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20980 test_array [0] = 0
20981
20982 ;
20983 return 0;
20984 }
20985 _ACEOF
20986 rm -f conftest.$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20989 ac_status=$?
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try='test -s conftest.$ac_objext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_hi=$ac_mid; break
21008 else
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21011
21012 ac_lo=`expr $ac_mid + 1`
21013 if test $ac_lo -le $ac_mid; then
21014 ac_lo= ac_hi=
21015 break
21016 fi
21017 ac_mid=`expr 2 '*' $ac_mid + 1`
21018 fi
21019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21020 done
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 $ac_includes_default
21032 int
21033 main ()
21034 {
21035 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21036 test_array [0] = 0
21037
21038 ;
21039 return 0;
21040 }
21041 _ACEOF
21042 rm -f conftest.$ac_objext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21044 (eval $ac_compile) 2>conftest.er1
21045 ac_status=$?
21046 grep -v '^ *+' conftest.er1 >conftest.err
21047 rm -f conftest.er1
21048 cat conftest.err >&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } &&
21051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; } &&
21057 { ac_try='test -s conftest.$ac_objext'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_hi=-1 ac_mid=-1
21064 while :; do
21065 cat >conftest.$ac_ext <<_ACEOF
21066 /* confdefs.h. */
21067 _ACEOF
21068 cat confdefs.h >>conftest.$ac_ext
21069 cat >>conftest.$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21071 $ac_includes_default
21072 int
21073 main ()
21074 {
21075 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21076 test_array [0] = 0
21077
21078 ;
21079 return 0;
21080 }
21081 _ACEOF
21082 rm -f conftest.$ac_objext
21083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21084 (eval $ac_compile) 2>conftest.er1
21085 ac_status=$?
21086 grep -v '^ *+' conftest.er1 >conftest.err
21087 rm -f conftest.er1
21088 cat conftest.err >&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try='test -s conftest.$ac_objext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 ac_lo=$ac_mid; break
21104 else
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21107
21108 ac_hi=`expr '(' $ac_mid ')' - 1`
21109 if test $ac_mid -le $ac_hi; then
21110 ac_lo= ac_hi=
21111 break
21112 fi
21113 ac_mid=`expr 2 '*' $ac_mid`
21114 fi
21115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21116 done
21117 else
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.$ac_ext >&5
21120
21121 ac_lo= ac_hi=
21122 fi
21123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21124 fi
21125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21126 # Binary search between lo and hi bounds.
21127 while test "x$ac_lo" != "x$ac_hi"; do
21128 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 int
21137 main ()
21138 {
21139 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21140 test_array [0] = 0
21141
21142 ;
21143 return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest.$ac_objext
21147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21148 (eval $ac_compile) 2>conftest.er1
21149 ac_status=$?
21150 grep -v '^ *+' conftest.er1 >conftest.err
21151 rm -f conftest.er1
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; } &&
21161 { ac_try='test -s conftest.$ac_objext'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21164 ac_status=$?
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_hi=$ac_mid
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ac_lo=`expr '(' $ac_mid ')' + 1`
21173 fi
21174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21175 done
21176 case $ac_lo in
21177 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21178 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21179 See \`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (long long), 77
21181 See \`config.log' for more details." >&2;}
21182 { (exit 1); exit 1; }; } ;;
21183 esac
21184 else
21185 if test "$cross_compiling" = yes; then
21186 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21187 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21188 { (exit 1); exit 1; }; }
21189 else
21190 cat >conftest.$ac_ext <<_ACEOF
21191 /* confdefs.h. */
21192 _ACEOF
21193 cat confdefs.h >>conftest.$ac_ext
21194 cat >>conftest.$ac_ext <<_ACEOF
21195 /* end confdefs.h. */
21196 $ac_includes_default
21197 long longval () { return (long) (sizeof (long long)); }
21198 unsigned long ulongval () { return (long) (sizeof (long long)); }
21199 #include <stdio.h>
21200 #include <stdlib.h>
21201 int
21202 main ()
21203 {
21204
21205 FILE *f = fopen ("conftest.val", "w");
21206 if (! f)
21207 exit (1);
21208 if (((long) (sizeof (long long))) < 0)
21209 {
21210 long i = longval ();
21211 if (i != ((long) (sizeof (long long))))
21212 exit (1);
21213 fprintf (f, "%ld\n", i);
21214 }
21215 else
21216 {
21217 unsigned long i = ulongval ();
21218 if (i != ((long) (sizeof (long long))))
21219 exit (1);
21220 fprintf (f, "%lu\n", i);
21221 }
21222 exit (ferror (f) || fclose (f) != 0);
21223
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest$ac_exeext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21230 (eval $ac_link) 2>&5
21231 ac_status=$?
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21239 ac_cv_sizeof_long_long=`cat conftest.val`
21240 else
21241 echo "$as_me: program exited with status $ac_status" >&5
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 ( exit $ac_status )
21246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21247 See \`config.log' for more details." >&5
21248 echo "$as_me: error: cannot compute sizeof (long long), 77
21249 See \`config.log' for more details." >&2;}
21250 { (exit 1); exit 1; }; }
21251 fi
21252 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21253 fi
21254 fi
21255 rm -f conftest.val
21256 else
21257 ac_cv_sizeof_long_long=0
21258 fi
21259 fi
21260 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21261 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21262 cat >>confdefs.h <<_ACEOF
21263 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21264 _ACEOF
21265
21266
21267 if test "$ac_cv_sizeof_long_long" != "0"; then
21268 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21269 fi
21270 ;;
21271 * )
21272 echo "$as_me:$LINENO: checking for long long" >&5
21273 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21274 if test "${ac_cv_type_long_long+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 else
21277 cat >conftest.$ac_ext <<_ACEOF
21278 /* confdefs.h. */
21279 _ACEOF
21280 cat confdefs.h >>conftest.$ac_ext
21281 cat >>conftest.$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21283 $ac_includes_default
21284 int
21285 main ()
21286 {
21287 if ((long long *) 0)
21288 return 0;
21289 if (sizeof (long long))
21290 return 0;
21291 ;
21292 return 0;
21293 }
21294 _ACEOF
21295 rm -f conftest.$ac_objext
21296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21297 (eval $ac_compile) 2>conftest.er1
21298 ac_status=$?
21299 grep -v '^ *+' conftest.er1 >conftest.err
21300 rm -f conftest.er1
21301 cat conftest.err >&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } &&
21304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21307 ac_status=$?
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; } &&
21310 { ac_try='test -s conftest.$ac_objext'
21311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21312 (eval $ac_try) 2>&5
21313 ac_status=$?
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); }; }; then
21316 ac_cv_type_long_long=yes
21317 else
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.$ac_ext >&5
21320
21321 ac_cv_type_long_long=no
21322 fi
21323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21324 fi
21325 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21326 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21327
21328 echo "$as_me:$LINENO: checking size of long long" >&5
21329 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21330 if test "${ac_cv_sizeof_long_long+set}" = set; then
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21332 else
21333 if test "$ac_cv_type_long_long" = yes; then
21334 # The cast to unsigned long works around a bug in the HP C Compiler
21335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21337 # This bug is HP SR number 8606223364.
21338 if test "$cross_compiling" = yes; then
21339 # Depending upon the size, compute the lo and hi bounds.
21340 cat >conftest.$ac_ext <<_ACEOF
21341 /* confdefs.h. */
21342 _ACEOF
21343 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 $ac_includes_default
21347 int
21348 main ()
21349 {
21350 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21351 test_array [0] = 0
21352
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 rm -f conftest.$ac_objext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21359 (eval $ac_compile) 2>conftest.er1
21360 ac_status=$?
21361 grep -v '^ *+' conftest.er1 >conftest.err
21362 rm -f conftest.er1
21363 cat conftest.err >&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try='test -s conftest.$ac_objext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21375 ac_status=$?
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_lo=0 ac_mid=0
21379 while :; do
21380 cat >conftest.$ac_ext <<_ACEOF
21381 /* confdefs.h. */
21382 _ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21387 int
21388 main ()
21389 {
21390 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21391 test_array [0] = 0
21392
21393 ;
21394 return 0;
21395 }
21396 _ACEOF
21397 rm -f conftest.$ac_objext
21398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21399 (eval $ac_compile) 2>conftest.er1
21400 ac_status=$?
21401 grep -v '^ *+' conftest.er1 >conftest.err
21402 rm -f conftest.er1
21403 cat conftest.err >&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); } &&
21406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; } &&
21412 { ac_try='test -s conftest.$ac_objext'
21413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414 (eval $ac_try) 2>&5
21415 ac_status=$?
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); }; }; then
21418 ac_hi=$ac_mid; break
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21422
21423 ac_lo=`expr $ac_mid + 1`
21424 if test $ac_lo -le $ac_mid; then
21425 ac_lo= ac_hi=
21426 break
21427 fi
21428 ac_mid=`expr 2 '*' $ac_mid + 1`
21429 fi
21430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21431 done
21432 else
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21435
21436 cat >conftest.$ac_ext <<_ACEOF
21437 /* confdefs.h. */
21438 _ACEOF
21439 cat confdefs.h >>conftest.$ac_ext
21440 cat >>conftest.$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21442 $ac_includes_default
21443 int
21444 main ()
21445 {
21446 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21447 test_array [0] = 0
21448
21449 ;
21450 return 0;
21451 }
21452 _ACEOF
21453 rm -f conftest.$ac_objext
21454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21455 (eval $ac_compile) 2>conftest.er1
21456 ac_status=$?
21457 grep -v '^ *+' conftest.er1 >conftest.err
21458 rm -f conftest.er1
21459 cat conftest.err >&5
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); } &&
21462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try='test -s conftest.$ac_objext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_hi=-1 ac_mid=-1
21475 while :; do
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 int
21484 main ()
21485 {
21486 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21487 test_array [0] = 0
21488
21489 ;
21490 return 0;
21491 }
21492 _ACEOF
21493 rm -f conftest.$ac_objext
21494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21495 (eval $ac_compile) 2>conftest.er1
21496 ac_status=$?
21497 grep -v '^ *+' conftest.er1 >conftest.err
21498 rm -f conftest.er1
21499 cat conftest.err >&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; } &&
21508 { ac_try='test -s conftest.$ac_objext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21511 ac_status=$?
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 ac_lo=$ac_mid; break
21515 else
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 ac_hi=`expr '(' $ac_mid ')' - 1`
21520 if test $ac_mid -le $ac_hi; then
21521 ac_lo= ac_hi=
21522 break
21523 fi
21524 ac_mid=`expr 2 '*' $ac_mid`
21525 fi
21526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21527 done
21528 else
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.$ac_ext >&5
21531
21532 ac_lo= ac_hi=
21533 fi
21534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21535 fi
21536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21537 # Binary search between lo and hi bounds.
21538 while test "x$ac_lo" != "x$ac_hi"; do
21539 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21540 cat >conftest.$ac_ext <<_ACEOF
21541 /* confdefs.h. */
21542 _ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 $ac_includes_default
21547 int
21548 main ()
21549 {
21550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21551 test_array [0] = 0
21552
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 rm -f conftest.$ac_objext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21559 (eval $ac_compile) 2>conftest.er1
21560 ac_status=$?
21561 grep -v '^ *+' conftest.er1 >conftest.err
21562 rm -f conftest.er1
21563 cat conftest.err >&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } &&
21566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; } &&
21572 { ac_try='test -s conftest.$ac_objext'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21575 ac_status=$?
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 ac_hi=$ac_mid
21579 else
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21582
21583 ac_lo=`expr '(' $ac_mid ')' + 1`
21584 fi
21585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21586 done
21587 case $ac_lo in
21588 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21590 See \`config.log' for more details." >&5
21591 echo "$as_me: error: cannot compute sizeof (long long), 77
21592 See \`config.log' for more details." >&2;}
21593 { (exit 1); exit 1; }; } ;;
21594 esac
21595 else
21596 if test "$cross_compiling" = yes; then
21597 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21598 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21599 { (exit 1); exit 1; }; }
21600 else
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 long longval () { return (long) (sizeof (long long)); }
21609 unsigned long ulongval () { return (long) (sizeof (long long)); }
21610 #include <stdio.h>
21611 #include <stdlib.h>
21612 int
21613 main ()
21614 {
21615
21616 FILE *f = fopen ("conftest.val", "w");
21617 if (! f)
21618 exit (1);
21619 if (((long) (sizeof (long long))) < 0)
21620 {
21621 long i = longval ();
21622 if (i != ((long) (sizeof (long long))))
21623 exit (1);
21624 fprintf (f, "%ld\n", i);
21625 }
21626 else
21627 {
21628 unsigned long i = ulongval ();
21629 if (i != ((long) (sizeof (long long))))
21630 exit (1);
21631 fprintf (f, "%lu\n", i);
21632 }
21633 exit (ferror (f) || fclose (f) != 0);
21634
21635 ;
21636 return 0;
21637 }
21638 _ACEOF
21639 rm -f conftest$ac_exeext
21640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21641 (eval $ac_link) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_cv_sizeof_long_long=`cat conftest.val`
21651 else
21652 echo "$as_me: program exited with status $ac_status" >&5
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 ( exit $ac_status )
21657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21658 See \`config.log' for more details." >&5
21659 echo "$as_me: error: cannot compute sizeof (long long), 77
21660 See \`config.log' for more details." >&2;}
21661 { (exit 1); exit 1; }; }
21662 fi
21663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21664 fi
21665 fi
21666 rm -f conftest.val
21667 else
21668 ac_cv_sizeof_long_long=0
21669 fi
21670 fi
21671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21672 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21673 cat >>confdefs.h <<_ACEOF
21674 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21675 _ACEOF
21676
21677
21678 esac
21679
21680 echo "$as_me:$LINENO: checking for wchar_t" >&5
21681 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21682 if test "${ac_cv_type_wchar_t+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21684 else
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h. */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691
21692 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21693 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21694 # error "fake wchar_t"
21695 #endif
21696 #ifdef HAVE_WCHAR_H
21697 # ifdef __CYGWIN__
21698 # include <stddef.h>
21699 # endif
21700 # include <wchar.h>
21701 #endif
21702 #ifdef HAVE_STDLIB_H
21703 # include <stdlib.h>
21704 #endif
21705 #include <stdio.h>
21706
21707
21708
21709 int
21710 main ()
21711 {
21712 if ((wchar_t *) 0)
21713 return 0;
21714 if (sizeof (wchar_t))
21715 return 0;
21716 ;
21717 return 0;
21718 }
21719 _ACEOF
21720 rm -f conftest.$ac_objext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21722 (eval $ac_compile) 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21731 (eval $ac_try) 2>&5
21732 ac_status=$?
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; } &&
21735 { ac_try='test -s conftest.$ac_objext'
21736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21737 (eval $ac_try) 2>&5
21738 ac_status=$?
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); }; }; then
21741 ac_cv_type_wchar_t=yes
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_cv_type_wchar_t=no
21747 fi
21748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21749 fi
21750 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21751 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21752
21753 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21754 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21755 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 if test "$ac_cv_type_wchar_t" = yes; then
21759 # The cast to unsigned long works around a bug in the HP C Compiler
21760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21762 # This bug is HP SR number 8606223364.
21763 if test "$cross_compiling" = yes; then
21764 # Depending upon the size, compute the lo and hi bounds.
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771
21772 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21773 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21774 # error "fake wchar_t"
21775 #endif
21776 #ifdef HAVE_WCHAR_H
21777 # ifdef __CYGWIN__
21778 # include <stddef.h>
21779 # endif
21780 # include <wchar.h>
21781 #endif
21782 #ifdef HAVE_STDLIB_H
21783 # include <stdlib.h>
21784 #endif
21785 #include <stdio.h>
21786
21787
21788
21789 int
21790 main ()
21791 {
21792 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21793 test_array [0] = 0
21794
21795 ;
21796 return 0;
21797 }
21798 _ACEOF
21799 rm -f conftest.$ac_objext
21800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21801 (eval $ac_compile) 2>conftest.er1
21802 ac_status=$?
21803 grep -v '^ *+' conftest.er1 >conftest.err
21804 rm -f conftest.er1
21805 cat conftest.err >&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } &&
21808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21811 ac_status=$?
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; } &&
21814 { ac_try='test -s conftest.$ac_objext'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21817 ac_status=$?
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; }; then
21820 ac_lo=0 ac_mid=0
21821 while :; do
21822 cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h. */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21828
21829 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21830 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21831 # error "fake wchar_t"
21832 #endif
21833 #ifdef HAVE_WCHAR_H
21834 # ifdef __CYGWIN__
21835 # include <stddef.h>
21836 # endif
21837 # include <wchar.h>
21838 #endif
21839 #ifdef HAVE_STDLIB_H
21840 # include <stdlib.h>
21841 #endif
21842 #include <stdio.h>
21843
21844
21845
21846 int
21847 main ()
21848 {
21849 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21850 test_array [0] = 0
21851
21852 ;
21853 return 0;
21854 }
21855 _ACEOF
21856 rm -f conftest.$ac_objext
21857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21858 (eval $ac_compile) 2>conftest.er1
21859 ac_status=$?
21860 grep -v '^ *+' conftest.er1 >conftest.err
21861 rm -f conftest.er1
21862 cat conftest.err >&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } &&
21865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; } &&
21871 { ac_try='test -s conftest.$ac_objext'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; }; then
21877 ac_hi=$ac_mid; break
21878 else
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 ac_lo=`expr $ac_mid + 1`
21883 if test $ac_lo -le $ac_mid; then
21884 ac_lo= ac_hi=
21885 break
21886 fi
21887 ac_mid=`expr 2 '*' $ac_mid + 1`
21888 fi
21889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21890 done
21891 else
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21894
21895 cat >conftest.$ac_ext <<_ACEOF
21896 /* confdefs.h. */
21897 _ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901
21902 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21903 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21904 # error "fake wchar_t"
21905 #endif
21906 #ifdef HAVE_WCHAR_H
21907 # ifdef __CYGWIN__
21908 # include <stddef.h>
21909 # endif
21910 # include <wchar.h>
21911 #endif
21912 #ifdef HAVE_STDLIB_H
21913 # include <stdlib.h>
21914 #endif
21915 #include <stdio.h>
21916
21917
21918
21919 int
21920 main ()
21921 {
21922 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21923 test_array [0] = 0
21924
21925 ;
21926 return 0;
21927 }
21928 _ACEOF
21929 rm -f conftest.$ac_objext
21930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21931 (eval $ac_compile) 2>conftest.er1
21932 ac_status=$?
21933 grep -v '^ *+' conftest.er1 >conftest.err
21934 rm -f conftest.er1
21935 cat conftest.err >&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } &&
21938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 ac_hi=-1 ac_mid=-1
21951 while :; do
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958
21959 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21960 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21961 # error "fake wchar_t"
21962 #endif
21963 #ifdef HAVE_WCHAR_H
21964 # ifdef __CYGWIN__
21965 # include <stddef.h>
21966 # endif
21967 # include <wchar.h>
21968 #endif
21969 #ifdef HAVE_STDLIB_H
21970 # include <stdlib.h>
21971 #endif
21972 #include <stdio.h>
21973
21974
21975
21976 int
21977 main ()
21978 {
21979 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21980 test_array [0] = 0
21981
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 rm -f conftest.$ac_objext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21988 (eval $ac_compile) 2>conftest.er1
21989 ac_status=$?
21990 grep -v '^ *+' conftest.er1 >conftest.err
21991 rm -f conftest.er1
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } &&
21995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21998 ac_status=$?
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; } &&
22001 { ac_try='test -s conftest.$ac_objext'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; }; then
22007 ac_lo=$ac_mid; break
22008 else
22009 echo "$as_me: failed program was:" >&5
22010 sed 's/^/| /' conftest.$ac_ext >&5
22011
22012 ac_hi=`expr '(' $ac_mid ')' - 1`
22013 if test $ac_mid -le $ac_hi; then
22014 ac_lo= ac_hi=
22015 break
22016 fi
22017 ac_mid=`expr 2 '*' $ac_mid`
22018 fi
22019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22020 done
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_lo= ac_hi=
22026 fi
22027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22028 fi
22029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22030 # Binary search between lo and hi bounds.
22031 while test "x$ac_lo" != "x$ac_hi"; do
22032 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22033 cat >conftest.$ac_ext <<_ACEOF
22034 /* confdefs.h. */
22035 _ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039
22040 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22041 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22042 # error "fake wchar_t"
22043 #endif
22044 #ifdef HAVE_WCHAR_H
22045 # ifdef __CYGWIN__
22046 # include <stddef.h>
22047 # endif
22048 # include <wchar.h>
22049 #endif
22050 #ifdef HAVE_STDLIB_H
22051 # include <stdlib.h>
22052 #endif
22053 #include <stdio.h>
22054
22055
22056
22057 int
22058 main ()
22059 {
22060 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22061 test_array [0] = 0
22062
22063 ;
22064 return 0;
22065 }
22066 _ACEOF
22067 rm -f conftest.$ac_objext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22069 (eval $ac_compile) 2>conftest.er1
22070 ac_status=$?
22071 grep -v '^ *+' conftest.er1 >conftest.err
22072 rm -f conftest.er1
22073 cat conftest.err >&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; } &&
22082 { ac_try='test -s conftest.$ac_objext'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22085 ac_status=$?
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 ac_hi=$ac_mid
22089 else
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22092
22093 ac_lo=`expr '(' $ac_mid ')' + 1`
22094 fi
22095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22096 done
22097 case $ac_lo in
22098 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22100 See \`config.log' for more details." >&5
22101 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22102 See \`config.log' for more details." >&2;}
22103 { (exit 1); exit 1; }; } ;;
22104 esac
22105 else
22106 if test "$cross_compiling" = yes; then
22107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22109 { (exit 1); exit 1; }; }
22110 else
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117
22118 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22119 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22120 # error "fake wchar_t"
22121 #endif
22122 #ifdef HAVE_WCHAR_H
22123 # ifdef __CYGWIN__
22124 # include <stddef.h>
22125 # endif
22126 # include <wchar.h>
22127 #endif
22128 #ifdef HAVE_STDLIB_H
22129 # include <stdlib.h>
22130 #endif
22131 #include <stdio.h>
22132
22133
22134
22135 long longval () { return (long) (sizeof (wchar_t)); }
22136 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22137 #include <stdio.h>
22138 #include <stdlib.h>
22139 int
22140 main ()
22141 {
22142
22143 FILE *f = fopen ("conftest.val", "w");
22144 if (! f)
22145 exit (1);
22146 if (((long) (sizeof (wchar_t))) < 0)
22147 {
22148 long i = longval ();
22149 if (i != ((long) (sizeof (wchar_t))))
22150 exit (1);
22151 fprintf (f, "%ld\n", i);
22152 }
22153 else
22154 {
22155 unsigned long i = ulongval ();
22156 if (i != ((long) (sizeof (wchar_t))))
22157 exit (1);
22158 fprintf (f, "%lu\n", i);
22159 }
22160 exit (ferror (f) || fclose (f) != 0);
22161
22162 ;
22163 return 0;
22164 }
22165 _ACEOF
22166 rm -f conftest$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 ac_cv_sizeof_wchar_t=`cat conftest.val`
22178 else
22179 echo "$as_me: program exited with status $ac_status" >&5
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ( exit $ac_status )
22184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22185 See \`config.log' for more details." >&5
22186 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22187 See \`config.log' for more details." >&2;}
22188 { (exit 1); exit 1; }; }
22189 fi
22190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22191 fi
22192 fi
22193 rm -f conftest.val
22194 else
22195 ac_cv_sizeof_wchar_t=0
22196 fi
22197 fi
22198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22199 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22200 cat >>confdefs.h <<_ACEOF
22201 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22202 _ACEOF
22203
22204
22205 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22206 wxUSE_WCHAR_T=yes
22207 else
22208 wxUSE_WCHAR_T=no
22209 fi
22210
22211 echo "$as_me:$LINENO: checking for va_copy" >&5
22212 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22213 if test "${wx_cv_func_va_copy+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 else
22216
22217 cat >conftest.$ac_ext <<_ACEOF
22218
22219 #include <stdarg.h>
22220 void foo(char *f, ...)
22221 {
22222 va_list ap1, ap2;
22223 va_start(ap1, f);
22224 va_copy(ap2, ap1);
22225 va_end(ap2);
22226 va_end(ap1);
22227 }
22228 int main()
22229 {
22230 foo("hi", 17);
22231 return 0;
22232 }
22233 _ACEOF
22234 rm -f conftest.$ac_objext conftest$ac_exeext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22236 (eval $ac_link) 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try='test -s conftest$ac_exeext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22252 ac_status=$?
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 wx_cv_func_va_copy=yes
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 wx_cv_func_va_copy=no
22261
22262 fi
22263 rm -f conftest.err conftest.$ac_objext \
22264 conftest$ac_exeext conftest.$ac_ext
22265
22266
22267 fi
22268 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22269 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22270
22271 if test $wx_cv_func_va_copy = "yes"; then
22272 cat >>confdefs.h <<\_ACEOF
22273 #define HAVE_VA_COPY 1
22274 _ACEOF
22275
22276 else
22277 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22278 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22279 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22282
22283 if test "$cross_compiling" = yes; then
22284 wx_cv_type_va_list_lvalue=yes
22285
22286 else
22287 cat >conftest.$ac_ext <<_ACEOF
22288
22289 #include <stdarg.h>
22290 int foo(char *f, ...)
22291 {
22292 va_list ap1, ap2;
22293 va_start(ap1, f);
22294 ap2 = ap1;
22295 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22296 return 1;
22297 va_end(ap2);
22298 va_end(ap1);
22299 return 0;
22300 }
22301 int main()
22302 {
22303 return foo("hi", 17);
22304 }
22305 _ACEOF
22306 rm -f conftest$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308 (eval $ac_link) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22314 ac_status=$?
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 wx_cv_type_va_list_lvalue=yes
22318 else
22319 echo "$as_me: program exited with status $ac_status" >&5
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 ( exit $ac_status )
22324 wx_cv_type_va_list_lvalue=no
22325 fi
22326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22327 fi
22328
22329
22330 fi
22331 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22332 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22333
22334 if test $wx_cv_type_va_list_lvalue != "yes"; then
22335 cat >>confdefs.h <<\_ACEOF
22336 #define VA_LIST_IS_ARRAY 1
22337 _ACEOF
22338
22339 fi
22340 fi
22341
22342 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22343 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22344 if test "${wx_cv_have_variadic_macros+set}" = set; then
22345 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 else
22347
22348 cat >conftest.$ac_ext <<_ACEOF
22349 /* confdefs.h. */
22350 _ACEOF
22351 cat confdefs.h >>conftest.$ac_ext
22352 cat >>conftest.$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22354
22355 #include <stdio.h>
22356 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22357
22358 int
22359 main ()
22360 {
22361
22362 test("%s %d %p", "test", 1, 0);
22363
22364
22365 ;
22366 return 0;
22367 }
22368 _ACEOF
22369 rm -f conftest.$ac_objext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22371 (eval $ac_compile) 2>conftest.er1
22372 ac_status=$?
22373 grep -v '^ *+' conftest.er1 >conftest.err
22374 rm -f conftest.er1
22375 cat conftest.err >&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } &&
22378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try='test -s conftest.$ac_objext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 wx_cv_have_variadic_macros=yes
22391 else
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22394
22395 wx_cv_have_variadic_macros=no
22396
22397 fi
22398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22399
22400
22401 fi
22402 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22403 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22404
22405 if test $wx_cv_have_variadic_macros = "yes"; then
22406 cat >>confdefs.h <<\_ACEOF
22407 #define HAVE_VARIADIC_MACROS 1
22408 _ACEOF
22409
22410 fi
22411
22412 # Check whether --enable-largefile or --disable-largefile was given.
22413 if test "${enable_largefile+set}" = set; then
22414 enableval="$enable_largefile"
22415
22416 fi;
22417 if test "$enable_largefile" != no; then
22418 wx_largefile=no
22419
22420 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22421 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22422 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 #define _FILE_OFFSET_BITS 64
22433 #include <sys/types.h>
22434 int
22435 main ()
22436 {
22437 typedef struct {
22438 unsigned int field: sizeof(off_t) == 8;
22439 } wxlf;
22440
22441 ;
22442 return 0;
22443 }
22444 _ACEOF
22445 rm -f conftest.$ac_objext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22447 (eval $ac_compile) 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; } &&
22460 { ac_try='test -s conftest.$ac_objext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_sys_file_offset_bits=64
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ac_cv_sys_file_offset_bits=no
22472 fi
22473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22474
22475
22476 fi
22477 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22478 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22479
22480 if test "$ac_cv_sys_file_offset_bits" != no; then
22481 wx_largefile=yes
22482 cat >>confdefs.h <<_ACEOF
22483 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22484 _ACEOF
22485
22486 fi
22487
22488 if test "x$wx_largefile" != "xyes"; then
22489
22490 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22491 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22492 if test "${ac_cv_sys_large_files+set}" = set; then
22493 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 else
22495
22496 cat >conftest.$ac_ext <<_ACEOF
22497 /* confdefs.h. */
22498 _ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502 #define _LARGE_FILES 1
22503 #include <sys/types.h>
22504 int
22505 main ()
22506 {
22507 typedef struct {
22508 unsigned int field: sizeof(off_t) == 8;
22509 } wxlf;
22510
22511 ;
22512 return 0;
22513 }
22514 _ACEOF
22515 rm -f conftest.$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try='test -s conftest.$ac_objext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 ac_cv_sys_large_files=1
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22540
22541 ac_cv_sys_large_files=no
22542 fi
22543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22544
22545
22546 fi
22547 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22548 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22549
22550 if test "$ac_cv_sys_large_files" != no; then
22551 wx_largefile=yes
22552 cat >>confdefs.h <<_ACEOF
22553 #define _LARGE_FILES $ac_cv_sys_large_files
22554 _ACEOF
22555
22556 fi
22557
22558 fi
22559
22560 echo "$as_me:$LINENO: checking if large file support is available" >&5
22561 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22562 if test "x$wx_largefile" = "xyes"; then
22563 cat >>confdefs.h <<\_ACEOF
22564 #define HAVE_LARGEFILE_SUPPORT 1
22565 _ACEOF
22566
22567 fi
22568 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22569 echo "${ECHO_T}$wx_largefile" >&6
22570 fi
22571
22572
22573 if test "x$wx_largefile" = "xyes"; then
22574 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22575 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22576
22577 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22578 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22579 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22580 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22581 echo $ECHO_N "(cached) $ECHO_C" >&6
22582 else
22583
22584 cat >conftest.$ac_ext <<_ACEOF
22585 /* confdefs.h. */
22586 _ACEOF
22587 cat confdefs.h >>conftest.$ac_ext
22588 cat >>conftest.$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590
22591 int
22592 main ()
22593 {
22594
22595 #ifndef __STDC_EXT__
22596 choke me
22597 #endif
22598
22599 ;
22600 return 0;
22601 }
22602 _ACEOF
22603 rm -f conftest.$ac_objext
22604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22605 (eval $ac_compile) 2>conftest.er1
22606 ac_status=$?
22607 grep -v '^ *+' conftest.er1 >conftest.err
22608 rm -f conftest.er1
22609 cat conftest.err >&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); } &&
22612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; } &&
22618 { ac_try='test -s conftest.$ac_objext'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22621 ac_status=$?
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; }; then
22624 wx_cv_STDC_EXT_required=no
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22628
22629 wx_cv_STDC_EXT_required=yes
22630
22631 fi
22632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22633
22634
22635 fi
22636 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22637 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22638 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22639 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22640 fi
22641 fi
22642 else
22643 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22644 fi
22645 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22646 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22647 if test "${ac_cv_sys_largefile_source+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650 while :; do
22651 ac_cv_sys_largefile_source=no
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h. */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 #include <stdio.h>
22659 int
22660 main ()
22661 {
22662 return !fseeko;
22663 ;
22664 return 0;
22665 }
22666 _ACEOF
22667 rm -f conftest.$ac_objext
22668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22669 (eval $ac_compile) 2>conftest.er1
22670 ac_status=$?
22671 grep -v '^ *+' conftest.er1 >conftest.err
22672 rm -f conftest.er1
22673 cat conftest.err >&5
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); } &&
22676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22678 (eval $ac_try) 2>&5
22679 ac_status=$?
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); }; } &&
22682 { ac_try='test -s conftest.$ac_objext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22685 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 break
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 fi
22694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22695 cat >conftest.$ac_ext <<_ACEOF
22696 /* confdefs.h. */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701 #define _LARGEFILE_SOURCE 1
22702 #include <stdio.h>
22703 int
22704 main ()
22705 {
22706 return !fseeko;
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22713 (eval $ac_compile) 2>conftest.er1
22714 ac_status=$?
22715 grep -v '^ *+' conftest.er1 >conftest.err
22716 rm -f conftest.er1
22717 cat conftest.err >&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_sys_largefile_source=1; break
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 fi
22738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22739 break
22740 done
22741 fi
22742 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22743 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22744 if test "$ac_cv_sys_largefile_source" != no; then
22745
22746 cat >>confdefs.h <<_ACEOF
22747 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22748 _ACEOF
22749
22750 fi
22751 rm -f conftest*
22752
22753 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22754 # in glibc 2.1.3, but that breaks too many other things.
22755 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22756 echo "$as_me:$LINENO: checking for fseeko" >&5
22757 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22758 if test "${ac_cv_func_fseeko+set}" = set; then
22759 echo $ECHO_N "(cached) $ECHO_C" >&6
22760 else
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 #include <stdio.h>
22768 int
22769 main ()
22770 {
22771 return fseeko && fseeko (stdin, 0, 0);
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext conftest$ac_exeext
22777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22778 (eval $ac_link) 2>conftest.er1
22779 ac_status=$?
22780 grep -v '^ *+' conftest.er1 >conftest.err
22781 rm -f conftest.er1
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } &&
22785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22787 (eval $ac_try) 2>&5
22788 ac_status=$?
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); }; } &&
22791 { ac_try='test -s conftest$ac_exeext'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22797 ac_cv_func_fseeko=yes
22798 else
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22801
22802 ac_cv_func_fseeko=no
22803 fi
22804 rm -f conftest.err conftest.$ac_objext \
22805 conftest$ac_exeext conftest.$ac_ext
22806 fi
22807 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22808 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22809 if test $ac_cv_func_fseeko = yes; then
22810
22811 cat >>confdefs.h <<\_ACEOF
22812 #define HAVE_FSEEKO 1
22813 _ACEOF
22814
22815 fi
22816
22817 if test "$ac_cv_sys_largefile_source" != no; then
22818 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22819 fi
22820 fi
22821
22822 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22823 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22824 if test "${ac_cv_c_bigendian+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 else
22827 ac_cv_c_bigendian=unknown
22828 # See if sys/param.h defines the BYTE_ORDER macro.
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 #include <sys/types.h>
22836 #include <sys/param.h>
22837 int
22838 main ()
22839 {
22840
22841 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22842 bogus endian macros
22843 #endif
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22850 (eval $ac_compile) 2>conftest.er1
22851 ac_status=$?
22852 grep -v '^ *+' conftest.er1 >conftest.err
22853 rm -f conftest.er1
22854 cat conftest.err >&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } &&
22857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; } &&
22863 { ac_try='test -s conftest.$ac_objext'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 # It does; now see whether it defined to BIG_ENDIAN or not.
22870 cat >conftest.$ac_ext <<_ACEOF
22871 /* confdefs.h. */
22872 _ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #include <sys/types.h>
22877 #include <sys/param.h>
22878 int
22879 main ()
22880 {
22881
22882 #if BYTE_ORDER != BIG_ENDIAN
22883 not big endian
22884 #endif
22885 ;
22886 return 0;
22887 }
22888 _ACEOF
22889 rm -f conftest.$ac_objext
22890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22891 (eval $ac_compile) 2>conftest.er1
22892 ac_status=$?
22893 grep -v '^ *+' conftest.er1 >conftest.err
22894 rm -f conftest.er1
22895 cat conftest.err >&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } &&
22898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22901 ac_status=$?
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; } &&
22904 { ac_try='test -s conftest.$ac_objext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22907 ac_status=$?
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_cv_c_bigendian=yes
22911 else
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 ac_cv_c_bigendian=no
22916 fi
22917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22918 else
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22921
22922 fi
22923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22924 if test $ac_cv_c_bigendian = unknown; then
22925 if test "$cross_compiling" = yes; then
22926 ac_cv_c_bigendian=unknown
22927 else
22928 cat >conftest.$ac_ext <<_ACEOF
22929 /* confdefs.h. */
22930 _ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 main () {
22935 /* Are we little or big endian? From Harbison&Steele. */
22936 union
22937 {
22938 long l;
22939 char c[sizeof (long)];
22940 } u;
22941 u.l = 1;
22942 exit (u.c[sizeof (long) - 1] == 1);
22943 }
22944 _ACEOF
22945 rm -f conftest$ac_exeext
22946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22947 (eval $ac_link) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22953 ac_status=$?
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; }; then
22956 ac_cv_c_bigendian=no
22957 else
22958 echo "$as_me: program exited with status $ac_status" >&5
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22961
22962 ( exit $ac_status )
22963 ac_cv_c_bigendian=yes
22964 fi
22965 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22966 fi
22967 fi
22968 fi
22969 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22970 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22971 if test $ac_cv_c_bigendian = unknown; then
22972 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
22973 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
22974 fi
22975 if test $ac_cv_c_bigendian = yes; then
22976 cat >>confdefs.h <<\_ACEOF
22977 #define WORDS_BIGENDIAN 1
22978 _ACEOF
22979
22980 fi
22981
22982
22983 ac_ext=cc
22984 ac_cpp='$CXXCPP $CPPFLAGS'
22985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22988 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22989 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22990 if test -z "$CXXCPP"; then
22991 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 else
22994 # Double quotes because CXXCPP needs to be expanded
22995 for CXXCPP in "$CXX -E" "/lib/cpp"
22996 do
22997 ac_preproc_ok=false
22998 for ac_cxx_preproc_warn_flag in '' yes
22999 do
23000 # Use a header file that comes with gcc, so configuring glibc
23001 # with a fresh cross-compiler works.
23002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23003 # <limits.h> exists even on freestanding compilers.
23004 # On the NeXT, cc -E runs the code through the compiler's parser,
23005 # not just through cpp. "Syntax error" is here to catch this case.
23006 cat >conftest.$ac_ext <<_ACEOF
23007 /* confdefs.h. */
23008 _ACEOF
23009 cat confdefs.h >>conftest.$ac_ext
23010 cat >>conftest.$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 #ifdef __STDC__
23013 # include <limits.h>
23014 #else
23015 # include <assert.h>
23016 #endif
23017 Syntax error
23018 _ACEOF
23019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23021 ac_status=$?
23022 grep -v '^ *+' conftest.er1 >conftest.err
23023 rm -f conftest.er1
23024 cat conftest.err >&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } >/dev/null; then
23027 if test -s conftest.err; then
23028 ac_cpp_err=$ac_cxx_preproc_warn_flag
23029 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23030 else
23031 ac_cpp_err=
23032 fi
23033 else
23034 ac_cpp_err=yes
23035 fi
23036 if test -z "$ac_cpp_err"; then
23037 :
23038 else
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.$ac_ext >&5
23041
23042 # Broken: fails on valid input.
23043 continue
23044 fi
23045 rm -f conftest.err conftest.$ac_ext
23046
23047 # OK, works on sane cases. Now check whether non-existent headers
23048 # can be detected and how.
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 #include <ac_nonexistent.h>
23056 _ACEOF
23057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23059 ac_status=$?
23060 grep -v '^ *+' conftest.er1 >conftest.err
23061 rm -f conftest.er1
23062 cat conftest.err >&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } >/dev/null; then
23065 if test -s conftest.err; then
23066 ac_cpp_err=$ac_cxx_preproc_warn_flag
23067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23068 else
23069 ac_cpp_err=
23070 fi
23071 else
23072 ac_cpp_err=yes
23073 fi
23074 if test -z "$ac_cpp_err"; then
23075 # Broken: success on invalid input.
23076 continue
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 # Passes both tests.
23082 ac_preproc_ok=:
23083 break
23084 fi
23085 rm -f conftest.err conftest.$ac_ext
23086
23087 done
23088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23089 rm -f conftest.err conftest.$ac_ext
23090 if $ac_preproc_ok; then
23091 break
23092 fi
23093
23094 done
23095 ac_cv_prog_CXXCPP=$CXXCPP
23096
23097 fi
23098 CXXCPP=$ac_cv_prog_CXXCPP
23099 else
23100 ac_cv_prog_CXXCPP=$CXXCPP
23101 fi
23102 echo "$as_me:$LINENO: result: $CXXCPP" >&5
23103 echo "${ECHO_T}$CXXCPP" >&6
23104 ac_preproc_ok=false
23105 for ac_cxx_preproc_warn_flag in '' yes
23106 do
23107 # Use a header file that comes with gcc, so configuring glibc
23108 # with a fresh cross-compiler works.
23109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23110 # <limits.h> exists even on freestanding compilers.
23111 # On the NeXT, cc -E runs the code through the compiler's parser,
23112 # not just through cpp. "Syntax error" is here to catch this case.
23113 cat >conftest.$ac_ext <<_ACEOF
23114 /* confdefs.h. */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119 #ifdef __STDC__
23120 # include <limits.h>
23121 #else
23122 # include <assert.h>
23123 #endif
23124 Syntax error
23125 _ACEOF
23126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23128 ac_status=$?
23129 grep -v '^ *+' conftest.er1 >conftest.err
23130 rm -f conftest.er1
23131 cat conftest.err >&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); } >/dev/null; then
23134 if test -s conftest.err; then
23135 ac_cpp_err=$ac_cxx_preproc_warn_flag
23136 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23137 else
23138 ac_cpp_err=
23139 fi
23140 else
23141 ac_cpp_err=yes
23142 fi
23143 if test -z "$ac_cpp_err"; then
23144 :
23145 else
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.$ac_ext >&5
23148
23149 # Broken: fails on valid input.
23150 continue
23151 fi
23152 rm -f conftest.err conftest.$ac_ext
23153
23154 # OK, works on sane cases. Now check whether non-existent headers
23155 # can be detected and how.
23156 cat >conftest.$ac_ext <<_ACEOF
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162 #include <ac_nonexistent.h>
23163 _ACEOF
23164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23166 ac_status=$?
23167 grep -v '^ *+' conftest.er1 >conftest.err
23168 rm -f conftest.er1
23169 cat conftest.err >&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } >/dev/null; then
23172 if test -s conftest.err; then
23173 ac_cpp_err=$ac_cxx_preproc_warn_flag
23174 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23175 else
23176 ac_cpp_err=
23177 fi
23178 else
23179 ac_cpp_err=yes
23180 fi
23181 if test -z "$ac_cpp_err"; then
23182 # Broken: success on invalid input.
23183 continue
23184 else
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23187
23188 # Passes both tests.
23189 ac_preproc_ok=:
23190 break
23191 fi
23192 rm -f conftest.err conftest.$ac_ext
23193
23194 done
23195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23196 rm -f conftest.err conftest.$ac_ext
23197 if $ac_preproc_ok; then
23198 :
23199 else
23200 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23201 See \`config.log' for more details." >&5
23202 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23203 See \`config.log' for more details." >&2;}
23204 { (exit 1); exit 1; }; }
23205 fi
23206
23207 ac_ext=cc
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212
23213
23214
23215
23216
23217 ac_ext=cc
23218 ac_cpp='$CXXCPP $CPPFLAGS'
23219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222
23223
23224
23225 for ac_header in iostream
23226 do
23227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23229 echo "$as_me:$LINENO: checking for $ac_header" >&5
23230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 fi
23234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23236 else
23237 # Is the header compilable?
23238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23240 cat >conftest.$ac_ext <<_ACEOF
23241 /* confdefs.h. */
23242 _ACEOF
23243 cat confdefs.h >>conftest.$ac_ext
23244 cat >>conftest.$ac_ext <<_ACEOF
23245 /* end confdefs.h. */
23246 $ac_includes_default
23247 #include <$ac_header>
23248 _ACEOF
23249 rm -f conftest.$ac_objext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23251 (eval $ac_compile) 2>conftest.er1
23252 ac_status=$?
23253 grep -v '^ *+' conftest.er1 >conftest.err
23254 rm -f conftest.er1
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } &&
23258 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23260 (eval $ac_try) 2>&5
23261 ac_status=$?
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); }; } &&
23264 { ac_try='test -s conftest.$ac_objext'
23265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23266 (eval $ac_try) 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 ac_header_compiler=yes
23271 else
23272 echo "$as_me: failed program was:" >&5
23273 sed 's/^/| /' conftest.$ac_ext >&5
23274
23275 ac_header_compiler=no
23276 fi
23277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23279 echo "${ECHO_T}$ac_header_compiler" >&6
23280
23281 # Is the header present?
23282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 #include <$ac_header>
23291 _ACEOF
23292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23294 ac_status=$?
23295 grep -v '^ *+' conftest.er1 >conftest.err
23296 rm -f conftest.er1
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } >/dev/null; then
23300 if test -s conftest.err; then
23301 ac_cpp_err=$ac_cxx_preproc_warn_flag
23302 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23303 else
23304 ac_cpp_err=
23305 fi
23306 else
23307 ac_cpp_err=yes
23308 fi
23309 if test -z "$ac_cpp_err"; then
23310 ac_header_preproc=yes
23311 else
23312 echo "$as_me: failed program was:" >&5
23313 sed 's/^/| /' conftest.$ac_ext >&5
23314
23315 ac_header_preproc=no
23316 fi
23317 rm -f conftest.err conftest.$ac_ext
23318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23319 echo "${ECHO_T}$ac_header_preproc" >&6
23320
23321 # So? What about this header?
23322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23323 yes:no: )
23324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23328 ac_header_preproc=yes
23329 ;;
23330 no:yes:* )
23331 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23333 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23334 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23335 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23337 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23338 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23343 (
23344 cat <<\_ASBOX
23345 ## ----------------------------------------- ##
23346 ## Report this to wx-dev@lists.wxwidgets.org ##
23347 ## ----------------------------------------- ##
23348 _ASBOX
23349 ) |
23350 sed "s/^/$as_me: WARNING: /" >&2
23351 ;;
23352 esac
23353 echo "$as_me:$LINENO: checking for $ac_header" >&5
23354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 else
23358 eval "$as_ac_Header=\$ac_header_preproc"
23359 fi
23360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23362
23363 fi
23364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23365 cat >>confdefs.h <<_ACEOF
23366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23367 _ACEOF
23368
23369 fi
23370
23371 done
23372
23373
23374 if test "$ac_cv_header_iostream" = "yes" ; then
23375 :
23376 else
23377 cat >>confdefs.h <<\_ACEOF
23378 #define wxUSE_IOSTREAMH 1
23379 _ACEOF
23380
23381 fi
23382
23383 ac_ext=c
23384 ac_cpp='$CPP $CPPFLAGS'
23385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23388
23389
23390
23391
23392 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23393 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23394 if test "${wx_cv_cpp_bool+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397
23398
23399
23400 ac_ext=cc
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405
23406
23407 cat >conftest.$ac_ext <<_ACEOF
23408 /* confdefs.h. */
23409 _ACEOF
23410 cat confdefs.h >>conftest.$ac_ext
23411 cat >>conftest.$ac_ext <<_ACEOF
23412 /* end confdefs.h. */
23413
23414
23415 int
23416 main ()
23417 {
23418
23419 bool b = true;
23420
23421 return 0;
23422
23423 ;
23424 return 0;
23425 }
23426 _ACEOF
23427 rm -f conftest.$ac_objext
23428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23429 (eval $ac_compile) 2>conftest.er1
23430 ac_status=$?
23431 grep -v '^ *+' conftest.er1 >conftest.err
23432 rm -f conftest.er1
23433 cat conftest.err >&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } &&
23436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; } &&
23442 { ac_try='test -s conftest.$ac_objext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448
23449 wx_cv_cpp_bool=yes
23450
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455
23456 wx_cv_cpp_bool=no
23457
23458
23459 fi
23460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23461
23462 ac_ext=c
23463 ac_cpp='$CPP $CPPFLAGS'
23464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23467
23468
23469 fi
23470 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23471 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23472
23473 if test "$wx_cv_cpp_bool" = "yes"; then
23474 cat >>confdefs.h <<\_ACEOF
23475 #define HAVE_BOOL 1
23476 _ACEOF
23477
23478 fi
23479
23480
23481
23482 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23483 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23484 if test "${wx_cv_explicit+set}" = set; then
23485 echo $ECHO_N "(cached) $ECHO_C" >&6
23486 else
23487
23488
23489
23490 ac_ext=cc
23491 ac_cpp='$CXXCPP $CPPFLAGS'
23492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23495
23496
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503
23504 class Foo { public: explicit Foo(int) {} };
23505
23506 int
23507 main ()
23508 {
23509
23510 return 0;
23511
23512 ;
23513 return 0;
23514 }
23515 _ACEOF
23516 rm -f conftest.$ac_objext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23518 (eval $ac_compile) 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try='test -s conftest.$ac_objext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537
23538 cat >conftest.$ac_ext <<_ACEOF
23539 /* confdefs.h. */
23540 _ACEOF
23541 cat confdefs.h >>conftest.$ac_ext
23542 cat >>conftest.$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23544
23545 class Foo { public: explicit Foo(int) {} };
23546 static void TakeFoo(const Foo& foo) { }
23547
23548 int
23549 main ()
23550 {
23551
23552 TakeFoo(17);
23553 return 0;
23554
23555 ;
23556 return 0;
23557 }
23558 _ACEOF
23559 rm -f conftest.$ac_objext
23560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23561 (eval $ac_compile) 2>conftest.er1
23562 ac_status=$?
23563 grep -v '^ *+' conftest.er1 >conftest.err
23564 rm -f conftest.er1
23565 cat conftest.err >&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); } &&
23568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 wx_cv_explicit=no
23581 else
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23584
23585 wx_cv_explicit=yes
23586
23587 fi
23588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23589
23590 else
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23593
23594 wx_cv_explicit=no
23595
23596 fi
23597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23598
23599 ac_ext=c
23600 ac_cpp='$CPP $CPPFLAGS'
23601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23604
23605
23606 fi
23607 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23608 echo "${ECHO_T}$wx_cv_explicit" >&6
23609
23610 if test "$wx_cv_explicit" = "yes"; then
23611 cat >>confdefs.h <<\_ACEOF
23612 #define HAVE_EXPLICIT 1
23613 _ACEOF
23614
23615 fi
23616
23617
23618 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23619 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23620 if test "${ac_cv_cxx_const_cast+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23622 else
23623
23624
23625 ac_ext=cc
23626 ac_cpp='$CXXCPP $CPPFLAGS'
23627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23630
23631 cat >conftest.$ac_ext <<_ACEOF
23632 /* confdefs.h. */
23633 _ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637
23638 int
23639 main ()
23640 {
23641 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23642 ;
23643 return 0;
23644 }
23645 _ACEOF
23646 rm -f conftest.$ac_objext
23647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23648 (eval $ac_compile) 2>conftest.er1
23649 ac_status=$?
23650 grep -v '^ *+' conftest.er1 >conftest.err
23651 rm -f conftest.er1
23652 cat conftest.err >&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); } &&
23655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23658 ac_status=$?
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; } &&
23661 { ac_try='test -s conftest.$ac_objext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23664 ac_status=$?
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667 ac_cv_cxx_const_cast=yes
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_cv_cxx_const_cast=no
23673 fi
23674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23675 ac_ext=c
23676 ac_cpp='$CPP $CPPFLAGS'
23677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23680
23681
23682 fi
23683 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23684 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23685 if test "$ac_cv_cxx_const_cast" = yes; then
23686
23687 cat >>confdefs.h <<\_ACEOF
23688 #define HAVE_CONST_CAST
23689 _ACEOF
23690
23691 fi
23692
23693 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23694 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23695 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 else
23698
23699
23700 ac_ext=cc
23701 ac_cpp='$CXXCPP $CPPFLAGS'
23702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705
23706 cat >conftest.$ac_ext <<_ACEOF
23707 /* confdefs.h. */
23708 _ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 #include <typeinfo>
23713 class Base { public : Base () {} virtual void f () = 0;};
23714 class Derived : public Base { public : Derived () {} virtual void f () {} };
23715 class Unrelated { public : Unrelated () {} };
23716 int g (Unrelated&) { return 0; }
23717 int
23718 main ()
23719 {
23720
23721 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23722 ;
23723 return 0;
23724 }
23725 _ACEOF
23726 rm -f conftest.$ac_objext
23727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23728 (eval $ac_compile) 2>conftest.er1
23729 ac_status=$?
23730 grep -v '^ *+' conftest.er1 >conftest.err
23731 rm -f conftest.er1
23732 cat conftest.err >&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); } &&
23735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23737 (eval $ac_try) 2>&5
23738 ac_status=$?
23739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740 (exit $ac_status); }; } &&
23741 { ac_try='test -s conftest.$ac_objext'
23742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23743 (eval $ac_try) 2>&5
23744 ac_status=$?
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_cv_cxx_reinterpret_cast=yes
23748 else
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.$ac_ext >&5
23751
23752 ac_cv_cxx_reinterpret_cast=no
23753 fi
23754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23755 ac_ext=c
23756 ac_cpp='$CPP $CPPFLAGS'
23757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23760
23761
23762 fi
23763 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23764 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23765 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23766
23767 cat >>confdefs.h <<\_ACEOF
23768 #define HAVE_REINTERPRET_CAST
23769 _ACEOF
23770
23771 fi
23772
23773 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23774 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23775 if test "${ac_cv_cxx_static_cast+set}" = set; then
23776 echo $ECHO_N "(cached) $ECHO_C" >&6
23777 else
23778
23779
23780 ac_ext=cc
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785
23786 cat >conftest.$ac_ext <<_ACEOF
23787 /* confdefs.h. */
23788 _ACEOF
23789 cat confdefs.h >>conftest.$ac_ext
23790 cat >>conftest.$ac_ext <<_ACEOF
23791 /* end confdefs.h. */
23792 #include <typeinfo>
23793 class Base { public : Base () {} virtual void f () = 0; };
23794 class Derived : public Base { public : Derived () {} virtual void f () {} };
23795 int g (Derived&) { return 0; }
23796 int
23797 main ()
23798 {
23799
23800 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23801 ;
23802 return 0;
23803 }
23804 _ACEOF
23805 rm -f conftest.$ac_objext
23806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23807 (eval $ac_compile) 2>conftest.er1
23808 ac_status=$?
23809 grep -v '^ *+' conftest.er1 >conftest.err
23810 rm -f conftest.er1
23811 cat conftest.err >&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23816 (eval $ac_try) 2>&5
23817 ac_status=$?
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; } &&
23820 { ac_try='test -s conftest.$ac_objext'
23821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23822 (eval $ac_try) 2>&5
23823 ac_status=$?
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); }; }; then
23826 ac_cv_cxx_static_cast=yes
23827 else
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23830
23831 ac_cv_cxx_static_cast=no
23832 fi
23833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23834 ac_ext=c
23835 ac_cpp='$CPP $CPPFLAGS'
23836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23839
23840
23841 fi
23842 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23843 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23844 if test "$ac_cv_cxx_static_cast" = yes; then
23845
23846 cat >>confdefs.h <<\_ACEOF
23847 #define HAVE_STATIC_CAST
23848 _ACEOF
23849
23850 fi
23851
23852
23853 if test "x$SUNCXX" = xyes; then
23854 CXXFLAGS="-features=tmplife $CXXFLAGS"
23855 fi
23856
23857 if test "x$SUNCC" = xyes; then
23858 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23859 fi
23860
23861 if test "x$SGICC" = "xyes"; then
23862 CFLAGS="-woff 3970 $CFLAGS"
23863 fi
23864 if test "x$SGICXX" = "xyes"; then
23865 CXXFLAGS="-woff 3970 $CXXFLAGS"
23866 fi
23867
23868 if test "x$HPCC" = "xyes"; then
23869 CFLAGS="+W 2011,2450 $CFLAGS"
23870 fi
23871 if test "x$HPCXX" = "xyes"; then
23872 CXXFLAGS="+W 2340 $CXXFLAGS"
23873 fi
23874
23875 if test "x$COMPAQCXX" = "xyes"; then
23876 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23877 fi
23878
23879 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23880 if test "$wxUSE_UNICODE" = "yes"; then
23881 std_string="std::wstring"
23882 char_type="wchar_t"
23883 else
23884 std_string="std::string"
23885 char_type="char"
23886 fi
23887
23888 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23889 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23890 cat >conftest.$ac_ext <<_ACEOF
23891 /* confdefs.h. */
23892 _ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <string>
23897 int
23898 main ()
23899 {
23900 $std_string foo;
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23907 (eval $ac_compile) 2>conftest.er1
23908 ac_status=$?
23909 grep -v '^ *+' conftest.er1 >conftest.err
23910 rm -f conftest.er1
23911 cat conftest.err >&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); } &&
23914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; } &&
23920 { ac_try='test -s conftest.$ac_objext'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; }; then
23926 echo "$as_me:$LINENO: result: yes" >&5
23927 echo "${ECHO_T}yes" >&6
23928 cat >>confdefs.h <<\_ACEOF
23929 #define HAVE_STD_WSTRING 1
23930 _ACEOF
23931
23932 else
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23935
23936 echo "$as_me:$LINENO: result: no" >&5
23937 echo "${ECHO_T}no" >&6
23938 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23939 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23940 cat >conftest.$ac_ext <<_ACEOF
23941 /* confdefs.h. */
23942 _ACEOF
23943 cat confdefs.h >>conftest.$ac_ext
23944 cat >>conftest.$ac_ext <<_ACEOF
23945 /* end confdefs.h. */
23946
23947 #ifdef HAVE_WCHAR_H
23948 # ifdef __CYGWIN__
23949 # include <stddef.h>
23950 # endif
23951 # include <wchar.h>
23952 #endif
23953 #ifdef HAVE_STDLIB_H
23954 # include <stdlib.h>
23955 #endif
23956 #include <stdio.h>
23957 #include <string>
23958
23959 int
23960 main ()
23961 {
23962 std::basic_string<$char_type> foo;
23963 const $char_type* dummy = foo.c_str();
23964 ;
23965 return 0;
23966 }
23967 _ACEOF
23968 rm -f conftest.$ac_objext
23969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23970 (eval $ac_compile) 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; } &&
23983 { ac_try='test -s conftest.$ac_objext'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23986 ac_status=$?
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; }; then
23989 echo "$as_me:$LINENO: result: yes" >&5
23990 echo "${ECHO_T}yes" >&6
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23994
23995 echo "$as_me:$LINENO: result: no" >&5
23996 echo "${ECHO_T}no" >&6
23997 if test "$wxUSE_STL" = "yes"; then
23998 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23999 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24000 { (exit 1); exit 1; }; }
24001 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24002 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24003 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24004 { (exit 1); exit 1; }; }
24005 else
24006 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24007 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24008 wxUSE_STD_STRING=no
24009 fi
24010
24011
24012 fi
24013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24014
24015 fi
24016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24017 fi
24018
24019 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24020 echo "$as_me:$LINENO: checking for std::istream" >&5
24021 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24022 if test "${ac_cv_type_std__istream+set}" = set; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 else
24025 cat >conftest.$ac_ext <<_ACEOF
24026 /* confdefs.h. */
24027 _ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031 #include <iostream>
24032
24033 int
24034 main ()
24035 {
24036 if ((std::istream *) 0)
24037 return 0;
24038 if (sizeof (std::istream))
24039 return 0;
24040 ;
24041 return 0;
24042 }
24043 _ACEOF
24044 rm -f conftest.$ac_objext
24045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24046 (eval $ac_compile) 2>conftest.er1
24047 ac_status=$?
24048 grep -v '^ *+' conftest.er1 >conftest.err
24049 rm -f conftest.er1
24050 cat conftest.err >&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } &&
24053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; } &&
24059 { ac_try='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24062 ac_status=$?
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 ac_cv_type_std__istream=yes
24066 else
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070 ac_cv_type_std__istream=no
24071 fi
24072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24073 fi
24074 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24075 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24076 if test $ac_cv_type_std__istream = yes; then
24077
24078 cat >>confdefs.h <<_ACEOF
24079 #define HAVE_STD__ISTREAM 1
24080 _ACEOF
24081
24082
24083 else
24084 wxUSE_STD_IOSTREAM=no
24085 fi
24086 echo "$as_me:$LINENO: checking for std::ostream" >&5
24087 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24088 if test "${ac_cv_type_std__ostream+set}" = set; then
24089 echo $ECHO_N "(cached) $ECHO_C" >&6
24090 else
24091 cat >conftest.$ac_ext <<_ACEOF
24092 /* confdefs.h. */
24093 _ACEOF
24094 cat confdefs.h >>conftest.$ac_ext
24095 cat >>conftest.$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 #include <iostream>
24098
24099 int
24100 main ()
24101 {
24102 if ((std::ostream *) 0)
24103 return 0;
24104 if (sizeof (std::ostream))
24105 return 0;
24106 ;
24107 return 0;
24108 }
24109 _ACEOF
24110 rm -f conftest.$ac_objext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24112 (eval $ac_compile) 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } &&
24119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24122 ac_status=$?
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try='test -s conftest.$ac_objext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24128 ac_status=$?
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
24131 ac_cv_type_std__ostream=yes
24132 else
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5
24135
24136 ac_cv_type_std__ostream=no
24137 fi
24138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24139 fi
24140 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24141 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24142 if test $ac_cv_type_std__ostream = yes; then
24143
24144 cat >>confdefs.h <<_ACEOF
24145 #define HAVE_STD__OSTREAM 1
24146 _ACEOF
24147
24148
24149 else
24150 wxUSE_STD_IOSTREAM=no
24151 fi
24152
24153
24154 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24155 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24156 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24157 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24158 { (exit 1); exit 1; }; }
24159 else
24160 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24161 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24162 fi
24163 fi
24164 fi
24165
24166 if test "$wxUSE_STL" = "yes"; then
24167 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24168 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 #include <string>
24176 #include <functional>
24177 #include <algorithm>
24178 #include <vector>
24179 #include <list>
24180 int
24181 main ()
24182 {
24183 std::vector<int> moo;
24184 std::list<int> foo;
24185 std::vector<int>::iterator it =
24186 std::find_if(moo.begin(), moo.end(),
24187 std::bind2nd(std::less<int>(), 3));
24188 ;
24189 return 0;
24190 }
24191 _ACEOF
24192 rm -f conftest.$ac_objext
24193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24194 (eval $ac_compile) 2>conftest.er1
24195 ac_status=$?
24196 grep -v '^ *+' conftest.er1 >conftest.err
24197 rm -f conftest.er1
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } &&
24201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try='test -s conftest.$ac_objext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 echo "$as_me:$LINENO: result: yes" >&5
24214 echo "${ECHO_T}yes" >&6
24215 else
24216 echo "$as_me: failed program was:" >&5
24217 sed 's/^/| /' conftest.$ac_ext >&5
24218
24219 echo "$as_me:$LINENO: result: no" >&5
24220 echo "${ECHO_T}no" >&6
24221 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24222 echo "$as_me: error: Basic STL functionality missing" >&2;}
24223 { (exit 1); exit 1; }; }
24224 fi
24225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24226
24227 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24228 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24229 cat >conftest.$ac_ext <<_ACEOF
24230 /* confdefs.h. */
24231 _ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235 #include <string>
24236 int
24237 main ()
24238 {
24239 std::string foo, bar;
24240 foo.compare(bar);
24241 foo.compare(1, 1, bar);
24242 foo.compare(1, 1, bar, 1, 1);
24243 foo.compare("");
24244 foo.compare(1, 1, "");
24245 foo.compare(1, 1, "", 2);
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24252 (eval $ac_compile) 2>conftest.er1
24253 ac_status=$?
24254 grep -v '^ *+' conftest.er1 >conftest.err
24255 rm -f conftest.er1
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } &&
24259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24261 (eval $ac_try) 2>&5
24262 ac_status=$?
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); }; } &&
24265 { ac_try='test -s conftest.$ac_objext'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; }; then
24271 echo "$as_me:$LINENO: result: yes" >&5
24272 echo "${ECHO_T}yes" >&6
24273 cat >>confdefs.h <<\_ACEOF
24274 #define HAVE_STD_STRING_COMPARE 1
24275 _ACEOF
24276
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 echo "$as_me:$LINENO: result: no" >&5
24282 echo "${ECHO_T}no" >&6
24283 fi
24284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24285
24286 if test "${ac_cv_header_hash_map+set}" = set; then
24287 echo "$as_me:$LINENO: checking for hash_map" >&5
24288 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24289 if test "${ac_cv_header_hash_map+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 fi
24292 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24293 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24294 else
24295 # Is the header compilable?
24296 echo "$as_me:$LINENO: checking hash_map usability" >&5
24297 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24298 cat >conftest.$ac_ext <<_ACEOF
24299 /* confdefs.h. */
24300 _ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304 $ac_includes_default
24305 #include <hash_map>
24306 _ACEOF
24307 rm -f conftest.$ac_objext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24309 (eval $ac_compile) 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try='test -s conftest.$ac_objext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 ac_header_compiler=yes
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24332
24333 ac_header_compiler=no
24334 fi
24335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24337 echo "${ECHO_T}$ac_header_compiler" >&6
24338
24339 # Is the header present?
24340 echo "$as_me:$LINENO: checking hash_map presence" >&5
24341 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24342 cat >conftest.$ac_ext <<_ACEOF
24343 /* confdefs.h. */
24344 _ACEOF
24345 cat confdefs.h >>conftest.$ac_ext
24346 cat >>conftest.$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24348 #include <hash_map>
24349 _ACEOF
24350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24352 ac_status=$?
24353 grep -v '^ *+' conftest.er1 >conftest.err
24354 rm -f conftest.er1
24355 cat conftest.err >&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } >/dev/null; then
24358 if test -s conftest.err; then
24359 ac_cpp_err=$ac_c_preproc_warn_flag
24360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24361 else
24362 ac_cpp_err=
24363 fi
24364 else
24365 ac_cpp_err=yes
24366 fi
24367 if test -z "$ac_cpp_err"; then
24368 ac_header_preproc=yes
24369 else
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24372
24373 ac_header_preproc=no
24374 fi
24375 rm -f conftest.err conftest.$ac_ext
24376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24377 echo "${ECHO_T}$ac_header_preproc" >&6
24378
24379 # So? What about this header?
24380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24381 yes:no: )
24382 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24383 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24384 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24385 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24386 ac_header_preproc=yes
24387 ;;
24388 no:yes:* )
24389 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24390 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24391 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24392 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24393 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24394 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24395 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24396 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24397 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24398 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24399 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24400 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24401 (
24402 cat <<\_ASBOX
24403 ## ----------------------------------------- ##
24404 ## Report this to wx-dev@lists.wxwidgets.org ##
24405 ## ----------------------------------------- ##
24406 _ASBOX
24407 ) |
24408 sed "s/^/$as_me: WARNING: /" >&2
24409 ;;
24410 esac
24411 echo "$as_me:$LINENO: checking for hash_map" >&5
24412 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24413 if test "${ac_cv_header_hash_map+set}" = set; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 else
24416 ac_cv_header_hash_map=$ac_header_preproc
24417 fi
24418 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24419 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24420
24421 fi
24422 if test $ac_cv_header_hash_map = yes; then
24423 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24424 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431 #include <hash_map>
24432 #include <hash_set>
24433 int
24434 main ()
24435 {
24436 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24437 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24438 ;
24439 return 0;
24440 }
24441 _ACEOF
24442 rm -f conftest.$ac_objext
24443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24444 (eval $ac_compile) 2>conftest.er1
24445 ac_status=$?
24446 grep -v '^ *+' conftest.er1 >conftest.err
24447 rm -f conftest.er1
24448 cat conftest.err >&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24454 ac_status=$?
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try='test -s conftest.$ac_objext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 echo "$as_me:$LINENO: result: yes" >&5
24464 echo "${ECHO_T}yes" >&6
24465 cat >>confdefs.h <<\_ACEOF
24466 #define HAVE_HASH_MAP 1
24467 _ACEOF
24468
24469 cat >>confdefs.h <<\_ACEOF
24470 #define HAVE_STD_HASH_MAP 1
24471 _ACEOF
24472
24473 else
24474 echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.$ac_ext >&5
24476
24477 echo "$as_me:$LINENO: result: no" >&5
24478 echo "${ECHO_T}no" >&6
24479 fi
24480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24481
24482 fi
24483
24484
24485
24486 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24487 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24488 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24489 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 fi
24492 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24493 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24494 else
24495 # Is the header compilable?
24496 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24497 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24498 cat >conftest.$ac_ext <<_ACEOF
24499 /* confdefs.h. */
24500 _ACEOF
24501 cat confdefs.h >>conftest.$ac_ext
24502 cat >>conftest.$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24504 $ac_includes_default
24505 #include <ext/hash_map>
24506 _ACEOF
24507 rm -f conftest.$ac_objext
24508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24509 (eval $ac_compile) 2>conftest.er1
24510 ac_status=$?
24511 grep -v '^ *+' conftest.er1 >conftest.err
24512 rm -f conftest.er1
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } &&
24516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518 (eval $ac_try) 2>&5
24519 ac_status=$?
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; } &&
24522 { ac_try='test -s conftest.$ac_objext'
24523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24524 (eval $ac_try) 2>&5
24525 ac_status=$?
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); }; }; then
24528 ac_header_compiler=yes
24529 else
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.$ac_ext >&5
24532
24533 ac_header_compiler=no
24534 fi
24535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24537 echo "${ECHO_T}$ac_header_compiler" >&6
24538
24539 # Is the header present?
24540 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24541 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24542 cat >conftest.$ac_ext <<_ACEOF
24543 /* confdefs.h. */
24544 _ACEOF
24545 cat confdefs.h >>conftest.$ac_ext
24546 cat >>conftest.$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24548 #include <ext/hash_map>
24549 _ACEOF
24550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24552 ac_status=$?
24553 grep -v '^ *+' conftest.er1 >conftest.err
24554 rm -f conftest.er1
24555 cat conftest.err >&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } >/dev/null; then
24558 if test -s conftest.err; then
24559 ac_cpp_err=$ac_c_preproc_warn_flag
24560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24561 else
24562 ac_cpp_err=
24563 fi
24564 else
24565 ac_cpp_err=yes
24566 fi
24567 if test -z "$ac_cpp_err"; then
24568 ac_header_preproc=yes
24569 else
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24572
24573 ac_header_preproc=no
24574 fi
24575 rm -f conftest.err conftest.$ac_ext
24576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24577 echo "${ECHO_T}$ac_header_preproc" >&6
24578
24579 # So? What about this header?
24580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24581 yes:no: )
24582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24583 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24585 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24586 ac_header_preproc=yes
24587 ;;
24588 no:yes:* )
24589 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24590 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24591 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24592 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24593 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24594 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24595 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24596 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24597 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24598 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24599 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24600 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24601 (
24602 cat <<\_ASBOX
24603 ## ----------------------------------------- ##
24604 ## Report this to wx-dev@lists.wxwidgets.org ##
24605 ## ----------------------------------------- ##
24606 _ASBOX
24607 ) |
24608 sed "s/^/$as_me: WARNING: /" >&2
24609 ;;
24610 esac
24611 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24612 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24613 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 else
24616 ac_cv_header_ext_hash_map=$ac_header_preproc
24617 fi
24618 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24619 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24620
24621 fi
24622 if test $ac_cv_header_ext_hash_map = yes; then
24623 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24624 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24625 cat >conftest.$ac_ext <<_ACEOF
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 #include <ext/hash_map>
24632 #include <ext/hash_set>
24633 int
24634 main ()
24635 {
24636 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24637 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24638 ;
24639 return 0;
24640 }
24641 _ACEOF
24642 rm -f conftest.$ac_objext
24643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24644 (eval $ac_compile) 2>conftest.er1
24645 ac_status=$?
24646 grep -v '^ *+' conftest.er1 >conftest.err
24647 rm -f conftest.er1
24648 cat conftest.err >&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } &&
24651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653 (eval $ac_try) 2>&5
24654 ac_status=$?
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; } &&
24657 { ac_try='test -s conftest.$ac_objext'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24660 ac_status=$?
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; }; then
24663 echo "$as_me:$LINENO: result: yes" >&5
24664 echo "${ECHO_T}yes" >&6
24665 cat >>confdefs.h <<\_ACEOF
24666 #define HAVE_EXT_HASH_MAP 1
24667 _ACEOF
24668
24669 cat >>confdefs.h <<\_ACEOF
24670 #define HAVE_GNU_CXX_HASH_MAP 1
24671 _ACEOF
24672
24673 else
24674 echo "$as_me: failed program was:" >&5
24675 sed 's/^/| /' conftest.$ac_ext >&5
24676
24677 echo "$as_me:$LINENO: result: no" >&5
24678 echo "${ECHO_T}no" >&6
24679 fi
24680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24681
24682 fi
24683
24684
24685 fi
24686
24687
24688 SEARCH_INCLUDE="\
24689 /usr/local/include \
24690 \
24691 /usr/Motif-2.1/include \
24692 /usr/Motif-1.2/include \
24693 /usr/include/Motif1.2 \
24694 \
24695 /usr/dt/include \
24696 /usr/openwin/include \
24697 \
24698 /usr/include/Xm \
24699 \
24700 /usr/X11R6/include \
24701 /usr/X11R6.4/include \
24702 /usr/X11R5/include \
24703 /usr/X11R4/include \
24704 \
24705 /usr/include/X11R6 \
24706 /usr/include/X11R5 \
24707 /usr/include/X11R4 \
24708 \
24709 /usr/local/X11R6/include \
24710 /usr/local/X11R5/include \
24711 /usr/local/X11R4/include \
24712 \
24713 /usr/local/include/X11R6 \
24714 /usr/local/include/X11R5 \
24715 /usr/local/include/X11R4 \
24716 \
24717 /usr/X11/include \
24718 /usr/include/X11 \
24719 /usr/local/X11/include \
24720 /usr/local/include/X11 \
24721 \
24722 /usr/XFree86/include/X11 \
24723 /usr/pkg/include \
24724 \
24725 /usr/openwin/share/include"
24726
24727 echo "$as_me:$LINENO: checking for libraries directory" >&5
24728 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24729
24730 case "${host}" in
24731 *-*-irix6* )
24732 if test "${wx_cv_std_libpath+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24734 else
24735
24736 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24737 for e in a so sl dylib dll.a; do
24738 libc="$d/libc.$e"
24739 if test -f $libc; then
24740 save_LIBS="$LIBS"
24741 LIBS="$libc"
24742 cat >conftest.$ac_ext <<_ACEOF
24743 int main() { return 0; }
24744 _ACEOF
24745 rm -f conftest.$ac_objext conftest$ac_exeext
24746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24747 (eval $ac_link) 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } &&
24754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24756 (eval $ac_try) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); }; } &&
24760 { ac_try='test -s conftest$ac_exeext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24767 else
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24770
24771 fi
24772 rm -f conftest.err conftest.$ac_objext \
24773 conftest$ac_exeext conftest.$ac_ext
24774 LIBS="$save_LIBS"
24775 if test "x$wx_cv_std_libpath" != "x"; then
24776 break 2
24777 fi
24778 fi
24779 done
24780 done
24781 if test "x$wx_cv_std_libpath" = "x"; then
24782 wx_cv_std_libpath="lib"
24783 fi
24784
24785
24786 fi
24787
24788 ;;
24789
24790 *-*-solaris2* )
24791 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24792 wx_cv_std_libpath="lib/64"
24793 else
24794 wx_cv_std_libpath="lib"
24795 fi
24796 ;;
24797
24798 *-*-linux* )
24799 if test "$ac_cv_sizeof_void_p" = 8 -a \
24800 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24801 wx_cv_std_libpath="lib64"
24802 else
24803 wx_cv_std_libpath="lib"
24804 fi
24805 ;;
24806
24807 *)
24808 wx_cv_std_libpath="lib";
24809 ;;
24810 esac
24811
24812 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24813 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24814
24815 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24816
24817 if test "$build" != "$host" -a "$GCC" = yes; then
24818 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24819 cross_root=`dirname $cross_root`
24820 cross_root=`dirname $cross_root`
24821
24822 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24823 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24824 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24825
24826 if test -z "$PKG_CONFIG_PATH"; then
24827 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24828 export PKG_CONFIG_PATH
24829 fi
24830
24831 if test -z "$x_includes" -o "$x_includes" = NONE; then
24832
24833 ac_find_includes=
24834 for ac_dir in $SEARCH_INCLUDE /usr/include;
24835 do
24836 if test -f "$ac_dir/X11/Intrinsic.h"; then
24837 ac_find_includes=$ac_dir
24838 break
24839 fi
24840 done
24841
24842 x_includes=$ac_find_includes
24843 fi
24844 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24845
24846 ac_find_libraries=
24847 for ac_dir in $SEARCH_LIB;
24848 do
24849 for ac_extension in a so sl dylib dll.a; do
24850 if test -f "$ac_dir/libXt.$ac_extension"; then
24851 ac_find_libraries=$ac_dir
24852 break 2
24853 fi
24854 done
24855 done
24856
24857 x_libraries=$ac_find_libraries
24858 fi
24859 fi
24860 fi
24861
24862
24863 cat >confcache <<\_ACEOF
24864 # This file is a shell script that caches the results of configure
24865 # tests run on this system so they can be shared between configure
24866 # scripts and configure runs, see configure's option --config-cache.
24867 # It is not useful on other systems. If it contains results you don't
24868 # want to keep, you may remove or edit it.
24869 #
24870 # config.status only pays attention to the cache file if you give it
24871 # the --recheck option to rerun configure.
24872 #
24873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24875 # following values.
24876
24877 _ACEOF
24878
24879 # The following way of writing the cache mishandles newlines in values,
24880 # but we know of no workaround that is simple, portable, and efficient.
24881 # So, don't put newlines in cache variables' values.
24882 # Ultrix sh set writes to stderr and can't be redirected directly,
24883 # and sets the high bit in the cache file unless we assign to the vars.
24884 {
24885 (set) 2>&1 |
24886 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24887 *ac_space=\ *)
24888 # `set' does not quote correctly, so add quotes (double-quote
24889 # substitution turns \\\\ into \\, and sed turns \\ into \).
24890 sed -n \
24891 "s/'/'\\\\''/g;
24892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24893 ;;
24894 *)
24895 # `set' quotes correctly as required by POSIX, so do not add quotes.
24896 sed -n \
24897 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24898 ;;
24899 esac;
24900 } |
24901 sed '
24902 t clear
24903 : clear
24904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24905 t end
24906 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24907 : end' >>confcache
24908 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24909 if test -w $cache_file; then
24910 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24911 cat confcache >$cache_file
24912 else
24913 echo "not updating unwritable cache $cache_file"
24914 fi
24915 fi
24916 rm -f confcache
24917
24918 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24919 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24920 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24921 if test "${wx_cv_lib_glibc21+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 else
24924
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h. */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931 #include <features.h>
24932 int
24933 main ()
24934 {
24935
24936 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24937 not glibc 2.1
24938 #endif
24939
24940 ;
24941 return 0;
24942 }
24943 _ACEOF
24944 rm -f conftest.$ac_objext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24946 (eval $ac_compile) 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24956 ac_status=$?
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; } &&
24959 { ac_try='test -s conftest.$ac_objext'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; }; then
24965
24966 wx_cv_lib_glibc21=yes
24967
24968 else
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.$ac_ext >&5
24971
24972
24973 wx_cv_lib_glibc21=no
24974
24975
24976 fi
24977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24978
24979 fi
24980 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24981 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24982 if test "$wx_cv_lib_glibc21" = "yes"; then
24983 cat >>confdefs.h <<\_ACEOF
24984 #define wxHAVE_GLIBC2 1
24985 _ACEOF
24986
24987 fi
24988 fi
24989
24990 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24991 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24992 cat >>confdefs.h <<\_ACEOF
24993 #define _GNU_SOURCE 1
24994 _ACEOF
24995
24996 fi
24997 fi
24998
24999 have_cos=0
25000 have_floor=0
25001
25002 for ac_func in cos
25003 do
25004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25005 echo "$as_me:$LINENO: checking for $ac_func" >&5
25006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25007 if eval "test \"\${$as_ac_var+set}\" = set"; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 else
25010 cat >conftest.$ac_ext <<_ACEOF
25011 /* confdefs.h. */
25012 _ACEOF
25013 cat confdefs.h >>conftest.$ac_ext
25014 cat >>conftest.$ac_ext <<_ACEOF
25015 /* end confdefs.h. */
25016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25018 #define $ac_func innocuous_$ac_func
25019
25020 /* System header to define __stub macros and hopefully few prototypes,
25021 which can conflict with char $ac_func (); below.
25022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25023 <limits.h> exists even on freestanding compilers. */
25024
25025 #ifdef __STDC__
25026 # include <limits.h>
25027 #else
25028 # include <assert.h>
25029 #endif
25030
25031 #undef $ac_func
25032
25033 /* Override any gcc2 internal prototype to avoid an error. */
25034 #ifdef __cplusplus
25035 extern "C"
25036 {
25037 #endif
25038 /* We use char because int might match the return type of a gcc2
25039 builtin and then its argument prototype would still apply. */
25040 char $ac_func ();
25041 /* The GNU C library defines this for functions which it implements
25042 to always fail with ENOSYS. Some functions are actually named
25043 something starting with __ and the normal name is an alias. */
25044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25045 choke me
25046 #else
25047 char (*f) () = $ac_func;
25048 #endif
25049 #ifdef __cplusplus
25050 }
25051 #endif
25052
25053 int
25054 main ()
25055 {
25056 return f != $ac_func;
25057 ;
25058 return 0;
25059 }
25060 _ACEOF
25061 rm -f conftest.$ac_objext conftest$ac_exeext
25062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25063 (eval $ac_link) 2>conftest.er1
25064 ac_status=$?
25065 grep -v '^ *+' conftest.er1 >conftest.err
25066 rm -f conftest.er1
25067 cat conftest.err >&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); } &&
25070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; } &&
25076 { ac_try='test -s conftest$ac_exeext'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25079 ac_status=$?
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; }; then
25082 eval "$as_ac_var=yes"
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 eval "$as_ac_var=no"
25088 fi
25089 rm -f conftest.err conftest.$ac_objext \
25090 conftest$ac_exeext conftest.$ac_ext
25091 fi
25092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25094 if test `eval echo '${'$as_ac_var'}'` = yes; then
25095 cat >>confdefs.h <<_ACEOF
25096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25097 _ACEOF
25098 have_cos=1
25099 fi
25100 done
25101
25102
25103 for ac_func in floor
25104 do
25105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25106 echo "$as_me:$LINENO: checking for $ac_func" >&5
25107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25108 if eval "test \"\${$as_ac_var+set}\" = set"; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 else
25111 cat >conftest.$ac_ext <<_ACEOF
25112 /* confdefs.h. */
25113 _ACEOF
25114 cat confdefs.h >>conftest.$ac_ext
25115 cat >>conftest.$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25119 #define $ac_func innocuous_$ac_func
25120
25121 /* System header to define __stub macros and hopefully few prototypes,
25122 which can conflict with char $ac_func (); below.
25123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25124 <limits.h> exists even on freestanding compilers. */
25125
25126 #ifdef __STDC__
25127 # include <limits.h>
25128 #else
25129 # include <assert.h>
25130 #endif
25131
25132 #undef $ac_func
25133
25134 /* Override any gcc2 internal prototype to avoid an error. */
25135 #ifdef __cplusplus
25136 extern "C"
25137 {
25138 #endif
25139 /* We use char because int might match the return type of a gcc2
25140 builtin and then its argument prototype would still apply. */
25141 char $ac_func ();
25142 /* The GNU C library defines this for functions which it implements
25143 to always fail with ENOSYS. Some functions are actually named
25144 something starting with __ and the normal name is an alias. */
25145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25146 choke me
25147 #else
25148 char (*f) () = $ac_func;
25149 #endif
25150 #ifdef __cplusplus
25151 }
25152 #endif
25153
25154 int
25155 main ()
25156 {
25157 return f != $ac_func;
25158 ;
25159 return 0;
25160 }
25161 _ACEOF
25162 rm -f conftest.$ac_objext conftest$ac_exeext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25164 (eval $ac_link) 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25174 ac_status=$?
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try='test -s conftest$ac_exeext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 eval "$as_ac_var=yes"
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 eval "$as_ac_var=no"
25189 fi
25190 rm -f conftest.err conftest.$ac_objext \
25191 conftest$ac_exeext conftest.$ac_ext
25192 fi
25193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25195 if test `eval echo '${'$as_ac_var'}'` = yes; then
25196 cat >>confdefs.h <<_ACEOF
25197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25198 _ACEOF
25199 have_floor=1
25200 fi
25201 done
25202
25203 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25204 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25205 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25206 echo "$as_me:$LINENO: result: yes" >&5
25207 echo "${ECHO_T}yes" >&6
25208 else
25209 echo "$as_me:$LINENO: result: no" >&5
25210 echo "${ECHO_T}no" >&6
25211 LIBS="$LIBS -lm"
25212 # use different functions to avoid configure caching
25213 have_sin=0
25214 have_ceil=0
25215
25216 for ac_func in sin
25217 do
25218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25219 echo "$as_me:$LINENO: checking for $ac_func" >&5
25220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25221 if eval "test \"\${$as_ac_var+set}\" = set"; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25232 #define $ac_func innocuous_$ac_func
25233
25234 /* System header to define __stub macros and hopefully few prototypes,
25235 which can conflict with char $ac_func (); below.
25236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25237 <limits.h> exists even on freestanding compilers. */
25238
25239 #ifdef __STDC__
25240 # include <limits.h>
25241 #else
25242 # include <assert.h>
25243 #endif
25244
25245 #undef $ac_func
25246
25247 /* Override any gcc2 internal prototype to avoid an error. */
25248 #ifdef __cplusplus
25249 extern "C"
25250 {
25251 #endif
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25254 char $ac_func ();
25255 /* The GNU C library defines this for functions which it implements
25256 to always fail with ENOSYS. Some functions are actually named
25257 something starting with __ and the normal name is an alias. */
25258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25259 choke me
25260 #else
25261 char (*f) () = $ac_func;
25262 #endif
25263 #ifdef __cplusplus
25264 }
25265 #endif
25266
25267 int
25268 main ()
25269 {
25270 return f != $ac_func;
25271 ;
25272 return 0;
25273 }
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286 (eval $ac_try) 2>&5
25287 ac_status=$?
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; } &&
25290 { ac_try='test -s conftest$ac_exeext'
25291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292 (eval $ac_try) 2>&5
25293 ac_status=$?
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); }; }; then
25296 eval "$as_ac_var=yes"
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 eval "$as_ac_var=no"
25302 fi
25303 rm -f conftest.err conftest.$ac_objext \
25304 conftest$ac_exeext conftest.$ac_ext
25305 fi
25306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25308 if test `eval echo '${'$as_ac_var'}'` = yes; then
25309 cat >>confdefs.h <<_ACEOF
25310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25311 _ACEOF
25312 have_sin=1
25313 fi
25314 done
25315
25316
25317 for ac_func in ceil
25318 do
25319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25320 echo "$as_me:$LINENO: checking for $ac_func" >&5
25321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25322 if eval "test \"\${$as_ac_var+set}\" = set"; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 else
25325 cat >conftest.$ac_ext <<_ACEOF
25326 /* confdefs.h. */
25327 _ACEOF
25328 cat confdefs.h >>conftest.$ac_ext
25329 cat >>conftest.$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25333 #define $ac_func innocuous_$ac_func
25334
25335 /* System header to define __stub macros and hopefully few prototypes,
25336 which can conflict with char $ac_func (); below.
25337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25338 <limits.h> exists even on freestanding compilers. */
25339
25340 #ifdef __STDC__
25341 # include <limits.h>
25342 #else
25343 # include <assert.h>
25344 #endif
25345
25346 #undef $ac_func
25347
25348 /* Override any gcc2 internal prototype to avoid an error. */
25349 #ifdef __cplusplus
25350 extern "C"
25351 {
25352 #endif
25353 /* We use char because int might match the return type of a gcc2
25354 builtin and then its argument prototype would still apply. */
25355 char $ac_func ();
25356 /* The GNU C library defines this for functions which it implements
25357 to always fail with ENOSYS. Some functions are actually named
25358 something starting with __ and the normal name is an alias. */
25359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25360 choke me
25361 #else
25362 char (*f) () = $ac_func;
25363 #endif
25364 #ifdef __cplusplus
25365 }
25366 #endif
25367
25368 int
25369 main ()
25370 {
25371 return f != $ac_func;
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 rm -f conftest.$ac_objext conftest$ac_exeext
25377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25378 (eval $ac_link) 2>conftest.er1
25379 ac_status=$?
25380 grep -v '^ *+' conftest.er1 >conftest.err
25381 rm -f conftest.er1
25382 cat conftest.err >&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } &&
25385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387 (eval $ac_try) 2>&5
25388 ac_status=$?
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); }; } &&
25391 { ac_try='test -s conftest$ac_exeext'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; }; then
25397 eval "$as_ac_var=yes"
25398 else
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25401
25402 eval "$as_ac_var=no"
25403 fi
25404 rm -f conftest.err conftest.$ac_objext \
25405 conftest$ac_exeext conftest.$ac_ext
25406 fi
25407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25409 if test `eval echo '${'$as_ac_var'}'` = yes; then
25410 cat >>confdefs.h <<_ACEOF
25411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25412 _ACEOF
25413 have_ceil=1
25414 fi
25415 done
25416
25417 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25418 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25419 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25420 echo "$as_me:$LINENO: result: yes" >&5
25421 echo "${ECHO_T}yes" >&6
25422 else
25423 echo "$as_me:$LINENO: result: no" >&5
25424 echo "${ECHO_T}no" >&6
25425 # not sure we should warn the user, crash, etc.
25426 fi
25427 fi
25428
25429 if test "wxUSE_UNICODE" = "yes"; then
25430
25431 for wx_func in wcstoull
25432 do
25433 echo "$as_me:$LINENO: checking for $wx_func" >&5
25434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
25435 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
25436 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 else
25438
25439 cat >conftest.$ac_ext <<_ACEOF
25440
25441 /* confdefs.h. */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446
25447
25448 $ac_includes_default
25449
25450 int
25451 main ()
25452 {
25453
25454 #ifndef $wx_func
25455 &$wx_func;
25456 #endif
25457
25458
25459 ;
25460 return 0;
25461 }
25462
25463 _ACEOF
25464 rm -f conftest.$ac_objext conftest$ac_exeext
25465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25466 (eval $ac_link) 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25476 ac_status=$?
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; } &&
25479 { ac_try='test -s conftest$ac_exeext'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25482 ac_status=$?
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; }; then
25485 eval wx_cv_func_$wx_func=yes
25486 else
25487 echo "$as_me: failed program was:" >&5
25488 sed 's/^/| /' conftest.$ac_ext >&5
25489
25490 eval wx_cv_func_$wx_func=no
25491 fi
25492 rm -f conftest.err conftest.$ac_objext \
25493 conftest$ac_exeext conftest.$ac_ext
25494
25495 fi
25496 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
25497 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
25498
25499 if eval test \$wx_cv_func_$wx_func = yes
25500 then
25501 cat >>confdefs.h <<_ACEOF
25502 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25503 _ACEOF
25504
25505
25506 else
25507 :
25508
25509 fi
25510 done
25511
25512 else
25513
25514 for wx_func in strtoull
25515 do
25516 echo "$as_me:$LINENO: checking for $wx_func" >&5
25517 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
25518 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 else
25521
25522 cat >conftest.$ac_ext <<_ACEOF
25523
25524 /* confdefs.h. */
25525 _ACEOF
25526 cat confdefs.h >>conftest.$ac_ext
25527 cat >>conftest.$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529
25530
25531 $ac_includes_default
25532
25533 int
25534 main ()
25535 {
25536
25537 #ifndef $wx_func
25538 &$wx_func;
25539 #endif
25540
25541
25542 ;
25543 return 0;
25544 }
25545
25546 _ACEOF
25547 rm -f conftest.$ac_objext conftest$ac_exeext
25548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25549 (eval $ac_link) 2>conftest.er1
25550 ac_status=$?
25551 grep -v '^ *+' conftest.er1 >conftest.err
25552 rm -f conftest.er1
25553 cat conftest.err >&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); } &&
25556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558 (eval $ac_try) 2>&5
25559 ac_status=$?
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); }; } &&
25562 { ac_try='test -s conftest$ac_exeext'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25565 ac_status=$?
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; }; then
25568 eval wx_cv_func_$wx_func=yes
25569 else
25570 echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.$ac_ext >&5
25572
25573 eval wx_cv_func_$wx_func=no
25574 fi
25575 rm -f conftest.err conftest.$ac_objext \
25576 conftest$ac_exeext conftest.$ac_ext
25577
25578 fi
25579 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
25580 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
25581
25582 if eval test \$wx_cv_func_$wx_func = yes
25583 then
25584 cat >>confdefs.h <<_ACEOF
25585 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25586 _ACEOF
25587
25588
25589 else
25590 :
25591
25592 fi
25593 done
25594
25595 fi
25596
25597
25598
25599 if test "$wxUSE_REGEX" != "no"; then
25600 cat >>confdefs.h <<\_ACEOF
25601 #define wxUSE_REGEX 1
25602 _ACEOF
25603
25604
25605 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25606 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25607 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25608 wxUSE_REGEX=builtin
25609 fi
25610
25611 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25612 if test "${ac_cv_header_regex_h+set}" = set; then
25613 echo "$as_me:$LINENO: checking for regex.h" >&5
25614 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25615 if test "${ac_cv_header_regex_h+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 fi
25618 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25619 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25620 else
25621 # Is the header compilable?
25622 echo "$as_me:$LINENO: checking regex.h usability" >&5
25623 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 $ac_includes_default
25631 #include <regex.h>
25632 _ACEOF
25633 rm -f conftest.$ac_objext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25635 (eval $ac_compile) 2>conftest.er1
25636 ac_status=$?
25637 grep -v '^ *+' conftest.er1 >conftest.err
25638 rm -f conftest.er1
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25644 (eval $ac_try) 2>&5
25645 ac_status=$?
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); }; } &&
25648 { ac_try='test -s conftest.$ac_objext'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25651 ac_status=$?
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; }; then
25654 ac_header_compiler=yes
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 ac_header_compiler=no
25660 fi
25661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25663 echo "${ECHO_T}$ac_header_compiler" >&6
25664
25665 # Is the header present?
25666 echo "$as_me:$LINENO: checking regex.h presence" >&5
25667 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25668 cat >conftest.$ac_ext <<_ACEOF
25669 /* confdefs.h. */
25670 _ACEOF
25671 cat confdefs.h >>conftest.$ac_ext
25672 cat >>conftest.$ac_ext <<_ACEOF
25673 /* end confdefs.h. */
25674 #include <regex.h>
25675 _ACEOF
25676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25678 ac_status=$?
25679 grep -v '^ *+' conftest.er1 >conftest.err
25680 rm -f conftest.er1
25681 cat conftest.err >&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); } >/dev/null; then
25684 if test -s conftest.err; then
25685 ac_cpp_err=$ac_c_preproc_warn_flag
25686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25687 else
25688 ac_cpp_err=
25689 fi
25690 else
25691 ac_cpp_err=yes
25692 fi
25693 if test -z "$ac_cpp_err"; then
25694 ac_header_preproc=yes
25695 else
25696 echo "$as_me: failed program was:" >&5
25697 sed 's/^/| /' conftest.$ac_ext >&5
25698
25699 ac_header_preproc=no
25700 fi
25701 rm -f conftest.err conftest.$ac_ext
25702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25703 echo "${ECHO_T}$ac_header_preproc" >&6
25704
25705 # So? What about this header?
25706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25707 yes:no: )
25708 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25709 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25711 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25712 ac_header_preproc=yes
25713 ;;
25714 no:yes:* )
25715 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25716 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25717 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25718 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25719 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25720 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25721 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25722 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25723 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25724 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25725 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25726 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25727 (
25728 cat <<\_ASBOX
25729 ## ----------------------------------------- ##
25730 ## Report this to wx-dev@lists.wxwidgets.org ##
25731 ## ----------------------------------------- ##
25732 _ASBOX
25733 ) |
25734 sed "s/^/$as_me: WARNING: /" >&2
25735 ;;
25736 esac
25737 echo "$as_me:$LINENO: checking for regex.h" >&5
25738 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25739 if test "${ac_cv_header_regex_h+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 else
25742 ac_cv_header_regex_h=$ac_header_preproc
25743 fi
25744 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25745 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25746
25747 fi
25748 if test $ac_cv_header_regex_h = yes; then
25749
25750
25751 for ac_func in regcomp re_search
25752 do
25753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25754 echo "$as_me:$LINENO: checking for $ac_func" >&5
25755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25756 if eval "test \"\${$as_ac_var+set}\" = set"; then
25757 echo $ECHO_N "(cached) $ECHO_C" >&6
25758 else
25759 cat >conftest.$ac_ext <<_ACEOF
25760 /* confdefs.h. */
25761 _ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25767 #define $ac_func innocuous_$ac_func
25768
25769 /* System header to define __stub macros and hopefully few prototypes,
25770 which can conflict with char $ac_func (); below.
25771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25772 <limits.h> exists even on freestanding compilers. */
25773
25774 #ifdef __STDC__
25775 # include <limits.h>
25776 #else
25777 # include <assert.h>
25778 #endif
25779
25780 #undef $ac_func
25781
25782 /* Override any gcc2 internal prototype to avoid an error. */
25783 #ifdef __cplusplus
25784 extern "C"
25785 {
25786 #endif
25787 /* We use char because int might match the return type of a gcc2
25788 builtin and then its argument prototype would still apply. */
25789 char $ac_func ();
25790 /* The GNU C library defines this for functions which it implements
25791 to always fail with ENOSYS. Some functions are actually named
25792 something starting with __ and the normal name is an alias. */
25793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25794 choke me
25795 #else
25796 char (*f) () = $ac_func;
25797 #endif
25798 #ifdef __cplusplus
25799 }
25800 #endif
25801
25802 int
25803 main ()
25804 {
25805 return f != $ac_func;
25806 ;
25807 return 0;
25808 }
25809 _ACEOF
25810 rm -f conftest.$ac_objext conftest$ac_exeext
25811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25812 (eval $ac_link) 2>conftest.er1
25813 ac_status=$?
25814 grep -v '^ *+' conftest.er1 >conftest.err
25815 rm -f conftest.er1
25816 cat conftest.err >&5
25817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); } &&
25819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25821 (eval $ac_try) 2>&5
25822 ac_status=$?
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); }; } &&
25825 { ac_try='test -s conftest$ac_exeext'
25826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827 (eval $ac_try) 2>&5
25828 ac_status=$?
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); }; }; then
25831 eval "$as_ac_var=yes"
25832 else
25833 echo "$as_me: failed program was:" >&5
25834 sed 's/^/| /' conftest.$ac_ext >&5
25835
25836 eval "$as_ac_var=no"
25837 fi
25838 rm -f conftest.err conftest.$ac_objext \
25839 conftest$ac_exeext conftest.$ac_ext
25840 fi
25841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25843 if test `eval echo '${'$as_ac_var'}'` = yes; then
25844 cat >>confdefs.h <<_ACEOF
25845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25846 _ACEOF
25847
25848 fi
25849 done
25850
25851 fi
25852
25853
25854
25855 if test "x$ac_cv_func_regcomp" != "xyes"; then
25856 if test "$wxUSE_REGEX" = "sys" ; then
25857 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25858 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25859 { (exit 1); exit 1; }; }
25860 else
25861 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25862 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25863 wxUSE_REGEX=builtin
25864 fi
25865 else
25866 wxUSE_REGEX=sys
25867 cat >>confdefs.h <<\_ACEOF
25868 #define WX_NO_REGEX_ADVANCED 1
25869 _ACEOF
25870
25871 fi
25872 fi
25873 fi
25874
25875
25876 ZLIB_LINK=
25877 if test "$wxUSE_ZLIB" != "no" ; then
25878 cat >>confdefs.h <<\_ACEOF
25879 #define wxUSE_ZLIB 1
25880 _ACEOF
25881
25882
25883 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25884 if test "$USE_DARWIN" = 1; then
25885 system_zlib_h_ok="yes"
25886 else
25887 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25888 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25889 if test "${ac_cv_header_zlib_h+set}" = set; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25892 if test "$cross_compiling" = yes; then
25893 unset ac_cv_header_zlib_h
25894
25895 else
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h. */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25902
25903 #include <zlib.h>
25904 #include <stdio.h>
25905
25906 int main()
25907 {
25908 FILE *f=fopen("conftestval", "w");
25909 if (!f) exit(1);
25910 fprintf(f, "%s",
25911 ZLIB_VERSION[0] == '1' &&
25912 (ZLIB_VERSION[2] > '1' ||
25913 (ZLIB_VERSION[2] == '1' &&
25914 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25915 exit(0);
25916 }
25917
25918 _ACEOF
25919 rm -f conftest$ac_exeext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25921 (eval $ac_link) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25927 ac_status=$?
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; }; then
25930 ac_cv_header_zlib_h=`cat conftestval`
25931 else
25932 echo "$as_me: program exited with status $ac_status" >&5
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.$ac_ext >&5
25935
25936 ( exit $ac_status )
25937 ac_cv_header_zlib_h=no
25938 fi
25939 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25940 fi
25941
25942 fi
25943 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25944 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25945 if test "${ac_cv_header_zlib_h+set}" = set; then
25946 echo "$as_me:$LINENO: checking for zlib.h" >&5
25947 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25948 if test "${ac_cv_header_zlib_h+set}" = set; then
25949 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 fi
25951 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25952 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25953 else
25954 # Is the header compilable?
25955 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25956 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25957 cat >conftest.$ac_ext <<_ACEOF
25958 /* confdefs.h. */
25959 _ACEOF
25960 cat confdefs.h >>conftest.$ac_ext
25961 cat >>conftest.$ac_ext <<_ACEOF
25962 /* end confdefs.h. */
25963 $ac_includes_default
25964 #include <zlib.h>
25965 _ACEOF
25966 rm -f conftest.$ac_objext
25967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25968 (eval $ac_compile) 2>conftest.er1
25969 ac_status=$?
25970 grep -v '^ *+' conftest.er1 >conftest.err
25971 rm -f conftest.er1
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } &&
25975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25977 (eval $ac_try) 2>&5
25978 ac_status=$?
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); }; } &&
25981 { ac_try='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 ac_header_compiler=yes
25988 else
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.$ac_ext >&5
25991
25992 ac_header_compiler=no
25993 fi
25994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25996 echo "${ECHO_T}$ac_header_compiler" >&6
25997
25998 # Is the header present?
25999 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26000 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26001 cat >conftest.$ac_ext <<_ACEOF
26002 /* confdefs.h. */
26003 _ACEOF
26004 cat confdefs.h >>conftest.$ac_ext
26005 cat >>conftest.$ac_ext <<_ACEOF
26006 /* end confdefs.h. */
26007 #include <zlib.h>
26008 _ACEOF
26009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26011 ac_status=$?
26012 grep -v '^ *+' conftest.er1 >conftest.err
26013 rm -f conftest.er1
26014 cat conftest.err >&5
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); } >/dev/null; then
26017 if test -s conftest.err; then
26018 ac_cpp_err=$ac_c_preproc_warn_flag
26019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26020 else
26021 ac_cpp_err=
26022 fi
26023 else
26024 ac_cpp_err=yes
26025 fi
26026 if test -z "$ac_cpp_err"; then
26027 ac_header_preproc=yes
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 ac_header_preproc=no
26033 fi
26034 rm -f conftest.err conftest.$ac_ext
26035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26036 echo "${ECHO_T}$ac_header_preproc" >&6
26037
26038 # So? What about this header?
26039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26040 yes:no: )
26041 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26042 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26044 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26045 ac_header_preproc=yes
26046 ;;
26047 no:yes:* )
26048 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26049 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26050 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26051 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26053 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26054 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26055 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26056 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26057 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26058 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26059 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26060 (
26061 cat <<\_ASBOX
26062 ## ----------------------------------------- ##
26063 ## Report this to wx-dev@lists.wxwidgets.org ##
26064 ## ----------------------------------------- ##
26065 _ASBOX
26066 ) |
26067 sed "s/^/$as_me: WARNING: /" >&2
26068 ;;
26069 esac
26070 echo "$as_me:$LINENO: checking for zlib.h" >&5
26071 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26072 if test "${ac_cv_header_zlib_h+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26075 ac_cv_header_zlib_h=$ac_header_preproc
26076 fi
26077 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26078 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26079
26080 fi
26081
26082
26083
26084 system_zlib_h_ok=$ac_cv_header_zlib_h
26085 fi
26086
26087 if test "$system_zlib_h_ok" = "yes"; then
26088 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26089 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26090 if test "${ac_cv_lib_z_deflate+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093 ac_check_lib_save_LIBS=$LIBS
26094 LIBS="-lz $LIBS"
26095 cat >conftest.$ac_ext <<_ACEOF
26096 /* confdefs.h. */
26097 _ACEOF
26098 cat confdefs.h >>conftest.$ac_ext
26099 cat >>conftest.$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26101
26102 /* Override any gcc2 internal prototype to avoid an error. */
26103 #ifdef __cplusplus
26104 extern "C"
26105 #endif
26106 /* We use char because int might match the return type of a gcc2
26107 builtin and then its argument prototype would still apply. */
26108 char deflate ();
26109 int
26110 main ()
26111 {
26112 deflate ();
26113 ;
26114 return 0;
26115 }
26116 _ACEOF
26117 rm -f conftest.$ac_objext conftest$ac_exeext
26118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26119 (eval $ac_link) 2>conftest.er1
26120 ac_status=$?
26121 grep -v '^ *+' conftest.er1 >conftest.err
26122 rm -f conftest.er1
26123 cat conftest.err >&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } &&
26126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26129 ac_status=$?
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; } &&
26132 { ac_try='test -s conftest$ac_exeext'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26135 ac_status=$?
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 ac_cv_lib_z_deflate=yes
26139 else
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26142
26143 ac_cv_lib_z_deflate=no
26144 fi
26145 rm -f conftest.err conftest.$ac_objext \
26146 conftest$ac_exeext conftest.$ac_ext
26147 LIBS=$ac_check_lib_save_LIBS
26148 fi
26149 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26150 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26151 if test $ac_cv_lib_z_deflate = yes; then
26152 ZLIB_LINK=" -lz"
26153 fi
26154
26155 fi
26156
26157 if test "x$ZLIB_LINK" = "x" ; then
26158 if test "$wxUSE_ZLIB" = "sys" ; then
26159 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26160 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26161 { (exit 1); exit 1; }; }
26162 else
26163 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26164 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26165 wxUSE_ZLIB=builtin
26166 fi
26167 else
26168 wxUSE_ZLIB=sys
26169 fi
26170 fi
26171 fi
26172
26173
26174 PNG_LINK=
26175 if test "$wxUSE_LIBPNG" != "no" ; then
26176 cat >>confdefs.h <<\_ACEOF
26177 #define wxUSE_LIBPNG 1
26178 _ACEOF
26179
26180
26181 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26182 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26183 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26184 wxUSE_LIBPNG=sys
26185 fi
26186
26187 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26188 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26189 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26190 wxUSE_LIBPNG=builtin
26191 fi
26192
26193 if test "$wxUSE_MGL" != 1 ; then
26194 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26195 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26196 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26197 if test "${ac_cv_header_png_h+set}" = set; then
26198 echo $ECHO_N "(cached) $ECHO_C" >&6
26199 else
26200 if test "$cross_compiling" = yes; then
26201 unset ac_cv_header_png_h
26202
26203 else
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26210
26211 #include <png.h>
26212 #include <stdio.h>
26213
26214 int main()
26215 {
26216 FILE *f=fopen("conftestval", "w");
26217 if (!f) exit(1);
26218 fprintf(f, "%s",
26219 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26220 exit(0);
26221 }
26222
26223 _ACEOF
26224 rm -f conftest$ac_exeext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26226 (eval $ac_link) 2>&5
26227 ac_status=$?
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231 (eval $ac_try) 2>&5
26232 ac_status=$?
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); }; }; then
26235 ac_cv_header_png_h=`cat conftestval`
26236 else
26237 echo "$as_me: program exited with status $ac_status" >&5
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.$ac_ext >&5
26240
26241 ( exit $ac_status )
26242 ac_cv_header_png_h=no
26243 fi
26244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26245 fi
26246
26247 fi
26248 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26249 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26250 if test "${ac_cv_header_png_h+set}" = set; then
26251 echo "$as_me:$LINENO: checking for png.h" >&5
26252 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26253 if test "${ac_cv_header_png_h+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 fi
26256 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26257 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26258 else
26259 # Is the header compilable?
26260 echo "$as_me:$LINENO: checking png.h usability" >&5
26261 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26262 cat >conftest.$ac_ext <<_ACEOF
26263 /* confdefs.h. */
26264 _ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 $ac_includes_default
26269 #include <png.h>
26270 _ACEOF
26271 rm -f conftest.$ac_objext
26272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26273 (eval $ac_compile) 2>conftest.er1
26274 ac_status=$?
26275 grep -v '^ *+' conftest.er1 >conftest.err
26276 rm -f conftest.er1
26277 cat conftest.err >&5
26278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26279 (exit $ac_status); } &&
26280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26282 (eval $ac_try) 2>&5
26283 ac_status=$?
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; } &&
26286 { ac_try='test -s conftest.$ac_objext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 ac_header_compiler=yes
26293 else
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26296
26297 ac_header_compiler=no
26298 fi
26299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26301 echo "${ECHO_T}$ac_header_compiler" >&6
26302
26303 # Is the header present?
26304 echo "$as_me:$LINENO: checking png.h presence" >&5
26305 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26306 cat >conftest.$ac_ext <<_ACEOF
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 #include <png.h>
26313 _ACEOF
26314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26316 ac_status=$?
26317 grep -v '^ *+' conftest.er1 >conftest.err
26318 rm -f conftest.er1
26319 cat conftest.err >&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } >/dev/null; then
26322 if test -s conftest.err; then
26323 ac_cpp_err=$ac_c_preproc_warn_flag
26324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26325 else
26326 ac_cpp_err=
26327 fi
26328 else
26329 ac_cpp_err=yes
26330 fi
26331 if test -z "$ac_cpp_err"; then
26332 ac_header_preproc=yes
26333 else
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.$ac_ext >&5
26336
26337 ac_header_preproc=no
26338 fi
26339 rm -f conftest.err conftest.$ac_ext
26340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26341 echo "${ECHO_T}$ac_header_preproc" >&6
26342
26343 # So? What about this header?
26344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26345 yes:no: )
26346 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26347 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26349 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26350 ac_header_preproc=yes
26351 ;;
26352 no:yes:* )
26353 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26354 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26356 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26358 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26360 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26361 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26362 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26364 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26365 (
26366 cat <<\_ASBOX
26367 ## ----------------------------------------- ##
26368 ## Report this to wx-dev@lists.wxwidgets.org ##
26369 ## ----------------------------------------- ##
26370 _ASBOX
26371 ) |
26372 sed "s/^/$as_me: WARNING: /" >&2
26373 ;;
26374 esac
26375 echo "$as_me:$LINENO: checking for png.h" >&5
26376 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26377 if test "${ac_cv_header_png_h+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 else
26380 ac_cv_header_png_h=$ac_header_preproc
26381 fi
26382 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26383 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26384
26385 fi
26386
26387
26388
26389 if test "$ac_cv_header_png_h" = "yes"; then
26390 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26391 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26392 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395 ac_check_lib_save_LIBS=$LIBS
26396 LIBS="-lpng -lz -lm $LIBS"
26397 cat >conftest.$ac_ext <<_ACEOF
26398 /* confdefs.h. */
26399 _ACEOF
26400 cat confdefs.h >>conftest.$ac_ext
26401 cat >>conftest.$ac_ext <<_ACEOF
26402 /* end confdefs.h. */
26403
26404 /* Override any gcc2 internal prototype to avoid an error. */
26405 #ifdef __cplusplus
26406 extern "C"
26407 #endif
26408 /* We use char because int might match the return type of a gcc2
26409 builtin and then its argument prototype would still apply. */
26410 char png_check_sig ();
26411 int
26412 main ()
26413 {
26414 png_check_sig ();
26415 ;
26416 return 0;
26417 }
26418 _ACEOF
26419 rm -f conftest.$ac_objext conftest$ac_exeext
26420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26421 (eval $ac_link) 2>conftest.er1
26422 ac_status=$?
26423 grep -v '^ *+' conftest.er1 >conftest.err
26424 rm -f conftest.er1
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; } &&
26434 { ac_try='test -s conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 ac_cv_lib_png_png_check_sig=yes
26441 else
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26444
26445 ac_cv_lib_png_png_check_sig=no
26446 fi
26447 rm -f conftest.err conftest.$ac_objext \
26448 conftest$ac_exeext conftest.$ac_ext
26449 LIBS=$ac_check_lib_save_LIBS
26450 fi
26451 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26452 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26453 if test $ac_cv_lib_png_png_check_sig = yes; then
26454 PNG_LINK=" -lpng -lz"
26455 fi
26456
26457 fi
26458
26459 if test "x$PNG_LINK" = "x" ; then
26460 if test "$wxUSE_LIBPNG" = "sys" ; then
26461 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26462 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26463 { (exit 1); exit 1; }; }
26464 else
26465 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26466 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26467 wxUSE_LIBPNG=builtin
26468 fi
26469 else
26470 wxUSE_LIBPNG=sys
26471 fi
26472 fi
26473 fi
26474
26475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26476 fi
26477
26478
26479 JPEG_LINK=
26480 if test "$wxUSE_LIBJPEG" != "no" ; then
26481 cat >>confdefs.h <<\_ACEOF
26482 #define wxUSE_LIBJPEG 1
26483 _ACEOF
26484
26485
26486 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26487 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26488 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26489 wxUSE_LIBJPEG=sys
26490 fi
26491
26492 if test "$wxUSE_MGL" != 1 ; then
26493 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26494 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26495 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26496 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 else
26499 cat >conftest.$ac_ext <<_ACEOF
26500 /* confdefs.h. */
26501 _ACEOF
26502 cat confdefs.h >>conftest.$ac_ext
26503 cat >>conftest.$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26505
26506 #undef HAVE_STDLIB_H
26507 #include <stdio.h>
26508 #include <jpeglib.h>
26509
26510 int
26511 main ()
26512 {
26513
26514
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26522 ac_status=$?
26523 grep -v '^ *+' conftest.er1 >conftest.err
26524 rm -f conftest.er1
26525 cat conftest.err >&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest.$ac_objext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 ac_cv_header_jpeglib_h=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26544
26545 ac_cv_header_jpeglib_h=no
26546
26547 fi
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549
26550 fi
26551
26552 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26553 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26554
26555 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26556 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26557 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26558 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 else
26561 ac_check_lib_save_LIBS=$LIBS
26562 LIBS="-ljpeg $LIBS"
26563 cat >conftest.$ac_ext <<_ACEOF
26564 /* confdefs.h. */
26565 _ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569
26570 /* Override any gcc2 internal prototype to avoid an error. */
26571 #ifdef __cplusplus
26572 extern "C"
26573 #endif
26574 /* We use char because int might match the return type of a gcc2
26575 builtin and then its argument prototype would still apply. */
26576 char jpeg_read_header ();
26577 int
26578 main ()
26579 {
26580 jpeg_read_header ();
26581 ;
26582 return 0;
26583 }
26584 _ACEOF
26585 rm -f conftest.$ac_objext conftest$ac_exeext
26586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26587 (eval $ac_link) 2>conftest.er1
26588 ac_status=$?
26589 grep -v '^ *+' conftest.er1 >conftest.err
26590 rm -f conftest.er1
26591 cat conftest.err >&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } &&
26594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26597 ac_status=$?
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; } &&
26600 { ac_try='test -s conftest$ac_exeext'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26603 ac_status=$?
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; }; then
26606 ac_cv_lib_jpeg_jpeg_read_header=yes
26607 else
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26610
26611 ac_cv_lib_jpeg_jpeg_read_header=no
26612 fi
26613 rm -f conftest.err conftest.$ac_objext \
26614 conftest$ac_exeext conftest.$ac_ext
26615 LIBS=$ac_check_lib_save_LIBS
26616 fi
26617 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26618 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26619 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26620 JPEG_LINK=" -ljpeg"
26621 fi
26622
26623 fi
26624
26625 if test "x$JPEG_LINK" = "x" ; then
26626 if test "$wxUSE_LIBJPEG" = "sys" ; then
26627 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26628 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26629 { (exit 1); exit 1; }; }
26630 else
26631 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26632 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26633 wxUSE_LIBJPEG=builtin
26634 fi
26635 else
26636 wxUSE_LIBJPEG=sys
26637 fi
26638 fi
26639 fi
26640 fi
26641
26642
26643 TIFF_LINK=
26644 TIFF_PREREQ_LINKS=-lm
26645 if test "$wxUSE_LIBTIFF" != "no" ; then
26646 cat >>confdefs.h <<\_ACEOF
26647 #define wxUSE_LIBTIFF 1
26648 _ACEOF
26649
26650
26651 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26652 if test "$wxUSE_LIBJPEG" = "sys"; then
26653 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26654 fi
26655 if test "$wxUSE_ZLIB" = "sys"; then
26656 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26657 fi
26658 if test "${ac_cv_header_tiffio_h+set}" = set; then
26659 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26660 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26661 if test "${ac_cv_header_tiffio_h+set}" = set; then
26662 echo $ECHO_N "(cached) $ECHO_C" >&6
26663 fi
26664 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26665 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26666 else
26667 # Is the header compilable?
26668 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26669 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26670 cat >conftest.$ac_ext <<_ACEOF
26671 /* confdefs.h. */
26672 _ACEOF
26673 cat confdefs.h >>conftest.$ac_ext
26674 cat >>conftest.$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26676 $ac_includes_default
26677 #include <tiffio.h>
26678 _ACEOF
26679 rm -f conftest.$ac_objext
26680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26681 (eval $ac_compile) 2>conftest.er1
26682 ac_status=$?
26683 grep -v '^ *+' conftest.er1 >conftest.err
26684 rm -f conftest.er1
26685 cat conftest.err >&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26691 ac_status=$?
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; } &&
26694 { ac_try='test -s conftest.$ac_objext'
26695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696 (eval $ac_try) 2>&5
26697 ac_status=$?
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); }; }; then
26700 ac_header_compiler=yes
26701 else
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705 ac_header_compiler=no
26706 fi
26707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26709 echo "${ECHO_T}$ac_header_compiler" >&6
26710
26711 # Is the header present?
26712 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26713 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26714 cat >conftest.$ac_ext <<_ACEOF
26715 /* confdefs.h. */
26716 _ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26720 #include <tiffio.h>
26721 _ACEOF
26722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26724 ac_status=$?
26725 grep -v '^ *+' conftest.er1 >conftest.err
26726 rm -f conftest.er1
26727 cat conftest.err >&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } >/dev/null; then
26730 if test -s conftest.err; then
26731 ac_cpp_err=$ac_c_preproc_warn_flag
26732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26733 else
26734 ac_cpp_err=
26735 fi
26736 else
26737 ac_cpp_err=yes
26738 fi
26739 if test -z "$ac_cpp_err"; then
26740 ac_header_preproc=yes
26741 else
26742 echo "$as_me: failed program was:" >&5
26743 sed 's/^/| /' conftest.$ac_ext >&5
26744
26745 ac_header_preproc=no
26746 fi
26747 rm -f conftest.err conftest.$ac_ext
26748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26749 echo "${ECHO_T}$ac_header_preproc" >&6
26750
26751 # So? What about this header?
26752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26753 yes:no: )
26754 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26755 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26757 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26758 ac_header_preproc=yes
26759 ;;
26760 no:yes:* )
26761 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26762 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26764 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26766 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26768 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26769 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26770 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26772 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26773 (
26774 cat <<\_ASBOX
26775 ## ----------------------------------------- ##
26776 ## Report this to wx-dev@lists.wxwidgets.org ##
26777 ## ----------------------------------------- ##
26778 _ASBOX
26779 ) |
26780 sed "s/^/$as_me: WARNING: /" >&2
26781 ;;
26782 esac
26783 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26784 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26785 if test "${ac_cv_header_tiffio_h+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26788 ac_cv_header_tiffio_h=$ac_header_preproc
26789 fi
26790 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26791 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26792
26793 fi
26794 if test $ac_cv_header_tiffio_h = yes; then
26795
26796 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26797 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26798 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 /* Override any gcc2 internal prototype to avoid an error. */
26811 #ifdef __cplusplus
26812 extern "C"
26813 #endif
26814 /* We use char because int might match the return type of a gcc2
26815 builtin and then its argument prototype would still apply. */
26816 char TIFFError ();
26817 int
26818 main ()
26819 {
26820 TIFFError ();
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26827 (eval $ac_link) 2>conftest.er1
26828 ac_status=$?
26829 grep -v '^ *+' conftest.er1 >conftest.err
26830 rm -f conftest.er1
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } &&
26834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26836 (eval $ac_try) 2>&5
26837 ac_status=$?
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); }; } &&
26840 { ac_try='test -s conftest$ac_exeext'
26841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26842 (eval $ac_try) 2>&5
26843 ac_status=$?
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); }; }; then
26846 ac_cv_lib_tiff_TIFFError=yes
26847 else
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26850
26851 ac_cv_lib_tiff_TIFFError=no
26852 fi
26853 rm -f conftest.err conftest.$ac_objext \
26854 conftest$ac_exeext conftest.$ac_ext
26855 LIBS=$ac_check_lib_save_LIBS
26856 fi
26857 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26858 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26859 if test $ac_cv_lib_tiff_TIFFError = yes; then
26860 TIFF_LINK=" -ltiff"
26861 fi
26862
26863
26864
26865 fi
26866
26867
26868
26869 if test "x$TIFF_LINK" = "x" ; then
26870 if test "$wxUSE_LIBTIFF" = "sys" ; then
26871 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26872 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26873 { (exit 1); exit 1; }; }
26874 else
26875 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26876 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26877 wxUSE_LIBTIFF=builtin
26878 fi
26879 else
26880 wxUSE_LIBTIFF=sys
26881 fi
26882 fi
26883 fi
26884
26885
26886 if test "$wxUSE_WCHAR_T" != "yes"; then
26887 if test "$wxUSE_EXPAT" != "no"; then
26888 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26889 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26890 wxUSE_EXPAT=no
26891 fi
26892 if test "$wxUSE_XML" != "no"; then
26893 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26894 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26895 wxUSE_XML=no
26896 fi
26897 fi
26898
26899 if test "$wxUSE_EXPAT" != "no"; then
26900 wxUSE_XML=yes
26901 cat >>confdefs.h <<\_ACEOF
26902 #define wxUSE_EXPAT 1
26903 _ACEOF
26904
26905 cat >>confdefs.h <<\_ACEOF
26906 #define wxUSE_XML 1
26907 _ACEOF
26908
26909
26910 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26911 if test "${ac_cv_header_expat_h+set}" = set; then
26912 echo "$as_me:$LINENO: checking for expat.h" >&5
26913 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26914 if test "${ac_cv_header_expat_h+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 fi
26917 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26918 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26919 else
26920 # Is the header compilable?
26921 echo "$as_me:$LINENO: checking expat.h usability" >&5
26922 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 $ac_includes_default
26930 #include <expat.h>
26931 _ACEOF
26932 rm -f conftest.$ac_objext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26934 (eval $ac_compile) 2>conftest.er1
26935 ac_status=$?
26936 grep -v '^ *+' conftest.er1 >conftest.err
26937 rm -f conftest.er1
26938 cat conftest.err >&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26944 ac_status=$?
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; } &&
26947 { ac_try='test -s conftest.$ac_objext'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_header_compiler=yes
26954 else
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26957
26958 ac_header_compiler=no
26959 fi
26960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26962 echo "${ECHO_T}$ac_header_compiler" >&6
26963
26964 # Is the header present?
26965 echo "$as_me:$LINENO: checking expat.h presence" >&5
26966 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26967 cat >conftest.$ac_ext <<_ACEOF
26968 /* confdefs.h. */
26969 _ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 #include <expat.h>
26974 _ACEOF
26975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26977 ac_status=$?
26978 grep -v '^ *+' conftest.er1 >conftest.err
26979 rm -f conftest.er1
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } >/dev/null; then
26983 if test -s conftest.err; then
26984 ac_cpp_err=$ac_c_preproc_warn_flag
26985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26986 else
26987 ac_cpp_err=
26988 fi
26989 else
26990 ac_cpp_err=yes
26991 fi
26992 if test -z "$ac_cpp_err"; then
26993 ac_header_preproc=yes
26994 else
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26997
26998 ac_header_preproc=no
26999 fi
27000 rm -f conftest.err conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27002 echo "${ECHO_T}$ac_header_preproc" >&6
27003
27004 # So? What about this header?
27005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27006 yes:no: )
27007 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27008 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27010 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27011 ac_header_preproc=yes
27012 ;;
27013 no:yes:* )
27014 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27015 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27016 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27017 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27018 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27019 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27020 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27021 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27022 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27023 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27024 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27025 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27026 (
27027 cat <<\_ASBOX
27028 ## ----------------------------------------- ##
27029 ## Report this to wx-dev@lists.wxwidgets.org ##
27030 ## ----------------------------------------- ##
27031 _ASBOX
27032 ) |
27033 sed "s/^/$as_me: WARNING: /" >&2
27034 ;;
27035 esac
27036 echo "$as_me:$LINENO: checking for expat.h" >&5
27037 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27038 if test "${ac_cv_header_expat_h+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27041 ac_cv_header_expat_h=$ac_header_preproc
27042 fi
27043 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27044 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27045
27046 fi
27047 if test $ac_cv_header_expat_h = yes; then
27048 found_expat_h=1
27049 fi
27050
27051
27052 if test "x$found_expat_h" = "x1"; then
27053 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27054 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27055 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27056 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 else
27058
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <expat.h>
27066 int
27067 main ()
27068 {
27069
27070 ;
27071 return 0;
27072 }
27073 _ACEOF
27074 rm -f conftest.$ac_objext
27075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27076 (eval $ac_compile) 2>conftest.er1
27077 ac_status=$?
27078 grep -v '^ *+' conftest.er1 >conftest.err
27079 rm -f conftest.er1
27080 cat conftest.err >&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest.$ac_objext'
27090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091 (eval $ac_try) 2>&5
27092 ac_status=$?
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); }; }; then
27095 wx_cv_expat_is_not_broken=yes
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27099
27100 wx_cv_expat_is_not_broken=no
27101
27102 fi
27103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27104
27105
27106 fi
27107 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27108 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27109 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27110 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27111 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27112 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 else
27115 ac_check_lib_save_LIBS=$LIBS
27116 LIBS="-lexpat $LIBS"
27117 cat >conftest.$ac_ext <<_ACEOF
27118 /* confdefs.h. */
27119 _ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27123
27124 /* Override any gcc2 internal prototype to avoid an error. */
27125 #ifdef __cplusplus
27126 extern "C"
27127 #endif
27128 /* We use char because int might match the return type of a gcc2
27129 builtin and then its argument prototype would still apply. */
27130 char XML_ParserCreate ();
27131 int
27132 main ()
27133 {
27134 XML_ParserCreate ();
27135 ;
27136 return 0;
27137 }
27138 _ACEOF
27139 rm -f conftest.$ac_objext conftest$ac_exeext
27140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27141 (eval $ac_link) 2>conftest.er1
27142 ac_status=$?
27143 grep -v '^ *+' conftest.er1 >conftest.err
27144 rm -f conftest.er1
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27151 ac_status=$?
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; } &&
27154 { ac_try='test -s conftest$ac_exeext'
27155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27156 (eval $ac_try) 2>&5
27157 ac_status=$?
27158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 (exit $ac_status); }; }; then
27160 ac_cv_lib_expat_XML_ParserCreate=yes
27161 else
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27164
27165 ac_cv_lib_expat_XML_ParserCreate=no
27166 fi
27167 rm -f conftest.err conftest.$ac_objext \
27168 conftest$ac_exeext conftest.$ac_ext
27169 LIBS=$ac_check_lib_save_LIBS
27170 fi
27171 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27172 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27173 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27174 EXPAT_LINK=" -lexpat"
27175 fi
27176
27177 fi
27178 fi
27179 if test "x$EXPAT_LINK" = "x" ; then
27180 if test "$wxUSE_EXPAT" = "sys" ; then
27181 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27182 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27183 { (exit 1); exit 1; }; }
27184 else
27185 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27186 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27187 wxUSE_EXPAT=builtin
27188 fi
27189 else
27190 wxUSE_EXPAT=sys
27191 fi
27192 fi
27193 if test "$wxUSE_EXPAT" = "builtin" ; then
27194
27195
27196 subdirs="$subdirs src/expat"
27197
27198 fi
27199 fi
27200
27201
27202
27203 if test "$wxUSE_LIBMSPACK" != "no"; then
27204 if test "${ac_cv_header_mspack_h+set}" = set; then
27205 echo "$as_me:$LINENO: checking for mspack.h" >&5
27206 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27207 if test "${ac_cv_header_mspack_h+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27209 fi
27210 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27211 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27212 else
27213 # Is the header compilable?
27214 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27215 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27216 cat >conftest.$ac_ext <<_ACEOF
27217 /* confdefs.h. */
27218 _ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222 $ac_includes_default
27223 #include <mspack.h>
27224 _ACEOF
27225 rm -f conftest.$ac_objext
27226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27227 (eval $ac_compile) 2>conftest.er1
27228 ac_status=$?
27229 grep -v '^ *+' conftest.er1 >conftest.err
27230 rm -f conftest.er1
27231 cat conftest.err >&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); } &&
27234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27236 (eval $ac_try) 2>&5
27237 ac_status=$?
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); }; } &&
27240 { ac_try='test -s conftest.$ac_objext'
27241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27242 (eval $ac_try) 2>&5
27243 ac_status=$?
27244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245 (exit $ac_status); }; }; then
27246 ac_header_compiler=yes
27247 else
27248 echo "$as_me: failed program was:" >&5
27249 sed 's/^/| /' conftest.$ac_ext >&5
27250
27251 ac_header_compiler=no
27252 fi
27253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27255 echo "${ECHO_T}$ac_header_compiler" >&6
27256
27257 # Is the header present?
27258 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27259 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27260 cat >conftest.$ac_ext <<_ACEOF
27261 /* confdefs.h. */
27262 _ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 #include <mspack.h>
27267 _ACEOF
27268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27270 ac_status=$?
27271 grep -v '^ *+' conftest.er1 >conftest.err
27272 rm -f conftest.er1
27273 cat conftest.err >&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } >/dev/null; then
27276 if test -s conftest.err; then
27277 ac_cpp_err=$ac_c_preproc_warn_flag
27278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27279 else
27280 ac_cpp_err=
27281 fi
27282 else
27283 ac_cpp_err=yes
27284 fi
27285 if test -z "$ac_cpp_err"; then
27286 ac_header_preproc=yes
27287 else
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27290
27291 ac_header_preproc=no
27292 fi
27293 rm -f conftest.err conftest.$ac_ext
27294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27295 echo "${ECHO_T}$ac_header_preproc" >&6
27296
27297 # So? What about this header?
27298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27299 yes:no: )
27300 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27301 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27303 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27304 ac_header_preproc=yes
27305 ;;
27306 no:yes:* )
27307 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27308 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27309 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27310 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27311 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27312 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27313 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27314 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27315 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27316 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27317 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27318 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27319 (
27320 cat <<\_ASBOX
27321 ## ----------------------------------------- ##
27322 ## Report this to wx-dev@lists.wxwidgets.org ##
27323 ## ----------------------------------------- ##
27324 _ASBOX
27325 ) |
27326 sed "s/^/$as_me: WARNING: /" >&2
27327 ;;
27328 esac
27329 echo "$as_me:$LINENO: checking for mspack.h" >&5
27330 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27331 if test "${ac_cv_header_mspack_h+set}" = set; then
27332 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 else
27334 ac_cv_header_mspack_h=$ac_header_preproc
27335 fi
27336 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27337 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27338
27339 fi
27340 if test $ac_cv_header_mspack_h = yes; then
27341 found_mspack_h=1
27342 fi
27343
27344
27345 if test "x$found_mspack_h" = "x1"; then
27346 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27347 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27348 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27349 echo $ECHO_N "(cached) $ECHO_C" >&6
27350 else
27351 ac_check_lib_save_LIBS=$LIBS
27352 LIBS="-lmspack $LIBS"
27353 cat >conftest.$ac_ext <<_ACEOF
27354 /* confdefs.h. */
27355 _ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359
27360 /* Override any gcc2 internal prototype to avoid an error. */
27361 #ifdef __cplusplus
27362 extern "C"
27363 #endif
27364 /* We use char because int might match the return type of a gcc2
27365 builtin and then its argument prototype would still apply. */
27366 char mspack_create_chm_decompressor ();
27367 int
27368 main ()
27369 {
27370 mspack_create_chm_decompressor ();
27371 ;
27372 return 0;
27373 }
27374 _ACEOF
27375 rm -f conftest.$ac_objext conftest$ac_exeext
27376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27377 (eval $ac_link) 2>conftest.er1
27378 ac_status=$?
27379 grep -v '^ *+' conftest.er1 >conftest.err
27380 rm -f conftest.er1
27381 cat conftest.err >&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); } &&
27384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27387 ac_status=$?
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; } &&
27390 { ac_try='test -s conftest$ac_exeext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27393 ac_status=$?
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27397 else
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27402 fi
27403 rm -f conftest.err conftest.$ac_objext \
27404 conftest$ac_exeext conftest.$ac_ext
27405 LIBS=$ac_check_lib_save_LIBS
27406 fi
27407 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27408 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27409 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27410 MSPACK_LINK=" -lmspack"
27411 fi
27412
27413 fi
27414 if test "x$MSPACK_LINK" = "x" ; then
27415 wxUSE_LIBMSPACK=no
27416 fi
27417 fi
27418
27419 if test "$wxUSE_LIBMSPACK" != "no"; then
27420 cat >>confdefs.h <<\_ACEOF
27421 #define wxUSE_LIBMSPACK 1
27422 _ACEOF
27423
27424 fi
27425
27426
27427
27428 AFMINSTALL=
27429 WIN32INSTALL=
27430
27431 TOOLKIT=
27432 TOOLKIT_INCLUDE=
27433 WIDGET_SET=
27434
27435 if test "$USE_WIN32" = 1 ; then
27436
27437 for ac_header in w32api.h
27438 do
27439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27441 echo "$as_me:$LINENO: checking for $ac_header" >&5
27442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27445 fi
27446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27448 else
27449 # Is the header compilable?
27450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27452 cat >conftest.$ac_ext <<_ACEOF
27453 /* confdefs.h. */
27454 _ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 $ac_includes_default
27459 #include <$ac_header>
27460 _ACEOF
27461 rm -f conftest.$ac_objext
27462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27463 (eval $ac_compile) 2>conftest.er1
27464 ac_status=$?
27465 grep -v '^ *+' conftest.er1 >conftest.err
27466 rm -f conftest.er1
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; } &&
27476 { ac_try='test -s conftest.$ac_objext'
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27479 ac_status=$?
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; }; then
27482 ac_header_compiler=yes
27483 else
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27486
27487 ac_header_compiler=no
27488 fi
27489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27491 echo "${ECHO_T}$ac_header_compiler" >&6
27492
27493 # Is the header present?
27494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27496 cat >conftest.$ac_ext <<_ACEOF
27497 /* confdefs.h. */
27498 _ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502 #include <$ac_header>
27503 _ACEOF
27504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27506 ac_status=$?
27507 grep -v '^ *+' conftest.er1 >conftest.err
27508 rm -f conftest.er1
27509 cat conftest.err >&5
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); } >/dev/null; then
27512 if test -s conftest.err; then
27513 ac_cpp_err=$ac_c_preproc_warn_flag
27514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27515 else
27516 ac_cpp_err=
27517 fi
27518 else
27519 ac_cpp_err=yes
27520 fi
27521 if test -z "$ac_cpp_err"; then
27522 ac_header_preproc=yes
27523 else
27524 echo "$as_me: failed program was:" >&5
27525 sed 's/^/| /' conftest.$ac_ext >&5
27526
27527 ac_header_preproc=no
27528 fi
27529 rm -f conftest.err conftest.$ac_ext
27530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27531 echo "${ECHO_T}$ac_header_preproc" >&6
27532
27533 # So? What about this header?
27534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27535 yes:no: )
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27540 ac_header_preproc=yes
27541 ;;
27542 no:yes:* )
27543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27555 (
27556 cat <<\_ASBOX
27557 ## ----------------------------------------- ##
27558 ## Report this to wx-dev@lists.wxwidgets.org ##
27559 ## ----------------------------------------- ##
27560 _ASBOX
27561 ) |
27562 sed "s/^/$as_me: WARNING: /" >&2
27563 ;;
27564 esac
27565 echo "$as_me:$LINENO: checking for $ac_header" >&5
27566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27568 echo $ECHO_N "(cached) $ECHO_C" >&6
27569 else
27570 eval "$as_ac_Header=\$ac_header_preproc"
27571 fi
27572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27574
27575 fi
27576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27577 cat >>confdefs.h <<_ACEOF
27578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27579 _ACEOF
27580
27581 fi
27582
27583 done
27584
27585 if test "${ac_cv_header_windows_h+set}" = set; then
27586 echo "$as_me:$LINENO: checking for windows.h" >&5
27587 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27588 if test "${ac_cv_header_windows_h+set}" = set; then
27589 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 fi
27591 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27592 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27593 else
27594 # Is the header compilable?
27595 echo "$as_me:$LINENO: checking windows.h usability" >&5
27596 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27597 cat >conftest.$ac_ext <<_ACEOF
27598 /* confdefs.h. */
27599 _ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27603 $ac_includes_default
27604 #include <windows.h>
27605 _ACEOF
27606 rm -f conftest.$ac_objext
27607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27608 (eval $ac_compile) 2>conftest.er1
27609 ac_status=$?
27610 grep -v '^ *+' conftest.er1 >conftest.err
27611 rm -f conftest.er1
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } &&
27615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617 (eval $ac_try) 2>&5
27618 ac_status=$?
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); }; } &&
27621 { ac_try='test -s conftest.$ac_objext'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27624 ac_status=$?
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; }; then
27627 ac_header_compiler=yes
27628 else
27629 echo "$as_me: failed program was:" >&5
27630 sed 's/^/| /' conftest.$ac_ext >&5
27631
27632 ac_header_compiler=no
27633 fi
27634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27636 echo "${ECHO_T}$ac_header_compiler" >&6
27637
27638 # Is the header present?
27639 echo "$as_me:$LINENO: checking windows.h presence" >&5
27640 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27641 cat >conftest.$ac_ext <<_ACEOF
27642 /* confdefs.h. */
27643 _ACEOF
27644 cat confdefs.h >>conftest.$ac_ext
27645 cat >>conftest.$ac_ext <<_ACEOF
27646 /* end confdefs.h. */
27647 #include <windows.h>
27648 _ACEOF
27649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27651 ac_status=$?
27652 grep -v '^ *+' conftest.er1 >conftest.err
27653 rm -f conftest.er1
27654 cat conftest.err >&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); } >/dev/null; then
27657 if test -s conftest.err; then
27658 ac_cpp_err=$ac_c_preproc_warn_flag
27659 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27660 else
27661 ac_cpp_err=
27662 fi
27663 else
27664 ac_cpp_err=yes
27665 fi
27666 if test -z "$ac_cpp_err"; then
27667 ac_header_preproc=yes
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27671
27672 ac_header_preproc=no
27673 fi
27674 rm -f conftest.err conftest.$ac_ext
27675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27676 echo "${ECHO_T}$ac_header_preproc" >&6
27677
27678 # So? What about this header?
27679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27680 yes:no: )
27681 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27682 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27684 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27685 ac_header_preproc=yes
27686 ;;
27687 no:yes:* )
27688 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27689 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27690 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27691 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27692 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27693 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27694 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27695 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27696 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27697 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27698 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27699 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27700 (
27701 cat <<\_ASBOX
27702 ## ----------------------------------------- ##
27703 ## Report this to wx-dev@lists.wxwidgets.org ##
27704 ## ----------------------------------------- ##
27705 _ASBOX
27706 ) |
27707 sed "s/^/$as_me: WARNING: /" >&2
27708 ;;
27709 esac
27710 echo "$as_me:$LINENO: checking for windows.h" >&5
27711 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27712 if test "${ac_cv_header_windows_h+set}" = set; then
27713 echo $ECHO_N "(cached) $ECHO_C" >&6
27714 else
27715 ac_cv_header_windows_h=$ac_header_preproc
27716 fi
27717 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27718 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27719
27720 fi
27721 if test $ac_cv_header_windows_h = yes; then
27722 :
27723 else
27724
27725 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27726 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27727 { (exit 1); exit 1; }; }
27728
27729 fi
27730
27731
27732
27733 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27734
27735 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27736 LIBS="$LIBS -loleacc"
27737 fi
27738
27739 case "${host}" in
27740 *-*-cygwin* )
27741 LIBS="$LIBS -lkernel32 -luser32"
27742 esac
27743
27744 if test "$wxUSE_ODBC" = "sys" ; then
27745 wxUSE_ODBC = "yes"
27746 fi
27747 if test "$wxUSE_ODBC" = "yes" ; then
27748 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27749 cat >>confdefs.h <<\_ACEOF
27750 #define wxUSE_ODBC 1
27751 _ACEOF
27752
27753 fi
27754
27755 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27756 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27757
27758 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27759
27760 WIN32INSTALL=win32install
27761
27762 echo "$as_me:$LINENO: checking for boolean" >&5
27763 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27764 if test "${ac_cv_type_boolean+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 else
27767 cat >conftest.$ac_ext <<_ACEOF
27768 /* confdefs.h. */
27769 _ACEOF
27770 cat confdefs.h >>conftest.$ac_ext
27771 cat >>conftest.$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773 #include <windows.h>
27774
27775 int
27776 main ()
27777 {
27778 if ((boolean *) 0)
27779 return 0;
27780 if (sizeof (boolean))
27781 return 0;
27782 ;
27783 return 0;
27784 }
27785 _ACEOF
27786 rm -f conftest.$ac_objext
27787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27788 (eval $ac_compile) 2>conftest.er1
27789 ac_status=$?
27790 grep -v '^ *+' conftest.er1 >conftest.err
27791 rm -f conftest.er1
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } &&
27795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27798 ac_status=$?
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; } &&
27801 { ac_try='test -s conftest.$ac_objext'
27802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27803 (eval $ac_try) 2>&5
27804 ac_status=$?
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); }; }; then
27807 ac_cv_type_boolean=yes
27808 else
27809 echo "$as_me: failed program was:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27811
27812 ac_cv_type_boolean=no
27813 fi
27814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27815 fi
27816 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27817 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27818 if test $ac_cv_type_boolean = yes; then
27819
27820 cat >>confdefs.h <<_ACEOF
27821 #define HAVE_BOOLEAN 1
27822 _ACEOF
27823
27824
27825 fi
27826
27827
27828
27829 for ac_header in pbt.h
27830 do
27831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27833 echo "$as_me:$LINENO: checking for $ac_header" >&5
27834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27836 echo $ECHO_N "(cached) $ECHO_C" >&6
27837 fi
27838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27840 else
27841 # Is the header compilable?
27842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27844 cat >conftest.$ac_ext <<_ACEOF
27845 /* confdefs.h. */
27846 _ACEOF
27847 cat confdefs.h >>conftest.$ac_ext
27848 cat >>conftest.$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27850 $ac_includes_default
27851 #include <$ac_header>
27852 _ACEOF
27853 rm -f conftest.$ac_objext
27854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27855 (eval $ac_compile) 2>conftest.er1
27856 ac_status=$?
27857 grep -v '^ *+' conftest.er1 >conftest.err
27858 rm -f conftest.er1
27859 cat conftest.err >&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); } &&
27862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27865 ac_status=$?
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; } &&
27868 { ac_try='test -s conftest.$ac_objext'
27869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27870 (eval $ac_try) 2>&5
27871 ac_status=$?
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); }; }; then
27874 ac_header_compiler=yes
27875 else
27876 echo "$as_me: failed program was:" >&5
27877 sed 's/^/| /' conftest.$ac_ext >&5
27878
27879 ac_header_compiler=no
27880 fi
27881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27883 echo "${ECHO_T}$ac_header_compiler" >&6
27884
27885 # Is the header present?
27886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27888 cat >conftest.$ac_ext <<_ACEOF
27889 /* confdefs.h. */
27890 _ACEOF
27891 cat confdefs.h >>conftest.$ac_ext
27892 cat >>conftest.$ac_ext <<_ACEOF
27893 /* end confdefs.h. */
27894 #include <$ac_header>
27895 _ACEOF
27896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27898 ac_status=$?
27899 grep -v '^ *+' conftest.er1 >conftest.err
27900 rm -f conftest.er1
27901 cat conftest.err >&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } >/dev/null; then
27904 if test -s conftest.err; then
27905 ac_cpp_err=$ac_c_preproc_warn_flag
27906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27907 else
27908 ac_cpp_err=
27909 fi
27910 else
27911 ac_cpp_err=yes
27912 fi
27913 if test -z "$ac_cpp_err"; then
27914 ac_header_preproc=yes
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27918
27919 ac_header_preproc=no
27920 fi
27921 rm -f conftest.err conftest.$ac_ext
27922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27923 echo "${ECHO_T}$ac_header_preproc" >&6
27924
27925 # So? What about this header?
27926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27927 yes:no: )
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27932 ac_header_preproc=yes
27933 ;;
27934 no:yes:* )
27935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27947 (
27948 cat <<\_ASBOX
27949 ## ----------------------------------------- ##
27950 ## Report this to wx-dev@lists.wxwidgets.org ##
27951 ## ----------------------------------------- ##
27952 _ASBOX
27953 ) |
27954 sed "s/^/$as_me: WARNING: /" >&2
27955 ;;
27956 esac
27957 echo "$as_me:$LINENO: checking for $ac_header" >&5
27958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27962 eval "$as_ac_Header=\$ac_header_preproc"
27963 fi
27964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27966
27967 fi
27968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27969 cat >>confdefs.h <<_ACEOF
27970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27971 _ACEOF
27972
27973 else
27974 cat >>confdefs.h <<\_ACEOF
27975 #define NEED_PBT_H 1
27976 _ACEOF
27977
27978 fi
27979
27980 done
27981
27982 fi
27983
27984 if test "$wxUSE_GUI" = "yes"; then
27985 USE_GUI=1
27986
27987 GUI_TK_LIBRARY=
27988
27989 WXGTK12=
27990 WXGTK127=
27991 WXGTK20=
27992 WXGPE=
27993
27994 if test "$wxUSE_COCOA" = 1 ; then
27995 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27996 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27997 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27998 wxUSE_PRINTING_ARCHITECTURE=no
27999 fi
28000 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28001 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28002 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28003 wxUSE_DRAG_AND_DROP=no
28004 fi
28005 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28006 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28007 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28008 wxUSE_DRAGIMAGE=no
28009 fi
28010 fi
28011
28012 if test "$wxUSE_MSW" = 1 ; then
28013 TOOLKIT=MSW
28014 GUIDIST=MSW_DIST
28015
28016 case "${host}" in
28017 *-*-mingw32* )
28018 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28019 esac
28020 fi
28021
28022 if test "$wxUSE_GTK" = 1; then
28023 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28024 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28025
28026 gtk_version_cached=1
28027 if test "${wx_cv_lib_gtk+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030
28031 gtk_version_cached=0
28032 echo "$as_me:$LINENO: result: " >&5
28033 echo "${ECHO_T}" >&6
28034
28035 GTK_MODULES=
28036 if test "$wxUSE_THREADS" = "yes"; then
28037 GTK_MODULES=gthread
28038 fi
28039
28040 wx_cv_lib_gtk=
28041 if test "x$wxGTK_VERSION" != "x1"
28042 then
28043 case "${host}" in
28044 *-*-solaris2* )
28045 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28046 enable_gtktest=no
28047 fi
28048 esac
28049
28050 # Check whether --enable-gtktest or --disable-gtktest was given.
28051 if test "${enable_gtktest+set}" = set; then
28052 enableval="$enable_gtktest"
28053
28054 else
28055 enable_gtktest=yes
28056 fi;
28057
28058 pkg_config_args=gtk+-2.0
28059 for module in . $GTK_MODULES
28060 do
28061 case "$module" in
28062 gthread)
28063 pkg_config_args="$pkg_config_args gthread-2.0"
28064 ;;
28065 esac
28066 done
28067
28068 no_gtk=""
28069
28070 # Extract the first word of "pkg-config", so it can be a program name with args.
28071 set dummy pkg-config; ac_word=$2
28072 echo "$as_me:$LINENO: checking for $ac_word" >&5
28073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28074 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28075 echo $ECHO_N "(cached) $ECHO_C" >&6
28076 else
28077 case $PKG_CONFIG in
28078 [\\/]* | ?:[\\/]*)
28079 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28080 ;;
28081 *)
28082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28083 for as_dir in $PATH
28084 do
28085 IFS=$as_save_IFS
28086 test -z "$as_dir" && as_dir=.
28087 for ac_exec_ext in '' $ac_executable_extensions; do
28088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28089 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28091 break 2
28092 fi
28093 done
28094 done
28095
28096 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28097 ;;
28098 esac
28099 fi
28100 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28101
28102 if test -n "$PKG_CONFIG"; then
28103 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28104 echo "${ECHO_T}$PKG_CONFIG" >&6
28105 else
28106 echo "$as_me:$LINENO: result: no" >&5
28107 echo "${ECHO_T}no" >&6
28108 fi
28109
28110
28111 if test x$PKG_CONFIG != xno ; then
28112 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28113 :
28114 else
28115 echo "*** pkg-config too old; version 0.7 or better required."
28116 no_gtk=yes
28117 PKG_CONFIG=no
28118 fi
28119 else
28120 no_gtk=yes
28121 fi
28122
28123 min_gtk_version=2.0.0
28124 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28125 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28126
28127 if test x$PKG_CONFIG != xno ; then
28128 ## don't try to run the test against uninstalled libtool libs
28129 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28130 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28131 enable_gtktest=no
28132 fi
28133
28134 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28135 :
28136 else
28137 no_gtk=yes
28138 fi
28139 fi
28140
28141 if test x"$no_gtk" = x ; then
28142 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28143 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28144 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28146 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28148 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28150 if test "x$enable_gtktest" = "xyes" ; then
28151 ac_save_CFLAGS="$CFLAGS"
28152 ac_save_LIBS="$LIBS"
28153 CFLAGS="$CFLAGS $GTK_CFLAGS"
28154 LIBS="$GTK_LIBS $LIBS"
28155 rm -f conf.gtktest
28156 if test "$cross_compiling" = yes; then
28157 echo $ac_n "cross compiling; assumed OK... $ac_c"
28158 else
28159 cat >conftest.$ac_ext <<_ACEOF
28160 /* confdefs.h. */
28161 _ACEOF
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165
28166 #include <gtk/gtk.h>
28167 #include <stdio.h>
28168 #include <stdlib.h>
28169
28170 int
28171 main ()
28172 {
28173 int major, minor, micro;
28174 char *tmp_version;
28175
28176 system ("touch conf.gtktest");
28177
28178 /* HP/UX 9 (%@#!) writes to sscanf strings */
28179 tmp_version = g_strdup("$min_gtk_version");
28180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28181 printf("%s, bad version string\n", "$min_gtk_version");
28182 exit(1);
28183 }
28184
28185 if ((gtk_major_version != $gtk_config_major_version) ||
28186 (gtk_minor_version != $gtk_config_minor_version) ||
28187 (gtk_micro_version != $gtk_config_micro_version))
28188 {
28189 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28191 gtk_major_version, gtk_minor_version, gtk_micro_version);
28192 printf ("*** was found! If pkg-config was correct, then it is best\n");
28193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28196 printf("*** required on your system.\n");
28197 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28198 printf("*** to point to the correct configuration files\n");
28199 }
28200 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28201 (gtk_minor_version != GTK_MINOR_VERSION) ||
28202 (gtk_micro_version != GTK_MICRO_VERSION))
28203 {
28204 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28205 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28206 printf("*** library (version %d.%d.%d)\n",
28207 gtk_major_version, gtk_minor_version, gtk_micro_version);
28208 }
28209 else
28210 {
28211 if ((gtk_major_version > major) ||
28212 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28213 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28214 {
28215 return 0;
28216 }
28217 else
28218 {
28219 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28220 gtk_major_version, gtk_minor_version, gtk_micro_version);
28221 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28222 major, minor, micro);
28223 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28224 printf("***\n");
28225 printf("*** If you have already installed a sufficiently new version, this error\n");
28226 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28227 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28228 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28229 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28230 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28231 printf("*** so that the correct libraries are found at run-time))\n");
28232 }
28233 }
28234 return 1;
28235 }
28236
28237 _ACEOF
28238 rm -f conftest$ac_exeext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28240 (eval $ac_link) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28245 (eval $ac_try) 2>&5
28246 ac_status=$?
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); }; }; then
28249 :
28250 else
28251 echo "$as_me: program exited with status $ac_status" >&5
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ( exit $ac_status )
28256 no_gtk=yes
28257 fi
28258 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28259 fi
28260 CFLAGS="$ac_save_CFLAGS"
28261 LIBS="$ac_save_LIBS"
28262 fi
28263 fi
28264 if test "x$no_gtk" = x ; then
28265 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28266 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28267 wx_cv_lib_gtk=2.0
28268 else
28269 echo "$as_me:$LINENO: result: no" >&5
28270 echo "${ECHO_T}no" >&6
28271 if test "$PKG_CONFIG" = "no" ; then
28272 echo "*** A new enough version of pkg-config was not found."
28273 echo "*** See http://pkgconfig.sourceforge.net"
28274 else
28275 if test -f conf.gtktest ; then
28276 :
28277 else
28278 echo "*** Could not run GTK+ test program, checking why..."
28279 ac_save_CFLAGS="$CFLAGS"
28280 ac_save_LIBS="$LIBS"
28281 CFLAGS="$CFLAGS $GTK_CFLAGS"
28282 LIBS="$LIBS $GTK_LIBS"
28283 cat >conftest.$ac_ext <<_ACEOF
28284 /* confdefs.h. */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289
28290 #include <gtk/gtk.h>
28291 #include <stdio.h>
28292
28293 int
28294 main ()
28295 {
28296 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28297 ;
28298 return 0;
28299 }
28300 _ACEOF
28301 rm -f conftest.$ac_objext conftest$ac_exeext
28302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28303 (eval $ac_link) 2>conftest.er1
28304 ac_status=$?
28305 grep -v '^ *+' conftest.er1 >conftest.err
28306 rm -f conftest.er1
28307 cat conftest.err >&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } &&
28310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28313 ac_status=$?
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try='test -s conftest$ac_exeext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28319 ac_status=$?
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28322 echo "*** The test program compiled, but did not run. This usually means"
28323 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28324 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28325 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28326 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28327 echo "*** is required on your system"
28328 echo "***"
28329 echo "*** If you have an old version installed, it is best to remove it, although"
28330 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28331 else
28332 echo "$as_me: failed program was:" >&5
28333 sed 's/^/| /' conftest.$ac_ext >&5
28334
28335 echo "*** The test program failed to compile or link. See the file config.log for the"
28336 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28337 fi
28338 rm -f conftest.err conftest.$ac_objext \
28339 conftest$ac_exeext conftest.$ac_ext
28340 CFLAGS="$ac_save_CFLAGS"
28341 LIBS="$ac_save_LIBS"
28342 fi
28343 fi
28344 GTK_CFLAGS=""
28345 GTK_LIBS=""
28346 :
28347 fi
28348
28349
28350 rm -f conf.gtktest
28351
28352
28353 case "${host}" in
28354 *-*-solaris2* )
28355 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28356 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28357 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28358 fi
28359 if test "$wxUSE_SHARED" != "yes"; then
28360 GTK_LIBS="$GTK_LIBS -lX11"
28361 fi
28362 esac
28363 fi
28364
28365 if test -z "$wx_cv_lib_gtk"; then
28366 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28367
28368 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28369 if test "${with_gtk_prefix+set}" = set; then
28370 withval="$with_gtk_prefix"
28371 gtk_config_prefix="$withval"
28372 else
28373 gtk_config_prefix=""
28374 fi;
28375
28376 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28377 if test "${with_gtk_exec_prefix+set}" = set; then
28378 withval="$with_gtk_exec_prefix"
28379 gtk_config_exec_prefix="$withval"
28380 else
28381 gtk_config_exec_prefix=""
28382 fi;
28383 # Check whether --enable-gtktest or --disable-gtktest was given.
28384 if test "${enable_gtktest+set}" = set; then
28385 enableval="$enable_gtktest"
28386
28387 else
28388 enable_gtktest=yes
28389 fi;
28390
28391 for module in . $GTK_MODULES
28392 do
28393 case "$module" in
28394 gthread)
28395 gtk_config_args="$gtk_config_args gthread"
28396 ;;
28397 esac
28398 done
28399
28400 if test x$gtk_config_exec_prefix != x ; then
28401 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28402 if test x${GTK_CONFIG+set} != xset ; then
28403 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28404 fi
28405 fi
28406 if test x$gtk_config_prefix != x ; then
28407 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28408 if test x${GTK_CONFIG+set} != xset ; then
28409 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28410 fi
28411 fi
28412
28413 # Extract the first word of "gtk-config", so it can be a program name with args.
28414 set dummy gtk-config; ac_word=$2
28415 echo "$as_me:$LINENO: checking for $ac_word" >&5
28416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28417 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 else
28420 case $GTK_CONFIG in
28421 [\\/]* | ?:[\\/]*)
28422 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28423 ;;
28424 *)
28425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28426 for as_dir in $PATH
28427 do
28428 IFS=$as_save_IFS
28429 test -z "$as_dir" && as_dir=.
28430 for ac_exec_ext in '' $ac_executable_extensions; do
28431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28432 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28434 break 2
28435 fi
28436 done
28437 done
28438
28439 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28440 ;;
28441 esac
28442 fi
28443 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28444
28445 if test -n "$GTK_CONFIG"; then
28446 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28447 echo "${ECHO_T}$GTK_CONFIG" >&6
28448 else
28449 echo "$as_me:$LINENO: result: no" >&5
28450 echo "${ECHO_T}no" >&6
28451 fi
28452
28453 min_gtk_version=1.2.7
28454 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28455 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28456 no_gtk=""
28457 if test "$GTK_CONFIG" = "no" ; then
28458 no_gtk=yes
28459 else
28460 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28461 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28462 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28463 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28464 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28466 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28468 if test "x$enable_gtktest" = "xyes" ; then
28469 ac_save_CFLAGS="$CFLAGS"
28470 ac_save_LIBS="$LIBS"
28471 CFLAGS="$CFLAGS $GTK_CFLAGS"
28472 LIBS="$GTK_LIBS $LIBS"
28473 rm -f conf.gtktest
28474 if test "$cross_compiling" = yes; then
28475 echo $ac_n "cross compiling; assumed OK... $ac_c"
28476 else
28477 cat >conftest.$ac_ext <<_ACEOF
28478 /* confdefs.h. */
28479 _ACEOF
28480 cat confdefs.h >>conftest.$ac_ext
28481 cat >>conftest.$ac_ext <<_ACEOF
28482 /* end confdefs.h. */
28483
28484 #include <gtk/gtk.h>
28485 #include <stdio.h>
28486 #include <stdlib.h>
28487
28488 int
28489 main ()
28490 {
28491 int major, minor, micro;
28492 char *tmp_version;
28493
28494 system ("touch conf.gtktest");
28495
28496 /* HP/UX 9 (%@#!) writes to sscanf strings */
28497 tmp_version = g_strdup("$min_gtk_version");
28498 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28499 printf("%s, bad version string\n", "$min_gtk_version");
28500 exit(1);
28501 }
28502
28503 if ((gtk_major_version != $gtk_config_major_version) ||
28504 (gtk_minor_version != $gtk_config_minor_version) ||
28505 (gtk_micro_version != $gtk_config_micro_version))
28506 {
28507 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28508 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28509 gtk_major_version, gtk_minor_version, gtk_micro_version);
28510 printf ("*** was found! If gtk-config was correct, then it is best\n");
28511 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28512 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28513 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28514 printf("*** required on your system.\n");
28515 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28516 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28517 printf("*** before re-running configure\n");
28518 }
28519 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28520 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28521 (gtk_minor_version != GTK_MINOR_VERSION) ||
28522 (gtk_micro_version != GTK_MICRO_VERSION))
28523 {
28524 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28525 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28526 printf("*** library (version %d.%d.%d)\n",
28527 gtk_major_version, gtk_minor_version, gtk_micro_version);
28528 }
28529 #endif /* defined (GTK_MAJOR_VERSION) ... */
28530 else
28531 {
28532 if ((gtk_major_version > major) ||
28533 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28534 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28535 {
28536 return 0;
28537 }
28538 else
28539 {
28540 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28541 gtk_major_version, gtk_minor_version, gtk_micro_version);
28542 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28543 major, minor, micro);
28544 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28545 printf("***\n");
28546 printf("*** If you have already installed a sufficiently new version, this error\n");
28547 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28548 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28549 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28550 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28551 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28552 printf("*** so that the correct libraries are found at run-time))\n");
28553 }
28554 }
28555 return 1;
28556 }
28557
28558 _ACEOF
28559 rm -f conftest$ac_exeext
28560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28561 (eval $ac_link) 2>&5
28562 ac_status=$?
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28567 ac_status=$?
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 :
28571 else
28572 echo "$as_me: program exited with status $ac_status" >&5
28573 echo "$as_me: failed program was:" >&5
28574 sed 's/^/| /' conftest.$ac_ext >&5
28575
28576 ( exit $ac_status )
28577 no_gtk=yes
28578 fi
28579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28580 fi
28581 CFLAGS="$ac_save_CFLAGS"
28582 LIBS="$ac_save_LIBS"
28583 fi
28584 fi
28585 if test "x$no_gtk" = x ; then
28586 echo "$as_me:$LINENO: result: yes" >&5
28587 echo "${ECHO_T}yes" >&6
28588 wx_cv_lib_gtk=1.2.7
28589 else
28590 echo "$as_me:$LINENO: result: no" >&5
28591 echo "${ECHO_T}no" >&6
28592 if test "$GTK_CONFIG" = "no" ; then
28593 echo "*** The gtk-config script installed by GTK could not be found"
28594 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28595 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28596 echo "*** full path to gtk-config."
28597 else
28598 if test -f conf.gtktest ; then
28599 :
28600 else
28601 echo "*** Could not run GTK test program, checking why..."
28602 CFLAGS="$CFLAGS $GTK_CFLAGS"
28603 LIBS="$LIBS $GTK_LIBS"
28604 cat >conftest.$ac_ext <<_ACEOF
28605 /* confdefs.h. */
28606 _ACEOF
28607 cat confdefs.h >>conftest.$ac_ext
28608 cat >>conftest.$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28610
28611 #include <gtk/gtk.h>
28612 #include <stdio.h>
28613
28614 int
28615 main ()
28616 {
28617 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28618 ;
28619 return 0;
28620 }
28621 _ACEOF
28622 rm -f conftest.$ac_objext conftest$ac_exeext
28623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28624 (eval $ac_link) 2>conftest.er1
28625 ac_status=$?
28626 grep -v '^ *+' conftest.er1 >conftest.err
28627 rm -f conftest.er1
28628 cat conftest.err >&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); } &&
28631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28634 ac_status=$?
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; } &&
28637 { ac_try='test -s conftest$ac_exeext'
28638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28639 (eval $ac_try) 2>&5
28640 ac_status=$?
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); }; }; then
28643 echo "*** The test program compiled, but did not run. This usually means"
28644 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28645 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28646 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28647 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28648 echo "*** is required on your system"
28649 echo "***"
28650 echo "*** If you have an old version installed, it is best to remove it, although"
28651 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28652 echo "***"
28653 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28654 echo "*** came with the system with the command"
28655 echo "***"
28656 echo "*** rpm --erase --nodeps gtk gtk-devel"
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 echo "*** The test program failed to compile or link. See the file config.log for the"
28662 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28663 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28664 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28665 fi
28666 rm -f conftest.err conftest.$ac_objext \
28667 conftest$ac_exeext conftest.$ac_ext
28668 CFLAGS="$ac_save_CFLAGS"
28669 LIBS="$ac_save_LIBS"
28670 fi
28671 fi
28672 GTK_CFLAGS=""
28673 GTK_LIBS=""
28674 :
28675 fi
28676
28677
28678 rm -f conf.gtktest
28679
28680
28681 if test -z "$wx_cv_lib_gtk"; then
28682
28683 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28684 if test "${with_gtk_prefix+set}" = set; then
28685 withval="$with_gtk_prefix"
28686 gtk_config_prefix="$withval"
28687 else
28688 gtk_config_prefix=""
28689 fi;
28690
28691 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28692 if test "${with_gtk_exec_prefix+set}" = set; then
28693 withval="$with_gtk_exec_prefix"
28694 gtk_config_exec_prefix="$withval"
28695 else
28696 gtk_config_exec_prefix=""
28697 fi;
28698 # Check whether --enable-gtktest or --disable-gtktest was given.
28699 if test "${enable_gtktest+set}" = set; then
28700 enableval="$enable_gtktest"
28701
28702 else
28703 enable_gtktest=yes
28704 fi;
28705
28706 for module in . $GTK_MODULES
28707 do
28708 case "$module" in
28709 gthread)
28710 gtk_config_args="$gtk_config_args gthread"
28711 ;;
28712 esac
28713 done
28714
28715 if test x$gtk_config_exec_prefix != x ; then
28716 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28717 if test x${GTK_CONFIG+set} != xset ; then
28718 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28719 fi
28720 fi
28721 if test x$gtk_config_prefix != x ; then
28722 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28723 if test x${GTK_CONFIG+set} != xset ; then
28724 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28725 fi
28726 fi
28727
28728 # Extract the first word of "gtk-config", so it can be a program name with args.
28729 set dummy gtk-config; ac_word=$2
28730 echo "$as_me:$LINENO: checking for $ac_word" >&5
28731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28732 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28733 echo $ECHO_N "(cached) $ECHO_C" >&6
28734 else
28735 case $GTK_CONFIG in
28736 [\\/]* | ?:[\\/]*)
28737 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28738 ;;
28739 *)
28740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28741 for as_dir in $PATH
28742 do
28743 IFS=$as_save_IFS
28744 test -z "$as_dir" && as_dir=.
28745 for ac_exec_ext in '' $ac_executable_extensions; do
28746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28747 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28749 break 2
28750 fi
28751 done
28752 done
28753
28754 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28755 ;;
28756 esac
28757 fi
28758 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28759
28760 if test -n "$GTK_CONFIG"; then
28761 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28762 echo "${ECHO_T}$GTK_CONFIG" >&6
28763 else
28764 echo "$as_me:$LINENO: result: no" >&5
28765 echo "${ECHO_T}no" >&6
28766 fi
28767
28768 min_gtk_version=1.2.3
28769 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28770 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28771 no_gtk=""
28772 if test "$GTK_CONFIG" = "no" ; then
28773 no_gtk=yes
28774 else
28775 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28776 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28777 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28778 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28779 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28781 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28783 if test "x$enable_gtktest" = "xyes" ; then
28784 ac_save_CFLAGS="$CFLAGS"
28785 ac_save_LIBS="$LIBS"
28786 CFLAGS="$CFLAGS $GTK_CFLAGS"
28787 LIBS="$GTK_LIBS $LIBS"
28788 rm -f conf.gtktest
28789 if test "$cross_compiling" = yes; then
28790 echo $ac_n "cross compiling; assumed OK... $ac_c"
28791 else
28792 cat >conftest.$ac_ext <<_ACEOF
28793 /* confdefs.h. */
28794 _ACEOF
28795 cat confdefs.h >>conftest.$ac_ext
28796 cat >>conftest.$ac_ext <<_ACEOF
28797 /* end confdefs.h. */
28798
28799 #include <gtk/gtk.h>
28800 #include <stdio.h>
28801 #include <stdlib.h>
28802
28803 int
28804 main ()
28805 {
28806 int major, minor, micro;
28807 char *tmp_version;
28808
28809 system ("touch conf.gtktest");
28810
28811 /* HP/UX 9 (%@#!) writes to sscanf strings */
28812 tmp_version = g_strdup("$min_gtk_version");
28813 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28814 printf("%s, bad version string\n", "$min_gtk_version");
28815 exit(1);
28816 }
28817
28818 if ((gtk_major_version != $gtk_config_major_version) ||
28819 (gtk_minor_version != $gtk_config_minor_version) ||
28820 (gtk_micro_version != $gtk_config_micro_version))
28821 {
28822 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28823 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28824 gtk_major_version, gtk_minor_version, gtk_micro_version);
28825 printf ("*** was found! If gtk-config was correct, then it is best\n");
28826 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28827 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28828 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28829 printf("*** required on your system.\n");
28830 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28831 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28832 printf("*** before re-running configure\n");
28833 }
28834 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28835 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28836 (gtk_minor_version != GTK_MINOR_VERSION) ||
28837 (gtk_micro_version != GTK_MICRO_VERSION))
28838 {
28839 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28840 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28841 printf("*** library (version %d.%d.%d)\n",
28842 gtk_major_version, gtk_minor_version, gtk_micro_version);
28843 }
28844 #endif /* defined (GTK_MAJOR_VERSION) ... */
28845 else
28846 {
28847 if ((gtk_major_version > major) ||
28848 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28849 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28850 {
28851 return 0;
28852 }
28853 else
28854 {
28855 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28856 gtk_major_version, gtk_minor_version, gtk_micro_version);
28857 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28858 major, minor, micro);
28859 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28860 printf("***\n");
28861 printf("*** If you have already installed a sufficiently new version, this error\n");
28862 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28863 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28864 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28865 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28866 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28867 printf("*** so that the correct libraries are found at run-time))\n");
28868 }
28869 }
28870 return 1;
28871 }
28872
28873 _ACEOF
28874 rm -f conftest$ac_exeext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28876 (eval $ac_link) 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28882 ac_status=$?
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 :
28886 else
28887 echo "$as_me: program exited with status $ac_status" >&5
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 ( exit $ac_status )
28892 no_gtk=yes
28893 fi
28894 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28895 fi
28896 CFLAGS="$ac_save_CFLAGS"
28897 LIBS="$ac_save_LIBS"
28898 fi
28899 fi
28900 if test "x$no_gtk" = x ; then
28901 echo "$as_me:$LINENO: result: yes" >&5
28902 echo "${ECHO_T}yes" >&6
28903 wx_cv_lib_gtk=1.2.3
28904 else
28905 echo "$as_me:$LINENO: result: no" >&5
28906 echo "${ECHO_T}no" >&6
28907 if test "$GTK_CONFIG" = "no" ; then
28908 echo "*** The gtk-config script installed by GTK could not be found"
28909 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28910 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28911 echo "*** full path to gtk-config."
28912 else
28913 if test -f conf.gtktest ; then
28914 :
28915 else
28916 echo "*** Could not run GTK test program, checking why..."
28917 CFLAGS="$CFLAGS $GTK_CFLAGS"
28918 LIBS="$LIBS $GTK_LIBS"
28919 cat >conftest.$ac_ext <<_ACEOF
28920 /* confdefs.h. */
28921 _ACEOF
28922 cat confdefs.h >>conftest.$ac_ext
28923 cat >>conftest.$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925
28926 #include <gtk/gtk.h>
28927 #include <stdio.h>
28928
28929 int
28930 main ()
28931 {
28932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28933 ;
28934 return 0;
28935 }
28936 _ACEOF
28937 rm -f conftest.$ac_objext conftest$ac_exeext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28939 (eval $ac_link) 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; } &&
28952 { ac_try='test -s conftest$ac_exeext'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28955 ac_status=$?
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; }; then
28958 echo "*** The test program compiled, but did not run. This usually means"
28959 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28960 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28963 echo "*** is required on your system"
28964 echo "***"
28965 echo "*** If you have an old version installed, it is best to remove it, although"
28966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28967 echo "***"
28968 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28969 echo "*** came with the system with the command"
28970 echo "***"
28971 echo "*** rpm --erase --nodeps gtk gtk-devel"
28972 else
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976 echo "*** The test program failed to compile or link. See the file config.log for the"
28977 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28978 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28979 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28980 fi
28981 rm -f conftest.err conftest.$ac_objext \
28982 conftest$ac_exeext conftest.$ac_ext
28983 CFLAGS="$ac_save_CFLAGS"
28984 LIBS="$ac_save_LIBS"
28985 fi
28986 fi
28987 GTK_CFLAGS=""
28988 GTK_LIBS=""
28989 :
28990 fi
28991
28992
28993 rm -f conf.gtktest
28994
28995 fi
28996 fi
28997 fi
28998
28999 if test -z "$wx_cv_lib_gtk"; then
29000 wx_cv_lib_gtk=none
29001 else
29002 wx_cv_cflags_gtk=$GTK_CFLAGS
29003 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29004 fi
29005
29006
29007 fi
29008
29009
29010 if test "$gtk_version_cached" = 1; then
29011 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29012 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29013 fi
29014
29015 case "$wx_cv_lib_gtk" in
29016 2.0) WXGTK20=1
29017 TOOLKIT_VERSION=2
29018 ;;
29019 1.2.7) WXGTK127=1
29020 WXGTK12=1
29021 ;;
29022 1.2.3) WXGTK12=1
29023 ;;
29024 *) { { echo "$as_me:$LINENO: error:
29025 The development files for GTK+ were not found. For GTK+ 2, please
29026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29028 and that the version is 1.2.3 or above. Also check that the
29029 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29030 --libs' are in the LD_LIBRARY_PATH or equivalent.
29031 " >&5
29032 echo "$as_me: error:
29033 The development files for GTK+ were not found. For GTK+ 2, please
29034 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29035 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29036 and that the version is 1.2.3 or above. Also check that the
29037 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29038 --libs' are in the LD_LIBRARY_PATH or equivalent.
29039 " >&2;}
29040 { (exit 1); exit 1; }; }
29041 ;;
29042 esac
29043
29044 if test "$WXGTK20" = 1; then
29045 save_CFLAGS="$CFLAGS"
29046 save_LIBS="$LIBS"
29047 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29048 LIBS="$LIBS $wx_cv_libs_gtk"
29049
29050 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29051 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29052 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 else
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061 #include <gtk/gtk.h>
29062
29063 int
29064 main ()
29065 {
29066 #ifndef gtk_icon_size_lookup
29067 char *p = (char *) gtk_icon_size_lookup;
29068 #endif
29069
29070 ;
29071 return 0;
29072 }
29073 _ACEOF
29074 rm -f conftest.$ac_objext
29075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29076 (eval $ac_compile) 2>conftest.er1
29077 ac_status=$?
29078 grep -v '^ *+' conftest.er1 >conftest.err
29079 rm -f conftest.er1
29080 cat conftest.err >&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); } &&
29083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; } &&
29089 { ac_try='test -s conftest.$ac_objext'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; }; then
29095 ac_cv_have_decl_gtk_icon_size_lookup=yes
29096 else
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.$ac_ext >&5
29099
29100 ac_cv_have_decl_gtk_icon_size_lookup=no
29101 fi
29102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29103 fi
29104 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29105 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29106 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29107
29108 cat >>confdefs.h <<_ACEOF
29109 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29110 _ACEOF
29111
29112
29113 else
29114 cat >>confdefs.h <<_ACEOF
29115 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29116 _ACEOF
29117
29118 cat >>confdefs.h <<\_ACEOF
29119 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29120 _ACEOF
29121
29122 fi
29123
29124
29125
29126 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29127 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29128 cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h. */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29134
29135 #include <gtk/gtk.h>
29136
29137 int
29138 main ()
29139 {
29140
29141 #if !GTK_CHECK_VERSION(2,6,0)
29142 Not GTK+ 2.6
29143 #endif
29144
29145 ;
29146 return 0;
29147 }
29148 _ACEOF
29149 rm -f conftest.$ac_objext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29151 (eval $ac_compile) 2>conftest.er1
29152 ac_status=$?
29153 grep -v '^ *+' conftest.er1 >conftest.err
29154 rm -f conftest.er1
29155 cat conftest.err >&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try='test -s conftest.$ac_objext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29167 ac_status=$?
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170
29171 cat >>confdefs.h <<\_ACEOF
29172 #define __WXGTK26__ 1
29173 _ACEOF
29174
29175 cat >>confdefs.h <<\_ACEOF
29176 #define __WXGTK24__ 1
29177 _ACEOF
29178
29179 echo "$as_me:$LINENO: result: yes" >&5
29180 echo "${ECHO_T}yes" >&6
29181 ac_wxgtk26=1
29182
29183 else
29184 echo "$as_me: failed program was:" >&5
29185 sed 's/^/| /' conftest.$ac_ext >&5
29186
29187
29188 echo "$as_me:$LINENO: result: no" >&5
29189 echo "${ECHO_T}no" >&6
29190 ac_wxgtk26=0
29191
29192 fi
29193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29194
29195 if test "$ac_wxgtk26" = 0; then
29196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204
29205 #include <gtk/gtk.h>
29206
29207 int
29208 main ()
29209 {
29210
29211 #if !GTK_CHECK_VERSION(2,4,0)
29212 Not GTK+ 2.4
29213 #endif
29214
29215 ;
29216 return 0;
29217 }
29218 _ACEOF
29219 rm -f conftest.$ac_objext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29221 (eval $ac_compile) 2>conftest.er1
29222 ac_status=$?
29223 grep -v '^ *+' conftest.er1 >conftest.err
29224 rm -f conftest.er1
29225 cat conftest.err >&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; } &&
29234 { ac_try='test -s conftest.$ac_objext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29237 ac_status=$?
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240
29241 cat >>confdefs.h <<\_ACEOF
29242 #define __WXGTK24__ 1
29243 _ACEOF
29244
29245 echo "$as_me:$LINENO: result: yes" >&5
29246 echo "${ECHO_T}yes" >&6
29247
29248 else
29249 echo "$as_me: failed program was:" >&5
29250 sed 's/^/| /' conftest.$ac_ext >&5
29251
29252
29253 echo "$as_me:$LINENO: result: no" >&5
29254 echo "${ECHO_T}no" >&6
29255
29256 fi
29257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29258 fi
29259
29260 CFLAGS="$save_CFLAGS"
29261 LIBS="$save_LIBS"
29262 else
29263 if test "$wxUSE_UNICODE" = "yes"; then
29264 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29265 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29266 wxUSE_UNICODE=no
29267 fi
29268
29269 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29270 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29271 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29272 echo $ECHO_N "(cached) $ECHO_C" >&6
29273 else
29274 ac_check_lib_save_LIBS=$LIBS
29275 LIBS="-lgdk $LIBS"
29276 cat >conftest.$ac_ext <<_ACEOF
29277 /* confdefs.h. */
29278 _ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29282
29283 /* Override any gcc2 internal prototype to avoid an error. */
29284 #ifdef __cplusplus
29285 extern "C"
29286 #endif
29287 /* We use char because int might match the return type of a gcc2
29288 builtin and then its argument prototype would still apply. */
29289 char gdk_im_open ();
29290 int
29291 main ()
29292 {
29293 gdk_im_open ();
29294 ;
29295 return 0;
29296 }
29297 _ACEOF
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300 (eval $ac_link) 2>conftest.er1
29301 ac_status=$?
29302 grep -v '^ *+' conftest.er1 >conftest.err
29303 rm -f conftest.er1
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29310 ac_status=$?
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; } &&
29313 { ac_try='test -s conftest$ac_exeext'
29314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29315 (eval $ac_try) 2>&5
29316 ac_status=$?
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); }; }; then
29319 ac_cv_lib_gdk_gdk_im_open=yes
29320 else
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29323
29324 ac_cv_lib_gdk_gdk_im_open=no
29325 fi
29326 rm -f conftest.err conftest.$ac_objext \
29327 conftest$ac_exeext conftest.$ac_ext
29328 LIBS=$ac_check_lib_save_LIBS
29329 fi
29330 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29331 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29332 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29333 cat >>confdefs.h <<\_ACEOF
29334 #define HAVE_XIM 1
29335 _ACEOF
29336
29337 fi
29338
29339 fi
29340
29341 if test "$USE_DARWIN" != 1; then
29342
29343 for ac_func in poll
29344 do
29345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29346 echo "$as_me:$LINENO: checking for $ac_func" >&5
29347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29348 if eval "test \"\${$as_ac_var+set}\" = set"; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 else
29351 cat >conftest.$ac_ext <<_ACEOF
29352 /* confdefs.h. */
29353 _ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29359 #define $ac_func innocuous_$ac_func
29360
29361 /* System header to define __stub macros and hopefully few prototypes,
29362 which can conflict with char $ac_func (); below.
29363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29364 <limits.h> exists even on freestanding compilers. */
29365
29366 #ifdef __STDC__
29367 # include <limits.h>
29368 #else
29369 # include <assert.h>
29370 #endif
29371
29372 #undef $ac_func
29373
29374 /* Override any gcc2 internal prototype to avoid an error. */
29375 #ifdef __cplusplus
29376 extern "C"
29377 {
29378 #endif
29379 /* We use char because int might match the return type of a gcc2
29380 builtin and then its argument prototype would still apply. */
29381 char $ac_func ();
29382 /* The GNU C library defines this for functions which it implements
29383 to always fail with ENOSYS. Some functions are actually named
29384 something starting with __ and the normal name is an alias. */
29385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29386 choke me
29387 #else
29388 char (*f) () = $ac_func;
29389 #endif
29390 #ifdef __cplusplus
29391 }
29392 #endif
29393
29394 int
29395 main ()
29396 {
29397 return f != $ac_func;
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 rm -f conftest.$ac_objext conftest$ac_exeext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29404 (eval $ac_link) 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29413 (eval $ac_try) 2>&5
29414 ac_status=$?
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); }; } &&
29417 { ac_try='test -s conftest$ac_exeext'
29418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29419 (eval $ac_try) 2>&5
29420 ac_status=$?
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); }; }; then
29423 eval "$as_ac_var=yes"
29424 else
29425 echo "$as_me: failed program was:" >&5
29426 sed 's/^/| /' conftest.$ac_ext >&5
29427
29428 eval "$as_ac_var=no"
29429 fi
29430 rm -f conftest.err conftest.$ac_objext \
29431 conftest$ac_exeext conftest.$ac_ext
29432 fi
29433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29435 if test `eval echo '${'$as_ac_var'}'` = yes; then
29436 cat >>confdefs.h <<_ACEOF
29437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29438 _ACEOF
29439
29440 fi
29441 done
29442
29443 fi
29444
29445 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29446 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29447
29448 AFMINSTALL=afminstall
29449 TOOLKIT=GTK
29450 GUIDIST=GTK_DIST
29451
29452 if test "$wxUSE_GPE" = "yes"; then
29453 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29455
29456 ac_find_libraries=
29457 for ac_dir in $SEARCH_LIB;
29458 do
29459 for ac_extension in a so sl dylib dll.a; do
29460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29461 ac_find_libraries=$ac_dir
29462 break 2
29463 fi
29464 done
29465 done
29466
29467 if test "$ac_find_libraries" != "" ; then
29468
29469 if test "$ac_find_libraries" = "default location"; then
29470 ac_path_to_link=""
29471 else
29472 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29473 result=$?
29474 if test $result = 0; then
29475 ac_path_to_link=""
29476 else
29477 ac_path_to_link=" -L$ac_find_libraries"
29478 fi
29479 fi
29480
29481 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29482 WXGPE=1
29483 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29484 echo "${ECHO_T}found in $ac_find_libraries" >&6
29485 else
29486 echo "$as_me:$LINENO: result: not found" >&5
29487 echo "${ECHO_T}not found" >&6
29488 fi
29489
29490 fi
29491 fi
29492
29493 if test "$wxUSE_MGL" = 1; then
29494 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29495 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29496 if test "x$MGL_ROOT" = x ; then
29497 echo "$as_me:$LINENO: result: not found" >&5
29498 echo "${ECHO_T}not found" >&6
29499 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29500 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29501 { (exit 1); exit 1; }; }
29502 else
29503 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29504 echo "${ECHO_T}$MGL_ROOT" >&6
29505 fi
29506
29507 echo "$as_me:$LINENO: checking for libmgl location" >&5
29508 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29509 case "${host}" in
29510 *-*-linux* )
29511 if test "x$wxUSE_SHARED" = xyes ; then
29512 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29513 else
29514 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29515 fi
29516 ;;
29517 *-pc-msdosdjgpp )
29518 mgl_os_candidates="dos32/dj2"
29519 ;;
29520 *)
29521 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29522 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29523 { (exit 1); exit 1; }; }
29524 esac
29525
29526 mgl_lib_type=""
29527 mgl_os=""
29528
29529 for mgl_os_i in $mgl_os_candidates ; do
29530 if test "x$mgl_os" = x ; then
29531 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29532 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29533 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29534 mgl_lib_type=debug
29535 mgl_os=$mgl_os_i
29536 fi
29537 fi
29538 if test "x$mgl_lib_type" = x ; then
29539 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29540 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29541 mgl_lib_type=release
29542 mgl_os=$mgl_os_i
29543 fi
29544 fi
29545 fi
29546 done
29547
29548 if test "x$mgl_os" = x ; then
29549 echo "$as_me:$LINENO: result: not found" >&5
29550 echo "${ECHO_T}not found" >&6
29551 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29552 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29553 { (exit 1); exit 1; }; }
29554 fi
29555 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29556 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29557
29558 wxUSE_UNIVERSAL="yes"
29559
29560 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29561 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29562
29563 AFMINSTALL=afminstall
29564 TOOLKIT=MGL
29565 GUIDIST=MGL_DIST
29566 fi
29567
29568 if test "$wxUSE_DFB" = 1; then
29569
29570
29571 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29572 if test -n "$ac_tool_prefix"; then
29573 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29574 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29575 echo "$as_me:$LINENO: checking for $ac_word" >&5
29576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29577 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29578 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 else
29580 case $PKG_CONFIG in
29581 [\\/]* | ?:[\\/]*)
29582 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29583 ;;
29584 *)
29585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29586 for as_dir in $PATH
29587 do
29588 IFS=$as_save_IFS
29589 test -z "$as_dir" && as_dir=.
29590 for ac_exec_ext in '' $ac_executable_extensions; do
29591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29592 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29594 break 2
29595 fi
29596 done
29597 done
29598
29599 ;;
29600 esac
29601 fi
29602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29603
29604 if test -n "$PKG_CONFIG"; then
29605 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29606 echo "${ECHO_T}$PKG_CONFIG" >&6
29607 else
29608 echo "$as_me:$LINENO: result: no" >&5
29609 echo "${ECHO_T}no" >&6
29610 fi
29611
29612 fi
29613 if test -z "$ac_cv_path_PKG_CONFIG"; then
29614 ac_pt_PKG_CONFIG=$PKG_CONFIG
29615 # Extract the first word of "pkg-config", so it can be a program name with args.
29616 set dummy pkg-config; ac_word=$2
29617 echo "$as_me:$LINENO: checking for $ac_word" >&5
29618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29619 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29620 echo $ECHO_N "(cached) $ECHO_C" >&6
29621 else
29622 case $ac_pt_PKG_CONFIG in
29623 [\\/]* | ?:[\\/]*)
29624 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29625 ;;
29626 *)
29627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29628 for as_dir in $PATH
29629 do
29630 IFS=$as_save_IFS
29631 test -z "$as_dir" && as_dir=.
29632 for ac_exec_ext in '' $ac_executable_extensions; do
29633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29634 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29636 break 2
29637 fi
29638 done
29639 done
29640
29641 ;;
29642 esac
29643 fi
29644 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29645
29646 if test -n "$ac_pt_PKG_CONFIG"; then
29647 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29648 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29649 else
29650 echo "$as_me:$LINENO: result: no" >&5
29651 echo "${ECHO_T}no" >&6
29652 fi
29653
29654 PKG_CONFIG=$ac_pt_PKG_CONFIG
29655 else
29656 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29657 fi
29658
29659 fi
29660 if test -n "$PKG_CONFIG"; then
29661 _pkg_min_version=0.9.0
29662 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29663 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29664 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29665 echo "$as_me:$LINENO: result: yes" >&5
29666 echo "${ECHO_T}yes" >&6
29667 else
29668 echo "$as_me:$LINENO: result: no" >&5
29669 echo "${ECHO_T}no" >&6
29670 PKG_CONFIG=""
29671 fi
29672
29673 fi
29674
29675
29676 pkg_failed=no
29677 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29678 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29679
29680 if test -n "$PKG_CONFIG"; then
29681 if test -n "$DIRECTFB_CFLAGS"; then
29682 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29683 else
29684 if test -n "$PKG_CONFIG" && \
29685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29686 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29687 ac_status=$?
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); }; then
29690 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29691 else
29692 pkg_failed=yes
29693 fi
29694 fi
29695 else
29696 pkg_failed=untried
29697 fi
29698 if test -n "$PKG_CONFIG"; then
29699 if test -n "$DIRECTFB_LIBS"; then
29700 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29701 else
29702 if test -n "$PKG_CONFIG" && \
29703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29704 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29705 ac_status=$?
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; then
29708 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29709 else
29710 pkg_failed=yes
29711 fi
29712 fi
29713 else
29714 pkg_failed=untried
29715 fi
29716
29717
29718
29719 if test $pkg_failed = yes; then
29720
29721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29722 _pkg_short_errors_supported=yes
29723 else
29724 _pkg_short_errors_supported=no
29725 fi
29726 if test $_pkg_short_errors_supported = yes; then
29727 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29728 else
29729 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29730 fi
29731 # Put the nasty error message in config.log where it belongs
29732 echo "$DIRECTFB_PKG_ERRORS" >&5
29733
29734
29735 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29736 echo "$as_me: error: DirectFB not found." >&2;}
29737 { (exit 1); exit 1; }; }
29738
29739
29740 elif test $pkg_failed = untried; then
29741
29742 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29743 echo "$as_me: error: DirectFB not found." >&2;}
29744 { (exit 1); exit 1; }; }
29745
29746
29747 else
29748 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29749 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29750 echo "$as_me:$LINENO: result: yes" >&5
29751 echo "${ECHO_T}yes" >&6
29752
29753 wxUSE_UNIVERSAL="yes"
29754 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29755 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29756 TOOLKIT=DFB
29757 GUIDIST=DFB_DIST
29758
29759 fi
29760 fi
29761
29762 if test "$wxUSE_MICROWIN" = 1; then
29763 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29764 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29765 if test "x$MICROWINDOWS" = x ; then
29766 echo "$as_me:$LINENO: result: not found" >&5
29767 echo "${ECHO_T}not found" >&6
29768 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29769 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29770 { (exit 1); exit 1; }; }
29771 else
29772 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29773 echo "${ECHO_T}$MICROWINDOWS" >&6
29774 fi
29775
29776 if test -f $MICROWINDOWS/lib/libmwin.a; then
29777 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29778 echo "${ECHO_T}MicroWindows' libraries found." >&6
29779 else
29780 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29781 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29782 { (exit 1); exit 1; }; }
29783 fi
29784
29785 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29786 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29787
29788 wxUSE_UNIVERSAL="yes"
29789
29790 AFMINSTALL=afminstall
29791 TOOLKIT=MICROWIN
29792 GUIDIST=MICROWIN_DIST
29793
29794 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29795 fi
29796
29797 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29798
29799 if test "x$ac_path_x_has_been_run" != xyes; then
29800 echo "$as_me:$LINENO: checking for X" >&5
29801 echo $ECHO_N "checking for X... $ECHO_C" >&6
29802
29803 ac_path_x_has_been_run=yes
29804
29805 # Check whether --with-x or --without-x was given.
29806 if test "${with_x+set}" = set; then
29807 withval="$with_x"
29808
29809 fi;
29810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29811 if test "x$with_x" = xno; then
29812 # The user explicitly disabled X.
29813 have_x=disabled
29814 else
29815 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29816 # Both variables are already set.
29817 have_x=yes
29818 else
29819 if test "${ac_cv_have_x+set}" = set; then
29820 echo $ECHO_N "(cached) $ECHO_C" >&6
29821 else
29822 # One or both of the vars are not set, and there is no cached value.
29823 ac_x_includes=no ac_x_libraries=no
29824 rm -fr conftest.dir
29825 if mkdir conftest.dir; then
29826 cd conftest.dir
29827 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29828 cat >Imakefile <<'_ACEOF'
29829 acfindx:
29830 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29831 _ACEOF
29832 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29834 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29836 for ac_extension in a so sl; do
29837 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29838 test -f $ac_im_libdir/libX11.$ac_extension; then
29839 ac_im_usrlibdir=$ac_im_libdir; break
29840 fi
29841 done
29842 # Screen out bogus values from the imake configuration. They are
29843 # bogus both because they are the default anyway, and because
29844 # using them would break gcc on systems where it needs fixed includes.
29845 case $ac_im_incroot in
29846 /usr/include) ;;
29847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29848 esac
29849 case $ac_im_usrlibdir in
29850 /usr/lib | /lib) ;;
29851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29852 esac
29853 fi
29854 cd ..
29855 rm -fr conftest.dir
29856 fi
29857
29858 # Standard set of common directories for X headers.
29859 # Check X11 before X11Rn because it is often a symlink to the current release.
29860 ac_x_header_dirs='
29861 /usr/X11/include
29862 /usr/X11R6/include
29863 /usr/X11R5/include
29864 /usr/X11R4/include
29865
29866 /usr/include/X11
29867 /usr/include/X11R6
29868 /usr/include/X11R5
29869 /usr/include/X11R4
29870
29871 /usr/local/X11/include
29872 /usr/local/X11R6/include
29873 /usr/local/X11R5/include
29874 /usr/local/X11R4/include
29875
29876 /usr/local/include/X11
29877 /usr/local/include/X11R6
29878 /usr/local/include/X11R5
29879 /usr/local/include/X11R4
29880
29881 /usr/X386/include
29882 /usr/x386/include
29883 /usr/XFree86/include/X11
29884
29885 /usr/include
29886 /usr/local/include
29887 /usr/unsupported/include
29888 /usr/athena/include
29889 /usr/local/x11r5/include
29890 /usr/lpp/Xamples/include
29891
29892 /usr/openwin/include
29893 /usr/openwin/share/include'
29894
29895 if test "$ac_x_includes" = no; then
29896 # Guess where to find include files, by looking for a specified header file.
29897 # First, try using that file with no special directory specified.
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 #include <X11/Xlib.h>
29905 _ACEOF
29906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29908 ac_status=$?
29909 grep -v '^ *+' conftest.er1 >conftest.err
29910 rm -f conftest.er1
29911 cat conftest.err >&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } >/dev/null; then
29914 if test -s conftest.err; then
29915 ac_cpp_err=$ac_c_preproc_warn_flag
29916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29917 else
29918 ac_cpp_err=
29919 fi
29920 else
29921 ac_cpp_err=yes
29922 fi
29923 if test -z "$ac_cpp_err"; then
29924 # We can compile using X headers with no special include directory.
29925 ac_x_includes=
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 for ac_dir in $ac_x_header_dirs; do
29931 if test -r "$ac_dir/X11/Xlib.h"; then
29932 ac_x_includes=$ac_dir
29933 break
29934 fi
29935 done
29936 fi
29937 rm -f conftest.err conftest.$ac_ext
29938 fi # $ac_x_includes = no
29939
29940 if test "$ac_x_libraries" = no; then
29941 # Check for the libraries.
29942 # See if we find them without any special options.
29943 # Don't add to $LIBS permanently.
29944 ac_save_LIBS=$LIBS
29945 LIBS="-lX11 $LIBS"
29946 cat >conftest.$ac_ext <<_ACEOF
29947 /* confdefs.h. */
29948 _ACEOF
29949 cat confdefs.h >>conftest.$ac_ext
29950 cat >>conftest.$ac_ext <<_ACEOF
29951 /* end confdefs.h. */
29952 #include <X11/Xlib.h>
29953 int
29954 main ()
29955 {
29956 XrmInitialize ()
29957 ;
29958 return 0;
29959 }
29960 _ACEOF
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29963 (eval $ac_link) 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; } &&
29976 { ac_try='test -s conftest$ac_exeext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29979 ac_status=$?
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 LIBS=$ac_save_LIBS
29983 # We can link X programs with no special library path.
29984 ac_x_libraries=
29985 else
29986 echo "$as_me: failed program was:" >&5
29987 sed 's/^/| /' conftest.$ac_ext >&5
29988
29989 LIBS=$ac_save_LIBS
29990 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29991 do
29992 # Don't even attempt the hair of trying to link an X program!
29993 for ac_extension in a so sl; do
29994 if test -r $ac_dir/libX11.$ac_extension; then
29995 ac_x_libraries=$ac_dir
29996 break 2
29997 fi
29998 done
29999 done
30000 fi
30001 rm -f conftest.err conftest.$ac_objext \
30002 conftest$ac_exeext conftest.$ac_ext
30003 fi # $ac_x_libraries = no
30004
30005 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30006 # Didn't find X anywhere. Cache the known absence of X.
30007 ac_cv_have_x="have_x=no"
30008 else
30009 # Record where we found X for the cache.
30010 ac_cv_have_x="have_x=yes \
30011 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30012 fi
30013 fi
30014
30015 fi
30016 eval "$ac_cv_have_x"
30017 fi # $with_x != no
30018
30019 if test "$have_x" != yes; then
30020 echo "$as_me:$LINENO: result: $have_x" >&5
30021 echo "${ECHO_T}$have_x" >&6
30022 no_x=yes
30023 else
30024 # If each of the values was on the command line, it overrides each guess.
30025 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30026 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30027 # Update the cache value to reflect the command line values.
30028 ac_cv_have_x="have_x=yes \
30029 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30030 # It might be that x_includes is empty (headers are found in the
30031 # standard search path. Then output the corresponding message
30032 ac_out_x_includes=$x_includes
30033 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30034 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30035 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30036 fi
30037
30038 fi
30039 if test "$no_x" = yes; then
30040 # Not all programs may use this symbol, but it does not hurt to define it.
30041
30042 cat >>confdefs.h <<\_ACEOF
30043 #define X_DISPLAY_MISSING 1
30044 _ACEOF
30045
30046 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30047 else
30048 if test -n "$x_includes"; then
30049 X_CFLAGS="$X_CFLAGS -I$x_includes"
30050 fi
30051
30052 # It would also be nice to do this for all -L options, not just this one.
30053 if test -n "$x_libraries"; then
30054 X_LIBS="$X_LIBS -L$x_libraries"
30055 # For Solaris; some versions of Sun CC require a space after -R and
30056 # others require no space. Words are not sufficient . . . .
30057 case `(uname -sr) 2>/dev/null` in
30058 "SunOS 5"*)
30059 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30060 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30061 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30062 cat >conftest.$ac_ext <<_ACEOF
30063 /* confdefs.h. */
30064 _ACEOF
30065 cat confdefs.h >>conftest.$ac_ext
30066 cat >>conftest.$ac_ext <<_ACEOF
30067 /* end confdefs.h. */
30068
30069 int
30070 main ()
30071 {
30072
30073 ;
30074 return 0;
30075 }
30076 _ACEOF
30077 rm -f conftest.$ac_objext conftest$ac_exeext
30078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30079 (eval $ac_link) 2>conftest.er1
30080 ac_status=$?
30081 grep -v '^ *+' conftest.er1 >conftest.err
30082 rm -f conftest.er1
30083 cat conftest.err >&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); } &&
30086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30089 ac_status=$?
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; } &&
30092 { ac_try='test -s conftest$ac_exeext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30095 ac_status=$?
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 ac_R_nospace=yes
30099 else
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30102
30103 ac_R_nospace=no
30104 fi
30105 rm -f conftest.err conftest.$ac_objext \
30106 conftest$ac_exeext conftest.$ac_ext
30107 if test $ac_R_nospace = yes; then
30108 echo "$as_me:$LINENO: result: no" >&5
30109 echo "${ECHO_T}no" >&6
30110 X_LIBS="$X_LIBS -R$x_libraries"
30111 else
30112 LIBS="$ac_xsave_LIBS -R $x_libraries"
30113 cat >conftest.$ac_ext <<_ACEOF
30114 /* confdefs.h. */
30115 _ACEOF
30116 cat confdefs.h >>conftest.$ac_ext
30117 cat >>conftest.$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30119
30120 int
30121 main ()
30122 {
30123
30124 ;
30125 return 0;
30126 }
30127 _ACEOF
30128 rm -f conftest.$ac_objext conftest$ac_exeext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30130 (eval $ac_link) 2>conftest.er1
30131 ac_status=$?
30132 grep -v '^ *+' conftest.er1 >conftest.err
30133 rm -f conftest.er1
30134 cat conftest.err >&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } &&
30137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30139 (eval $ac_try) 2>&5
30140 ac_status=$?
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; } &&
30143 { ac_try='test -s conftest$ac_exeext'
30144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30145 (eval $ac_try) 2>&5
30146 ac_status=$?
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); }; }; then
30149 ac_R_space=yes
30150 else
30151 echo "$as_me: failed program was:" >&5
30152 sed 's/^/| /' conftest.$ac_ext >&5
30153
30154 ac_R_space=no
30155 fi
30156 rm -f conftest.err conftest.$ac_objext \
30157 conftest$ac_exeext conftest.$ac_ext
30158 if test $ac_R_space = yes; then
30159 echo "$as_me:$LINENO: result: yes" >&5
30160 echo "${ECHO_T}yes" >&6
30161 X_LIBS="$X_LIBS -R $x_libraries"
30162 else
30163 echo "$as_me:$LINENO: result: neither works" >&5
30164 echo "${ECHO_T}neither works" >&6
30165 fi
30166 fi
30167 LIBS=$ac_xsave_LIBS
30168 esac
30169 fi
30170
30171 # Check for system-dependent libraries X programs must link with.
30172 # Do this before checking for the system-independent R6 libraries
30173 # (-lICE), since we may need -lsocket or whatever for X linking.
30174
30175 if test "$ISC" = yes; then
30176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30177 else
30178 # Martyn Johnson says this is needed for Ultrix, if the X
30179 # libraries were built with DECnet support. And Karl Berry says
30180 # the Alpha needs dnet_stub (dnet does not exist).
30181 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h. */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188
30189 /* Override any gcc2 internal prototype to avoid an error. */
30190 #ifdef __cplusplus
30191 extern "C"
30192 #endif
30193 /* We use char because int might match the return type of a gcc2
30194 builtin and then its argument prototype would still apply. */
30195 char XOpenDisplay ();
30196 int
30197 main ()
30198 {
30199 XOpenDisplay ();
30200 ;
30201 return 0;
30202 }
30203 _ACEOF
30204 rm -f conftest.$ac_objext conftest$ac_exeext
30205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30206 (eval $ac_link) 2>conftest.er1
30207 ac_status=$?
30208 grep -v '^ *+' conftest.er1 >conftest.err
30209 rm -f conftest.er1
30210 cat conftest.err >&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); } &&
30213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30216 ac_status=$?
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; } &&
30219 { ac_try='test -s conftest$ac_exeext'
30220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30221 (eval $ac_try) 2>&5
30222 ac_status=$?
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); }; }; then
30225 :
30226 else
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30229
30230 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30231 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30232 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30233 echo $ECHO_N "(cached) $ECHO_C" >&6
30234 else
30235 ac_check_lib_save_LIBS=$LIBS
30236 LIBS="-ldnet $LIBS"
30237 cat >conftest.$ac_ext <<_ACEOF
30238 /* confdefs.h. */
30239 _ACEOF
30240 cat confdefs.h >>conftest.$ac_ext
30241 cat >>conftest.$ac_ext <<_ACEOF
30242 /* end confdefs.h. */
30243
30244 /* Override any gcc2 internal prototype to avoid an error. */
30245 #ifdef __cplusplus
30246 extern "C"
30247 #endif
30248 /* We use char because int might match the return type of a gcc2
30249 builtin and then its argument prototype would still apply. */
30250 char dnet_ntoa ();
30251 int
30252 main ()
30253 {
30254 dnet_ntoa ();
30255 ;
30256 return 0;
30257 }
30258 _ACEOF
30259 rm -f conftest.$ac_objext conftest$ac_exeext
30260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30261 (eval $ac_link) 2>conftest.er1
30262 ac_status=$?
30263 grep -v '^ *+' conftest.er1 >conftest.err
30264 rm -f conftest.er1
30265 cat conftest.err >&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); } &&
30268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270 (eval $ac_try) 2>&5
30271 ac_status=$?
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; } &&
30274 { ac_try='test -s conftest$ac_exeext'
30275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30276 (eval $ac_try) 2>&5
30277 ac_status=$?
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; }; then
30280 ac_cv_lib_dnet_dnet_ntoa=yes
30281 else
30282 echo "$as_me: failed program was:" >&5
30283 sed 's/^/| /' conftest.$ac_ext >&5
30284
30285 ac_cv_lib_dnet_dnet_ntoa=no
30286 fi
30287 rm -f conftest.err conftest.$ac_objext \
30288 conftest$ac_exeext conftest.$ac_ext
30289 LIBS=$ac_check_lib_save_LIBS
30290 fi
30291 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30292 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30293 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30294 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30295 fi
30296
30297 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30298 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30299 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30300 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30302 else
30303 ac_check_lib_save_LIBS=$LIBS
30304 LIBS="-ldnet_stub $LIBS"
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h. */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30311
30312 /* Override any gcc2 internal prototype to avoid an error. */
30313 #ifdef __cplusplus
30314 extern "C"
30315 #endif
30316 /* We use char because int might match the return type of a gcc2
30317 builtin and then its argument prototype would still apply. */
30318 char dnet_ntoa ();
30319 int
30320 main ()
30321 {
30322 dnet_ntoa ();
30323 ;
30324 return 0;
30325 }
30326 _ACEOF
30327 rm -f conftest.$ac_objext conftest$ac_exeext
30328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30329 (eval $ac_link) 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } &&
30336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30345 ac_status=$?
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30349 else
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.$ac_ext >&5
30352
30353 ac_cv_lib_dnet_stub_dnet_ntoa=no
30354 fi
30355 rm -f conftest.err conftest.$ac_objext \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30358 fi
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30360 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30361 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30362 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30363 fi
30364
30365 fi
30366 fi
30367 rm -f conftest.err conftest.$ac_objext \
30368 conftest$ac_exeext conftest.$ac_ext
30369 LIBS="$ac_xsave_LIBS"
30370
30371 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30372 # to get the SysV transport functions.
30373 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30374 # needs -lnsl.
30375 # The nsl library prevents programs from opening the X display
30376 # on Irix 5.2, according to T.E. Dickey.
30377 # The functions gethostbyname, getservbyname, and inet_addr are
30378 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30379 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30380 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30381 if test "${ac_cv_func_gethostbyname+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 else
30384 cat >conftest.$ac_ext <<_ACEOF
30385 /* confdefs.h. */
30386 _ACEOF
30387 cat confdefs.h >>conftest.$ac_ext
30388 cat >>conftest.$ac_ext <<_ACEOF
30389 /* end confdefs.h. */
30390 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30392 #define gethostbyname innocuous_gethostbyname
30393
30394 /* System header to define __stub macros and hopefully few prototypes,
30395 which can conflict with char gethostbyname (); below.
30396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30397 <limits.h> exists even on freestanding compilers. */
30398
30399 #ifdef __STDC__
30400 # include <limits.h>
30401 #else
30402 # include <assert.h>
30403 #endif
30404
30405 #undef gethostbyname
30406
30407 /* Override any gcc2 internal prototype to avoid an error. */
30408 #ifdef __cplusplus
30409 extern "C"
30410 {
30411 #endif
30412 /* We use char because int might match the return type of a gcc2
30413 builtin and then its argument prototype would still apply. */
30414 char gethostbyname ();
30415 /* The GNU C library defines this for functions which it implements
30416 to always fail with ENOSYS. Some functions are actually named
30417 something starting with __ and the normal name is an alias. */
30418 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30419 choke me
30420 #else
30421 char (*f) () = gethostbyname;
30422 #endif
30423 #ifdef __cplusplus
30424 }
30425 #endif
30426
30427 int
30428 main ()
30429 {
30430 return f != gethostbyname;
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30437 (eval $ac_link) 2>conftest.er1
30438 ac_status=$?
30439 grep -v '^ *+' conftest.er1 >conftest.err
30440 rm -f conftest.er1
30441 cat conftest.err >&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; } &&
30450 { ac_try='test -s conftest$ac_exeext'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30453 ac_status=$?
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; }; then
30456 ac_cv_func_gethostbyname=yes
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_func_gethostbyname=no
30462 fi
30463 rm -f conftest.err conftest.$ac_objext \
30464 conftest$ac_exeext conftest.$ac_ext
30465 fi
30466 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30467 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30468
30469 if test $ac_cv_func_gethostbyname = no; then
30470 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30471 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30472 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30473 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 else
30475 ac_check_lib_save_LIBS=$LIBS
30476 LIBS="-lnsl $LIBS"
30477 cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h. */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483
30484 /* Override any gcc2 internal prototype to avoid an error. */
30485 #ifdef __cplusplus
30486 extern "C"
30487 #endif
30488 /* We use char because int might match the return type of a gcc2
30489 builtin and then its argument prototype would still apply. */
30490 char gethostbyname ();
30491 int
30492 main ()
30493 {
30494 gethostbyname ();
30495 ;
30496 return 0;
30497 }
30498 _ACEOF
30499 rm -f conftest.$ac_objext conftest$ac_exeext
30500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30501 (eval $ac_link) 2>conftest.er1
30502 ac_status=$?
30503 grep -v '^ *+' conftest.er1 >conftest.err
30504 rm -f conftest.er1
30505 cat conftest.err >&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); } &&
30508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30517 ac_status=$?
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 ac_cv_lib_nsl_gethostbyname=yes
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 ac_cv_lib_nsl_gethostbyname=no
30526 fi
30527 rm -f conftest.err conftest.$ac_objext \
30528 conftest$ac_exeext conftest.$ac_ext
30529 LIBS=$ac_check_lib_save_LIBS
30530 fi
30531 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30532 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30533 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30534 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30535 fi
30536
30537 if test $ac_cv_lib_nsl_gethostbyname = no; then
30538 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30539 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30540 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30541 echo $ECHO_N "(cached) $ECHO_C" >&6
30542 else
30543 ac_check_lib_save_LIBS=$LIBS
30544 LIBS="-lbsd $LIBS"
30545 cat >conftest.$ac_ext <<_ACEOF
30546 /* confdefs.h. */
30547 _ACEOF
30548 cat confdefs.h >>conftest.$ac_ext
30549 cat >>conftest.$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30551
30552 /* Override any gcc2 internal prototype to avoid an error. */
30553 #ifdef __cplusplus
30554 extern "C"
30555 #endif
30556 /* We use char because int might match the return type of a gcc2
30557 builtin and then its argument prototype would still apply. */
30558 char gethostbyname ();
30559 int
30560 main ()
30561 {
30562 gethostbyname ();
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 rm -f conftest.$ac_objext conftest$ac_exeext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30569 (eval $ac_link) 2>conftest.er1
30570 ac_status=$?
30571 grep -v '^ *+' conftest.er1 >conftest.err
30572 rm -f conftest.er1
30573 cat conftest.err >&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; } &&
30582 { ac_try='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30588 ac_cv_lib_bsd_gethostbyname=yes
30589 else
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30592
30593 ac_cv_lib_bsd_gethostbyname=no
30594 fi
30595 rm -f conftest.err conftest.$ac_objext \
30596 conftest$ac_exeext conftest.$ac_ext
30597 LIBS=$ac_check_lib_save_LIBS
30598 fi
30599 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30600 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30601 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30603 fi
30604
30605 fi
30606 fi
30607
30608 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30609 # socket/setsockopt and other routines are undefined under SCO ODT
30610 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30611 # on later versions), says Simon Leinen: it contains gethostby*
30612 # variants that don't use the name server (or something). -lsocket
30613 # must be given before -lnsl if both are needed. We assume that
30614 # if connect needs -lnsl, so does gethostbyname.
30615 echo "$as_me:$LINENO: checking for connect" >&5
30616 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30617 if test "${ac_cv_func_connect+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 cat >conftest.$ac_ext <<_ACEOF
30621 /* confdefs.h. */
30622 _ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30626 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30628 #define connect innocuous_connect
30629
30630 /* System header to define __stub macros and hopefully few prototypes,
30631 which can conflict with char connect (); below.
30632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30633 <limits.h> exists even on freestanding compilers. */
30634
30635 #ifdef __STDC__
30636 # include <limits.h>
30637 #else
30638 # include <assert.h>
30639 #endif
30640
30641 #undef connect
30642
30643 /* Override any gcc2 internal prototype to avoid an error. */
30644 #ifdef __cplusplus
30645 extern "C"
30646 {
30647 #endif
30648 /* We use char because int might match the return type of a gcc2
30649 builtin and then its argument prototype would still apply. */
30650 char connect ();
30651 /* The GNU C library defines this for functions which it implements
30652 to always fail with ENOSYS. Some functions are actually named
30653 something starting with __ and the normal name is an alias. */
30654 #if defined (__stub_connect) || defined (__stub___connect)
30655 choke me
30656 #else
30657 char (*f) () = connect;
30658 #endif
30659 #ifdef __cplusplus
30660 }
30661 #endif
30662
30663 int
30664 main ()
30665 {
30666 return f != connect;
30667 ;
30668 return 0;
30669 }
30670 _ACEOF
30671 rm -f conftest.$ac_objext conftest$ac_exeext
30672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30673 (eval $ac_link) 2>conftest.er1
30674 ac_status=$?
30675 grep -v '^ *+' conftest.er1 >conftest.err
30676 rm -f conftest.er1
30677 cat conftest.err >&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); } &&
30680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30682 (eval $ac_try) 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; } &&
30686 { ac_try='test -s conftest$ac_exeext'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30689 ac_status=$?
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30692 ac_cv_func_connect=yes
30693 else
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.$ac_ext >&5
30696
30697 ac_cv_func_connect=no
30698 fi
30699 rm -f conftest.err conftest.$ac_objext \
30700 conftest$ac_exeext conftest.$ac_ext
30701 fi
30702 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30703 echo "${ECHO_T}$ac_cv_func_connect" >&6
30704
30705 if test $ac_cv_func_connect = no; then
30706 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30707 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30708 if test "${ac_cv_lib_socket_connect+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 else
30711 ac_check_lib_save_LIBS=$LIBS
30712 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719
30720 /* Override any gcc2 internal prototype to avoid an error. */
30721 #ifdef __cplusplus
30722 extern "C"
30723 #endif
30724 /* We use char because int might match the return type of a gcc2
30725 builtin and then its argument prototype would still apply. */
30726 char connect ();
30727 int
30728 main ()
30729 {
30730 connect ();
30731 ;
30732 return 0;
30733 }
30734 _ACEOF
30735 rm -f conftest.$ac_objext conftest$ac_exeext
30736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30737 (eval $ac_link) 2>conftest.er1
30738 ac_status=$?
30739 grep -v '^ *+' conftest.er1 >conftest.err
30740 rm -f conftest.er1
30741 cat conftest.err >&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); } &&
30744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30746 (eval $ac_try) 2>&5
30747 ac_status=$?
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); }; } &&
30750 { ac_try='test -s conftest$ac_exeext'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30753 ac_status=$?
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 ac_cv_lib_socket_connect=yes
30757 else
30758 echo "$as_me: failed program was:" >&5
30759 sed 's/^/| /' conftest.$ac_ext >&5
30760
30761 ac_cv_lib_socket_connect=no
30762 fi
30763 rm -f conftest.err conftest.$ac_objext \
30764 conftest$ac_exeext conftest.$ac_ext
30765 LIBS=$ac_check_lib_save_LIBS
30766 fi
30767 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30768 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30769 if test $ac_cv_lib_socket_connect = yes; then
30770 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30771 fi
30772
30773 fi
30774
30775 # Guillermo Gomez says -lposix is necessary on A/UX.
30776 echo "$as_me:$LINENO: checking for remove" >&5
30777 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30778 if test "${ac_cv_func_remove+set}" = set; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 else
30781 cat >conftest.$ac_ext <<_ACEOF
30782 /* confdefs.h. */
30783 _ACEOF
30784 cat confdefs.h >>conftest.$ac_ext
30785 cat >>conftest.$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30787 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30789 #define remove innocuous_remove
30790
30791 /* System header to define __stub macros and hopefully few prototypes,
30792 which can conflict with char remove (); below.
30793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30794 <limits.h> exists even on freestanding compilers. */
30795
30796 #ifdef __STDC__
30797 # include <limits.h>
30798 #else
30799 # include <assert.h>
30800 #endif
30801
30802 #undef remove
30803
30804 /* Override any gcc2 internal prototype to avoid an error. */
30805 #ifdef __cplusplus
30806 extern "C"
30807 {
30808 #endif
30809 /* We use char because int might match the return type of a gcc2
30810 builtin and then its argument prototype would still apply. */
30811 char remove ();
30812 /* The GNU C library defines this for functions which it implements
30813 to always fail with ENOSYS. Some functions are actually named
30814 something starting with __ and the normal name is an alias. */
30815 #if defined (__stub_remove) || defined (__stub___remove)
30816 choke me
30817 #else
30818 char (*f) () = remove;
30819 #endif
30820 #ifdef __cplusplus
30821 }
30822 #endif
30823
30824 int
30825 main ()
30826 {
30827 return f != remove;
30828 ;
30829 return 0;
30830 }
30831 _ACEOF
30832 rm -f conftest.$ac_objext conftest$ac_exeext
30833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30834 (eval $ac_link) 2>conftest.er1
30835 ac_status=$?
30836 grep -v '^ *+' conftest.er1 >conftest.err
30837 rm -f conftest.er1
30838 cat conftest.err >&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); } &&
30841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30844 ac_status=$?
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; } &&
30847 { ac_try='test -s conftest$ac_exeext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30850 ac_status=$?
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30853 ac_cv_func_remove=yes
30854 else
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.$ac_ext >&5
30857
30858 ac_cv_func_remove=no
30859 fi
30860 rm -f conftest.err conftest.$ac_objext \
30861 conftest$ac_exeext conftest.$ac_ext
30862 fi
30863 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30864 echo "${ECHO_T}$ac_cv_func_remove" >&6
30865
30866 if test $ac_cv_func_remove = no; then
30867 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30868 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30869 if test "${ac_cv_lib_posix_remove+set}" = set; then
30870 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 else
30872 ac_check_lib_save_LIBS=$LIBS
30873 LIBS="-lposix $LIBS"
30874 cat >conftest.$ac_ext <<_ACEOF
30875 /* confdefs.h. */
30876 _ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30880
30881 /* Override any gcc2 internal prototype to avoid an error. */
30882 #ifdef __cplusplus
30883 extern "C"
30884 #endif
30885 /* We use char because int might match the return type of a gcc2
30886 builtin and then its argument prototype would still apply. */
30887 char remove ();
30888 int
30889 main ()
30890 {
30891 remove ();
30892 ;
30893 return 0;
30894 }
30895 _ACEOF
30896 rm -f conftest.$ac_objext conftest$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898 (eval $ac_link) 2>conftest.er1
30899 ac_status=$?
30900 grep -v '^ *+' conftest.er1 >conftest.err
30901 rm -f conftest.er1
30902 cat conftest.err >&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } &&
30905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 ac_cv_lib_posix_remove=yes
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 ac_cv_lib_posix_remove=no
30923 fi
30924 rm -f conftest.err conftest.$ac_objext \
30925 conftest$ac_exeext conftest.$ac_ext
30926 LIBS=$ac_check_lib_save_LIBS
30927 fi
30928 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30929 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30930 if test $ac_cv_lib_posix_remove = yes; then
30931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30932 fi
30933
30934 fi
30935
30936 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30937 echo "$as_me:$LINENO: checking for shmat" >&5
30938 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30939 if test "${ac_cv_func_shmat+set}" = set; then
30940 echo $ECHO_N "(cached) $ECHO_C" >&6
30941 else
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30950 #define shmat innocuous_shmat
30951
30952 /* System header to define __stub macros and hopefully few prototypes,
30953 which can conflict with char shmat (); below.
30954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30955 <limits.h> exists even on freestanding compilers. */
30956
30957 #ifdef __STDC__
30958 # include <limits.h>
30959 #else
30960 # include <assert.h>
30961 #endif
30962
30963 #undef shmat
30964
30965 /* Override any gcc2 internal prototype to avoid an error. */
30966 #ifdef __cplusplus
30967 extern "C"
30968 {
30969 #endif
30970 /* We use char because int might match the return type of a gcc2
30971 builtin and then its argument prototype would still apply. */
30972 char shmat ();
30973 /* The GNU C library defines this for functions which it implements
30974 to always fail with ENOSYS. Some functions are actually named
30975 something starting with __ and the normal name is an alias. */
30976 #if defined (__stub_shmat) || defined (__stub___shmat)
30977 choke me
30978 #else
30979 char (*f) () = shmat;
30980 #endif
30981 #ifdef __cplusplus
30982 }
30983 #endif
30984
30985 int
30986 main ()
30987 {
30988 return f != shmat;
30989 ;
30990 return 0;
30991 }
30992 _ACEOF
30993 rm -f conftest.$ac_objext conftest$ac_exeext
30994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30995 (eval $ac_link) 2>conftest.er1
30996 ac_status=$?
30997 grep -v '^ *+' conftest.er1 >conftest.err
30998 rm -f conftest.er1
30999 cat conftest.err >&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } &&
31002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; } &&
31008 { ac_try='test -s conftest$ac_exeext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 ac_cv_func_shmat=yes
31015 else
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31018
31019 ac_cv_func_shmat=no
31020 fi
31021 rm -f conftest.err conftest.$ac_objext \
31022 conftest$ac_exeext conftest.$ac_ext
31023 fi
31024 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31025 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31026
31027 if test $ac_cv_func_shmat = no; then
31028 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31029 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31031 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 else
31033 ac_check_lib_save_LIBS=$LIBS
31034 LIBS="-lipc $LIBS"
31035 cat >conftest.$ac_ext <<_ACEOF
31036 /* confdefs.h. */
31037 _ACEOF
31038 cat confdefs.h >>conftest.$ac_ext
31039 cat >>conftest.$ac_ext <<_ACEOF
31040 /* end confdefs.h. */
31041
31042 /* Override any gcc2 internal prototype to avoid an error. */
31043 #ifdef __cplusplus
31044 extern "C"
31045 #endif
31046 /* We use char because int might match the return type of a gcc2
31047 builtin and then its argument prototype would still apply. */
31048 char shmat ();
31049 int
31050 main ()
31051 {
31052 shmat ();
31053 ;
31054 return 0;
31055 }
31056 _ACEOF
31057 rm -f conftest.$ac_objext conftest$ac_exeext
31058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31059 (eval $ac_link) 2>conftest.er1
31060 ac_status=$?
31061 grep -v '^ *+' conftest.er1 >conftest.err
31062 rm -f conftest.er1
31063 cat conftest.err >&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31069 ac_status=$?
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try='test -s conftest$ac_exeext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31075 ac_status=$?
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31078 ac_cv_lib_ipc_shmat=yes
31079 else
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31082
31083 ac_cv_lib_ipc_shmat=no
31084 fi
31085 rm -f conftest.err conftest.$ac_objext \
31086 conftest$ac_exeext conftest.$ac_ext
31087 LIBS=$ac_check_lib_save_LIBS
31088 fi
31089 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31090 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31091 if test $ac_cv_lib_ipc_shmat = yes; then
31092 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31093 fi
31094
31095 fi
31096 fi
31097
31098 # Check for libraries that X11R6 Xt/Xaw programs need.
31099 ac_save_LDFLAGS=$LDFLAGS
31100 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31101 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31102 # check for ICE first), but we must link in the order -lSM -lICE or
31103 # we get undefined symbols. So assume we have SM if we have ICE.
31104 # These have to be linked with before -lX11, unlike the other
31105 # libraries we check for below, so use a different variable.
31106 # John Interrante, Karl Berry
31107 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31108 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31109 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31110 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 else
31112 ac_check_lib_save_LIBS=$LIBS
31113 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31114 cat >conftest.$ac_ext <<_ACEOF
31115 /* confdefs.h. */
31116 _ACEOF
31117 cat confdefs.h >>conftest.$ac_ext
31118 cat >>conftest.$ac_ext <<_ACEOF
31119 /* end confdefs.h. */
31120
31121 /* Override any gcc2 internal prototype to avoid an error. */
31122 #ifdef __cplusplus
31123 extern "C"
31124 #endif
31125 /* We use char because int might match the return type of a gcc2
31126 builtin and then its argument prototype would still apply. */
31127 char IceConnectionNumber ();
31128 int
31129 main ()
31130 {
31131 IceConnectionNumber ();
31132 ;
31133 return 0;
31134 }
31135 _ACEOF
31136 rm -f conftest.$ac_objext conftest$ac_exeext
31137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31138 (eval $ac_link) 2>conftest.er1
31139 ac_status=$?
31140 grep -v '^ *+' conftest.er1 >conftest.err
31141 rm -f conftest.er1
31142 cat conftest.err >&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); } &&
31145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31147 (eval $ac_try) 2>&5
31148 ac_status=$?
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); }; } &&
31151 { ac_try='test -s conftest$ac_exeext'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; }; then
31157 ac_cv_lib_ICE_IceConnectionNumber=yes
31158 else
31159 echo "$as_me: failed program was:" >&5
31160 sed 's/^/| /' conftest.$ac_ext >&5
31161
31162 ac_cv_lib_ICE_IceConnectionNumber=no
31163 fi
31164 rm -f conftest.err conftest.$ac_objext \
31165 conftest$ac_exeext conftest.$ac_ext
31166 LIBS=$ac_check_lib_save_LIBS
31167 fi
31168 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31169 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31170 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31171 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31172 fi
31173
31174 LDFLAGS=$ac_save_LDFLAGS
31175
31176 fi
31177
31178
31179 if test "$no_x" = "yes"; then
31180 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31181 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31182 { (exit 1); exit 1; }; }
31183 fi
31184
31185 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31186 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31187 AFMINSTALL=afminstall
31188 COMPILED_X_PROGRAM=0
31189
31190 fi
31191
31192 if test "$wxUSE_X11" = 1; then
31193 if test "$wxUSE_NANOX" = "yes"; then
31194 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31195 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31196 if test "x$MICROWIN" = x ; then
31197 echo "$as_me:$LINENO: result: not found" >&5
31198 echo "${ECHO_T}not found" >&6
31199 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31200 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31201 { (exit 1); exit 1; }; }
31202 else
31203 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31204 echo "${ECHO_T}$MICROWIN" >&6
31205 cat >>confdefs.h <<\_ACEOF
31206 #define wxUSE_NANOX 1
31207 _ACEOF
31208
31209 fi
31210 fi
31211
31212 if test "$wxUSE_UNICODE" = "yes"; then
31213
31214
31215 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31216 if test -n "$ac_tool_prefix"; then
31217 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31218 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31219 echo "$as_me:$LINENO: checking for $ac_word" >&5
31220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31222 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 else
31224 case $PKG_CONFIG in
31225 [\\/]* | ?:[\\/]*)
31226 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31227 ;;
31228 *)
31229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31230 for as_dir in $PATH
31231 do
31232 IFS=$as_save_IFS
31233 test -z "$as_dir" && as_dir=.
31234 for ac_exec_ext in '' $ac_executable_extensions; do
31235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31236 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31238 break 2
31239 fi
31240 done
31241 done
31242
31243 ;;
31244 esac
31245 fi
31246 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31247
31248 if test -n "$PKG_CONFIG"; then
31249 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31250 echo "${ECHO_T}$PKG_CONFIG" >&6
31251 else
31252 echo "$as_me:$LINENO: result: no" >&5
31253 echo "${ECHO_T}no" >&6
31254 fi
31255
31256 fi
31257 if test -z "$ac_cv_path_PKG_CONFIG"; then
31258 ac_pt_PKG_CONFIG=$PKG_CONFIG
31259 # Extract the first word of "pkg-config", so it can be a program name with args.
31260 set dummy pkg-config; ac_word=$2
31261 echo "$as_me:$LINENO: checking for $ac_word" >&5
31262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31263 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 else
31266 case $ac_pt_PKG_CONFIG in
31267 [\\/]* | ?:[\\/]*)
31268 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31269 ;;
31270 *)
31271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31272 for as_dir in $PATH
31273 do
31274 IFS=$as_save_IFS
31275 test -z "$as_dir" && as_dir=.
31276 for ac_exec_ext in '' $ac_executable_extensions; do
31277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31278 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31280 break 2
31281 fi
31282 done
31283 done
31284
31285 ;;
31286 esac
31287 fi
31288 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31289
31290 if test -n "$ac_pt_PKG_CONFIG"; then
31291 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31292 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31293 else
31294 echo "$as_me:$LINENO: result: no" >&5
31295 echo "${ECHO_T}no" >&6
31296 fi
31297
31298 PKG_CONFIG=$ac_pt_PKG_CONFIG
31299 else
31300 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31301 fi
31302
31303 fi
31304 if test -n "$PKG_CONFIG"; then
31305 _pkg_min_version=0.9.0
31306 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31307 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31309 echo "$as_me:$LINENO: result: yes" >&5
31310 echo "${ECHO_T}yes" >&6
31311 else
31312 echo "$as_me:$LINENO: result: no" >&5
31313 echo "${ECHO_T}no" >&6
31314 PKG_CONFIG=""
31315 fi
31316
31317 fi
31318
31319
31320 pkg_failed=no
31321 echo "$as_me:$LINENO: checking for PANGOX" >&5
31322 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31323
31324 if test -n "$PKG_CONFIG"; then
31325 if test -n "$PANGOX_CFLAGS"; then
31326 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31327 else
31328 if test -n "$PKG_CONFIG" && \
31329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31330 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31331 ac_status=$?
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; then
31334 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31335 else
31336 pkg_failed=yes
31337 fi
31338 fi
31339 else
31340 pkg_failed=untried
31341 fi
31342 if test -n "$PKG_CONFIG"; then
31343 if test -n "$PANGOX_LIBS"; then
31344 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31345 else
31346 if test -n "$PKG_CONFIG" && \
31347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31348 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31349 ac_status=$?
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; then
31352 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31353 else
31354 pkg_failed=yes
31355 fi
31356 fi
31357 else
31358 pkg_failed=untried
31359 fi
31360
31361
31362
31363 if test $pkg_failed = yes; then
31364
31365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31366 _pkg_short_errors_supported=yes
31367 else
31368 _pkg_short_errors_supported=no
31369 fi
31370 if test $_pkg_short_errors_supported = yes; then
31371 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31372 else
31373 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31374 fi
31375 # Put the nasty error message in config.log where it belongs
31376 echo "$PANGOX_PKG_ERRORS" >&5
31377
31378
31379 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31380 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31381 { (exit 1); exit 1; }; }
31382
31383
31384 elif test $pkg_failed = untried; then
31385
31386 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31387 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31388 { (exit 1); exit 1; }; }
31389
31390
31391 else
31392 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31393 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31394 echo "$as_me:$LINENO: result: yes" >&5
31395 echo "${ECHO_T}yes" >&6
31396
31397 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31398 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31399
31400 fi
31401
31402 pkg_failed=no
31403 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31404 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31405
31406 if test -n "$PKG_CONFIG"; then
31407 if test -n "$PANGOFT2_CFLAGS"; then
31408 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31409 else
31410 if test -n "$PKG_CONFIG" && \
31411 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31412 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; then
31416 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31417 else
31418 pkg_failed=yes
31419 fi
31420 fi
31421 else
31422 pkg_failed=untried
31423 fi
31424 if test -n "$PKG_CONFIG"; then
31425 if test -n "$PANGOFT2_LIBS"; then
31426 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31427 else
31428 if test -n "$PKG_CONFIG" && \
31429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31430 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; then
31434 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31435 else
31436 pkg_failed=yes
31437 fi
31438 fi
31439 else
31440 pkg_failed=untried
31441 fi
31442
31443
31444
31445 if test $pkg_failed = yes; then
31446
31447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31448 _pkg_short_errors_supported=yes
31449 else
31450 _pkg_short_errors_supported=no
31451 fi
31452 if test $_pkg_short_errors_supported = yes; then
31453 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31454 else
31455 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31456 fi
31457 # Put the nasty error message in config.log where it belongs
31458 echo "$PANGOFT2_PKG_ERRORS" >&5
31459
31460
31461 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31462 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31463 wxUSE_PRINTING_ARCHITECTURE="no"
31464
31465
31466 elif test $pkg_failed = untried; then
31467
31468 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31469 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31470 wxUSE_PRINTING_ARCHITECTURE="no"
31471
31472
31473 else
31474 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31475 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31476 echo "$as_me:$LINENO: result: yes" >&5
31477 echo "${ECHO_T}yes" >&6
31478
31479 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31481
31482 fi
31483
31484 pkg_failed=no
31485 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31486 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31487
31488 if test -n "$PKG_CONFIG"; then
31489 if test -n "$PANGOXFT_CFLAGS"; then
31490 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31491 else
31492 if test -n "$PKG_CONFIG" && \
31493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31494 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31495 ac_status=$?
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; then
31498 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31499 else
31500 pkg_failed=yes
31501 fi
31502 fi
31503 else
31504 pkg_failed=untried
31505 fi
31506 if test -n "$PKG_CONFIG"; then
31507 if test -n "$PANGOXFT_LIBS"; then
31508 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31509 else
31510 if test -n "$PKG_CONFIG" && \
31511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31512 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31513 ac_status=$?
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; then
31516 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31517 else
31518 pkg_failed=yes
31519 fi
31520 fi
31521 else
31522 pkg_failed=untried
31523 fi
31524
31525
31526
31527 if test $pkg_failed = yes; then
31528
31529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31530 _pkg_short_errors_supported=yes
31531 else
31532 _pkg_short_errors_supported=no
31533 fi
31534 if test $_pkg_short_errors_supported = yes; then
31535 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31536 else
31537 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31538 fi
31539 # Put the nasty error message in config.log where it belongs
31540 echo "$PANGOXFT_PKG_ERRORS" >&5
31541
31542
31543 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31544 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31545
31546
31547 elif test $pkg_failed = untried; then
31548
31549 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31550 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31551
31552
31553 else
31554 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31555 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31556 echo "$as_me:$LINENO: result: yes" >&5
31557 echo "${ECHO_T}yes" >&6
31558
31559 cat >>confdefs.h <<\_ACEOF
31560 #define HAVE_PANGO_XFT 1
31561 _ACEOF
31562
31563 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31564 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31565
31566 fi
31567 save_CXXFLAGS="$CXXFLAGS"
31568 save_LIBS="$LIBS"
31569 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31570 LIBS="$LIBS $PANGOX_LIBS"
31571
31572 for ac_func in pango_font_family_is_monospace
31573 do
31574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31575 echo "$as_me:$LINENO: checking for $ac_func" >&5
31576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31577 if eval "test \"\${$as_ac_var+set}\" = set"; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 else
31580 cat >conftest.$ac_ext <<_ACEOF
31581 /* confdefs.h. */
31582 _ACEOF
31583 cat confdefs.h >>conftest.$ac_ext
31584 cat >>conftest.$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31588 #define $ac_func innocuous_$ac_func
31589
31590 /* System header to define __stub macros and hopefully few prototypes,
31591 which can conflict with char $ac_func (); below.
31592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31593 <limits.h> exists even on freestanding compilers. */
31594
31595 #ifdef __STDC__
31596 # include <limits.h>
31597 #else
31598 # include <assert.h>
31599 #endif
31600
31601 #undef $ac_func
31602
31603 /* Override any gcc2 internal prototype to avoid an error. */
31604 #ifdef __cplusplus
31605 extern "C"
31606 {
31607 #endif
31608 /* We use char because int might match the return type of a gcc2
31609 builtin and then its argument prototype would still apply. */
31610 char $ac_func ();
31611 /* The GNU C library defines this for functions which it implements
31612 to always fail with ENOSYS. Some functions are actually named
31613 something starting with __ and the normal name is an alias. */
31614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31615 choke me
31616 #else
31617 char (*f) () = $ac_func;
31618 #endif
31619 #ifdef __cplusplus
31620 }
31621 #endif
31622
31623 int
31624 main ()
31625 {
31626 return f != $ac_func;
31627 ;
31628 return 0;
31629 }
31630 _ACEOF
31631 rm -f conftest.$ac_objext conftest$ac_exeext
31632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31633 (eval $ac_link) 2>conftest.er1
31634 ac_status=$?
31635 grep -v '^ *+' conftest.er1 >conftest.err
31636 rm -f conftest.er1
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } &&
31640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31642 (eval $ac_try) 2>&5
31643 ac_status=$?
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); }; } &&
31646 { ac_try='test -s conftest$ac_exeext'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31649 ac_status=$?
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; }; then
31652 eval "$as_ac_var=yes"
31653 else
31654 echo "$as_me: failed program was:" >&5
31655 sed 's/^/| /' conftest.$ac_ext >&5
31656
31657 eval "$as_ac_var=no"
31658 fi
31659 rm -f conftest.err conftest.$ac_objext \
31660 conftest$ac_exeext conftest.$ac_ext
31661 fi
31662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31664 if test `eval echo '${'$as_ac_var'}'` = yes; then
31665 cat >>confdefs.h <<_ACEOF
31666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31667 _ACEOF
31668
31669 fi
31670 done
31671
31672 CXXFLAGS="$save_CXXFLAGS"
31673 LIBS="$save_LIBS"
31674 fi
31675
31676 wxUSE_UNIVERSAL="yes"
31677
31678 if test "$wxUSE_NANOX" = "yes"; then
31679 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31680 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
31681 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31682 else
31683 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31684 fi
31685
31686 TOOLKIT=X11
31687 GUIDIST=X11_DIST
31688 fi
31689
31690 if test "$wxUSE_MOTIF" = 1; then
31691 if test "$wxUSE_UNICODE" = "yes"; then
31692 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31693 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31694 { (exit 1); exit 1; }; }
31695 fi
31696
31697 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31698 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31699
31700 ac_find_includes=
31701 for ac_dir in $SEARCH_INCLUDE /usr/include;
31702 do
31703 if test -f "$ac_dir/Xm/Xm.h"; then
31704 ac_find_includes=$ac_dir
31705 break
31706 fi
31707 done
31708
31709 if test "$ac_find_includes" != "" ; then
31710 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31711 echo "${ECHO_T}found in $ac_find_includes" >&6
31712
31713 if test "x$ac_find_includes" = "x/usr/include"; then
31714 ac_path_to_include=""
31715 else
31716 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31717 result=$?
31718 if test $result = 0; then
31719 ac_path_to_include=""
31720 else
31721 ac_path_to_include=" -I$ac_find_includes"
31722 fi
31723 fi
31724
31725 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31726 else
31727 save_CXXFLAGS=$CXXFLAGS
31728 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31729
31730 cat >conftest.$ac_ext <<_ACEOF
31731 /* confdefs.h. */
31732 _ACEOF
31733 cat confdefs.h >>conftest.$ac_ext
31734 cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736
31737 #include <Xm/Xm.h>
31738
31739 int
31740 main ()
31741 {
31742
31743 int version;
31744 version = xmUseVersion;
31745
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 rm -f conftest.$ac_objext
31751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31752 (eval $ac_compile) 2>conftest.er1
31753 ac_status=$?
31754 grep -v '^ *+' conftest.er1 >conftest.err
31755 rm -f conftest.er1
31756 cat conftest.err >&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } &&
31759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31761 (eval $ac_try) 2>&5
31762 ac_status=$?
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; } &&
31765 { ac_try='test -s conftest.$ac_objext'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; }; then
31771
31772 echo "$as_me:$LINENO: result: found in default search path" >&5
31773 echo "${ECHO_T}found in default search path" >&6
31774 COMPILED_X_PROGRAM=1
31775
31776 else
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31779
31780
31781 echo "$as_me:$LINENO: result: no" >&5
31782 echo "${ECHO_T}no" >&6
31783 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31784 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31785 { (exit 1); exit 1; }; }
31786
31787
31788 fi
31789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31790
31791 CXXFLAGS=$save_CXXFLAGS
31792 fi
31793
31794
31795 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31796 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31797
31798 ac_find_libraries=
31799 for ac_dir in $SEARCH_LIB;
31800 do
31801 for ac_extension in a so sl dylib dll.a; do
31802 if test -f "$ac_dir/libXm.$ac_extension"; then
31803 ac_find_libraries=$ac_dir
31804 break 2
31805 fi
31806 done
31807 done
31808
31809
31810 if test "x$ac_find_libraries" != "x" ; then
31811 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31812 echo "${ECHO_T}found in $ac_find_libraries" >&6
31813
31814
31815 if test "$ac_find_libraries" = "default location"; then
31816 ac_path_to_link=""
31817 else
31818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31819 result=$?
31820 if test $result = 0; then
31821 ac_path_to_link=""
31822 else
31823 ac_path_to_link=" -L$ac_find_libraries"
31824 fi
31825 fi
31826
31827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31828 else
31829 save_CXXFLAGS=$CXXFLAGS
31830 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31831 save_LIBS="$LIBS"
31832 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31833
31834 cat >conftest.$ac_ext <<_ACEOF
31835 /* confdefs.h. */
31836 _ACEOF
31837 cat confdefs.h >>conftest.$ac_ext
31838 cat >>conftest.$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840
31841 #include <Xm/Xm.h>
31842
31843 int
31844 main ()
31845 {
31846
31847 int version;
31848 version = xmUseVersion;
31849
31850 ;
31851 return 0;
31852 }
31853 _ACEOF
31854 rm -f conftest.$ac_objext conftest$ac_exeext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31856 (eval $ac_link) 2>conftest.er1
31857 ac_status=$?
31858 grep -v '^ *+' conftest.er1 >conftest.err
31859 rm -f conftest.er1
31860 cat conftest.err >&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } &&
31863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; } &&
31869 { ac_try='test -s conftest$ac_exeext'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; }; then
31875
31876 echo "$as_me:$LINENO: result: found in default search path" >&5
31877 echo "${ECHO_T}found in default search path" >&6
31878 COMPILED_X_PROGRAM=1
31879
31880 else
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31883
31884
31885 echo "$as_me:$LINENO: result: no" >&5
31886 echo "${ECHO_T}no" >&6
31887 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31888 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31889 { (exit 1); exit 1; }; }
31890
31891
31892 fi
31893 rm -f conftest.err conftest.$ac_objext \
31894 conftest$ac_exeext conftest.$ac_ext
31895
31896 CXXFLAGS=$save_CXXFLAGS
31897 LIBS="$save_LIBS"
31898 fi
31899
31900 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31901 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31902 libp_link=""
31903 libsm_ice_link=""
31904 libs_found=0
31905 for libp in "" " -lXp"; do
31906 if test "$libs_found" = "0"; then
31907 for libsm_ice in "" " -lSM -lICE"; do
31908 if test "$libs_found" = "0"; then
31909 save_LIBS="$LIBS"
31910 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31911 save_CXXFLAGS=$CXXFLAGS
31912 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31913
31914 cat >conftest.$ac_ext <<_ACEOF
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920
31921 #include <Xm/Xm.h>
31922 #include <Xm/List.h>
31923
31924 int
31925 main ()
31926 {
31927
31928 XmString string = NULL;
31929 Widget w = NULL;
31930 int position = 0;
31931 XmListAddItem(w, string, position);
31932
31933 ;
31934 return 0;
31935 }
31936 _ACEOF
31937 rm -f conftest.$ac_objext conftest$ac_exeext
31938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31939 (eval $ac_link) 2>conftest.er1
31940 ac_status=$?
31941 grep -v '^ *+' conftest.er1 >conftest.err
31942 rm -f conftest.er1
31943 cat conftest.err >&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); } &&
31946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31948 (eval $ac_try) 2>&5
31949 ac_status=$?
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); }; } &&
31952 { ac_try='test -s conftest$ac_exeext'
31953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31954 (eval $ac_try) 2>&5
31955 ac_status=$?
31956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957 (exit $ac_status); }; }; then
31958
31959 libp_link="$libp"
31960 libsm_ice_link="$libsm_ice"
31961 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31962 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31963 libs_found=1
31964
31965 else
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969
31970
31971 fi
31972 rm -f conftest.err conftest.$ac_objext \
31973 conftest$ac_exeext conftest.$ac_ext
31974
31975 LIBS="$save_LIBS"
31976 CXXFLAGS=$save_CXXFLAGS
31977 fi
31978 done
31979 fi
31980 done
31981
31982 if test "$libs_found" = "0"; then
31983 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31984 echo "${ECHO_T}can't find the right libraries" >&6
31985 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31986 echo "$as_me: error: can't link a simple motif program" >&2;}
31987 { (exit 1); exit 1; }; }
31988 fi
31989
31990 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31991 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31992 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lSgm $LIBS"
31997 cat >conftest.$ac_ext <<_ACEOF
31998 /* confdefs.h. */
31999 _ACEOF
32000 cat confdefs.h >>conftest.$ac_ext
32001 cat >>conftest.$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32003
32004 /* Override any gcc2 internal prototype to avoid an error. */
32005 #ifdef __cplusplus
32006 extern "C"
32007 #endif
32008 /* We use char because int might match the return type of a gcc2
32009 builtin and then its argument prototype would still apply. */
32010 char SgCreateList ();
32011 int
32012 main ()
32013 {
32014 SgCreateList ();
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32022 ac_status=$?
32023 grep -v '^ *+' conftest.er1 >conftest.err
32024 rm -f conftest.er1
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32030 (eval $ac_try) 2>&5
32031 ac_status=$?
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); }; } &&
32034 { ac_try='test -s conftest$ac_exeext'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; }; then
32040 ac_cv_lib_Sgm_SgCreateList=yes
32041 else
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32044
32045 ac_cv_lib_Sgm_SgCreateList=no
32046 fi
32047 rm -f conftest.err conftest.$ac_objext \
32048 conftest$ac_exeext conftest.$ac_ext
32049 LIBS=$ac_check_lib_save_LIBS
32050 fi
32051 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32052 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32053 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32054 libsgm_link=" -lSgm"
32055 fi
32056
32057
32058 save_CXXFLAGS=$CXXFLAGS
32059 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32060
32061 echo "$as_me:$LINENO: checking for Motif 2" >&5
32062 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32063 if test "${wx_cv_lib_motif2+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072
32073 #include <Xm/Xm.h>
32074
32075 int
32076 main ()
32077 {
32078
32079 #if XmVersion < 2000
32080 Not Motif 2
32081 #endif
32082
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 rm -f conftest.$ac_objext
32088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32089 (eval $ac_compile) 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } &&
32096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest.$ac_objext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 wx_cv_lib_motif2="yes"
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32112
32113 wx_cv_lib_motif2="no"
32114 fi
32115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32116 fi
32117 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32118 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32119 if test "$wx_cv_lib_motif2" = "yes"; then
32120 cat >>confdefs.h <<\_ACEOF
32121 #define __WXMOTIF20__ 1
32122 _ACEOF
32123
32124 else
32125 cat >>confdefs.h <<\_ACEOF
32126 #define __WXMOTIF20__ 0
32127 _ACEOF
32128
32129 fi
32130
32131 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32132 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32133 if test "${wx_cv_lib_lesstif+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 else
32136 cat >conftest.$ac_ext <<_ACEOF
32137 /* confdefs.h. */
32138 _ACEOF
32139 cat confdefs.h >>conftest.$ac_ext
32140 cat >>conftest.$ac_ext <<_ACEOF
32141 /* end confdefs.h. */
32142
32143 #include <Xm/Xm.h>
32144
32145 int
32146 main ()
32147 {
32148
32149 #if !defined(LesstifVersion) || LesstifVersion <= 0
32150 Not Lesstif
32151 #endif
32152
32153 ;
32154 return 0;
32155 }
32156 _ACEOF
32157 rm -f conftest.$ac_objext
32158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32159 (eval $ac_compile) 2>conftest.er1
32160 ac_status=$?
32161 grep -v '^ *+' conftest.er1 >conftest.err
32162 rm -f conftest.er1
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } &&
32166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32169 ac_status=$?
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; } &&
32172 { ac_try='test -s conftest.$ac_objext'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32175 ac_status=$?
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; }; then
32178 wx_cv_lib_lesstif="yes"
32179 else
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32182
32183 wx_cv_lib_lesstif="no"
32184 fi
32185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32186
32187 fi
32188 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32189 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32190 if test "$wx_cv_lib_lesstif" = "yes"; then
32191 cat >>confdefs.h <<\_ACEOF
32192 #define __WXLESSTIF__ 1
32193 _ACEOF
32194
32195 else
32196 cat >>confdefs.h <<\_ACEOF
32197 #define __WXLESSTIF__ 0
32198 _ACEOF
32199
32200 fi
32201
32202 CXXFLAGS=$save_CXXFLAGS
32203
32204 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32205 TOOLKIT=MOTIF
32206 GUIDIST=MOTIF_DIST
32207 fi
32208
32209 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32210 if test "$wxUSE_LIBXPM" = "sys"; then
32211 echo "$as_me:$LINENO: checking for Xpm library" >&5
32212 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32213
32214 ac_find_libraries=
32215 for ac_dir in $SEARCH_LIB;
32216 do
32217 for ac_extension in a so sl dylib dll.a; do
32218 if test -f "$ac_dir/libXpm.$ac_extension"; then
32219 ac_find_libraries=$ac_dir
32220 break 2
32221 fi
32222 done
32223 done
32224
32225 if test "$ac_find_libraries" != "" ; then
32226
32227 if test "$ac_find_libraries" = "default location"; then
32228 ac_path_to_link=""
32229 else
32230 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32231 result=$?
32232 if test $result = 0; then
32233 ac_path_to_link=""
32234 else
32235 ac_path_to_link=" -L$ac_find_libraries"
32236 fi
32237 fi
32238
32239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32240 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32241 echo "${ECHO_T}found in $ac_find_libraries" >&6
32242
32243 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32244 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32245 if test "${wx_cv_x11_xpm_h+set}" = set; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32247 else
32248
32249 save_CXXFLAGS=$CXXFLAGS
32250 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32251
32252 cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h. */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258
32259 #include <X11/xpm.h>
32260
32261 int
32262 main ()
32263 {
32264
32265 int version;
32266 version = XpmLibraryVersion();
32267
32268 ;
32269 return 0;
32270 }
32271 _ACEOF
32272 rm -f conftest.$ac_objext
32273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32274 (eval $ac_compile) 2>conftest.er1
32275 ac_status=$?
32276 grep -v '^ *+' conftest.er1 >conftest.err
32277 rm -f conftest.er1
32278 cat conftest.err >&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); } &&
32281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; } &&
32287 { ac_try='test -s conftest.$ac_objext'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32290 ac_status=$?
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; }; then
32293 wx_cv_x11_xpm_h=yes
32294 else
32295 echo "$as_me: failed program was:" >&5
32296 sed 's/^/| /' conftest.$ac_ext >&5
32297
32298 wx_cv_x11_xpm_h=no
32299
32300 fi
32301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32302
32303 CXXFLAGS=$save_CXXFLAGS
32304
32305
32306 fi
32307 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32308 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32309
32310 if test $wx_cv_x11_xpm_h = "yes"; then
32311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32312 cat >>confdefs.h <<\_ACEOF
32313 #define wxHAVE_LIB_XPM 1
32314 _ACEOF
32315
32316 else
32317 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32318 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32319 fi
32320 fi
32321
32322 fi
32323
32324 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32325 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32326 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32327 echo $ECHO_N "(cached) $ECHO_C" >&6
32328 else
32329 ac_check_lib_save_LIBS=$LIBS
32330 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32331 cat >conftest.$ac_ext <<_ACEOF
32332 /* confdefs.h. */
32333 _ACEOF
32334 cat confdefs.h >>conftest.$ac_ext
32335 cat >>conftest.$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32337
32338 /* Override any gcc2 internal prototype to avoid an error. */
32339 #ifdef __cplusplus
32340 extern "C"
32341 #endif
32342 /* We use char because int might match the return type of a gcc2
32343 builtin and then its argument prototype would still apply. */
32344 char XShapeQueryExtension ();
32345 int
32346 main ()
32347 {
32348 XShapeQueryExtension ();
32349 ;
32350 return 0;
32351 }
32352 _ACEOF
32353 rm -f conftest.$ac_objext conftest$ac_exeext
32354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32355 (eval $ac_link) 2>conftest.er1
32356 ac_status=$?
32357 grep -v '^ *+' conftest.er1 >conftest.err
32358 rm -f conftest.er1
32359 cat conftest.err >&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); } &&
32362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32365 ac_status=$?
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; } &&
32368 { ac_try='test -s conftest$ac_exeext'
32369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370 (eval $ac_try) 2>&5
32371 ac_status=$?
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); }; }; then
32374 ac_cv_lib_Xext_XShapeQueryExtension=yes
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 ac_cv_lib_Xext_XShapeQueryExtension=no
32380 fi
32381 rm -f conftest.err conftest.$ac_objext \
32382 conftest$ac_exeext conftest.$ac_ext
32383 LIBS=$ac_check_lib_save_LIBS
32384 fi
32385 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32386 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32387 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32388
32389 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32390 wxHAVE_XEXT_LIB=1
32391
32392 fi
32393
32394
32395 if test "$wxHAVE_XEXT_LIB" = 1; then
32396 save_CXXFLAGS="$CXXFLAGS"
32397 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32398
32399 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32400 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32401 cat >conftest.$ac_ext <<_ACEOF
32402 /* confdefs.h. */
32403 _ACEOF
32404 cat confdefs.h >>conftest.$ac_ext
32405 cat >>conftest.$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32407
32408 #include <X11/Xlib.h>
32409 #include <X11/extensions/shape.h>
32410
32411 int
32412 main ()
32413 {
32414
32415 int dummy1, dummy2;
32416 XShapeQueryExtension((Display*)NULL,
32417 (int*)NULL, (int*)NULL);
32418
32419 ;
32420 return 0;
32421 }
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425 (eval $ac_compile) 2>conftest.er1
32426 ac_status=$?
32427 grep -v '^ *+' conftest.er1 >conftest.err
32428 rm -f conftest.er1
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } &&
32438 { ac_try='test -s conftest.$ac_objext'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32441 ac_status=$?
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; }; then
32444
32445 cat >>confdefs.h <<\_ACEOF
32446 #define HAVE_XSHAPE 1
32447 _ACEOF
32448
32449 echo "$as_me:$LINENO: result: found" >&5
32450 echo "${ECHO_T}found" >&6
32451
32452 else
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.$ac_ext >&5
32455
32456
32457 echo "$as_me:$LINENO: result: not found" >&5
32458 echo "${ECHO_T}not found" >&6
32459
32460 fi
32461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32462 CXXFLAGS="$save_CXXFLAGS"
32463
32464 fi
32465 fi
32466
32467 if test "$wxUSE_MAC" = 1; then
32468 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32469 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32470 if test "$GCC" = yes; then
32471 echo "$as_me:$LINENO: result: gcc" >&5
32472 echo "${ECHO_T}gcc" >&6
32473 CPPFLAGS_PASCAL="-fpascal-strings"
32474 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32475 echo "$as_me:$LINENO: result: xlc" >&5
32476 echo "${ECHO_T}xlc" >&6
32477 CPPFLAGS_PASCAL="-qmacpstr"
32478 else
32479 echo "$as_me:$LINENO: result: none" >&5
32480 echo "${ECHO_T}none" >&6
32481 fi
32482
32483 if test "x$wxUSE_UNIX" = "xyes"; then
32484 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32485 else
32486 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32487 fi
32488
32489 TOOLKIT=MAC
32490 GUIDIST=MACX_DIST
32491 WXBASEPORT="_carbon"
32492 fi
32493
32494 if test "$wxUSE_COCOA" = 1; then
32495 TOOLKIT=COCOA
32496 GUIDIST=COCOA_DIST
32497 fi
32498
32499 if test "$wxUSE_PM" = 1; then
32500 TOOLKIT=PM
32501 GUIDIST=PM_DIST
32502 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32503 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32504 if test "${wx_cv_spbcdata+set}" = set; then
32505 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 else
32507
32508 cat >conftest.$ac_ext <<_ACEOF
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514
32515 #define INCL_PM
32516 #include <os2.h>
32517
32518 int
32519 main ()
32520 {
32521
32522 SPBCDATA test;
32523
32524 ;
32525 return 0;
32526 }
32527 _ACEOF
32528 rm -f conftest.$ac_objext
32529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32530 (eval $ac_compile) 2>conftest.er1
32531 ac_status=$?
32532 grep -v '^ *+' conftest.er1 >conftest.err
32533 rm -f conftest.er1
32534 cat conftest.err >&5
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); } &&
32537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32540 ac_status=$?
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; } &&
32543 { ac_try='test -s conftest.$ac_objext'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32546 ac_status=$?
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; }; then
32549 wx_cv_spbcdata=yes
32550 else
32551 echo "$as_me: failed program was:" >&5
32552 sed 's/^/| /' conftest.$ac_ext >&5
32553
32554 wx_cv_spbcdata=no
32555
32556 fi
32557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32558
32559
32560 fi
32561 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32562 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32563
32564 if test $wx_cv_spbcdata = "yes"; then
32565 cat >>confdefs.h <<\_ACEOF
32566 #define HAVE_SPBCDATA 1
32567 _ACEOF
32568
32569 fi
32570 fi
32571
32572 if test "$TOOLKIT" = "PM" ; then
32573 TOOLKIT_DIR="os2"
32574 else
32575 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32576 fi
32577
32578 if test "$wxUSE_UNIVERSAL" = "yes"; then
32579 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32580 WIDGET_SET=univ
32581 fi
32582
32583 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32584 DISTDIR="wx\$(TOOLKIT)"
32585 else
32586 USE_GUI=0
32587
32588 TOOLKIT_DIR="base"
32589
32590 if test "$USE_WIN32" = 1 ; then
32591 TOOLKIT="MSW"
32592 fi
32593
32594 GUIDIST="BASE_DIST"
32595 DISTDIR="wxBase"
32596 fi
32597
32598
32599 if test "$wxUSE_GUI" = "yes"; then
32600 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32601
32602 for ac_header in X11/Xlib.h
32603 do
32604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32606 echo "$as_me:$LINENO: checking for $ac_header" >&5
32607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 fi
32611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32613 else
32614 # Is the header compilable?
32615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32617 cat >conftest.$ac_ext <<_ACEOF
32618 /* confdefs.h. */
32619 _ACEOF
32620 cat confdefs.h >>conftest.$ac_ext
32621 cat >>conftest.$ac_ext <<_ACEOF
32622 /* end confdefs.h. */
32623 $ac_includes_default
32624 #include <$ac_header>
32625 _ACEOF
32626 rm -f conftest.$ac_objext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32628 (eval $ac_compile) 2>conftest.er1
32629 ac_status=$?
32630 grep -v '^ *+' conftest.er1 >conftest.err
32631 rm -f conftest.er1
32632 cat conftest.err >&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try='test -s conftest.$ac_objext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 ac_header_compiler=yes
32648 else
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32651
32652 ac_header_compiler=no
32653 fi
32654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32656 echo "${ECHO_T}$ac_header_compiler" >&6
32657
32658 # Is the header present?
32659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32661 cat >conftest.$ac_ext <<_ACEOF
32662 /* confdefs.h. */
32663 _ACEOF
32664 cat confdefs.h >>conftest.$ac_ext
32665 cat >>conftest.$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 #include <$ac_header>
32668 _ACEOF
32669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev/null; then
32677 if test -s conftest.err; then
32678 ac_cpp_err=$ac_c_preproc_warn_flag
32679 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32680 else
32681 ac_cpp_err=
32682 fi
32683 else
32684 ac_cpp_err=yes
32685 fi
32686 if test -z "$ac_cpp_err"; then
32687 ac_header_preproc=yes
32688 else
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 ac_header_preproc=no
32693 fi
32694 rm -f conftest.err conftest.$ac_ext
32695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32696 echo "${ECHO_T}$ac_header_preproc" >&6
32697
32698 # So? What about this header?
32699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32700 yes:no: )
32701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32705 ac_header_preproc=yes
32706 ;;
32707 no:yes:* )
32708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32720 (
32721 cat <<\_ASBOX
32722 ## ----------------------------------------- ##
32723 ## Report this to wx-dev@lists.wxwidgets.org ##
32724 ## ----------------------------------------- ##
32725 _ASBOX
32726 ) |
32727 sed "s/^/$as_me: WARNING: /" >&2
32728 ;;
32729 esac
32730 echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32734 else
32735 eval "$as_ac_Header=\$ac_header_preproc"
32736 fi
32737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32739
32740 fi
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h <<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32744 _ACEOF
32745
32746 fi
32747
32748 done
32749
32750
32751 for ac_header in X11/XKBlib.h
32752 do
32753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32754 echo "$as_me:$LINENO: checking for $ac_header" >&5
32755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32758 else
32759 cat >conftest.$ac_ext <<_ACEOF
32760 /* confdefs.h. */
32761 _ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32765
32766 #if HAVE_X11_XLIB_H
32767 #include <X11/Xlib.h>
32768 #endif
32769
32770
32771 #include <$ac_header>
32772 _ACEOF
32773 rm -f conftest.$ac_objext
32774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32775 (eval $ac_compile) 2>conftest.er1
32776 ac_status=$?
32777 grep -v '^ *+' conftest.er1 >conftest.err
32778 rm -f conftest.er1
32779 cat conftest.err >&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); } &&
32782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784 (eval $ac_try) 2>&5
32785 ac_status=$?
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); }; } &&
32788 { ac_try='test -s conftest.$ac_objext'
32789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32790 (eval $ac_try) 2>&5
32791 ac_status=$?
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); }; }; then
32794 eval "$as_ac_Header=yes"
32795 else
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.$ac_ext >&5
32798
32799 eval "$as_ac_Header=no"
32800 fi
32801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32802 fi
32803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32806 cat >>confdefs.h <<_ACEOF
32807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32808 _ACEOF
32809
32810 fi
32811
32812 done
32813
32814 fi
32815 fi
32816
32817
32818
32819 IODBC_C_SRC=""
32820
32821
32822 if test "$TOOLKIT" != "MSW" ; then
32823
32824 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32825
32826 if test "${ac_cv_header_sql_h+set}" = set; then
32827 echo "$as_me:$LINENO: checking for sql.h" >&5
32828 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32829 if test "${ac_cv_header_sql_h+set}" = set; then
32830 echo $ECHO_N "(cached) $ECHO_C" >&6
32831 fi
32832 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32833 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32834 else
32835 # Is the header compilable?
32836 echo "$as_me:$LINENO: checking sql.h usability" >&5
32837 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h. */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32844 $ac_includes_default
32845 #include <sql.h>
32846 _ACEOF
32847 rm -f conftest.$ac_objext
32848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32849 (eval $ac_compile) 2>conftest.er1
32850 ac_status=$?
32851 grep -v '^ *+' conftest.er1 >conftest.err
32852 rm -f conftest.er1
32853 cat conftest.err >&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); } &&
32856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32859 ac_status=$?
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; } &&
32862 { ac_try='test -s conftest.$ac_objext'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32865 ac_status=$?
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; }; then
32868 ac_header_compiler=yes
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 ac_header_compiler=no
32874 fi
32875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32877 echo "${ECHO_T}$ac_header_compiler" >&6
32878
32879 # Is the header present?
32880 echo "$as_me:$LINENO: checking sql.h presence" >&5
32881 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32882 cat >conftest.$ac_ext <<_ACEOF
32883 /* confdefs.h. */
32884 _ACEOF
32885 cat confdefs.h >>conftest.$ac_ext
32886 cat >>conftest.$ac_ext <<_ACEOF
32887 /* end confdefs.h. */
32888 #include <sql.h>
32889 _ACEOF
32890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32892 ac_status=$?
32893 grep -v '^ *+' conftest.er1 >conftest.err
32894 rm -f conftest.er1
32895 cat conftest.err >&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); } >/dev/null; then
32898 if test -s conftest.err; then
32899 ac_cpp_err=$ac_c_preproc_warn_flag
32900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32901 else
32902 ac_cpp_err=
32903 fi
32904 else
32905 ac_cpp_err=yes
32906 fi
32907 if test -z "$ac_cpp_err"; then
32908 ac_header_preproc=yes
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32912
32913 ac_header_preproc=no
32914 fi
32915 rm -f conftest.err conftest.$ac_ext
32916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32917 echo "${ECHO_T}$ac_header_preproc" >&6
32918
32919 # So? What about this header?
32920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32921 yes:no: )
32922 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32923 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32924 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32925 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32926 ac_header_preproc=yes
32927 ;;
32928 no:yes:* )
32929 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32930 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32931 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32932 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32933 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32934 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32935 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32936 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32937 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32938 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32939 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32940 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32941 (
32942 cat <<\_ASBOX
32943 ## ----------------------------------------- ##
32944 ## Report this to wx-dev@lists.wxwidgets.org ##
32945 ## ----------------------------------------- ##
32946 _ASBOX
32947 ) |
32948 sed "s/^/$as_me: WARNING: /" >&2
32949 ;;
32950 esac
32951 echo "$as_me:$LINENO: checking for sql.h" >&5
32952 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32953 if test "${ac_cv_header_sql_h+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956 ac_cv_header_sql_h=$ac_header_preproc
32957 fi
32958 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32959 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32960
32961 fi
32962 if test $ac_cv_header_sql_h = yes; then
32963 found_sql_h=1
32964 fi
32965
32966
32967 if test "x$found_sql_h" = "x1" ; then
32968 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32969 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32970 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32971 echo $ECHO_N "(cached) $ECHO_C" >&6
32972 else
32973 ac_check_lib_save_LIBS=$LIBS
32974 LIBS="-liodbc $LIBS"
32975 cat >conftest.$ac_ext <<_ACEOF
32976 /* confdefs.h. */
32977 _ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h. */
32981
32982 /* Override any gcc2 internal prototype to avoid an error. */
32983 #ifdef __cplusplus
32984 extern "C"
32985 #endif
32986 /* We use char because int might match the return type of a gcc2
32987 builtin and then its argument prototype would still apply. */
32988 char SQLAllocEnv ();
32989 int
32990 main ()
32991 {
32992 SQLAllocEnv ();
32993 ;
32994 return 0;
32995 }
32996 _ACEOF
32997 rm -f conftest.$ac_objext conftest$ac_exeext
32998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32999 (eval $ac_link) 2>conftest.er1
33000 ac_status=$?
33001 grep -v '^ *+' conftest.er1 >conftest.err
33002 rm -f conftest.er1
33003 cat conftest.err >&5
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); } &&
33006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33009 ac_status=$?
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; } &&
33012 { ac_try='test -s conftest$ac_exeext'
33013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014 (eval $ac_try) 2>&5
33015 ac_status=$?
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); }; }; then
33018 ac_cv_lib_iodbc_SQLAllocEnv=yes
33019 else
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33022
33023 ac_cv_lib_iodbc_SQLAllocEnv=no
33024 fi
33025 rm -f conftest.err conftest.$ac_objext \
33026 conftest$ac_exeext conftest.$ac_ext
33027 LIBS=$ac_check_lib_save_LIBS
33028 fi
33029 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33030 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33031 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33032 ODBC_LINK=" -liodbc"
33033 else
33034
33035 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33036 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33037 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33038 echo $ECHO_N "(cached) $ECHO_C" >&6
33039 else
33040 ac_check_lib_save_LIBS=$LIBS
33041 LIBS="-lunixodbc $LIBS"
33042 cat >conftest.$ac_ext <<_ACEOF
33043 /* confdefs.h. */
33044 _ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048
33049 /* Override any gcc2 internal prototype to avoid an error. */
33050 #ifdef __cplusplus
33051 extern "C"
33052 #endif
33053 /* We use char because int might match the return type of a gcc2
33054 builtin and then its argument prototype would still apply. */
33055 char SQLAllocEnv ();
33056 int
33057 main ()
33058 {
33059 SQLAllocEnv ();
33060 ;
33061 return 0;
33062 }
33063 _ACEOF
33064 rm -f conftest.$ac_objext conftest$ac_exeext
33065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33066 (eval $ac_link) 2>conftest.er1
33067 ac_status=$?
33068 grep -v '^ *+' conftest.er1 >conftest.err
33069 rm -f conftest.er1
33070 cat conftest.err >&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); } &&
33073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33076 ac_status=$?
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; } &&
33079 { ac_try='test -s conftest$ac_exeext'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33082 ac_status=$?
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; }; then
33085 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33086 else
33087 echo "$as_me: failed program was:" >&5
33088 sed 's/^/| /' conftest.$ac_ext >&5
33089
33090 ac_cv_lib_unixodbc_SQLAllocEnv=no
33091 fi
33092 rm -f conftest.err conftest.$ac_objext \
33093 conftest$ac_exeext conftest.$ac_ext
33094 LIBS=$ac_check_lib_save_LIBS
33095 fi
33096 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33097 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33098 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33099 ODBC_LINK=" -lunixodbc"
33100 else
33101
33102 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33103 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33104 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33105 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 else
33107 ac_check_lib_save_LIBS=$LIBS
33108 LIBS="-lodbc $LIBS"
33109 cat >conftest.$ac_ext <<_ACEOF
33110 /* confdefs.h. */
33111 _ACEOF
33112 cat confdefs.h >>conftest.$ac_ext
33113 cat >>conftest.$ac_ext <<_ACEOF
33114 /* end confdefs.h. */
33115
33116 /* Override any gcc2 internal prototype to avoid an error. */
33117 #ifdef __cplusplus
33118 extern "C"
33119 #endif
33120 /* We use char because int might match the return type of a gcc2
33121 builtin and then its argument prototype would still apply. */
33122 char SQLAllocEnv ();
33123 int
33124 main ()
33125 {
33126 SQLAllocEnv ();
33127 ;
33128 return 0;
33129 }
33130 _ACEOF
33131 rm -f conftest.$ac_objext conftest$ac_exeext
33132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33133 (eval $ac_link) 2>conftest.er1
33134 ac_status=$?
33135 grep -v '^ *+' conftest.er1 >conftest.err
33136 rm -f conftest.er1
33137 cat conftest.err >&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); } &&
33140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33143 ac_status=$?
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; } &&
33146 { ac_try='test -s conftest$ac_exeext'
33147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33148 (eval $ac_try) 2>&5
33149 ac_status=$?
33150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33151 (exit $ac_status); }; }; then
33152 ac_cv_lib_odbc_SQLAllocEnv=yes
33153 else
33154 echo "$as_me: failed program was:" >&5
33155 sed 's/^/| /' conftest.$ac_ext >&5
33156
33157 ac_cv_lib_odbc_SQLAllocEnv=no
33158 fi
33159 rm -f conftest.err conftest.$ac_objext \
33160 conftest$ac_exeext conftest.$ac_ext
33161 LIBS=$ac_check_lib_save_LIBS
33162 fi
33163 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33164 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33165 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33166 ODBC_LINK=" -lodbc"
33167 fi
33168
33169
33170 fi
33171
33172
33173 fi
33174
33175 fi
33176 if test "x$ODBC_LINK" = "x" ; then
33177 if test "$wxUSE_ODBC" = "sys" ; then
33178 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33179 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33180 { (exit 1); exit 1; }; }
33181 else
33182 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33183 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33184 wxUSE_ODBC=builtin
33185 fi
33186 else
33187 wxUSE_ODBC=sys
33188 fi
33189 fi
33190
33191 if test "$wxUSE_ODBC" = "builtin" ; then
33192 cat >>confdefs.h <<\_ACEOF
33193 #define wxUSE_BUILTIN_IODBC 1
33194 _ACEOF
33195
33196 fi
33197 fi
33198
33199 if test "$wxUSE_ODBC" != "no" ; then
33200 cat >>confdefs.h <<\_ACEOF
33201 #define wxUSE_ODBC 1
33202 _ACEOF
33203
33204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33205
33206 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33207 fi
33208
33209
33210 if test "$wxUSE_DISPLAY" = "yes"; then
33211 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33212 echo "$as_me:$LINENO: checking for Xinerama" >&5
33213 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33214
33215 ac_find_libraries=
33216 for ac_dir in $SEARCH_LIB;
33217 do
33218 for ac_extension in a so sl dylib dll.a; do
33219 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33220 ac_find_libraries=$ac_dir
33221 break 2
33222 fi
33223 done
33224 done
33225
33226 if test "$ac_find_libraries" != "" ; then
33227
33228 if test "$ac_find_libraries" = "default location"; then
33229 ac_path_to_link=""
33230 else
33231 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33232 result=$?
33233 if test $result = 0; then
33234 ac_path_to_link=""
33235 else
33236 ac_path_to_link=" -L$ac_find_libraries"
33237 fi
33238 fi
33239
33240 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33241 LDFLAGS="$LDFLAGS $ac_path_to_link"
33242 fi
33243 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33244 echo "$as_me:$LINENO: result: yes" >&5
33245 echo "${ECHO_T}yes" >&6
33246
33247 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33248 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33249
33250 ac_find_libraries=
33251 for ac_dir in $SEARCH_LIB;
33252 do
33253 for ac_extension in a so sl dylib dll.a; do
33254 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33255 ac_find_libraries=$ac_dir
33256 break 2
33257 fi
33258 done
33259 done
33260
33261 if test "$ac_find_libraries" != "" ; then
33262 echo "$as_me:$LINENO: result: yes" >&5
33263 echo "${ECHO_T}yes" >&6
33264
33265 for ac_header in X11/extensions/xf86vmode.h
33266 do
33267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33268 echo "$as_me:$LINENO: checking for $ac_header" >&5
33269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33271 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 else
33273 cat >conftest.$ac_ext <<_ACEOF
33274 /* confdefs.h. */
33275 _ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
33278 /* end confdefs.h. */
33279
33280 #if HAVE_X11_XLIB_H
33281 #include <X11/Xlib.h>
33282 #endif
33283
33284
33285 #include <$ac_header>
33286 _ACEOF
33287 rm -f conftest.$ac_objext
33288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33289 (eval $ac_compile) 2>conftest.er1
33290 ac_status=$?
33291 grep -v '^ *+' conftest.er1 >conftest.err
33292 rm -f conftest.er1
33293 cat conftest.err >&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); } &&
33296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33299 ac_status=$?
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; } &&
33302 { ac_try='test -s conftest.$ac_objext'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; }; then
33308 eval "$as_ac_Header=yes"
33309 else
33310 echo "$as_me: failed program was:" >&5
33311 sed 's/^/| /' conftest.$ac_ext >&5
33312
33313 eval "$as_ac_Header=no"
33314 fi
33315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33316 fi
33317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33320 cat >>confdefs.h <<_ACEOF
33321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33322 _ACEOF
33323
33324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33325
33326 fi
33327
33328 done
33329
33330 else
33331 echo "$as_me:$LINENO: result: no" >&5
33332 echo "${ECHO_T}no" >&6
33333 fi
33334
33335 else
33336 echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6
33338 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33339 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33340 wxUSE_DISPLAY="no"
33341 fi
33342 elif test "$wxUSE_MSW" = 1; then
33343
33344 for ac_header in ddraw.h
33345 do
33346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33347 echo "$as_me:$LINENO: checking for $ac_header" >&5
33348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33350 echo $ECHO_N "(cached) $ECHO_C" >&6
33351 else
33352 cat >conftest.$ac_ext <<_ACEOF
33353 /* confdefs.h. */
33354 _ACEOF
33355 cat confdefs.h >>conftest.$ac_ext
33356 cat >>conftest.$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33358 #include <windows.h>
33359
33360 #include <$ac_header>
33361 _ACEOF
33362 rm -f conftest.$ac_objext
33363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33364 (eval $ac_compile) 2>conftest.er1
33365 ac_status=$?
33366 grep -v '^ *+' conftest.er1 >conftest.err
33367 rm -f conftest.er1
33368 cat conftest.err >&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); } &&
33371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; } &&
33377 { ac_try='test -s conftest.$ac_objext'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; }; then
33383 eval "$as_ac_Header=yes"
33384 else
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33387
33388 eval "$as_ac_Header=no"
33389 fi
33390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33391 fi
33392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33395 cat >>confdefs.h <<_ACEOF
33396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33397 _ACEOF
33398
33399 fi
33400
33401 done
33402
33403 fi
33404 fi
33405
33406 if test "$wxUSE_DETECT_SM" = "yes"; then
33407 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33408 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33409 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33410
33411 ac_find_libraries=
33412 for ac_dir in $SEARCH_LIB;
33413 do
33414 for ac_extension in a so sl dylib dll.a; do
33415 if test -f "$ac_dir/libSM.$ac_extension"; then
33416 ac_find_libraries=$ac_dir
33417 break 2
33418 fi
33419 done
33420 done
33421
33422 if test "$ac_find_libraries" != "" ; then
33423
33424 if test "$ac_find_libraries" = "default location"; then
33425 ac_path_to_link=""
33426 else
33427 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33428 result=$?
33429 if test $result = 0; then
33430 ac_path_to_link=""
33431 else
33432 ac_path_to_link=" -L$ac_find_libraries"
33433 fi
33434 fi
33435
33436 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33437 LDFLAGS="$LDFLAGS $ac_path_to_link"
33438 fi
33439 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33440 echo "$as_me:$LINENO: result: yes" >&5
33441 echo "${ECHO_T}yes" >&6
33442 else
33443 echo "$as_me:$LINENO: result: no" >&5
33444 echo "${ECHO_T}no" >&6
33445 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33446 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33447 wxUSE_DETECT_SM="no"
33448 fi
33449 else
33450 wxUSE_DETECT_SM="no"
33451 fi
33452 fi
33453
33454
33455
33456 USE_OPENGL=0
33457 if test "$wxUSE_OPENGL" = "yes"; then
33458 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33459 OPENGL_LIBS="-framework OpenGL -framework AGL"
33460 elif test "$wxUSE_MSW" = 1; then
33461 OPENGL_LIBS="-lopengl32 -lglu32"
33462 else
33463 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33464 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33465
33466 ac_find_includes=
33467 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33468 do
33469 if test -f "$ac_dir/GL/gl.h"; then
33470 ac_find_includes=$ac_dir
33471 break
33472 fi
33473 done
33474
33475 if test "$ac_find_includes" != "" ; then
33476 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33477 echo "${ECHO_T}found in $ac_find_includes" >&6
33478
33479 if test "x$ac_find_includes" = "x/usr/include"; then
33480 ac_path_to_include=""
33481 else
33482 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33483 result=$?
33484 if test $result = 0; then
33485 ac_path_to_include=""
33486 else
33487 ac_path_to_include=" -I$ac_find_includes"
33488 fi
33489 fi
33490
33491 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33492 else
33493 echo "$as_me:$LINENO: result: not found" >&5
33494 echo "${ECHO_T}not found" >&6
33495 fi
33496
33497 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33498 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33499 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33500 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33501 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 fi
33503 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33504 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33505 else
33506 # Is the header compilable?
33507 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33508 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 $ac_includes_default
33516 #include <GL/gl.h>
33517 _ACEOF
33518 rm -f conftest.$ac_objext
33519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33520 (eval $ac_compile) 2>conftest.er1
33521 ac_status=$?
33522 grep -v '^ *+' conftest.er1 >conftest.err
33523 rm -f conftest.er1
33524 cat conftest.err >&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } &&
33527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33529 (eval $ac_try) 2>&5
33530 ac_status=$?
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); }; } &&
33533 { ac_try='test -s conftest.$ac_objext'
33534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33535 (eval $ac_try) 2>&5
33536 ac_status=$?
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); }; }; then
33539 ac_header_compiler=yes
33540 else
33541 echo "$as_me: failed program was:" >&5
33542 sed 's/^/| /' conftest.$ac_ext >&5
33543
33544 ac_header_compiler=no
33545 fi
33546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33548 echo "${ECHO_T}$ac_header_compiler" >&6
33549
33550 # Is the header present?
33551 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33552 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33553 cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h. */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559 #include <GL/gl.h>
33560 _ACEOF
33561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } >/dev/null; then
33569 if test -s conftest.err; then
33570 ac_cpp_err=$ac_c_preproc_warn_flag
33571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33572 else
33573 ac_cpp_err=
33574 fi
33575 else
33576 ac_cpp_err=yes
33577 fi
33578 if test -z "$ac_cpp_err"; then
33579 ac_header_preproc=yes
33580 else
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33583
33584 ac_header_preproc=no
33585 fi
33586 rm -f conftest.err conftest.$ac_ext
33587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33588 echo "${ECHO_T}$ac_header_preproc" >&6
33589
33590 # So? What about this header?
33591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33592 yes:no: )
33593 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33594 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33595 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33596 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33597 ac_header_preproc=yes
33598 ;;
33599 no:yes:* )
33600 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33601 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33602 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33603 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33604 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33605 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33606 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33607 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33608 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33609 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33610 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33611 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33612 (
33613 cat <<\_ASBOX
33614 ## ----------------------------------------- ##
33615 ## Report this to wx-dev@lists.wxwidgets.org ##
33616 ## ----------------------------------------- ##
33617 _ASBOX
33618 ) |
33619 sed "s/^/$as_me: WARNING: /" >&2
33620 ;;
33621 esac
33622 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33623 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33624 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33626 else
33627 ac_cv_header_GL_gl_h=$ac_header_preproc
33628 fi
33629 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33630 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33631
33632 fi
33633 if test $ac_cv_header_GL_gl_h = yes; then
33634
33635 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33636 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33637 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33638 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 fi
33641 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33642 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33643 else
33644 # Is the header compilable?
33645 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33646 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33647 cat >conftest.$ac_ext <<_ACEOF
33648 /* confdefs.h. */
33649 _ACEOF
33650 cat confdefs.h >>conftest.$ac_ext
33651 cat >>conftest.$ac_ext <<_ACEOF
33652 /* end confdefs.h. */
33653 $ac_includes_default
33654 #include <GL/glu.h>
33655 _ACEOF
33656 rm -f conftest.$ac_objext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33658 (eval $ac_compile) 2>conftest.er1
33659 ac_status=$?
33660 grep -v '^ *+' conftest.er1 >conftest.err
33661 rm -f conftest.er1
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33668 ac_status=$?
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; } &&
33671 { ac_try='test -s conftest.$ac_objext'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; }; then
33677 ac_header_compiler=yes
33678 else
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33681
33682 ac_header_compiler=no
33683 fi
33684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33686 echo "${ECHO_T}$ac_header_compiler" >&6
33687
33688 # Is the header present?
33689 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33690 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33691 cat >conftest.$ac_ext <<_ACEOF
33692 /* confdefs.h. */
33693 _ACEOF
33694 cat confdefs.h >>conftest.$ac_ext
33695 cat >>conftest.$ac_ext <<_ACEOF
33696 /* end confdefs.h. */
33697 #include <GL/glu.h>
33698 _ACEOF
33699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33701 ac_status=$?
33702 grep -v '^ *+' conftest.er1 >conftest.err
33703 rm -f conftest.er1
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } >/dev/null; then
33707 if test -s conftest.err; then
33708 ac_cpp_err=$ac_c_preproc_warn_flag
33709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33710 else
33711 ac_cpp_err=
33712 fi
33713 else
33714 ac_cpp_err=yes
33715 fi
33716 if test -z "$ac_cpp_err"; then
33717 ac_header_preproc=yes
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722 ac_header_preproc=no
33723 fi
33724 rm -f conftest.err conftest.$ac_ext
33725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33726 echo "${ECHO_T}$ac_header_preproc" >&6
33727
33728 # So? What about this header?
33729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33730 yes:no: )
33731 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33732 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33733 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33734 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33735 ac_header_preproc=yes
33736 ;;
33737 no:yes:* )
33738 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33739 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33740 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33741 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33742 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33743 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33744 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33745 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33746 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33747 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33748 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33749 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33750 (
33751 cat <<\_ASBOX
33752 ## ----------------------------------------- ##
33753 ## Report this to wx-dev@lists.wxwidgets.org ##
33754 ## ----------------------------------------- ##
33755 _ASBOX
33756 ) |
33757 sed "s/^/$as_me: WARNING: /" >&2
33758 ;;
33759 esac
33760 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33761 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33762 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 ac_cv_header_GL_glu_h=$ac_header_preproc
33766 fi
33767 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33768 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33769
33770 fi
33771 if test $ac_cv_header_GL_glu_h = yes; then
33772
33773 found_gl=0
33774
33775 echo "$as_me:$LINENO: checking for -lGL" >&5
33776 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33777
33778 ac_find_libraries=
33779 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33780 do
33781 for ac_extension in a so sl dylib dll.a; do
33782 if test -f "$ac_dir/libGL.$ac_extension"; then
33783 ac_find_libraries=$ac_dir
33784 break 2
33785 fi
33786 done
33787 done
33788
33789 if test "$ac_find_libraries" != "" ; then
33790 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33791 echo "${ECHO_T}found in $ac_find_libraries" >&6
33792
33793
33794 if test "$ac_find_libraries" = "default location"; then
33795 ac_path_to_link=""
33796 else
33797 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33798 result=$?
33799 if test $result = 0; then
33800 ac_path_to_link=""
33801 else
33802 ac_path_to_link=" -L$ac_find_libraries"
33803 fi
33804 fi
33805
33806 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33807 LDFLAGS_GL="$ac_path_to_link"
33808 fi
33809
33810 echo "$as_me:$LINENO: checking for -lGLU" >&5
33811 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33812
33813 ac_find_libraries=
33814 for ac_dir in $SEARCH_LIB;
33815 do
33816 for ac_extension in a so sl dylib dll.a; do
33817 if test -f "$ac_dir/libGLU.$ac_extension"; then
33818 ac_find_libraries=$ac_dir
33819 break 2
33820 fi
33821 done
33822 done
33823
33824 if test "$ac_find_libraries" != "" ; then
33825
33826 if test "$ac_find_libraries" = "default location"; then
33827 ac_path_to_link=""
33828 else
33829 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33830 result=$?
33831 if test $result = 0; then
33832 ac_path_to_link=""
33833 else
33834 ac_path_to_link=" -L$ac_find_libraries"
33835 fi
33836 fi
33837
33838 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33839 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33840 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33841 fi
33842
33843 found_gl=1
33844 OPENGL_LIBS="-lGL -lGLU"
33845 echo "$as_me:$LINENO: result: yes" >&5
33846 echo "${ECHO_T}yes" >&6
33847 else
33848 echo "$as_me:$LINENO: result: no" >&5
33849 echo "${ECHO_T}no" >&6
33850 fi
33851 else
33852 echo "$as_me:$LINENO: result: no" >&5
33853 echo "${ECHO_T}no" >&6
33854 fi
33855
33856 if test "$found_gl" != 1; then
33857 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33858 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33859
33860 ac_find_libraries=
33861 for ac_dir in $SEARCH_LIB;
33862 do
33863 for ac_extension in a so sl dylib dll.a; do
33864 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33865 ac_find_libraries=$ac_dir
33866 break 2
33867 fi
33868 done
33869 done
33870
33871 if test "$ac_find_libraries" != "" ; then
33872
33873 if test "$ac_find_libraries" = "default location"; then
33874 ac_path_to_link=""
33875 else
33876 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33877 result=$?
33878 if test $result = 0; then
33879 ac_path_to_link=""
33880 else
33881 ac_path_to_link=" -L$ac_find_libraries"
33882 fi
33883 fi
33884
33885 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33886 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33887 echo "$as_me:$LINENO: result: yes" >&5
33888 echo "${ECHO_T}yes" >&6
33889 else
33890 echo "$as_me:$LINENO: result: no" >&5
33891 echo "${ECHO_T}no" >&6
33892 fi
33893 fi
33894
33895 fi
33896
33897
33898
33899 fi
33900
33901
33902
33903 if test "x$OPENGL_LIBS" = "x"; then
33904 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33905 echo "$as_me: error: OpenGL libraries not available" >&2;}
33906 { (exit 1); exit 1; }; }
33907 fi
33908 fi
33909
33910 if test "$wxUSE_OPENGL" = "yes"; then
33911 USE_OPENGL=1
33912 cat >>confdefs.h <<\_ACEOF
33913 #define wxUSE_OPENGL 1
33914 _ACEOF
33915
33916 cat >>confdefs.h <<\_ACEOF
33917 #define wxUSE_GLCANVAS 1
33918 _ACEOF
33919
33920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33921 fi
33922 fi
33923
33924
33925 if test -n "$TOOLKIT" ; then
33926 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33927 fi
33928
33929
33930
33931 if test "$wxUSE_SHARED" = "yes"; then
33932 case "${host}" in
33933 *-pc-msdosdjgpp )
33934 wxUSE_SHARED=no
33935 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33936 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33937 ;;
33938 esac
33939 fi
33940
33941 if test "$wxUSE_SHARED" = "yes"; then
33942
33943
33944 case "${host}" in
33945 *-*-cygwin* | *-*-mingw* )
33946 wx_cv_version_script=no
33947 ;;
33948
33949 *)
33950 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33951 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33952 if test "${wx_cv_version_script+set}" = set; then
33953 echo $ECHO_N "(cached) $ECHO_C" >&6
33954 else
33955
33956 echo "VER_1 { *; };" >conftest.sym
33957 echo "int main() { return 0; }" >conftest.cpp
33958
33959 if { ac_try='
33960 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33961 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33963 (eval $ac_try) 2>&5
33964 ac_status=$?
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; } ; then
33967 if test -s conftest.stderr ; then
33968 wx_cv_version_script=no
33969 else
33970 wx_cv_version_script=yes
33971 fi
33972 else
33973 wx_cv_version_script=no
33974 fi
33975
33976 if test $wx_cv_version_script = yes
33977 then
33978 echo "struct B { virtual ~B() { } }; \
33979 struct D : public B { }; \
33980 void F() { D d; }" > conftest.cpp
33981
33982 if { ac_try='
33983 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33984 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try='
33991 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33992 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994 (eval $ac_try) 2>&5
33995 ac_status=$?
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); }; }
33998 then
33999 if { ac_try='
34000 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34001 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34004 ac_status=$?
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }
34007 then
34008 wx_cv_version_script=yes
34009 else
34010 wx_cv_version_script=no
34011 fi
34012 fi
34013 fi
34014
34015 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34016 rm -f conftest1.output conftest2.output conftest3.output
34017
34018 fi
34019 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34020 echo "${ECHO_T}$wx_cv_version_script" >&6
34021
34022 if test $wx_cv_version_script = yes ; then
34023 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34024 fi
34025 ;;
34026 esac
34027
34028
34029 case "${host}" in
34030 *-*-linux* | *-*-gnu* )
34031 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34032 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34033 ;;
34034
34035 *-*-solaris2* )
34036 if test "$GCC" = yes ; then
34037 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34038
34039 saveLdflags="$LDFLAGS"
34040 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34041 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34042 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34043 cat >conftest.$ac_ext <<_ACEOF
34044 /* confdefs.h. */
34045 _ACEOF
34046 cat confdefs.h >>conftest.$ac_ext
34047 cat >>conftest.$ac_ext <<_ACEOF
34048 /* end confdefs.h. */
34049
34050 int
34051 main ()
34052 {
34053
34054 ;
34055 return 0;
34056 }
34057 _ACEOF
34058 rm -f conftest.$ac_objext conftest$ac_exeext
34059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34060 (eval $ac_link) 2>conftest.er1
34061 ac_status=$?
34062 grep -v '^ *+' conftest.er1 >conftest.err
34063 rm -f conftest.er1
34064 cat conftest.err >&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); } &&
34067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34069 (eval $ac_try) 2>&5
34070 ac_status=$?
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); }; } &&
34073 { ac_try='test -s conftest$ac_exeext'
34074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34075 (eval $ac_try) 2>&5
34076 ac_status=$?
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); }; }; then
34079
34080 echo "$as_me:$LINENO: result: yes" >&5
34081 echo "${ECHO_T}yes" >&6
34082 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34083 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34084
34085 else
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34088
34089
34090 echo "$as_me:$LINENO: result: no" >&5
34091 echo "${ECHO_T}no" >&6
34092 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34093 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34094 LDFLAGS="$saveLdflags -Wl,-R,/"
34095 cat >conftest.$ac_ext <<_ACEOF
34096 /* confdefs.h. */
34097 _ACEOF
34098 cat confdefs.h >>conftest.$ac_ext
34099 cat >>conftest.$ac_ext <<_ACEOF
34100 /* end confdefs.h. */
34101
34102 int
34103 main ()
34104 {
34105
34106 ;
34107 return 0;
34108 }
34109 _ACEOF
34110 rm -f conftest.$ac_objext conftest$ac_exeext
34111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34112 (eval $ac_link) 2>conftest.er1
34113 ac_status=$?
34114 grep -v '^ *+' conftest.er1 >conftest.err
34115 rm -f conftest.er1
34116 cat conftest.err >&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } &&
34119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try='test -s conftest$ac_exeext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131
34132 echo "$as_me:$LINENO: result: yes" >&5
34133 echo "${ECHO_T}yes" >&6
34134 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34135 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34136
34137 else
34138 echo "$as_me: failed program was:" >&5
34139 sed 's/^/| /' conftest.$ac_ext >&5
34140
34141
34142 echo "$as_me:$LINENO: result: no" >&5
34143 echo "${ECHO_T}no" >&6
34144
34145 fi
34146 rm -f conftest.err conftest.$ac_objext \
34147 conftest$ac_exeext conftest.$ac_ext
34148
34149 fi
34150 rm -f conftest.err conftest.$ac_objext \
34151 conftest$ac_exeext conftest.$ac_ext
34152 LDFLAGS="$saveLdflags"
34153 else
34154 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34155 WXCONFIG_RPATH="-R\$libdir"
34156 fi
34157 ;;
34158
34159 *-*-darwin* )
34160 install_name_tool=`which install_name_tool`
34161 if test "$install_name_tool" -a -x "$install_name_tool"; then
34162 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34163 cat <<EOF >change-install-names
34164 #!/bin/sh
34165 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34166 inst_cmd="install_name_tool "
34167 for i in \${libnames} ; do
34168 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34169 done
34170 \${inst_cmd} \${3}
34171 EOF
34172 chmod +x change-install-names
34173 fi
34174 ;;
34175
34176 *-*-cygwin* | *-*-mingw32* )
34177 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34178 ;;
34179
34180 *-*-hpux* )
34181 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34182 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34183 ;;
34184
34185 esac
34186
34187 if test $wxUSE_RPATH = "no"; then
34188 SAMPLES_RPATH_FLAG=''
34189 SAMPLES_RPATH_POSTLINK=''
34190 WXCONFIG_RPATH=''
34191 fi
34192
34193 SHARED=1
34194
34195 else
34196
34197 config_linkage_component="-static"
34198 SHARED=0
34199
34200 fi
34201
34202
34203 UNICODE=0
34204 lib_unicode_suffix=
34205 WX_CHARTYPE="ansi"
34206 if test "$wxUSE_UNICODE" = "yes"; then
34207 lib_unicode_suffix=u
34208 WX_CHARTYPE="unicode"
34209 UNICODE=1
34210 fi
34211
34212 lib_debug_suffix=
34213 WX_DEBUGTYPE="release"
34214 DEBUG_FLAG=0
34215 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34216 lib_debug_suffix=d
34217 WX_DEBUGTYPE="debug"
34218 DEBUG_FLAG=1
34219 fi
34220
34221 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34222 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34223
34224 DEBUG_INFO=0
34225 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34226 DEBUG_INFO=1
34227 fi
34228
34229 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34230
34231 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34232
34233 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34234
34235 if test "$cross_compiling" = "yes"; then
34236 HOST_SUFFIX="-$host_alias"
34237 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34238 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34239 fi
34240
34241 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34242 if test "${TOOLKIT_DIR}" = "os2"; then
34243 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34244 else
34245 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34246 fi
34247
34248
34249
34250 if test "$wxUSE_COCOA" = 1; then
34251
34252
34253 ac_ext=c
34254 ac_cpp='$CPP $CPPFLAGS'
34255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34258
34259 ac_ext=m
34260
34261 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34262 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34263 cat >conftest.$ac_ext <<_ACEOF
34264 /* confdefs.h. */
34265 _ACEOF
34266 cat confdefs.h >>conftest.$ac_ext
34267 cat >>conftest.$ac_ext <<_ACEOF
34268 /* end confdefs.h. */
34269 #include <AppKit/NSEvent.h>
34270 #include <CoreFoundation/CoreFoundation.h>
34271
34272 int
34273 main ()
34274 {
34275
34276 ;
34277 return 0;
34278 }
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34282 (eval $ac_compile) 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } &&
34289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34292 ac_status=$?
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; } &&
34295 { ac_try='test -s conftest.$ac_objext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34298 ac_status=$?
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 echo "$as_me:$LINENO: result: no" >&5
34302 echo "${ECHO_T}no" >&6
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307 echo "$as_me:$LINENO: result: yes" >&5
34308 echo "${ECHO_T}yes" >&6
34309 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34310 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34311 cat >conftest.$ac_ext <<_ACEOF
34312 /* confdefs.h. */
34313 _ACEOF
34314 cat confdefs.h >>conftest.$ac_ext
34315 cat >>conftest.$ac_ext <<_ACEOF
34316 /* end confdefs.h. */
34317 #define __Point__ 1
34318 #include <AppKit/NSEvent.h>
34319 #include <CoreFoundation/CoreFoundation.h>
34320
34321 int
34322 main ()
34323 {
34324
34325 ;
34326 return 0;
34327 }
34328 _ACEOF
34329 rm -f conftest.$ac_objext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34331 (eval $ac_compile) 2>conftest.er1
34332 ac_status=$?
34333 grep -v '^ *+' conftest.er1 >conftest.err
34334 rm -f conftest.er1
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } &&
34338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34341 ac_status=$?
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; } &&
34344 { ac_try='test -s conftest.$ac_objext'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34347 ac_status=$?
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; }; then
34350 echo "$as_me:$LINENO: result: yes" >&5
34351 echo "${ECHO_T}yes" >&6
34352 cat >>confdefs.h <<\_ACEOF
34353 #define __Point__ 1
34354 _ACEOF
34355
34356
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361 { { echo "$as_me:$LINENO: error: no
34362 See \`config.log' for more details." >&5
34363 echo "$as_me: error: no
34364 See \`config.log' for more details." >&2;}
34365 { (exit 1); exit 1; }; }
34366
34367 fi
34368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34369
34370 fi
34371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34372 ac_ext=c
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34377
34378 fi
34379
34380 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34381 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34382 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34383
34384 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34385
34386 # Extract the first word of "Rez", so it can be a program name with args.
34387 set dummy Rez; ac_word=$2
34388 echo "$as_me:$LINENO: checking for $ac_word" >&5
34389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34390 if test "${ac_cv_prog_REZ+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34393 if test -n "$REZ"; then
34394 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34395 else
34396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34397 for as_dir in $PATH
34398 do
34399 IFS=$as_save_IFS
34400 test -z "$as_dir" && as_dir=.
34401 for ac_exec_ext in '' $ac_executable_extensions; do
34402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34403 ac_cv_prog_REZ="Rez"
34404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34405 break 2
34406 fi
34407 done
34408 done
34409
34410 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34411 fi
34412 fi
34413 REZ=$ac_cv_prog_REZ
34414 if test -n "$REZ"; then
34415 echo "$as_me:$LINENO: result: $REZ" >&5
34416 echo "${ECHO_T}$REZ" >&6
34417 else
34418 echo "$as_me:$LINENO: result: no" >&5
34419 echo "${ECHO_T}no" >&6
34420 fi
34421
34422 # Extract the first word of "DeRez", so it can be a program name with args.
34423 set dummy DeRez; ac_word=$2
34424 echo "$as_me:$LINENO: checking for $ac_word" >&5
34425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34426 if test "${ac_cv_prog_DEREZ+set}" = set; then
34427 echo $ECHO_N "(cached) $ECHO_C" >&6
34428 else
34429 if test -n "$DEREZ"; then
34430 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34431 else
34432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34433 for as_dir in $PATH
34434 do
34435 IFS=$as_save_IFS
34436 test -z "$as_dir" && as_dir=.
34437 for ac_exec_ext in '' $ac_executable_extensions; do
34438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34439 ac_cv_prog_DEREZ="DeRez"
34440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34441 break 2
34442 fi
34443 done
34444 done
34445
34446 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34447 fi
34448 fi
34449 DEREZ=$ac_cv_prog_DEREZ
34450 if test -n "$DEREZ"; then
34451 echo "$as_me:$LINENO: result: $DEREZ" >&5
34452 echo "${ECHO_T}$DEREZ" >&6
34453 else
34454 echo "$as_me:$LINENO: result: no" >&5
34455 echo "${ECHO_T}no" >&6
34456 fi
34457
34458 # Extract the first word of "SetFile", so it can be a program name with args.
34459 set dummy SetFile; ac_word=$2
34460 echo "$as_me:$LINENO: checking for $ac_word" >&5
34461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34462 if test "${ac_cv_prog_SETFILE+set}" = set; then
34463 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 else
34465 if test -n "$SETFILE"; then
34466 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34467 else
34468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34469 for as_dir in $PATH
34470 do
34471 IFS=$as_save_IFS
34472 test -z "$as_dir" && as_dir=.
34473 for ac_exec_ext in '' $ac_executable_extensions; do
34474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34475 ac_cv_prog_SETFILE="SetFile"
34476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34477 break 2
34478 fi
34479 done
34480 done
34481
34482 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34483 fi
34484 fi
34485 SETFILE=$ac_cv_prog_SETFILE
34486 if test -n "$SETFILE"; then
34487 echo "$as_me:$LINENO: result: $SETFILE" >&5
34488 echo "${ECHO_T}$SETFILE" >&6
34489 else
34490 echo "$as_me:$LINENO: result: no" >&5
34491 echo "${ECHO_T}no" >&6
34492 fi
34493
34494
34495 MACSETFILE="\$(SETFILE)"
34496
34497 if test "$wxUSE_MAC" = 1; then
34498 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34499 RESCOMP="$REZ"
34500 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34501 else
34502 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34503 RESCOMP="echo -n \| $REZ"
34504 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34505 fi
34506
34507 else
34508 MACSETFILE="@true"
34509
34510 if test "$wxUSE_PM" = 1; then
34511 RESCOMP="emxbind"
34512 WXCONFIG_RESFLAGS="-ep"
34513
34514 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34515 else
34516 POSTLINK_COMMAND="@true"
34517 fi
34518
34519 fi
34520
34521
34522
34523 echo "$as_me:$LINENO: checking for mode_t" >&5
34524 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34525 if test "${ac_cv_type_mode_t+set}" = set; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34527 else
34528 cat >conftest.$ac_ext <<_ACEOF
34529 /* confdefs.h. */
34530 _ACEOF
34531 cat confdefs.h >>conftest.$ac_ext
34532 cat >>conftest.$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534 $ac_includes_default
34535 int
34536 main ()
34537 {
34538 if ((mode_t *) 0)
34539 return 0;
34540 if (sizeof (mode_t))
34541 return 0;
34542 ;
34543 return 0;
34544 }
34545 _ACEOF
34546 rm -f conftest.$ac_objext
34547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34548 (eval $ac_compile) 2>conftest.er1
34549 ac_status=$?
34550 grep -v '^ *+' conftest.er1 >conftest.err
34551 rm -f conftest.er1
34552 cat conftest.err >&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } &&
34555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34558 ac_status=$?
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; } &&
34561 { ac_try='test -s conftest.$ac_objext'
34562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34563 (eval $ac_try) 2>&5
34564 ac_status=$?
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); }; }; then
34567 ac_cv_type_mode_t=yes
34568 else
34569 echo "$as_me: failed program was:" >&5
34570 sed 's/^/| /' conftest.$ac_ext >&5
34571
34572 ac_cv_type_mode_t=no
34573 fi
34574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34575 fi
34576 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34577 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34578 if test $ac_cv_type_mode_t = yes; then
34579 :
34580 else
34581
34582 cat >>confdefs.h <<_ACEOF
34583 #define mode_t int
34584 _ACEOF
34585
34586 fi
34587
34588 echo "$as_me:$LINENO: checking for off_t" >&5
34589 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34590 if test "${ac_cv_type_off_t+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 $ac_includes_default
34600 int
34601 main ()
34602 {
34603 if ((off_t *) 0)
34604 return 0;
34605 if (sizeof (off_t))
34606 return 0;
34607 ;
34608 return 0;
34609 }
34610 _ACEOF
34611 rm -f conftest.$ac_objext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34613 (eval $ac_compile) 2>conftest.er1
34614 ac_status=$?
34615 grep -v '^ *+' conftest.er1 >conftest.err
34616 rm -f conftest.er1
34617 cat conftest.err >&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34623 ac_status=$?
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try='test -s conftest.$ac_objext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 ac_cv_type_off_t=yes
34633 else
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34636
34637 ac_cv_type_off_t=no
34638 fi
34639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34640 fi
34641 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34642 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34643 if test $ac_cv_type_off_t = yes; then
34644 :
34645 else
34646
34647 cat >>confdefs.h <<_ACEOF
34648 #define off_t long
34649 _ACEOF
34650
34651 fi
34652
34653 echo "$as_me:$LINENO: checking for pid_t" >&5
34654 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34655 if test "${ac_cv_type_pid_t+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 else
34658 cat >conftest.$ac_ext <<_ACEOF
34659 /* confdefs.h. */
34660 _ACEOF
34661 cat confdefs.h >>conftest.$ac_ext
34662 cat >>conftest.$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 $ac_includes_default
34665 int
34666 main ()
34667 {
34668 if ((pid_t *) 0)
34669 return 0;
34670 if (sizeof (pid_t))
34671 return 0;
34672 ;
34673 return 0;
34674 }
34675 _ACEOF
34676 rm -f conftest.$ac_objext
34677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34678 (eval $ac_compile) 2>conftest.er1
34679 ac_status=$?
34680 grep -v '^ *+' conftest.er1 >conftest.err
34681 rm -f conftest.er1
34682 cat conftest.err >&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); } &&
34685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34688 ac_status=$?
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; } &&
34691 { ac_try='test -s conftest.$ac_objext'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34694 ac_status=$?
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; }; then
34697 ac_cv_type_pid_t=yes
34698 else
34699 echo "$as_me: failed program was:" >&5
34700 sed 's/^/| /' conftest.$ac_ext >&5
34701
34702 ac_cv_type_pid_t=no
34703 fi
34704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34705 fi
34706 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34707 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34708 if test $ac_cv_type_pid_t = yes; then
34709 :
34710 else
34711
34712 cat >>confdefs.h <<_ACEOF
34713 #define pid_t int
34714 _ACEOF
34715
34716 fi
34717
34718 echo "$as_me:$LINENO: checking for size_t" >&5
34719 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34720 if test "${ac_cv_type_size_t+set}" = set; then
34721 echo $ECHO_N "(cached) $ECHO_C" >&6
34722 else
34723 cat >conftest.$ac_ext <<_ACEOF
34724 /* confdefs.h. */
34725 _ACEOF
34726 cat confdefs.h >>conftest.$ac_ext
34727 cat >>conftest.$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34729 $ac_includes_default
34730 int
34731 main ()
34732 {
34733 if ((size_t *) 0)
34734 return 0;
34735 if (sizeof (size_t))
34736 return 0;
34737 ;
34738 return 0;
34739 }
34740 _ACEOF
34741 rm -f conftest.$ac_objext
34742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34743 (eval $ac_compile) 2>conftest.er1
34744 ac_status=$?
34745 grep -v '^ *+' conftest.er1 >conftest.err
34746 rm -f conftest.er1
34747 cat conftest.err >&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } &&
34750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34752 (eval $ac_try) 2>&5
34753 ac_status=$?
34754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34755 (exit $ac_status); }; } &&
34756 { ac_try='test -s conftest.$ac_objext'
34757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34758 (eval $ac_try) 2>&5
34759 ac_status=$?
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); }; }; then
34762 ac_cv_type_size_t=yes
34763 else
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34766
34767 ac_cv_type_size_t=no
34768 fi
34769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34770 fi
34771 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34772 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34773 if test $ac_cv_type_size_t = yes; then
34774 :
34775 else
34776
34777 cat >>confdefs.h <<_ACEOF
34778 #define size_t unsigned
34779 _ACEOF
34780
34781 fi
34782
34783 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34784 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34785 if test "${ac_cv_type_uid_t+set}" = set; then
34786 echo $ECHO_N "(cached) $ECHO_C" >&6
34787 else
34788 cat >conftest.$ac_ext <<_ACEOF
34789 /* confdefs.h. */
34790 _ACEOF
34791 cat confdefs.h >>conftest.$ac_ext
34792 cat >>conftest.$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34794 #include <sys/types.h>
34795
34796 _ACEOF
34797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34798 $EGREP "uid_t" >/dev/null 2>&1; then
34799 ac_cv_type_uid_t=yes
34800 else
34801 ac_cv_type_uid_t=no
34802 fi
34803 rm -f conftest*
34804
34805 fi
34806 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34807 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34808 if test $ac_cv_type_uid_t = no; then
34809
34810 cat >>confdefs.h <<\_ACEOF
34811 #define uid_t int
34812 _ACEOF
34813
34814
34815 cat >>confdefs.h <<\_ACEOF
34816 #define gid_t int
34817 _ACEOF
34818
34819 fi
34820
34821
34822 echo "$as_me:$LINENO: checking for ssize_t" >&5
34823 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34824 if test "${ac_cv_type_ssize_t+set}" = set; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34826 else
34827 cat >conftest.$ac_ext <<_ACEOF
34828 /* confdefs.h. */
34829 _ACEOF
34830 cat confdefs.h >>conftest.$ac_ext
34831 cat >>conftest.$ac_ext <<_ACEOF
34832 /* end confdefs.h. */
34833 $ac_includes_default
34834 int
34835 main ()
34836 {
34837 if ((ssize_t *) 0)
34838 return 0;
34839 if (sizeof (ssize_t))
34840 return 0;
34841 ;
34842 return 0;
34843 }
34844 _ACEOF
34845 rm -f conftest.$ac_objext
34846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34847 (eval $ac_compile) 2>conftest.er1
34848 ac_status=$?
34849 grep -v '^ *+' conftest.er1 >conftest.err
34850 rm -f conftest.er1
34851 cat conftest.err >&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); } &&
34854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; } &&
34860 { ac_try='test -s conftest.$ac_objext'
34861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34862 (eval $ac_try) 2>&5
34863 ac_status=$?
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 ac_cv_type_ssize_t=yes
34867 else
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34870
34871 ac_cv_type_ssize_t=no
34872 fi
34873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34874 fi
34875 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34876 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34877 if test $ac_cv_type_ssize_t = yes; then
34878
34879 cat >>confdefs.h <<_ACEOF
34880 #define HAVE_SSIZE_T 1
34881 _ACEOF
34882
34883
34884 fi
34885
34886
34887 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34888 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34889 if test "${wx_cv_size_t_is_uint+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 else
34892
34893 cat >conftest.$ac_ext <<_ACEOF
34894 /* confdefs.h. */
34895 _ACEOF
34896 cat confdefs.h >>conftest.$ac_ext
34897 cat >>conftest.$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34899 #include <stddef.h>
34900 int
34901 main ()
34902 {
34903
34904 return 0; }
34905
34906 struct Foo { void foo(size_t); void foo(unsigned int); };
34907
34908 int bar() {
34909
34910 ;
34911 return 0;
34912 }
34913 _ACEOF
34914 rm -f conftest.$ac_objext
34915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34916 (eval $ac_compile) 2>conftest.er1
34917 ac_status=$?
34918 grep -v '^ *+' conftest.er1 >conftest.err
34919 rm -f conftest.er1
34920 cat conftest.err >&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } &&
34923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34926 ac_status=$?
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; } &&
34929 { ac_try='test -s conftest.$ac_objext'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34932 ac_status=$?
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }; then
34935 wx_cv_size_t_is_uint=no
34936 else
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34939
34940 wx_cv_size_t_is_uint=yes
34941
34942 fi
34943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34944
34945
34946 fi
34947 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34948 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34949
34950 if test "$wx_cv_size_t_is_uint" = "yes"; then
34951 cat >>confdefs.h <<\_ACEOF
34952 #define wxSIZE_T_IS_UINT 1
34953 _ACEOF
34954
34955 else
34956 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34957 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34958 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961 cat >conftest.$ac_ext <<_ACEOF
34962 /* confdefs.h. */
34963 _ACEOF
34964 cat confdefs.h >>conftest.$ac_ext
34965 cat >>conftest.$ac_ext <<_ACEOF
34966 /* end confdefs.h. */
34967 #include <stddef.h>
34968 int
34969 main ()
34970 {
34971
34972 return 0; }
34973
34974 struct Foo { void foo(size_t); void foo(unsigned long); };
34975
34976 int bar() {
34977
34978 ;
34979 return 0;
34980 }
34981 _ACEOF
34982 rm -f conftest.$ac_objext
34983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34984 (eval $ac_compile) 2>conftest.er1
34985 ac_status=$?
34986 grep -v '^ *+' conftest.er1 >conftest.err
34987 rm -f conftest.er1
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); } &&
34991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34993 (eval $ac_try) 2>&5
34994 ac_status=$?
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); }; } &&
34997 { ac_try='test -s conftest.$ac_objext'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35000 ac_status=$?
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; }; then
35003 wx_cv_size_t_is_ulong=no
35004 else
35005 echo "$as_me: failed program was:" >&5
35006 sed 's/^/| /' conftest.$ac_ext >&5
35007
35008 wx_cv_size_t_is_ulong=yes
35009
35010 fi
35011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35012
35013 fi
35014 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35015 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35016
35017 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35018 cat >>confdefs.h <<\_ACEOF
35019 #define wxSIZE_T_IS_ULONG 1
35020 _ACEOF
35021
35022 fi
35023 fi
35024
35025
35026 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35027 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35028 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35029 echo $ECHO_N "(cached) $ECHO_C" >&6
35030 else
35031
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 #include <pwd.h>
35039 int
35040 main ()
35041 {
35042
35043 char *p;
35044 struct passwd *pw;
35045 p = pw->pw_gecos;
35046
35047 ;
35048 return 0;
35049 }
35050 _ACEOF
35051 rm -f conftest.$ac_objext
35052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35053 (eval $ac_compile) 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } &&
35060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35062 (eval $ac_try) 2>&5
35063 ac_status=$?
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); }; } &&
35066 { ac_try='test -s conftest.$ac_objext'
35067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35068 (eval $ac_try) 2>&5
35069 ac_status=$?
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); }; }; then
35072
35073 wx_cv_struct_pw_gecos=yes
35074
35075 else
35076 echo "$as_me: failed program was:" >&5
35077 sed 's/^/| /' conftest.$ac_ext >&5
35078
35079
35080 wx_cv_struct_pw_gecos=no
35081
35082
35083 fi
35084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35085
35086
35087 fi
35088 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35089 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35090
35091 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35092 cat >>confdefs.h <<\_ACEOF
35093 #define HAVE_PW_GECOS 1
35094 _ACEOF
35095
35096 fi
35097
35098
35099 if test "$wxUSE_WCHAR_T" = "yes"; then
35100 cat >>confdefs.h <<\_ACEOF
35101 #define wxUSE_WCHAR_T 1
35102 _ACEOF
35103
35104
35105 WCSLEN_FOUND=0
35106 WCHAR_LINK=
35107
35108 for ac_func in wcslen
35109 do
35110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35111 echo "$as_me:$LINENO: checking for $ac_func" >&5
35112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35113 if eval "test \"\${$as_ac_var+set}\" = set"; then
35114 echo $ECHO_N "(cached) $ECHO_C" >&6
35115 else
35116 cat >conftest.$ac_ext <<_ACEOF
35117 /* confdefs.h. */
35118 _ACEOF
35119 cat confdefs.h >>conftest.$ac_ext
35120 cat >>conftest.$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35124 #define $ac_func innocuous_$ac_func
35125
35126 /* System header to define __stub macros and hopefully few prototypes,
35127 which can conflict with char $ac_func (); below.
35128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35129 <limits.h> exists even on freestanding compilers. */
35130
35131 #ifdef __STDC__
35132 # include <limits.h>
35133 #else
35134 # include <assert.h>
35135 #endif
35136
35137 #undef $ac_func
35138
35139 /* Override any gcc2 internal prototype to avoid an error. */
35140 #ifdef __cplusplus
35141 extern "C"
35142 {
35143 #endif
35144 /* We use char because int might match the return type of a gcc2
35145 builtin and then its argument prototype would still apply. */
35146 char $ac_func ();
35147 /* The GNU C library defines this for functions which it implements
35148 to always fail with ENOSYS. Some functions are actually named
35149 something starting with __ and the normal name is an alias. */
35150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35151 choke me
35152 #else
35153 char (*f) () = $ac_func;
35154 #endif
35155 #ifdef __cplusplus
35156 }
35157 #endif
35158
35159 int
35160 main ()
35161 {
35162 return f != $ac_func;
35163 ;
35164 return 0;
35165 }
35166 _ACEOF
35167 rm -f conftest.$ac_objext conftest$ac_exeext
35168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35169 (eval $ac_link) 2>conftest.er1
35170 ac_status=$?
35171 grep -v '^ *+' conftest.er1 >conftest.err
35172 rm -f conftest.er1
35173 cat conftest.err >&5
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); } &&
35176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 (eval $ac_try) 2>&5
35179 ac_status=$?
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); }; } &&
35182 { ac_try='test -s conftest$ac_exeext'
35183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184 (eval $ac_try) 2>&5
35185 ac_status=$?
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; }; then
35188 eval "$as_ac_var=yes"
35189 else
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 eval "$as_ac_var=no"
35194 fi
35195 rm -f conftest.err conftest.$ac_objext \
35196 conftest$ac_exeext conftest.$ac_ext
35197 fi
35198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35200 if test `eval echo '${'$as_ac_var'}'` = yes; then
35201 cat >>confdefs.h <<_ACEOF
35202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35203 _ACEOF
35204 WCSLEN_FOUND=1
35205 fi
35206 done
35207
35208
35209 if test "$WCSLEN_FOUND" = 0; then
35210 if test "$TOOLKIT" = "MSW"; then
35211 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35212 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35213 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35215 else
35216 ac_check_lib_save_LIBS=$LIBS
35217 LIBS="-lmsvcrt $LIBS"
35218 cat >conftest.$ac_ext <<_ACEOF
35219 /* confdefs.h. */
35220 _ACEOF
35221 cat confdefs.h >>conftest.$ac_ext
35222 cat >>conftest.$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35224
35225 /* Override any gcc2 internal prototype to avoid an error. */
35226 #ifdef __cplusplus
35227 extern "C"
35228 #endif
35229 /* We use char because int might match the return type of a gcc2
35230 builtin and then its argument prototype would still apply. */
35231 char wcslen ();
35232 int
35233 main ()
35234 {
35235 wcslen ();
35236 ;
35237 return 0;
35238 }
35239 _ACEOF
35240 rm -f conftest.$ac_objext conftest$ac_exeext
35241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35242 (eval $ac_link) 2>conftest.er1
35243 ac_status=$?
35244 grep -v '^ *+' conftest.er1 >conftest.err
35245 rm -f conftest.er1
35246 cat conftest.err >&5
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); } &&
35249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 (eval $ac_try) 2>&5
35252 ac_status=$?
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); }; } &&
35255 { ac_try='test -s conftest$ac_exeext'
35256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35257 (eval $ac_try) 2>&5
35258 ac_status=$?
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); }; }; then
35261 ac_cv_lib_msvcrt_wcslen=yes
35262 else
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.$ac_ext >&5
35265
35266 ac_cv_lib_msvcrt_wcslen=no
35267 fi
35268 rm -f conftest.err conftest.$ac_objext \
35269 conftest$ac_exeext conftest.$ac_ext
35270 LIBS=$ac_check_lib_save_LIBS
35271 fi
35272 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35273 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35274 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35275 WCHAR_OK=1
35276 fi
35277
35278 else
35279 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35280 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35281 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284 ac_check_lib_save_LIBS=$LIBS
35285 LIBS="-lw $LIBS"
35286 cat >conftest.$ac_ext <<_ACEOF
35287 /* confdefs.h. */
35288 _ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292
35293 /* Override any gcc2 internal prototype to avoid an error. */
35294 #ifdef __cplusplus
35295 extern "C"
35296 #endif
35297 /* We use char because int might match the return type of a gcc2
35298 builtin and then its argument prototype would still apply. */
35299 char wcslen ();
35300 int
35301 main ()
35302 {
35303 wcslen ();
35304 ;
35305 return 0;
35306 }
35307 _ACEOF
35308 rm -f conftest.$ac_objext conftest$ac_exeext
35309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35310 (eval $ac_link) 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } &&
35317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35319 (eval $ac_try) 2>&5
35320 ac_status=$?
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); }; } &&
35323 { ac_try='test -s conftest$ac_exeext'
35324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35325 (eval $ac_try) 2>&5
35326 ac_status=$?
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); }; }; then
35329 ac_cv_lib_w_wcslen=yes
35330 else
35331 echo "$as_me: failed program was:" >&5
35332 sed 's/^/| /' conftest.$ac_ext >&5
35333
35334 ac_cv_lib_w_wcslen=no
35335 fi
35336 rm -f conftest.err conftest.$ac_objext \
35337 conftest$ac_exeext conftest.$ac_ext
35338 LIBS=$ac_check_lib_save_LIBS
35339 fi
35340 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35341 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35342 if test $ac_cv_lib_w_wcslen = yes; then
35343
35344 WCHAR_LINK=" -lw"
35345 WCSLEN_FOUND=1
35346
35347 fi
35348
35349 fi
35350 fi
35351
35352 if test "$WCSLEN_FOUND" = 1; then
35353 cat >>confdefs.h <<\_ACEOF
35354 #define HAVE_WCSLEN 1
35355 _ACEOF
35356
35357 fi
35358
35359 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35360 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35361 fi
35362
35363 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35364 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35365 if test "${ac_cv_type_mbstate_t+set}" = set; then
35366 echo $ECHO_N "(cached) $ECHO_C" >&6
35367 else
35368 cat >conftest.$ac_ext <<_ACEOF
35369 /* confdefs.h. */
35370 _ACEOF
35371 cat confdefs.h >>conftest.$ac_ext
35372 cat >>conftest.$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35374 #include <wchar.h>
35375
35376 int
35377 main ()
35378 {
35379 if ((mbstate_t *) 0)
35380 return 0;
35381 if (sizeof (mbstate_t))
35382 return 0;
35383 ;
35384 return 0;
35385 }
35386 _ACEOF
35387 rm -f conftest.$ac_objext
35388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35389 (eval $ac_compile) 2>conftest.er1
35390 ac_status=$?
35391 grep -v '^ *+' conftest.er1 >conftest.err
35392 rm -f conftest.er1
35393 cat conftest.err >&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); } &&
35396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35399 ac_status=$?
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; } &&
35402 { ac_try='test -s conftest.$ac_objext'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35405 ac_status=$?
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; }; then
35408 ac_cv_type_mbstate_t=yes
35409 else
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35412
35413 ac_cv_type_mbstate_t=no
35414 fi
35415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35416 fi
35417 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35418 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35419 if test $ac_cv_type_mbstate_t = yes; then
35420
35421 cat >>confdefs.h <<_ACEOF
35422 #define HAVE_MBSTATE_T 1
35423 _ACEOF
35424
35425
35426 for ac_func in wcsrtombs
35427 do
35428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35429 echo "$as_me:$LINENO: checking for $ac_func" >&5
35430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35431 if eval "test \"\${$as_ac_var+set}\" = set"; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35433 else
35434 cat >conftest.$ac_ext <<_ACEOF
35435 /* confdefs.h. */
35436 _ACEOF
35437 cat confdefs.h >>conftest.$ac_ext
35438 cat >>conftest.$ac_ext <<_ACEOF
35439 /* end confdefs.h. */
35440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35442 #define $ac_func innocuous_$ac_func
35443
35444 /* System header to define __stub macros and hopefully few prototypes,
35445 which can conflict with char $ac_func (); below.
35446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35447 <limits.h> exists even on freestanding compilers. */
35448
35449 #ifdef __STDC__
35450 # include <limits.h>
35451 #else
35452 # include <assert.h>
35453 #endif
35454
35455 #undef $ac_func
35456
35457 /* Override any gcc2 internal prototype to avoid an error. */
35458 #ifdef __cplusplus
35459 extern "C"
35460 {
35461 #endif
35462 /* We use char because int might match the return type of a gcc2
35463 builtin and then its argument prototype would still apply. */
35464 char $ac_func ();
35465 /* The GNU C library defines this for functions which it implements
35466 to always fail with ENOSYS. Some functions are actually named
35467 something starting with __ and the normal name is an alias. */
35468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35469 choke me
35470 #else
35471 char (*f) () = $ac_func;
35472 #endif
35473 #ifdef __cplusplus
35474 }
35475 #endif
35476
35477 int
35478 main ()
35479 {
35480 return f != $ac_func;
35481 ;
35482 return 0;
35483 }
35484 _ACEOF
35485 rm -f conftest.$ac_objext conftest$ac_exeext
35486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35487 (eval $ac_link) 2>conftest.er1
35488 ac_status=$?
35489 grep -v '^ *+' conftest.er1 >conftest.err
35490 rm -f conftest.er1
35491 cat conftest.err >&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } &&
35494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; } &&
35500 { ac_try='test -s conftest$ac_exeext'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; }; then
35506 eval "$as_ac_var=yes"
35507 else
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35510
35511 eval "$as_ac_var=no"
35512 fi
35513 rm -f conftest.err conftest.$ac_objext \
35514 conftest$ac_exeext conftest.$ac_ext
35515 fi
35516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35518 if test `eval echo '${'$as_ac_var'}'` = yes; then
35519 cat >>confdefs.h <<_ACEOF
35520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35521 _ACEOF
35522
35523 fi
35524 done
35525
35526 fi
35527
35528 else
35529 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35530 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35531 fi
35532
35533
35534
35535 for ac_func in snprintf vsnprintf
35536 do
35537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35538 echo "$as_me:$LINENO: checking for $ac_func" >&5
35539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35540 if eval "test \"\${$as_ac_var+set}\" = set"; then
35541 echo $ECHO_N "(cached) $ECHO_C" >&6
35542 else
35543 cat >conftest.$ac_ext <<_ACEOF
35544 /* confdefs.h. */
35545 _ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35551 #define $ac_func innocuous_$ac_func
35552
35553 /* System header to define __stub macros and hopefully few prototypes,
35554 which can conflict with char $ac_func (); below.
35555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35556 <limits.h> exists even on freestanding compilers. */
35557
35558 #ifdef __STDC__
35559 # include <limits.h>
35560 #else
35561 # include <assert.h>
35562 #endif
35563
35564 #undef $ac_func
35565
35566 /* Override any gcc2 internal prototype to avoid an error. */
35567 #ifdef __cplusplus
35568 extern "C"
35569 {
35570 #endif
35571 /* We use char because int might match the return type of a gcc2
35572 builtin and then its argument prototype would still apply. */
35573 char $ac_func ();
35574 /* The GNU C library defines this for functions which it implements
35575 to always fail with ENOSYS. Some functions are actually named
35576 something starting with __ and the normal name is an alias. */
35577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35578 choke me
35579 #else
35580 char (*f) () = $ac_func;
35581 #endif
35582 #ifdef __cplusplus
35583 }
35584 #endif
35585
35586 int
35587 main ()
35588 {
35589 return f != $ac_func;
35590 ;
35591 return 0;
35592 }
35593 _ACEOF
35594 rm -f conftest.$ac_objext conftest$ac_exeext
35595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35596 (eval $ac_link) 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } &&
35603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35606 ac_status=$?
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try='test -s conftest$ac_exeext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35612 ac_status=$?
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35615 eval "$as_ac_var=yes"
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35619
35620 eval "$as_ac_var=no"
35621 fi
35622 rm -f conftest.err conftest.$ac_objext \
35623 conftest$ac_exeext conftest.$ac_ext
35624 fi
35625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35627 if test `eval echo '${'$as_ac_var'}'` = yes; then
35628 cat >>confdefs.h <<_ACEOF
35629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35630 _ACEOF
35631
35632 fi
35633 done
35634
35635
35636 if test "$ac_cv_func_vsnprintf" = "yes"; then
35637 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35638 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35639 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 else
35642
35643 cat >conftest.$ac_ext <<_ACEOF
35644 /* confdefs.h. */
35645 _ACEOF
35646 cat confdefs.h >>conftest.$ac_ext
35647 cat >>conftest.$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649
35650 #include <stdio.h>
35651 #include <stdarg.h>
35652 #ifdef __MSL__
35653 #if __MSL__ >= 0x6000
35654 namespace std {}
35655 using namespace std;
35656 #endif
35657 #endif
35658
35659 int
35660 main ()
35661 {
35662
35663 char *buf;
35664 va_list ap;
35665 vsnprintf(buf, 10u, "%s", ap);
35666
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35673 (eval $ac_compile) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35683 ac_status=$?
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; } &&
35686 { ac_try='test -s conftest.$ac_objext'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35689 ac_status=$?
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; }; then
35692 wx_cv_func_vsnprintf_decl=yes
35693 else
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.$ac_ext >&5
35696
35697 wx_cv_func_vsnprintf_decl=no
35698
35699 fi
35700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35701
35702
35703 fi
35704 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35705 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35706
35707 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35708 cat >>confdefs.h <<\_ACEOF
35709 #define HAVE_VSNPRINTF_DECL 1
35710 _ACEOF
35711
35712
35713 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35714 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35715 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35716 echo $ECHO_N "(cached) $ECHO_C" >&6
35717 else
35718
35719 cat >conftest.$ac_ext <<_ACEOF
35720 /* confdefs.h. */
35721 _ACEOF
35722 cat confdefs.h >>conftest.$ac_ext
35723 cat >>conftest.$ac_ext <<_ACEOF
35724 /* end confdefs.h. */
35725
35726 #include <stdio.h>
35727 #include <stdarg.h>
35728 #ifdef __MSL__
35729 #if __MSL__ >= 0x6000
35730 namespace std {}
35731 using namespace std;
35732 #endif
35733 #endif
35734
35735 int
35736 main ()
35737 {
35738
35739 char *buf;
35740 va_list ap;
35741 const char *fmt = "%s";
35742 vsnprintf(buf, 10u, fmt, ap);
35743
35744 ;
35745 return 0;
35746 }
35747 _ACEOF
35748 rm -f conftest.$ac_objext
35749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35750 (eval $ac_compile) 2>conftest.er1
35751 ac_status=$?
35752 grep -v '^ *+' conftest.er1 >conftest.err
35753 rm -f conftest.er1
35754 cat conftest.err >&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } &&
35757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; } &&
35763 { ac_try='test -s conftest.$ac_objext'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35766 ac_status=$?
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; }; then
35769 wx_cv_func_broken_vsnprintf_decl=no
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 wx_cv_func_broken_vsnprintf_decl=yes
35775
35776 fi
35777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35778
35779
35780 fi
35781 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35782 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35783
35784 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35785 cat >>confdefs.h <<\_ACEOF
35786 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35787 _ACEOF
35788
35789 fi
35790 fi
35791 fi
35792
35793 if test "$ac_cv_func_snprintf" = "yes"; then
35794 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35795 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35796 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 else
35799
35800 cat >conftest.$ac_ext <<_ACEOF
35801 /* confdefs.h. */
35802 _ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35806
35807 #include <stdio.h>
35808 #include <stdarg.h>
35809 #ifdef __MSL__
35810 #if __MSL__ >= 0x6000
35811 namespace std {}
35812 using namespace std;
35813 #endif
35814 #endif
35815
35816 int
35817 main ()
35818 {
35819
35820 char *buf;
35821 snprintf(buf, 10u, "%s", "wx");
35822
35823 ;
35824 return 0;
35825 }
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try='test -s conftest.$ac_objext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35845 ac_status=$?
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 wx_cv_func_snprintf_decl=yes
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 wx_cv_func_snprintf_decl=no
35854
35855 fi
35856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35857
35858
35859 fi
35860 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35861 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35862
35863 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define HAVE_SNPRINTF_DECL 1
35866 _ACEOF
35867
35868
35869 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35870 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35871 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35872 echo $ECHO_N "(cached) $ECHO_C" >&6
35873 else
35874
35875 cat >conftest.$ac_ext <<_ACEOF
35876 /* confdefs.h. */
35877 _ACEOF
35878 cat confdefs.h >>conftest.$ac_ext
35879 cat >>conftest.$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35881
35882 #include <stdio.h>
35883 #include <stdarg.h>
35884 #ifdef __MSL__
35885 #if __MSL__ >= 0x6000
35886 namespace std {}
35887 using namespace std;
35888 #endif
35889 #endif
35890
35891 int
35892 main ()
35893 {
35894
35895 char *buf;
35896 const char *fmt = "%s";
35897 snprintf(buf, 10u, fmt, "wx");
35898
35899 ;
35900 return 0;
35901 }
35902 _ACEOF
35903 rm -f conftest.$ac_objext
35904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35905 (eval $ac_compile) 2>conftest.er1
35906 ac_status=$?
35907 grep -v '^ *+' conftest.er1 >conftest.err
35908 rm -f conftest.er1
35909 cat conftest.err >&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); } &&
35912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35914 (eval $ac_try) 2>&5
35915 ac_status=$?
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); }; } &&
35918 { ac_try='test -s conftest.$ac_objext'
35919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35920 (eval $ac_try) 2>&5
35921 ac_status=$?
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); }; }; then
35924 wx_cv_func_broken_snprintf_decl=no
35925 else
35926 echo "$as_me: failed program was:" >&5
35927 sed 's/^/| /' conftest.$ac_ext >&5
35928
35929 wx_cv_func_broken_snprintf_decl=yes
35930
35931 fi
35932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35933
35934
35935 fi
35936 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35937 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35938
35939 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35940 cat >>confdefs.h <<\_ACEOF
35941 #define HAVE_BROKEN_SNPRINTF_DECL 1
35942 _ACEOF
35943
35944 fi
35945 fi
35946
35947 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35948
35949 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35950 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35951 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954
35955 if test "$cross_compiling" = yes; then
35956
35957 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35958 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35959 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35960 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35961 wx_cv_func_snprintf_pos_params=no
35962
35963
35964 else
35965 cat >conftest.$ac_ext <<_ACEOF
35966 /* confdefs.h. */
35967 _ACEOF
35968 cat confdefs.h >>conftest.$ac_ext
35969 cat >>conftest.$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35971
35972 #include <stdio.h>
35973
35974 int main (void)
35975 {
35976 char buffer[128];
35977 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35978 if (strcmp ("2 3 1", buffer) == 0)
35979 exit (0);
35980 exit (1);
35981 }
35982
35983 _ACEOF
35984 rm -f conftest$ac_exeext
35985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35986 (eval $ac_link) 2>&5
35987 ac_status=$?
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35991 (eval $ac_try) 2>&5
35992 ac_status=$?
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); }; }; then
35995 wx_cv_func_snprintf_pos_params=no
35996 else
35997 echo "$as_me: program exited with status $ac_status" >&5
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36000
36001 ( exit $ac_status )
36002 wx_cv_func_snprintf_pos_params=yes
36003 fi
36004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36005 fi
36006
36007
36008 fi
36009 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36010 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36011
36012 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36013 cat >>confdefs.h <<\_ACEOF
36014 #define HAVE_UNIX98_PRINTF 1
36015 _ACEOF
36016
36017 fi
36018 fi
36019 fi
36020
36021 if test "$wxUSE_UNICODE" = yes; then
36022
36023
36024 for ac_func in swprintf
36025 do
36026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36027 echo "$as_me:$LINENO: checking for $ac_func" >&5
36028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36029 if eval "test \"\${$as_ac_var+set}\" = set"; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36031 else
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36040 #define $ac_func innocuous_$ac_func
36041
36042 /* System header to define __stub macros and hopefully few prototypes,
36043 which can conflict with char $ac_func (); below.
36044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36045 <limits.h> exists even on freestanding compilers. */
36046
36047 #ifdef __STDC__
36048 # include <limits.h>
36049 #else
36050 # include <assert.h>
36051 #endif
36052
36053 #undef $ac_func
36054
36055 /* Override any gcc2 internal prototype to avoid an error. */
36056 #ifdef __cplusplus
36057 extern "C"
36058 {
36059 #endif
36060 /* We use char because int might match the return type of a gcc2
36061 builtin and then its argument prototype would still apply. */
36062 char $ac_func ();
36063 /* The GNU C library defines this for functions which it implements
36064 to always fail with ENOSYS. Some functions are actually named
36065 something starting with __ and the normal name is an alias. */
36066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36067 choke me
36068 #else
36069 char (*f) () = $ac_func;
36070 #endif
36071 #ifdef __cplusplus
36072 }
36073 #endif
36074
36075 int
36076 main ()
36077 {
36078 return f != $ac_func;
36079 ;
36080 return 0;
36081 }
36082 _ACEOF
36083 rm -f conftest.$ac_objext conftest$ac_exeext
36084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36085 (eval $ac_link) 2>conftest.er1
36086 ac_status=$?
36087 grep -v '^ *+' conftest.er1 >conftest.err
36088 rm -f conftest.er1
36089 cat conftest.err >&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } &&
36092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36094 (eval $ac_try) 2>&5
36095 ac_status=$?
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); }; } &&
36098 { ac_try='test -s conftest$ac_exeext'
36099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36100 (eval $ac_try) 2>&5
36101 ac_status=$?
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); }; }; then
36104 eval "$as_ac_var=yes"
36105 else
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36108
36109 eval "$as_ac_var=no"
36110 fi
36111 rm -f conftest.err conftest.$ac_objext \
36112 conftest$ac_exeext conftest.$ac_ext
36113 fi
36114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36116 if test `eval echo '${'$as_ac_var'}'` = yes; then
36117 cat >>confdefs.h <<_ACEOF
36118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36119 _ACEOF
36120
36121 fi
36122 done
36123
36124
36125 if test "$ac_cv_func_swprintf" = "yes"; then
36126 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36127 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36128 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138
36139 #include <stdio.h>
36140 #include <stdarg.h>
36141 #include <wchar.h>
36142
36143 int
36144 main ()
36145 {
36146
36147 wchar_t *buf;
36148 const wchar_t *fmt = L"test";
36149 swprintf(buf, 10u, fmt);
36150
36151 ;
36152 return 0;
36153 }
36154 _ACEOF
36155 rm -f conftest.$ac_objext
36156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36157 (eval $ac_compile) 2>conftest.er1
36158 ac_status=$?
36159 grep -v '^ *+' conftest.er1 >conftest.err
36160 rm -f conftest.er1
36161 cat conftest.err >&5
36162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36163 (exit $ac_status); } &&
36164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest.$ac_objext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 wx_cv_func_broken_swprintf_decl=no
36177 else
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.$ac_ext >&5
36180
36181 wx_cv_func_broken_swprintf_decl=yes
36182
36183 fi
36184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36185
36186
36187 fi
36188 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36189 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36190
36191 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36192 cat >>confdefs.h <<\_ACEOF
36193 #define HAVE_BROKEN_SWPRINTF_DECL 1
36194 _ACEOF
36195
36196 fi
36197 fi
36198
36199 wchar_headers="#include <stdio.h>
36200 #include <wchar.h>"
36201 case "${host}" in
36202 *-*-solaris2* )
36203
36204 for ac_header in widec.h
36205 do
36206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36208 echo "$as_me:$LINENO: checking for $ac_header" >&5
36209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 fi
36213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36215 else
36216 # Is the header compilable?
36217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36219 cat >conftest.$ac_ext <<_ACEOF
36220 /* confdefs.h. */
36221 _ACEOF
36222 cat confdefs.h >>conftest.$ac_ext
36223 cat >>conftest.$ac_ext <<_ACEOF
36224 /* end confdefs.h. */
36225 $ac_includes_default
36226 #include <$ac_header>
36227 _ACEOF
36228 rm -f conftest.$ac_objext
36229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36230 (eval $ac_compile) 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } &&
36237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36239 (eval $ac_try) 2>&5
36240 ac_status=$?
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; } &&
36243 { ac_try='test -s conftest.$ac_objext'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36246 ac_status=$?
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; }; then
36249 ac_header_compiler=yes
36250 else
36251 echo "$as_me: failed program was:" >&5
36252 sed 's/^/| /' conftest.$ac_ext >&5
36253
36254 ac_header_compiler=no
36255 fi
36256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36258 echo "${ECHO_T}$ac_header_compiler" >&6
36259
36260 # Is the header present?
36261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36263 cat >conftest.$ac_ext <<_ACEOF
36264 /* confdefs.h. */
36265 _ACEOF
36266 cat confdefs.h >>conftest.$ac_ext
36267 cat >>conftest.$ac_ext <<_ACEOF
36268 /* end confdefs.h. */
36269 #include <$ac_header>
36270 _ACEOF
36271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } >/dev/null; then
36279 if test -s conftest.err; then
36280 ac_cpp_err=$ac_c_preproc_warn_flag
36281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36282 else
36283 ac_cpp_err=
36284 fi
36285 else
36286 ac_cpp_err=yes
36287 fi
36288 if test -z "$ac_cpp_err"; then
36289 ac_header_preproc=yes
36290 else
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36293
36294 ac_header_preproc=no
36295 fi
36296 rm -f conftest.err conftest.$ac_ext
36297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36298 echo "${ECHO_T}$ac_header_preproc" >&6
36299
36300 # So? What about this header?
36301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36302 yes:no: )
36303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36307 ac_header_preproc=yes
36308 ;;
36309 no:yes:* )
36310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36322 (
36323 cat <<\_ASBOX
36324 ## ----------------------------------------- ##
36325 ## Report this to wx-dev@lists.wxwidgets.org ##
36326 ## ----------------------------------------- ##
36327 _ASBOX
36328 ) |
36329 sed "s/^/$as_me: WARNING: /" >&2
36330 ;;
36331 esac
36332 echo "$as_me:$LINENO: checking for $ac_header" >&5
36333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36335 echo $ECHO_N "(cached) $ECHO_C" >&6
36336 else
36337 eval "$as_ac_Header=\$ac_header_preproc"
36338 fi
36339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36341
36342 fi
36343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36344 cat >>confdefs.h <<_ACEOF
36345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36346 _ACEOF
36347
36348 fi
36349
36350 done
36351
36352 if test "$ac_cv_header_widec_h" = "yes"; then
36353 wchar_headers="$wchar_headers
36354 #include <widec.h>"
36355 fi
36356 esac
36357
36358
36359 for wx_func in wputc wputchar putws fputws wprintf vswprintf
36360 do
36361 echo "$as_me:$LINENO: checking for $wx_func" >&5
36362 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36363 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36364 echo $ECHO_N "(cached) $ECHO_C" >&6
36365 else
36366
36367 cat >conftest.$ac_ext <<_ACEOF
36368
36369 /* confdefs.h. */
36370 _ACEOF
36371 cat confdefs.h >>conftest.$ac_ext
36372 cat >>conftest.$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36374
36375 $wchar_headers
36376 $ac_includes_default
36377
36378 int
36379 main ()
36380 {
36381
36382 #ifndef $wx_func
36383 &$wx_func;
36384 #endif
36385
36386
36387 ;
36388 return 0;
36389 }
36390
36391 _ACEOF
36392 rm -f conftest.$ac_objext conftest$ac_exeext
36393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36394 (eval $ac_link) 2>conftest.er1
36395 ac_status=$?
36396 grep -v '^ *+' conftest.er1 >conftest.err
36397 rm -f conftest.er1
36398 cat conftest.err >&5
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); } &&
36401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36403 (eval $ac_try) 2>&5
36404 ac_status=$?
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); }; } &&
36407 { ac_try='test -s conftest$ac_exeext'
36408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36409 (eval $ac_try) 2>&5
36410 ac_status=$?
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); }; }; then
36413 eval wx_cv_func_$wx_func=yes
36414 else
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36417
36418 eval wx_cv_func_$wx_func=no
36419 fi
36420 rm -f conftest.err conftest.$ac_objext \
36421 conftest$ac_exeext conftest.$ac_ext
36422
36423 fi
36424 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36425 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36426
36427 if eval test \$wx_cv_func_$wx_func = yes
36428 then
36429 cat >>confdefs.h <<_ACEOF
36430 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36431 _ACEOF
36432
36433
36434 else
36435 :
36436
36437 fi
36438 done
36439
36440
36441 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36442 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36443 cat >conftest.$ac_ext <<_ACEOF
36444 /* confdefs.h. */
36445 _ACEOF
36446 cat confdefs.h >>conftest.$ac_ext
36447 cat >>conftest.$ac_ext <<_ACEOF
36448 /* end confdefs.h. */
36449 #include <wchar.h>
36450 int
36451 main ()
36452 {
36453 &_vsnwprintf;
36454 ;
36455 return 0;
36456 }
36457 _ACEOF
36458 rm -f conftest.$ac_objext
36459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36460 (eval $ac_compile) 2>conftest.er1
36461 ac_status=$?
36462 grep -v '^ *+' conftest.er1 >conftest.err
36463 rm -f conftest.er1
36464 cat conftest.err >&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); } &&
36467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469 (eval $ac_try) 2>&5
36470 ac_status=$?
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); }; } &&
36473 { ac_try='test -s conftest.$ac_objext'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; }; then
36479 echo "$as_me:$LINENO: result: yes" >&5
36480 echo "${ECHO_T}yes" >&6
36481 cat >>confdefs.h <<\_ACEOF
36482 #define HAVE__VSNWPRINTF 1
36483 _ACEOF
36484
36485 else
36486 echo "$as_me: failed program was:" >&5
36487 sed 's/^/| /' conftest.$ac_ext >&5
36488
36489 echo "$as_me:$LINENO: result: no" >&5
36490 echo "${ECHO_T}no" >&6
36491 fi
36492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36493 fi
36494
36495 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36496
36497 for wx_func in fnmatch
36498 do
36499 echo "$as_me:$LINENO: checking for $wx_func" >&5
36500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36501 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36502 echo $ECHO_N "(cached) $ECHO_C" >&6
36503 else
36504
36505 cat >conftest.$ac_ext <<_ACEOF
36506
36507 /* confdefs.h. */
36508 _ACEOF
36509 cat confdefs.h >>conftest.$ac_ext
36510 cat >>conftest.$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36512
36513
36514 $ac_includes_default
36515
36516 int
36517 main ()
36518 {
36519
36520 #ifndef $wx_func
36521 &$wx_func;
36522 #endif
36523
36524
36525 ;
36526 return 0;
36527 }
36528
36529 _ACEOF
36530 rm -f conftest.$ac_objext conftest$ac_exeext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36532 (eval $ac_link) 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36541 (eval $ac_try) 2>&5
36542 ac_status=$?
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); }; } &&
36545 { ac_try='test -s conftest$ac_exeext'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36548 ac_status=$?
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; }; then
36551 eval wx_cv_func_$wx_func=yes
36552 else
36553 echo "$as_me: failed program was:" >&5
36554 sed 's/^/| /' conftest.$ac_ext >&5
36555
36556 eval wx_cv_func_$wx_func=no
36557 fi
36558 rm -f conftest.err conftest.$ac_objext \
36559 conftest$ac_exeext conftest.$ac_ext
36560
36561 fi
36562 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36563 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36564
36565 if eval test \$wx_cv_func_$wx_func = yes
36566 then
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36569 _ACEOF
36570
36571
36572 else
36573 :
36574
36575 fi
36576 done
36577
36578 fi
36579
36580 if test "$wxUSE_FILE" = "yes"; then
36581
36582 for wx_func in fsync
36583 do
36584 echo "$as_me:$LINENO: checking for $wx_func" >&5
36585 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36586 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36587 echo $ECHO_N "(cached) $ECHO_C" >&6
36588 else
36589
36590 cat >conftest.$ac_ext <<_ACEOF
36591
36592 /* confdefs.h. */
36593 _ACEOF
36594 cat confdefs.h >>conftest.$ac_ext
36595 cat >>conftest.$ac_ext <<_ACEOF
36596 /* end confdefs.h. */
36597
36598
36599 $ac_includes_default
36600
36601 int
36602 main ()
36603 {
36604
36605 #ifndef $wx_func
36606 &$wx_func;
36607 #endif
36608
36609
36610 ;
36611 return 0;
36612 }
36613
36614 _ACEOF
36615 rm -f conftest.$ac_objext conftest$ac_exeext
36616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36617 (eval $ac_link) 2>conftest.er1
36618 ac_status=$?
36619 grep -v '^ *+' conftest.er1 >conftest.err
36620 rm -f conftest.er1
36621 cat conftest.err >&5
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); } &&
36624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36626 (eval $ac_try) 2>&5
36627 ac_status=$?
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); }; } &&
36630 { ac_try='test -s conftest$ac_exeext'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 eval wx_cv_func_$wx_func=yes
36637 else
36638 echo "$as_me: failed program was:" >&5
36639 sed 's/^/| /' conftest.$ac_ext >&5
36640
36641 eval wx_cv_func_$wx_func=no
36642 fi
36643 rm -f conftest.err conftest.$ac_objext \
36644 conftest$ac_exeext conftest.$ac_ext
36645
36646 fi
36647 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36648 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36649
36650 if eval test \$wx_cv_func_$wx_func = yes
36651 then
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36654 _ACEOF
36655
36656
36657 else
36658 :
36659
36660 fi
36661 done
36662
36663 fi
36664
36665
36666 for wx_func in round
36667 do
36668 echo "$as_me:$LINENO: checking for $wx_func" >&5
36669 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36670 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 else
36673
36674 cat >conftest.$ac_ext <<_ACEOF
36675
36676 /* confdefs.h. */
36677 _ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681
36682 #include <math.h>
36683 $ac_includes_default
36684
36685 int
36686 main ()
36687 {
36688
36689 #ifndef $wx_func
36690 &$wx_func;
36691 #endif
36692
36693
36694 ;
36695 return 0;
36696 }
36697
36698 _ACEOF
36699 rm -f conftest.$ac_objext conftest$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36711 ac_status=$?
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; } &&
36714 { ac_try='test -s conftest$ac_exeext'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36717 ac_status=$?
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; }; then
36720 eval wx_cv_func_$wx_func=yes
36721 else
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725 eval wx_cv_func_$wx_func=no
36726 fi
36727 rm -f conftest.err conftest.$ac_objext \
36728 conftest$ac_exeext conftest.$ac_ext
36729
36730 fi
36731 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36733
36734 if eval test \$wx_cv_func_$wx_func = yes
36735 then
36736 cat >>confdefs.h <<_ACEOF
36737 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36738 _ACEOF
36739
36740
36741 else
36742 :
36743
36744 fi
36745 done
36746
36747
36748 if test "$TOOLKIT" != "MSW"; then
36749
36750
36751
36752
36753
36754 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36755 if test "${with_libiconv_prefix+set}" = set; then
36756 withval="$with_libiconv_prefix"
36757
36758 for dir in `echo "$withval" | tr : ' '`; do
36759 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36760 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36761 done
36762
36763 fi;
36764
36765 echo "$as_me:$LINENO: checking for iconv" >&5
36766 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36767 if test "${am_cv_func_iconv+set}" = set; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 else
36770
36771 am_cv_func_iconv="no, consider installing GNU libiconv"
36772 am_cv_lib_iconv=no
36773 cat >conftest.$ac_ext <<_ACEOF
36774 /* confdefs.h. */
36775 _ACEOF
36776 cat confdefs.h >>conftest.$ac_ext
36777 cat >>conftest.$ac_ext <<_ACEOF
36778 /* end confdefs.h. */
36779 #include <stdlib.h>
36780 #include <iconv.h>
36781 int
36782 main ()
36783 {
36784 iconv_t cd = iconv_open("","");
36785 iconv(cd,NULL,NULL,NULL,NULL);
36786 iconv_close(cd);
36787 ;
36788 return 0;
36789 }
36790 _ACEOF
36791 rm -f conftest.$ac_objext conftest$ac_exeext
36792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36793 (eval $ac_link) 2>conftest.er1
36794 ac_status=$?
36795 grep -v '^ *+' conftest.er1 >conftest.err
36796 rm -f conftest.er1
36797 cat conftest.err >&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); } &&
36800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; } &&
36806 { ac_try='test -s conftest$ac_exeext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 am_cv_func_iconv=yes
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817 fi
36818 rm -f conftest.err conftest.$ac_objext \
36819 conftest$ac_exeext conftest.$ac_ext
36820 if test "$am_cv_func_iconv" != yes; then
36821 am_save_LIBS="$LIBS"
36822 LIBS="$LIBS -liconv"
36823 cat >conftest.$ac_ext <<_ACEOF
36824 /* confdefs.h. */
36825 _ACEOF
36826 cat confdefs.h >>conftest.$ac_ext
36827 cat >>conftest.$ac_ext <<_ACEOF
36828 /* end confdefs.h. */
36829 #include <stdlib.h>
36830 #include <iconv.h>
36831 int
36832 main ()
36833 {
36834 iconv_t cd = iconv_open("","");
36835 iconv(cd,NULL,NULL,NULL,NULL);
36836 iconv_close(cd);
36837 ;
36838 return 0;
36839 }
36840 _ACEOF
36841 rm -f conftest.$ac_objext conftest$ac_exeext
36842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36843 (eval $ac_link) 2>conftest.er1
36844 ac_status=$?
36845 grep -v '^ *+' conftest.er1 >conftest.err
36846 rm -f conftest.er1
36847 cat conftest.err >&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } &&
36850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36856 { ac_try='test -s conftest$ac_exeext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36859 ac_status=$?
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 am_cv_lib_iconv=yes
36863 am_cv_func_iconv=yes
36864 else
36865 echo "$as_me: failed program was:" >&5
36866 sed 's/^/| /' conftest.$ac_ext >&5
36867
36868 fi
36869 rm -f conftest.err conftest.$ac_objext \
36870 conftest$ac_exeext conftest.$ac_ext
36871 LIBS="$am_save_LIBS"
36872 fi
36873
36874 fi
36875 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36876 echo "${ECHO_T}$am_cv_func_iconv" >&6
36877 if test "$am_cv_func_iconv" = yes; then
36878
36879 cat >>confdefs.h <<\_ACEOF
36880 #define HAVE_ICONV 1
36881 _ACEOF
36882
36883 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36884 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36885 if test "${wx_cv_func_iconv_const+set}" = set; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 else
36888 cat >conftest.$ac_ext <<_ACEOF
36889 /* confdefs.h. */
36890 _ACEOF
36891 cat confdefs.h >>conftest.$ac_ext
36892 cat >>conftest.$ac_ext <<_ACEOF
36893 /* end confdefs.h. */
36894
36895 #include <stdlib.h>
36896 #include <iconv.h>
36897 extern
36898 #ifdef __cplusplus
36899 "C"
36900 #endif
36901 #if defined(__STDC__) || defined(__cplusplus)
36902 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36903 #else
36904 size_t iconv();
36905 #endif
36906
36907 int
36908 main ()
36909 {
36910
36911 ;
36912 return 0;
36913 }
36914 _ACEOF
36915 rm -f conftest.$ac_objext
36916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36917 (eval $ac_compile) 2>conftest.er1
36918 ac_status=$?
36919 grep -v '^ *+' conftest.er1 >conftest.err
36920 rm -f conftest.er1
36921 cat conftest.err >&5
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); } &&
36924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36927 ac_status=$?
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; } &&
36930 { ac_try='test -s conftest.$ac_objext'
36931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36932 (eval $ac_try) 2>&5
36933 ac_status=$?
36934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935 (exit $ac_status); }; }; then
36936 wx_cv_func_iconv_const="no"
36937 else
36938 echo "$as_me: failed program was:" >&5
36939 sed 's/^/| /' conftest.$ac_ext >&5
36940
36941 wx_cv_func_iconv_const="yes"
36942
36943 fi
36944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36945
36946 fi
36947 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36948 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36949
36950 iconv_const=
36951 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36952 iconv_const="const"
36953 fi
36954
36955
36956 cat >>confdefs.h <<_ACEOF
36957 #define ICONV_CONST $iconv_const
36958 _ACEOF
36959
36960 fi
36961 LIBICONV=
36962 if test "$am_cv_lib_iconv" = yes; then
36963 LIBICONV="-liconv"
36964 fi
36965
36966
36967 LIBS="$LIBICONV $LIBS"
36968
36969 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36970
36971 for ac_func in sigaction
36972 do
36973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36974 echo "$as_me:$LINENO: checking for $ac_func" >&5
36975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36976 if eval "test \"\${$as_ac_var+set}\" = set"; then
36977 echo $ECHO_N "(cached) $ECHO_C" >&6
36978 else
36979 cat >conftest.$ac_ext <<_ACEOF
36980 /* confdefs.h. */
36981 _ACEOF
36982 cat confdefs.h >>conftest.$ac_ext
36983 cat >>conftest.$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36987 #define $ac_func innocuous_$ac_func
36988
36989 /* System header to define __stub macros and hopefully few prototypes,
36990 which can conflict with char $ac_func (); below.
36991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36992 <limits.h> exists even on freestanding compilers. */
36993
36994 #ifdef __STDC__
36995 # include <limits.h>
36996 #else
36997 # include <assert.h>
36998 #endif
36999
37000 #undef $ac_func
37001
37002 /* Override any gcc2 internal prototype to avoid an error. */
37003 #ifdef __cplusplus
37004 extern "C"
37005 {
37006 #endif
37007 /* We use char because int might match the return type of a gcc2
37008 builtin and then its argument prototype would still apply. */
37009 char $ac_func ();
37010 /* The GNU C library defines this for functions which it implements
37011 to always fail with ENOSYS. Some functions are actually named
37012 something starting with __ and the normal name is an alias. */
37013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37014 choke me
37015 #else
37016 char (*f) () = $ac_func;
37017 #endif
37018 #ifdef __cplusplus
37019 }
37020 #endif
37021
37022 int
37023 main ()
37024 {
37025 return f != $ac_func;
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 rm -f conftest.$ac_objext conftest$ac_exeext
37031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37032 (eval $ac_link) 2>conftest.er1
37033 ac_status=$?
37034 grep -v '^ *+' conftest.er1 >conftest.err
37035 rm -f conftest.er1
37036 cat conftest.err >&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); } &&
37039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37041 (eval $ac_try) 2>&5
37042 ac_status=$?
37043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37044 (exit $ac_status); }; } &&
37045 { ac_try='test -s conftest$ac_exeext'
37046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37047 (eval $ac_try) 2>&5
37048 ac_status=$?
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); }; }; then
37051 eval "$as_ac_var=yes"
37052 else
37053 echo "$as_me: failed program was:" >&5
37054 sed 's/^/| /' conftest.$ac_ext >&5
37055
37056 eval "$as_ac_var=no"
37057 fi
37058 rm -f conftest.err conftest.$ac_objext \
37059 conftest$ac_exeext conftest.$ac_ext
37060 fi
37061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37063 if test `eval echo '${'$as_ac_var'}'` = yes; then
37064 cat >>confdefs.h <<_ACEOF
37065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37066 _ACEOF
37067
37068 fi
37069 done
37070
37071
37072 if test "$ac_cv_func_sigaction" = "no"; then
37073 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37074 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37075 wxUSE_ON_FATAL_EXCEPTION=no
37076 fi
37077
37078 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37079 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37080 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37081 if test "${wx_cv_type_sa_handler+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 else
37084
37085 cat >conftest.$ac_ext <<_ACEOF
37086 /* confdefs.h. */
37087 _ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37091 #include <signal.h>
37092 int
37093 main ()
37094 {
37095
37096 extern void testSigHandler(int);
37097
37098 struct sigaction sa;
37099 sa.sa_handler = testSigHandler;
37100
37101 ;
37102 return 0;
37103 }
37104 _ACEOF
37105 rm -f conftest.$ac_objext
37106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37107 (eval $ac_compile) 2>conftest.er1
37108 ac_status=$?
37109 grep -v '^ *+' conftest.er1 >conftest.err
37110 rm -f conftest.er1
37111 cat conftest.err >&5
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); } &&
37114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37116 (eval $ac_try) 2>&5
37117 ac_status=$?
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); }; } &&
37120 { ac_try='test -s conftest.$ac_objext'
37121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122 (eval $ac_try) 2>&5
37123 ac_status=$?
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); }; }; then
37126
37127 wx_cv_type_sa_handler=int
37128
37129 else
37130 echo "$as_me: failed program was:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37132
37133
37134 wx_cv_type_sa_handler=void
37135
37136 fi
37137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37138
37139 fi
37140 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37141 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37142
37143 cat >>confdefs.h <<_ACEOF
37144 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37145 _ACEOF
37146
37147 fi
37148 fi
37149
37150 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37151 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37152 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37153 if test "${wx_cv_func_backtrace+set}" = set; then
37154 echo $ECHO_N "(cached) $ECHO_C" >&6
37155 else
37156
37157 cat >conftest.$ac_ext <<_ACEOF
37158 /* confdefs.h. */
37159 _ACEOF
37160 cat confdefs.h >>conftest.$ac_ext
37161 cat >>conftest.$ac_ext <<_ACEOF
37162 /* end confdefs.h. */
37163 #include <execinfo.h>
37164 int
37165 main ()
37166 {
37167
37168 void *trace[1];
37169 char **messages;
37170
37171 backtrace(trace, 1);
37172 messages = backtrace_symbols(trace, 1);
37173
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 rm -f conftest.$ac_objext
37179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37180 (eval $ac_compile) 2>conftest.er1
37181 ac_status=$?
37182 grep -v '^ *+' conftest.er1 >conftest.err
37183 rm -f conftest.er1
37184 cat conftest.err >&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); } &&
37187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37189 (eval $ac_try) 2>&5
37190 ac_status=$?
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); }; } &&
37193 { ac_try='test -s conftest.$ac_objext'
37194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37195 (eval $ac_try) 2>&5
37196 ac_status=$?
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); }; }; then
37199 wx_cv_func_backtrace=yes
37200 else
37201 echo "$as_me: failed program was:" >&5
37202 sed 's/^/| /' conftest.$ac_ext >&5
37203
37204 wx_cv_func_backtrace=no
37205
37206 fi
37207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37208
37209
37210 fi
37211 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37212 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37213
37214
37215 if test "$wx_cv_func_backtrace" = "no"; then
37216 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37217 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37218 wxUSE_STACKWALKER=no
37219 else
37220 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37221 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37222 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37223 echo $ECHO_N "(cached) $ECHO_C" >&6
37224 else
37225
37226 cat >conftest.$ac_ext <<_ACEOF
37227 /* confdefs.h. */
37228 _ACEOF
37229 cat confdefs.h >>conftest.$ac_ext
37230 cat >>conftest.$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37232 #include <cxxabi.h>
37233 int
37234 main ()
37235 {
37236
37237 int rc;
37238 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37239
37240 ;
37241 return 0;
37242 }
37243 _ACEOF
37244 rm -f conftest.$ac_objext conftest$ac_exeext
37245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37246 (eval $ac_link) 2>conftest.er1
37247 ac_status=$?
37248 grep -v '^ *+' conftest.er1 >conftest.err
37249 rm -f conftest.er1
37250 cat conftest.err >&5
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); } &&
37253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37255 (eval $ac_try) 2>&5
37256 ac_status=$?
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); }; } &&
37259 { ac_try='test -s conftest$ac_exeext'
37260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37261 (eval $ac_try) 2>&5
37262 ac_status=$?
37263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37264 (exit $ac_status); }; }; then
37265 wx_cv_func_cxa_demangle=yes
37266 else
37267 echo "$as_me: failed program was:" >&5
37268 sed 's/^/| /' conftest.$ac_ext >&5
37269
37270 wx_cv_func_cxa_demangle=no
37271
37272 fi
37273 rm -f conftest.err conftest.$ac_objext \
37274 conftest$ac_exeext conftest.$ac_ext
37275
37276
37277 fi
37278 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37279 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37280
37281 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37282 cat >>confdefs.h <<\_ACEOF
37283 #define HAVE_CXA_DEMANGLE 1
37284 _ACEOF
37285
37286 fi
37287 fi
37288 fi
37289
37290 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37291 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37292 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37293 wxUSE_STACKWALKER=no
37294 fi
37295
37296
37297
37298
37299 for ac_func in mkstemp mktemp
37300 do
37301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37302 echo "$as_me:$LINENO: checking for $ac_func" >&5
37303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37304 if eval "test \"\${$as_ac_var+set}\" = set"; then
37305 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 else
37307 cat >conftest.$ac_ext <<_ACEOF
37308 /* confdefs.h. */
37309 _ACEOF
37310 cat confdefs.h >>conftest.$ac_ext
37311 cat >>conftest.$ac_ext <<_ACEOF
37312 /* end confdefs.h. */
37313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37315 #define $ac_func innocuous_$ac_func
37316
37317 /* System header to define __stub macros and hopefully few prototypes,
37318 which can conflict with char $ac_func (); below.
37319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37320 <limits.h> exists even on freestanding compilers. */
37321
37322 #ifdef __STDC__
37323 # include <limits.h>
37324 #else
37325 # include <assert.h>
37326 #endif
37327
37328 #undef $ac_func
37329
37330 /* Override any gcc2 internal prototype to avoid an error. */
37331 #ifdef __cplusplus
37332 extern "C"
37333 {
37334 #endif
37335 /* We use char because int might match the return type of a gcc2
37336 builtin and then its argument prototype would still apply. */
37337 char $ac_func ();
37338 /* The GNU C library defines this for functions which it implements
37339 to always fail with ENOSYS. Some functions are actually named
37340 something starting with __ and the normal name is an alias. */
37341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37342 choke me
37343 #else
37344 char (*f) () = $ac_func;
37345 #endif
37346 #ifdef __cplusplus
37347 }
37348 #endif
37349
37350 int
37351 main ()
37352 {
37353 return f != $ac_func;
37354 ;
37355 return 0;
37356 }
37357 _ACEOF
37358 rm -f conftest.$ac_objext conftest$ac_exeext
37359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37360 (eval $ac_link) 2>conftest.er1
37361 ac_status=$?
37362 grep -v '^ *+' conftest.er1 >conftest.err
37363 rm -f conftest.er1
37364 cat conftest.err >&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); } &&
37367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37370 ac_status=$?
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; } &&
37373 { ac_try='test -s conftest$ac_exeext'
37374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375 (eval $ac_try) 2>&5
37376 ac_status=$?
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); }; }; then
37379 eval "$as_ac_var=yes"
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37383
37384 eval "$as_ac_var=no"
37385 fi
37386 rm -f conftest.err conftest.$ac_objext \
37387 conftest$ac_exeext conftest.$ac_ext
37388 fi
37389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37391 if test `eval echo '${'$as_ac_var'}'` = yes; then
37392 cat >>confdefs.h <<_ACEOF
37393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37394 _ACEOF
37395 break
37396 fi
37397 done
37398
37399
37400 echo "$as_me:$LINENO: checking for statfs" >&5
37401 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37402 if test "${wx_cv_func_statfs+set}" = set; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 else
37405 cat >conftest.$ac_ext <<_ACEOF
37406 /* confdefs.h. */
37407 _ACEOF
37408 cat confdefs.h >>conftest.$ac_ext
37409 cat >>conftest.$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411
37412 #if defined(__BSD__)
37413 #include <sys/param.h>
37414 #include <sys/mount.h>
37415 #else
37416 #include <sys/vfs.h>
37417 #endif
37418
37419 int
37420 main ()
37421 {
37422
37423 long l;
37424 struct statfs fs;
37425 statfs("/", &fs);
37426 l = fs.f_bsize;
37427 l += fs.f_blocks;
37428 l += fs.f_bavail;
37429
37430 ;
37431 return 0;
37432 }
37433 _ACEOF
37434 rm -f conftest.$ac_objext
37435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37436 (eval $ac_compile) 2>conftest.er1
37437 ac_status=$?
37438 grep -v '^ *+' conftest.er1 >conftest.err
37439 rm -f conftest.er1
37440 cat conftest.err >&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } &&
37443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37445 (eval $ac_try) 2>&5
37446 ac_status=$?
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); }; } &&
37449 { ac_try='test -s conftest.$ac_objext'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37452 ac_status=$?
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; }; then
37455 wx_cv_func_statfs=yes
37456 else
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37459
37460 wx_cv_func_statfs=no
37461
37462 fi
37463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37464
37465 fi
37466 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37467 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37468
37469 if test "$wx_cv_func_statfs" = "yes"; then
37470 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37471 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37472 if test "${wx_cv_func_statfs_decl+set}" = set; then
37473 echo $ECHO_N "(cached) $ECHO_C" >&6
37474 else
37475 cat >conftest.$ac_ext <<_ACEOF
37476 /* confdefs.h. */
37477 _ACEOF
37478 cat confdefs.h >>conftest.$ac_ext
37479 cat >>conftest.$ac_ext <<_ACEOF
37480 /* end confdefs.h. */
37481
37482 #if defined(__BSD__)
37483 #include <sys/param.h>
37484 #include <sys/mount.h>
37485 #else
37486 #include <sys/vfs.h>
37487 #endif
37488
37489 int
37490 main ()
37491 {
37492
37493 struct statfs fs;
37494 statfs("", &fs);
37495
37496 ;
37497 return 0;
37498 }
37499 _ACEOF
37500 rm -f conftest.$ac_objext
37501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37502 (eval $ac_compile) 2>conftest.er1
37503 ac_status=$?
37504 grep -v '^ *+' conftest.er1 >conftest.err
37505 rm -f conftest.er1
37506 cat conftest.err >&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); } &&
37509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511 (eval $ac_try) 2>&5
37512 ac_status=$?
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); }; } &&
37515 { ac_try='test -s conftest.$ac_objext'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37518 ac_status=$?
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; }; then
37521 wx_cv_func_statfs_decl=yes
37522 else
37523 echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37525
37526 wx_cv_func_statfs_decl=no
37527
37528 fi
37529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37530
37531 fi
37532 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37533 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37534
37535 if test "$wx_cv_func_statfs_decl" = "yes"; then
37536 cat >>confdefs.h <<\_ACEOF
37537 #define HAVE_STATFS_DECL 1
37538 _ACEOF
37539
37540 fi
37541
37542 wx_cv_type_statvfs_t="struct statfs"
37543 cat >>confdefs.h <<\_ACEOF
37544 #define HAVE_STATFS 1
37545 _ACEOF
37546
37547 else
37548 echo "$as_me:$LINENO: checking for statvfs" >&5
37549 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37550 if test "${wx_cv_func_statvfs+set}" = set; then
37551 echo $ECHO_N "(cached) $ECHO_C" >&6
37552 else
37553 cat >conftest.$ac_ext <<_ACEOF
37554 /* confdefs.h. */
37555 _ACEOF
37556 cat confdefs.h >>conftest.$ac_ext
37557 cat >>conftest.$ac_ext <<_ACEOF
37558 /* end confdefs.h. */
37559
37560 #include <stddef.h>
37561 #include <sys/statvfs.h>
37562
37563 int
37564 main ()
37565 {
37566
37567 statvfs("/", NULL);
37568
37569 ;
37570 return 0;
37571 }
37572 _ACEOF
37573 rm -f conftest.$ac_objext
37574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37575 (eval $ac_compile) 2>conftest.er1
37576 ac_status=$?
37577 grep -v '^ *+' conftest.er1 >conftest.err
37578 rm -f conftest.er1
37579 cat conftest.err >&5
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); } &&
37582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584 (eval $ac_try) 2>&5
37585 ac_status=$?
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); }; } &&
37588 { ac_try='test -s conftest.$ac_objext'
37589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37590 (eval $ac_try) 2>&5
37591 ac_status=$?
37592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37593 (exit $ac_status); }; }; then
37594 wx_cv_func_statvfs=yes
37595 else
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37598
37599 wx_cv_func_statvfs=no
37600
37601 fi
37602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37603
37604 fi
37605 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37606 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37607
37608 if test "$wx_cv_func_statvfs" = "yes"; then
37609 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37610 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37611 if test "${wx_cv_type_statvfs_t+set}" = set; then
37612 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 else
37614 cat >conftest.$ac_ext <<_ACEOF
37615 /* confdefs.h. */
37616 _ACEOF
37617 cat confdefs.h >>conftest.$ac_ext
37618 cat >>conftest.$ac_ext <<_ACEOF
37619 /* end confdefs.h. */
37620
37621 #include <sys/statvfs.h>
37622
37623 int
37624 main ()
37625 {
37626
37627 long l;
37628 statvfs_t fs;
37629 statvfs("/", &fs);
37630 l = fs.f_bsize;
37631 l += fs.f_blocks;
37632 l += fs.f_bavail;
37633
37634 ;
37635 return 0;
37636 }
37637 _ACEOF
37638 rm -f conftest.$ac_objext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37640 (eval $ac_compile) 2>conftest.er1
37641 ac_status=$?
37642 grep -v '^ *+' conftest.er1 >conftest.err
37643 rm -f conftest.er1
37644 cat conftest.err >&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } &&
37647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37649 (eval $ac_try) 2>&5
37650 ac_status=$?
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); }; } &&
37653 { ac_try='test -s conftest.$ac_objext'
37654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37655 (eval $ac_try) 2>&5
37656 ac_status=$?
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); }; }; then
37659 wx_cv_type_statvfs_t=statvfs_t
37660 else
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37663
37664
37665 cat >conftest.$ac_ext <<_ACEOF
37666 /* confdefs.h. */
37667 _ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37671
37672 #include <sys/statvfs.h>
37673
37674 int
37675 main ()
37676 {
37677
37678 long l;
37679 struct statvfs fs;
37680 statvfs("/", &fs);
37681 l = fs.f_bsize;
37682 l += fs.f_blocks;
37683 l += fs.f_bavail;
37684
37685 ;
37686 return 0;
37687 }
37688 _ACEOF
37689 rm -f conftest.$ac_objext
37690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37691 (eval $ac_compile) 2>conftest.er1
37692 ac_status=$?
37693 grep -v '^ *+' conftest.er1 >conftest.err
37694 rm -f conftest.er1
37695 cat conftest.err >&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } &&
37698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37701 ac_status=$?
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; } &&
37704 { ac_try='test -s conftest.$ac_objext'
37705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37706 (eval $ac_try) 2>&5
37707 ac_status=$?
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); }; }; then
37710 wx_cv_type_statvfs_t="struct statvfs"
37711 else
37712 echo "$as_me: failed program was:" >&5
37713 sed 's/^/| /' conftest.$ac_ext >&5
37714
37715 wx_cv_type_statvfs_t="unknown"
37716
37717 fi
37718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37719
37720
37721 fi
37722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37723
37724 fi
37725 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37726 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37727
37728 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37729 cat >>confdefs.h <<\_ACEOF
37730 #define HAVE_STATVFS 1
37731 _ACEOF
37732
37733 fi
37734 else
37735 wx_cv_type_statvfs_t="unknown"
37736 fi
37737 fi
37738
37739 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37740 cat >>confdefs.h <<_ACEOF
37741 #define WX_STATFS_T $wx_cv_type_statvfs_t
37742 _ACEOF
37743
37744 else
37745 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37746 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37747 fi
37748
37749 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37750
37751
37752 for ac_func in fcntl flock
37753 do
37754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37755 echo "$as_me:$LINENO: checking for $ac_func" >&5
37756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37757 if eval "test \"\${$as_ac_var+set}\" = set"; then
37758 echo $ECHO_N "(cached) $ECHO_C" >&6
37759 else
37760 cat >conftest.$ac_ext <<_ACEOF
37761 /* confdefs.h. */
37762 _ACEOF
37763 cat confdefs.h >>conftest.$ac_ext
37764 cat >>conftest.$ac_ext <<_ACEOF
37765 /* end confdefs.h. */
37766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37768 #define $ac_func innocuous_$ac_func
37769
37770 /* System header to define __stub macros and hopefully few prototypes,
37771 which can conflict with char $ac_func (); below.
37772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37773 <limits.h> exists even on freestanding compilers. */
37774
37775 #ifdef __STDC__
37776 # include <limits.h>
37777 #else
37778 # include <assert.h>
37779 #endif
37780
37781 #undef $ac_func
37782
37783 /* Override any gcc2 internal prototype to avoid an error. */
37784 #ifdef __cplusplus
37785 extern "C"
37786 {
37787 #endif
37788 /* We use char because int might match the return type of a gcc2
37789 builtin and then its argument prototype would still apply. */
37790 char $ac_func ();
37791 /* The GNU C library defines this for functions which it implements
37792 to always fail with ENOSYS. Some functions are actually named
37793 something starting with __ and the normal name is an alias. */
37794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37795 choke me
37796 #else
37797 char (*f) () = $ac_func;
37798 #endif
37799 #ifdef __cplusplus
37800 }
37801 #endif
37802
37803 int
37804 main ()
37805 {
37806 return f != $ac_func;
37807 ;
37808 return 0;
37809 }
37810 _ACEOF
37811 rm -f conftest.$ac_objext conftest$ac_exeext
37812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37813 (eval $ac_link) 2>conftest.er1
37814 ac_status=$?
37815 grep -v '^ *+' conftest.er1 >conftest.err
37816 rm -f conftest.er1
37817 cat conftest.err >&5
37818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37819 (exit $ac_status); } &&
37820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37822 (eval $ac_try) 2>&5
37823 ac_status=$?
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); }; } &&
37826 { ac_try='test -s conftest$ac_exeext'
37827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828 (eval $ac_try) 2>&5
37829 ac_status=$?
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); }; }; then
37832 eval "$as_ac_var=yes"
37833 else
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.$ac_ext >&5
37836
37837 eval "$as_ac_var=no"
37838 fi
37839 rm -f conftest.err conftest.$ac_objext \
37840 conftest$ac_exeext conftest.$ac_ext
37841 fi
37842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37844 if test `eval echo '${'$as_ac_var'}'` = yes; then
37845 cat >>confdefs.h <<_ACEOF
37846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37847 _ACEOF
37848 break
37849 fi
37850 done
37851
37852
37853 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37854 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37855 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37856 wxUSE_SNGLINST_CHECKER=no
37857 fi
37858 fi
37859
37860
37861 for ac_func in timegm
37862 do
37863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37864 echo "$as_me:$LINENO: checking for $ac_func" >&5
37865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37866 if eval "test \"\${$as_ac_var+set}\" = set"; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 else
37869 cat >conftest.$ac_ext <<_ACEOF
37870 /* confdefs.h. */
37871 _ACEOF
37872 cat confdefs.h >>conftest.$ac_ext
37873 cat >>conftest.$ac_ext <<_ACEOF
37874 /* end confdefs.h. */
37875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37877 #define $ac_func innocuous_$ac_func
37878
37879 /* System header to define __stub macros and hopefully few prototypes,
37880 which can conflict with char $ac_func (); below.
37881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37882 <limits.h> exists even on freestanding compilers. */
37883
37884 #ifdef __STDC__
37885 # include <limits.h>
37886 #else
37887 # include <assert.h>
37888 #endif
37889
37890 #undef $ac_func
37891
37892 /* Override any gcc2 internal prototype to avoid an error. */
37893 #ifdef __cplusplus
37894 extern "C"
37895 {
37896 #endif
37897 /* We use char because int might match the return type of a gcc2
37898 builtin and then its argument prototype would still apply. */
37899 char $ac_func ();
37900 /* The GNU C library defines this for functions which it implements
37901 to always fail with ENOSYS. Some functions are actually named
37902 something starting with __ and the normal name is an alias. */
37903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37904 choke me
37905 #else
37906 char (*f) () = $ac_func;
37907 #endif
37908 #ifdef __cplusplus
37909 }
37910 #endif
37911
37912 int
37913 main ()
37914 {
37915 return f != $ac_func;
37916 ;
37917 return 0;
37918 }
37919 _ACEOF
37920 rm -f conftest.$ac_objext conftest$ac_exeext
37921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37922 (eval $ac_link) 2>conftest.er1
37923 ac_status=$?
37924 grep -v '^ *+' conftest.er1 >conftest.err
37925 rm -f conftest.er1
37926 cat conftest.err >&5
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); } &&
37929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; } &&
37935 { ac_try='test -s conftest$ac_exeext'
37936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37937 (eval $ac_try) 2>&5
37938 ac_status=$?
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); }; }; then
37941 eval "$as_ac_var=yes"
37942 else
37943 echo "$as_me: failed program was:" >&5
37944 sed 's/^/| /' conftest.$ac_ext >&5
37945
37946 eval "$as_ac_var=no"
37947 fi
37948 rm -f conftest.err conftest.$ac_objext \
37949 conftest$ac_exeext conftest.$ac_ext
37950 fi
37951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37953 if test `eval echo '${'$as_ac_var'}'` = yes; then
37954 cat >>confdefs.h <<_ACEOF
37955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37956 _ACEOF
37957
37958 fi
37959 done
37960
37961
37962
37963
37964 for ac_func in putenv setenv
37965 do
37966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37967 echo "$as_me:$LINENO: checking for $ac_func" >&5
37968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37969 if eval "test \"\${$as_ac_var+set}\" = set"; then
37970 echo $ECHO_N "(cached) $ECHO_C" >&6
37971 else
37972 cat >conftest.$ac_ext <<_ACEOF
37973 /* confdefs.h. */
37974 _ACEOF
37975 cat confdefs.h >>conftest.$ac_ext
37976 cat >>conftest.$ac_ext <<_ACEOF
37977 /* end confdefs.h. */
37978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37980 #define $ac_func innocuous_$ac_func
37981
37982 /* System header to define __stub macros and hopefully few prototypes,
37983 which can conflict with char $ac_func (); below.
37984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37985 <limits.h> exists even on freestanding compilers. */
37986
37987 #ifdef __STDC__
37988 # include <limits.h>
37989 #else
37990 # include <assert.h>
37991 #endif
37992
37993 #undef $ac_func
37994
37995 /* Override any gcc2 internal prototype to avoid an error. */
37996 #ifdef __cplusplus
37997 extern "C"
37998 {
37999 #endif
38000 /* We use char because int might match the return type of a gcc2
38001 builtin and then its argument prototype would still apply. */
38002 char $ac_func ();
38003 /* The GNU C library defines this for functions which it implements
38004 to always fail with ENOSYS. Some functions are actually named
38005 something starting with __ and the normal name is an alias. */
38006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38007 choke me
38008 #else
38009 char (*f) () = $ac_func;
38010 #endif
38011 #ifdef __cplusplus
38012 }
38013 #endif
38014
38015 int
38016 main ()
38017 {
38018 return f != $ac_func;
38019 ;
38020 return 0;
38021 }
38022 _ACEOF
38023 rm -f conftest.$ac_objext conftest$ac_exeext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38025 (eval $ac_link) 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 eval "$as_ac_var=yes"
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38048
38049 eval "$as_ac_var=no"
38050 fi
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38053 fi
38054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38056 if test `eval echo '${'$as_ac_var'}'` = yes; then
38057 cat >>confdefs.h <<_ACEOF
38058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38059 _ACEOF
38060 break
38061 fi
38062 done
38063
38064
38065 HAVE_SOME_SLEEP_FUNC=0
38066 if test "$USE_BEOS" = 1; then
38067 cat >>confdefs.h <<\_ACEOF
38068 #define HAVE_SLEEP 1
38069 _ACEOF
38070
38071 HAVE_SOME_SLEEP_FUNC=1
38072 fi
38073
38074 if test "$USE_DARWIN" = 1; then
38075 cat >>confdefs.h <<\_ACEOF
38076 #define HAVE_USLEEP 1
38077 _ACEOF
38078
38079 HAVE_SOME_SLEEP_FUNC=1
38080 fi
38081
38082 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38083 POSIX4_LINK=
38084
38085 for ac_func in nanosleep
38086 do
38087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38088 echo "$as_me:$LINENO: checking for $ac_func" >&5
38089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38090 if eval "test \"\${$as_ac_var+set}\" = set"; then
38091 echo $ECHO_N "(cached) $ECHO_C" >&6
38092 else
38093 cat >conftest.$ac_ext <<_ACEOF
38094 /* confdefs.h. */
38095 _ACEOF
38096 cat confdefs.h >>conftest.$ac_ext
38097 cat >>conftest.$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38101 #define $ac_func innocuous_$ac_func
38102
38103 /* System header to define __stub macros and hopefully few prototypes,
38104 which can conflict with char $ac_func (); below.
38105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38106 <limits.h> exists even on freestanding compilers. */
38107
38108 #ifdef __STDC__
38109 # include <limits.h>
38110 #else
38111 # include <assert.h>
38112 #endif
38113
38114 #undef $ac_func
38115
38116 /* Override any gcc2 internal prototype to avoid an error. */
38117 #ifdef __cplusplus
38118 extern "C"
38119 {
38120 #endif
38121 /* We use char because int might match the return type of a gcc2
38122 builtin and then its argument prototype would still apply. */
38123 char $ac_func ();
38124 /* The GNU C library defines this for functions which it implements
38125 to always fail with ENOSYS. Some functions are actually named
38126 something starting with __ and the normal name is an alias. */
38127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38128 choke me
38129 #else
38130 char (*f) () = $ac_func;
38131 #endif
38132 #ifdef __cplusplus
38133 }
38134 #endif
38135
38136 int
38137 main ()
38138 {
38139 return f != $ac_func;
38140 ;
38141 return 0;
38142 }
38143 _ACEOF
38144 rm -f conftest.$ac_objext conftest$ac_exeext
38145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38146 (eval $ac_link) 2>conftest.er1
38147 ac_status=$?
38148 grep -v '^ *+' conftest.er1 >conftest.err
38149 rm -f conftest.er1
38150 cat conftest.err >&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); } &&
38153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38155 (eval $ac_try) 2>&5
38156 ac_status=$?
38157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158 (exit $ac_status); }; } &&
38159 { ac_try='test -s conftest$ac_exeext'
38160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38161 (eval $ac_try) 2>&5
38162 ac_status=$?
38163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38164 (exit $ac_status); }; }; then
38165 eval "$as_ac_var=yes"
38166 else
38167 echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38169
38170 eval "$as_ac_var=no"
38171 fi
38172 rm -f conftest.err conftest.$ac_objext \
38173 conftest$ac_exeext conftest.$ac_ext
38174 fi
38175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38177 if test `eval echo '${'$as_ac_var'}'` = yes; then
38178 cat >>confdefs.h <<_ACEOF
38179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38180 _ACEOF
38181 cat >>confdefs.h <<\_ACEOF
38182 #define HAVE_NANOSLEEP 1
38183 _ACEOF
38184
38185 else
38186
38187 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38188 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38189 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 else
38192 ac_check_lib_save_LIBS=$LIBS
38193 LIBS="-lposix4 $LIBS"
38194 cat >conftest.$ac_ext <<_ACEOF
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200
38201 /* Override any gcc2 internal prototype to avoid an error. */
38202 #ifdef __cplusplus
38203 extern "C"
38204 #endif
38205 /* We use char because int might match the return type of a gcc2
38206 builtin and then its argument prototype would still apply. */
38207 char nanosleep ();
38208 int
38209 main ()
38210 {
38211 nanosleep ();
38212 ;
38213 return 0;
38214 }
38215 _ACEOF
38216 rm -f conftest.$ac_objext conftest$ac_exeext
38217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38218 (eval $ac_link) 2>conftest.er1
38219 ac_status=$?
38220 grep -v '^ *+' conftest.er1 >conftest.err
38221 rm -f conftest.er1
38222 cat conftest.err >&5
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); } &&
38225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38227 (eval $ac_try) 2>&5
38228 ac_status=$?
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); }; } &&
38231 { ac_try='test -s conftest$ac_exeext'
38232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38233 (eval $ac_try) 2>&5
38234 ac_status=$?
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); }; }; then
38237 ac_cv_lib_posix4_nanosleep=yes
38238 else
38239 echo "$as_me: failed program was:" >&5
38240 sed 's/^/| /' conftest.$ac_ext >&5
38241
38242 ac_cv_lib_posix4_nanosleep=no
38243 fi
38244 rm -f conftest.err conftest.$ac_objext \
38245 conftest$ac_exeext conftest.$ac_ext
38246 LIBS=$ac_check_lib_save_LIBS
38247 fi
38248 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38249 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38250 if test $ac_cv_lib_posix4_nanosleep = yes; then
38251
38252 cat >>confdefs.h <<\_ACEOF
38253 #define HAVE_NANOSLEEP 1
38254 _ACEOF
38255
38256 POSIX4_LINK=" -lposix4"
38257
38258 else
38259
38260
38261 for wx_func in usleep
38262 do
38263 echo "$as_me:$LINENO: checking for $wx_func" >&5
38264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38265 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38266 echo $ECHO_N "(cached) $ECHO_C" >&6
38267 else
38268
38269 cat >conftest.$ac_ext <<_ACEOF
38270
38271 /* confdefs.h. */
38272 _ACEOF
38273 cat confdefs.h >>conftest.$ac_ext
38274 cat >>conftest.$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38276
38277
38278 $ac_includes_default
38279
38280 int
38281 main ()
38282 {
38283
38284 #ifndef $wx_func
38285 &$wx_func;
38286 #endif
38287
38288
38289 ;
38290 return 0;
38291 }
38292
38293 _ACEOF
38294 rm -f conftest.$ac_objext conftest$ac_exeext
38295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38296 (eval $ac_link) 2>conftest.er1
38297 ac_status=$?
38298 grep -v '^ *+' conftest.er1 >conftest.err
38299 rm -f conftest.er1
38300 cat conftest.err >&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } &&
38303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38305 (eval $ac_try) 2>&5
38306 ac_status=$?
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; } &&
38309 { ac_try='test -s conftest$ac_exeext'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38312 ac_status=$?
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; }; then
38315 eval wx_cv_func_$wx_func=yes
38316 else
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.$ac_ext >&5
38319
38320 eval wx_cv_func_$wx_func=no
38321 fi
38322 rm -f conftest.err conftest.$ac_objext \
38323 conftest$ac_exeext conftest.$ac_ext
38324
38325 fi
38326 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38327 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38328
38329 if eval test \$wx_cv_func_$wx_func = yes
38330 then
38331 cat >>confdefs.h <<_ACEOF
38332 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38333 _ACEOF
38334
38335
38336 else
38337 :
38338 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38339 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38340
38341 fi
38342 done
38343
38344
38345
38346 fi
38347
38348
38349
38350 fi
38351 done
38352
38353 fi
38354
38355
38356 for wx_func in uname gethostname
38357 do
38358 echo "$as_me:$LINENO: checking for $wx_func" >&5
38359 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38360 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38362 else
38363
38364 cat >conftest.$ac_ext <<_ACEOF
38365
38366 /* confdefs.h. */
38367 _ACEOF
38368 cat confdefs.h >>conftest.$ac_ext
38369 cat >>conftest.$ac_ext <<_ACEOF
38370 /* end confdefs.h. */
38371
38372
38373 $ac_includes_default
38374
38375 int
38376 main ()
38377 {
38378
38379 #ifndef $wx_func
38380 &$wx_func;
38381 #endif
38382
38383
38384 ;
38385 return 0;
38386 }
38387
38388 _ACEOF
38389 rm -f conftest.$ac_objext conftest$ac_exeext
38390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38391 (eval $ac_link) 2>conftest.er1
38392 ac_status=$?
38393 grep -v '^ *+' conftest.er1 >conftest.err
38394 rm -f conftest.er1
38395 cat conftest.err >&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } &&
38398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38400 (eval $ac_try) 2>&5
38401 ac_status=$?
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); }; } &&
38404 { ac_try='test -s conftest$ac_exeext'
38405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38406 (eval $ac_try) 2>&5
38407 ac_status=$?
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); }; }; then
38410 eval wx_cv_func_$wx_func=yes
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38414
38415 eval wx_cv_func_$wx_func=no
38416 fi
38417 rm -f conftest.err conftest.$ac_objext \
38418 conftest$ac_exeext conftest.$ac_ext
38419
38420 fi
38421 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38422 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38423
38424 if eval test \$wx_cv_func_$wx_func = yes
38425 then
38426 cat >>confdefs.h <<_ACEOF
38427 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38428 _ACEOF
38429
38430 break
38431 else
38432 :
38433
38434 fi
38435 done
38436
38437
38438
38439 for wx_func in strtok_r
38440 do
38441 echo "$as_me:$LINENO: checking for $wx_func" >&5
38442 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38443 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38444 echo $ECHO_N "(cached) $ECHO_C" >&6
38445 else
38446
38447 cat >conftest.$ac_ext <<_ACEOF
38448
38449 /* confdefs.h. */
38450 _ACEOF
38451 cat confdefs.h >>conftest.$ac_ext
38452 cat >>conftest.$ac_ext <<_ACEOF
38453 /* end confdefs.h. */
38454
38455 #define _REENTRANT
38456 $ac_includes_default
38457
38458 int
38459 main ()
38460 {
38461
38462 #ifndef $wx_func
38463 &$wx_func;
38464 #endif
38465
38466
38467 ;
38468 return 0;
38469 }
38470
38471 _ACEOF
38472 rm -f conftest.$ac_objext conftest$ac_exeext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38474 (eval $ac_link) 2>conftest.er1
38475 ac_status=$?
38476 grep -v '^ *+' conftest.er1 >conftest.err
38477 rm -f conftest.er1
38478 cat conftest.err >&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38483 (eval $ac_try) 2>&5
38484 ac_status=$?
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); }; } &&
38487 { ac_try='test -s conftest$ac_exeext'
38488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38489 (eval $ac_try) 2>&5
38490 ac_status=$?
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); }; }; then
38493 eval wx_cv_func_$wx_func=yes
38494 else
38495 echo "$as_me: failed program was:" >&5
38496 sed 's/^/| /' conftest.$ac_ext >&5
38497
38498 eval wx_cv_func_$wx_func=no
38499 fi
38500 rm -f conftest.err conftest.$ac_objext \
38501 conftest$ac_exeext conftest.$ac_ext
38502
38503 fi
38504 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38505 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38506
38507 if eval test \$wx_cv_func_$wx_func = yes
38508 then
38509 cat >>confdefs.h <<_ACEOF
38510 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38511 _ACEOF
38512
38513
38514 else
38515 :
38516
38517 fi
38518 done
38519
38520
38521 INET_LINK=
38522
38523 for ac_func in inet_addr
38524 do
38525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38526 echo "$as_me:$LINENO: checking for $ac_func" >&5
38527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38528 if eval "test \"\${$as_ac_var+set}\" = set"; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 else
38531 cat >conftest.$ac_ext <<_ACEOF
38532 /* confdefs.h. */
38533 _ACEOF
38534 cat confdefs.h >>conftest.$ac_ext
38535 cat >>conftest.$ac_ext <<_ACEOF
38536 /* end confdefs.h. */
38537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38539 #define $ac_func innocuous_$ac_func
38540
38541 /* System header to define __stub macros and hopefully few prototypes,
38542 which can conflict with char $ac_func (); below.
38543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38544 <limits.h> exists even on freestanding compilers. */
38545
38546 #ifdef __STDC__
38547 # include <limits.h>
38548 #else
38549 # include <assert.h>
38550 #endif
38551
38552 #undef $ac_func
38553
38554 /* Override any gcc2 internal prototype to avoid an error. */
38555 #ifdef __cplusplus
38556 extern "C"
38557 {
38558 #endif
38559 /* We use char because int might match the return type of a gcc2
38560 builtin and then its argument prototype would still apply. */
38561 char $ac_func ();
38562 /* The GNU C library defines this for functions which it implements
38563 to always fail with ENOSYS. Some functions are actually named
38564 something starting with __ and the normal name is an alias. */
38565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38566 choke me
38567 #else
38568 char (*f) () = $ac_func;
38569 #endif
38570 #ifdef __cplusplus
38571 }
38572 #endif
38573
38574 int
38575 main ()
38576 {
38577 return f != $ac_func;
38578 ;
38579 return 0;
38580 }
38581 _ACEOF
38582 rm -f conftest.$ac_objext conftest$ac_exeext
38583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38584 (eval $ac_link) 2>conftest.er1
38585 ac_status=$?
38586 grep -v '^ *+' conftest.er1 >conftest.err
38587 rm -f conftest.er1
38588 cat conftest.err >&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); } &&
38591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38593 (eval $ac_try) 2>&5
38594 ac_status=$?
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); }; } &&
38597 { ac_try='test -s conftest$ac_exeext'
38598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38599 (eval $ac_try) 2>&5
38600 ac_status=$?
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); }; }; then
38603 eval "$as_ac_var=yes"
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38607
38608 eval "$as_ac_var=no"
38609 fi
38610 rm -f conftest.err conftest.$ac_objext \
38611 conftest$ac_exeext conftest.$ac_ext
38612 fi
38613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38615 if test `eval echo '${'$as_ac_var'}'` = yes; then
38616 cat >>confdefs.h <<_ACEOF
38617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38618 _ACEOF
38619 cat >>confdefs.h <<\_ACEOF
38620 #define HAVE_INET_ADDR 1
38621 _ACEOF
38622
38623 else
38624
38625 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38626 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38627 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38628 echo $ECHO_N "(cached) $ECHO_C" >&6
38629 else
38630 ac_check_lib_save_LIBS=$LIBS
38631 LIBS="-lnsl $LIBS"
38632 cat >conftest.$ac_ext <<_ACEOF
38633 /* confdefs.h. */
38634 _ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38638
38639 /* Override any gcc2 internal prototype to avoid an error. */
38640 #ifdef __cplusplus
38641 extern "C"
38642 #endif
38643 /* We use char because int might match the return type of a gcc2
38644 builtin and then its argument prototype would still apply. */
38645 char inet_addr ();
38646 int
38647 main ()
38648 {
38649 inet_addr ();
38650 ;
38651 return 0;
38652 }
38653 _ACEOF
38654 rm -f conftest.$ac_objext conftest$ac_exeext
38655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38656 (eval $ac_link) 2>conftest.er1
38657 ac_status=$?
38658 grep -v '^ *+' conftest.er1 >conftest.err
38659 rm -f conftest.er1
38660 cat conftest.err >&5
38661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38662 (exit $ac_status); } &&
38663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38665 (eval $ac_try) 2>&5
38666 ac_status=$?
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); }; } &&
38669 { ac_try='test -s conftest$ac_exeext'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38672 ac_status=$?
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; }; then
38675 ac_cv_lib_nsl_inet_addr=yes
38676 else
38677 echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38679
38680 ac_cv_lib_nsl_inet_addr=no
38681 fi
38682 rm -f conftest.err conftest.$ac_objext \
38683 conftest$ac_exeext conftest.$ac_ext
38684 LIBS=$ac_check_lib_save_LIBS
38685 fi
38686 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38687 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38688 if test $ac_cv_lib_nsl_inet_addr = yes; then
38689 INET_LINK="nsl"
38690 else
38691
38692 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38693 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38694 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38697 ac_check_lib_save_LIBS=$LIBS
38698 LIBS="-lresolv $LIBS"
38699 cat >conftest.$ac_ext <<_ACEOF
38700 /* confdefs.h. */
38701 _ACEOF
38702 cat confdefs.h >>conftest.$ac_ext
38703 cat >>conftest.$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38705
38706 /* Override any gcc2 internal prototype to avoid an error. */
38707 #ifdef __cplusplus
38708 extern "C"
38709 #endif
38710 /* We use char because int might match the return type of a gcc2
38711 builtin and then its argument prototype would still apply. */
38712 char inet_addr ();
38713 int
38714 main ()
38715 {
38716 inet_addr ();
38717 ;
38718 return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38723 (eval $ac_link) 2>conftest.er1
38724 ac_status=$?
38725 grep -v '^ *+' conftest.er1 >conftest.err
38726 rm -f conftest.er1
38727 cat conftest.err >&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } &&
38730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38732 (eval $ac_try) 2>&5
38733 ac_status=$?
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); }; } &&
38736 { ac_try='test -s conftest$ac_exeext'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38739 ac_status=$?
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; }; then
38742 ac_cv_lib_resolv_inet_addr=yes
38743 else
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.$ac_ext >&5
38746
38747 ac_cv_lib_resolv_inet_addr=no
38748 fi
38749 rm -f conftest.err conftest.$ac_objext \
38750 conftest$ac_exeext conftest.$ac_ext
38751 LIBS=$ac_check_lib_save_LIBS
38752 fi
38753 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38754 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38755 if test $ac_cv_lib_resolv_inet_addr = yes; then
38756 INET_LINK="resolv"
38757 else
38758
38759 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38760 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38761 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38762 echo $ECHO_N "(cached) $ECHO_C" >&6
38763 else
38764 ac_check_lib_save_LIBS=$LIBS
38765 LIBS="-lsocket $LIBS"
38766 cat >conftest.$ac_ext <<_ACEOF
38767 /* confdefs.h. */
38768 _ACEOF
38769 cat confdefs.h >>conftest.$ac_ext
38770 cat >>conftest.$ac_ext <<_ACEOF
38771 /* end confdefs.h. */
38772
38773 /* Override any gcc2 internal prototype to avoid an error. */
38774 #ifdef __cplusplus
38775 extern "C"
38776 #endif
38777 /* We use char because int might match the return type of a gcc2
38778 builtin and then its argument prototype would still apply. */
38779 char inet_addr ();
38780 int
38781 main ()
38782 {
38783 inet_addr ();
38784 ;
38785 return 0;
38786 }
38787 _ACEOF
38788 rm -f conftest.$ac_objext conftest$ac_exeext
38789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38790 (eval $ac_link) 2>conftest.er1
38791 ac_status=$?
38792 grep -v '^ *+' conftest.er1 >conftest.err
38793 rm -f conftest.er1
38794 cat conftest.err >&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); } &&
38797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38800 ac_status=$?
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; } &&
38803 { ac_try='test -s conftest$ac_exeext'
38804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38805 (eval $ac_try) 2>&5
38806 ac_status=$?
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); }; }; then
38809 ac_cv_lib_socket_inet_addr=yes
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814 ac_cv_lib_socket_inet_addr=no
38815 fi
38816 rm -f conftest.err conftest.$ac_objext \
38817 conftest$ac_exeext conftest.$ac_ext
38818 LIBS=$ac_check_lib_save_LIBS
38819 fi
38820 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38821 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38822 if test $ac_cv_lib_socket_inet_addr = yes; then
38823 INET_LINK="socket"
38824
38825 fi
38826
38827
38828
38829 fi
38830
38831
38832
38833 fi
38834
38835
38836
38837 fi
38838 done
38839
38840
38841
38842 for ac_func in inet_aton
38843 do
38844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38845 echo "$as_me:$LINENO: checking for $ac_func" >&5
38846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38847 if eval "test \"\${$as_ac_var+set}\" = set"; then
38848 echo $ECHO_N "(cached) $ECHO_C" >&6
38849 else
38850 cat >conftest.$ac_ext <<_ACEOF
38851 /* confdefs.h. */
38852 _ACEOF
38853 cat confdefs.h >>conftest.$ac_ext
38854 cat >>conftest.$ac_ext <<_ACEOF
38855 /* end confdefs.h. */
38856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38858 #define $ac_func innocuous_$ac_func
38859
38860 /* System header to define __stub macros and hopefully few prototypes,
38861 which can conflict with char $ac_func (); below.
38862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38863 <limits.h> exists even on freestanding compilers. */
38864
38865 #ifdef __STDC__
38866 # include <limits.h>
38867 #else
38868 # include <assert.h>
38869 #endif
38870
38871 #undef $ac_func
38872
38873 /* Override any gcc2 internal prototype to avoid an error. */
38874 #ifdef __cplusplus
38875 extern "C"
38876 {
38877 #endif
38878 /* We use char because int might match the return type of a gcc2
38879 builtin and then its argument prototype would still apply. */
38880 char $ac_func ();
38881 /* The GNU C library defines this for functions which it implements
38882 to always fail with ENOSYS. Some functions are actually named
38883 something starting with __ and the normal name is an alias. */
38884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38885 choke me
38886 #else
38887 char (*f) () = $ac_func;
38888 #endif
38889 #ifdef __cplusplus
38890 }
38891 #endif
38892
38893 int
38894 main ()
38895 {
38896 return f != $ac_func;
38897 ;
38898 return 0;
38899 }
38900 _ACEOF
38901 rm -f conftest.$ac_objext conftest$ac_exeext
38902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38903 (eval $ac_link) 2>conftest.er1
38904 ac_status=$?
38905 grep -v '^ *+' conftest.er1 >conftest.err
38906 rm -f conftest.er1
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } &&
38910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912 (eval $ac_try) 2>&5
38913 ac_status=$?
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); }; } &&
38916 { ac_try='test -s conftest$ac_exeext'
38917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38918 (eval $ac_try) 2>&5
38919 ac_status=$?
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); }; }; then
38922 eval "$as_ac_var=yes"
38923 else
38924 echo "$as_me: failed program was:" >&5
38925 sed 's/^/| /' conftest.$ac_ext >&5
38926
38927 eval "$as_ac_var=no"
38928 fi
38929 rm -f conftest.err conftest.$ac_objext \
38930 conftest$ac_exeext conftest.$ac_ext
38931 fi
38932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38934 if test `eval echo '${'$as_ac_var'}'` = yes; then
38935 cat >>confdefs.h <<_ACEOF
38936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38937 _ACEOF
38938 cat >>confdefs.h <<\_ACEOF
38939 #define HAVE_INET_ATON 1
38940 _ACEOF
38941
38942 else
38943
38944 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38945 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38946 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38947 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38948 echo $ECHO_N "(cached) $ECHO_C" >&6
38949 else
38950 ac_check_lib_save_LIBS=$LIBS
38951 LIBS="-l$INET_LINK $LIBS"
38952 cat >conftest.$ac_ext <<_ACEOF
38953 /* confdefs.h. */
38954 _ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958
38959 /* Override any gcc2 internal prototype to avoid an error. */
38960 #ifdef __cplusplus
38961 extern "C"
38962 #endif
38963 /* We use char because int might match the return type of a gcc2
38964 builtin and then its argument prototype would still apply. */
38965 char inet_aton ();
38966 int
38967 main ()
38968 {
38969 inet_aton ();
38970 ;
38971 return 0;
38972 }
38973 _ACEOF
38974 rm -f conftest.$ac_objext conftest$ac_exeext
38975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38976 (eval $ac_link) 2>conftest.er1
38977 ac_status=$?
38978 grep -v '^ *+' conftest.er1 >conftest.err
38979 rm -f conftest.er1
38980 cat conftest.err >&5
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); } &&
38983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38985 (eval $ac_try) 2>&5
38986 ac_status=$?
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); }; } &&
38989 { ac_try='test -s conftest$ac_exeext'
38990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38991 (eval $ac_try) 2>&5
38992 ac_status=$?
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); }; }; then
38995 eval "$as_ac_Lib=yes"
38996 else
38997 echo "$as_me: failed program was:" >&5
38998 sed 's/^/| /' conftest.$ac_ext >&5
38999
39000 eval "$as_ac_Lib=no"
39001 fi
39002 rm -f conftest.err conftest.$ac_objext \
39003 conftest$ac_exeext conftest.$ac_ext
39004 LIBS=$ac_check_lib_save_LIBS
39005 fi
39006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39007 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39008 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39009 cat >>confdefs.h <<\_ACEOF
39010 #define HAVE_INET_ATON 1
39011 _ACEOF
39012
39013 fi
39014
39015
39016 fi
39017 done
39018
39019
39020 if test "x$INET_LINK" != "x"; then
39021 cat >>confdefs.h <<\_ACEOF
39022 #define HAVE_INET_ADDR 1
39023 _ACEOF
39024
39025 INET_LINK=" -l$INET_LINK"
39026 fi
39027
39028
39029 for wx_func in fdopen
39030 do
39031 echo "$as_me:$LINENO: checking for $wx_func" >&5
39032 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39033 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39034 echo $ECHO_N "(cached) $ECHO_C" >&6
39035 else
39036
39037 cat >conftest.$ac_ext <<_ACEOF
39038
39039 /* confdefs.h. */
39040 _ACEOF
39041 cat confdefs.h >>conftest.$ac_ext
39042 cat >>conftest.$ac_ext <<_ACEOF
39043 /* end confdefs.h. */
39044
39045
39046 $ac_includes_default
39047
39048 int
39049 main ()
39050 {
39051
39052 #ifndef $wx_func
39053 &$wx_func;
39054 #endif
39055
39056
39057 ;
39058 return 0;
39059 }
39060
39061 _ACEOF
39062 rm -f conftest.$ac_objext conftest$ac_exeext
39063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39064 (eval $ac_link) 2>conftest.er1
39065 ac_status=$?
39066 grep -v '^ *+' conftest.er1 >conftest.err
39067 rm -f conftest.er1
39068 cat conftest.err >&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); } &&
39071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39073 (eval $ac_try) 2>&5
39074 ac_status=$?
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); }; } &&
39077 { ac_try='test -s conftest$ac_exeext'
39078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39079 (eval $ac_try) 2>&5
39080 ac_status=$?
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); }; }; then
39083 eval wx_cv_func_$wx_func=yes
39084 else
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39087
39088 eval wx_cv_func_$wx_func=no
39089 fi
39090 rm -f conftest.err conftest.$ac_objext \
39091 conftest$ac_exeext conftest.$ac_ext
39092
39093 fi
39094 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39095 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39096
39097 if eval test \$wx_cv_func_$wx_func = yes
39098 then
39099 cat >>confdefs.h <<_ACEOF
39100 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39101 _ACEOF
39102
39103
39104 else
39105 :
39106
39107 fi
39108 done
39109
39110
39111 fi
39112
39113
39114
39115
39116 EXTRALIBS_ESD=
39117 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39118 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39119 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39122 ac_check_lib_save_LIBS=$LIBS
39123 LIBS="-lesd $LIBS"
39124 cat >conftest.$ac_ext <<_ACEOF
39125 /* confdefs.h. */
39126 _ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130
39131 /* Override any gcc2 internal prototype to avoid an error. */
39132 #ifdef __cplusplus
39133 extern "C"
39134 #endif
39135 /* We use char because int might match the return type of a gcc2
39136 builtin and then its argument prototype would still apply. */
39137 char esd_close ();
39138 int
39139 main ()
39140 {
39141 esd_close ();
39142 ;
39143 return 0;
39144 }
39145 _ACEOF
39146 rm -f conftest.$ac_objext conftest$ac_exeext
39147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39148 (eval $ac_link) 2>conftest.er1
39149 ac_status=$?
39150 grep -v '^ *+' conftest.er1 >conftest.err
39151 rm -f conftest.er1
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } &&
39155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39157 (eval $ac_try) 2>&5
39158 ac_status=$?
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); }; } &&
39161 { ac_try='test -s conftest$ac_exeext'
39162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39163 (eval $ac_try) 2>&5
39164 ac_status=$?
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); }; }; then
39167 ac_cv_lib_esd_esd_close=yes
39168 else
39169 echo "$as_me: failed program was:" >&5
39170 sed 's/^/| /' conftest.$ac_ext >&5
39171
39172 ac_cv_lib_esd_esd_close=no
39173 fi
39174 rm -f conftest.err conftest.$ac_objext \
39175 conftest$ac_exeext conftest.$ac_ext
39176 LIBS=$ac_check_lib_save_LIBS
39177 fi
39178 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39179 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39180 if test $ac_cv_lib_esd_esd_close = yes; then
39181
39182
39183 for ac_header in esd.h
39184 do
39185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39187 echo "$as_me:$LINENO: checking for $ac_header" >&5
39188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39190 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 fi
39192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39194 else
39195 # Is the header compilable?
39196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39198 cat >conftest.$ac_ext <<_ACEOF
39199 /* confdefs.h. */
39200 _ACEOF
39201 cat confdefs.h >>conftest.$ac_ext
39202 cat >>conftest.$ac_ext <<_ACEOF
39203 /* end confdefs.h. */
39204 $ac_includes_default
39205 #include <$ac_header>
39206 _ACEOF
39207 rm -f conftest.$ac_objext
39208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39209 (eval $ac_compile) 2>conftest.er1
39210 ac_status=$?
39211 grep -v '^ *+' conftest.er1 >conftest.err
39212 rm -f conftest.er1
39213 cat conftest.err >&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } &&
39216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39219 ac_status=$?
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; } &&
39222 { ac_try='test -s conftest.$ac_objext'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39225 ac_status=$?
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; }; then
39228 ac_header_compiler=yes
39229 else
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.$ac_ext >&5
39232
39233 ac_header_compiler=no
39234 fi
39235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39237 echo "${ECHO_T}$ac_header_compiler" >&6
39238
39239 # Is the header present?
39240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39242 cat >conftest.$ac_ext <<_ACEOF
39243 /* confdefs.h. */
39244 _ACEOF
39245 cat confdefs.h >>conftest.$ac_ext
39246 cat >>conftest.$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39248 #include <$ac_header>
39249 _ACEOF
39250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39252 ac_status=$?
39253 grep -v '^ *+' conftest.er1 >conftest.err
39254 rm -f conftest.er1
39255 cat conftest.err >&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); } >/dev/null; then
39258 if test -s conftest.err; then
39259 ac_cpp_err=$ac_c_preproc_warn_flag
39260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39261 else
39262 ac_cpp_err=
39263 fi
39264 else
39265 ac_cpp_err=yes
39266 fi
39267 if test -z "$ac_cpp_err"; then
39268 ac_header_preproc=yes
39269 else
39270 echo "$as_me: failed program was:" >&5
39271 sed 's/^/| /' conftest.$ac_ext >&5
39272
39273 ac_header_preproc=no
39274 fi
39275 rm -f conftest.err conftest.$ac_ext
39276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39277 echo "${ECHO_T}$ac_header_preproc" >&6
39278
39279 # So? What about this header?
39280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39281 yes:no: )
39282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39286 ac_header_preproc=yes
39287 ;;
39288 no:yes:* )
39289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39301 (
39302 cat <<\_ASBOX
39303 ## ----------------------------------------- ##
39304 ## Report this to wx-dev@lists.wxwidgets.org ##
39305 ## ----------------------------------------- ##
39306 _ASBOX
39307 ) |
39308 sed "s/^/$as_me: WARNING: /" >&2
39309 ;;
39310 esac
39311 echo "$as_me:$LINENO: checking for $ac_header" >&5
39312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 else
39316 eval "$as_ac_Header=\$ac_header_preproc"
39317 fi
39318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39320
39321 fi
39322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39323 cat >>confdefs.h <<_ACEOF
39324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39325 _ACEOF
39326
39327 EXTRALIBS_ESD="-lesd"
39328
39329 fi
39330
39331 done
39332
39333
39334 fi
39335
39336
39337
39338 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39339 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39340 cat >conftest.$ac_ext <<_ACEOF
39341 /* confdefs.h. */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346 #ifdef __linux__
39347 #include <linux/cdrom.h>
39348 #else
39349 /* For Solaris */
39350 #include <sys/cdio.h>
39351 #endif
39352
39353 int
39354 main ()
39355 {
39356 struct cdrom_tocentry entry, old_entry;
39357 ;
39358 return 0;
39359 }
39360 _ACEOF
39361 rm -f conftest.$ac_objext
39362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39363 (eval $ac_compile) 2>conftest.er1
39364 ac_status=$?
39365 grep -v '^ *+' conftest.er1 >conftest.err
39366 rm -f conftest.er1
39367 cat conftest.err >&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); } &&
39370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39373 ac_status=$?
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; } &&
39376 { ac_try='test -s conftest.$ac_objext'
39377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39378 (eval $ac_try) 2>&5
39379 ac_status=$?
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); }; }; then
39382 echo "$as_me:$LINENO: result: yes" >&5
39383 echo "${ECHO_T}yes" >&6
39384 cat >>confdefs.h <<\_ACEOF
39385 #define HAVE_KNOWN_CDROM_INTERFACE 1
39386 _ACEOF
39387
39388 else
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39391
39392 echo "$as_me:$LINENO: result: no" >&5
39393 echo "${ECHO_T}no" >&6
39394 fi
39395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39396
39397
39398 cat >confcache <<\_ACEOF
39399 # This file is a shell script that caches the results of configure
39400 # tests run on this system so they can be shared between configure
39401 # scripts and configure runs, see configure's option --config-cache.
39402 # It is not useful on other systems. If it contains results you don't
39403 # want to keep, you may remove or edit it.
39404 #
39405 # config.status only pays attention to the cache file if you give it
39406 # the --recheck option to rerun configure.
39407 #
39408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39410 # following values.
39411
39412 _ACEOF
39413
39414 # The following way of writing the cache mishandles newlines in values,
39415 # but we know of no workaround that is simple, portable, and efficient.
39416 # So, don't put newlines in cache variables' values.
39417 # Ultrix sh set writes to stderr and can't be redirected directly,
39418 # and sets the high bit in the cache file unless we assign to the vars.
39419 {
39420 (set) 2>&1 |
39421 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39422 *ac_space=\ *)
39423 # `set' does not quote correctly, so add quotes (double-quote
39424 # substitution turns \\\\ into \\, and sed turns \\ into \).
39425 sed -n \
39426 "s/'/'\\\\''/g;
39427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39428 ;;
39429 *)
39430 # `set' quotes correctly as required by POSIX, so do not add quotes.
39431 sed -n \
39432 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39433 ;;
39434 esac;
39435 } |
39436 sed '
39437 t clear
39438 : clear
39439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39440 t end
39441 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39442 : end' >>confcache
39443 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39444 if test -w $cache_file; then
39445 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39446 cat confcache >$cache_file
39447 else
39448 echo "not updating unwritable cache $cache_file"
39449 fi
39450 fi
39451 rm -f confcache
39452
39453
39454 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39455
39456
39457 THREADS_LINK=
39458 THREADS_CXXFLAGS=
39459
39460 if test "$wxUSE_THREADS" = "yes" ; then
39461 if test "$USE_BEOS" = 1; then
39462 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39463 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39464 wxUSE_THREADS="no"
39465 fi
39466 fi
39467
39468 if test "$wxUSE_THREADS" = "yes" ; then
39469
39470
39471 THREAD_OPTS="-pthread"
39472 case "${host}" in
39473 *-*-solaris2* | *-*-sunos4* )
39474 if test "x$GCC" = "xyes"; then
39475 THREAD_OPTS="-pthreads $THREAD_OPTS"
39476 else
39477 THREAD_OPTS="-mt $THREAD_OPTS"
39478 fi
39479 ;;
39480 *-*-freebsd*)
39481 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39482 ;;
39483 *-*-darwin* | *-*-cygwin* )
39484 THREAD_OPTS=""
39485 ;;
39486 *-*-aix*)
39487 THREAD_OPTS="pthreads"
39488 ;;
39489 *-hp-hpux* )
39490 if test "x$GCC" = "xyes"; then
39491 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39492 THREAD_OPTS=""
39493 else
39494 THREAD_OPTS="-mt"
39495 fi
39496 ;;
39497
39498 *-*-irix* )
39499 if test "x$GCC" = "xyes"; then
39500 THREAD_OPTS=""
39501 fi
39502 ;;
39503
39504 *-*-*UnixWare*)
39505 if test "x$GCC" != "xyes"; then
39506 THREAD_OPTS="-Ethread"
39507 fi
39508 ;;
39509 esac
39510
39511 THREAD_OPTS="$THREAD_OPTS pthread none"
39512
39513 THREADS_OK=no
39514 for flag in $THREAD_OPTS; do
39515 case $flag in
39516 none)
39517 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39518 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39519 ;;
39520
39521 -*)
39522 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39523 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39524 THREADS_CXXFLAGS="$flag"
39525 ;;
39526
39527 *)
39528 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39529 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39530 THREADS_LINK="-l$flag"
39531 ;;
39532 esac
39533
39534 save_LIBS="$LIBS"
39535 save_CXXFLAGS="$CXXFLAGS"
39536 LIBS="$THREADS_LINK $LIBS"
39537 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39538
39539 cat >conftest.$ac_ext <<_ACEOF
39540 /* confdefs.h. */
39541 _ACEOF
39542 cat confdefs.h >>conftest.$ac_ext
39543 cat >>conftest.$ac_ext <<_ACEOF
39544 /* end confdefs.h. */
39545 #include <pthread.h>
39546 int
39547 main ()
39548 {
39549 pthread_create(0,0,0,0);
39550 ;
39551 return 0;
39552 }
39553 _ACEOF
39554 rm -f conftest.$ac_objext conftest$ac_exeext
39555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39556 (eval $ac_link) 2>conftest.er1
39557 ac_status=$?
39558 grep -v '^ *+' conftest.er1 >conftest.err
39559 rm -f conftest.er1
39560 cat conftest.err >&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); } &&
39563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39565 (eval $ac_try) 2>&5
39566 ac_status=$?
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); }; } &&
39569 { ac_try='test -s conftest$ac_exeext'
39570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39571 (eval $ac_try) 2>&5
39572 ac_status=$?
39573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39574 (exit $ac_status); }; }; then
39575 THREADS_OK=yes
39576 else
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39579
39580 fi
39581 rm -f conftest.err conftest.$ac_objext \
39582 conftest$ac_exeext conftest.$ac_ext
39583
39584 LIBS="$save_LIBS"
39585 CXXFLAGS="$save_CXXFLAGS"
39586
39587 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39588 echo "${ECHO_T}$THREADS_OK" >&6
39589 if test "x$THREADS_OK" = "xyes"; then
39590 break;
39591 fi
39592
39593 THREADS_LINK=""
39594 THREADS_CXXFLAGS=""
39595 done
39596
39597 if test "x$THREADS_OK" != "xyes"; then
39598 wxUSE_THREADS=no
39599 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39600 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39601 else
39602 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39603 LIBS="$THREADS_LINK $LIBS"
39604
39605 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39606 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39607 flag=no
39608 case "${host}" in
39609 *-aix*)
39610 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39611 flag="-D_THREAD_SAFE"
39612 ;;
39613 *-freebsd*)
39614 flag="-D_THREAD_SAFE"
39615 ;;
39616 *-hp-hpux* )
39617 flag="-D_REENTRANT"
39618 if test "x$GCC" != "xyes"; then
39619 flag="$flag -D_RWSTD_MULTI_THREAD"
39620 fi
39621 ;;
39622 *solaris* | alpha*-osf*)
39623 flag="-D_REENTRANT"
39624 ;;
39625 esac
39626 echo "$as_me:$LINENO: result: ${flag}" >&5
39627 echo "${ECHO_T}${flag}" >&6
39628 if test "x$flag" != xno; then
39629 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39630 fi
39631
39632 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39633 fi
39634 fi
39635
39636 if test "$wxUSE_THREADS" = "yes" ; then
39637
39638 for ac_func in thr_setconcurrency
39639 do
39640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39641 echo "$as_me:$LINENO: checking for $ac_func" >&5
39642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39643 if eval "test \"\${$as_ac_var+set}\" = set"; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 else
39646 cat >conftest.$ac_ext <<_ACEOF
39647 /* confdefs.h. */
39648 _ACEOF
39649 cat confdefs.h >>conftest.$ac_ext
39650 cat >>conftest.$ac_ext <<_ACEOF
39651 /* end confdefs.h. */
39652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39654 #define $ac_func innocuous_$ac_func
39655
39656 /* System header to define __stub macros and hopefully few prototypes,
39657 which can conflict with char $ac_func (); below.
39658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39659 <limits.h> exists even on freestanding compilers. */
39660
39661 #ifdef __STDC__
39662 # include <limits.h>
39663 #else
39664 # include <assert.h>
39665 #endif
39666
39667 #undef $ac_func
39668
39669 /* Override any gcc2 internal prototype to avoid an error. */
39670 #ifdef __cplusplus
39671 extern "C"
39672 {
39673 #endif
39674 /* We use char because int might match the return type of a gcc2
39675 builtin and then its argument prototype would still apply. */
39676 char $ac_func ();
39677 /* The GNU C library defines this for functions which it implements
39678 to always fail with ENOSYS. Some functions are actually named
39679 something starting with __ and the normal name is an alias. */
39680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39681 choke me
39682 #else
39683 char (*f) () = $ac_func;
39684 #endif
39685 #ifdef __cplusplus
39686 }
39687 #endif
39688
39689 int
39690 main ()
39691 {
39692 return f != $ac_func;
39693 ;
39694 return 0;
39695 }
39696 _ACEOF
39697 rm -f conftest.$ac_objext conftest$ac_exeext
39698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39699 (eval $ac_link) 2>conftest.er1
39700 ac_status=$?
39701 grep -v '^ *+' conftest.er1 >conftest.err
39702 rm -f conftest.er1
39703 cat conftest.err >&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } &&
39706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39708 (eval $ac_try) 2>&5
39709 ac_status=$?
39710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39711 (exit $ac_status); }; } &&
39712 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39718 eval "$as_ac_var=yes"
39719 else
39720 echo "$as_me: failed program was:" >&5
39721 sed 's/^/| /' conftest.$ac_ext >&5
39722
39723 eval "$as_ac_var=no"
39724 fi
39725 rm -f conftest.err conftest.$ac_objext \
39726 conftest$ac_exeext conftest.$ac_ext
39727 fi
39728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39730 if test `eval echo '${'$as_ac_var'}'` = yes; then
39731 cat >>confdefs.h <<_ACEOF
39732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39733 _ACEOF
39734
39735 fi
39736 done
39737
39738
39739 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39740 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39741 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39743 else
39744
39745 cat >conftest.$ac_ext <<_ACEOF
39746 /* confdefs.h. */
39747 _ACEOF
39748 cat confdefs.h >>conftest.$ac_ext
39749 cat >>conftest.$ac_ext <<_ACEOF
39750 /* end confdefs.h. */
39751 #include <pthread.h>
39752 void ThreadCleanupFunc(void *p);
39753
39754 int
39755 main ()
39756 {
39757
39758 void *p;
39759 pthread_cleanup_push(ThreadCleanupFunc, p);
39760 pthread_cleanup_pop(0);
39761
39762 ;
39763 return 0;
39764 }
39765 _ACEOF
39766 rm -f conftest.$ac_objext
39767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39768 (eval $ac_compile) 2>conftest.er1
39769 ac_status=$?
39770 grep -v '^ *+' conftest.er1 >conftest.err
39771 rm -f conftest.er1
39772 cat conftest.err >&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } &&
39775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39777 (eval $ac_try) 2>&5
39778 ac_status=$?
39779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39780 (exit $ac_status); }; } &&
39781 { ac_try='test -s conftest.$ac_objext'
39782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39783 (eval $ac_try) 2>&5
39784 ac_status=$?
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); }; }; then
39787
39788 wx_cv_func_pthread_cleanup=yes
39789
39790 else
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794
39795 wx_cv_func_pthread_cleanup=no
39796
39797
39798 fi
39799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39800
39801 fi
39802 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39803 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39804 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define wxHAVE_PTHREAD_CLEANUP 1
39807 _ACEOF
39808
39809 fi
39810
39811
39812 for ac_header in sched.h
39813 do
39814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39816 echo "$as_me:$LINENO: checking for $ac_header" >&5
39817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39819 echo $ECHO_N "(cached) $ECHO_C" >&6
39820 fi
39821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39823 else
39824 # Is the header compilable?
39825 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39826 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39827 cat >conftest.$ac_ext <<_ACEOF
39828 /* confdefs.h. */
39829 _ACEOF
39830 cat confdefs.h >>conftest.$ac_ext
39831 cat >>conftest.$ac_ext <<_ACEOF
39832 /* end confdefs.h. */
39833 $ac_includes_default
39834 #include <$ac_header>
39835 _ACEOF
39836 rm -f conftest.$ac_objext
39837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39838 (eval $ac_compile) 2>conftest.er1
39839 ac_status=$?
39840 grep -v '^ *+' conftest.er1 >conftest.err
39841 rm -f conftest.er1
39842 cat conftest.err >&5
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); } &&
39845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39847 (eval $ac_try) 2>&5
39848 ac_status=$?
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); }; } &&
39851 { ac_try='test -s conftest.$ac_objext'
39852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39853 (eval $ac_try) 2>&5
39854 ac_status=$?
39855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856 (exit $ac_status); }; }; then
39857 ac_header_compiler=yes
39858 else
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39861
39862 ac_header_compiler=no
39863 fi
39864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39866 echo "${ECHO_T}$ac_header_compiler" >&6
39867
39868 # Is the header present?
39869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39871 cat >conftest.$ac_ext <<_ACEOF
39872 /* confdefs.h. */
39873 _ACEOF
39874 cat confdefs.h >>conftest.$ac_ext
39875 cat >>conftest.$ac_ext <<_ACEOF
39876 /* end confdefs.h. */
39877 #include <$ac_header>
39878 _ACEOF
39879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39881 ac_status=$?
39882 grep -v '^ *+' conftest.er1 >conftest.err
39883 rm -f conftest.er1
39884 cat conftest.err >&5
39885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39886 (exit $ac_status); } >/dev/null; then
39887 if test -s conftest.err; then
39888 ac_cpp_err=$ac_c_preproc_warn_flag
39889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39890 else
39891 ac_cpp_err=
39892 fi
39893 else
39894 ac_cpp_err=yes
39895 fi
39896 if test -z "$ac_cpp_err"; then
39897 ac_header_preproc=yes
39898 else
39899 echo "$as_me: failed program was:" >&5
39900 sed 's/^/| /' conftest.$ac_ext >&5
39901
39902 ac_header_preproc=no
39903 fi
39904 rm -f conftest.err conftest.$ac_ext
39905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39906 echo "${ECHO_T}$ac_header_preproc" >&6
39907
39908 # So? What about this header?
39909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39910 yes:no: )
39911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39915 ac_header_preproc=yes
39916 ;;
39917 no:yes:* )
39918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39930 (
39931 cat <<\_ASBOX
39932 ## ----------------------------------------- ##
39933 ## Report this to wx-dev@lists.wxwidgets.org ##
39934 ## ----------------------------------------- ##
39935 _ASBOX
39936 ) |
39937 sed "s/^/$as_me: WARNING: /" >&2
39938 ;;
39939 esac
39940 echo "$as_me:$LINENO: checking for $ac_header" >&5
39941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945 eval "$as_ac_Header=\$ac_header_preproc"
39946 fi
39947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39949
39950 fi
39951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39952 cat >>confdefs.h <<_ACEOF
39953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39954 _ACEOF
39955
39956 fi
39957
39958 done
39959
39960 if test "$ac_cv_header_sched_h" = "yes"; then
39961 echo "$as_me:$LINENO: checking for sched_yield" >&5
39962 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39963 if test "${ac_cv_func_sched_yield+set}" = set; then
39964 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 else
39966 cat >conftest.$ac_ext <<_ACEOF
39967 /* confdefs.h. */
39968 _ACEOF
39969 cat confdefs.h >>conftest.$ac_ext
39970 cat >>conftest.$ac_ext <<_ACEOF
39971 /* end confdefs.h. */
39972 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39974 #define sched_yield innocuous_sched_yield
39975
39976 /* System header to define __stub macros and hopefully few prototypes,
39977 which can conflict with char sched_yield (); below.
39978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39979 <limits.h> exists even on freestanding compilers. */
39980
39981 #ifdef __STDC__
39982 # include <limits.h>
39983 #else
39984 # include <assert.h>
39985 #endif
39986
39987 #undef sched_yield
39988
39989 /* Override any gcc2 internal prototype to avoid an error. */
39990 #ifdef __cplusplus
39991 extern "C"
39992 {
39993 #endif
39994 /* We use char because int might match the return type of a gcc2
39995 builtin and then its argument prototype would still apply. */
39996 char sched_yield ();
39997 /* The GNU C library defines this for functions which it implements
39998 to always fail with ENOSYS. Some functions are actually named
39999 something starting with __ and the normal name is an alias. */
40000 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40001 choke me
40002 #else
40003 char (*f) () = sched_yield;
40004 #endif
40005 #ifdef __cplusplus
40006 }
40007 #endif
40008
40009 int
40010 main ()
40011 {
40012 return f != sched_yield;
40013 ;
40014 return 0;
40015 }
40016 _ACEOF
40017 rm -f conftest.$ac_objext conftest$ac_exeext
40018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40019 (eval $ac_link) 2>conftest.er1
40020 ac_status=$?
40021 grep -v '^ *+' conftest.er1 >conftest.err
40022 rm -f conftest.er1
40023 cat conftest.err >&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); } &&
40026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40028 (eval $ac_try) 2>&5
40029 ac_status=$?
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); }; } &&
40032 { ac_try='test -s conftest$ac_exeext'
40033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40034 (eval $ac_try) 2>&5
40035 ac_status=$?
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); }; }; then
40038 ac_cv_func_sched_yield=yes
40039 else
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40042
40043 ac_cv_func_sched_yield=no
40044 fi
40045 rm -f conftest.err conftest.$ac_objext \
40046 conftest$ac_exeext conftest.$ac_ext
40047 fi
40048 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40049 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40050 if test $ac_cv_func_sched_yield = yes; then
40051 cat >>confdefs.h <<\_ACEOF
40052 #define HAVE_SCHED_YIELD 1
40053 _ACEOF
40054
40055 else
40056
40057 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40058 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40059 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40061 else
40062 ac_check_lib_save_LIBS=$LIBS
40063 LIBS="-lposix4 $LIBS"
40064 cat >conftest.$ac_ext <<_ACEOF
40065 /* confdefs.h. */
40066 _ACEOF
40067 cat confdefs.h >>conftest.$ac_ext
40068 cat >>conftest.$ac_ext <<_ACEOF
40069 /* end confdefs.h. */
40070
40071 /* Override any gcc2 internal prototype to avoid an error. */
40072 #ifdef __cplusplus
40073 extern "C"
40074 #endif
40075 /* We use char because int might match the return type of a gcc2
40076 builtin and then its argument prototype would still apply. */
40077 char sched_yield ();
40078 int
40079 main ()
40080 {
40081 sched_yield ();
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 rm -f conftest.$ac_objext conftest$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40089 ac_status=$?
40090 grep -v '^ *+' conftest.er1 >conftest.err
40091 rm -f conftest.er1
40092 cat conftest.err >&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40097 (eval $ac_try) 2>&5
40098 ac_status=$?
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); }; } &&
40101 { ac_try='test -s conftest$ac_exeext'
40102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40103 (eval $ac_try) 2>&5
40104 ac_status=$?
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); }; }; then
40107 ac_cv_lib_posix4_sched_yield=yes
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112 ac_cv_lib_posix4_sched_yield=no
40113 fi
40114 rm -f conftest.err conftest.$ac_objext \
40115 conftest$ac_exeext conftest.$ac_ext
40116 LIBS=$ac_check_lib_save_LIBS
40117 fi
40118 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40119 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40120 if test $ac_cv_lib_posix4_sched_yield = yes; then
40121 cat >>confdefs.h <<\_ACEOF
40122 #define HAVE_SCHED_YIELD 1
40123 _ACEOF
40124 POSIX4_LINK=" -lposix4"
40125 else
40126 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40127 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40128
40129 fi
40130
40131
40132
40133 fi
40134
40135 fi
40136
40137 HAVE_PRIOR_FUNCS=0
40138 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40139 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40140 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40141 echo $ECHO_N "(cached) $ECHO_C" >&6
40142 else
40143 cat >conftest.$ac_ext <<_ACEOF
40144 /* confdefs.h. */
40145 _ACEOF
40146 cat confdefs.h >>conftest.$ac_ext
40147 cat >>conftest.$ac_ext <<_ACEOF
40148 /* end confdefs.h. */
40149 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40151 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40152
40153 /* System header to define __stub macros and hopefully few prototypes,
40154 which can conflict with char pthread_attr_getschedpolicy (); below.
40155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40156 <limits.h> exists even on freestanding compilers. */
40157
40158 #ifdef __STDC__
40159 # include <limits.h>
40160 #else
40161 # include <assert.h>
40162 #endif
40163
40164 #undef pthread_attr_getschedpolicy
40165
40166 /* Override any gcc2 internal prototype to avoid an error. */
40167 #ifdef __cplusplus
40168 extern "C"
40169 {
40170 #endif
40171 /* We use char because int might match the return type of a gcc2
40172 builtin and then its argument prototype would still apply. */
40173 char pthread_attr_getschedpolicy ();
40174 /* The GNU C library defines this for functions which it implements
40175 to always fail with ENOSYS. Some functions are actually named
40176 something starting with __ and the normal name is an alias. */
40177 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40178 choke me
40179 #else
40180 char (*f) () = pthread_attr_getschedpolicy;
40181 #endif
40182 #ifdef __cplusplus
40183 }
40184 #endif
40185
40186 int
40187 main ()
40188 {
40189 return f != pthread_attr_getschedpolicy;
40190 ;
40191 return 0;
40192 }
40193 _ACEOF
40194 rm -f conftest.$ac_objext conftest$ac_exeext
40195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40196 (eval $ac_link) 2>conftest.er1
40197 ac_status=$?
40198 grep -v '^ *+' conftest.er1 >conftest.err
40199 rm -f conftest.er1
40200 cat conftest.err >&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } &&
40203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40206 ac_status=$?
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; } &&
40209 { ac_try='test -s conftest$ac_exeext'
40210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40211 (eval $ac_try) 2>&5
40212 ac_status=$?
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); }; }; then
40215 ac_cv_func_pthread_attr_getschedpolicy=yes
40216 else
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.$ac_ext >&5
40219
40220 ac_cv_func_pthread_attr_getschedpolicy=no
40221 fi
40222 rm -f conftest.err conftest.$ac_objext \
40223 conftest$ac_exeext conftest.$ac_ext
40224 fi
40225 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40226 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40227 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40228 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40229 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40230 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40231 echo $ECHO_N "(cached) $ECHO_C" >&6
40232 else
40233 cat >conftest.$ac_ext <<_ACEOF
40234 /* confdefs.h. */
40235 _ACEOF
40236 cat confdefs.h >>conftest.$ac_ext
40237 cat >>conftest.$ac_ext <<_ACEOF
40238 /* end confdefs.h. */
40239 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40241 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40242
40243 /* System header to define __stub macros and hopefully few prototypes,
40244 which can conflict with char pthread_attr_setschedparam (); below.
40245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40246 <limits.h> exists even on freestanding compilers. */
40247
40248 #ifdef __STDC__
40249 # include <limits.h>
40250 #else
40251 # include <assert.h>
40252 #endif
40253
40254 #undef pthread_attr_setschedparam
40255
40256 /* Override any gcc2 internal prototype to avoid an error. */
40257 #ifdef __cplusplus
40258 extern "C"
40259 {
40260 #endif
40261 /* We use char because int might match the return type of a gcc2
40262 builtin and then its argument prototype would still apply. */
40263 char pthread_attr_setschedparam ();
40264 /* The GNU C library defines this for functions which it implements
40265 to always fail with ENOSYS. Some functions are actually named
40266 something starting with __ and the normal name is an alias. */
40267 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40268 choke me
40269 #else
40270 char (*f) () = pthread_attr_setschedparam;
40271 #endif
40272 #ifdef __cplusplus
40273 }
40274 #endif
40275
40276 int
40277 main ()
40278 {
40279 return f != pthread_attr_setschedparam;
40280 ;
40281 return 0;
40282 }
40283 _ACEOF
40284 rm -f conftest.$ac_objext conftest$ac_exeext
40285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40286 (eval $ac_link) 2>conftest.er1
40287 ac_status=$?
40288 grep -v '^ *+' conftest.er1 >conftest.err
40289 rm -f conftest.er1
40290 cat conftest.err >&5
40291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292 (exit $ac_status); } &&
40293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40295 (eval $ac_try) 2>&5
40296 ac_status=$?
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); }; } &&
40299 { ac_try='test -s conftest$ac_exeext'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40302 ac_status=$?
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; }; then
40305 ac_cv_func_pthread_attr_setschedparam=yes
40306 else
40307 echo "$as_me: failed program was:" >&5
40308 sed 's/^/| /' conftest.$ac_ext >&5
40309
40310 ac_cv_func_pthread_attr_setschedparam=no
40311 fi
40312 rm -f conftest.err conftest.$ac_objext \
40313 conftest$ac_exeext conftest.$ac_ext
40314 fi
40315 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40316 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40317 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40318 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40319 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40320 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40321 echo $ECHO_N "(cached) $ECHO_C" >&6
40322 else
40323 cat >conftest.$ac_ext <<_ACEOF
40324 /* confdefs.h. */
40325 _ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40329 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40331 #define sched_get_priority_max innocuous_sched_get_priority_max
40332
40333 /* System header to define __stub macros and hopefully few prototypes,
40334 which can conflict with char sched_get_priority_max (); below.
40335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40336 <limits.h> exists even on freestanding compilers. */
40337
40338 #ifdef __STDC__
40339 # include <limits.h>
40340 #else
40341 # include <assert.h>
40342 #endif
40343
40344 #undef sched_get_priority_max
40345
40346 /* Override any gcc2 internal prototype to avoid an error. */
40347 #ifdef __cplusplus
40348 extern "C"
40349 {
40350 #endif
40351 /* We use char because int might match the return type of a gcc2
40352 builtin and then its argument prototype would still apply. */
40353 char sched_get_priority_max ();
40354 /* The GNU C library defines this for functions which it implements
40355 to always fail with ENOSYS. Some functions are actually named
40356 something starting with __ and the normal name is an alias. */
40357 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40358 choke me
40359 #else
40360 char (*f) () = sched_get_priority_max;
40361 #endif
40362 #ifdef __cplusplus
40363 }
40364 #endif
40365
40366 int
40367 main ()
40368 {
40369 return f != sched_get_priority_max;
40370 ;
40371 return 0;
40372 }
40373 _ACEOF
40374 rm -f conftest.$ac_objext conftest$ac_exeext
40375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40376 (eval $ac_link) 2>conftest.er1
40377 ac_status=$?
40378 grep -v '^ *+' conftest.er1 >conftest.err
40379 rm -f conftest.er1
40380 cat conftest.err >&5
40381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40382 (exit $ac_status); } &&
40383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40385 (eval $ac_try) 2>&5
40386 ac_status=$?
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); }; } &&
40389 { ac_try='test -s conftest$ac_exeext'
40390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40391 (eval $ac_try) 2>&5
40392 ac_status=$?
40393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40394 (exit $ac_status); }; }; then
40395 ac_cv_func_sched_get_priority_max=yes
40396 else
40397 echo "$as_me: failed program was:" >&5
40398 sed 's/^/| /' conftest.$ac_ext >&5
40399
40400 ac_cv_func_sched_get_priority_max=no
40401 fi
40402 rm -f conftest.err conftest.$ac_objext \
40403 conftest$ac_exeext conftest.$ac_ext
40404 fi
40405 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40406 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40407 if test $ac_cv_func_sched_get_priority_max = yes; then
40408 HAVE_PRIOR_FUNCS=1
40409 else
40410 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40411 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40412 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 else
40415 ac_check_lib_save_LIBS=$LIBS
40416 LIBS="-lposix4 $LIBS"
40417 cat >conftest.$ac_ext <<_ACEOF
40418 /* confdefs.h. */
40419 _ACEOF
40420 cat confdefs.h >>conftest.$ac_ext
40421 cat >>conftest.$ac_ext <<_ACEOF
40422 /* end confdefs.h. */
40423
40424 /* Override any gcc2 internal prototype to avoid an error. */
40425 #ifdef __cplusplus
40426 extern "C"
40427 #endif
40428 /* We use char because int might match the return type of a gcc2
40429 builtin and then its argument prototype would still apply. */
40430 char sched_get_priority_max ();
40431 int
40432 main ()
40433 {
40434 sched_get_priority_max ();
40435 ;
40436 return 0;
40437 }
40438 _ACEOF
40439 rm -f conftest.$ac_objext conftest$ac_exeext
40440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40441 (eval $ac_link) 2>conftest.er1
40442 ac_status=$?
40443 grep -v '^ *+' conftest.er1 >conftest.err
40444 rm -f conftest.er1
40445 cat conftest.err >&5
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); } &&
40448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40451 ac_status=$?
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; } &&
40454 { ac_try='test -s conftest$ac_exeext'
40455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40456 (eval $ac_try) 2>&5
40457 ac_status=$?
40458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40459 (exit $ac_status); }; }; then
40460 ac_cv_lib_posix4_sched_get_priority_max=yes
40461 else
40462 echo "$as_me: failed program was:" >&5
40463 sed 's/^/| /' conftest.$ac_ext >&5
40464
40465 ac_cv_lib_posix4_sched_get_priority_max=no
40466 fi
40467 rm -f conftest.err conftest.$ac_objext \
40468 conftest$ac_exeext conftest.$ac_ext
40469 LIBS=$ac_check_lib_save_LIBS
40470 fi
40471 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40472 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40473 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40474
40475 HAVE_PRIOR_FUNCS=1
40476 POSIX4_LINK=" -lposix4"
40477
40478 fi
40479
40480
40481 fi
40482
40483
40484 fi
40485
40486
40487 fi
40488
40489
40490 if test "$HAVE_PRIOR_FUNCS" = 1; then
40491 cat >>confdefs.h <<\_ACEOF
40492 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40493 _ACEOF
40494
40495 else
40496 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40497 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40498 fi
40499
40500 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40501 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40502 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40503 echo $ECHO_N "(cached) $ECHO_C" >&6
40504 else
40505 cat >conftest.$ac_ext <<_ACEOF
40506 /* confdefs.h. */
40507 _ACEOF
40508 cat confdefs.h >>conftest.$ac_ext
40509 cat >>conftest.$ac_ext <<_ACEOF
40510 /* end confdefs.h. */
40511 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40513 #define pthread_cancel innocuous_pthread_cancel
40514
40515 /* System header to define __stub macros and hopefully few prototypes,
40516 which can conflict with char pthread_cancel (); below.
40517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40518 <limits.h> exists even on freestanding compilers. */
40519
40520 #ifdef __STDC__
40521 # include <limits.h>
40522 #else
40523 # include <assert.h>
40524 #endif
40525
40526 #undef pthread_cancel
40527
40528 /* Override any gcc2 internal prototype to avoid an error. */
40529 #ifdef __cplusplus
40530 extern "C"
40531 {
40532 #endif
40533 /* We use char because int might match the return type of a gcc2
40534 builtin and then its argument prototype would still apply. */
40535 char pthread_cancel ();
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40540 choke me
40541 #else
40542 char (*f) () = pthread_cancel;
40543 #endif
40544 #ifdef __cplusplus
40545 }
40546 #endif
40547
40548 int
40549 main ()
40550 {
40551 return f != pthread_cancel;
40552 ;
40553 return 0;
40554 }
40555 _ACEOF
40556 rm -f conftest.$ac_objext conftest$ac_exeext
40557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40558 (eval $ac_link) 2>conftest.er1
40559 ac_status=$?
40560 grep -v '^ *+' conftest.er1 >conftest.err
40561 rm -f conftest.er1
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } &&
40565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567 (eval $ac_try) 2>&5
40568 ac_status=$?
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); }; } &&
40571 { ac_try='test -s conftest$ac_exeext'
40572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40573 (eval $ac_try) 2>&5
40574 ac_status=$?
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); }; }; then
40577 ac_cv_func_pthread_cancel=yes
40578 else
40579 echo "$as_me: failed program was:" >&5
40580 sed 's/^/| /' conftest.$ac_ext >&5
40581
40582 ac_cv_func_pthread_cancel=no
40583 fi
40584 rm -f conftest.err conftest.$ac_objext \
40585 conftest$ac_exeext conftest.$ac_ext
40586 fi
40587 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40588 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40589 if test $ac_cv_func_pthread_cancel = yes; then
40590 cat >>confdefs.h <<\_ACEOF
40591 #define HAVE_PTHREAD_CANCEL 1
40592 _ACEOF
40593
40594 else
40595 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40596 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40597 fi
40598
40599
40600 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40601 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40602 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 else
40605 cat >conftest.$ac_ext <<_ACEOF
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40614
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char pthread_attr_setstacksize (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40619
40620 #ifdef __STDC__
40621 # include <limits.h>
40622 #else
40623 # include <assert.h>
40624 #endif
40625
40626 #undef pthread_attr_setstacksize
40627
40628 /* Override any gcc2 internal prototype to avoid an error. */
40629 #ifdef __cplusplus
40630 extern "C"
40631 {
40632 #endif
40633 /* We use char because int might match the return type of a gcc2
40634 builtin and then its argument prototype would still apply. */
40635 char pthread_attr_setstacksize ();
40636 /* The GNU C library defines this for functions which it implements
40637 to always fail with ENOSYS. Some functions are actually named
40638 something starting with __ and the normal name is an alias. */
40639 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40640 choke me
40641 #else
40642 char (*f) () = pthread_attr_setstacksize;
40643 #endif
40644 #ifdef __cplusplus
40645 }
40646 #endif
40647
40648 int
40649 main ()
40650 {
40651 return f != pthread_attr_setstacksize;
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 rm -f conftest.$ac_objext conftest$ac_exeext
40657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40658 (eval $ac_link) 2>conftest.er1
40659 ac_status=$?
40660 grep -v '^ *+' conftest.er1 >conftest.err
40661 rm -f conftest.er1
40662 cat conftest.err >&5
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); } &&
40665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40667 (eval $ac_try) 2>&5
40668 ac_status=$?
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); }; } &&
40671 { ac_try='test -s conftest$ac_exeext'
40672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673 (eval $ac_try) 2>&5
40674 ac_status=$?
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); }; }; then
40677 ac_cv_func_pthread_attr_setstacksize=yes
40678 else
40679 echo "$as_me: failed program was:" >&5
40680 sed 's/^/| /' conftest.$ac_ext >&5
40681
40682 ac_cv_func_pthread_attr_setstacksize=no
40683 fi
40684 rm -f conftest.err conftest.$ac_objext \
40685 conftest$ac_exeext conftest.$ac_ext
40686 fi
40687 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40688 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40689 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40690 cat >>confdefs.h <<\_ACEOF
40691 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40692 _ACEOF
40693
40694 fi
40695
40696
40697
40698 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40699 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40700 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40701 echo $ECHO_N "(cached) $ECHO_C" >&6
40702 else
40703
40704 cat >conftest.$ac_ext <<_ACEOF
40705 /* confdefs.h. */
40706 _ACEOF
40707 cat confdefs.h >>conftest.$ac_ext
40708 cat >>conftest.$ac_ext <<_ACEOF
40709 /* end confdefs.h. */
40710 #include <pthread.h>
40711 int
40712 main ()
40713 {
40714
40715 pthread_mutexattr_t attr;
40716 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40717
40718 ;
40719 return 0;
40720 }
40721 _ACEOF
40722 rm -f conftest.$ac_objext
40723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40724 (eval $ac_compile) 2>conftest.er1
40725 ac_status=$?
40726 grep -v '^ *+' conftest.er1 >conftest.err
40727 rm -f conftest.er1
40728 cat conftest.err >&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); } &&
40731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40733 (eval $ac_try) 2>&5
40734 ac_status=$?
40735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); }; } &&
40737 { ac_try='test -s conftest.$ac_objext'
40738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739 (eval $ac_try) 2>&5
40740 ac_status=$?
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); }; }; then
40743 wx_cv_type_pthread_mutexattr_t=yes
40744 else
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748 wx_cv_type_pthread_mutexattr_t=no
40749
40750 fi
40751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40752
40753 fi
40754 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40755 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40756
40757 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40758 cat >>confdefs.h <<\_ACEOF
40759 #define HAVE_PTHREAD_MUTEXATTR_T 1
40760 _ACEOF
40761
40762
40763 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40764 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40765 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40767 else
40768
40769 cat >conftest.$ac_ext <<_ACEOF
40770 /* confdefs.h. */
40771 _ACEOF
40772 cat confdefs.h >>conftest.$ac_ext
40773 cat >>conftest.$ac_ext <<_ACEOF
40774 /* end confdefs.h. */
40775 #include <pthread.h>
40776 int
40777 main ()
40778 {
40779
40780 pthread_mutexattr_t attr;
40781 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40782
40783 ;
40784 return 0;
40785 }
40786 _ACEOF
40787 rm -f conftest.$ac_objext
40788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40789 (eval $ac_compile) 2>conftest.er1
40790 ac_status=$?
40791 grep -v '^ *+' conftest.er1 >conftest.err
40792 rm -f conftest.er1
40793 cat conftest.err >&5
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); } &&
40796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40798 (eval $ac_try) 2>&5
40799 ac_status=$?
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); }; } &&
40802 { ac_try='test -s conftest.$ac_objext'
40803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40804 (eval $ac_try) 2>&5
40805 ac_status=$?
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); }; }; then
40808 wx_cv_func_pthread_mutexattr_settype_decl=yes
40809 else
40810 echo "$as_me: failed program was:" >&5
40811 sed 's/^/| /' conftest.$ac_ext >&5
40812
40813 wx_cv_func_pthread_mutexattr_settype_decl=no
40814
40815 fi
40816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40817
40818 fi
40819 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40820 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40821 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40822 cat >>confdefs.h <<\_ACEOF
40823 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40824 _ACEOF
40825
40826 fi
40827 else
40828 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40829 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40830 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40831 echo $ECHO_N "(cached) $ECHO_C" >&6
40832 else
40833
40834 cat >conftest.$ac_ext <<_ACEOF
40835 /* confdefs.h. */
40836 _ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40840 #include <pthread.h>
40841 int
40842 main ()
40843 {
40844
40845 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40846
40847 ;
40848 return 0;
40849 }
40850 _ACEOF
40851 rm -f conftest.$ac_objext
40852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40853 (eval $ac_compile) 2>conftest.er1
40854 ac_status=$?
40855 grep -v '^ *+' conftest.er1 >conftest.err
40856 rm -f conftest.er1
40857 cat conftest.err >&5
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); } &&
40860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40862 (eval $ac_try) 2>&5
40863 ac_status=$?
40864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40865 (exit $ac_status); }; } &&
40866 { ac_try='test -s conftest.$ac_objext'
40867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40868 (eval $ac_try) 2>&5
40869 ac_status=$?
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); }; }; then
40872
40873 wx_cv_type_pthread_rec_mutex_init=yes
40874
40875 else
40876 echo "$as_me: failed program was:" >&5
40877 sed 's/^/| /' conftest.$ac_ext >&5
40878
40879
40880 wx_cv_type_pthread_rec_mutex_init=no
40881
40882
40883 fi
40884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40885
40886 fi
40887 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40888 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40889 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40890 cat >>confdefs.h <<\_ACEOF
40891 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40892 _ACEOF
40893
40894 else
40895 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40896 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40897 fi
40898 fi
40899 fi
40900
40901 else
40902 if test "$wxUSE_THREADS" = "yes" ; then
40903 case "${host}" in
40904 *-*-mingw32* )
40905 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40906 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40907 if test "${wx_cv_cflags_mthread+set}" = set; then
40908 echo $ECHO_N "(cached) $ECHO_C" >&6
40909 else
40910
40911 CXXFLAGS_OLD="$CXXFLAGS"
40912 CXXFLAGS="-mthreads $CXXFLAGS"
40913 cat >conftest.$ac_ext <<_ACEOF
40914 /* confdefs.h. */
40915 _ACEOF
40916 cat confdefs.h >>conftest.$ac_ext
40917 cat >>conftest.$ac_ext <<_ACEOF
40918 /* end confdefs.h. */
40919
40920 int
40921 main ()
40922 {
40923
40924 ;
40925 return 0;
40926 }
40927 _ACEOF
40928 rm -f conftest.$ac_objext
40929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40930 (eval $ac_compile) 2>conftest.er1
40931 ac_status=$?
40932 grep -v '^ *+' conftest.er1 >conftest.err
40933 rm -f conftest.er1
40934 cat conftest.err >&5
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); } &&
40937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40939 (eval $ac_try) 2>&5
40940 ac_status=$?
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); }; } &&
40943 { ac_try='test -s conftest.$ac_objext'
40944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40945 (eval $ac_try) 2>&5
40946 ac_status=$?
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); }; }; then
40949 wx_cv_cflags_mthread=yes
40950 else
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.$ac_ext >&5
40953
40954 wx_cv_cflags_mthread=no
40955
40956 fi
40957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40958
40959
40960 fi
40961 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40962 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40963
40964 if test "$wx_cv_cflags_mthread" = "yes"; then
40965 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40966 LDFLAGS="$LDFLAGS -mthreads"
40967 else
40968 CXXFLAGS="$CXXFLAGS_OLD"
40969 fi
40970 ;;
40971 *-pc-os2*emx )
40972 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40973 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40974 LDFLAGS="$LDFLAGS -Zmt"
40975 ;;
40976 esac
40977 fi
40978 fi
40979
40980 echo "$as_me:$LINENO: checking for localtime_r" >&5
40981 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40982 if test "${ac_cv_func_localtime_r+set}" = set; then
40983 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 else
40985 cat >conftest.$ac_ext <<_ACEOF
40986 /* confdefs.h. */
40987 _ACEOF
40988 cat confdefs.h >>conftest.$ac_ext
40989 cat >>conftest.$ac_ext <<_ACEOF
40990 /* end confdefs.h. */
40991 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40993 #define localtime_r innocuous_localtime_r
40994
40995 /* System header to define __stub macros and hopefully few prototypes,
40996 which can conflict with char localtime_r (); below.
40997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40998 <limits.h> exists even on freestanding compilers. */
40999
41000 #ifdef __STDC__
41001 # include <limits.h>
41002 #else
41003 # include <assert.h>
41004 #endif
41005
41006 #undef localtime_r
41007
41008 /* Override any gcc2 internal prototype to avoid an error. */
41009 #ifdef __cplusplus
41010 extern "C"
41011 {
41012 #endif
41013 /* We use char because int might match the return type of a gcc2
41014 builtin and then its argument prototype would still apply. */
41015 char localtime_r ();
41016 /* The GNU C library defines this for functions which it implements
41017 to always fail with ENOSYS. Some functions are actually named
41018 something starting with __ and the normal name is an alias. */
41019 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41020 choke me
41021 #else
41022 char (*f) () = localtime_r;
41023 #endif
41024 #ifdef __cplusplus
41025 }
41026 #endif
41027
41028 int
41029 main ()
41030 {
41031 return f != localtime_r;
41032 ;
41033 return 0;
41034 }
41035 _ACEOF
41036 rm -f conftest.$ac_objext conftest$ac_exeext
41037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41038 (eval $ac_link) 2>conftest.er1
41039 ac_status=$?
41040 grep -v '^ *+' conftest.er1 >conftest.err
41041 rm -f conftest.er1
41042 cat conftest.err >&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); } &&
41045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41047 (eval $ac_try) 2>&5
41048 ac_status=$?
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); }; } &&
41051 { ac_try='test -s conftest$ac_exeext'
41052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053 (eval $ac_try) 2>&5
41054 ac_status=$?
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); }; }; then
41057 ac_cv_func_localtime_r=yes
41058 else
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.$ac_ext >&5
41061
41062 ac_cv_func_localtime_r=no
41063 fi
41064 rm -f conftest.err conftest.$ac_objext \
41065 conftest$ac_exeext conftest.$ac_ext
41066 fi
41067 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41068 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41069 if test $ac_cv_func_localtime_r = yes; then
41070 cat >>confdefs.h <<\_ACEOF
41071 #define HAVE_LOCALTIME_R 1
41072 _ACEOF
41073
41074 fi
41075
41076 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41077 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41078 if test "${ac_cv_func_gmtime_r+set}" = set; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41080 else
41081 cat >conftest.$ac_ext <<_ACEOF
41082 /* confdefs.h. */
41083 _ACEOF
41084 cat confdefs.h >>conftest.$ac_ext
41085 cat >>conftest.$ac_ext <<_ACEOF
41086 /* end confdefs.h. */
41087 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41089 #define gmtime_r innocuous_gmtime_r
41090
41091 /* System header to define __stub macros and hopefully few prototypes,
41092 which can conflict with char gmtime_r (); below.
41093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41094 <limits.h> exists even on freestanding compilers. */
41095
41096 #ifdef __STDC__
41097 # include <limits.h>
41098 #else
41099 # include <assert.h>
41100 #endif
41101
41102 #undef gmtime_r
41103
41104 /* Override any gcc2 internal prototype to avoid an error. */
41105 #ifdef __cplusplus
41106 extern "C"
41107 {
41108 #endif
41109 /* We use char because int might match the return type of a gcc2
41110 builtin and then its argument prototype would still apply. */
41111 char gmtime_r ();
41112 /* The GNU C library defines this for functions which it implements
41113 to always fail with ENOSYS. Some functions are actually named
41114 something starting with __ and the normal name is an alias. */
41115 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41116 choke me
41117 #else
41118 char (*f) () = gmtime_r;
41119 #endif
41120 #ifdef __cplusplus
41121 }
41122 #endif
41123
41124 int
41125 main ()
41126 {
41127 return f != gmtime_r;
41128 ;
41129 return 0;
41130 }
41131 _ACEOF
41132 rm -f conftest.$ac_objext conftest$ac_exeext
41133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41134 (eval $ac_link) 2>conftest.er1
41135 ac_status=$?
41136 grep -v '^ *+' conftest.er1 >conftest.err
41137 rm -f conftest.er1
41138 cat conftest.err >&5
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); } &&
41141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41143 (eval $ac_try) 2>&5
41144 ac_status=$?
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); }; } &&
41147 { ac_try='test -s conftest$ac_exeext'
41148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41149 (eval $ac_try) 2>&5
41150 ac_status=$?
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); }; }; then
41153 ac_cv_func_gmtime_r=yes
41154 else
41155 echo "$as_me: failed program was:" >&5
41156 sed 's/^/| /' conftest.$ac_ext >&5
41157
41158 ac_cv_func_gmtime_r=no
41159 fi
41160 rm -f conftest.err conftest.$ac_objext \
41161 conftest$ac_exeext conftest.$ac_ext
41162 fi
41163 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41164 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41165 if test $ac_cv_func_gmtime_r = yes; then
41166 cat >>confdefs.h <<\_ACEOF
41167 #define HAVE_GMTIME_R 1
41168 _ACEOF
41169
41170 fi
41171
41172 echo "$as_me:$LINENO: checking for readdir_r" >&5
41173 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41174 if test "${ac_cv_func_readdir_r+set}" = set; then
41175 echo $ECHO_N "(cached) $ECHO_C" >&6
41176 else
41177 cat >conftest.$ac_ext <<_ACEOF
41178 /* confdefs.h. */
41179 _ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41185 #define readdir_r innocuous_readdir_r
41186
41187 /* System header to define __stub macros and hopefully few prototypes,
41188 which can conflict with char readdir_r (); below.
41189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41190 <limits.h> exists even on freestanding compilers. */
41191
41192 #ifdef __STDC__
41193 # include <limits.h>
41194 #else
41195 # include <assert.h>
41196 #endif
41197
41198 #undef readdir_r
41199
41200 /* Override any gcc2 internal prototype to avoid an error. */
41201 #ifdef __cplusplus
41202 extern "C"
41203 {
41204 #endif
41205 /* We use char because int might match the return type of a gcc2
41206 builtin and then its argument prototype would still apply. */
41207 char readdir_r ();
41208 /* The GNU C library defines this for functions which it implements
41209 to always fail with ENOSYS. Some functions are actually named
41210 something starting with __ and the normal name is an alias. */
41211 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41212 choke me
41213 #else
41214 char (*f) () = readdir_r;
41215 #endif
41216 #ifdef __cplusplus
41217 }
41218 #endif
41219
41220 int
41221 main ()
41222 {
41223 return f != readdir_r;
41224 ;
41225 return 0;
41226 }
41227 _ACEOF
41228 rm -f conftest.$ac_objext conftest$ac_exeext
41229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41230 (eval $ac_link) 2>conftest.er1
41231 ac_status=$?
41232 grep -v '^ *+' conftest.er1 >conftest.err
41233 rm -f conftest.er1
41234 cat conftest.err >&5
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); } &&
41237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41239 (eval $ac_try) 2>&5
41240 ac_status=$?
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); }; } &&
41243 { ac_try='test -s conftest$ac_exeext'
41244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41245 (eval $ac_try) 2>&5
41246 ac_status=$?
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); }; }; then
41249 ac_cv_func_readdir_r=yes
41250 else
41251 echo "$as_me: failed program was:" >&5
41252 sed 's/^/| /' conftest.$ac_ext >&5
41253
41254 ac_cv_func_readdir_r=no
41255 fi
41256 rm -f conftest.err conftest.$ac_objext \
41257 conftest$ac_exeext conftest.$ac_ext
41258 fi
41259 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41260 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41261 if test $ac_cv_func_readdir_r = yes; then
41262 cat >>confdefs.h <<\_ACEOF
41263 #define HAVE_READDIR_R 1
41264 _ACEOF
41265
41266 fi
41267
41268
41269
41270
41271 ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276
41277 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41278 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41279
41280 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41281 echo $ECHO_N "(cached) $ECHO_C" >&6
41282 else
41283
41284
41285 ################################################################
41286
41287 ac_cv_func_which_gethostbyname_r=unknown
41288
41289 #
41290 # ONE ARGUMENT (sanity check)
41291 #
41292
41293 # This should fail, as there is no variant of gethostbyname_r() that takes
41294 # a single argument. If it actually compiles, then we can assume that
41295 # netdb.h is not declaring the function, and the compiler is thereby
41296 # assuming an implicit prototype. In which case, we're out of luck.
41297 #
41298 cat >conftest.$ac_ext <<_ACEOF
41299 /* confdefs.h. */
41300 _ACEOF
41301 cat confdefs.h >>conftest.$ac_ext
41302 cat >>conftest.$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41304 #include <netdb.h>
41305 int
41306 main ()
41307 {
41308
41309 char *name = "www.gnu.org";
41310 (void)gethostbyname_r(name) /* ; */
41311
41312 ;
41313 return 0;
41314 }
41315 _ACEOF
41316 rm -f conftest.$ac_objext
41317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41318 (eval $ac_compile) 2>conftest.er1
41319 ac_status=$?
41320 grep -v '^ *+' conftest.er1 >conftest.err
41321 rm -f conftest.er1
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } &&
41325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41327 (eval $ac_try) 2>&5
41328 ac_status=$?
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); }; } &&
41331 { ac_try='test -s conftest.$ac_objext'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41334 ac_status=$?
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; }; then
41337 ac_cv_func_which_gethostbyname_r=no
41338 else
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41341
41342 fi
41343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41344
41345 #
41346 # SIX ARGUMENTS
41347 # (e.g. Linux)
41348 #
41349
41350 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41351
41352 cat >conftest.$ac_ext <<_ACEOF
41353 /* confdefs.h. */
41354 _ACEOF
41355 cat confdefs.h >>conftest.$ac_ext
41356 cat >>conftest.$ac_ext <<_ACEOF
41357 /* end confdefs.h. */
41358 #include <netdb.h>
41359 int
41360 main ()
41361 {
41362
41363 char *name = "www.gnu.org";
41364 struct hostent ret, *retp;
41365 char buf[1024];
41366 int buflen = 1024;
41367 int my_h_errno;
41368 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41369
41370 ;
41371 return 0;
41372 }
41373 _ACEOF
41374 rm -f conftest.$ac_objext
41375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41376 (eval $ac_compile) 2>conftest.er1
41377 ac_status=$?
41378 grep -v '^ *+' conftest.er1 >conftest.err
41379 rm -f conftest.er1
41380 cat conftest.err >&5
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); } &&
41383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41385 (eval $ac_try) 2>&5
41386 ac_status=$?
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); }; } &&
41389 { ac_try='test -s conftest.$ac_objext'
41390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41391 (eval $ac_try) 2>&5
41392 ac_status=$?
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); }; }; then
41395 ac_cv_func_which_gethostbyname_r=six
41396 else
41397 echo "$as_me: failed program was:" >&5
41398 sed 's/^/| /' conftest.$ac_ext >&5
41399
41400 fi
41401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41402
41403 fi
41404
41405 #
41406 # FIVE ARGUMENTS
41407 # (e.g. Solaris)
41408 #
41409
41410 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41411
41412 cat >conftest.$ac_ext <<_ACEOF
41413 /* confdefs.h. */
41414 _ACEOF
41415 cat confdefs.h >>conftest.$ac_ext
41416 cat >>conftest.$ac_ext <<_ACEOF
41417 /* end confdefs.h. */
41418 #include <netdb.h>
41419 int
41420 main ()
41421 {
41422
41423 char *name = "www.gnu.org";
41424 struct hostent ret;
41425 char buf[1024];
41426 int buflen = 1024;
41427 int my_h_errno;
41428 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41429
41430 ;
41431 return 0;
41432 }
41433 _ACEOF
41434 rm -f conftest.$ac_objext
41435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41436 (eval $ac_compile) 2>conftest.er1
41437 ac_status=$?
41438 grep -v '^ *+' conftest.er1 >conftest.err
41439 rm -f conftest.er1
41440 cat conftest.err >&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); } &&
41443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41445 (eval $ac_try) 2>&5
41446 ac_status=$?
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); }; } &&
41449 { ac_try='test -s conftest.$ac_objext'
41450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41451 (eval $ac_try) 2>&5
41452 ac_status=$?
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); }; }; then
41455 ac_cv_func_which_gethostbyname_r=five
41456 else
41457 echo "$as_me: failed program was:" >&5
41458 sed 's/^/| /' conftest.$ac_ext >&5
41459
41460 fi
41461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41462
41463 fi
41464
41465 #
41466 # THREE ARGUMENTS
41467 # (e.g. AIX, HP-UX, Tru64)
41468 #
41469
41470 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41471
41472 cat >conftest.$ac_ext <<_ACEOF
41473 /* confdefs.h. */
41474 _ACEOF
41475 cat confdefs.h >>conftest.$ac_ext
41476 cat >>conftest.$ac_ext <<_ACEOF
41477 /* end confdefs.h. */
41478 #include <netdb.h>
41479 int
41480 main ()
41481 {
41482
41483 char *name = "www.gnu.org";
41484 struct hostent ret;
41485 struct hostent_data data;
41486 (void)gethostbyname_r(name, &ret, &data) /* ; */
41487
41488 ;
41489 return 0;
41490 }
41491 _ACEOF
41492 rm -f conftest.$ac_objext
41493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41494 (eval $ac_compile) 2>conftest.er1
41495 ac_status=$?
41496 grep -v '^ *+' conftest.er1 >conftest.err
41497 rm -f conftest.er1
41498 cat conftest.err >&5
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); } &&
41501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41503 (eval $ac_try) 2>&5
41504 ac_status=$?
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); }; } &&
41507 { ac_try='test -s conftest.$ac_objext'
41508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41509 (eval $ac_try) 2>&5
41510 ac_status=$?
41511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41512 (exit $ac_status); }; }; then
41513 ac_cv_func_which_gethostbyname_r=three
41514 else
41515 echo "$as_me: failed program was:" >&5
41516 sed 's/^/| /' conftest.$ac_ext >&5
41517
41518 fi
41519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41520
41521 fi
41522
41523 ################################################################
41524
41525
41526 fi
41527
41528 case "$ac_cv_func_which_gethostbyname_r" in
41529 three)
41530 echo "$as_me:$LINENO: result: three" >&5
41531 echo "${ECHO_T}three" >&6
41532 cat >>confdefs.h <<\_ACEOF
41533 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41534 _ACEOF
41535
41536 ;;
41537
41538 five)
41539 echo "$as_me:$LINENO: result: five" >&5
41540 echo "${ECHO_T}five" >&6
41541 cat >>confdefs.h <<\_ACEOF
41542 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41543 _ACEOF
41544
41545 ;;
41546
41547 six)
41548 echo "$as_me:$LINENO: result: six" >&5
41549 echo "${ECHO_T}six" >&6
41550 cat >>confdefs.h <<\_ACEOF
41551 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41552 _ACEOF
41553
41554 ;;
41555
41556 no)
41557 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41558 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41559 ;;
41560
41561 unknown)
41562 echo "$as_me:$LINENO: result: can't tell" >&5
41563 echo "${ECHO_T}can't tell" >&6
41564 ;;
41565
41566 *)
41567 { { echo "$as_me:$LINENO: error: internal error" >&5
41568 echo "$as_me: error: internal error" >&2;}
41569 { (exit 1); exit 1; }; }
41570 ;;
41571 esac
41572
41573 ac_ext=c
41574 ac_cpp='$CPP $CPPFLAGS'
41575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41578
41579
41580
41581 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41582 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41583 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41584 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41585 if test "${ac_cv_func_gethostbyname+set}" = set; then
41586 echo $ECHO_N "(cached) $ECHO_C" >&6
41587 else
41588 cat >conftest.$ac_ext <<_ACEOF
41589 /* confdefs.h. */
41590 _ACEOF
41591 cat confdefs.h >>conftest.$ac_ext
41592 cat >>conftest.$ac_ext <<_ACEOF
41593 /* end confdefs.h. */
41594 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41596 #define gethostbyname innocuous_gethostbyname
41597
41598 /* System header to define __stub macros and hopefully few prototypes,
41599 which can conflict with char gethostbyname (); below.
41600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41601 <limits.h> exists even on freestanding compilers. */
41602
41603 #ifdef __STDC__
41604 # include <limits.h>
41605 #else
41606 # include <assert.h>
41607 #endif
41608
41609 #undef gethostbyname
41610
41611 /* Override any gcc2 internal prototype to avoid an error. */
41612 #ifdef __cplusplus
41613 extern "C"
41614 {
41615 #endif
41616 /* We use char because int might match the return type of a gcc2
41617 builtin and then its argument prototype would still apply. */
41618 char gethostbyname ();
41619 /* The GNU C library defines this for functions which it implements
41620 to always fail with ENOSYS. Some functions are actually named
41621 something starting with __ and the normal name is an alias. */
41622 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41623 choke me
41624 #else
41625 char (*f) () = gethostbyname;
41626 #endif
41627 #ifdef __cplusplus
41628 }
41629 #endif
41630
41631 int
41632 main ()
41633 {
41634 return f != gethostbyname;
41635 ;
41636 return 0;
41637 }
41638 _ACEOF
41639 rm -f conftest.$ac_objext conftest$ac_exeext
41640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41641 (eval $ac_link) 2>conftest.er1
41642 ac_status=$?
41643 grep -v '^ *+' conftest.er1 >conftest.err
41644 rm -f conftest.er1
41645 cat conftest.err >&5
41646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647 (exit $ac_status); } &&
41648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41650 (eval $ac_try) 2>&5
41651 ac_status=$?
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); }; } &&
41654 { ac_try='test -s conftest$ac_exeext'
41655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41656 (eval $ac_try) 2>&5
41657 ac_status=$?
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); }; }; then
41660 ac_cv_func_gethostbyname=yes
41661 else
41662 echo "$as_me: failed program was:" >&5
41663 sed 's/^/| /' conftest.$ac_ext >&5
41664
41665 ac_cv_func_gethostbyname=no
41666 fi
41667 rm -f conftest.err conftest.$ac_objext \
41668 conftest$ac_exeext conftest.$ac_ext
41669 fi
41670 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41671 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41672 if test $ac_cv_func_gethostbyname = yes; then
41673 cat >>confdefs.h <<\_ACEOF
41674 #define HAVE_GETHOSTBYNAME 1
41675 _ACEOF
41676
41677 fi
41678
41679 fi
41680
41681 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41682 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41683 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41686
41687 ac_ext=cc
41688 ac_cpp='$CXXCPP $CPPFLAGS'
41689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41692
41693
41694 cat >conftest.$ac_ext <<_ACEOF
41695 /* confdefs.h. */
41696 _ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700 #include <netdb.h>
41701 int
41702 main ()
41703 {
41704
41705 char *name;
41706 char *proto;
41707 struct servent *se, *res;
41708 char buffer[2048];
41709 int buflen = 2048;
41710 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41711
41712 ;
41713 return 0;
41714 }
41715 _ACEOF
41716 rm -f conftest.$ac_objext
41717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41718 (eval $ac_compile) 2>conftest.er1
41719 ac_status=$?
41720 grep -v '^ *+' conftest.er1 >conftest.err
41721 rm -f conftest.er1
41722 cat conftest.err >&5
41723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41724 (exit $ac_status); } &&
41725 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41727 (eval $ac_try) 2>&5
41728 ac_status=$?
41729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41730 (exit $ac_status); }; } &&
41731 { ac_try='test -s conftest.$ac_objext'
41732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41733 (eval $ac_try) 2>&5
41734 ac_status=$?
41735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41736 (exit $ac_status); }; }; then
41737 ac_cv_func_which_getservbyname_r=six
41738 else
41739 echo "$as_me: failed program was:" >&5
41740 sed 's/^/| /' conftest.$ac_ext >&5
41741
41742
41743 cat >conftest.$ac_ext <<_ACEOF
41744 /* confdefs.h. */
41745 _ACEOF
41746 cat confdefs.h >>conftest.$ac_ext
41747 cat >>conftest.$ac_ext <<_ACEOF
41748 /* end confdefs.h. */
41749 #include <netdb.h>
41750 int
41751 main ()
41752 {
41753
41754 char *name;
41755 char *proto;
41756 struct servent *se;
41757 char buffer[2048];
41758 int buflen = 2048;
41759 (void) getservbyname_r(name, proto, se, buffer, buflen)
41760
41761 ;
41762 return 0;
41763 }
41764 _ACEOF
41765 rm -f conftest.$ac_objext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41767 (eval $ac_compile) 2>conftest.er1
41768 ac_status=$?
41769 grep -v '^ *+' conftest.er1 >conftest.err
41770 rm -f conftest.er1
41771 cat conftest.err >&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); } &&
41774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41776 (eval $ac_try) 2>&5
41777 ac_status=$?
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); }; } &&
41780 { ac_try='test -s conftest.$ac_objext'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; }; then
41786 ac_cv_func_which_getservbyname_r=five
41787 else
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.$ac_ext >&5
41790
41791
41792 cat >conftest.$ac_ext <<_ACEOF
41793 /* confdefs.h. */
41794 _ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 #include <netdb.h>
41799 int
41800 main ()
41801 {
41802
41803 char *name;
41804 char *proto;
41805 struct servent *se;
41806 struct servent_data data;
41807 (void) getservbyname_r(name, proto, se, &data);
41808
41809 ;
41810 return 0;
41811 }
41812 _ACEOF
41813 rm -f conftest.$ac_objext
41814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41815 (eval $ac_compile) 2>conftest.er1
41816 ac_status=$?
41817 grep -v '^ *+' conftest.er1 >conftest.err
41818 rm -f conftest.er1
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } &&
41822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41824 (eval $ac_try) 2>&5
41825 ac_status=$?
41826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41827 (exit $ac_status); }; } &&
41828 { ac_try='test -s conftest.$ac_objext'
41829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41830 (eval $ac_try) 2>&5
41831 ac_status=$?
41832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833 (exit $ac_status); }; }; then
41834 ac_cv_func_which_getservbyname_r=four
41835 else
41836 echo "$as_me: failed program was:" >&5
41837 sed 's/^/| /' conftest.$ac_ext >&5
41838
41839 ac_cv_func_which_getservbyname_r=no
41840
41841 fi
41842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41843
41844
41845 fi
41846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41847
41848
41849 fi
41850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856
41857
41858
41859 fi
41860 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41861 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41862
41863 if test $ac_cv_func_which_getservbyname_r = six; then
41864 cat >>confdefs.h <<\_ACEOF
41865 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41866 _ACEOF
41867
41868 elif test $ac_cv_func_which_getservbyname_r = five; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41871 _ACEOF
41872
41873 elif test $ac_cv_func_which_getservbyname_r = four; then
41874 cat >>confdefs.h <<\_ACEOF
41875 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41876 _ACEOF
41877
41878 fi
41879
41880
41881 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41882 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41883
41884 for ac_func in getservbyname
41885 do
41886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41887 echo "$as_me:$LINENO: checking for $ac_func" >&5
41888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41889 if eval "test \"\${$as_ac_var+set}\" = set"; then
41890 echo $ECHO_N "(cached) $ECHO_C" >&6
41891 else
41892 cat >conftest.$ac_ext <<_ACEOF
41893 /* confdefs.h. */
41894 _ACEOF
41895 cat confdefs.h >>conftest.$ac_ext
41896 cat >>conftest.$ac_ext <<_ACEOF
41897 /* end confdefs.h. */
41898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41900 #define $ac_func innocuous_$ac_func
41901
41902 /* System header to define __stub macros and hopefully few prototypes,
41903 which can conflict with char $ac_func (); below.
41904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41905 <limits.h> exists even on freestanding compilers. */
41906
41907 #ifdef __STDC__
41908 # include <limits.h>
41909 #else
41910 # include <assert.h>
41911 #endif
41912
41913 #undef $ac_func
41914
41915 /* Override any gcc2 internal prototype to avoid an error. */
41916 #ifdef __cplusplus
41917 extern "C"
41918 {
41919 #endif
41920 /* We use char because int might match the return type of a gcc2
41921 builtin and then its argument prototype would still apply. */
41922 char $ac_func ();
41923 /* The GNU C library defines this for functions which it implements
41924 to always fail with ENOSYS. Some functions are actually named
41925 something starting with __ and the normal name is an alias. */
41926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41927 choke me
41928 #else
41929 char (*f) () = $ac_func;
41930 #endif
41931 #ifdef __cplusplus
41932 }
41933 #endif
41934
41935 int
41936 main ()
41937 {
41938 return f != $ac_func;
41939 ;
41940 return 0;
41941 }
41942 _ACEOF
41943 rm -f conftest.$ac_objext conftest$ac_exeext
41944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41945 (eval $ac_link) 2>conftest.er1
41946 ac_status=$?
41947 grep -v '^ *+' conftest.er1 >conftest.err
41948 rm -f conftest.er1
41949 cat conftest.err >&5
41950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41951 (exit $ac_status); } &&
41952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41954 (eval $ac_try) 2>&5
41955 ac_status=$?
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); }; } &&
41958 { ac_try='test -s conftest$ac_exeext'
41959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41960 (eval $ac_try) 2>&5
41961 ac_status=$?
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); }; }; then
41964 eval "$as_ac_var=yes"
41965 else
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.$ac_ext >&5
41968
41969 eval "$as_ac_var=no"
41970 fi
41971 rm -f conftest.err conftest.$ac_objext \
41972 conftest$ac_exeext conftest.$ac_ext
41973 fi
41974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41976 if test `eval echo '${'$as_ac_var'}'` = yes; then
41977 cat >>confdefs.h <<_ACEOF
41978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41979 _ACEOF
41980 cat >>confdefs.h <<\_ACEOF
41981 #define HAVE_GETSERVBYNAME 1
41982 _ACEOF
41983
41984 fi
41985 done
41986
41987 fi
41988
41989 if test "$wxUSE_THREADS" = "yes"; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_THREADS 1
41992 _ACEOF
41993
41994
41995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41996 else
41997 if test "$wx_cv_func_strtok_r" = "yes"; then
41998 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41999 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42000 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42001 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42002 echo "$as_me:$LINENO: result: yes" >&5
42003 echo "${ECHO_T}yes" >&6
42004 else
42005 echo "$as_me:$LINENO: result: no" >&5
42006 echo "${ECHO_T}no" >&6
42007 fi
42008 fi
42009 fi
42010
42011 if test "$WXGTK20" = 1 ; then
42012 cat >>confdefs.h <<_ACEOF
42013 #define __WXGTK20__ $WXGTK20
42014 _ACEOF
42015
42016 WXGTK12=1
42017 fi
42018
42019 if test "$WXGTK12" = 1 ; then
42020 cat >>confdefs.h <<_ACEOF
42021 #define __WXGTK12__ $WXGTK12
42022 _ACEOF
42023
42024 fi
42025
42026 if test "$WXGTK127" = 1 ; then
42027 cat >>confdefs.h <<_ACEOF
42028 #define __WXGTK127__ $WXGTK127
42029 _ACEOF
42030
42031 fi
42032
42033 if test "$WXGPE" = 1 ; then
42034 cat >>confdefs.h <<_ACEOF
42035 #define __WXGPE__ $WXGPE
42036 _ACEOF
42037
42038 fi
42039
42040 DEBUG_CFLAGS=
42041 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42042 DEBUG_CFLAGS="-g"
42043 wxUSE_OPTIMISE=no
42044 fi
42045
42046 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42047 wxUSE_DEBUG_INFO=yes
42048 if test "$GCC" = yes; then
42049 DEBUG_CFLAGS="-ggdb"
42050 fi
42051 fi
42052
42053 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42054 cat >>confdefs.h <<\_ACEOF
42055 #define WXDEBUG 1
42056 _ACEOF
42057
42058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42059 else
42060 if test "$wxUSE_GTK" = 1 ; then
42061 if test "x$wxGTK_VERSION" = "x1" ; then
42062 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42063 fi
42064 fi
42065 fi
42066
42067 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42068 cat >>confdefs.h <<\_ACEOF
42069 #define wxUSE_MEMORY_TRACING 1
42070 _ACEOF
42071
42072 cat >>confdefs.h <<\_ACEOF
42073 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42074 _ACEOF
42075
42076 cat >>confdefs.h <<\_ACEOF
42077 #define wxUSE_DEBUG_NEW_ALWAYS 1
42078 _ACEOF
42079
42080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42081 fi
42082
42083 if test "$wxUSE_DMALLOC" = "yes" ; then
42084 DMALLOC_LIBS="-ldmallocthcxx"
42085 fi
42086
42087 PROFILE_FLAGS=
42088 if test "$wxUSE_PROFILE" = "yes" ; then
42089 PROFILE_FLAGS=" -pg"
42090 fi
42091
42092 if test "$GCC" = "yes" ; then
42093 if test "$wxUSE_NO_RTTI" = "yes" ; then
42094 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42095 fi
42096 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42097 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42098 fi
42099 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42100 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42101 fi
42102
42103 case "${host}" in
42104 powerpc*-*-aix* )
42105 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42106 ;;
42107 *-hppa* )
42108 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42109 ;;
42110 esac
42111 fi
42112
42113 OPTIMISE_CFLAGS=
42114 if test "$wxUSE_OPTIMISE" = "no" ; then
42115 if test "$GCC" = yes ; then
42116 OPTIMISE_CFLAGS="-O0"
42117 fi
42118 else
42119 if test "$GCC" = yes ; then
42120 case "${host}" in
42121 *-pc-os2_emx | *-pc-os2-emx )
42122 OPTIMISE_CFLAGS="-O2"
42123 ;;
42124 *)
42125 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42126 ;;
42127 esac
42128 else
42129 OPTIMISE_CFLAGS="-O"
42130 fi
42131 fi
42132
42133
42134 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42135 cat >>confdefs.h <<\_ACEOF
42136 #define WXWIN_COMPATIBILITY_2_4 1
42137 _ACEOF
42138
42139
42140 WXWIN_COMPATIBILITY_2_6="yes"
42141 fi
42142
42143 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define WXWIN_COMPATIBILITY_2_6 1
42146 _ACEOF
42147
42148 fi
42149
42150
42151 if test "$wxUSE_GUI" = "yes"; then
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_GUI 1
42154 _ACEOF
42155
42156
42157 fi
42158
42159
42160 if test "$wxUSE_UNIX" = "yes"; then
42161 cat >>confdefs.h <<\_ACEOF
42162 #define wxUSE_UNIX 1
42163 _ACEOF
42164
42165 fi
42166
42167
42168 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42169
42170 HAVE_DL_FUNCS=0
42171 HAVE_SHL_FUNCS=0
42172 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42173 if test "$USE_DARWIN" = 1; then
42174 HAVE_DL_FUNCS=1
42175 elif test "$USE_DOS" = 1; then
42176 HAVE_DL_FUNCS=0
42177 else
42178
42179 for ac_func in dlopen
42180 do
42181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42182 echo "$as_me:$LINENO: checking for $ac_func" >&5
42183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42184 if eval "test \"\${$as_ac_var+set}\" = set"; then
42185 echo $ECHO_N "(cached) $ECHO_C" >&6
42186 else
42187 cat >conftest.$ac_ext <<_ACEOF
42188 /* confdefs.h. */
42189 _ACEOF
42190 cat confdefs.h >>conftest.$ac_ext
42191 cat >>conftest.$ac_ext <<_ACEOF
42192 /* end confdefs.h. */
42193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42195 #define $ac_func innocuous_$ac_func
42196
42197 /* System header to define __stub macros and hopefully few prototypes,
42198 which can conflict with char $ac_func (); below.
42199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42200 <limits.h> exists even on freestanding compilers. */
42201
42202 #ifdef __STDC__
42203 # include <limits.h>
42204 #else
42205 # include <assert.h>
42206 #endif
42207
42208 #undef $ac_func
42209
42210 /* Override any gcc2 internal prototype to avoid an error. */
42211 #ifdef __cplusplus
42212 extern "C"
42213 {
42214 #endif
42215 /* We use char because int might match the return type of a gcc2
42216 builtin and then its argument prototype would still apply. */
42217 char $ac_func ();
42218 /* The GNU C library defines this for functions which it implements
42219 to always fail with ENOSYS. Some functions are actually named
42220 something starting with __ and the normal name is an alias. */
42221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42222 choke me
42223 #else
42224 char (*f) () = $ac_func;
42225 #endif
42226 #ifdef __cplusplus
42227 }
42228 #endif
42229
42230 int
42231 main ()
42232 {
42233 return f != $ac_func;
42234 ;
42235 return 0;
42236 }
42237 _ACEOF
42238 rm -f conftest.$ac_objext conftest$ac_exeext
42239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42240 (eval $ac_link) 2>conftest.er1
42241 ac_status=$?
42242 grep -v '^ *+' conftest.er1 >conftest.err
42243 rm -f conftest.er1
42244 cat conftest.err >&5
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); } &&
42247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42249 (eval $ac_try) 2>&5
42250 ac_status=$?
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); }; } &&
42253 { ac_try='test -s conftest$ac_exeext'
42254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42255 (eval $ac_try) 2>&5
42256 ac_status=$?
42257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258 (exit $ac_status); }; }; then
42259 eval "$as_ac_var=yes"
42260 else
42261 echo "$as_me: failed program was:" >&5
42262 sed 's/^/| /' conftest.$ac_ext >&5
42263
42264 eval "$as_ac_var=no"
42265 fi
42266 rm -f conftest.err conftest.$ac_objext \
42267 conftest$ac_exeext conftest.$ac_ext
42268 fi
42269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42271 if test `eval echo '${'$as_ac_var'}'` = yes; then
42272 cat >>confdefs.h <<_ACEOF
42273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42274 _ACEOF
42275
42276 cat >>confdefs.h <<\_ACEOF
42277 #define HAVE_DLOPEN 1
42278 _ACEOF
42279
42280 HAVE_DL_FUNCS=1
42281
42282 else
42283
42284 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42285 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42286 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42287 echo $ECHO_N "(cached) $ECHO_C" >&6
42288 else
42289 ac_check_lib_save_LIBS=$LIBS
42290 LIBS="-ldl $LIBS"
42291 cat >conftest.$ac_ext <<_ACEOF
42292 /* confdefs.h. */
42293 _ACEOF
42294 cat confdefs.h >>conftest.$ac_ext
42295 cat >>conftest.$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42297
42298 /* Override any gcc2 internal prototype to avoid an error. */
42299 #ifdef __cplusplus
42300 extern "C"
42301 #endif
42302 /* We use char because int might match the return type of a gcc2
42303 builtin and then its argument prototype would still apply. */
42304 char dlopen ();
42305 int
42306 main ()
42307 {
42308 dlopen ();
42309 ;
42310 return 0;
42311 }
42312 _ACEOF
42313 rm -f conftest.$ac_objext conftest$ac_exeext
42314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42315 (eval $ac_link) 2>conftest.er1
42316 ac_status=$?
42317 grep -v '^ *+' conftest.er1 >conftest.err
42318 rm -f conftest.er1
42319 cat conftest.err >&5
42320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42321 (exit $ac_status); } &&
42322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42324 (eval $ac_try) 2>&5
42325 ac_status=$?
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); }; } &&
42328 { ac_try='test -s conftest$ac_exeext'
42329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42330 (eval $ac_try) 2>&5
42331 ac_status=$?
42332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333 (exit $ac_status); }; }; then
42334 ac_cv_lib_dl_dlopen=yes
42335 else
42336 echo "$as_me: failed program was:" >&5
42337 sed 's/^/| /' conftest.$ac_ext >&5
42338
42339 ac_cv_lib_dl_dlopen=no
42340 fi
42341 rm -f conftest.err conftest.$ac_objext \
42342 conftest$ac_exeext conftest.$ac_ext
42343 LIBS=$ac_check_lib_save_LIBS
42344 fi
42345 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42346 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42347 if test $ac_cv_lib_dl_dlopen = yes; then
42348
42349 cat >>confdefs.h <<\_ACEOF
42350 #define HAVE_DLOPEN 1
42351 _ACEOF
42352
42353 HAVE_DL_FUNCS=1
42354 DL_LINK=" -ldl$DL_LINK"
42355
42356 else
42357
42358
42359 for ac_func in shl_load
42360 do
42361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42362 echo "$as_me:$LINENO: checking for $ac_func" >&5
42363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42364 if eval "test \"\${$as_ac_var+set}\" = set"; then
42365 echo $ECHO_N "(cached) $ECHO_C" >&6
42366 else
42367 cat >conftest.$ac_ext <<_ACEOF
42368 /* confdefs.h. */
42369 _ACEOF
42370 cat confdefs.h >>conftest.$ac_ext
42371 cat >>conftest.$ac_ext <<_ACEOF
42372 /* end confdefs.h. */
42373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42375 #define $ac_func innocuous_$ac_func
42376
42377 /* System header to define __stub macros and hopefully few prototypes,
42378 which can conflict with char $ac_func (); below.
42379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42380 <limits.h> exists even on freestanding compilers. */
42381
42382 #ifdef __STDC__
42383 # include <limits.h>
42384 #else
42385 # include <assert.h>
42386 #endif
42387
42388 #undef $ac_func
42389
42390 /* Override any gcc2 internal prototype to avoid an error. */
42391 #ifdef __cplusplus
42392 extern "C"
42393 {
42394 #endif
42395 /* We use char because int might match the return type of a gcc2
42396 builtin and then its argument prototype would still apply. */
42397 char $ac_func ();
42398 /* The GNU C library defines this for functions which it implements
42399 to always fail with ENOSYS. Some functions are actually named
42400 something starting with __ and the normal name is an alias. */
42401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42402 choke me
42403 #else
42404 char (*f) () = $ac_func;
42405 #endif
42406 #ifdef __cplusplus
42407 }
42408 #endif
42409
42410 int
42411 main ()
42412 {
42413 return f != $ac_func;
42414 ;
42415 return 0;
42416 }
42417 _ACEOF
42418 rm -f conftest.$ac_objext conftest$ac_exeext
42419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42420 (eval $ac_link) 2>conftest.er1
42421 ac_status=$?
42422 grep -v '^ *+' conftest.er1 >conftest.err
42423 rm -f conftest.er1
42424 cat conftest.err >&5
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); } &&
42427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42430 ac_status=$?
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; } &&
42433 { ac_try='test -s conftest$ac_exeext'
42434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42435 (eval $ac_try) 2>&5
42436 ac_status=$?
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); }; }; then
42439 eval "$as_ac_var=yes"
42440 else
42441 echo "$as_me: failed program was:" >&5
42442 sed 's/^/| /' conftest.$ac_ext >&5
42443
42444 eval "$as_ac_var=no"
42445 fi
42446 rm -f conftest.err conftest.$ac_objext \
42447 conftest$ac_exeext conftest.$ac_ext
42448 fi
42449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42451 if test `eval echo '${'$as_ac_var'}'` = yes; then
42452 cat >>confdefs.h <<_ACEOF
42453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42454 _ACEOF
42455
42456 cat >>confdefs.h <<\_ACEOF
42457 #define HAVE_SHL_LOAD 1
42458 _ACEOF
42459
42460 HAVE_SHL_FUNCS=1
42461
42462 else
42463
42464 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42465 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42466 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42467 echo $ECHO_N "(cached) $ECHO_C" >&6
42468 else
42469 ac_check_lib_save_LIBS=$LIBS
42470 LIBS="-lshl_load $LIBS"
42471 cat >conftest.$ac_ext <<_ACEOF
42472 /* confdefs.h. */
42473 _ACEOF
42474 cat confdefs.h >>conftest.$ac_ext
42475 cat >>conftest.$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477
42478 /* Override any gcc2 internal prototype to avoid an error. */
42479 #ifdef __cplusplus
42480 extern "C"
42481 #endif
42482 /* We use char because int might match the return type of a gcc2
42483 builtin and then its argument prototype would still apply. */
42484 char dld ();
42485 int
42486 main ()
42487 {
42488 dld ();
42489 ;
42490 return 0;
42491 }
42492 _ACEOF
42493 rm -f conftest.$ac_objext conftest$ac_exeext
42494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42495 (eval $ac_link) 2>conftest.er1
42496 ac_status=$?
42497 grep -v '^ *+' conftest.er1 >conftest.err
42498 rm -f conftest.er1
42499 cat conftest.err >&5
42500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42501 (exit $ac_status); } &&
42502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42504 (eval $ac_try) 2>&5
42505 ac_status=$?
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); }; } &&
42508 { ac_try='test -s conftest$ac_exeext'
42509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42510 (eval $ac_try) 2>&5
42511 ac_status=$?
42512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42513 (exit $ac_status); }; }; then
42514 ac_cv_lib_shl_load_dld=yes
42515 else
42516 echo "$as_me: failed program was:" >&5
42517 sed 's/^/| /' conftest.$ac_ext >&5
42518
42519 ac_cv_lib_shl_load_dld=no
42520 fi
42521 rm -f conftest.err conftest.$ac_objext \
42522 conftest$ac_exeext conftest.$ac_ext
42523 LIBS=$ac_check_lib_save_LIBS
42524 fi
42525 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42526 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42527 if test $ac_cv_lib_shl_load_dld = yes; then
42528
42529 HAVE_SHL_FUNCS=1
42530 DL_LINK=" -ldld$DL_LINK"
42531
42532 fi
42533
42534
42535 fi
42536 done
42537
42538
42539 fi
42540
42541
42542 fi
42543 done
42544
42545
42546 if test "$HAVE_DL_FUNCS" = 1; then
42547
42548 for ac_func in dlerror
42549 do
42550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42551 echo "$as_me:$LINENO: checking for $ac_func" >&5
42552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42553 if eval "test \"\${$as_ac_var+set}\" = set"; then
42554 echo $ECHO_N "(cached) $ECHO_C" >&6
42555 else
42556 cat >conftest.$ac_ext <<_ACEOF
42557 /* confdefs.h. */
42558 _ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42564 #define $ac_func innocuous_$ac_func
42565
42566 /* System header to define __stub macros and hopefully few prototypes,
42567 which can conflict with char $ac_func (); below.
42568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42569 <limits.h> exists even on freestanding compilers. */
42570
42571 #ifdef __STDC__
42572 # include <limits.h>
42573 #else
42574 # include <assert.h>
42575 #endif
42576
42577 #undef $ac_func
42578
42579 /* Override any gcc2 internal prototype to avoid an error. */
42580 #ifdef __cplusplus
42581 extern "C"
42582 {
42583 #endif
42584 /* We use char because int might match the return type of a gcc2
42585 builtin and then its argument prototype would still apply. */
42586 char $ac_func ();
42587 /* The GNU C library defines this for functions which it implements
42588 to always fail with ENOSYS. Some functions are actually named
42589 something starting with __ and the normal name is an alias. */
42590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42591 choke me
42592 #else
42593 char (*f) () = $ac_func;
42594 #endif
42595 #ifdef __cplusplus
42596 }
42597 #endif
42598
42599 int
42600 main ()
42601 {
42602 return f != $ac_func;
42603 ;
42604 return 0;
42605 }
42606 _ACEOF
42607 rm -f conftest.$ac_objext conftest$ac_exeext
42608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42609 (eval $ac_link) 2>conftest.er1
42610 ac_status=$?
42611 grep -v '^ *+' conftest.er1 >conftest.err
42612 rm -f conftest.er1
42613 cat conftest.err >&5
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); } &&
42616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42618 (eval $ac_try) 2>&5
42619 ac_status=$?
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); }; } &&
42622 { ac_try='test -s conftest$ac_exeext'
42623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42624 (eval $ac_try) 2>&5
42625 ac_status=$?
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); }; }; then
42628 eval "$as_ac_var=yes"
42629 else
42630 echo "$as_me: failed program was:" >&5
42631 sed 's/^/| /' conftest.$ac_ext >&5
42632
42633 eval "$as_ac_var=no"
42634 fi
42635 rm -f conftest.err conftest.$ac_objext \
42636 conftest$ac_exeext conftest.$ac_ext
42637 fi
42638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42640 if test `eval echo '${'$as_ac_var'}'` = yes; then
42641 cat >>confdefs.h <<_ACEOF
42642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42643 _ACEOF
42644 cat >>confdefs.h <<\_ACEOF
42645 #define HAVE_DLERROR 1
42646 _ACEOF
42647
42648 else
42649
42650 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42651 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42652 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42653 echo $ECHO_N "(cached) $ECHO_C" >&6
42654 else
42655 ac_check_lib_save_LIBS=$LIBS
42656 LIBS="-ldl $LIBS"
42657 cat >conftest.$ac_ext <<_ACEOF
42658 /* confdefs.h. */
42659 _ACEOF
42660 cat confdefs.h >>conftest.$ac_ext
42661 cat >>conftest.$ac_ext <<_ACEOF
42662 /* end confdefs.h. */
42663
42664 /* Override any gcc2 internal prototype to avoid an error. */
42665 #ifdef __cplusplus
42666 extern "C"
42667 #endif
42668 /* We use char because int might match the return type of a gcc2
42669 builtin and then its argument prototype would still apply. */
42670 char dlerror ();
42671 int
42672 main ()
42673 {
42674 dlerror ();
42675 ;
42676 return 0;
42677 }
42678 _ACEOF
42679 rm -f conftest.$ac_objext conftest$ac_exeext
42680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42681 (eval $ac_link) 2>conftest.er1
42682 ac_status=$?
42683 grep -v '^ *+' conftest.er1 >conftest.err
42684 rm -f conftest.er1
42685 cat conftest.err >&5
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); } &&
42688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42690 (eval $ac_try) 2>&5
42691 ac_status=$?
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); }; } &&
42694 { ac_try='test -s conftest$ac_exeext'
42695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42696 (eval $ac_try) 2>&5
42697 ac_status=$?
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); }; }; then
42700 ac_cv_lib_dl_dlerror=yes
42701 else
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42704
42705 ac_cv_lib_dl_dlerror=no
42706 fi
42707 rm -f conftest.err conftest.$ac_objext \
42708 conftest$ac_exeext conftest.$ac_ext
42709 LIBS=$ac_check_lib_save_LIBS
42710 fi
42711 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42712 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42713 if test $ac_cv_lib_dl_dlerror = yes; then
42714 cat >>confdefs.h <<\_ACEOF
42715 #define HAVE_DLERROR 1
42716 _ACEOF
42717
42718 fi
42719
42720
42721
42722 fi
42723 done
42724
42725 fi
42726 fi
42727
42728 if test "$HAVE_DL_FUNCS" = 0; then
42729 if test "$HAVE_SHL_FUNCS" = 0; then
42730 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42731 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42732 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42733 wxUSE_DYNAMIC_LOADER=no
42734 wxUSE_DYNLIB_CLASS=no
42735 else
42736 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42737 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42738 fi
42739 fi
42740 fi
42741 fi
42742 fi
42743
42744 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_DYNAMIC_LOADER 1
42747 _ACEOF
42748
42749 fi
42750 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42751 cat >>confdefs.h <<\_ACEOF
42752 #define wxUSE_DYNLIB_CLASS 1
42753 _ACEOF
42754
42755 fi
42756
42757
42758
42759 if test "$wxUSE_PLUGINS" = "yes" ; then
42760 if test "$wxUSE_SHARED" = "no" ; then
42761 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42762 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42763 wxUSE_PLUGINS=no
42764 fi
42765 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42766 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42767 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42768 wxUSE_PLUGINS=no
42769 fi
42770 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42771 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42772 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42773 wxUSE_PLUGINS=no
42774 fi
42775 if test "$wxUSE_PLUGINS" = "yes" ; then
42776 cat >>confdefs.h <<\_ACEOF
42777 #define wxUSE_PLUGINS 1
42778 _ACEOF
42779
42780 fi
42781 fi
42782
42783
42784 if test "$wxUSE_STL" = "yes"; then
42785 cat >>confdefs.h <<\_ACEOF
42786 #define wxUSE_STL 1
42787 _ACEOF
42788
42789 fi
42790
42791 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42792 cat >>confdefs.h <<\_ACEOF
42793 #define wxUSE_APPLE_IEEE 1
42794 _ACEOF
42795
42796 fi
42797
42798 if test "$wxUSE_TIMER" = "yes"; then
42799 cat >>confdefs.h <<\_ACEOF
42800 #define wxUSE_TIMER 1
42801 _ACEOF
42802
42803 fi
42804
42805 if test "$USE_UNIX" = "1" ; then
42806 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42807 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42808 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42809 echo $ECHO_N "(cached) $ECHO_C" >&6
42810 else
42811
42812 cat >conftest.$ac_ext <<_ACEOF
42813 /* confdefs.h. */
42814 _ACEOF
42815 cat confdefs.h >>conftest.$ac_ext
42816 cat >>conftest.$ac_ext <<_ACEOF
42817 /* end confdefs.h. */
42818
42819 #include <sys/ioctl.h>
42820 #include <sys/soundcard.h>
42821
42822 int
42823 main ()
42824 {
42825
42826 ioctl(0, SNDCTL_DSP_SPEED, 0);
42827
42828 ;
42829 return 0;
42830 }
42831 _ACEOF
42832 rm -f conftest.$ac_objext conftest$ac_exeext
42833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42834 (eval $ac_link) 2>conftest.er1
42835 ac_status=$?
42836 grep -v '^ *+' conftest.er1 >conftest.err
42837 rm -f conftest.er1
42838 cat conftest.err >&5
42839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42840 (exit $ac_status); } &&
42841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42843 (eval $ac_try) 2>&5
42844 ac_status=$?
42845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42846 (exit $ac_status); }; } &&
42847 { ac_try='test -s conftest$ac_exeext'
42848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42849 (eval $ac_try) 2>&5
42850 ac_status=$?
42851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42852 (exit $ac_status); }; }; then
42853 ac_cv_header_sys_soundcard=yes
42854 else
42855 echo "$as_me: failed program was:" >&5
42856 sed 's/^/| /' conftest.$ac_ext >&5
42857
42858
42859 saveLibs="$LIBS"
42860 LIBS="$saveLibs -lossaudio"
42861 cat >conftest.$ac_ext <<_ACEOF
42862 /* confdefs.h. */
42863 _ACEOF
42864 cat confdefs.h >>conftest.$ac_ext
42865 cat >>conftest.$ac_ext <<_ACEOF
42866 /* end confdefs.h. */
42867
42868 #include <sys/ioctl.h>
42869 #include <sys/soundcard.h>
42870
42871 int
42872 main ()
42873 {
42874
42875 ioctl(0, SNDCTL_DSP_SPEED, 0);
42876
42877 ;
42878 return 0;
42879 }
42880 _ACEOF
42881 rm -f conftest.$ac_objext conftest$ac_exeext
42882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42883 (eval $ac_link) 2>conftest.er1
42884 ac_status=$?
42885 grep -v '^ *+' conftest.er1 >conftest.err
42886 rm -f conftest.er1
42887 cat conftest.err >&5
42888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42889 (exit $ac_status); } &&
42890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42892 (eval $ac_try) 2>&5
42893 ac_status=$?
42894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42895 (exit $ac_status); }; } &&
42896 { ac_try='test -s conftest$ac_exeext'
42897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42898 (eval $ac_try) 2>&5
42899 ac_status=$?
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); }; }; then
42902 ac_cv_header_sys_soundcard=yes
42903 else
42904 echo "$as_me: failed program was:" >&5
42905 sed 's/^/| /' conftest.$ac_ext >&5
42906
42907
42908 LIBS="$saveLibs"
42909 ac_cv_header_sys_soundcard=no
42910
42911
42912 fi
42913 rm -f conftest.err conftest.$ac_objext \
42914 conftest$ac_exeext conftest.$ac_ext
42915
42916
42917 fi
42918 rm -f conftest.err conftest.$ac_objext \
42919 conftest$ac_exeext conftest.$ac_ext
42920
42921 fi
42922 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42923 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42924
42925 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42926 cat >>confdefs.h <<\_ACEOF
42927 #define HAVE_SYS_SOUNDCARD_H 1
42928 _ACEOF
42929
42930 else
42931 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42932 fi
42933 fi
42934 WITH_PLUGIN_SDL=0
42935 if test "$wxUSE_SOUND" = "yes"; then
42936 if test "$USE_UNIX" = "1" ; then
42937 if test "$wxUSE_LIBSDL" != "no"; then
42938
42939 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42940 if test "${with_sdl_prefix+set}" = set; then
42941 withval="$with_sdl_prefix"
42942 sdl_prefix="$withval"
42943 else
42944 sdl_prefix=""
42945 fi;
42946
42947 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42948 if test "${with_sdl_exec_prefix+set}" = set; then
42949 withval="$with_sdl_exec_prefix"
42950 sdl_exec_prefix="$withval"
42951 else
42952 sdl_exec_prefix=""
42953 fi;
42954 # Check whether --enable-sdltest or --disable-sdltest was given.
42955 if test "${enable_sdltest+set}" = set; then
42956 enableval="$enable_sdltest"
42957
42958 else
42959 enable_sdltest=yes
42960 fi;
42961
42962 if test x$sdl_exec_prefix != x ; then
42963 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42964 if test x${SDL_CONFIG+set} != xset ; then
42965 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42966 fi
42967 fi
42968 if test x$sdl_prefix != x ; then
42969 sdl_args="$sdl_args --prefix=$sdl_prefix"
42970 if test x${SDL_CONFIG+set} != xset ; then
42971 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42972 fi
42973 fi
42974
42975 if test "x$prefix" != xNONE; then
42976 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42977 fi
42978 # Extract the first word of "sdl-config", so it can be a program name with args.
42979 set dummy sdl-config; ac_word=$2
42980 echo "$as_me:$LINENO: checking for $ac_word" >&5
42981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42982 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42983 echo $ECHO_N "(cached) $ECHO_C" >&6
42984 else
42985 case $SDL_CONFIG in
42986 [\\/]* | ?:[\\/]*)
42987 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42988 ;;
42989 *)
42990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42991 for as_dir in $PATH
42992 do
42993 IFS=$as_save_IFS
42994 test -z "$as_dir" && as_dir=.
42995 for ac_exec_ext in '' $ac_executable_extensions; do
42996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42997 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42999 break 2
43000 fi
43001 done
43002 done
43003
43004 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43005 ;;
43006 esac
43007 fi
43008 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43009
43010 if test -n "$SDL_CONFIG"; then
43011 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43012 echo "${ECHO_T}$SDL_CONFIG" >&6
43013 else
43014 echo "$as_me:$LINENO: result: no" >&5
43015 echo "${ECHO_T}no" >&6
43016 fi
43017
43018 min_sdl_version=1.2.0
43019 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43020 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43021 no_sdl=""
43022 if test "$SDL_CONFIG" = "no" ; then
43023 no_sdl=yes
43024 else
43025 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43026 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43027
43028 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43030 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43032 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43034 if test "x$enable_sdltest" = "xyes" ; then
43035 ac_save_CFLAGS="$CFLAGS"
43036 ac_save_CXXFLAGS="$CXXFLAGS"
43037 ac_save_LIBS="$LIBS"
43038 CFLAGS="$CFLAGS $SDL_CFLAGS"
43039 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43040 LIBS="$LIBS $SDL_LIBS"
43041 rm -f conf.sdltest
43042 if test "$cross_compiling" = yes; then
43043 echo $ac_n "cross compiling; assumed OK... $ac_c"
43044 else
43045 cat >conftest.$ac_ext <<_ACEOF
43046 /* confdefs.h. */
43047 _ACEOF
43048 cat confdefs.h >>conftest.$ac_ext
43049 cat >>conftest.$ac_ext <<_ACEOF
43050 /* end confdefs.h. */
43051
43052 #include <stdio.h>
43053 #include <stdlib.h>
43054 #include <string.h>
43055 #include "SDL.h"
43056
43057 char*
43058 my_strdup (char *str)
43059 {
43060 char *new_str;
43061
43062 if (str)
43063 {
43064 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43065 strcpy (new_str, str);
43066 }
43067 else
43068 new_str = NULL;
43069
43070 return new_str;
43071 }
43072
43073 int main (int argc, char *argv[])
43074 {
43075 int major, minor, micro;
43076 char *tmp_version;
43077
43078 /* This hangs on some systems (?)
43079 system ("touch conf.sdltest");
43080 */
43081 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43082
43083 /* HP/UX 9 (%@#!) writes to sscanf strings */
43084 tmp_version = my_strdup("$min_sdl_version");
43085 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43086 printf("%s, bad version string\n", "$min_sdl_version");
43087 exit(1);
43088 }
43089
43090 if (($sdl_major_version > major) ||
43091 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43092 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43093 {
43094 return 0;
43095 }
43096 else
43097 {
43098 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43099 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43100 printf("*** best to upgrade to the required version.\n");
43101 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43102 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43103 printf("*** config.cache before re-running configure\n");
43104 return 1;
43105 }
43106 }
43107
43108
43109 _ACEOF
43110 rm -f conftest$ac_exeext
43111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43112 (eval $ac_link) 2>&5
43113 ac_status=$?
43114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43117 (eval $ac_try) 2>&5
43118 ac_status=$?
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); }; }; then
43121 :
43122 else
43123 echo "$as_me: program exited with status $ac_status" >&5
43124 echo "$as_me: failed program was:" >&5
43125 sed 's/^/| /' conftest.$ac_ext >&5
43126
43127 ( exit $ac_status )
43128 no_sdl=yes
43129 fi
43130 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43131 fi
43132 CFLAGS="$ac_save_CFLAGS"
43133 CXXFLAGS="$ac_save_CXXFLAGS"
43134 LIBS="$ac_save_LIBS"
43135 fi
43136 fi
43137 if test "x$no_sdl" = x ; then
43138 echo "$as_me:$LINENO: result: yes" >&5
43139 echo "${ECHO_T}yes" >&6
43140
43141 EXTRALIBS_SDL="$SDL_LIBS"
43142 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43143 cat >>confdefs.h <<\_ACEOF
43144 #define wxUSE_LIBSDL 1
43145 _ACEOF
43146
43147
43148 else
43149 echo "$as_me:$LINENO: result: no" >&5
43150 echo "${ECHO_T}no" >&6
43151 if test "$SDL_CONFIG" = "no" ; then
43152 echo "*** The sdl-config script installed by SDL could not be found"
43153 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43154 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43155 echo "*** full path to sdl-config."
43156 else
43157 if test -f conf.sdltest ; then
43158 :
43159 else
43160 echo "*** Could not run SDL test program, checking why..."
43161 CFLAGS="$CFLAGS $SDL_CFLAGS"
43162 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43163 LIBS="$LIBS $SDL_LIBS"
43164 cat >conftest.$ac_ext <<_ACEOF
43165 /* confdefs.h. */
43166 _ACEOF
43167 cat confdefs.h >>conftest.$ac_ext
43168 cat >>conftest.$ac_ext <<_ACEOF
43169 /* end confdefs.h. */
43170
43171 #include <stdio.h>
43172 #include "SDL.h"
43173
43174 int main(int argc, char *argv[])
43175 { return 0; }
43176 #undef main
43177 #define main K_and_R_C_main
43178
43179 int
43180 main ()
43181 {
43182 return 0;
43183 ;
43184 return 0;
43185 }
43186 _ACEOF
43187 rm -f conftest.$ac_objext conftest$ac_exeext
43188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43189 (eval $ac_link) 2>conftest.er1
43190 ac_status=$?
43191 grep -v '^ *+' conftest.er1 >conftest.err
43192 rm -f conftest.er1
43193 cat conftest.err >&5
43194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43195 (exit $ac_status); } &&
43196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43198 (eval $ac_try) 2>&5
43199 ac_status=$?
43200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201 (exit $ac_status); }; } &&
43202 { ac_try='test -s conftest$ac_exeext'
43203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43204 (eval $ac_try) 2>&5
43205 ac_status=$?
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); }; }; then
43208 echo "*** The test program compiled, but did not run. This usually means"
43209 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43210 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43211 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43212 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43213 echo "*** is required on your system"
43214 echo "***"
43215 echo "*** If you have an old version installed, it is best to remove it, although"
43216 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43217 else
43218 echo "$as_me: failed program was:" >&5
43219 sed 's/^/| /' conftest.$ac_ext >&5
43220
43221 echo "*** The test program failed to compile or link. See the file config.log for the"
43222 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43223 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43224 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43225 fi
43226 rm -f conftest.err conftest.$ac_objext \
43227 conftest$ac_exeext conftest.$ac_ext
43228 CFLAGS="$ac_save_CFLAGS"
43229 CXXFLAGS="$ac_save_CXXFLAGS"
43230 LIBS="$ac_save_LIBS"
43231 fi
43232 fi
43233 SDL_CFLAGS=""
43234 SDL_LIBS=""
43235 wxUSE_LIBSDL="no"
43236 fi
43237
43238
43239 rm -f conf.sdltest
43240
43241 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43242 WITH_PLUGIN_SDL=1
43243 fi
43244 fi
43245 else
43246 if test "$wxUSE_MGL" = 1; then
43247 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43248 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43249 wxUSE_SOUND="no"
43250 fi
43251 fi
43252 fi
43253
43254 if test "$wxUSE_SOUND" = "yes"; then
43255 cat >>confdefs.h <<\_ACEOF
43256 #define wxUSE_SOUND 1
43257 _ACEOF
43258
43259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43260 fi
43261
43262 if test "$WXGTK20" = 1; then
43263
43264
43265 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43266 if test -n "$ac_tool_prefix"; then
43267 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43268 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43269 echo "$as_me:$LINENO: checking for $ac_word" >&5
43270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43271 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43272 echo $ECHO_N "(cached) $ECHO_C" >&6
43273 else
43274 case $PKG_CONFIG in
43275 [\\/]* | ?:[\\/]*)
43276 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43277 ;;
43278 *)
43279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43280 for as_dir in $PATH
43281 do
43282 IFS=$as_save_IFS
43283 test -z "$as_dir" && as_dir=.
43284 for ac_exec_ext in '' $ac_executable_extensions; do
43285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43286 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43288 break 2
43289 fi
43290 done
43291 done
43292
43293 ;;
43294 esac
43295 fi
43296 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43297
43298 if test -n "$PKG_CONFIG"; then
43299 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43300 echo "${ECHO_T}$PKG_CONFIG" >&6
43301 else
43302 echo "$as_me:$LINENO: result: no" >&5
43303 echo "${ECHO_T}no" >&6
43304 fi
43305
43306 fi
43307 if test -z "$ac_cv_path_PKG_CONFIG"; then
43308 ac_pt_PKG_CONFIG=$PKG_CONFIG
43309 # Extract the first word of "pkg-config", so it can be a program name with args.
43310 set dummy pkg-config; ac_word=$2
43311 echo "$as_me:$LINENO: checking for $ac_word" >&5
43312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43313 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43314 echo $ECHO_N "(cached) $ECHO_C" >&6
43315 else
43316 case $ac_pt_PKG_CONFIG in
43317 [\\/]* | ?:[\\/]*)
43318 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43319 ;;
43320 *)
43321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43322 for as_dir in $PATH
43323 do
43324 IFS=$as_save_IFS
43325 test -z "$as_dir" && as_dir=.
43326 for ac_exec_ext in '' $ac_executable_extensions; do
43327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43328 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43330 break 2
43331 fi
43332 done
43333 done
43334
43335 ;;
43336 esac
43337 fi
43338 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43339
43340 if test -n "$ac_pt_PKG_CONFIG"; then
43341 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43342 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43343 else
43344 echo "$as_me:$LINENO: result: no" >&5
43345 echo "${ECHO_T}no" >&6
43346 fi
43347
43348 PKG_CONFIG=$ac_pt_PKG_CONFIG
43349 else
43350 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43351 fi
43352
43353 fi
43354 if test -n "$PKG_CONFIG"; then
43355 _pkg_min_version=0.9.0
43356 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43357 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43359 echo "$as_me:$LINENO: result: yes" >&5
43360 echo "${ECHO_T}yes" >&6
43361 else
43362 echo "$as_me:$LINENO: result: no" >&5
43363 echo "${ECHO_T}no" >&6
43364 PKG_CONFIG=""
43365 fi
43366
43367 fi
43368
43369 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43370 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43371
43372
43373 pkg_failed=no
43374 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43375 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43376
43377 if test -n "$PKG_CONFIG"; then
43378 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43379 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43380 else
43381 if test -n "$PKG_CONFIG" && \
43382 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43383 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; then
43387 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43388 else
43389 pkg_failed=yes
43390 fi
43391 fi
43392 else
43393 pkg_failed=untried
43394 fi
43395 if test -n "$PKG_CONFIG"; then
43396 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43397 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43398 else
43399 if test -n "$PKG_CONFIG" && \
43400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43401 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43402 ac_status=$?
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); }; then
43405 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43406 else
43407 pkg_failed=yes
43408 fi
43409 fi
43410 else
43411 pkg_failed=untried
43412 fi
43413
43414
43415
43416 if test $pkg_failed = yes; then
43417
43418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43419 _pkg_short_errors_supported=yes
43420 else
43421 _pkg_short_errors_supported=no
43422 fi
43423 if test $_pkg_short_errors_supported = yes; then
43424 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43425 else
43426 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43427 fi
43428 # Put the nasty error message in config.log where it belongs
43429 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43430
43431
43432 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43433 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43434 wxUSE_LIBGNOMEPRINT="no"
43435
43436
43437 elif test $pkg_failed = untried; then
43438
43439 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43440 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43441 wxUSE_LIBGNOMEPRINT="no"
43442
43443
43444 else
43445 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43446 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43447 echo "$as_me:$LINENO: result: yes" >&5
43448 echo "${ECHO_T}yes" >&6
43449
43450 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43451 cat >>confdefs.h <<\_ACEOF
43452 #define wxUSE_LIBGNOMEPRINT 1
43453 _ACEOF
43454
43455
43456 fi
43457 fi
43458 fi
43459
43460 if test "$wxUSE_MIMETYPE" = "yes" ; then
43461 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43462
43463
43464 pkg_failed=no
43465 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43466 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43467
43468 if test -n "$PKG_CONFIG"; then
43469 if test -n "$GNOMEVFS_CFLAGS"; then
43470 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43471 else
43472 if test -n "$PKG_CONFIG" && \
43473 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43474 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43475 ac_status=$?
43476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43477 (exit $ac_status); }; then
43478 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43479 else
43480 pkg_failed=yes
43481 fi
43482 fi
43483 else
43484 pkg_failed=untried
43485 fi
43486 if test -n "$PKG_CONFIG"; then
43487 if test -n "$GNOMEVFS_LIBS"; then
43488 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43489 else
43490 if test -n "$PKG_CONFIG" && \
43491 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43492 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43493 ac_status=$?
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); }; then
43496 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43497 else
43498 pkg_failed=yes
43499 fi
43500 fi
43501 else
43502 pkg_failed=untried
43503 fi
43504
43505
43506
43507 if test $pkg_failed = yes; then
43508
43509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43510 _pkg_short_errors_supported=yes
43511 else
43512 _pkg_short_errors_supported=no
43513 fi
43514 if test $_pkg_short_errors_supported = yes; then
43515 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43516 else
43517 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43518 fi
43519 # Put the nasty error message in config.log where it belongs
43520 echo "$GNOMEVFS_PKG_ERRORS" >&5
43521
43522
43523 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43524 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43525 wxUSE_LIBGNOMEVFS="no"
43526
43527
43528 elif test $pkg_failed = untried; then
43529
43530 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43531 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43532 wxUSE_LIBGNOMEVFS="no"
43533
43534
43535 else
43536 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43537 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43538 echo "$as_me:$LINENO: result: yes" >&5
43539 echo "${ECHO_T}yes" >&6
43540
43541 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43542 cat >>confdefs.h <<\_ACEOF
43543 #define wxUSE_LIBGNOMEVFS 1
43544 _ACEOF
43545
43546
43547 fi
43548 fi
43549 fi
43550
43551 if test "$wxUSE_LIBHILDON" = "yes" ; then
43552
43553 pkg_failed=no
43554 echo "$as_me:$LINENO: checking for HILDON" >&5
43555 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43556
43557 if test -n "$PKG_CONFIG"; then
43558 if test -n "$HILDON_CFLAGS"; then
43559 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43560 else
43561 if test -n "$PKG_CONFIG" && \
43562 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43563 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43564 ac_status=$?
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; then
43567 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43568 else
43569 pkg_failed=yes
43570 fi
43571 fi
43572 else
43573 pkg_failed=untried
43574 fi
43575 if test -n "$PKG_CONFIG"; then
43576 if test -n "$HILDON_LIBS"; then
43577 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43578 else
43579 if test -n "$PKG_CONFIG" && \
43580 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43581 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43582 ac_status=$?
43583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584 (exit $ac_status); }; then
43585 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43586 else
43587 pkg_failed=yes
43588 fi
43589 fi
43590 else
43591 pkg_failed=untried
43592 fi
43593
43594
43595
43596 if test $pkg_failed = yes; then
43597
43598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43599 _pkg_short_errors_supported=yes
43600 else
43601 _pkg_short_errors_supported=no
43602 fi
43603 if test $_pkg_short_errors_supported = yes; then
43604 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43605 else
43606 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43607 fi
43608 # Put the nasty error message in config.log where it belongs
43609 echo "$HILDON_PKG_ERRORS" >&5
43610
43611
43612 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43613 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43614 wxUSE_LIBHILDON="no"
43615
43616
43617 elif test $pkg_failed = untried; then
43618
43619 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43620 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43621 wxUSE_LIBHILDON="no"
43622
43623
43624 else
43625 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43626 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43627 echo "$as_me:$LINENO: result: yes" >&5
43628 echo "${ECHO_T}yes" >&6
43629
43630 EXTRALIBS_HILDON="$HILDON_LIBS"
43631 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43632 cat >>confdefs.h <<\_ACEOF
43633 #define wxUSE_LIBHILDON 1
43634 _ACEOF
43635
43636
43637 fi
43638 fi
43639 fi
43640
43641 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define wxUSE_CMDLINE_PARSER 1
43644 _ACEOF
43645
43646 fi
43647
43648 if test "$wxUSE_STOPWATCH" = "yes"; then
43649 cat >>confdefs.h <<\_ACEOF
43650 #define wxUSE_STOPWATCH 1
43651 _ACEOF
43652
43653 fi
43654
43655 if test "$wxUSE_DATETIME" = "yes"; then
43656 cat >>confdefs.h <<\_ACEOF
43657 #define wxUSE_DATETIME 1
43658 _ACEOF
43659
43660 fi
43661
43662 if test "$wxUSE_FILE" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_FILE 1
43665 _ACEOF
43666
43667 fi
43668
43669 if test "$wxUSE_FFILE" = "yes"; then
43670 cat >>confdefs.h <<\_ACEOF
43671 #define wxUSE_FFILE 1
43672 _ACEOF
43673
43674 fi
43675
43676 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43677 if test "$wxUSE_STREAMS" != yes; then
43678 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43679 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43680 wxUSE_ARCHIVE_STREAMS=no
43681 else
43682 cat >>confdefs.h <<\_ACEOF
43683 #define wxUSE_ARCHIVE_STREAMS 1
43684 _ACEOF
43685
43686 fi
43687 fi
43688
43689 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43690 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43691 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43692 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43693 elif test "$wxUSE_ZLIB" = "no"; then
43694 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43695 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43696 else
43697 cat >>confdefs.h <<\_ACEOF
43698 #define wxUSE_ZIPSTREAM 1
43699 _ACEOF
43700
43701 fi
43702 fi
43703
43704 if test "$wxUSE_TARSTREAM" = "yes"; then
43705 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43706 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43707 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43708 else
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_TARSTREAM 1
43711 _ACEOF
43712
43713 fi
43714 fi
43715
43716 if test "$wxUSE_FILESYSTEM" = "yes"; then
43717 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43718 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43719 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43720 wxUSE_FILESYSTEM=no
43721 else
43722 cat >>confdefs.h <<\_ACEOF
43723 #define wxUSE_FILESYSTEM 1
43724 _ACEOF
43725
43726 fi
43727 fi
43728
43729 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43730 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43731 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43732 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43733 else
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxUSE_FS_ARCHIVE 1
43736 _ACEOF
43737
43738 fi
43739 fi
43740
43741 if test "$wxUSE_FS_ZIP" = "yes"; then
43742 if test "$wxUSE_FS_ARCHIVE" != yes; then
43743 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43744 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43745 else
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_FS_ZIP 1
43748 _ACEOF
43749
43750 fi
43751 fi
43752
43753 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43754 if test "$USE_UNIX" != 1; then
43755 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43756 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43757 wxUSE_ON_FATAL_EXCEPTION=no
43758 else
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_ON_FATAL_EXCEPTION 1
43761 _ACEOF
43762
43763 fi
43764 fi
43765
43766 if test "$wxUSE_STACKWALKER" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_STACKWALKER 1
43769 _ACEOF
43770
43771 fi
43772
43773 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43774 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43775 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43776 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43777 wxUSE_DEBUGREPORT=no
43778 else
43779 cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_DEBUGREPORT 1
43781 _ACEOF
43782
43783 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43785 fi
43786 fi
43787 fi
43788
43789 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43790 cat >>confdefs.h <<\_ACEOF
43791 #define wxUSE_SNGLINST_CHECKER 1
43792 _ACEOF
43793
43794 fi
43795
43796 if test "$wxUSE_BUSYINFO" = "yes"; then
43797 cat >>confdefs.h <<\_ACEOF
43798 #define wxUSE_BUSYINFO 1
43799 _ACEOF
43800
43801 fi
43802
43803 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43804 cat >>confdefs.h <<\_ACEOF
43805 #define wxUSE_STD_IOSTREAM 1
43806 _ACEOF
43807
43808 fi
43809
43810 if test "$wxUSE_STD_STRING" = "yes"; then
43811 cat >>confdefs.h <<\_ACEOF
43812 #define wxUSE_STD_STRING 1
43813 _ACEOF
43814
43815 fi
43816
43817 if test "$wxUSE_STDPATHS" = "yes"; then
43818 cat >>confdefs.h <<\_ACEOF
43819 #define wxUSE_STDPATHS 1
43820 _ACEOF
43821
43822 fi
43823
43824 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43825 cat >>confdefs.h <<\_ACEOF
43826 #define wxUSE_TEXTBUFFER 1
43827 _ACEOF
43828
43829 fi
43830
43831 if test "$wxUSE_TEXTFILE" = "yes"; then
43832 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43833 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43834 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43835 else
43836 cat >>confdefs.h <<\_ACEOF
43837 #define wxUSE_TEXTFILE 1
43838 _ACEOF
43839
43840 fi
43841 fi
43842
43843 if test "$wxUSE_CONFIG" = "yes" ; then
43844 if test "$wxUSE_TEXTFILE" != "yes"; then
43845 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43846 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43847 else
43848 cat >>confdefs.h <<\_ACEOF
43849 #define wxUSE_CONFIG 1
43850 _ACEOF
43851
43852 cat >>confdefs.h <<\_ACEOF
43853 #define wxUSE_CONFIG_NATIVE 1
43854 _ACEOF
43855
43856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43857 fi
43858 fi
43859
43860 if test "$wxUSE_INTL" = "yes" ; then
43861 if test "$wxUSE_FILE" != "yes"; then
43862 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43863 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43864 else
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_INTL 1
43867 _ACEOF
43868
43869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43870 GUIDIST="$GUIDIST INTL_DIST"
43871 fi
43872 fi
43873
43874 if test "$wxUSE_LOG" = "yes"; then
43875 cat >>confdefs.h <<\_ACEOF
43876 #define wxUSE_LOG 1
43877 _ACEOF
43878
43879
43880 if test "$wxUSE_LOGGUI" = "yes"; then
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_LOGGUI 1
43883 _ACEOF
43884
43885 fi
43886
43887 if test "$wxUSE_LOGWINDOW" = "yes"; then
43888 cat >>confdefs.h <<\_ACEOF
43889 #define wxUSE_LOGWINDOW 1
43890 _ACEOF
43891
43892 fi
43893
43894 if test "$wxUSE_LOGDIALOG" = "yes"; then
43895 cat >>confdefs.h <<\_ACEOF
43896 #define wxUSE_LOG_DIALOG 1
43897 _ACEOF
43898
43899 fi
43900
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43902 fi
43903
43904 if test "$wxUSE_LONGLONG" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_LONGLONG 1
43907 _ACEOF
43908
43909 fi
43910
43911 if test "$wxUSE_GEOMETRY" = "yes"; then
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_GEOMETRY 1
43914 _ACEOF
43915
43916 fi
43917
43918 if test "$wxUSE_STREAMS" = "yes" ; then
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_STREAMS 1
43921 _ACEOF
43922
43923 fi
43924
43925 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43926 cat >>confdefs.h <<\_ACEOF
43927 #define wxUSE_PRINTF_POS_PARAMS 1
43928 _ACEOF
43929
43930 fi
43931
43932
43933
43934 if test "$wxUSE_DATETIME" = "yes"; then
43935
43936 for ac_func in strptime
43937 do
43938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43939 echo "$as_me:$LINENO: checking for $ac_func" >&5
43940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43941 if eval "test \"\${$as_ac_var+set}\" = set"; then
43942 echo $ECHO_N "(cached) $ECHO_C" >&6
43943 else
43944 cat >conftest.$ac_ext <<_ACEOF
43945 /* confdefs.h. */
43946 _ACEOF
43947 cat confdefs.h >>conftest.$ac_ext
43948 cat >>conftest.$ac_ext <<_ACEOF
43949 /* end confdefs.h. */
43950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43952 #define $ac_func innocuous_$ac_func
43953
43954 /* System header to define __stub macros and hopefully few prototypes,
43955 which can conflict with char $ac_func (); below.
43956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43957 <limits.h> exists even on freestanding compilers. */
43958
43959 #ifdef __STDC__
43960 # include <limits.h>
43961 #else
43962 # include <assert.h>
43963 #endif
43964
43965 #undef $ac_func
43966
43967 /* Override any gcc2 internal prototype to avoid an error. */
43968 #ifdef __cplusplus
43969 extern "C"
43970 {
43971 #endif
43972 /* We use char because int might match the return type of a gcc2
43973 builtin and then its argument prototype would still apply. */
43974 char $ac_func ();
43975 /* The GNU C library defines this for functions which it implements
43976 to always fail with ENOSYS. Some functions are actually named
43977 something starting with __ and the normal name is an alias. */
43978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43979 choke me
43980 #else
43981 char (*f) () = $ac_func;
43982 #endif
43983 #ifdef __cplusplus
43984 }
43985 #endif
43986
43987 int
43988 main ()
43989 {
43990 return f != $ac_func;
43991 ;
43992 return 0;
43993 }
43994 _ACEOF
43995 rm -f conftest.$ac_objext conftest$ac_exeext
43996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43997 (eval $ac_link) 2>conftest.er1
43998 ac_status=$?
43999 grep -v '^ *+' conftest.er1 >conftest.err
44000 rm -f conftest.er1
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } &&
44004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44006 (eval $ac_try) 2>&5
44007 ac_status=$?
44008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44009 (exit $ac_status); }; } &&
44010 { ac_try='test -s conftest$ac_exeext'
44011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44012 (eval $ac_try) 2>&5
44013 ac_status=$?
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); }; }; then
44016 eval "$as_ac_var=yes"
44017 else
44018 echo "$as_me: failed program was:" >&5
44019 sed 's/^/| /' conftest.$ac_ext >&5
44020
44021 eval "$as_ac_var=no"
44022 fi
44023 rm -f conftest.err conftest.$ac_objext \
44024 conftest$ac_exeext conftest.$ac_ext
44025 fi
44026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44028 if test `eval echo '${'$as_ac_var'}'` = yes; then
44029 cat >>confdefs.h <<_ACEOF
44030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44031 _ACEOF
44032
44033 fi
44034 done
44035
44036 if test "$ac_cv_func_strptime" = "yes"; then
44037 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44038 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44039 if test "${wx_cv_func_strptime_decl+set}" = set; then
44040 echo $ECHO_N "(cached) $ECHO_C" >&6
44041 else
44042
44043 cat >conftest.$ac_ext <<_ACEOF
44044 /* confdefs.h. */
44045 _ACEOF
44046 cat confdefs.h >>conftest.$ac_ext
44047 cat >>conftest.$ac_ext <<_ACEOF
44048 /* end confdefs.h. */
44049
44050 #include <time.h>
44051
44052 int
44053 main ()
44054 {
44055
44056 struct tm t;
44057 strptime("foo", "bar", &t);
44058
44059 ;
44060 return 0;
44061 }
44062 _ACEOF
44063 rm -f conftest.$ac_objext
44064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44065 (eval $ac_compile) 2>conftest.er1
44066 ac_status=$?
44067 grep -v '^ *+' conftest.er1 >conftest.err
44068 rm -f conftest.er1
44069 cat conftest.err >&5
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); } &&
44072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44074 (eval $ac_try) 2>&5
44075 ac_status=$?
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; } &&
44078 { ac_try='test -s conftest.$ac_objext'
44079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080 (eval $ac_try) 2>&5
44081 ac_status=$?
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); }; }; then
44084 wx_cv_func_strptime_decl=yes
44085 else
44086 echo "$as_me: failed program was:" >&5
44087 sed 's/^/| /' conftest.$ac_ext >&5
44088
44089 wx_cv_func_strptime_decl=no
44090
44091 fi
44092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44093
44094
44095 fi
44096 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44097 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44098 fi
44099 if test "$wx_cv_func_strptime_decl" = "yes"; then
44100 cat >>confdefs.h <<\_ACEOF
44101 #define HAVE_STRPTIME_DECL 1
44102 _ACEOF
44103
44104 fi
44105
44106 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44107 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44108 if test "${wx_cv_var_timezone+set}" = set; then
44109 echo $ECHO_N "(cached) $ECHO_C" >&6
44110 else
44111
44112 cat >conftest.$ac_ext <<_ACEOF
44113 /* confdefs.h. */
44114 _ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h. */
44118
44119 #include <time.h>
44120
44121 int
44122 main ()
44123 {
44124
44125 int tz;
44126 tz = timezone;
44127
44128 ;
44129 return 0;
44130 }
44131 _ACEOF
44132 rm -f conftest.$ac_objext
44133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44134 (eval $ac_compile) 2>conftest.er1
44135 ac_status=$?
44136 grep -v '^ *+' conftest.er1 >conftest.err
44137 rm -f conftest.er1
44138 cat conftest.err >&5
44139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140 (exit $ac_status); } &&
44141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143 (eval $ac_try) 2>&5
44144 ac_status=$?
44145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146 (exit $ac_status); }; } &&
44147 { ac_try='test -s conftest.$ac_objext'
44148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149 (eval $ac_try) 2>&5
44150 ac_status=$?
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); }; }; then
44153
44154 wx_cv_var_timezone=timezone
44155
44156 else
44157 echo "$as_me: failed program was:" >&5
44158 sed 's/^/| /' conftest.$ac_ext >&5
44159
44160
44161 cat >conftest.$ac_ext <<_ACEOF
44162 /* confdefs.h. */
44163 _ACEOF
44164 cat confdefs.h >>conftest.$ac_ext
44165 cat >>conftest.$ac_ext <<_ACEOF
44166 /* end confdefs.h. */
44167
44168 #include <time.h>
44169
44170 int
44171 main ()
44172 {
44173
44174 int tz;
44175 tz = _timezone;
44176
44177 ;
44178 return 0;
44179 }
44180 _ACEOF
44181 rm -f conftest.$ac_objext
44182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44183 (eval $ac_compile) 2>conftest.er1
44184 ac_status=$?
44185 grep -v '^ *+' conftest.er1 >conftest.err
44186 rm -f conftest.er1
44187 cat conftest.err >&5
44188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44189 (exit $ac_status); } &&
44190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44192 (eval $ac_try) 2>&5
44193 ac_status=$?
44194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44195 (exit $ac_status); }; } &&
44196 { ac_try='test -s conftest.$ac_objext'
44197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44198 (eval $ac_try) 2>&5
44199 ac_status=$?
44200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44201 (exit $ac_status); }; }; then
44202
44203 wx_cv_var_timezone=_timezone
44204
44205 else
44206 echo "$as_me: failed program was:" >&5
44207 sed 's/^/| /' conftest.$ac_ext >&5
44208
44209
44210 cat >conftest.$ac_ext <<_ACEOF
44211 /* confdefs.h. */
44212 _ACEOF
44213 cat confdefs.h >>conftest.$ac_ext
44214 cat >>conftest.$ac_ext <<_ACEOF
44215 /* end confdefs.h. */
44216
44217 #include <time.h>
44218
44219 int
44220 main ()
44221 {
44222
44223 int tz;
44224 tz = __timezone;
44225
44226 ;
44227 return 0;
44228 }
44229 _ACEOF
44230 rm -f conftest.$ac_objext
44231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44232 (eval $ac_compile) 2>conftest.er1
44233 ac_status=$?
44234 grep -v '^ *+' conftest.er1 >conftest.err
44235 rm -f conftest.er1
44236 cat conftest.err >&5
44237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44238 (exit $ac_status); } &&
44239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44241 (eval $ac_try) 2>&5
44242 ac_status=$?
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); }; } &&
44245 { ac_try='test -s conftest.$ac_objext'
44246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44247 (eval $ac_try) 2>&5
44248 ac_status=$?
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); }; }; then
44251
44252 wx_cv_var_timezone=__timezone
44253
44254 else
44255 echo "$as_me: failed program was:" >&5
44256 sed 's/^/| /' conftest.$ac_ext >&5
44257
44258
44259 if test "$USE_DOS" = 0 ; then
44260 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44261 echo "$as_me: WARNING: no timezone variable" >&2;}
44262 fi
44263
44264
44265 fi
44266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44267
44268
44269 fi
44270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44271
44272
44273 fi
44274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44275
44276
44277 fi
44278 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44279 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44280
44281 if test "x$wx_cv_var_timezone" != x ; then
44282 cat >>confdefs.h <<_ACEOF
44283 #define WX_TIMEZONE $wx_cv_var_timezone
44284 _ACEOF
44285
44286 fi
44287
44288
44289 for ac_func in localtime
44290 do
44291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44292 echo "$as_me:$LINENO: checking for $ac_func" >&5
44293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44294 if eval "test \"\${$as_ac_var+set}\" = set"; then
44295 echo $ECHO_N "(cached) $ECHO_C" >&6
44296 else
44297 cat >conftest.$ac_ext <<_ACEOF
44298 /* confdefs.h. */
44299 _ACEOF
44300 cat confdefs.h >>conftest.$ac_ext
44301 cat >>conftest.$ac_ext <<_ACEOF
44302 /* end confdefs.h. */
44303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44305 #define $ac_func innocuous_$ac_func
44306
44307 /* System header to define __stub macros and hopefully few prototypes,
44308 which can conflict with char $ac_func (); below.
44309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44310 <limits.h> exists even on freestanding compilers. */
44311
44312 #ifdef __STDC__
44313 # include <limits.h>
44314 #else
44315 # include <assert.h>
44316 #endif
44317
44318 #undef $ac_func
44319
44320 /* Override any gcc2 internal prototype to avoid an error. */
44321 #ifdef __cplusplus
44322 extern "C"
44323 {
44324 #endif
44325 /* We use char because int might match the return type of a gcc2
44326 builtin and then its argument prototype would still apply. */
44327 char $ac_func ();
44328 /* The GNU C library defines this for functions which it implements
44329 to always fail with ENOSYS. Some functions are actually named
44330 something starting with __ and the normal name is an alias. */
44331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44332 choke me
44333 #else
44334 char (*f) () = $ac_func;
44335 #endif
44336 #ifdef __cplusplus
44337 }
44338 #endif
44339
44340 int
44341 main ()
44342 {
44343 return f != $ac_func;
44344 ;
44345 return 0;
44346 }
44347 _ACEOF
44348 rm -f conftest.$ac_objext conftest$ac_exeext
44349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44350 (eval $ac_link) 2>conftest.er1
44351 ac_status=$?
44352 grep -v '^ *+' conftest.er1 >conftest.err
44353 rm -f conftest.er1
44354 cat conftest.err >&5
44355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44356 (exit $ac_status); } &&
44357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44359 (eval $ac_try) 2>&5
44360 ac_status=$?
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); }; } &&
44363 { ac_try='test -s conftest$ac_exeext'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44366 ac_status=$?
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; }; then
44369 eval "$as_ac_var=yes"
44370 else
44371 echo "$as_me: failed program was:" >&5
44372 sed 's/^/| /' conftest.$ac_ext >&5
44373
44374 eval "$as_ac_var=no"
44375 fi
44376 rm -f conftest.err conftest.$ac_objext \
44377 conftest$ac_exeext conftest.$ac_ext
44378 fi
44379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44381 if test `eval echo '${'$as_ac_var'}'` = yes; then
44382 cat >>confdefs.h <<_ACEOF
44383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44384 _ACEOF
44385
44386 fi
44387 done
44388
44389
44390 if test "$ac_cv_func_localtime" = "yes"; then
44391 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44392 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44393 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44394 echo $ECHO_N "(cached) $ECHO_C" >&6
44395 else
44396
44397 cat >conftest.$ac_ext <<_ACEOF
44398 /* confdefs.h. */
44399 _ACEOF
44400 cat confdefs.h >>conftest.$ac_ext
44401 cat >>conftest.$ac_ext <<_ACEOF
44402 /* end confdefs.h. */
44403
44404 #include <time.h>
44405
44406 int
44407 main ()
44408 {
44409
44410 struct tm tm;
44411 tm.tm_gmtoff++;
44412
44413 ;
44414 return 0;
44415 }
44416 _ACEOF
44417 rm -f conftest.$ac_objext
44418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44419 (eval $ac_compile) 2>conftest.er1
44420 ac_status=$?
44421 grep -v '^ *+' conftest.er1 >conftest.err
44422 rm -f conftest.er1
44423 cat conftest.err >&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); } &&
44426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44428 (eval $ac_try) 2>&5
44429 ac_status=$?
44430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44431 (exit $ac_status); }; } &&
44432 { ac_try='test -s conftest.$ac_objext'
44433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44434 (eval $ac_try) 2>&5
44435 ac_status=$?
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; }; then
44438
44439 wx_cv_struct_tm_has_gmtoff=yes
44440
44441 else
44442 echo "$as_me: failed program was:" >&5
44443 sed 's/^/| /' conftest.$ac_ext >&5
44444
44445 wx_cv_struct_tm_has_gmtoff=no
44446
44447 fi
44448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44449
44450 fi
44451 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44452 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44453 fi
44454
44455 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define WX_GMTOFF_IN_TM 1
44458 _ACEOF
44459
44460 fi
44461
44462
44463
44464 for ac_func in gettimeofday ftime
44465 do
44466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44467 echo "$as_me:$LINENO: checking for $ac_func" >&5
44468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44469 if eval "test \"\${$as_ac_var+set}\" = set"; then
44470 echo $ECHO_N "(cached) $ECHO_C" >&6
44471 else
44472 cat >conftest.$ac_ext <<_ACEOF
44473 /* confdefs.h. */
44474 _ACEOF
44475 cat confdefs.h >>conftest.$ac_ext
44476 cat >>conftest.$ac_ext <<_ACEOF
44477 /* end confdefs.h. */
44478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44480 #define $ac_func innocuous_$ac_func
44481
44482 /* System header to define __stub macros and hopefully few prototypes,
44483 which can conflict with char $ac_func (); below.
44484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44485 <limits.h> exists even on freestanding compilers. */
44486
44487 #ifdef __STDC__
44488 # include <limits.h>
44489 #else
44490 # include <assert.h>
44491 #endif
44492
44493 #undef $ac_func
44494
44495 /* Override any gcc2 internal prototype to avoid an error. */
44496 #ifdef __cplusplus
44497 extern "C"
44498 {
44499 #endif
44500 /* We use char because int might match the return type of a gcc2
44501 builtin and then its argument prototype would still apply. */
44502 char $ac_func ();
44503 /* The GNU C library defines this for functions which it implements
44504 to always fail with ENOSYS. Some functions are actually named
44505 something starting with __ and the normal name is an alias. */
44506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44507 choke me
44508 #else
44509 char (*f) () = $ac_func;
44510 #endif
44511 #ifdef __cplusplus
44512 }
44513 #endif
44514
44515 int
44516 main ()
44517 {
44518 return f != $ac_func;
44519 ;
44520 return 0;
44521 }
44522 _ACEOF
44523 rm -f conftest.$ac_objext conftest$ac_exeext
44524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44525 (eval $ac_link) 2>conftest.er1
44526 ac_status=$?
44527 grep -v '^ *+' conftest.er1 >conftest.err
44528 rm -f conftest.er1
44529 cat conftest.err >&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } &&
44532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44534 (eval $ac_try) 2>&5
44535 ac_status=$?
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); }; } &&
44538 { ac_try='test -s conftest$ac_exeext'
44539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44540 (eval $ac_try) 2>&5
44541 ac_status=$?
44542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44543 (exit $ac_status); }; }; then
44544 eval "$as_ac_var=yes"
44545 else
44546 echo "$as_me: failed program was:" >&5
44547 sed 's/^/| /' conftest.$ac_ext >&5
44548
44549 eval "$as_ac_var=no"
44550 fi
44551 rm -f conftest.err conftest.$ac_objext \
44552 conftest$ac_exeext conftest.$ac_ext
44553 fi
44554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44556 if test `eval echo '${'$as_ac_var'}'` = yes; then
44557 cat >>confdefs.h <<_ACEOF
44558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44559 _ACEOF
44560 break
44561 fi
44562 done
44563
44564
44565 if test "$ac_cv_func_gettimeofday" = "yes"; then
44566 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44567 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44568 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44569 echo $ECHO_N "(cached) $ECHO_C" >&6
44570 else
44571
44572 cat >conftest.$ac_ext <<_ACEOF
44573 /* confdefs.h. */
44574 _ACEOF
44575 cat confdefs.h >>conftest.$ac_ext
44576 cat >>conftest.$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44578
44579 #include <sys/time.h>
44580 #include <unistd.h>
44581
44582 int
44583 main ()
44584 {
44585
44586 struct timeval tv;
44587 gettimeofday(&tv, NULL);
44588
44589 ;
44590 return 0;
44591 }
44592 _ACEOF
44593 rm -f conftest.$ac_objext
44594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44595 (eval $ac_compile) 2>conftest.er1
44596 ac_status=$?
44597 grep -v '^ *+' conftest.er1 >conftest.err
44598 rm -f conftest.er1
44599 cat conftest.err >&5
44600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44601 (exit $ac_status); } &&
44602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44604 (eval $ac_try) 2>&5
44605 ac_status=$?
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); }; } &&
44608 { ac_try='test -s conftest.$ac_objext'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44611 ac_status=$?
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; }; then
44614 wx_cv_func_gettimeofday_has_2_args=yes
44615 else
44616 echo "$as_me: failed program was:" >&5
44617 sed 's/^/| /' conftest.$ac_ext >&5
44618
44619 cat >conftest.$ac_ext <<_ACEOF
44620 /* confdefs.h. */
44621 _ACEOF
44622 cat confdefs.h >>conftest.$ac_ext
44623 cat >>conftest.$ac_ext <<_ACEOF
44624 /* end confdefs.h. */
44625
44626 #include <sys/time.h>
44627 #include <unistd.h>
44628
44629 int
44630 main ()
44631 {
44632
44633 struct timeval tv;
44634 gettimeofday(&tv);
44635
44636 ;
44637 return 0;
44638 }
44639 _ACEOF
44640 rm -f conftest.$ac_objext
44641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44642 (eval $ac_compile) 2>conftest.er1
44643 ac_status=$?
44644 grep -v '^ *+' conftest.er1 >conftest.err
44645 rm -f conftest.er1
44646 cat conftest.err >&5
44647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44648 (exit $ac_status); } &&
44649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44651 (eval $ac_try) 2>&5
44652 ac_status=$?
44653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44654 (exit $ac_status); }; } &&
44655 { ac_try='test -s conftest.$ac_objext'
44656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44657 (eval $ac_try) 2>&5
44658 ac_status=$?
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; }; then
44661 wx_cv_func_gettimeofday_has_2_args=no
44662 else
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.$ac_ext >&5
44665
44666
44667 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44668 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44669 wx_cv_func_gettimeofday_has_2_args=unknown
44670
44671
44672 fi
44673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44674
44675 fi
44676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44677
44678 fi
44679 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44680 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44681
44682 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define WX_GETTIMEOFDAY_NO_TZ 1
44685 _ACEOF
44686
44687 fi
44688 fi
44689
44690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44691 fi
44692
44693
44694 if test "$wxUSE_SOCKETS" = "yes"; then
44695 if test "$wxUSE_MGL" = "1"; then
44696 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44697 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44698 wxUSE_SOCKETS="no"
44699 fi
44700 fi
44701
44702 if test "$wxUSE_SOCKETS" = "yes"; then
44703 if test "$TOOLKIT" != "MSW"; then
44704 echo "$as_me:$LINENO: checking for socket" >&5
44705 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44706 if test "${ac_cv_func_socket+set}" = set; then
44707 echo $ECHO_N "(cached) $ECHO_C" >&6
44708 else
44709 cat >conftest.$ac_ext <<_ACEOF
44710 /* confdefs.h. */
44711 _ACEOF
44712 cat confdefs.h >>conftest.$ac_ext
44713 cat >>conftest.$ac_ext <<_ACEOF
44714 /* end confdefs.h. */
44715 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44717 #define socket innocuous_socket
44718
44719 /* System header to define __stub macros and hopefully few prototypes,
44720 which can conflict with char socket (); below.
44721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44722 <limits.h> exists even on freestanding compilers. */
44723
44724 #ifdef __STDC__
44725 # include <limits.h>
44726 #else
44727 # include <assert.h>
44728 #endif
44729
44730 #undef socket
44731
44732 /* Override any gcc2 internal prototype to avoid an error. */
44733 #ifdef __cplusplus
44734 extern "C"
44735 {
44736 #endif
44737 /* We use char because int might match the return type of a gcc2
44738 builtin and then its argument prototype would still apply. */
44739 char socket ();
44740 /* The GNU C library defines this for functions which it implements
44741 to always fail with ENOSYS. Some functions are actually named
44742 something starting with __ and the normal name is an alias. */
44743 #if defined (__stub_socket) || defined (__stub___socket)
44744 choke me
44745 #else
44746 char (*f) () = socket;
44747 #endif
44748 #ifdef __cplusplus
44749 }
44750 #endif
44751
44752 int
44753 main ()
44754 {
44755 return f != socket;
44756 ;
44757 return 0;
44758 }
44759 _ACEOF
44760 rm -f conftest.$ac_objext conftest$ac_exeext
44761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44762 (eval $ac_link) 2>conftest.er1
44763 ac_status=$?
44764 grep -v '^ *+' conftest.er1 >conftest.err
44765 rm -f conftest.er1
44766 cat conftest.err >&5
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); } &&
44769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44771 (eval $ac_try) 2>&5
44772 ac_status=$?
44773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44774 (exit $ac_status); }; } &&
44775 { ac_try='test -s conftest$ac_exeext'
44776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44777 (eval $ac_try) 2>&5
44778 ac_status=$?
44779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780 (exit $ac_status); }; }; then
44781 ac_cv_func_socket=yes
44782 else
44783 echo "$as_me: failed program was:" >&5
44784 sed 's/^/| /' conftest.$ac_ext >&5
44785
44786 ac_cv_func_socket=no
44787 fi
44788 rm -f conftest.err conftest.$ac_objext \
44789 conftest$ac_exeext conftest.$ac_ext
44790 fi
44791 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44792 echo "${ECHO_T}$ac_cv_func_socket" >&6
44793 if test $ac_cv_func_socket = yes; then
44794 :
44795 else
44796
44797 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44798 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44799 if test "${ac_cv_lib_socket_socket+set}" = set; then
44800 echo $ECHO_N "(cached) $ECHO_C" >&6
44801 else
44802 ac_check_lib_save_LIBS=$LIBS
44803 LIBS="-lsocket $LIBS"
44804 cat >conftest.$ac_ext <<_ACEOF
44805 /* confdefs.h. */
44806 _ACEOF
44807 cat confdefs.h >>conftest.$ac_ext
44808 cat >>conftest.$ac_ext <<_ACEOF
44809 /* end confdefs.h. */
44810
44811 /* Override any gcc2 internal prototype to avoid an error. */
44812 #ifdef __cplusplus
44813 extern "C"
44814 #endif
44815 /* We use char because int might match the return type of a gcc2
44816 builtin and then its argument prototype would still apply. */
44817 char socket ();
44818 int
44819 main ()
44820 {
44821 socket ();
44822 ;
44823 return 0;
44824 }
44825 _ACEOF
44826 rm -f conftest.$ac_objext conftest$ac_exeext
44827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44828 (eval $ac_link) 2>conftest.er1
44829 ac_status=$?
44830 grep -v '^ *+' conftest.er1 >conftest.err
44831 rm -f conftest.er1
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } &&
44835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44837 (eval $ac_try) 2>&5
44838 ac_status=$?
44839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44840 (exit $ac_status); }; } &&
44841 { ac_try='test -s conftest$ac_exeext'
44842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44843 (eval $ac_try) 2>&5
44844 ac_status=$?
44845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44846 (exit $ac_status); }; }; then
44847 ac_cv_lib_socket_socket=yes
44848 else
44849 echo "$as_me: failed program was:" >&5
44850 sed 's/^/| /' conftest.$ac_ext >&5
44851
44852 ac_cv_lib_socket_socket=no
44853 fi
44854 rm -f conftest.err conftest.$ac_objext \
44855 conftest$ac_exeext conftest.$ac_ext
44856 LIBS=$ac_check_lib_save_LIBS
44857 fi
44858 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44859 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44860 if test $ac_cv_lib_socket_socket = yes; then
44861 if test "$INET_LINK" != " -lsocket"; then
44862 INET_LINK="$INET_LINK -lsocket"
44863 fi
44864 else
44865
44866 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44867 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44868 wxUSE_SOCKETS=no
44869
44870
44871 fi
44872
44873
44874
44875 fi
44876
44877 fi
44878 fi
44879
44880 if test "$wxUSE_SOCKETS" = "yes" ; then
44881 if test "$TOOLKIT" != "MSW"; then
44882 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44883 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44884 if test "${wx_cv_type_getsockname3+set}" = set; then
44885 echo $ECHO_N "(cached) $ECHO_C" >&6
44886 else
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
44895 #include <sys/types.h>
44896 #include <sys/socket.h>
44897
44898 int
44899 main ()
44900 {
44901
44902 socklen_t len;
44903 getsockname(0, 0, &len);
44904
44905 ;
44906 return 0;
44907 }
44908 _ACEOF
44909 rm -f conftest.$ac_objext
44910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44911 (eval $ac_compile) 2>conftest.er1
44912 ac_status=$?
44913 grep -v '^ *+' conftest.er1 >conftest.err
44914 rm -f conftest.er1
44915 cat conftest.err >&5
44916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44917 (exit $ac_status); } &&
44918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44920 (eval $ac_try) 2>&5
44921 ac_status=$?
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); }; } &&
44924 { ac_try='test -s conftest.$ac_objext'
44925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44926 (eval $ac_try) 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; }; then
44930 wx_cv_type_getsockname3=socklen_t
44931 else
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44934
44935
44936 CXXFLAGS_OLD="$CXXFLAGS"
44937 if test "$GCC" = yes ; then
44938 CXXFLAGS="-Werror $CXXFLAGS"
44939 fi
44940
44941 cat >conftest.$ac_ext <<_ACEOF
44942 /* confdefs.h. */
44943 _ACEOF
44944 cat confdefs.h >>conftest.$ac_ext
44945 cat >>conftest.$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44947
44948 #include <sys/types.h>
44949 #include <sys/socket.h>
44950
44951 int
44952 main ()
44953 {
44954
44955 size_t len;
44956 getsockname(0, 0, &len);
44957
44958 ;
44959 return 0;
44960 }
44961 _ACEOF
44962 rm -f conftest.$ac_objext
44963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44964 (eval $ac_compile) 2>conftest.er1
44965 ac_status=$?
44966 grep -v '^ *+' conftest.er1 >conftest.err
44967 rm -f conftest.er1
44968 cat conftest.err >&5
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); } &&
44971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44973 (eval $ac_try) 2>&5
44974 ac_status=$?
44975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44976 (exit $ac_status); }; } &&
44977 { ac_try='test -s conftest.$ac_objext'
44978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44979 (eval $ac_try) 2>&5
44980 ac_status=$?
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); }; }; then
44983 wx_cv_type_getsockname3=size_t
44984 else
44985 echo "$as_me: failed program was:" >&5
44986 sed 's/^/| /' conftest.$ac_ext >&5
44987
44988 cat >conftest.$ac_ext <<_ACEOF
44989 /* confdefs.h. */
44990 _ACEOF
44991 cat confdefs.h >>conftest.$ac_ext
44992 cat >>conftest.$ac_ext <<_ACEOF
44993 /* end confdefs.h. */
44994
44995 #include <sys/types.h>
44996 #include <sys/socket.h>
44997
44998 int
44999 main ()
45000 {
45001
45002 int len;
45003 getsockname(0, 0, &len);
45004
45005 ;
45006 return 0;
45007 }
45008 _ACEOF
45009 rm -f conftest.$ac_objext
45010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45011 (eval $ac_compile) 2>conftest.er1
45012 ac_status=$?
45013 grep -v '^ *+' conftest.er1 >conftest.err
45014 rm -f conftest.er1
45015 cat conftest.err >&5
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); } &&
45018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45020 (eval $ac_try) 2>&5
45021 ac_status=$?
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); }; } &&
45024 { ac_try='test -s conftest.$ac_objext'
45025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45026 (eval $ac_try) 2>&5
45027 ac_status=$?
45028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029 (exit $ac_status); }; }; then
45030 wx_cv_type_getsockname3=int
45031 else
45032 echo "$as_me: failed program was:" >&5
45033 sed 's/^/| /' conftest.$ac_ext >&5
45034
45035 wx_cv_type_getsockname3=unknown
45036
45037 fi
45038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45039
45040 fi
45041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45042
45043 CXXFLAGS="$CXXFLAGS_OLD"
45044
45045
45046 fi
45047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45048
45049 fi
45050 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45051 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45052
45053 if test "$wx_cv_type_getsockname3" = "unknown"; then
45054 wxUSE_SOCKETS=no
45055 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45056 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45057 else
45058 cat >>confdefs.h <<_ACEOF
45059 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45060 _ACEOF
45061
45062 fi
45063 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45064 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45065 if test "${wx_cv_type_getsockopt5+set}" = set; then
45066 echo $ECHO_N "(cached) $ECHO_C" >&6
45067 else
45068
45069 cat >conftest.$ac_ext <<_ACEOF
45070 /* confdefs.h. */
45071 _ACEOF
45072 cat confdefs.h >>conftest.$ac_ext
45073 cat >>conftest.$ac_ext <<_ACEOF
45074 /* end confdefs.h. */
45075
45076 #include <sys/types.h>
45077 #include <sys/socket.h>
45078
45079 int
45080 main ()
45081 {
45082
45083 socklen_t len;
45084 getsockopt(0, 0, 0, 0, &len);
45085
45086 ;
45087 return 0;
45088 }
45089 _ACEOF
45090 rm -f conftest.$ac_objext
45091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45092 (eval $ac_compile) 2>conftest.er1
45093 ac_status=$?
45094 grep -v '^ *+' conftest.er1 >conftest.err
45095 rm -f conftest.er1
45096 cat conftest.err >&5
45097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45098 (exit $ac_status); } &&
45099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45101 (eval $ac_try) 2>&5
45102 ac_status=$?
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); }; } &&
45105 { ac_try='test -s conftest.$ac_objext'
45106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45107 (eval $ac_try) 2>&5
45108 ac_status=$?
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); }; }; then
45111 wx_cv_type_getsockopt5=socklen_t
45112 else
45113 echo "$as_me: failed program was:" >&5
45114 sed 's/^/| /' conftest.$ac_ext >&5
45115
45116
45117 CXXFLAGS_OLD="$CXXFLAGS"
45118 if test "$GCC" = yes ; then
45119 CXXFLAGS="-Werror $CXXFLAGS"
45120 fi
45121
45122 cat >conftest.$ac_ext <<_ACEOF
45123 /* confdefs.h. */
45124 _ACEOF
45125 cat confdefs.h >>conftest.$ac_ext
45126 cat >>conftest.$ac_ext <<_ACEOF
45127 /* end confdefs.h. */
45128
45129 #include <sys/types.h>
45130 #include <sys/socket.h>
45131
45132 int
45133 main ()
45134 {
45135
45136 size_t len;
45137 getsockopt(0, 0, 0, 0, &len);
45138
45139 ;
45140 return 0;
45141 }
45142 _ACEOF
45143 rm -f conftest.$ac_objext
45144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45145 (eval $ac_compile) 2>conftest.er1
45146 ac_status=$?
45147 grep -v '^ *+' conftest.er1 >conftest.err
45148 rm -f conftest.er1
45149 cat conftest.err >&5
45150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151 (exit $ac_status); } &&
45152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45154 (eval $ac_try) 2>&5
45155 ac_status=$?
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; } &&
45158 { ac_try='test -s conftest.$ac_objext'
45159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45160 (eval $ac_try) 2>&5
45161 ac_status=$?
45162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163 (exit $ac_status); }; }; then
45164 wx_cv_type_getsockopt5=size_t
45165 else
45166 echo "$as_me: failed program was:" >&5
45167 sed 's/^/| /' conftest.$ac_ext >&5
45168
45169 cat >conftest.$ac_ext <<_ACEOF
45170 /* confdefs.h. */
45171 _ACEOF
45172 cat confdefs.h >>conftest.$ac_ext
45173 cat >>conftest.$ac_ext <<_ACEOF
45174 /* end confdefs.h. */
45175
45176 #include <sys/types.h>
45177 #include <sys/socket.h>
45178
45179 int
45180 main ()
45181 {
45182
45183 int len;
45184 getsockopt(0, 0, 0, 0, &len);
45185
45186 ;
45187 return 0;
45188 }
45189 _ACEOF
45190 rm -f conftest.$ac_objext
45191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45192 (eval $ac_compile) 2>conftest.er1
45193 ac_status=$?
45194 grep -v '^ *+' conftest.er1 >conftest.err
45195 rm -f conftest.er1
45196 cat conftest.err >&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); } &&
45199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201 (eval $ac_try) 2>&5
45202 ac_status=$?
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; } &&
45205 { ac_try='test -s conftest.$ac_objext'
45206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45207 (eval $ac_try) 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; }; then
45211 wx_cv_type_getsockopt5=int
45212 else
45213 echo "$as_me: failed program was:" >&5
45214 sed 's/^/| /' conftest.$ac_ext >&5
45215
45216 wx_cv_type_getsockopt5=unknown
45217
45218 fi
45219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45220
45221 fi
45222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45223
45224 CXXFLAGS="$CXXFLAGS_OLD"
45225
45226
45227 fi
45228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45229
45230 fi
45231 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45232 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45233
45234 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45235 wxUSE_SOCKETS=no
45236 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45237 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45238 else
45239 cat >>confdefs.h <<_ACEOF
45240 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45241 _ACEOF
45242
45243 fi
45244 fi
45245 fi
45246
45247 if test "$wxUSE_SOCKETS" = "yes" ; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_SOCKETS 1
45250 _ACEOF
45251
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45253 fi
45254
45255 if test "$wxUSE_PROTOCOL" = "yes"; then
45256 if test "$wxUSE_SOCKETS" != "yes"; then
45257 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45258 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45259 wxUSE_PROTOCOL=no
45260 fi
45261 fi
45262
45263 if test "$wxUSE_PROTOCOL" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_PROTOCOL 1
45266 _ACEOF
45267
45268
45269 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxUSE_PROTOCOL_HTTP 1
45272 _ACEOF
45273
45274 fi
45275 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_PROTOCOL_FTP 1
45278 _ACEOF
45279
45280 fi
45281 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define wxUSE_PROTOCOL_FILE 1
45284 _ACEOF
45285
45286 fi
45287 else
45288 if test "$wxUSE_FS_INET" = "yes"; then
45289 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45290 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45291 wxUSE_FS_INET="no"
45292 fi
45293 fi
45294
45295 if test "$wxUSE_URL" = "yes"; then
45296 if test "$wxUSE_PROTOCOL" != "yes"; then
45297 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45298 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45299 wxUSE_URL=no
45300 fi
45301 if test "$wxUSE_URL" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_URL 1
45304 _ACEOF
45305
45306 fi
45307 fi
45308
45309 if test "$wxUSE_VARIANT" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_VARIANT 1
45312 _ACEOF
45313
45314 fi
45315
45316 if test "$wxUSE_FS_INET" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_FS_INET 1
45319 _ACEOF
45320
45321 fi
45322
45323
45324 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45325 wxUSE_JOYSTICK=no
45326
45327 if test "$TOOLKIT" = "MSW"; then
45328 wxUSE_JOYSTICK=yes
45329
45330 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45331 if test "$USE_DARWIN" = 1; then
45332 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45333 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45334 cat >conftest.$ac_ext <<_ACEOF
45335 /* confdefs.h. */
45336 _ACEOF
45337 cat confdefs.h >>conftest.$ac_ext
45338 cat >>conftest.$ac_ext <<_ACEOF
45339 /* end confdefs.h. */
45340 #include <IOKit/hid/IOHIDLib.h>
45341 int
45342 main ()
45343 {
45344 IOHIDQueueInterface *qi = NULL;
45345 IOHIDCallbackFunction cb = NULL;
45346 qi->setEventCallout(NULL, cb, NULL, NULL);
45347 ;
45348 return 0;
45349 }
45350 _ACEOF
45351 rm -f conftest.$ac_objext
45352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45353 (eval $ac_compile) 2>conftest.er1
45354 ac_status=$?
45355 grep -v '^ *+' conftest.er1 >conftest.err
45356 rm -f conftest.er1
45357 cat conftest.err >&5
45358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45359 (exit $ac_status); } &&
45360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45362 (eval $ac_try) 2>&5
45363 ac_status=$?
45364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45365 (exit $ac_status); }; } &&
45366 { ac_try='test -s conftest.$ac_objext'
45367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45368 (eval $ac_try) 2>&5
45369 ac_status=$?
45370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45371 (exit $ac_status); }; }; then
45372 wxUSE_JOYSTICK=yes
45373
45374 else
45375 echo "$as_me: failed program was:" >&5
45376 sed 's/^/| /' conftest.$ac_ext >&5
45377
45378 fi
45379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45380 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45381 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45382 fi
45383
45384 else
45385 if test "$wxUSE_MGL" != "1"; then
45386
45387 for ac_header in linux/joystick.h
45388 do
45389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45391 echo "$as_me:$LINENO: checking for $ac_header" >&5
45392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45394 echo $ECHO_N "(cached) $ECHO_C" >&6
45395 fi
45396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45398 else
45399 # Is the header compilable?
45400 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45402 cat >conftest.$ac_ext <<_ACEOF
45403 /* confdefs.h. */
45404 _ACEOF
45405 cat confdefs.h >>conftest.$ac_ext
45406 cat >>conftest.$ac_ext <<_ACEOF
45407 /* end confdefs.h. */
45408 $ac_includes_default
45409 #include <$ac_header>
45410 _ACEOF
45411 rm -f conftest.$ac_objext
45412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45413 (eval $ac_compile) 2>conftest.er1
45414 ac_status=$?
45415 grep -v '^ *+' conftest.er1 >conftest.err
45416 rm -f conftest.er1
45417 cat conftest.err >&5
45418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45419 (exit $ac_status); } &&
45420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45422 (eval $ac_try) 2>&5
45423 ac_status=$?
45424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45425 (exit $ac_status); }; } &&
45426 { ac_try='test -s conftest.$ac_objext'
45427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45428 (eval $ac_try) 2>&5
45429 ac_status=$?
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); }; }; then
45432 ac_header_compiler=yes
45433 else
45434 echo "$as_me: failed program was:" >&5
45435 sed 's/^/| /' conftest.$ac_ext >&5
45436
45437 ac_header_compiler=no
45438 fi
45439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45441 echo "${ECHO_T}$ac_header_compiler" >&6
45442
45443 # Is the header present?
45444 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45446 cat >conftest.$ac_ext <<_ACEOF
45447 /* confdefs.h. */
45448 _ACEOF
45449 cat confdefs.h >>conftest.$ac_ext
45450 cat >>conftest.$ac_ext <<_ACEOF
45451 /* end confdefs.h. */
45452 #include <$ac_header>
45453 _ACEOF
45454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45456 ac_status=$?
45457 grep -v '^ *+' conftest.er1 >conftest.err
45458 rm -f conftest.er1
45459 cat conftest.err >&5
45460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45461 (exit $ac_status); } >/dev/null; then
45462 if test -s conftest.err; then
45463 ac_cpp_err=$ac_c_preproc_warn_flag
45464 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45465 else
45466 ac_cpp_err=
45467 fi
45468 else
45469 ac_cpp_err=yes
45470 fi
45471 if test -z "$ac_cpp_err"; then
45472 ac_header_preproc=yes
45473 else
45474 echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45476
45477 ac_header_preproc=no
45478 fi
45479 rm -f conftest.err conftest.$ac_ext
45480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45481 echo "${ECHO_T}$ac_header_preproc" >&6
45482
45483 # So? What about this header?
45484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45485 yes:no: )
45486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45490 ac_header_preproc=yes
45491 ;;
45492 no:yes:* )
45493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45505 (
45506 cat <<\_ASBOX
45507 ## ----------------------------------------- ##
45508 ## Report this to wx-dev@lists.wxwidgets.org ##
45509 ## ----------------------------------------- ##
45510 _ASBOX
45511 ) |
45512 sed "s/^/$as_me: WARNING: /" >&2
45513 ;;
45514 esac
45515 echo "$as_me:$LINENO: checking for $ac_header" >&5
45516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45518 echo $ECHO_N "(cached) $ECHO_C" >&6
45519 else
45520 eval "$as_ac_Header=\$ac_header_preproc"
45521 fi
45522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45524
45525 fi
45526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45527 cat >>confdefs.h <<_ACEOF
45528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45529 _ACEOF
45530 wxUSE_JOYSTICK=yes
45531 fi
45532
45533 done
45534
45535 fi
45536 fi
45537
45538 if test "$wxUSE_JOYSTICK" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_JOYSTICK 1
45541 _ACEOF
45542
45543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45544 else
45545 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45546 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45547 fi
45548 fi
45549
45550
45551
45552 if test "$wxUSE_FONTMAP" = "yes" ; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_FONTMAP 1
45555 _ACEOF
45556
45557 fi
45558
45559 if test "$wxUSE_UNICODE" = "yes" ; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_UNICODE 1
45562 _ACEOF
45563
45564
45565 if test "$USE_WIN32" != 1; then
45566 wxUSE_UNICODE_MSLU=no
45567 fi
45568
45569 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45570 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45571 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45572 if test "${ac_cv_lib_unicows_main+set}" = set; then
45573 echo $ECHO_N "(cached) $ECHO_C" >&6
45574 else
45575 ac_check_lib_save_LIBS=$LIBS
45576 LIBS="-lunicows $LIBS"
45577 cat >conftest.$ac_ext <<_ACEOF
45578 /* confdefs.h. */
45579 _ACEOF
45580 cat confdefs.h >>conftest.$ac_ext
45581 cat >>conftest.$ac_ext <<_ACEOF
45582 /* end confdefs.h. */
45583
45584
45585 int
45586 main ()
45587 {
45588 main ();
45589 ;
45590 return 0;
45591 }
45592 _ACEOF
45593 rm -f conftest.$ac_objext conftest$ac_exeext
45594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45595 (eval $ac_link) 2>conftest.er1
45596 ac_status=$?
45597 grep -v '^ *+' conftest.er1 >conftest.err
45598 rm -f conftest.er1
45599 cat conftest.err >&5
45600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601 (exit $ac_status); } &&
45602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45604 (eval $ac_try) 2>&5
45605 ac_status=$?
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); }; } &&
45608 { ac_try='test -s conftest$ac_exeext'
45609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45610 (eval $ac_try) 2>&5
45611 ac_status=$?
45612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45613 (exit $ac_status); }; }; then
45614 ac_cv_lib_unicows_main=yes
45615 else
45616 echo "$as_me: failed program was:" >&5
45617 sed 's/^/| /' conftest.$ac_ext >&5
45618
45619 ac_cv_lib_unicows_main=no
45620 fi
45621 rm -f conftest.err conftest.$ac_objext \
45622 conftest$ac_exeext conftest.$ac_ext
45623 LIBS=$ac_check_lib_save_LIBS
45624 fi
45625 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45626 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45627 if test $ac_cv_lib_unicows_main = yes; then
45628
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_UNICODE_MSLU 1
45631 _ACEOF
45632
45633
45634 else
45635
45636 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45637 Applications will only run on Windows NT/2000/XP!" >&5
45638 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45639 Applications will only run on Windows NT/2000/XP!" >&2;}
45640 wxUSE_UNICODE_MSLU=no
45641
45642 fi
45643
45644 fi
45645 fi
45646
45647 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_EXPERIMENTAL_PRINTF 1
45650 _ACEOF
45651
45652 fi
45653
45654
45655 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_POSTSCRIPT 1
45658 _ACEOF
45659
45660 fi
45661
45662 cat >>confdefs.h <<\_ACEOF
45663 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45664 _ACEOF
45665
45666
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_NORMALIZED_PS_FONTS 1
45669 _ACEOF
45670
45671
45672
45673 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_CONSTRAINTS 1
45676 _ACEOF
45677
45678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45679 fi
45680
45681 if test "$wxUSE_MDI" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_MDI 1
45684 _ACEOF
45685
45686
45687 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_MDI_ARCHITECTURE 1
45690 _ACEOF
45691
45692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45693 fi
45694 fi
45695
45696 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45699 _ACEOF
45700
45701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45702 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45704 fi
45705 fi
45706
45707 if test "$wxUSE_HELP" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_HELP 1
45710 _ACEOF
45711
45712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45713
45714 if test "$wxUSE_MSW" = 1; then
45715 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_MS_HTML_HELP 1
45718 _ACEOF
45719
45720 fi
45721 fi
45722
45723 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45724 if test "$wxUSE_HTML" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_WXHTML_HELP 1
45727 _ACEOF
45728
45729 else
45730 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45731 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45732 wxUSE_WXHTML_HELP=no
45733 fi
45734 fi
45735 fi
45736
45737 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45738 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45739 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45740 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45741 else
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_PRINTING_ARCHITECTURE 1
45744 _ACEOF
45745
45746 fi
45747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45748 fi
45749
45750 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45751 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45752 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45753 { (exit 1); exit 1; }; }
45754 fi
45755
45756
45757 if test "$wxUSE_METAFILE" = "yes"; then
45758 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45759 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45760 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45761 wxUSE_METAFILE=no
45762 fi
45763 fi
45764
45765
45766 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45767 -o "$wxUSE_CLIPBOARD" = "yes" \
45768 -o "$wxUSE_OLE" = "yes" \
45769 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45770
45771 for ac_header in ole2.h
45772 do
45773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45775 echo "$as_me:$LINENO: checking for $ac_header" >&5
45776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45778 echo $ECHO_N "(cached) $ECHO_C" >&6
45779 fi
45780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45782 else
45783 # Is the header compilable?
45784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45786 cat >conftest.$ac_ext <<_ACEOF
45787 /* confdefs.h. */
45788 _ACEOF
45789 cat confdefs.h >>conftest.$ac_ext
45790 cat >>conftest.$ac_ext <<_ACEOF
45791 /* end confdefs.h. */
45792 $ac_includes_default
45793 #include <$ac_header>
45794 _ACEOF
45795 rm -f conftest.$ac_objext
45796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45797 (eval $ac_compile) 2>conftest.er1
45798 ac_status=$?
45799 grep -v '^ *+' conftest.er1 >conftest.err
45800 rm -f conftest.er1
45801 cat conftest.err >&5
45802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45803 (exit $ac_status); } &&
45804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45806 (eval $ac_try) 2>&5
45807 ac_status=$?
45808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45809 (exit $ac_status); }; } &&
45810 { ac_try='test -s conftest.$ac_objext'
45811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45812 (eval $ac_try) 2>&5
45813 ac_status=$?
45814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45815 (exit $ac_status); }; }; then
45816 ac_header_compiler=yes
45817 else
45818 echo "$as_me: failed program was:" >&5
45819 sed 's/^/| /' conftest.$ac_ext >&5
45820
45821 ac_header_compiler=no
45822 fi
45823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45825 echo "${ECHO_T}$ac_header_compiler" >&6
45826
45827 # Is the header present?
45828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45830 cat >conftest.$ac_ext <<_ACEOF
45831 /* confdefs.h. */
45832 _ACEOF
45833 cat confdefs.h >>conftest.$ac_ext
45834 cat >>conftest.$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45836 #include <$ac_header>
45837 _ACEOF
45838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45840 ac_status=$?
45841 grep -v '^ *+' conftest.er1 >conftest.err
45842 rm -f conftest.er1
45843 cat conftest.err >&5
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); } >/dev/null; then
45846 if test -s conftest.err; then
45847 ac_cpp_err=$ac_c_preproc_warn_flag
45848 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45849 else
45850 ac_cpp_err=
45851 fi
45852 else
45853 ac_cpp_err=yes
45854 fi
45855 if test -z "$ac_cpp_err"; then
45856 ac_header_preproc=yes
45857 else
45858 echo "$as_me: failed program was:" >&5
45859 sed 's/^/| /' conftest.$ac_ext >&5
45860
45861 ac_header_preproc=no
45862 fi
45863 rm -f conftest.err conftest.$ac_ext
45864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45865 echo "${ECHO_T}$ac_header_preproc" >&6
45866
45867 # So? What about this header?
45868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45869 yes:no: )
45870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45874 ac_header_preproc=yes
45875 ;;
45876 no:yes:* )
45877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45889 (
45890 cat <<\_ASBOX
45891 ## ----------------------------------------- ##
45892 ## Report this to wx-dev@lists.wxwidgets.org ##
45893 ## ----------------------------------------- ##
45894 _ASBOX
45895 ) |
45896 sed "s/^/$as_me: WARNING: /" >&2
45897 ;;
45898 esac
45899 echo "$as_me:$LINENO: checking for $ac_header" >&5
45900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45902 echo $ECHO_N "(cached) $ECHO_C" >&6
45903 else
45904 eval "$as_ac_Header=\$ac_header_preproc"
45905 fi
45906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45908
45909 fi
45910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45911 cat >>confdefs.h <<_ACEOF
45912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45913 _ACEOF
45914
45915 fi
45916
45917 done
45918
45919
45920 if test "$ac_cv_header_ole2_h" = "yes" ; then
45921 if test "$GCC" = yes ; then
45922 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45923 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45924 cat >conftest.$ac_ext <<_ACEOF
45925 /* confdefs.h. */
45926 _ACEOF
45927 cat confdefs.h >>conftest.$ac_ext
45928 cat >>conftest.$ac_ext <<_ACEOF
45929 /* end confdefs.h. */
45930 #include <windows.h>
45931 #include <ole2.h>
45932 int
45933 main ()
45934 {
45935
45936 ;
45937 return 0;
45938 }
45939 _ACEOF
45940 rm -f conftest.$ac_objext
45941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45942 (eval $ac_compile) 2>conftest.er1
45943 ac_status=$?
45944 grep -v '^ *+' conftest.er1 >conftest.err
45945 rm -f conftest.er1
45946 cat conftest.err >&5
45947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45948 (exit $ac_status); } &&
45949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45951 (eval $ac_try) 2>&5
45952 ac_status=$?
45953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45954 (exit $ac_status); }; } &&
45955 { ac_try='test -s conftest.$ac_objext'
45956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45957 (eval $ac_try) 2>&5
45958 ac_status=$?
45959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45960 (exit $ac_status); }; }; then
45961 echo "$as_me:$LINENO: result: no" >&5
45962 echo "${ECHO_T}no" >&6
45963 else
45964 echo "$as_me: failed program was:" >&5
45965 sed 's/^/| /' conftest.$ac_ext >&5
45966
45967 echo "$as_me:$LINENO: result: yes" >&5
45968 echo "${ECHO_T}yes" >&6
45969 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45970 fi
45971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45972 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45973 if test "$wxUSE_OLE" = "yes" ; then
45974 cat >>confdefs.h <<\_ACEOF
45975 #define wxUSE_OLE 1
45976 _ACEOF
45977
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_OLE_AUTOMATION 1
45980 _ACEOF
45981
45982 cat >>confdefs.h <<\_ACEOF
45983 #define wxUSE_OLE_ACTIVEX 1
45984 _ACEOF
45985
45986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45987 fi
45988 fi
45989
45990 if test "$wxUSE_DATAOBJ" = "yes" ; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_DATAOBJ 1
45993 _ACEOF
45994
45995 fi
45996 else
45997 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45998 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45999
46000 wxUSE_CLIPBOARD=no
46001 wxUSE_DRAG_AND_DROP=no
46002 wxUSE_DATAOBJ=no
46003 wxUSE_OLE=no
46004 fi
46005
46006 if test "$wxUSE_METAFILE" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_METAFILE 1
46009 _ACEOF
46010
46011
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_ENH_METAFILE 1
46014 _ACEOF
46015
46016 fi
46017 fi
46018
46019 if test "$wxUSE_IPC" = "yes"; then
46020 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46021 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46022 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46023 wxUSE_IPC=no
46024 fi
46025
46026 if test "$wxUSE_IPC" = "yes"; then
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_IPC 1
46029 _ACEOF
46030
46031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46032 fi
46033 fi
46034
46035 if test "$wxUSE_DATAOBJ" = "yes"; then
46036 if test "$wxUSE_MGL" = 1; then
46037 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46038 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46039 wxUSE_DATAOBJ=no
46040 else
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_DATAOBJ 1
46043 _ACEOF
46044
46045 fi
46046 else
46047 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46048 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46049 wxUSE_CLIPBOARD=no
46050 wxUSE_DRAG_AND_DROP=no
46051 fi
46052
46053 if test "$wxUSE_CLIPBOARD" = "yes"; then
46054 if test "$wxUSE_MGL" = 1; then
46055 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46056 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46057 wxUSE_CLIPBOARD=no
46058 fi
46059
46060 if test "$wxUSE_CLIPBOARD" = "yes"; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_CLIPBOARD 1
46063 _ACEOF
46064
46065 fi
46066 fi
46067
46068 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46069 if test "$wxUSE_GTK" = 1; then
46070 if test "$WXGTK12" != 1; then
46071 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46072 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46073 wxUSE_DRAG_AND_DROP=no
46074 fi
46075 fi
46076
46077 if test "$wxUSE_MOTIF" = 1; then
46078 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46079 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46080 wxUSE_DRAG_AND_DROP=no
46081 fi
46082
46083 if test "$wxUSE_X11" = 1; then
46084 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46085 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46086 wxUSE_DRAG_AND_DROP=no
46087 fi
46088
46089 if test "$wxUSE_MGL" = 1; then
46090 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46091 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46092 wxUSE_DRAG_AND_DROP=no
46093 fi
46094
46095 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_DRAG_AND_DROP 1
46098 _ACEOF
46099
46100 fi
46101
46102 fi
46103
46104 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46106 fi
46107
46108 if test "$wxUSE_SPLINES" = "yes" ; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define wxUSE_SPLINES 1
46111 _ACEOF
46112
46113 fi
46114
46115 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_MOUSEWHEEL 1
46118 _ACEOF
46119
46120 fi
46121
46122
46123 USES_CONTROLS=0
46124 if test "$wxUSE_CONTROLS" = "yes"; then
46125 USES_CONTROLS=1
46126 fi
46127
46128 if test "$wxUSE_ACCEL" = "yes"; then
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_ACCEL 1
46131 _ACEOF
46132
46133 USES_CONTROLS=1
46134 fi
46135
46136 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46137 cat >>confdefs.h <<\_ACEOF
46138 #define wxUSE_ANIMATIONCTRL 1
46139 _ACEOF
46140
46141 USES_CONTROLS=1
46142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46143 fi
46144
46145 if test "$wxUSE_BUTTON" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_BUTTON 1
46148 _ACEOF
46149
46150 USES_CONTROLS=1
46151 fi
46152
46153 if test "$wxUSE_BMPBUTTON" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_BMPBUTTON 1
46156 _ACEOF
46157
46158 USES_CONTROLS=1
46159 fi
46160
46161 if test "$wxUSE_CALCTRL" = "yes"; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_CALENDARCTRL 1
46164 _ACEOF
46165
46166 USES_CONTROLS=1
46167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46168 fi
46169
46170 if test "$wxUSE_CARET" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_CARET 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46177 fi
46178
46179 if test "$wxUSE_COLLPANE" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_COLLPANE 1
46182 _ACEOF
46183
46184 USES_CONTROLS=1
46185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46186 fi
46187
46188 if test "$wxUSE_COMBOBOX" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_COMBOBOX 1
46191 _ACEOF
46192
46193 USES_CONTROLS=1
46194 fi
46195
46196 if test "$wxUSE_COMBOCTRL" = "yes"; then
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_COMBOCTRL 1
46199 _ACEOF
46200
46201 USES_CONTROLS=1
46202 fi
46203
46204 if test "$wxUSE_CHOICE" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_CHOICE 1
46207 _ACEOF
46208
46209 USES_CONTROLS=1
46210 fi
46211
46212 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_CHOICEBOOK 1
46215 _ACEOF
46216
46217 USES_CONTROLS=1
46218 fi
46219
46220 if test "$wxUSE_CHECKBOX" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_CHECKBOX 1
46223 _ACEOF
46224
46225 USES_CONTROLS=1
46226 fi
46227
46228 if test "$wxUSE_CHECKLST" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_CHECKLISTBOX 1
46231 _ACEOF
46232
46233 USES_CONTROLS=1
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46235 fi
46236
46237 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_COLOURPICKERCTRL 1
46240 _ACEOF
46241
46242 USES_CONTROLS=1
46243 fi
46244
46245 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46246 cat >>confdefs.h <<\_ACEOF
46247 #define wxUSE_DATEPICKCTRL 1
46248 _ACEOF
46249
46250 USES_CONTROLS=1
46251 fi
46252
46253 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46254 cat >>confdefs.h <<\_ACEOF
46255 #define wxUSE_DIRPICKERCTRL 1
46256 _ACEOF
46257
46258 USES_CONTROLS=1
46259 fi
46260
46261 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_FILEPICKERCTRL 1
46264 _ACEOF
46265
46266 USES_CONTROLS=1
46267 fi
46268
46269 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_FONTPICKERCTRL 1
46272 _ACEOF
46273
46274 USES_CONTROLS=1
46275 fi
46276
46277 if test "$wxUSE_DISPLAY" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_DISPLAY 1
46280 _ACEOF
46281
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46283 fi
46284
46285 if test "$wxUSE_DETECT_SM" = "yes"; then
46286 cat >>confdefs.h <<\_ACEOF
46287 #define wxUSE_DETECT_SM 1
46288 _ACEOF
46289
46290 fi
46291
46292 if test "$wxUSE_GAUGE" = "yes"; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxUSE_GAUGE 1
46295 _ACEOF
46296
46297 USES_CONTROLS=1
46298 fi
46299
46300 if test "$wxUSE_GRID" = "yes"; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_GRID 1
46303 _ACEOF
46304
46305 USES_CONTROLS=1
46306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46307 fi
46308
46309 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_HYPERLINKCTRL 1
46312 _ACEOF
46313
46314 USES_CONTROLS=1
46315 fi
46316
46317 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_BITMAPCOMBOBOX 1
46320 _ACEOF
46321
46322 USES_CONTROLS=1
46323 fi
46324
46325 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_DATAVIEWCTRL 1
46328 _ACEOF
46329
46330 USES_CONTROLS=1
46331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46332 fi
46333
46334 if test "$wxUSE_IMAGLIST" = "yes"; then
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_IMAGLIST 1
46337 _ACEOF
46338
46339 fi
46340
46341 if test "$wxUSE_LISTBOOK" = "yes"; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_LISTBOOK 1
46344 _ACEOF
46345
46346 USES_CONTROLS=1
46347 fi
46348
46349 if test "$wxUSE_LISTBOX" = "yes"; then
46350 cat >>confdefs.h <<\_ACEOF
46351 #define wxUSE_LISTBOX 1
46352 _ACEOF
46353
46354 USES_CONTROLS=1
46355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46356 fi
46357
46358 if test "$wxUSE_LISTCTRL" = "yes"; then
46359 if test "$wxUSE_IMAGLIST" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_LISTCTRL 1
46362 _ACEOF
46363
46364 USES_CONTROLS=1
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46366 else
46367 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46368 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46369 fi
46370 fi
46371
46372 if test "$wxUSE_NOTEBOOK" = "yes"; then
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_NOTEBOOK 1
46375 _ACEOF
46376
46377 USES_CONTROLS=1
46378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46379 fi
46380
46381 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_ODCOMBOBOX 1
46384 _ACEOF
46385
46386 USES_CONTROLS=1
46387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46388 fi
46389
46390
46391 if test "$wxUSE_RADIOBOX" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_RADIOBOX 1
46394 _ACEOF
46395
46396 USES_CONTROLS=1
46397 fi
46398
46399 if test "$wxUSE_RADIOBTN" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_RADIOBTN 1
46402 _ACEOF
46403
46404 USES_CONTROLS=1
46405 fi
46406
46407 if test "$wxUSE_SASH" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_SASH 1
46410 _ACEOF
46411
46412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46413 fi
46414
46415 if test "$wxUSE_SCROLLBAR" = "yes"; then
46416 cat >>confdefs.h <<\_ACEOF
46417 #define wxUSE_SCROLLBAR 1
46418 _ACEOF
46419
46420 USES_CONTROLS=1
46421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46422 fi
46423
46424 if test "$wxUSE_SLIDER" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_SLIDER 1
46427 _ACEOF
46428
46429 USES_CONTROLS=1
46430 fi
46431
46432 if test "$wxUSE_SPINBTN" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_SPINBTN 1
46435 _ACEOF
46436
46437 USES_CONTROLS=1
46438 fi
46439
46440 if test "$wxUSE_SPINCTRL" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_SPINCTRL 1
46443 _ACEOF
46444
46445 USES_CONTROLS=1
46446 fi
46447
46448 if test "$wxUSE_SPLITTER" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_SPLITTER 1
46451 _ACEOF
46452
46453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46454 fi
46455
46456 if test "$wxUSE_STATBMP" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_STATBMP 1
46459 _ACEOF
46460
46461 USES_CONTROLS=1
46462 fi
46463
46464 if test "$wxUSE_STATBOX" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_STATBOX 1
46467 _ACEOF
46468
46469 USES_CONTROLS=1
46470 fi
46471
46472 if test "$wxUSE_STATTEXT" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_STATTEXT 1
46475 _ACEOF
46476
46477 USES_CONTROLS=1
46478 fi
46479
46480 if test "$wxUSE_STATLINE" = "yes"; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_STATLINE 1
46483 _ACEOF
46484
46485 USES_CONTROLS=1
46486 fi
46487
46488 if test "$wxUSE_STATUSBAR" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_NATIVE_STATUSBAR 1
46491 _ACEOF
46492
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_STATUSBAR 1
46495 _ACEOF
46496
46497 USES_CONTROLS=1
46498
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46500 fi
46501
46502 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_TAB_DIALOG 1
46505 _ACEOF
46506
46507 fi
46508
46509 if test "$wxUSE_TEXTCTRL" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_TEXTCTRL 1
46512 _ACEOF
46513
46514 USES_CONTROLS=1
46515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46516 fi
46517
46518 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46519 if test "$wxUSE_COCOA" = 1 ; then
46520 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46521 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46522 wxUSE_TOGGLEBTN=no
46523 fi
46524
46525 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_TOGGLEBTN 1
46528 _ACEOF
46529
46530 USES_CONTROLS=1
46531 fi
46532 fi
46533
46534 if test "$wxUSE_TOOLBAR" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_TOOLBAR 1
46537 _ACEOF
46538
46539 USES_CONTROLS=1
46540
46541 if test "$wxUSE_UNIVERSAL" = "yes"; then
46542 wxUSE_TOOLBAR_NATIVE="no"
46543 else
46544 wxUSE_TOOLBAR_NATIVE="yes"
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_TOOLBAR_NATIVE 1
46547 _ACEOF
46548
46549 fi
46550
46551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46552 fi
46553
46554 if test "$wxUSE_TOOLTIPS" = "yes"; then
46555 if test "$wxUSE_MOTIF" = 1; then
46556 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46557 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46558 else
46559 if test "$wxUSE_UNIVERSAL" = "yes"; then
46560 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46561 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46562 else
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_TOOLTIPS 1
46565 _ACEOF
46566
46567 fi
46568 fi
46569 fi
46570
46571 if test "$wxUSE_TREEBOOK" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_TREEBOOK 1
46574 _ACEOF
46575
46576 USES_CONTROLS=1
46577 fi
46578
46579 if test "$wxUSE_TOOLBOOK" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_TOOLBOOK 1
46582 _ACEOF
46583
46584 USES_CONTROLS=1
46585 fi
46586
46587 if test "$wxUSE_TREECTRL" = "yes"; then
46588 if test "$wxUSE_IMAGLIST" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_TREECTRL 1
46591 _ACEOF
46592
46593 USES_CONTROLS=1
46594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46595 else
46596 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46597 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46598 fi
46599 fi
46600
46601 if test "$wxUSE_POPUPWIN" = "yes"; then
46602 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46603 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46604 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46605 else
46606 if test "$wxUSE_PM" = 1; then
46607 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46608 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46609 else
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_POPUPWIN 1
46612 _ACEOF
46613
46614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46615
46616 USES_CONTROLS=1
46617 fi
46618 fi
46619 fi
46620
46621 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46622 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46623 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46624 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46625 else
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_DIALUP_MANAGER 1
46628 _ACEOF
46629
46630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46631 fi
46632 fi
46633
46634 if test "$wxUSE_TIPWINDOW" = "yes"; then
46635 if test "$wxUSE_PM" = 1; then
46636 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46637 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46638 else
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_TIPWINDOW 1
46641 _ACEOF
46642
46643 fi
46644 fi
46645
46646 if test "$USES_CONTROLS" = 1; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_CONTROLS 1
46649 _ACEOF
46650
46651 fi
46652
46653
46654 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46655 cat >>confdefs.h <<\_ACEOF
46656 #define wxUSE_ACCESSIBILITY 1
46657 _ACEOF
46658
46659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46660 fi
46661
46662 if test "$wxUSE_DC_CACHEING" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_DC_CACHEING 1
46665 _ACEOF
46666
46667 fi
46668
46669 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_DRAGIMAGE 1
46672 _ACEOF
46673
46674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46675 fi
46676
46677 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46678 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46679 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46680 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46681 else
46682 cat >>confdefs.h <<\_ACEOF
46683 #define wxUSE_EXCEPTIONS 1
46684 _ACEOF
46685
46686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46687 fi
46688 fi
46689
46690 USE_HTML=0
46691 if test "$wxUSE_HTML" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_HTML 1
46694 _ACEOF
46695
46696 USE_HTML=1
46697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46698 if test "$wxUSE_MAC" = 1; then
46699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46700 fi
46701 fi
46702 if test "$wxUSE_WEBKIT" = "yes"; then
46703 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46704 old_CPPFLAGS="$CPPFLAGS"
46705 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46706 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46707 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46708 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46709 echo $ECHO_N "(cached) $ECHO_C" >&6
46710 else
46711 cat >conftest.$ac_ext <<_ACEOF
46712 /* confdefs.h. */
46713 _ACEOF
46714 cat confdefs.h >>conftest.$ac_ext
46715 cat >>conftest.$ac_ext <<_ACEOF
46716 /* end confdefs.h. */
46717 #include <Carbon/Carbon.h>
46718
46719 #include <WebKit/HIWebView.h>
46720 _ACEOF
46721 rm -f conftest.$ac_objext
46722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46723 (eval $ac_compile) 2>conftest.er1
46724 ac_status=$?
46725 grep -v '^ *+' conftest.er1 >conftest.err
46726 rm -f conftest.er1
46727 cat conftest.err >&5
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); } &&
46730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46732 (eval $ac_try) 2>&5
46733 ac_status=$?
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); }; } &&
46736 { ac_try='test -s conftest.$ac_objext'
46737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46738 (eval $ac_try) 2>&5
46739 ac_status=$?
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; }; then
46742 ac_cv_header_WebKit_HIWebView_h=yes
46743 else
46744 echo "$as_me: failed program was:" >&5
46745 sed 's/^/| /' conftest.$ac_ext >&5
46746
46747 ac_cv_header_WebKit_HIWebView_h=no
46748 fi
46749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46750 fi
46751 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46752 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46753 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46754
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_WEBKIT 1
46757 _ACEOF
46758
46759 WEBKIT_LINK="-framework WebKit"
46760
46761 else
46762
46763 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46764 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46765 wxUSE_WEBKIT=no
46766
46767 fi
46768
46769
46770 CPPFLAGS="$old_CPPFLAGS"
46771 elif test "$wxUSE_COCOA" = 1; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_WEBKIT 1
46774 _ACEOF
46775
46776 else
46777 wxUSE_WEBKIT=no
46778 fi
46779 fi
46780
46781 USE_XRC=0
46782 if test "$wxUSE_XRC" = "yes"; then
46783 if test "$wxUSE_XML" != "yes"; then
46784 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46785 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46786 wxUSE_XRC=no
46787 else
46788 cat >>confdefs.h <<\_ACEOF
46789 #define wxUSE_XRC 1
46790 _ACEOF
46791
46792 USE_XRC=1
46793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46794 fi
46795 fi
46796
46797 USE_AUI=0
46798 if test "$wxUSE_AUI" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_AUI 1
46801 _ACEOF
46802
46803 USE_AUI=1
46804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46805 fi
46806
46807 if test "$wxUSE_MENUS" = "yes"; then
46808 cat >>confdefs.h <<\_ACEOF
46809 #define wxUSE_MENUS 1
46810 _ACEOF
46811
46812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46813 fi
46814
46815 if test "$wxUSE_METAFILE" = "yes"; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_METAFILE 1
46818 _ACEOF
46819
46820 fi
46821
46822 if test "$wxUSE_MIMETYPE" = "yes"; then
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_MIMETYPE 1
46825 _ACEOF
46826
46827 fi
46828
46829 if test "$wxUSE_MINIFRAME" = "yes"; then
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_MINIFRAME 1
46832 _ACEOF
46833
46834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46835 fi
46836
46837 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46838 cat >>confdefs.h <<\_ACEOF
46839 #define wxUSE_SYSTEM_OPTIONS 1
46840 _ACEOF
46841
46842 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46843 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46845 fi
46846 fi
46847
46848
46849 if test "$wxUSE_VALIDATORS" = "yes"; then
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_VALIDATORS 1
46852 _ACEOF
46853
46854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46855 fi
46856
46857 if test "$wxUSE_PALETTE" = "yes" ; then
46858 cat >>confdefs.h <<\_ACEOF
46859 #define wxUSE_PALETTE 1
46860 _ACEOF
46861
46862 fi
46863
46864 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46865 LIBS=" -lunicows $LIBS"
46866 fi
46867
46868 USE_RICHTEXT=0
46869 if test "$wxUSE_RICHTEXT" = "yes"; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_RICHTEXT 1
46872 _ACEOF
46873
46874 USE_RICHTEXT=1
46875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46876 fi
46877
46878
46879 if test "$wxUSE_IMAGE" = "yes" ; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_IMAGE 1
46882 _ACEOF
46883
46884
46885 if test "$wxUSE_GIF" = "yes" ; then
46886 cat >>confdefs.h <<\_ACEOF
46887 #define wxUSE_GIF 1
46888 _ACEOF
46889
46890 fi
46891
46892 if test "$wxUSE_PCX" = "yes" ; then
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_PCX 1
46895 _ACEOF
46896
46897 fi
46898
46899 if test "$wxUSE_TGA" = "yes" ; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_TGA 1
46902 _ACEOF
46903
46904 fi
46905
46906 if test "$wxUSE_IFF" = "yes" ; then
46907 cat >>confdefs.h <<\_ACEOF
46908 #define wxUSE_IFF 1
46909 _ACEOF
46910
46911 fi
46912
46913 if test "$wxUSE_PNM" = "yes" ; then
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_PNM 1
46916 _ACEOF
46917
46918 fi
46919
46920 if test "$wxUSE_XPM" = "yes" ; then
46921 cat >>confdefs.h <<\_ACEOF
46922 #define wxUSE_XPM 1
46923 _ACEOF
46924
46925 fi
46926
46927 if test "$wxUSE_ICO_CUR" = "yes" ; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_ICO_CUR 1
46930 _ACEOF
46931
46932 fi
46933 fi
46934
46935
46936 if test "$wxUSE_ABOUTDLG" = "yes"; then
46937 cat >>confdefs.h <<\_ACEOF
46938 #define wxUSE_ABOUTDLG 1
46939 _ACEOF
46940
46941 fi
46942
46943 if test "$wxUSE_CHOICEDLG" = "yes"; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_CHOICEDLG 1
46946 _ACEOF
46947
46948 fi
46949
46950 if test "$wxUSE_COLOURDLG" = "yes"; then
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_COLOURDLG 1
46953 _ACEOF
46954
46955 fi
46956
46957 if test "$wxUSE_FILEDLG" = "yes"; then
46958 cat >>confdefs.h <<\_ACEOF
46959 #define wxUSE_FILEDLG 1
46960 _ACEOF
46961
46962 fi
46963
46964 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_FINDREPLDLG 1
46967 _ACEOF
46968
46969 fi
46970
46971 if test "$wxUSE_FONTDLG" = "yes"; then
46972 cat >>confdefs.h <<\_ACEOF
46973 #define wxUSE_FONTDLG 1
46974 _ACEOF
46975
46976 fi
46977
46978 if test "$wxUSE_DIRDLG" = "yes"; then
46979 if test "$wxUSE_TREECTRL" != "yes"; then
46980 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46981 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46982 else
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_DIRDLG 1
46985 _ACEOF
46986
46987 fi
46988 fi
46989
46990 if test "$wxUSE_MSGDLG" = "yes"; then
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_MSGDLG 1
46993 _ACEOF
46994
46995 fi
46996
46997 if test "$wxUSE_NUMBERDLG" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_NUMBERDLG 1
47000 _ACEOF
47001
47002 fi
47003
47004 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47005 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47006 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47007 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47008 else
47009 cat >>confdefs.h <<\_ACEOF
47010 #define wxUSE_PROGRESSDLG 1
47011 _ACEOF
47012
47013 fi
47014 fi
47015
47016 if test "$wxUSE_SPLASH" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_SPLASH 1
47019 _ACEOF
47020
47021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47022 fi
47023
47024 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47025 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47026 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47027 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47028 else
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_STARTUP_TIPS 1
47031 _ACEOF
47032
47033 fi
47034 fi
47035
47036 if test "$wxUSE_TEXTDLG" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_TEXTDLG 1
47039 _ACEOF
47040
47041 fi
47042
47043 if test "$wxUSE_WIZARDDLG" = "yes"; then
47044 cat >>confdefs.h <<\_ACEOF
47045 #define wxUSE_WIZARDDLG 1
47046 _ACEOF
47047
47048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47049 fi
47050
47051
47052 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47053 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_GRAPHICS_CONTEXT 1
47056 _ACEOF
47057
47058 elif test "$wxUSE_GTK" != 1; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_GRAPHICS_CONTEXT 1
47061 _ACEOF
47062
47063 else
47064
47065 pkg_failed=no
47066 echo "$as_me:$LINENO: checking for CAIRO" >&5
47067 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47068
47069 if test -n "$PKG_CONFIG"; then
47070 if test -n "$CAIRO_CFLAGS"; then
47071 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47072 else
47073 if test -n "$PKG_CONFIG" && \
47074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47075 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47076 ac_status=$?
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); }; then
47079 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47080 else
47081 pkg_failed=yes
47082 fi
47083 fi
47084 else
47085 pkg_failed=untried
47086 fi
47087 if test -n "$PKG_CONFIG"; then
47088 if test -n "$CAIRO_LIBS"; then
47089 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47090 else
47091 if test -n "$PKG_CONFIG" && \
47092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47093 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47094 ac_status=$?
47095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47096 (exit $ac_status); }; then
47097 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47098 else
47099 pkg_failed=yes
47100 fi
47101 fi
47102 else
47103 pkg_failed=untried
47104 fi
47105
47106
47107
47108 if test $pkg_failed = yes; then
47109
47110 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47111 _pkg_short_errors_supported=yes
47112 else
47113 _pkg_short_errors_supported=no
47114 fi
47115 if test $_pkg_short_errors_supported = yes; then
47116 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47117 else
47118 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47119 fi
47120 # Put the nasty error message in config.log where it belongs
47121 echo "$CAIRO_PKG_ERRORS" >&5
47122
47123 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47124 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47125
47126 elif test $pkg_failed = untried; then
47127 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47128 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47129
47130 else
47131 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47132 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47133 echo "$as_me:$LINENO: result: yes" >&5
47134 echo "${ECHO_T}yes" >&6
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_GRAPHICS_CONTEXT 1
47137 _ACEOF
47138
47139 fi
47140 fi
47141 fi
47142
47143
47144 USE_MEDIA=0
47145
47146 if test "$wxUSE_MEDIACTRL" = "yes"; then
47147 USE_MEDIA=1
47148
47149 if test "$wxUSE_GTK" = 1; then
47150 wxUSE_GSTREAMER="no"
47151
47152 GST_VERSION_MAJOR=0
47153 GST_VERSION_MINOR=10
47154 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47155
47156 if test "$wxUSE_GSTREAMER8" = "no"; then
47157
47158 pkg_failed=no
47159 echo "$as_me:$LINENO: checking for GST" >&5
47160 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47161
47162 if test -n "$PKG_CONFIG"; then
47163 if test -n "$GST_CFLAGS"; then
47164 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47165 else
47166 if test -n "$PKG_CONFIG" && \
47167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47168 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47169 ac_status=$?
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); }; then
47172 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47173 else
47174 pkg_failed=yes
47175 fi
47176 fi
47177 else
47178 pkg_failed=untried
47179 fi
47180 if test -n "$PKG_CONFIG"; then
47181 if test -n "$GST_LIBS"; then
47182 pkg_cv_GST_LIBS="$GST_LIBS"
47183 else
47184 if test -n "$PKG_CONFIG" && \
47185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47186 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47187 ac_status=$?
47188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47189 (exit $ac_status); }; then
47190 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47191 else
47192 pkg_failed=yes
47193 fi
47194 fi
47195 else
47196 pkg_failed=untried
47197 fi
47198
47199
47200
47201 if test $pkg_failed = yes; then
47202
47203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47204 _pkg_short_errors_supported=yes
47205 else
47206 _pkg_short_errors_supported=no
47207 fi
47208 if test $_pkg_short_errors_supported = yes; then
47209 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47210 else
47211 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47212 fi
47213 # Put the nasty error message in config.log where it belongs
47214 echo "$GST_PKG_ERRORS" >&5
47215
47216
47217 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47218 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47219 GST_VERSION_MINOR=8
47220
47221
47222 elif test $pkg_failed = untried; then
47223
47224 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47225 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47226 GST_VERSION_MINOR=8
47227
47228
47229 else
47230 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47231 GST_LIBS=$pkg_cv_GST_LIBS
47232 echo "$as_me:$LINENO: result: yes" >&5
47233 echo "${ECHO_T}yes" >&6
47234
47235 wxUSE_GSTREAMER="yes"
47236 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47237
47238 fi
47239 else
47240 GST_VERSION_MINOR=8
47241 fi
47242
47243 if test $GST_VERSION_MINOR = "8"; then
47244 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47245
47246 pkg_failed=no
47247 echo "$as_me:$LINENO: checking for GST" >&5
47248 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47249
47250 if test -n "$PKG_CONFIG"; then
47251 if test -n "$GST_CFLAGS"; then
47252 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47253 else
47254 if test -n "$PKG_CONFIG" && \
47255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47256 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47257 ac_status=$?
47258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259 (exit $ac_status); }; then
47260 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47261 else
47262 pkg_failed=yes
47263 fi
47264 fi
47265 else
47266 pkg_failed=untried
47267 fi
47268 if test -n "$PKG_CONFIG"; then
47269 if test -n "$GST_LIBS"; then
47270 pkg_cv_GST_LIBS="$GST_LIBS"
47271 else
47272 if test -n "$PKG_CONFIG" && \
47273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47274 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47275 ac_status=$?
47276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47277 (exit $ac_status); }; then
47278 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47279 else
47280 pkg_failed=yes
47281 fi
47282 fi
47283 else
47284 pkg_failed=untried
47285 fi
47286
47287
47288
47289 if test $pkg_failed = yes; then
47290
47291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47292 _pkg_short_errors_supported=yes
47293 else
47294 _pkg_short_errors_supported=no
47295 fi
47296 if test $_pkg_short_errors_supported = yes; then
47297 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47298 else
47299 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47300 fi
47301 # Put the nasty error message in config.log where it belongs
47302 echo "$GST_PKG_ERRORS" >&5
47303
47304
47305 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47306 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47307
47308 elif test $pkg_failed = untried; then
47309
47310 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47311 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47312
47313 else
47314 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47315 GST_LIBS=$pkg_cv_GST_LIBS
47316 echo "$as_me:$LINENO: result: yes" >&5
47317 echo "${ECHO_T}yes" >&6
47318 wxUSE_GSTREAMER="yes"
47319 fi
47320 fi
47321
47322
47323 if test "$wxUSE_GSTREAMER" = "yes"; then
47324 case "${host}" in
47325 *-*-solaris2* )
47326 if "$GCC" = yes; then
47327 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47328 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47329 fi
47330 esac
47331
47332 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47333 LIBS="$GST_LIBS $LIBS"
47334
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_GSTREAMER 1
47337 _ACEOF
47338
47339 else
47340 USE_MEDIA=0
47341 fi
47342 fi
47343
47344 if test $USE_MEDIA = 1; then
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_MEDIACTRL 1
47348 _ACEOF
47349
47350 fi
47351 fi
47352
47353
47354 if test "$cross_compiling" = "yes"; then
47355 OSINFO="\"$host\""
47356 else
47357 OSINFO=`uname -s -r -m`
47358 OSINFO="\"$OSINFO\""
47359 fi
47360
47361 cat >>confdefs.h <<_ACEOF
47362 #define WXWIN_OS_DESCRIPTION $OSINFO
47363 _ACEOF
47364
47365
47366
47367 if test "x$prefix" != "xNONE"; then
47368 wxPREFIX=$prefix
47369 else
47370 wxPREFIX=$ac_default_prefix
47371 fi
47372
47373 cat >>confdefs.h <<_ACEOF
47374 #define wxINSTALL_PREFIX "$wxPREFIX"
47375 _ACEOF
47376
47377
47378
47379
47380 CORE_BASE_LIBS="net base"
47381 CORE_GUI_LIBS="adv core"
47382
47383 if test "$wxUSE_XML" = "yes" ; then
47384 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47385 fi
47386 if test "$wxUSE_ODBC" != "no" ; then
47387 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47388 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47389 fi
47390 if test "$wxUSE_HTML" = "yes" ; then
47391 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47392 fi
47393 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47394 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47395 fi
47396 if test "$wxUSE_XRC" = "yes" ; then
47397 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47398 fi
47399 if test "$wxUSE_AUI" = "yes" ; then
47400 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47401 fi
47402
47403 if test "$wxUSE_GUI" != "yes"; then
47404 CORE_GUI_LIBS=""
47405 fi
47406
47407
47408
47409
47410
47411
47412 if test "$wxUSE_MAC" = 1 ; then
47413 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47414 if test "$USE_DARWIN" = 1; then
47415 LDFLAGS="$LDFLAGS -framework QuickTime"
47416 else
47417 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47418 fi
47419 fi
47420 if test "$USE_DARWIN" = 1; then
47421 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47422 else
47423 LDFLAGS="$LDFLAGS -lCarbonLib"
47424 fi
47425 fi
47426 if test "$wxUSE_COCOA" = 1 ; then
47427 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47428 if test "$wxUSE_MEDIACTRL" = "yes"; then
47429 LDFLAGS="$LDFLAGS -framework QuickTime"
47430 fi
47431 fi
47432 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47433 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47434 fi
47435
47436 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47437
47438 if test "$wxUSE_GUI" = "yes"; then
47439
47440
47441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47442 dynamic erase event exec font image minimal mobile \
47443 mobile/wxedit mobile/styles propsize render \
47444 rotate shaped vscroll widgets"
47445
47446 if test "$wxUSE_MONOLITHIC" != "yes"; then
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47448 fi
47449 if test "$TOOLKIT" = "MSW"; then
47450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47451 if test "$wxUSE_UNIVERSAL" != "yes"; then
47452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47453 fi
47454 fi
47455 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47457 fi
47458 else
47459 SAMPLES_SUBDIRS="console"
47460 fi
47461
47462
47463 if test "x$INTELCC" = "xyes" ; then
47464 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47465 elif test "$GCC" = yes ; then
47466 CWARNINGS="-Wall -Wundef"
47467 fi
47468
47469 if test "x$INTELCXX" = "xyes" ; then
47470 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47471 elif test "$GXX" = yes ; then
47472 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47473 fi
47474
47475
47476 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47477 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47478
47479
47480 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47481 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47482 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47483 $CPPFLAGS `
47484
47485 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47486 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47487 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47488
47489 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47490
47491
47492 if test "x$MWCC" = "xyes"; then
47493
47494 CC="$CC -cwd source -I-"
47495 CXX="$CXX -cwd source -I-"
47496 fi
47497
47498
47499 LIBS=`echo $LIBS`
47500 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47501 EXTRALIBS_XML="$EXPAT_LINK"
47502 EXTRALIBS_HTML="$MSPACK_LINK"
47503 EXTRALIBS_ODBC="$ODBC_LINK"
47504 if test "$wxUSE_GUI" = "yes"; then
47505 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47506 fi
47507 if test "$wxUSE_OPENGL" = "yes"; then
47508 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47509 fi
47510
47511 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47512
47513 WXCONFIG_LIBS="$LIBS"
47514
47515 if test "$wxUSE_REGEX" = "builtin" ; then
47516 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47517 fi
47518 if test "$wxUSE_EXPAT" = "builtin" ; then
47519 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47520 fi
47521 if test "$wxUSE_ODBC" = "builtin" ; then
47522 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47523 fi
47524 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47525 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47526 fi
47527 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47528 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47529 fi
47530 if test "$wxUSE_LIBPNG" = "builtin" ; then
47531 wxconfig_3rdparty="png $wxconfig_3rdparty"
47532 fi
47533 if test "$wxUSE_ZLIB" = "builtin" ; then
47534 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47535 fi
47536
47537 for i in $wxconfig_3rdparty ; do
47538 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47539 done
47540
47541
47542 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47543 WXUNIV=1
47544
47545 case "$wxUNIV_THEMES" in
47546 ''|all)
47547 cat >>confdefs.h <<\_ACEOF
47548 #define wxUSE_ALL_THEMES 1
47549 _ACEOF
47550
47551 ;;
47552
47553 *)
47554 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47555 cat >>confdefs.h <<_ACEOF
47556 #define wxUSE_THEME_$t 1
47557 _ACEOF
47558
47559 done
47560 esac
47561 else
47562 WXUNIV=0
47563 fi
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573 if test $wxUSE_MONOLITHIC = "yes" ; then
47574 MONOLITHIC=1
47575 else
47576 MONOLITHIC=0
47577 fi
47578
47579 if test $wxUSE_PLUGINS = "yes" ; then
47580 USE_PLUGINS=1
47581 else
47582 USE_PLUGINS=0
47583 fi
47584
47585 if test $wxUSE_ODBC != "no" ; then
47586 USE_ODBC=1
47587 else
47588 USE_ODBC=0
47589 fi
47590
47591 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47592 USE_QA=1
47593 else
47594 USE_QA=0
47595 fi
47596
47597 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47598 OFFICIAL_BUILD=1
47599 else
47600 OFFICIAL_BUILD=0
47601 fi
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47628
47629
47630
47631
47632
47633
47634
47635
47636 case "$TOOLKIT" in
47637 GTK)
47638 TOOLKIT_DESC="GTK+"
47639 if test "$WXGTK20" = 1; then
47640 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47641 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47642 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47643 fi
47644 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47645 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47646 fi
47647 if test "$wxUSE_LIBHILDON" = "yes"; then
47648 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47649 fi
47650
47651 if test "$TOOLKIT_EXTRA" != ""; then
47652 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47653 fi
47654 fi
47655 ;;
47656
47657 ?*)
47658 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47659 ;;
47660
47661 *)
47662 TOOLKIT_DESC="base only"
47663 ;;
47664 esac
47665
47666 if test "$wxUSE_WINE" = "yes"; then
47667 BAKEFILE_FORCE_PLATFORM=win32
47668 fi
47669
47670 if test "$wxUSE_MAC" = 1 ; then
47671 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47672 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47673 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47674 else
47675 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47676 fi
47677 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47678 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47679 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47680 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47681 bk_use_pch=no
47682 fi
47683 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47684 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47685 fi
47686
47687 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47688 then
47689 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47690 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47691 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47692 echo $ECHO_N "(cached) $ECHO_C" >&6
47693 else
47694
47695 echo '#include <stdio.h>
47696 const wchar_t test_var[] = L"awidetest";' > conftest.h
47697
47698 echo '#include "conftest.h"
47699 int main()
47700 {
47701 printf("%ls", test_var);
47702 return 0;
47703 }' > conftest.cpp
47704
47705 wx_cv_gcc_pch_bug="pch not supported"
47706
47707 if $CXX conftest.h >/dev/null 2>&1
47708 then
47709 wx_cv_gcc_pch_bug=
47710
47711 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47712 then
47713 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47714 grep awidetest >/dev/null
47715 then
47716 wx_cv_gcc_pch_bug=no
47717 else
47718 wx_cv_gcc_pch_bug=yes
47719 fi
47720 fi
47721 fi
47722
47723 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47724
47725 fi
47726 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47727 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47728
47729 if test "$wx_cv_gcc_pch_bug" = yes; then
47730 bk_use_pch=no
47731 fi
47732 fi
47733
47734
47735
47736
47737 if test "x$BAKEFILE_HOST" = "x"; then
47738 if test "x${host}" = "x" ; then
47739 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47740 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47741 { (exit 1); exit 1; }; }
47742 fi
47743
47744 BAKEFILE_HOST="${host}"
47745 fi
47746
47747 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47748
47749 if test -n "$ac_tool_prefix"; then
47750 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47751 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47752 echo "$as_me:$LINENO: checking for $ac_word" >&5
47753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47754 if test "${ac_cv_prog_RANLIB+set}" = set; then
47755 echo $ECHO_N "(cached) $ECHO_C" >&6
47756 else
47757 if test -n "$RANLIB"; then
47758 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47759 else
47760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47761 for as_dir in $PATH
47762 do
47763 IFS=$as_save_IFS
47764 test -z "$as_dir" && as_dir=.
47765 for ac_exec_ext in '' $ac_executable_extensions; do
47766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47767 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47769 break 2
47770 fi
47771 done
47772 done
47773
47774 fi
47775 fi
47776 RANLIB=$ac_cv_prog_RANLIB
47777 if test -n "$RANLIB"; then
47778 echo "$as_me:$LINENO: result: $RANLIB" >&5
47779 echo "${ECHO_T}$RANLIB" >&6
47780 else
47781 echo "$as_me:$LINENO: result: no" >&5
47782 echo "${ECHO_T}no" >&6
47783 fi
47784
47785 fi
47786 if test -z "$ac_cv_prog_RANLIB"; then
47787 ac_ct_RANLIB=$RANLIB
47788 # Extract the first word of "ranlib", so it can be a program name with args.
47789 set dummy ranlib; ac_word=$2
47790 echo "$as_me:$LINENO: checking for $ac_word" >&5
47791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47792 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47793 echo $ECHO_N "(cached) $ECHO_C" >&6
47794 else
47795 if test -n "$ac_ct_RANLIB"; then
47796 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47797 else
47798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47799 for as_dir in $PATH
47800 do
47801 IFS=$as_save_IFS
47802 test -z "$as_dir" && as_dir=.
47803 for ac_exec_ext in '' $ac_executable_extensions; do
47804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47805 ac_cv_prog_ac_ct_RANLIB="ranlib"
47806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47807 break 2
47808 fi
47809 done
47810 done
47811
47812 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47813 fi
47814 fi
47815 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47816 if test -n "$ac_ct_RANLIB"; then
47817 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47818 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47819 else
47820 echo "$as_me:$LINENO: result: no" >&5
47821 echo "${ECHO_T}no" >&6
47822 fi
47823
47824 RANLIB=$ac_ct_RANLIB
47825 else
47826 RANLIB="$ac_cv_prog_RANLIB"
47827 fi
47828
47829 # Find a good install program. We prefer a C program (faster),
47830 # so one script is as good as another. But avoid the broken or
47831 # incompatible versions:
47832 # SysV /etc/install, /usr/sbin/install
47833 # SunOS /usr/etc/install
47834 # IRIX /sbin/install
47835 # AIX /bin/install
47836 # AmigaOS /C/install, which installs bootblocks on floppy discs
47837 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47838 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47839 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47840 # OS/2's system install, which has a completely different semantic
47841 # ./install, which can be erroneously created by make from ./install.sh.
47842 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47843 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47844 if test -z "$INSTALL"; then
47845 if test "${ac_cv_path_install+set}" = set; then
47846 echo $ECHO_N "(cached) $ECHO_C" >&6
47847 else
47848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47849 for as_dir in $PATH
47850 do
47851 IFS=$as_save_IFS
47852 test -z "$as_dir" && as_dir=.
47853 # Account for people who put trailing slashes in PATH elements.
47854 case $as_dir/ in
47855 ./ | .// | /cC/* | \
47856 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47857 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47858 /usr/ucb/* ) ;;
47859 *)
47860 # OSF1 and SCO ODT 3.0 have their own names for install.
47861 # Don't use installbsd from OSF since it installs stuff as root
47862 # by default.
47863 for ac_prog in ginstall scoinst install; do
47864 for ac_exec_ext in '' $ac_executable_extensions; do
47865 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47866 if test $ac_prog = install &&
47867 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47868 # AIX install. It has an incompatible calling convention.
47869 :
47870 elif test $ac_prog = install &&
47871 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47872 # program-specific install script used by HP pwplus--don't use.
47873 :
47874 else
47875 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47876 break 3
47877 fi
47878 fi
47879 done
47880 done
47881 ;;
47882 esac
47883 done
47884
47885
47886 fi
47887 if test "${ac_cv_path_install+set}" = set; then
47888 INSTALL=$ac_cv_path_install
47889 else
47890 # As a last resort, use the slow shell script. We don't cache a
47891 # path for INSTALL within a source directory, because that will
47892 # break other packages using the cache if that directory is
47893 # removed, or if the path is relative.
47894 INSTALL=$ac_install_sh
47895 fi
47896 fi
47897 echo "$as_me:$LINENO: result: $INSTALL" >&5
47898 echo "${ECHO_T}$INSTALL" >&6
47899
47900 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47901 # It thinks the first close brace ends the variable substitution.
47902 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47903
47904 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47905
47906 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47907
47908 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47909 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47910 LN_S=$as_ln_s
47911 if test "$LN_S" = "ln -s"; then
47912 echo "$as_me:$LINENO: result: yes" >&5
47913 echo "${ECHO_T}yes" >&6
47914 else
47915 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47916 echo "${ECHO_T}no, using $LN_S" >&6
47917 fi
47918
47919
47920 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47921 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47922 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47923 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47924 echo $ECHO_N "(cached) $ECHO_C" >&6
47925 else
47926 cat >conftest.make <<\_ACEOF
47927 all:
47928 @echo 'ac_maketemp="$(MAKE)"'
47929 _ACEOF
47930 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47931 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47932 if test -n "$ac_maketemp"; then
47933 eval ac_cv_prog_make_${ac_make}_set=yes
47934 else
47935 eval ac_cv_prog_make_${ac_make}_set=no
47936 fi
47937 rm -f conftest.make
47938 fi
47939 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47940 echo "$as_me:$LINENO: result: yes" >&5
47941 echo "${ECHO_T}yes" >&6
47942 SET_MAKE=
47943 else
47944 echo "$as_me:$LINENO: result: no" >&5
47945 echo "${ECHO_T}no" >&6
47946 SET_MAKE="MAKE=${MAKE-make}"
47947 fi
47948
47949
47950
47951 if test "x$SUNCXX" = "xyes"; then
47952 AR=$CXX
47953
47954 AROPTIONS="-xar -o"
47955 else
47956 if test -n "$ac_tool_prefix"; then
47957 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47958 set dummy ${ac_tool_prefix}ar; ac_word=$2
47959 echo "$as_me:$LINENO: checking for $ac_word" >&5
47960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47961 if test "${ac_cv_prog_AR+set}" = set; then
47962 echo $ECHO_N "(cached) $ECHO_C" >&6
47963 else
47964 if test -n "$AR"; then
47965 ac_cv_prog_AR="$AR" # Let the user override the test.
47966 else
47967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47968 for as_dir in $PATH
47969 do
47970 IFS=$as_save_IFS
47971 test -z "$as_dir" && as_dir=.
47972 for ac_exec_ext in '' $ac_executable_extensions; do
47973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47974 ac_cv_prog_AR="${ac_tool_prefix}ar"
47975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47976 break 2
47977 fi
47978 done
47979 done
47980
47981 fi
47982 fi
47983 AR=$ac_cv_prog_AR
47984 if test -n "$AR"; then
47985 echo "$as_me:$LINENO: result: $AR" >&5
47986 echo "${ECHO_T}$AR" >&6
47987 else
47988 echo "$as_me:$LINENO: result: no" >&5
47989 echo "${ECHO_T}no" >&6
47990 fi
47991
47992 fi
47993 if test -z "$ac_cv_prog_AR"; then
47994 ac_ct_AR=$AR
47995 # Extract the first word of "ar", so it can be a program name with args.
47996 set dummy ar; ac_word=$2
47997 echo "$as_me:$LINENO: checking for $ac_word" >&5
47998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47999 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48000 echo $ECHO_N "(cached) $ECHO_C" >&6
48001 else
48002 if test -n "$ac_ct_AR"; then
48003 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48004 else
48005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48006 for as_dir in $PATH
48007 do
48008 IFS=$as_save_IFS
48009 test -z "$as_dir" && as_dir=.
48010 for ac_exec_ext in '' $ac_executable_extensions; do
48011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48012 ac_cv_prog_ac_ct_AR="ar"
48013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48014 break 2
48015 fi
48016 done
48017 done
48018
48019 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48020 fi
48021 fi
48022 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48023 if test -n "$ac_ct_AR"; then
48024 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48025 echo "${ECHO_T}$ac_ct_AR" >&6
48026 else
48027 echo "$as_me:$LINENO: result: no" >&5
48028 echo "${ECHO_T}no" >&6
48029 fi
48030
48031 AR=$ac_ct_AR
48032 else
48033 AR="$ac_cv_prog_AR"
48034 fi
48035
48036 AROPTIONS=rcu
48037 fi
48038
48039
48040 if test -n "$ac_tool_prefix"; then
48041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48042 set dummy ${ac_tool_prefix}strip; ac_word=$2
48043 echo "$as_me:$LINENO: checking for $ac_word" >&5
48044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48045 if test "${ac_cv_prog_STRIP+set}" = set; then
48046 echo $ECHO_N "(cached) $ECHO_C" >&6
48047 else
48048 if test -n "$STRIP"; then
48049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48050 else
48051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48052 for as_dir in $PATH
48053 do
48054 IFS=$as_save_IFS
48055 test -z "$as_dir" && as_dir=.
48056 for ac_exec_ext in '' $ac_executable_extensions; do
48057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48060 break 2
48061 fi
48062 done
48063 done
48064
48065 fi
48066 fi
48067 STRIP=$ac_cv_prog_STRIP
48068 if test -n "$STRIP"; then
48069 echo "$as_me:$LINENO: result: $STRIP" >&5
48070 echo "${ECHO_T}$STRIP" >&6
48071 else
48072 echo "$as_me:$LINENO: result: no" >&5
48073 echo "${ECHO_T}no" >&6
48074 fi
48075
48076 fi
48077 if test -z "$ac_cv_prog_STRIP"; then
48078 ac_ct_STRIP=$STRIP
48079 # Extract the first word of "strip", so it can be a program name with args.
48080 set dummy strip; ac_word=$2
48081 echo "$as_me:$LINENO: checking for $ac_word" >&5
48082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48083 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48084 echo $ECHO_N "(cached) $ECHO_C" >&6
48085 else
48086 if test -n "$ac_ct_STRIP"; then
48087 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48088 else
48089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48090 for as_dir in $PATH
48091 do
48092 IFS=$as_save_IFS
48093 test -z "$as_dir" && as_dir=.
48094 for ac_exec_ext in '' $ac_executable_extensions; do
48095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48096 ac_cv_prog_ac_ct_STRIP="strip"
48097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48098 break 2
48099 fi
48100 done
48101 done
48102
48103 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48104 fi
48105 fi
48106 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48107 if test -n "$ac_ct_STRIP"; then
48108 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48109 echo "${ECHO_T}$ac_ct_STRIP" >&6
48110 else
48111 echo "$as_me:$LINENO: result: no" >&5
48112 echo "${ECHO_T}no" >&6
48113 fi
48114
48115 STRIP=$ac_ct_STRIP
48116 else
48117 STRIP="$ac_cv_prog_STRIP"
48118 fi
48119
48120 if test -n "$ac_tool_prefix"; then
48121 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48122 set dummy ${ac_tool_prefix}nm; ac_word=$2
48123 echo "$as_me:$LINENO: checking for $ac_word" >&5
48124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48125 if test "${ac_cv_prog_NM+set}" = set; then
48126 echo $ECHO_N "(cached) $ECHO_C" >&6
48127 else
48128 if test -n "$NM"; then
48129 ac_cv_prog_NM="$NM" # Let the user override the test.
48130 else
48131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48132 for as_dir in $PATH
48133 do
48134 IFS=$as_save_IFS
48135 test -z "$as_dir" && as_dir=.
48136 for ac_exec_ext in '' $ac_executable_extensions; do
48137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48138 ac_cv_prog_NM="${ac_tool_prefix}nm"
48139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48140 break 2
48141 fi
48142 done
48143 done
48144
48145 fi
48146 fi
48147 NM=$ac_cv_prog_NM
48148 if test -n "$NM"; then
48149 echo "$as_me:$LINENO: result: $NM" >&5
48150 echo "${ECHO_T}$NM" >&6
48151 else
48152 echo "$as_me:$LINENO: result: no" >&5
48153 echo "${ECHO_T}no" >&6
48154 fi
48155
48156 fi
48157 if test -z "$ac_cv_prog_NM"; then
48158 ac_ct_NM=$NM
48159 # Extract the first word of "nm", so it can be a program name with args.
48160 set dummy nm; ac_word=$2
48161 echo "$as_me:$LINENO: checking for $ac_word" >&5
48162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48163 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48164 echo $ECHO_N "(cached) $ECHO_C" >&6
48165 else
48166 if test -n "$ac_ct_NM"; then
48167 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48168 else
48169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48170 for as_dir in $PATH
48171 do
48172 IFS=$as_save_IFS
48173 test -z "$as_dir" && as_dir=.
48174 for ac_exec_ext in '' $ac_executable_extensions; do
48175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48176 ac_cv_prog_ac_ct_NM="nm"
48177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48178 break 2
48179 fi
48180 done
48181 done
48182
48183 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48184 fi
48185 fi
48186 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48187 if test -n "$ac_ct_NM"; then
48188 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48189 echo "${ECHO_T}$ac_ct_NM" >&6
48190 else
48191 echo "$as_me:$LINENO: result: no" >&5
48192 echo "${ECHO_T}no" >&6
48193 fi
48194
48195 NM=$ac_ct_NM
48196 else
48197 NM="$ac_cv_prog_NM"
48198 fi
48199
48200
48201 case ${BAKEFILE_HOST} in
48202 *-hp-hpux* )
48203 INSTALL_DIR="mkdir -p"
48204 ;;
48205 * )
48206 INSTALL_DIR='$(INSTALL) -d'
48207 ;;
48208 esac
48209
48210
48211 LDFLAGS_GUI=
48212 case ${BAKEFILE_HOST} in
48213 *-*-cygwin* | *-*-mingw32* )
48214 LDFLAGS_GUI="-mwindows"
48215 esac
48216
48217
48218 fi
48219
48220 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48221 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48222 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48223 echo $ECHO_N "(cached) $ECHO_C" >&6
48224 else
48225
48226 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48227 egrep -s GNU > /dev/null); then
48228 bakefile_cv_prog_makeisgnu="yes"
48229 else
48230 bakefile_cv_prog_makeisgnu="no"
48231 fi
48232
48233 fi
48234 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48235 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48236
48237 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48238 IF_GNU_MAKE=""
48239 else
48240 IF_GNU_MAKE="#"
48241 fi
48242
48243
48244
48245 PLATFORM_UNIX=0
48246 PLATFORM_WIN32=0
48247 PLATFORM_MSDOS=0
48248 PLATFORM_MAC=0
48249 PLATFORM_MACOS=0
48250 PLATFORM_MACOSX=0
48251 PLATFORM_OS2=0
48252 PLATFORM_BEOS=0
48253
48254 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48255 case "${BAKEFILE_HOST}" in
48256 *-*-mingw32* )
48257 PLATFORM_WIN32=1
48258 ;;
48259 *-pc-msdosdjgpp )
48260 PLATFORM_MSDOS=1
48261 ;;
48262 *-pc-os2_emx | *-pc-os2-emx )
48263 PLATFORM_OS2=1
48264 ;;
48265 *-*-darwin* )
48266 PLATFORM_MAC=1
48267 PLATFORM_MACOSX=1
48268 ;;
48269 *-*-beos* )
48270 PLATFORM_BEOS=1
48271 ;;
48272 powerpc-apple-macos* )
48273 PLATFORM_MAC=1
48274 PLATFORM_MACOS=1
48275 ;;
48276 * )
48277 PLATFORM_UNIX=1
48278 ;;
48279 esac
48280 else
48281 case "$BAKEFILE_FORCE_PLATFORM" in
48282 win32 )
48283 PLATFORM_WIN32=1
48284 ;;
48285 msdos )
48286 PLATFORM_MSDOS=1
48287 ;;
48288 os2 )
48289 PLATFORM_OS2=1
48290 ;;
48291 darwin )
48292 PLATFORM_MAC=1
48293 PLATFORM_MACOSX=1
48294 ;;
48295 unix )
48296 PLATFORM_UNIX=1
48297 ;;
48298 beos )
48299 PLATFORM_BEOS=1
48300 ;;
48301 * )
48302 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48303 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48304 { (exit 1); exit 1; }; }
48305 ;;
48306 esac
48307 fi
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319 # Check whether --enable-omf or --disable-omf was given.
48320 if test "${enable_omf+set}" = set; then
48321 enableval="$enable_omf"
48322 bk_os2_use_omf="$enableval"
48323 fi;
48324
48325 case "${BAKEFILE_HOST}" in
48326 *-*-darwin* )
48327 if test "x$GCC" = "xyes"; then
48328 CFLAGS="$CFLAGS -fno-common"
48329 CXXFLAGS="$CXXFLAGS -fno-common"
48330 fi
48331 if test "x$XLCC" = "xyes"; then
48332 CFLAGS="$CFLAGS -qnocommon"
48333 CXXFLAGS="$CXXFLAGS -qnocommon"
48334 fi
48335 ;;
48336
48337 *-pc-os2_emx | *-pc-os2-emx )
48338 if test "x$bk_os2_use_omf" = "xyes" ; then
48339 AR=emxomfar
48340 RANLIB=:
48341 LDFLAGS="-Zomf $LDFLAGS"
48342 CFLAGS="-Zomf $CFLAGS"
48343 CXXFLAGS="-Zomf $CXXFLAGS"
48344 OS2_LIBEXT="lib"
48345 else
48346 OS2_LIBEXT="a"
48347 fi
48348 ;;
48349
48350 i*86-*-beos* )
48351 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48352 ;;
48353 esac
48354
48355
48356 SO_SUFFIX="so"
48357 SO_SUFFIX_MODULE="so"
48358 EXEEXT=""
48359 LIBPREFIX="lib"
48360 LIBEXT=".a"
48361 DLLPREFIX="lib"
48362 DLLPREFIX_MODULE=""
48363 DLLIMP_SUFFIX=""
48364 dlldir="$libdir"
48365
48366 case "${BAKEFILE_HOST}" in
48367 *-hp-hpux* )
48368 SO_SUFFIX="sl"
48369 SO_SUFFIX_MODULE="sl"
48370 ;;
48371 *-*-aix* )
48372 SO_SUFFIX="a"
48373 SO_SUFFIX_MODULE="a"
48374 ;;
48375 *-*-cygwin* )
48376 SO_SUFFIX="dll"
48377 SO_SUFFIX_MODULE="dll"
48378 DLLIMP_SUFFIX="dll.a"
48379 EXEEXT=".exe"
48380 DLLPREFIX="cyg"
48381 dlldir="$bindir"
48382 ;;
48383 *-*-mingw32* )
48384 SO_SUFFIX="dll"
48385 SO_SUFFIX_MODULE="dll"
48386 DLLIMP_SUFFIX="dll.a"
48387 EXEEXT=".exe"
48388 DLLPREFIX=""
48389 dlldir="$bindir"
48390 ;;
48391 *-pc-msdosdjgpp )
48392 EXEEXT=".exe"
48393 DLLPREFIX=""
48394 dlldir="$bindir"
48395 ;;
48396 *-pc-os2_emx | *-pc-os2-emx )
48397 SO_SUFFIX="dll"
48398 SO_SUFFIX_MODULE="dll"
48399 DLLIMP_SUFFIX=$OS2_LIBEXT
48400 EXEEXT=".exe"
48401 DLLPREFIX=""
48402 LIBPREFIX=""
48403 LIBEXT=".$OS2_LIBEXT"
48404 dlldir="$bindir"
48405 ;;
48406 *-*-darwin* )
48407 SO_SUFFIX="dylib"
48408 SO_SUFFIX_MODULE="bundle"
48409 ;;
48410 esac
48411
48412 if test "x$DLLIMP_SUFFIX" = "x" ; then
48413 DLLIMP_SUFFIX="$SO_SUFFIX"
48414 fi
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427 PIC_FLAG=""
48428 if test "x$GCC" = "xyes"; then
48429 PIC_FLAG="-fPIC"
48430 fi
48431
48432 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48433 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48434 WINDOWS_IMPLIB=0
48435
48436 case "${BAKEFILE_HOST}" in
48437 *-hp-hpux* )
48438 if test "x$GCC" != "xyes"; then
48439 LDFLAGS="$LDFLAGS -L/usr/lib"
48440
48441 SHARED_LD_CC="${CC} -b -o"
48442 SHARED_LD_CXX="${CXX} -b -o"
48443 PIC_FLAG="+Z"
48444 fi
48445 ;;
48446
48447 *-*-linux* )
48448 if test "x$GCC" != "xyes"; then
48449 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48450 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48451 if test "${bakefile_cv_prog_icc+set}" = set; then
48452 echo $ECHO_N "(cached) $ECHO_C" >&6
48453 else
48454
48455 cat >conftest.$ac_ext <<_ACEOF
48456 /* confdefs.h. */
48457 _ACEOF
48458 cat confdefs.h >>conftest.$ac_ext
48459 cat >>conftest.$ac_ext <<_ACEOF
48460 /* end confdefs.h. */
48461
48462 int
48463 main ()
48464 {
48465
48466 #ifndef __INTEL_COMPILER
48467 This is not ICC
48468 #endif
48469
48470 ;
48471 return 0;
48472 }
48473 _ACEOF
48474 rm -f conftest.$ac_objext
48475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48476 (eval $ac_compile) 2>conftest.er1
48477 ac_status=$?
48478 grep -v '^ *+' conftest.er1 >conftest.err
48479 rm -f conftest.er1
48480 cat conftest.err >&5
48481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48482 (exit $ac_status); } &&
48483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48485 (eval $ac_try) 2>&5
48486 ac_status=$?
48487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48488 (exit $ac_status); }; } &&
48489 { ac_try='test -s conftest.$ac_objext'
48490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48491 (eval $ac_try) 2>&5
48492 ac_status=$?
48493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48494 (exit $ac_status); }; }; then
48495 bakefile_cv_prog_icc=yes
48496 else
48497 echo "$as_me: failed program was:" >&5
48498 sed 's/^/| /' conftest.$ac_ext >&5
48499
48500 bakefile_cv_prog_icc=no
48501
48502 fi
48503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48504
48505 fi
48506 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48507 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48508 if test "$bakefile_cv_prog_icc" = "yes"; then
48509 PIC_FLAG="-KPIC"
48510 fi
48511 fi
48512 ;;
48513
48514 *-*-solaris2* )
48515 if test "x$GCC" != xyes ; then
48516 SHARED_LD_CC="${CC} -G -o"
48517 SHARED_LD_CXX="${CXX} -G -o"
48518 PIC_FLAG="-KPIC"
48519 fi
48520 ;;
48521
48522 *-*-darwin* )
48523
48524 D='$'
48525 cat <<EOF >shared-ld-sh
48526 #!/bin/sh
48527 #-----------------------------------------------------------------------------
48528 #-- Name: distrib/mac/shared-ld-sh
48529 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48530 #-- Author: Gilles Depeyrot
48531 #-- Copyright: (c) 2002 Gilles Depeyrot
48532 #-- Licence: any use permitted
48533 #-----------------------------------------------------------------------------
48534
48535 verbose=0
48536 args=""
48537 objects=""
48538 linking_flag="-dynamiclib"
48539 ldargs="-r -keep_private_externs -nostdlib"
48540
48541 while test ${D}# -gt 0; do
48542 case ${D}1 in
48543
48544 -v)
48545 verbose=1
48546 ;;
48547
48548 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48549 # collect these options and values
48550 args="${D}{args} ${D}1 ${D}2"
48551 shift
48552 ;;
48553
48554 -s|-Wl,*)
48555 # collect these load args
48556 ldargs="${D}{ldargs} ${D}1"
48557 ;;
48558
48559 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48560 # collect these options
48561 args="${D}{args} ${D}1"
48562 ;;
48563
48564 -dynamiclib|-bundle)
48565 linking_flag="${D}1"
48566 ;;
48567
48568 -*)
48569 echo "shared-ld: unhandled option '${D}1'"
48570 exit 1
48571 ;;
48572
48573 *.o | *.a | *.dylib)
48574 # collect object files
48575 objects="${D}{objects} ${D}1"
48576 ;;
48577
48578 *)
48579 echo "shared-ld: unhandled argument '${D}1'"
48580 exit 1
48581 ;;
48582
48583 esac
48584 shift
48585 done
48586
48587 status=0
48588
48589 #
48590 # Link one module containing all the others
48591 #
48592 if test ${D}{verbose} = 1; then
48593 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48594 fi
48595 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48596 status=${D}?
48597
48598 #
48599 # Link the shared library from the single module created, but only if the
48600 # previous command didn't fail:
48601 #
48602 if test ${D}{status} = 0; then
48603 if test ${D}{verbose} = 1; then
48604 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48605 fi
48606 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48607 status=${D}?
48608 fi
48609
48610 #
48611 # Remove intermediate module
48612 #
48613 rm -f master.${D}${D}.o
48614
48615 exit ${D}status
48616 EOF
48617
48618 chmod +x shared-ld-sh
48619
48620 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48621 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48622
48623
48624 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48625 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48626 if test "${bakefile_cv_gcc31+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48628 else
48629
48630 cat >conftest.$ac_ext <<_ACEOF
48631 /* confdefs.h. */
48632 _ACEOF
48633 cat confdefs.h >>conftest.$ac_ext
48634 cat >>conftest.$ac_ext <<_ACEOF
48635 /* end confdefs.h. */
48636
48637 int
48638 main ()
48639 {
48640
48641 #if (__GNUC__ < 3) || \
48642 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48643 This is old gcc
48644 #endif
48645
48646 ;
48647 return 0;
48648 }
48649 _ACEOF
48650 rm -f conftest.$ac_objext
48651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48652 (eval $ac_compile) 2>conftest.er1
48653 ac_status=$?
48654 grep -v '^ *+' conftest.er1 >conftest.err
48655 rm -f conftest.er1
48656 cat conftest.err >&5
48657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48658 (exit $ac_status); } &&
48659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48661 (eval $ac_try) 2>&5
48662 ac_status=$?
48663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48664 (exit $ac_status); }; } &&
48665 { ac_try='test -s conftest.$ac_objext'
48666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48667 (eval $ac_try) 2>&5
48668 ac_status=$?
48669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48670 (exit $ac_status); }; }; then
48671
48672 bakefile_cv_gcc31=yes
48673
48674 else
48675 echo "$as_me: failed program was:" >&5
48676 sed 's/^/| /' conftest.$ac_ext >&5
48677
48678
48679 bakefile_cv_gcc31=no
48680
48681
48682 fi
48683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48684
48685 fi
48686 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48687 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48688 if test "$bakefile_cv_gcc31" = "no"; then
48689 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48690 SHARED_LD_CXX="$SHARED_LD_CC"
48691 else
48692 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48693 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48694 fi
48695
48696 if test "x$GCC" == "xyes"; then
48697 PIC_FLAG="-dynamic -fPIC"
48698 fi
48699 if test "x$XLCC" = "xyes"; then
48700 PIC_FLAG="-dynamic -DPIC"
48701 fi
48702 ;;
48703
48704 *-*-aix* )
48705 if test "x$GCC" = "xyes"; then
48706 PIC_FLAG=""
48707
48708 case "${BAKEFILE_HOST}" in
48709 *-*-aix5* )
48710 LD_EXPFULL="-Wl,-bexpfull"
48711 ;;
48712 esac
48713
48714 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48715 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48716 else
48717 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48718 set dummy makeC++SharedLib; ac_word=$2
48719 echo "$as_me:$LINENO: checking for $ac_word" >&5
48720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48721 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48722 echo $ECHO_N "(cached) $ECHO_C" >&6
48723 else
48724 if test -n "$AIX_CXX_LD"; then
48725 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48726 else
48727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48728 for as_dir in $PATH
48729 do
48730 IFS=$as_save_IFS
48731 test -z "$as_dir" && as_dir=.
48732 for ac_exec_ext in '' $ac_executable_extensions; do
48733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48734 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48736 break 2
48737 fi
48738 done
48739 done
48740
48741 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48742 fi
48743 fi
48744 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48745 if test -n "$AIX_CXX_LD"; then
48746 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48747 echo "${ECHO_T}$AIX_CXX_LD" >&6
48748 else
48749 echo "$as_me:$LINENO: result: no" >&5
48750 echo "${ECHO_T}no" >&6
48751 fi
48752
48753 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48754 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48755 fi
48756 ;;
48757
48758 *-*-beos* )
48759 SHARED_LD_CC="${LD} -nostart -o"
48760 SHARED_LD_CXX="${LD} -nostart -o"
48761 ;;
48762
48763 *-*-irix* )
48764 if test "x$GCC" != "xyes"; then
48765 PIC_FLAG="-KPIC"
48766 fi
48767 ;;
48768
48769 *-*-cygwin* | *-*-mingw32* )
48770 PIC_FLAG=""
48771 SHARED_LD_CC="\$(CC) -shared -o"
48772 SHARED_LD_CXX="\$(CXX) -shared -o"
48773 WINDOWS_IMPLIB=1
48774 ;;
48775
48776 *-pc-os2_emx | *-pc-os2-emx )
48777 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48778 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48779 PIC_FLAG=""
48780
48781 D='$'
48782 cat <<EOF >dllar.sh
48783 #!/bin/sh
48784 #
48785 # dllar - a tool to build both a .dll and an .a file
48786 # from a set of object (.o) files for EMX/OS2.
48787 #
48788 # Written by Andrew Zabolotny, bit@freya.etu.ru
48789 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48790 #
48791 # This script will accept a set of files on the command line.
48792 # All the public symbols from the .o files will be exported into
48793 # a .DEF file, then linker will be run (through gcc) against them to
48794 # build a shared library consisting of all given .o files. All libraries
48795 # (.a) will be first decompressed into component .o files then act as
48796 # described above. You can optionally give a description (-d "description")
48797 # which will be put into .DLL. To see the list of accepted options (as well
48798 # as command-line format) simply run this program without options. The .DLL
48799 # is built to be imported by name (there is no guarantee that new versions
48800 # of the library you build will have same ordinals for same symbols).
48801 #
48802 # dllar is free software; you can redistribute it and/or modify
48803 # it under the terms of the GNU General Public License as published by
48804 # the Free Software Foundation; either version 2, or (at your option)
48805 # any later version.
48806 #
48807 # dllar is distributed in the hope that it will be useful,
48808 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48809 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48810 # GNU General Public License for more details.
48811 #
48812 # You should have received a copy of the GNU General Public License
48813 # along with dllar; see the file COPYING. If not, write to the Free
48814 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48815 # 02111-1307, USA.
48816
48817 # To successfuly run this program you will need:
48818 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48819 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48820 # - gcc
48821 # (used to build the .dll)
48822 # - emxexp
48823 # (used to create .def file from .o files)
48824 # - emximp
48825 # (used to create .a file from .def file)
48826 # - GNU text utilites (cat, sort, uniq)
48827 # used to process emxexp output
48828 # - GNU file utilities (mv, rm)
48829 # - GNU sed
48830 # - lxlite (optional, see flag below)
48831 # (used for general .dll cleanup)
48832 #
48833
48834 flag_USE_LXLITE=1;
48835
48836 #
48837 # helper functions
48838 # basnam, variant of basename, which does _not_ remove the path, _iff_
48839 # second argument (suffix to remove) is given
48840 basnam(){
48841 case ${D}# in
48842 1)
48843 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48844 ;;
48845 2)
48846 echo ${D}1 | sed 's/'${D}2'${D}//'
48847 ;;
48848 *)
48849 echo "error in basnam ${D}*"
48850 exit 8
48851 ;;
48852 esac
48853 }
48854
48855 # Cleanup temporary files and output
48856 CleanUp() {
48857 cd ${D}curDir
48858 for i in ${D}inputFiles ; do
48859 case ${D}i in
48860 *!)
48861 rm -rf \`basnam ${D}i !\`
48862 ;;
48863 *)
48864 ;;
48865 esac
48866 done
48867
48868 # Kill result in case of failure as there is just to many stupid make/nmake
48869 # things out there which doesn't do this.
48870 if [ ${D}# -eq 0 ]; then
48871 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48872 fi
48873 }
48874
48875 # Print usage and exit script with rc=1.
48876 PrintHelp() {
48877 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48878 echo ' [-name-mangler-script script.sh]'
48879 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48880 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48881 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48882 echo ' [*.o] [*.a]'
48883 echo '*> "output_file" should have no extension.'
48884 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48885 echo ' The import library name is derived from this and is set to "name".a,'
48886 echo ' unless overridden by -import'
48887 echo '*> "importlib_name" should have no extension.'
48888 echo ' If it has the .o, or .a extension, it is automatically removed.'
48889 echo ' This name is used as the import library name and may be longer and'
48890 echo ' more descriptive than the DLL name which has to follow the old '
48891 echo ' 8.3 convention of FAT.'
48892 echo '*> "script.sh may be given to override the output_file name by a'
48893 echo ' different name. It is mainly useful if the regular make process'
48894 echo ' of some package does not take into account OS/2 restriction of'
48895 echo ' DLL name lengths. It takes the importlib name as input and is'
48896 echo ' supposed to procude a shorter name as output. The script should'
48897 echo ' expect to get importlib_name without extension and should produce'
48898 echo ' a (max.) 8 letter name without extension.'
48899 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48900 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48901 echo ' These flags will be put at the start of GCC command line.'
48902 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48903 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48904 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48905 echo ' If the last character of a symbol is "*", all symbols beginning'
48906 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48907 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48908 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48909 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48910 echo ' C runtime DLLs.'
48911 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48912 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48913 echo ' unchanged to GCC at the end of command line.'
48914 echo '*> If you create a DLL from a library and you do not specify -o,'
48915 echo ' the basename for DLL and import library will be set to library name,'
48916 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48917 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48918 echo ' library will be renamed into gcc_s.a.'
48919 echo '--------'
48920 echo 'Example:'
48921 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48922 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48923 CleanUp
48924 exit 1
48925 }
48926
48927 # Execute a command.
48928 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48929 # @Uses Whatever CleanUp() uses.
48930 doCommand() {
48931 echo "${D}*"
48932 eval ${D}*
48933 rcCmd=${D}?
48934
48935 if [ ${D}rcCmd -ne 0 ]; then
48936 echo "command failed, exit code="${D}rcCmd
48937 CleanUp
48938 exit ${D}rcCmd
48939 fi
48940 }
48941
48942 # main routine
48943 # setup globals
48944 cmdLine=${D}*
48945 outFile=""
48946 outimpFile=""
48947 inputFiles=""
48948 renameScript=""
48949 description=""
48950 CC=gcc.exe
48951 CFLAGS="-s -Zcrtdll"
48952 EXTRA_CFLAGS=""
48953 EXPORT_BY_ORDINALS=0
48954 exclude_symbols=""
48955 library_flags=""
48956 curDir=\`pwd\`
48957 curDirS=curDir
48958 case ${D}curDirS in
48959 */)
48960 ;;
48961 *)
48962 curDirS=${D}{curDirS}"/"
48963 ;;
48964 esac
48965 # Parse commandline
48966 libsToLink=0
48967 omfLinking=0
48968 while [ ${D}1 ]; do
48969 case ${D}1 in
48970 -ord*)
48971 EXPORT_BY_ORDINALS=1;
48972 ;;
48973 -o*)
48974 shift
48975 outFile=${D}1
48976 ;;
48977 -i*)
48978 shift
48979 outimpFile=${D}1
48980 ;;
48981 -name-mangler-script)
48982 shift
48983 renameScript=${D}1
48984 ;;
48985 -d*)
48986 shift
48987 description=${D}1
48988 ;;
48989 -f*)
48990 shift
48991 CFLAGS=${D}1
48992 ;;
48993 -c*)
48994 shift
48995 CC=${D}1
48996 ;;
48997 -h*)
48998 PrintHelp
48999 ;;
49000 -ex*)
49001 shift
49002 exclude_symbols=${D}{exclude_symbols}${D}1" "
49003 ;;
49004 -libf*)
49005 shift
49006 library_flags=${D}{library_flags}${D}1" "
49007 ;;
49008 -nocrt*)
49009 CFLAGS="-s"
49010 ;;
49011 -nolxl*)
49012 flag_USE_LXLITE=0
49013 ;;
49014 -* | /*)
49015 case ${D}1 in
49016 -L* | -l*)
49017 libsToLink=1
49018 ;;
49019 -Zomf)
49020 omfLinking=1
49021 ;;
49022 *)
49023 ;;
49024 esac
49025 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49026 ;;
49027 *.dll)
49028 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49029 if [ ${D}omfLinking -eq 1 ]; then
49030 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49031 else
49032 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49033 fi
49034 ;;
49035 *)
49036 found=0;
49037 if [ ${D}libsToLink -ne 0 ]; then
49038 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49039 else
49040 for file in ${D}1 ; do
49041 if [ -f ${D}file ]; then
49042 inputFiles="${D}{inputFiles} ${D}file"
49043 found=1
49044 fi
49045 done
49046 if [ ${D}found -eq 0 ]; then
49047 echo "ERROR: No file(s) found: "${D}1
49048 exit 8
49049 fi
49050 fi
49051 ;;
49052 esac
49053 shift
49054 done # iterate cmdline words
49055
49056 #
49057 if [ -z "${D}inputFiles" ]; then
49058 echo "dllar: no input files"
49059 PrintHelp
49060 fi
49061
49062 # Now extract all .o files from .a files
49063 newInputFiles=""
49064 for file in ${D}inputFiles ; do
49065 case ${D}file in
49066 *.a | *.lib)
49067 case ${D}file in
49068 *.a)
49069 suffix=".a"
49070 AR="ar"
49071 ;;
49072 *.lib)
49073 suffix=".lib"
49074 AR="emxomfar"
49075 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49076 ;;
49077 *)
49078 ;;
49079 esac
49080 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49081 mkdir ${D}dirname
49082 if [ ${D}? -ne 0 ]; then
49083 echo "Failed to create subdirectory ./${D}dirname"
49084 CleanUp
49085 exit 8;
49086 fi
49087 # Append '!' to indicate archive
49088 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49089 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49090 cd ${D}curDir
49091 found=0;
49092 for subfile in ${D}dirname/*.o* ; do
49093 if [ -f ${D}subfile ]; then
49094 found=1
49095 if [ -s ${D}subfile ]; then
49096 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49097 newInputFiles="${D}newInputFiles ${D}subfile"
49098 fi
49099 fi
49100 done
49101 if [ ${D}found -eq 0 ]; then
49102 echo "WARNING: there are no files in archive \\'${D}file\\'"
49103 fi
49104 ;;
49105 *)
49106 newInputFiles="${D}{newInputFiles} ${D}file"
49107 ;;
49108 esac
49109 done
49110 inputFiles="${D}newInputFiles"
49111
49112 # Output filename(s).
49113 do_backup=0;
49114 if [ -z ${D}outFile ]; then
49115 do_backup=1;
49116 set outFile ${D}inputFiles; outFile=${D}2
49117 fi
49118
49119 # If it is an archive, remove the '!' and the '_%' suffixes
49120 case ${D}outFile in
49121 *_%!)
49122 outFile=\`basnam ${D}outFile _%!\`
49123 ;;
49124 *)
49125 ;;
49126 esac
49127 case ${D}outFile in
49128 *.dll)
49129 outFile=\`basnam ${D}outFile .dll\`
49130 ;;
49131 *.DLL)
49132 outFile=\`basnam ${D}outFile .DLL\`
49133 ;;
49134 *.o)
49135 outFile=\`basnam ${D}outFile .o\`
49136 ;;
49137 *.obj)
49138 outFile=\`basnam ${D}outFile .obj\`
49139 ;;
49140 *.a)
49141 outFile=\`basnam ${D}outFile .a\`
49142 ;;
49143 *.lib)
49144 outFile=\`basnam ${D}outFile .lib\`
49145 ;;
49146 *)
49147 ;;
49148 esac
49149 case ${D}outimpFile in
49150 *.a)
49151 outimpFile=\`basnam ${D}outimpFile .a\`
49152 ;;
49153 *.lib)
49154 outimpFile=\`basnam ${D}outimpFile .lib\`
49155 ;;
49156 *)
49157 ;;
49158 esac
49159 if [ -z ${D}outimpFile ]; then
49160 outimpFile=${D}outFile
49161 fi
49162 defFile="${D}{outFile}.def"
49163 arcFile="${D}{outimpFile}.a"
49164 arcFile2="${D}{outimpFile}.lib"
49165
49166 #create ${D}dllFile as something matching 8.3 restrictions,
49167 if [ -z ${D}renameScript ] ; then
49168 dllFile="${D}outFile"
49169 else
49170 dllFile=\`${D}renameScript ${D}outimpFile\`
49171 fi
49172
49173 if [ ${D}do_backup -ne 0 ] ; then
49174 if [ -f ${D}arcFile ] ; then
49175 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49176 fi
49177 if [ -f ${D}arcFile2 ] ; then
49178 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49179 fi
49180 fi
49181
49182 # Extract public symbols from all the object files.
49183 tmpdefFile=${D}{defFile}_%
49184 rm -f ${D}tmpdefFile
49185 for file in ${D}inputFiles ; do
49186 case ${D}file in
49187 *!)
49188 ;;
49189 *)
49190 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49191 ;;
49192 esac
49193 done
49194
49195 # Create the def file.
49196 rm -f ${D}defFile
49197 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49198 dllFile="${D}{dllFile}.dll"
49199 if [ ! -z ${D}description ]; then
49200 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49201 fi
49202 echo "EXPORTS" >> ${D}defFile
49203
49204 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49205 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49206
49207 # Checks if the export is ok or not.
49208 for word in ${D}exclude_symbols; do
49209 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49210 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49211 done
49212
49213
49214 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49215 sed "=" < ${D}tmpdefFile | \\
49216 sed '
49217 N
49218 : loop
49219 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49220 t loop
49221 ' > ${D}{tmpdefFile}%
49222 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49223 else
49224 rm -f ${D}{tmpdefFile}%
49225 fi
49226 cat ${D}tmpdefFile >> ${D}defFile
49227 rm -f ${D}tmpdefFile
49228
49229 # Do linking, create implib, and apply lxlite.
49230 gccCmdl="";
49231 for file in ${D}inputFiles ; do
49232 case ${D}file in
49233 *!)
49234 ;;
49235 *)
49236 gccCmdl="${D}gccCmdl ${D}file"
49237 ;;
49238 esac
49239 done
49240 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49241 touch "${D}{outFile}.dll"
49242
49243 doCommand "emximp -o ${D}arcFile ${D}defFile"
49244 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49245 add_flags="";
49246 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49247 add_flags="-ynd"
49248 fi
49249 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49250 fi
49251 doCommand "emxomf -s -l ${D}arcFile"
49252
49253 # Successful exit.
49254 CleanUp 1
49255 exit 0
49256 EOF
49257
49258 chmod +x dllar.sh
49259 ;;
49260
49261 powerpc-apple-macos* | \
49262 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49263 *-*-mirbsd* | \
49264 *-*-sunos4* | \
49265 *-*-osf* | \
49266 *-*-dgux5* | \
49267 *-*-sysv5* | \
49268 *-pc-msdosdjgpp )
49269 ;;
49270
49271 *)
49272 esac
49273
49274 if test "x$PIC_FLAG" != "x" ; then
49275 PIC_FLAG="$PIC_FLAG -DPIC"
49276 fi
49277
49278 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49279 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49280 fi
49281 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49282 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49283 fi
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293 USE_SOVERSION=0
49294 USE_SOVERLINUX=0
49295 USE_SOVERSOLARIS=0
49296 USE_SOVERCYGWIN=0
49297 USE_SOSYMLINKS=0
49298 USE_MACVERSION=0
49299 SONAME_FLAG=
49300
49301 case "${BAKEFILE_HOST}" in
49302 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49303 SONAME_FLAG="-Wl,-soname,"
49304 USE_SOVERSION=1
49305 USE_SOVERLINUX=1
49306 USE_SOSYMLINKS=1
49307 ;;
49308
49309 *-*-solaris2* )
49310 SONAME_FLAG="-h "
49311 USE_SOVERSION=1
49312 USE_SOVERSOLARIS=1
49313 USE_SOSYMLINKS=1
49314 ;;
49315
49316 *-*-darwin* )
49317 USE_MACVERSION=1
49318 USE_SOVERSION=1
49319 USE_SOSYMLINKS=1
49320 ;;
49321
49322 *-*-cygwin* )
49323 USE_SOVERSION=1
49324 USE_SOVERCYGWIN=1
49325 ;;
49326 esac
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49338 if test "${enable_dependency_tracking+set}" = set; then
49339 enableval="$enable_dependency_tracking"
49340 bk_use_trackdeps="$enableval"
49341 fi;
49342
49343 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49344 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49345
49346 BK_DEPS=""
49347 if test "x$bk_use_trackdeps" = "xno" ; then
49348 DEPS_TRACKING=0
49349 echo "$as_me:$LINENO: result: disabled" >&5
49350 echo "${ECHO_T}disabled" >&6
49351 else
49352 DEPS_TRACKING=1
49353
49354 if test "x$GCC" = "xyes"; then
49355 DEPSMODE=gcc
49356 case "${BAKEFILE_HOST}" in
49357 *-*-darwin* )
49358 DEPSFLAG="-no-cpp-precomp -MMD"
49359 ;;
49360 * )
49361 DEPSFLAG="-MMD"
49362 ;;
49363 esac
49364 echo "$as_me:$LINENO: result: gcc" >&5
49365 echo "${ECHO_T}gcc" >&6
49366 elif test "x$MWCC" = "xyes"; then
49367 DEPSMODE=mwcc
49368 DEPSFLAG="-MM"
49369 echo "$as_me:$LINENO: result: mwcc" >&5
49370 echo "${ECHO_T}mwcc" >&6
49371 elif test "x$SUNCC" = "xyes"; then
49372 DEPSMODE=unixcc
49373 DEPSFLAG="-xM1"
49374 echo "$as_me:$LINENO: result: Sun cc" >&5
49375 echo "${ECHO_T}Sun cc" >&6
49376 elif test "x$SGICC" = "xyes"; then
49377 DEPSMODE=unixcc
49378 DEPSFLAG="-M"
49379 echo "$as_me:$LINENO: result: SGI cc" >&5
49380 echo "${ECHO_T}SGI cc" >&6
49381 elif test "x$HPCC" = "xyes"; then
49382 DEPSMODE=unixcc
49383 DEPSFLAG="+make"
49384 echo "$as_me:$LINENO: result: HP cc" >&5
49385 echo "${ECHO_T}HP cc" >&6
49386 elif test "x$COMPAQCC" = "xyes"; then
49387 DEPSMODE=gcc
49388 DEPSFLAG="-MD"
49389 echo "$as_me:$LINENO: result: Compaq cc" >&5
49390 echo "${ECHO_T}Compaq cc" >&6
49391 else
49392 DEPS_TRACKING=0
49393 echo "$as_me:$LINENO: result: none" >&5
49394 echo "${ECHO_T}none" >&6
49395 fi
49396
49397 if test $DEPS_TRACKING = 1 ; then
49398
49399 D='$'
49400 cat <<EOF >bk-deps
49401 #!/bin/sh
49402
49403 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49404 # script. It is used to track C/C++ files dependencies in portable way.
49405 #
49406 # Permission is given to use this file in any way.
49407
49408 DEPSMODE=${DEPSMODE}
49409 DEPSDIR=.deps
49410 DEPSFLAG="${DEPSFLAG}"
49411
49412 mkdir -p ${D}DEPSDIR
49413
49414 if test ${D}DEPSMODE = gcc ; then
49415 ${D}* ${D}{DEPSFLAG}
49416 status=${D}?
49417 if test ${D}{status} != 0 ; then
49418 exit ${D}{status}
49419 fi
49420 # move created file to the location we want it in:
49421 while test ${D}# -gt 0; do
49422 case "${D}1" in
49423 -o )
49424 shift
49425 objfile=${D}1
49426 ;;
49427 -* )
49428 ;;
49429 * )
49430 srcfile=${D}1
49431 ;;
49432 esac
49433 shift
49434 done
49435 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49436 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49437 if test -f ${D}depfile ; then
49438 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49439 rm -f ${D}depfile
49440 else
49441 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49442 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49443 if test ! -f ${D}depfile ; then
49444 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49445 depfile="${D}objfile.d"
49446 fi
49447 if test -f ${D}depfile ; then
49448 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49449 rm -f ${D}depfile
49450 fi
49451 fi
49452 exit 0
49453 elif test ${D}DEPSMODE = mwcc ; then
49454 ${D}* || exit ${D}?
49455 # Run mwcc again with -MM and redirect into the dep file we want
49456 # NOTE: We can't use shift here because we need ${D}* to be valid
49457 prevarg=
49458 for arg in ${D}* ; do
49459 if test "${D}prevarg" = "-o"; then
49460 objfile=${D}arg
49461 else
49462 case "${D}arg" in
49463 -* )
49464 ;;
49465 * )
49466 srcfile=${D}arg
49467 ;;
49468 esac
49469 fi
49470 prevarg="${D}arg"
49471 done
49472 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49473 exit 0
49474 elif test ${D}DEPSMODE = unixcc; then
49475 ${D}* || exit ${D}?
49476 # Run compiler again with deps flag and redirect into the dep file.
49477 # It doesn't work if the '-o FILE' option is used, but without it the
49478 # dependency file will contain the wrong name for the object. So it is
49479 # removed from the command line, and the dep file is fixed with sed.
49480 cmd=""
49481 while test ${D}# -gt 0; do
49482 case "${D}1" in
49483 -o )
49484 shift
49485 objfile=${D}1
49486 ;;
49487 * )
49488 eval arg${D}#=\\${D}1
49489 cmd="${D}cmd \\${D}arg${D}#"
49490 ;;
49491 esac
49492 shift
49493 done
49494 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49495 exit 0
49496 else
49497 ${D}*
49498 exit ${D}?
49499 fi
49500 EOF
49501
49502 chmod +x bk-deps
49503 BK_DEPS="`pwd`/bk-deps"
49504 fi
49505 fi
49506
49507
49508
49509
49510
49511 case ${BAKEFILE_HOST} in
49512 *-*-cygwin* | *-*-mingw32* )
49513 if test -n "$ac_tool_prefix"; then
49514 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49515 set dummy ${ac_tool_prefix}windres; ac_word=$2
49516 echo "$as_me:$LINENO: checking for $ac_word" >&5
49517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49518 if test "${ac_cv_prog_WINDRES+set}" = set; then
49519 echo $ECHO_N "(cached) $ECHO_C" >&6
49520 else
49521 if test -n "$WINDRES"; then
49522 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49523 else
49524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49525 for as_dir in $PATH
49526 do
49527 IFS=$as_save_IFS
49528 test -z "$as_dir" && as_dir=.
49529 for ac_exec_ext in '' $ac_executable_extensions; do
49530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49531 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49533 break 2
49534 fi
49535 done
49536 done
49537
49538 fi
49539 fi
49540 WINDRES=$ac_cv_prog_WINDRES
49541 if test -n "$WINDRES"; then
49542 echo "$as_me:$LINENO: result: $WINDRES" >&5
49543 echo "${ECHO_T}$WINDRES" >&6
49544 else
49545 echo "$as_me:$LINENO: result: no" >&5
49546 echo "${ECHO_T}no" >&6
49547 fi
49548
49549 fi
49550 if test -z "$ac_cv_prog_WINDRES"; then
49551 ac_ct_WINDRES=$WINDRES
49552 # Extract the first word of "windres", so it can be a program name with args.
49553 set dummy windres; ac_word=$2
49554 echo "$as_me:$LINENO: checking for $ac_word" >&5
49555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49556 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49557 echo $ECHO_N "(cached) $ECHO_C" >&6
49558 else
49559 if test -n "$ac_ct_WINDRES"; then
49560 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49561 else
49562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49563 for as_dir in $PATH
49564 do
49565 IFS=$as_save_IFS
49566 test -z "$as_dir" && as_dir=.
49567 for ac_exec_ext in '' $ac_executable_extensions; do
49568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49569 ac_cv_prog_ac_ct_WINDRES="windres"
49570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49571 break 2
49572 fi
49573 done
49574 done
49575
49576 fi
49577 fi
49578 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49579 if test -n "$ac_ct_WINDRES"; then
49580 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49581 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49582 else
49583 echo "$as_me:$LINENO: result: no" >&5
49584 echo "${ECHO_T}no" >&6
49585 fi
49586
49587 WINDRES=$ac_ct_WINDRES
49588 else
49589 WINDRES="$ac_cv_prog_WINDRES"
49590 fi
49591
49592 ;;
49593
49594 *-*-darwin* | powerpc-apple-macos* )
49595 # Extract the first word of "Rez", so it can be a program name with args.
49596 set dummy Rez; ac_word=$2
49597 echo "$as_me:$LINENO: checking for $ac_word" >&5
49598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49599 if test "${ac_cv_prog_REZ+set}" = set; then
49600 echo $ECHO_N "(cached) $ECHO_C" >&6
49601 else
49602 if test -n "$REZ"; then
49603 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49604 else
49605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49606 for as_dir in $PATH
49607 do
49608 IFS=$as_save_IFS
49609 test -z "$as_dir" && as_dir=.
49610 for ac_exec_ext in '' $ac_executable_extensions; do
49611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49612 ac_cv_prog_REZ="Rez"
49613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49614 break 2
49615 fi
49616 done
49617 done
49618
49619 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49620 fi
49621 fi
49622 REZ=$ac_cv_prog_REZ
49623 if test -n "$REZ"; then
49624 echo "$as_me:$LINENO: result: $REZ" >&5
49625 echo "${ECHO_T}$REZ" >&6
49626 else
49627 echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6
49629 fi
49630
49631 # Extract the first word of "SetFile", so it can be a program name with args.
49632 set dummy SetFile; ac_word=$2
49633 echo "$as_me:$LINENO: checking for $ac_word" >&5
49634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49635 if test "${ac_cv_prog_SETFILE+set}" = set; then
49636 echo $ECHO_N "(cached) $ECHO_C" >&6
49637 else
49638 if test -n "$SETFILE"; then
49639 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49640 else
49641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49642 for as_dir in $PATH
49643 do
49644 IFS=$as_save_IFS
49645 test -z "$as_dir" && as_dir=.
49646 for ac_exec_ext in '' $ac_executable_extensions; do
49647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49648 ac_cv_prog_SETFILE="SetFile"
49649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49650 break 2
49651 fi
49652 done
49653 done
49654
49655 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49656 fi
49657 fi
49658 SETFILE=$ac_cv_prog_SETFILE
49659 if test -n "$SETFILE"; then
49660 echo "$as_me:$LINENO: result: $SETFILE" >&5
49661 echo "${ECHO_T}$SETFILE" >&6
49662 else
49663 echo "$as_me:$LINENO: result: no" >&5
49664 echo "${ECHO_T}no" >&6
49665 fi
49666
49667 ;;
49668 esac
49669
49670
49671
49672
49673
49674
49675 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49676
49677
49678 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49679
49680
49681
49682 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49683 if test "${enable_precomp_headers+set}" = set; then
49684 enableval="$enable_precomp_headers"
49685 bk_use_pch="$enableval"
49686 fi;
49687
49688 GCC_PCH=0
49689 ICC_PCH=0
49690 USE_PCH=0
49691 BK_MAKE_PCH=""
49692
49693 case ${BAKEFILE_HOST} in
49694 *-*-cygwin* )
49695 bk_use_pch="no"
49696 ;;
49697 esac
49698
49699 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49700 if test "x$GCC" = "xyes"; then
49701 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49702 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49703 cat >conftest.$ac_ext <<_ACEOF
49704 /* confdefs.h. */
49705 _ACEOF
49706 cat confdefs.h >>conftest.$ac_ext
49707 cat >>conftest.$ac_ext <<_ACEOF
49708 /* end confdefs.h. */
49709
49710 int
49711 main ()
49712 {
49713
49714 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49715 There is no PCH support
49716 #endif
49717 #if (__GNUC__ < 3)
49718 There is no PCH support
49719 #endif
49720 #if (__GNUC__ == 3) && \
49721 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49722 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49723 ( defined(__INTEL_COMPILER) )
49724 There is no PCH support
49725 #endif
49726
49727 ;
49728 return 0;
49729 }
49730 _ACEOF
49731 rm -f conftest.$ac_objext
49732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49733 (eval $ac_compile) 2>conftest.er1
49734 ac_status=$?
49735 grep -v '^ *+' conftest.er1 >conftest.err
49736 rm -f conftest.er1
49737 cat conftest.err >&5
49738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49739 (exit $ac_status); } &&
49740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49742 (eval $ac_try) 2>&5
49743 ac_status=$?
49744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49745 (exit $ac_status); }; } &&
49746 { ac_try='test -s conftest.$ac_objext'
49747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49748 (eval $ac_try) 2>&5
49749 ac_status=$?
49750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751 (exit $ac_status); }; }; then
49752
49753 echo "$as_me:$LINENO: result: yes" >&5
49754 echo "${ECHO_T}yes" >&6
49755 GCC_PCH=1
49756
49757 else
49758 echo "$as_me: failed program was:" >&5
49759 sed 's/^/| /' conftest.$ac_ext >&5
49760
49761
49762 cat >conftest.$ac_ext <<_ACEOF
49763 /* confdefs.h. */
49764 _ACEOF
49765 cat confdefs.h >>conftest.$ac_ext
49766 cat >>conftest.$ac_ext <<_ACEOF
49767 /* end confdefs.h. */
49768
49769 int
49770 main ()
49771 {
49772
49773 #if !defined(__INTEL_COMPILER) || \
49774 (__INTEL_COMPILER < 800)
49775 There is no PCH support
49776 #endif
49777
49778 ;
49779 return 0;
49780 }
49781 _ACEOF
49782 rm -f conftest.$ac_objext
49783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49784 (eval $ac_compile) 2>conftest.er1
49785 ac_status=$?
49786 grep -v '^ *+' conftest.er1 >conftest.err
49787 rm -f conftest.er1
49788 cat conftest.err >&5
49789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49790 (exit $ac_status); } &&
49791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49793 (eval $ac_try) 2>&5
49794 ac_status=$?
49795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49796 (exit $ac_status); }; } &&
49797 { ac_try='test -s conftest.$ac_objext'
49798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49799 (eval $ac_try) 2>&5
49800 ac_status=$?
49801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49802 (exit $ac_status); }; }; then
49803
49804 echo "$as_me:$LINENO: result: yes" >&5
49805 echo "${ECHO_T}yes" >&6
49806 ICC_PCH=1
49807
49808 else
49809 echo "$as_me: failed program was:" >&5
49810 sed 's/^/| /' conftest.$ac_ext >&5
49811
49812
49813 echo "$as_me:$LINENO: result: no" >&5
49814 echo "${ECHO_T}no" >&6
49815
49816 fi
49817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49818
49819 fi
49820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49821 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49822 USE_PCH=1
49823
49824 D='$'
49825 cat <<EOF >bk-make-pch
49826 #!/bin/sh
49827
49828 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49829 # script. It is used to generated precompiled headers.
49830 #
49831 # Permission is given to use this file in any way.
49832
49833 outfile="${D}{1}"
49834 header="${D}{2}"
49835 shift
49836 shift
49837
49838 compiler=""
49839 headerfile=""
49840
49841 while test ${D}{#} -gt 0; do
49842 add_to_cmdline=1
49843 case "${D}{1}" in
49844 -I* )
49845 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49846 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49847 headerfile="${D}{incdir}/${D}{header}"
49848 fi
49849 ;;
49850 -use-pch|-use_pch )
49851 shift
49852 add_to_cmdline=0
49853 ;;
49854 esac
49855 if test ${D}add_to_cmdline = 1 ; then
49856 compiler="${D}{compiler} ${D}{1}"
49857 fi
49858 shift
49859 done
49860
49861 if test "x${D}{headerfile}" = "x" ; then
49862 echo "error: can't find header ${D}{header} in include paths" >&2
49863 else
49864 if test -f ${D}{outfile} ; then
49865 rm -f ${D}{outfile}
49866 else
49867 mkdir -p \`dirname ${D}{outfile}\`
49868 fi
49869 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49870 mkdir -p .deps
49871 if test "x${GCC_PCH}" = "x1" ; then
49872 # can do this because gcc is >= 3.4:
49873 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49874 elif test "x${ICC_PCH}" = "x1" ; then
49875 filename=pch_gen-${D}${D}
49876 file=${D}{filename}.c
49877 dfile=${D}{filename}.d
49878 cat > ${D}file <<EOT
49879 #include "${D}header"
49880 EOT
49881 # using -MF icc complains about differing command lines in creation/use
49882 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49883 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49884 rm -f ${D}file ${D}dfile ${D}{filename}.o
49885 fi
49886 exit ${D}{?}
49887 fi
49888 EOF
49889
49890 chmod +x bk-make-pch
49891 BK_MAKE_PCH="`pwd`/bk-make-pch"
49892 fi
49893 fi
49894 fi
49895
49896
49897
49898
49899
49900 COND_BUILD_DEBUG="#"
49901 if test "x$BUILD" = "xdebug" ; then
49902 COND_BUILD_DEBUG=""
49903 fi
49904
49905 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49906 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49907 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49908 fi
49909
49910 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49911 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49912 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49913 fi
49914
49915 COND_BUILD_DEBUG_UNICODE_0="#"
49916 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49917 COND_BUILD_DEBUG_UNICODE_0=""
49918 fi
49919
49920 COND_BUILD_DEBUG_UNICODE_1="#"
49921 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49922 COND_BUILD_DEBUG_UNICODE_1=""
49923 fi
49924
49925 COND_BUILD_RELEASE="#"
49926 if test "x$BUILD" = "xrelease" ; then
49927 COND_BUILD_RELEASE=""
49928 fi
49929
49930 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49931 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49932 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49933 fi
49934
49935 COND_BUILD_RELEASE_UNICODE_0="#"
49936 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49937 COND_BUILD_RELEASE_UNICODE_0=""
49938 fi
49939
49940 COND_BUILD_RELEASE_UNICODE_1="#"
49941 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49942 COND_BUILD_RELEASE_UNICODE_1=""
49943 fi
49944
49945 COND_DEBUG_FLAG_1="#"
49946 if test "x$DEBUG_FLAG" = "x1" ; then
49947 COND_DEBUG_FLAG_1=""
49948 fi
49949
49950 COND_DEBUG_INFO_0="#"
49951 if test "x$DEBUG_INFO" = "x0" ; then
49952 COND_DEBUG_INFO_0=""
49953 fi
49954
49955 COND_DEBUG_INFO_1="#"
49956 if test "x$DEBUG_INFO" = "x1" ; then
49957 COND_DEBUG_INFO_1=""
49958 fi
49959
49960 COND_DEPS_TRACKING_0="#"
49961 if test "x$DEPS_TRACKING" = "x0" ; then
49962 COND_DEPS_TRACKING_0=""
49963 fi
49964
49965 COND_DEPS_TRACKING_1="#"
49966 if test "x$DEPS_TRACKING" = "x1" ; then
49967 COND_DEPS_TRACKING_1=""
49968 fi
49969
49970 COND_GCC_PCH_1="#"
49971 if test "x$GCC_PCH" = "x1" ; then
49972 COND_GCC_PCH_1=""
49973 fi
49974
49975 COND_ICC_PCH_1="#"
49976 if test "x$ICC_PCH" = "x1" ; then
49977 COND_ICC_PCH_1=""
49978 fi
49979
49980 COND_MONOLITHIC_0="#"
49981 if test "x$MONOLITHIC" = "x0" ; then
49982 COND_MONOLITHIC_0=""
49983 fi
49984
49985 COND_MONOLITHIC_0_SHARED_0="#"
49986 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49987 COND_MONOLITHIC_0_SHARED_0=""
49988 fi
49989
49990 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49991 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49992 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49993 fi
49994
49995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49996 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49998 fi
49999
50000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50001 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50003 fi
50004
50005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50007 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50008 fi
50009
50010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50011 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50012 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50013 fi
50014
50015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50016 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50017 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50018 fi
50019
50020 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50022 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50023 fi
50024
50025 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50027 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50028 fi
50029
50030 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50032 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50033 fi
50034
50035 COND_MONOLITHIC_0_SHARED_1="#"
50036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50037 COND_MONOLITHIC_0_SHARED_1=""
50038 fi
50039
50040 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50042 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50043 fi
50044
50045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50047 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50048 fi
50049
50050 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50052 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50053 fi
50054
50055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50057 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50058 fi
50059
50060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50062 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50063 fi
50064
50065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50068 fi
50069
50070 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50072 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50073 fi
50074
50075 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50077 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50078 fi
50079
50080 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50082 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50083 fi
50084
50085 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50086 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50087 COND_MONOLITHIC_0_USE_MEDIA_1=""
50088 fi
50089
50090 COND_MONOLITHIC_0_USE_ODBC_1="#"
50091 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50092 COND_MONOLITHIC_0_USE_ODBC_1=""
50093 fi
50094
50095 COND_MONOLITHIC_1="#"
50096 if test "x$MONOLITHIC" = "x1" ; then
50097 COND_MONOLITHIC_1=""
50098 fi
50099
50100 COND_MONOLITHIC_1_SHARED_0="#"
50101 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50102 COND_MONOLITHIC_1_SHARED_0=""
50103 fi
50104
50105 COND_MONOLITHIC_1_SHARED_1="#"
50106 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50107 COND_MONOLITHIC_1_SHARED_1=""
50108 fi
50109
50110 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50111 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50112 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50113 fi
50114
50115 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50116 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50117 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50118 fi
50119
50120 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50121 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50122 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50123 fi
50124
50125 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50126 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50127 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50128 fi
50129
50130 COND_PLATFORM_MACOSX_1="#"
50131 if test "x$PLATFORM_MACOSX" = "x1" ; then
50132 COND_PLATFORM_MACOSX_1=""
50133 fi
50134
50135 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50136 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50137 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50138 fi
50139
50140 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50141 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50142 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50143 fi
50144
50145 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50146 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50147 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50148 fi
50149
50150 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50151 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50152 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50153 fi
50154
50155 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50156 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50157 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50158 fi
50159
50160 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50161 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50162 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50163 fi
50164
50165 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50166 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50167 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50168 fi
50169
50170 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50171 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50172 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50173 fi
50174
50175 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50176 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50177 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50178 fi
50179
50180 COND_PLATFORM_MACOS_1="#"
50181 if test "x$PLATFORM_MACOS" = "x1" ; then
50182 COND_PLATFORM_MACOS_1=""
50183 fi
50184
50185 COND_PLATFORM_MAC_1="#"
50186 if test "x$PLATFORM_MAC" = "x1" ; then
50187 COND_PLATFORM_MAC_1=""
50188 fi
50189
50190 COND_PLATFORM_MSDOS_0="#"
50191 if test "x$PLATFORM_MSDOS" = "x0" ; then
50192 COND_PLATFORM_MSDOS_0=""
50193 fi
50194
50195 COND_PLATFORM_MSDOS_1="#"
50196 if test "x$PLATFORM_MSDOS" = "x1" ; then
50197 COND_PLATFORM_MSDOS_1=""
50198 fi
50199
50200 COND_PLATFORM_OS2_1="#"
50201 if test "x$PLATFORM_OS2" = "x1" ; then
50202 COND_PLATFORM_OS2_1=""
50203 fi
50204
50205 COND_PLATFORM_UNIX_0="#"
50206 if test "x$PLATFORM_UNIX" = "x0" ; then
50207 COND_PLATFORM_UNIX_0=""
50208 fi
50209
50210 COND_PLATFORM_UNIX_1="#"
50211 if test "x$PLATFORM_UNIX" = "x1" ; then
50212 COND_PLATFORM_UNIX_1=""
50213 fi
50214
50215 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50216 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50217 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50218 fi
50219
50220 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50221 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50222 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50223 fi
50224
50225 COND_PLATFORM_WIN32_0="#"
50226 if test "x$PLATFORM_WIN32" = "x0" ; then
50227 COND_PLATFORM_WIN32_0=""
50228 fi
50229
50230 COND_PLATFORM_WIN32_1="#"
50231 if test "x$PLATFORM_WIN32" = "x1" ; then
50232 COND_PLATFORM_WIN32_1=""
50233 fi
50234
50235 COND_SHARED_0="#"
50236 if test "x$SHARED" = "x0" ; then
50237 COND_SHARED_0=""
50238 fi
50239
50240 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50241 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50242 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50243 fi
50244
50245 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50246 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50247 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50248 fi
50249
50250 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50251 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50252 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50253 fi
50254
50255 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50256 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50257 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50258 fi
50259
50260 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50261 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50263 fi
50264
50265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50266 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50267 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50268 fi
50269
50270 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50271 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50272 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50273 fi
50274
50275 COND_SHARED_0_USE_XRC_1="#"
50276 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50277 COND_SHARED_0_USE_XRC_1=""
50278 fi
50279
50280 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50281 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50282 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50283 fi
50284
50285 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50286 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50287 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50288 fi
50289
50290 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50291 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50292 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50293 fi
50294
50295 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50296 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50297 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50298 fi
50299
50300 COND_SHARED_1="#"
50301 if test "x$SHARED" = "x1" ; then
50302 COND_SHARED_1=""
50303 fi
50304
50305 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50306 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50307 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50308 fi
50309
50310 COND_SHARED_1_USE_XRC_1="#"
50311 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50312 COND_SHARED_1_USE_XRC_1=""
50313 fi
50314
50315 COND_TOOLKIT_="#"
50316 if test "x$TOOLKIT" = "x" ; then
50317 COND_TOOLKIT_=""
50318 fi
50319
50320 COND_TOOLKIT_COCOA="#"
50321 if test "x$TOOLKIT" = "xCOCOA" ; then
50322 COND_TOOLKIT_COCOA=""
50323 fi
50324
50325 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50326 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50327 COND_TOOLKIT_COCOA_USE_GUI_1=""
50328 fi
50329
50330 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50331 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50332 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50333 fi
50334
50335 COND_TOOLKIT_DFB="#"
50336 if test "x$TOOLKIT" = "xDFB" ; then
50337 COND_TOOLKIT_DFB=""
50338 fi
50339
50340 COND_TOOLKIT_DFB_USE_GUI_1="#"
50341 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50342 COND_TOOLKIT_DFB_USE_GUI_1=""
50343 fi
50344
50345 COND_TOOLKIT_GTK="#"
50346 if test "x$TOOLKIT" = "xGTK" ; then
50347 COND_TOOLKIT_GTK=""
50348 fi
50349
50350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50351 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50353 fi
50354
50355 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50356 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50357 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50358 fi
50359
50360 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50361 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50362 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50363 fi
50364
50365 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50366 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50367 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50368 fi
50369
50370 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50371 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50372 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50373 fi
50374
50375 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50376 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50377 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50378 fi
50379
50380 COND_TOOLKIT_GTK_USE_GUI_1="#"
50381 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50382 COND_TOOLKIT_GTK_USE_GUI_1=""
50383 fi
50384
50385 COND_TOOLKIT_MAC="#"
50386 if test "x$TOOLKIT" = "xMAC" ; then
50387 COND_TOOLKIT_MAC=""
50388 fi
50389
50390 COND_TOOLKIT_MAC_USE_GUI_1="#"
50391 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50392 COND_TOOLKIT_MAC_USE_GUI_1=""
50393 fi
50394
50395 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50396 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50397 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50398 fi
50399
50400 COND_TOOLKIT_MGL="#"
50401 if test "x$TOOLKIT" = "xMGL" ; then
50402 COND_TOOLKIT_MGL=""
50403 fi
50404
50405 COND_TOOLKIT_MGL_USE_GUI_1="#"
50406 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50407 COND_TOOLKIT_MGL_USE_GUI_1=""
50408 fi
50409
50410 COND_TOOLKIT_MOTIF="#"
50411 if test "x$TOOLKIT" = "xMOTIF" ; then
50412 COND_TOOLKIT_MOTIF=""
50413 fi
50414
50415 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50416 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50417 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50418 fi
50419
50420 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50421 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50422 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50423 fi
50424
50425 COND_TOOLKIT_MSW="#"
50426 if test "x$TOOLKIT" = "xMSW" ; then
50427 COND_TOOLKIT_MSW=""
50428 fi
50429
50430 COND_TOOLKIT_MSW_USE_GUI_1="#"
50431 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50432 COND_TOOLKIT_MSW_USE_GUI_1=""
50433 fi
50434
50435 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50436 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50437 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50438 fi
50439
50440 COND_TOOLKIT_MSW_WXUNIV_0="#"
50441 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50442 COND_TOOLKIT_MSW_WXUNIV_0=""
50443 fi
50444
50445 COND_TOOLKIT_PM="#"
50446 if test "x$TOOLKIT" = "xPM" ; then
50447 COND_TOOLKIT_PM=""
50448 fi
50449
50450 COND_TOOLKIT_PM_USE_GUI_1="#"
50451 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50452 COND_TOOLKIT_PM_USE_GUI_1=""
50453 fi
50454
50455 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50456 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50457 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50458 fi
50459
50460 COND_TOOLKIT_WINCE="#"
50461 if test "x$TOOLKIT" = "xWINCE" ; then
50462 COND_TOOLKIT_WINCE=""
50463 fi
50464
50465 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50466 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50467 COND_TOOLKIT_WINCE_USE_GUI_1=""
50468 fi
50469
50470 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50471 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50472 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50473 fi
50474
50475 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50476 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50477 COND_TOOLKIT_WINCE_WXUNIV_0=""
50478 fi
50479
50480 COND_TOOLKIT_X11="#"
50481 if test "x$TOOLKIT" = "xX11" ; then
50482 COND_TOOLKIT_X11=""
50483 fi
50484
50485 COND_TOOLKIT_X11_USE_GUI_1="#"
50486 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50487 COND_TOOLKIT_X11_USE_GUI_1=""
50488 fi
50489
50490 COND_UNICODE_1="#"
50491 if test "x$UNICODE" = "x1" ; then
50492 COND_UNICODE_1=""
50493 fi
50494
50495 COND_USE_EXCEPTIONS_0="#"
50496 if test "x$USE_EXCEPTIONS" = "x0" ; then
50497 COND_USE_EXCEPTIONS_0=""
50498 fi
50499
50500 COND_USE_EXCEPTIONS_1="#"
50501 if test "x$USE_EXCEPTIONS" = "x1" ; then
50502 COND_USE_EXCEPTIONS_1=""
50503 fi
50504
50505 COND_USE_GUI_0="#"
50506 if test "x$USE_GUI" = "x0" ; then
50507 COND_USE_GUI_0=""
50508 fi
50509
50510 COND_USE_GUI_1="#"
50511 if test "x$USE_GUI" = "x1" ; then
50512 COND_USE_GUI_1=""
50513 fi
50514
50515 COND_USE_GUI_1_WXUNIV_0="#"
50516 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50517 COND_USE_GUI_1_WXUNIV_0=""
50518 fi
50519
50520 COND_USE_GUI_1_WXUNIV_1="#"
50521 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50522 COND_USE_GUI_1_WXUNIV_1=""
50523 fi
50524
50525 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50527 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50528 fi
50529
50530 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50531 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50532 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50533 fi
50534
50535 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50536 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50537 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50538 fi
50539
50540 COND_USE_ODBC_1="#"
50541 if test "x$USE_ODBC" = "x1" ; then
50542 COND_USE_ODBC_1=""
50543 fi
50544
50545 COND_USE_OPENGL_1="#"
50546 if test "x$USE_OPENGL" = "x1" ; then
50547 COND_USE_OPENGL_1=""
50548 fi
50549
50550 COND_USE_PCH_1="#"
50551 if test "x$USE_PCH" = "x1" ; then
50552 COND_USE_PCH_1=""
50553 fi
50554
50555 COND_USE_PLUGINS_0="#"
50556 if test "x$USE_PLUGINS" = "x0" ; then
50557 COND_USE_PLUGINS_0=""
50558 fi
50559
50560 COND_USE_RTTI_0="#"
50561 if test "x$USE_RTTI" = "x0" ; then
50562 COND_USE_RTTI_0=""
50563 fi
50564
50565 COND_USE_RTTI_1="#"
50566 if test "x$USE_RTTI" = "x1" ; then
50567 COND_USE_RTTI_1=""
50568 fi
50569
50570 COND_USE_SOSYMLINKS_1="#"
50571 if test "x$USE_SOSYMLINKS" = "x1" ; then
50572 COND_USE_SOSYMLINKS_1=""
50573 fi
50574
50575 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50576 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50577 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50578 fi
50579
50580 COND_USE_SOVERLINUX_1="#"
50581 if test "x$USE_SOVERLINUX" = "x1" ; then
50582 COND_USE_SOVERLINUX_1=""
50583 fi
50584
50585 COND_USE_SOVERSION_0="#"
50586 if test "x$USE_SOVERSION" = "x0" ; then
50587 COND_USE_SOVERSION_0=""
50588 fi
50589
50590 COND_USE_SOVERSOLARIS_1="#"
50591 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50592 COND_USE_SOVERSOLARIS_1=""
50593 fi
50594
50595 COND_USE_THREADS_0="#"
50596 if test "x$USE_THREADS" = "x0" ; then
50597 COND_USE_THREADS_0=""
50598 fi
50599
50600 COND_USE_THREADS_1="#"
50601 if test "x$USE_THREADS" = "x1" ; then
50602 COND_USE_THREADS_1=""
50603 fi
50604
50605 COND_USE_XRC_1="#"
50606 if test "x$USE_XRC" = "x1" ; then
50607 COND_USE_XRC_1=""
50608 fi
50609
50610 COND_WINDOWS_IMPLIB_1="#"
50611 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50612 COND_WINDOWS_IMPLIB_1=""
50613 fi
50614
50615 COND_WITH_PLUGIN_SDL_1="#"
50616 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50617 COND_WITH_PLUGIN_SDL_1=""
50618 fi
50619
50620 COND_WXUNIV_0="#"
50621 if test "x$WXUNIV" = "x0" ; then
50622 COND_WXUNIV_0=""
50623 fi
50624
50625 COND_WXUNIV_1="#"
50626 if test "x$WXUNIV" = "x1" ; then
50627 COND_WXUNIV_1=""
50628 fi
50629
50630 COND_WXUSE_EXPAT_BUILTIN="#"
50631 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50632 COND_WXUSE_EXPAT_BUILTIN=""
50633 fi
50634
50635 COND_WXUSE_LIBJPEG_BUILTIN="#"
50636 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50637 COND_WXUSE_LIBJPEG_BUILTIN=""
50638 fi
50639
50640 COND_WXUSE_LIBPNG_BUILTIN="#"
50641 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50642 COND_WXUSE_LIBPNG_BUILTIN=""
50643 fi
50644
50645 COND_WXUSE_LIBTIFF_BUILTIN="#"
50646 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50647 COND_WXUSE_LIBTIFF_BUILTIN=""
50648 fi
50649
50650 COND_WXUSE_ODBC_BUILTIN="#"
50651 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50652 COND_WXUSE_ODBC_BUILTIN=""
50653 fi
50654
50655 COND_WXUSE_REGEX_BUILTIN="#"
50656 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50657 COND_WXUSE_REGEX_BUILTIN=""
50658 fi
50659
50660 COND_WXUSE_ZLIB_BUILTIN="#"
50661 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50662 COND_WXUSE_ZLIB_BUILTIN=""
50663 fi
50664
50665
50666
50667 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50668 { { 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
50669 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;}
50670 { (exit 1); exit 1; }; }
50671 fi
50672
50673 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50674 { { 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
50675 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;}
50676 { (exit 1); exit 1; }; }
50677 fi
50678
50679
50680 if test $GCC_PCH = 1
50681 then
50682 if test "$wx_cv_gcc_pch_bug" = yes; then
50683 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50684 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50685 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50686 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50687 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50688 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50689 fi
50690
50691 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50692 fi
50693
50694
50695 if test "$wxUSE_MAC" = 1 ; then
50696 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50697 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50698 mv temp bk-deps
50699 chmod +x bk-deps
50700 fi
50701 fi
50702
50703 if test "$wxUSE_SHARED" = "yes"; then
50704
50705 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50706 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50707
50708 case "${host}" in
50709 *-pc-os2_emx | *-pc-os2-emx )
50710 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50711 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50712 cp -p ${srcdir}/src/os2/dllnames.sh .
50713 cp -p ${srcdir}/src/os2/dllar.sh .
50714 ;;
50715 esac
50716 else
50717
50718 EXE_LINKER="$CXX -o"
50719
50720 fi
50721 if test "$wxUSE_OMF" = "yes"; then
50722 case "${host}" in
50723 *-pc-os2_emx | *-pc-os2-emx )
50724 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50725 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50726 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50727 ;;
50728 esac
50729 fi
50730
50731 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50732
50733 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50796 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50797 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50798 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50799 echo $ECHO_N "(cached) $ECHO_C" >&6
50800 else
50801 cat >conftest.make <<\_ACEOF
50802 all:
50803 @echo 'ac_maketemp="$(MAKE)"'
50804 _ACEOF
50805 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50806 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50807 if test -n "$ac_maketemp"; then
50808 eval ac_cv_prog_make_${ac_make}_set=yes
50809 else
50810 eval ac_cv_prog_make_${ac_make}_set=no
50811 fi
50812 rm -f conftest.make
50813 fi
50814 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50815 echo "$as_me:$LINENO: result: yes" >&5
50816 echo "${ECHO_T}yes" >&6
50817 SET_MAKE=
50818 else
50819 echo "$as_me:$LINENO: result: no" >&5
50820 echo "${ECHO_T}no" >&6
50821 SET_MAKE="MAKE=${MAKE-make}"
50822 fi
50823
50824
50825
50826 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50827
50828
50829 if test "$USE_WIN32" = 1; then
50830 ac_config_commands="$ac_config_commands
50831 rcdefs.h
50832 "
50833
50834 fi
50835
50836 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50837
50838
50839 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50840
50841
50842 if test "$wx_cv_version_script" = "yes"; then
50843 ac_config_files="$ac_config_files version-script"
50844
50845 fi
50846 ac_config_files="$ac_config_files Makefile"
50847
50848
50849 ac_config_commands="$ac_config_commands wx-config"
50850
50851
50852
50853 if test "$wxWITH_SUBDIRS" != "no"; then
50854 if test "$wxUSE_GUI" = "yes"; then
50855 SUBDIRS="samples demos utils contrib"
50856 else SUBDIRS="samples utils"
50857 fi
50858
50859
50860
50861 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50862 if test "${with_cppunit_prefix+set}" = set; then
50863 withval="$with_cppunit_prefix"
50864 cppunit_config_prefix="$withval"
50865 else
50866 cppunit_config_prefix=""
50867 fi;
50868
50869 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50870 if test "${with_cppunit_exec_prefix+set}" = set; then
50871 withval="$with_cppunit_exec_prefix"
50872 cppunit_config_exec_prefix="$withval"
50873 else
50874 cppunit_config_exec_prefix=""
50875 fi;
50876
50877 if test x$cppunit_config_exec_prefix != x ; then
50878 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50879 if test x${CPPUNIT_CONFIG+set} != xset ; then
50880 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50881 fi
50882 fi
50883 if test x$cppunit_config_prefix != x ; then
50884 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50885 if test x${CPPUNIT_CONFIG+set} != xset ; then
50886 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50887 fi
50888 fi
50889
50890 # Extract the first word of "cppunit-config", so it can be a program name with args.
50891 set dummy cppunit-config; ac_word=$2
50892 echo "$as_me:$LINENO: checking for $ac_word" >&5
50893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50894 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50895 echo $ECHO_N "(cached) $ECHO_C" >&6
50896 else
50897 case $CPPUNIT_CONFIG in
50898 [\\/]* | ?:[\\/]*)
50899 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50900 ;;
50901 *)
50902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50903 for as_dir in $PATH
50904 do
50905 IFS=$as_save_IFS
50906 test -z "$as_dir" && as_dir=.
50907 for ac_exec_ext in '' $ac_executable_extensions; do
50908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50909 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50911 break 2
50912 fi
50913 done
50914 done
50915
50916 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50917 ;;
50918 esac
50919 fi
50920 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50921
50922 if test -n "$CPPUNIT_CONFIG"; then
50923 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50924 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50925 else
50926 echo "$as_me:$LINENO: result: no" >&5
50927 echo "${ECHO_T}no" >&6
50928 fi
50929
50930 cppunit_version_min=1.8.0
50931
50932 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50933 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50934 no_cppunit=""
50935 if test "$CPPUNIT_CONFIG" = "no" ; then
50936 echo "$as_me:$LINENO: result: no" >&5
50937 echo "${ECHO_T}no" >&6
50938 no_cppunit=yes
50939 else
50940 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50941 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50942 cppunit_version=`$CPPUNIT_CONFIG --version`
50943
50944 cppunit_major_version=`echo $cppunit_version | \
50945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50946 cppunit_minor_version=`echo $cppunit_version | \
50947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50948 cppunit_micro_version=`echo $cppunit_version | \
50949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50950
50951 cppunit_major_min=`echo $cppunit_version_min | \
50952 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50953 cppunit_minor_min=`echo $cppunit_version_min | \
50954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50955 cppunit_micro_min=`echo $cppunit_version_min | \
50956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50957
50958 cppunit_version_proper=`expr \
50959 $cppunit_major_version \> $cppunit_major_min \| \
50960 $cppunit_major_version \= $cppunit_major_min \& \
50961 $cppunit_minor_version \> $cppunit_minor_min \| \
50962 $cppunit_major_version \= $cppunit_major_min \& \
50963 $cppunit_minor_version \= $cppunit_minor_min \& \
50964 $cppunit_micro_version \>= $cppunit_micro_min `
50965
50966 if test "$cppunit_version_proper" = "1" ; then
50967 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50968 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50969 else
50970 echo "$as_me:$LINENO: result: no" >&5
50971 echo "${ECHO_T}no" >&6
50972 no_cppunit=yes
50973 fi
50974 fi
50975
50976 if test "x$no_cppunit" = x ; then
50977 SUBDIRS="$SUBDIRS tests"
50978 else
50979 CPPUNIT_CFLAGS=""
50980 CPPUNIT_LIBS=""
50981 :
50982 fi
50983
50984
50985
50986
50987
50988 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50989 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50990 fi
50991
50992 for subdir in `echo $SUBDIRS`; do
50993 if test -d ${srcdir}/${subdir} ; then
50994 if test "$wxUSE_GUI" = "yes"; then
50995 if test ${subdir} = "samples"; then
50996 makefiles="samples/Makefile.in $makefiles"
50997 for sample in `echo $SAMPLES_SUBDIRS`; do
50998 if test -d $srcdir/samples/$sample; then
50999 makefiles="samples/$sample/Makefile.in $makefiles"
51000 fi
51001 done
51002 else
51003 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51004 eval "disabled=\$$disabled_var"
51005 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51006 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
51007 fi
51008 else if test ${subdir} = "samples"; then
51009 makefiles="samples/Makefile.in samples/console/Makefile.in"
51010 elif test ${subdir} = "utils"; then
51011 makefiles=""
51012 for util in HelpGen tex2rtf ; do
51013 if test -d $srcdir/utils/$util ; then
51014 makefiles="utils/$util/Makefile.in \
51015 utils/$util/src/Makefile.in \
51016 $makefiles"
51017 fi
51018 done
51019 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51020 fi
51021 fi
51022
51023 for mkin in $makefiles ; do
51024 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51025 ac_config_files="$ac_config_files $mk"
51026
51027 done
51028 fi
51029 done
51030 fi
51031 cat >confcache <<\_ACEOF
51032 # This file is a shell script that caches the results of configure
51033 # tests run on this system so they can be shared between configure
51034 # scripts and configure runs, see configure's option --config-cache.
51035 # It is not useful on other systems. If it contains results you don't
51036 # want to keep, you may remove or edit it.
51037 #
51038 # config.status only pays attention to the cache file if you give it
51039 # the --recheck option to rerun configure.
51040 #
51041 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51042 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51043 # following values.
51044
51045 _ACEOF
51046
51047 # The following way of writing the cache mishandles newlines in values,
51048 # but we know of no workaround that is simple, portable, and efficient.
51049 # So, don't put newlines in cache variables' values.
51050 # Ultrix sh set writes to stderr and can't be redirected directly,
51051 # and sets the high bit in the cache file unless we assign to the vars.
51052 {
51053 (set) 2>&1 |
51054 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51055 *ac_space=\ *)
51056 # `set' does not quote correctly, so add quotes (double-quote
51057 # substitution turns \\\\ into \\, and sed turns \\ into \).
51058 sed -n \
51059 "s/'/'\\\\''/g;
51060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51061 ;;
51062 *)
51063 # `set' quotes correctly as required by POSIX, so do not add quotes.
51064 sed -n \
51065 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51066 ;;
51067 esac;
51068 } |
51069 sed '
51070 t clear
51071 : clear
51072 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51073 t end
51074 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51075 : end' >>confcache
51076 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51077 if test -w $cache_file; then
51078 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51079 cat confcache >$cache_file
51080 else
51081 echo "not updating unwritable cache $cache_file"
51082 fi
51083 fi
51084 rm -f confcache
51085
51086 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51087 # Let make expand exec_prefix.
51088 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51089
51090 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51091 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51092 # trailing colons and then remove the whole line if VPATH becomes empty
51093 # (actually we leave an empty line to preserve line numbers).
51094 if test "x$srcdir" = x.; then
51095 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51096 s/:*\$(srcdir):*/:/;
51097 s/:*\${srcdir}:*/:/;
51098 s/:*@srcdir@:*/:/;
51099 s/^\([^=]*=[ ]*\):*/\1/;
51100 s/:*$//;
51101 s/^[^=]*=[ ]*$//;
51102 }'
51103 fi
51104
51105 DEFS=-DHAVE_CONFIG_H
51106
51107 ac_libobjs=
51108 ac_ltlibobjs=
51109 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51110 # 1. Remove the extension, and $U if already installed.
51111 ac_i=`echo "$ac_i" |
51112 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51113 # 2. Add them.
51114 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51115 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51116 done
51117 LIBOBJS=$ac_libobjs
51118
51119 LTLIBOBJS=$ac_ltlibobjs
51120
51121
51122
51123 : ${CONFIG_STATUS=./config.status}
51124 ac_clean_files_save=$ac_clean_files
51125 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51126 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51127 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51128 cat >$CONFIG_STATUS <<_ACEOF
51129 #! $SHELL
51130 # Generated by $as_me.
51131 # Run this file to recreate the current configuration.
51132 # Compiler output produced by configure, useful for debugging
51133 # configure, is in config.log if it exists.
51134
51135 debug=false
51136 ac_cs_recheck=false
51137 ac_cs_silent=false
51138 SHELL=\${CONFIG_SHELL-$SHELL}
51139 _ACEOF
51140
51141 cat >>$CONFIG_STATUS <<\_ACEOF
51142 ## --------------------- ##
51143 ## M4sh Initialization. ##
51144 ## --------------------- ##
51145
51146 # Be Bourne compatible
51147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51148 emulate sh
51149 NULLCMD=:
51150 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51151 # is contrary to our usage. Disable this feature.
51152 alias -g '${1+"$@"}'='"$@"'
51153 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51154 set -o posix
51155 fi
51156 DUALCASE=1; export DUALCASE # for MKS sh
51157
51158 # Support unset when possible.
51159 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51160 as_unset=unset
51161 else
51162 as_unset=false
51163 fi
51164
51165
51166 # Work around bugs in pre-3.0 UWIN ksh.
51167 $as_unset ENV MAIL MAILPATH
51168 PS1='$ '
51169 PS2='> '
51170 PS4='+ '
51171
51172 # NLS nuisances.
51173 for as_var in \
51174 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51175 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51176 LC_TELEPHONE LC_TIME
51177 do
51178 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51179 eval $as_var=C; export $as_var
51180 else
51181 $as_unset $as_var
51182 fi
51183 done
51184
51185 # Required to use basename.
51186 if expr a : '\(a\)' >/dev/null 2>&1; then
51187 as_expr=expr
51188 else
51189 as_expr=false
51190 fi
51191
51192 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51193 as_basename=basename
51194 else
51195 as_basename=false
51196 fi
51197
51198
51199 # Name of the executable.
51200 as_me=`$as_basename "$0" ||
51201 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51202 X"$0" : 'X\(//\)$' \| \
51203 X"$0" : 'X\(/\)$' \| \
51204 . : '\(.\)' 2>/dev/null ||
51205 echo X/"$0" |
51206 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51207 /^X\/\(\/\/\)$/{ s//\1/; q; }
51208 /^X\/\(\/\).*/{ s//\1/; q; }
51209 s/.*/./; q'`
51210
51211
51212 # PATH needs CR, and LINENO needs CR and PATH.
51213 # Avoid depending upon Character Ranges.
51214 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51215 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51216 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51217 as_cr_digits='0123456789'
51218 as_cr_alnum=$as_cr_Letters$as_cr_digits
51219
51220 # The user is always right.
51221 if test "${PATH_SEPARATOR+set}" != set; then
51222 echo "#! /bin/sh" >conf$$.sh
51223 echo "exit 0" >>conf$$.sh
51224 chmod +x conf$$.sh
51225 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51226 PATH_SEPARATOR=';'
51227 else
51228 PATH_SEPARATOR=:
51229 fi
51230 rm -f conf$$.sh
51231 fi
51232
51233
51234 as_lineno_1=$LINENO
51235 as_lineno_2=$LINENO
51236 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51237 test "x$as_lineno_1" != "x$as_lineno_2" &&
51238 test "x$as_lineno_3" = "x$as_lineno_2" || {
51239 # Find who we are. Look in the path if we contain no path at all
51240 # relative or not.
51241 case $0 in
51242 *[\\/]* ) as_myself=$0 ;;
51243 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51244 for as_dir in $PATH
51245 do
51246 IFS=$as_save_IFS
51247 test -z "$as_dir" && as_dir=.
51248 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51249 done
51250
51251 ;;
51252 esac
51253 # We did not find ourselves, most probably we were run as `sh COMMAND'
51254 # in which case we are not to be found in the path.
51255 if test "x$as_myself" = x; then
51256 as_myself=$0
51257 fi
51258 if test ! -f "$as_myself"; then
51259 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51260 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51261 { (exit 1); exit 1; }; }
51262 fi
51263 case $CONFIG_SHELL in
51264 '')
51265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51266 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51267 do
51268 IFS=$as_save_IFS
51269 test -z "$as_dir" && as_dir=.
51270 for as_base in sh bash ksh sh5; do
51271 case $as_dir in
51272 /*)
51273 if ("$as_dir/$as_base" -c '
51274 as_lineno_1=$LINENO
51275 as_lineno_2=$LINENO
51276 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51277 test "x$as_lineno_1" != "x$as_lineno_2" &&
51278 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51279 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51280 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51281 CONFIG_SHELL=$as_dir/$as_base
51282 export CONFIG_SHELL
51283 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51284 fi;;
51285 esac
51286 done
51287 done
51288 ;;
51289 esac
51290
51291 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51292 # uniformly replaced by the line number. The first 'sed' inserts a
51293 # line-number line before each line; the second 'sed' does the real
51294 # work. The second script uses 'N' to pair each line-number line
51295 # with the numbered line, and appends trailing '-' during
51296 # substitution so that $LINENO is not a special case at line end.
51297 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51298 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51299 sed '=' <$as_myself |
51300 sed '
51301 N
51302 s,$,-,
51303 : loop
51304 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51305 t loop
51306 s,-$,,
51307 s,^['$as_cr_digits']*\n,,
51308 ' >$as_me.lineno &&
51309 chmod +x $as_me.lineno ||
51310 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51311 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51312 { (exit 1); exit 1; }; }
51313
51314 # Don't try to exec as it changes $[0], causing all sort of problems
51315 # (the dirname of $[0] is not the place where we might find the
51316 # original and so on. Autoconf is especially sensible to this).
51317 . ./$as_me.lineno
51318 # Exit status is that of the last command.
51319 exit
51320 }
51321
51322
51323 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51324 *c*,-n*) ECHO_N= ECHO_C='
51325 ' ECHO_T=' ' ;;
51326 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51327 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51328 esac
51329
51330 if expr a : '\(a\)' >/dev/null 2>&1; then
51331 as_expr=expr
51332 else
51333 as_expr=false
51334 fi
51335
51336 rm -f conf$$ conf$$.exe conf$$.file
51337 echo >conf$$.file
51338 if ln -s conf$$.file conf$$ 2>/dev/null; then
51339 # We could just check for DJGPP; but this test a) works b) is more generic
51340 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51341 if test -f conf$$.exe; then
51342 # Don't use ln at all; we don't have any links
51343 as_ln_s='cp -p'
51344 else
51345 as_ln_s='ln -s'
51346 fi
51347 elif ln conf$$.file conf$$ 2>/dev/null; then
51348 as_ln_s=ln
51349 else
51350 as_ln_s='cp -p'
51351 fi
51352 rm -f conf$$ conf$$.exe conf$$.file
51353
51354 if mkdir -p . 2>/dev/null; then
51355 as_mkdir_p=:
51356 else
51357 test -d ./-p && rmdir ./-p
51358 as_mkdir_p=false
51359 fi
51360
51361 as_executable_p="test -f"
51362
51363 # Sed expression to map a string onto a valid CPP name.
51364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51365
51366 # Sed expression to map a string onto a valid variable name.
51367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51368
51369
51370 # IFS
51371 # We need space, tab and new line, in precisely that order.
51372 as_nl='
51373 '
51374 IFS=" $as_nl"
51375
51376 # CDPATH.
51377 $as_unset CDPATH
51378
51379 exec 6>&1
51380
51381 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51382 # report actual input values of CONFIG_FILES etc. instead of their
51383 # values after options handling. Logging --version etc. is OK.
51384 exec 5>>config.log
51385 {
51386 echo
51387 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51388 ## Running $as_me. ##
51389 _ASBOX
51390 } >&5
51391 cat >&5 <<_CSEOF
51392
51393 This file was extended by wxWidgets $as_me 2.7.1, which was
51394 generated by GNU Autoconf 2.59. Invocation command line was
51395
51396 CONFIG_FILES = $CONFIG_FILES
51397 CONFIG_HEADERS = $CONFIG_HEADERS
51398 CONFIG_LINKS = $CONFIG_LINKS
51399 CONFIG_COMMANDS = $CONFIG_COMMANDS
51400 $ $0 $@
51401
51402 _CSEOF
51403 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51404 echo >&5
51405 _ACEOF
51406
51407 # Files that config.status was made for.
51408 if test -n "$ac_config_files"; then
51409 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51410 fi
51411
51412 if test -n "$ac_config_headers"; then
51413 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51414 fi
51415
51416 if test -n "$ac_config_links"; then
51417 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51418 fi
51419
51420 if test -n "$ac_config_commands"; then
51421 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51422 fi
51423
51424 cat >>$CONFIG_STATUS <<\_ACEOF
51425
51426 ac_cs_usage="\
51427 \`$as_me' instantiates files from templates according to the
51428 current configuration.
51429
51430 Usage: $0 [OPTIONS] [FILE]...
51431
51432 -h, --help print this help, then exit
51433 -V, --version print version number, then exit
51434 -q, --quiet do not print progress messages
51435 -d, --debug don't remove temporary files
51436 --recheck update $as_me by reconfiguring in the same conditions
51437 --file=FILE[:TEMPLATE]
51438 instantiate the configuration file FILE
51439 --header=FILE[:TEMPLATE]
51440 instantiate the configuration header FILE
51441
51442 Configuration files:
51443 $config_files
51444
51445 Configuration headers:
51446 $config_headers
51447
51448 Configuration commands:
51449 $config_commands
51450
51451 Report bugs to <bug-autoconf@gnu.org>."
51452 _ACEOF
51453
51454 cat >>$CONFIG_STATUS <<_ACEOF
51455 ac_cs_version="\\
51456 wxWidgets config.status 2.7.1
51457 configured by $0, generated by GNU Autoconf 2.59,
51458 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51459
51460 Copyright (C) 2003 Free Software Foundation, Inc.
51461 This config.status script is free software; the Free Software Foundation
51462 gives unlimited permission to copy, distribute and modify it."
51463 srcdir=$srcdir
51464 INSTALL="$INSTALL"
51465 _ACEOF
51466
51467 cat >>$CONFIG_STATUS <<\_ACEOF
51468 # If no file are specified by the user, then we need to provide default
51469 # value. By we need to know if files were specified by the user.
51470 ac_need_defaults=:
51471 while test $# != 0
51472 do
51473 case $1 in
51474 --*=*)
51475 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51476 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51477 ac_shift=:
51478 ;;
51479 -*)
51480 ac_option=$1
51481 ac_optarg=$2
51482 ac_shift=shift
51483 ;;
51484 *) # This is not an option, so the user has probably given explicit
51485 # arguments.
51486 ac_option=$1
51487 ac_need_defaults=false;;
51488 esac
51489
51490 case $ac_option in
51491 # Handling of the options.
51492 _ACEOF
51493 cat >>$CONFIG_STATUS <<\_ACEOF
51494 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51495 ac_cs_recheck=: ;;
51496 --version | --vers* | -V )
51497 echo "$ac_cs_version"; exit 0 ;;
51498 --he | --h)
51499 # Conflict between --help and --header
51500 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51501 Try \`$0 --help' for more information." >&5
51502 echo "$as_me: error: ambiguous option: $1
51503 Try \`$0 --help' for more information." >&2;}
51504 { (exit 1); exit 1; }; };;
51505 --help | --hel | -h )
51506 echo "$ac_cs_usage"; exit 0 ;;
51507 --debug | --d* | -d )
51508 debug=: ;;
51509 --file | --fil | --fi | --f )
51510 $ac_shift
51511 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51512 ac_need_defaults=false;;
51513 --header | --heade | --head | --hea )
51514 $ac_shift
51515 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51516 ac_need_defaults=false;;
51517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51518 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51519 ac_cs_silent=: ;;
51520
51521 # This is an error.
51522 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51523 Try \`$0 --help' for more information." >&5
51524 echo "$as_me: error: unrecognized option: $1
51525 Try \`$0 --help' for more information." >&2;}
51526 { (exit 1); exit 1; }; } ;;
51527
51528 *) ac_config_targets="$ac_config_targets $1" ;;
51529
51530 esac
51531 shift
51532 done
51533
51534 ac_configure_extra_args=
51535
51536 if $ac_cs_silent; then
51537 exec 6>/dev/null
51538 ac_configure_extra_args="$ac_configure_extra_args --silent"
51539 fi
51540
51541 _ACEOF
51542 cat >>$CONFIG_STATUS <<_ACEOF
51543 if \$ac_cs_recheck; then
51544 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51545 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51546 fi
51547
51548 _ACEOF
51549
51550 cat >>$CONFIG_STATUS <<_ACEOF
51551 #
51552 # INIT-COMMANDS section.
51553 #
51554
51555
51556 CPP="$CPP"
51557 infile="$srcdir/include/wx/msw/genrcdefs.h"
51558 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51559
51560
51561 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51562 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51564 LN_S="${LN_S}"
51565
51566
51567 _ACEOF
51568
51569
51570
51571 cat >>$CONFIG_STATUS <<\_ACEOF
51572 for ac_config_target in $ac_config_targets
51573 do
51574 case "$ac_config_target" in
51575 # Handling of arguments.
51576 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51577 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51578 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51579 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51580 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51581 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51582 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51583 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51586 { (exit 1); exit 1; }; };;
51587 esac
51588 done
51589
51590 # If the user did not use the arguments to specify the items to instantiate,
51591 # then the envvar interface is used. Set only those that are not.
51592 # We use the long form for the default assignment because of an extremely
51593 # bizarre bug on SunOS 4.1.3.
51594 if $ac_need_defaults; then
51595 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51596 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51597 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51598 fi
51599
51600 # Have a temporary directory for convenience. Make it in the build tree
51601 # simply because there is no reason to put it here, and in addition,
51602 # creating and moving files from /tmp can sometimes cause problems.
51603 # Create a temporary directory, and hook for its removal unless debugging.
51604 $debug ||
51605 {
51606 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51607 trap '{ (exit 1); exit 1; }' 1 2 13 15
51608 }
51609
51610 # Create a (secure) tmp directory for tmp files.
51611
51612 {
51613 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51614 test -n "$tmp" && test -d "$tmp"
51615 } ||
51616 {
51617 tmp=./confstat$$-$RANDOM
51618 (umask 077 && mkdir $tmp)
51619 } ||
51620 {
51621 echo "$me: cannot create a temporary directory in ." >&2
51622 { (exit 1); exit 1; }
51623 }
51624
51625 _ACEOF
51626
51627 cat >>$CONFIG_STATUS <<_ACEOF
51628
51629 #
51630 # CONFIG_FILES section.
51631 #
51632
51633 # No need to generate the scripts if there are no CONFIG_FILES.
51634 # This happens for instance when ./config.status config.h
51635 if test -n "\$CONFIG_FILES"; then
51636 # Protect against being on the right side of a sed subst in config.status.
51637 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51638 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51639 s,@SHELL@,$SHELL,;t t
51640 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51641 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51642 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51643 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51644 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51645 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51646 s,@exec_prefix@,$exec_prefix,;t t
51647 s,@prefix@,$prefix,;t t
51648 s,@program_transform_name@,$program_transform_name,;t t
51649 s,@bindir@,$bindir,;t t
51650 s,@sbindir@,$sbindir,;t t
51651 s,@libexecdir@,$libexecdir,;t t
51652 s,@datadir@,$datadir,;t t
51653 s,@sysconfdir@,$sysconfdir,;t t
51654 s,@sharedstatedir@,$sharedstatedir,;t t
51655 s,@localstatedir@,$localstatedir,;t t
51656 s,@libdir@,$libdir,;t t
51657 s,@includedir@,$includedir,;t t
51658 s,@oldincludedir@,$oldincludedir,;t t
51659 s,@infodir@,$infodir,;t t
51660 s,@mandir@,$mandir,;t t
51661 s,@build_alias@,$build_alias,;t t
51662 s,@host_alias@,$host_alias,;t t
51663 s,@target_alias@,$target_alias,;t t
51664 s,@DEFS@,$DEFS,;t t
51665 s,@ECHO_C@,$ECHO_C,;t t
51666 s,@ECHO_N@,$ECHO_N,;t t
51667 s,@ECHO_T@,$ECHO_T,;t t
51668 s,@LIBS@,$LIBS,;t t
51669 s,@build@,$build,;t t
51670 s,@build_cpu@,$build_cpu,;t t
51671 s,@build_vendor@,$build_vendor,;t t
51672 s,@build_os@,$build_os,;t t
51673 s,@host@,$host,;t t
51674 s,@host_cpu@,$host_cpu,;t t
51675 s,@host_vendor@,$host_vendor,;t t
51676 s,@host_os@,$host_os,;t t
51677 s,@target@,$target,;t t
51678 s,@target_cpu@,$target_cpu,;t t
51679 s,@target_vendor@,$target_vendor,;t t
51680 s,@target_os@,$target_os,;t t
51681 s,@wx_top_builddir@,$wx_top_builddir,;t t
51682 s,@CC@,$CC,;t t
51683 s,@CFLAGS@,$CFLAGS,;t t
51684 s,@LDFLAGS@,$LDFLAGS,;t t
51685 s,@CPPFLAGS@,$CPPFLAGS,;t t
51686 s,@ac_ct_CC@,$ac_ct_CC,;t t
51687 s,@EXEEXT@,$EXEEXT,;t t
51688 s,@OBJEXT@,$OBJEXT,;t t
51689 s,@CPP@,$CPP,;t t
51690 s,@EGREP@,$EGREP,;t t
51691 s,@CXX@,$CXX,;t t
51692 s,@CXXFLAGS@,$CXXFLAGS,;t t
51693 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51694 s,@RANLIB@,$RANLIB,;t t
51695 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51696 s,@AR@,$AR,;t t
51697 s,@ac_ct_AR@,$ac_ct_AR,;t t
51698 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51699 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51700 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51701 s,@STRIP@,$STRIP,;t t
51702 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51703 s,@WINDRES@,$WINDRES,;t t
51704 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51705 s,@DLLTOOL@,$DLLTOOL,;t t
51706 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51707 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51708 s,@LN_S@,$LN_S,;t t
51709 s,@CXXCPP@,$CXXCPP,;t t
51710 s,@subdirs@,$subdirs,;t t
51711 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51712 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51713 s,@GTK_LIBS@,$GTK_LIBS,;t t
51714 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51715 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51716 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51717 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51718 s,@X_CFLAGS@,$X_CFLAGS,;t t
51719 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51720 s,@X_LIBS@,$X_LIBS,;t t
51721 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51722 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51723 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51724 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51725 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51726 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51727 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51728 s,@REZ@,$REZ,;t t
51729 s,@DEREZ@,$DEREZ,;t t
51730 s,@SETFILE@,$SETFILE,;t t
51731 s,@LIBICONV@,$LIBICONV,;t t
51732 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51733 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51734 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51735 s,@SDL_LIBS@,$SDL_LIBS,;t t
51736 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51737 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51738 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51739 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51740 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51741 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51742 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51743 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51744 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51745 s,@GST_LIBS@,$GST_LIBS,;t t
51746 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51747 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51748 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51749 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51750 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51751 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51752 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51753 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51754 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51755 s,@VENDOR@,$VENDOR,;t t
51756 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51757 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51758 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51759 s,@WXUNIV@,$WXUNIV,;t t
51760 s,@MONOLITHIC@,$MONOLITHIC,;t t
51761 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51762 s,@EXTRALIBS@,$EXTRALIBS,;t t
51763 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51764 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51765 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51766 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51767 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51768 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51769 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51770 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51771 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51772 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51773 s,@UNICODE@,$UNICODE,;t t
51774 s,@BUILD@,$BUILD,;t t
51775 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51776 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51777 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51778 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51779 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51780 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51781 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51782 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51783 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51784 s,@SET_MAKE@,$SET_MAKE,;t t
51785 s,@MAKE_SET@,$MAKE_SET,;t t
51786 s,@AROPTIONS@,$AROPTIONS,;t t
51787 s,@NM@,$NM,;t t
51788 s,@ac_ct_NM@,$ac_ct_NM,;t t
51789 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51790 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51791 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51792 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51793 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51794 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51795 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51796 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51797 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51798 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51799 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51800 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51801 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51802 s,@LIBPREFIX@,$LIBPREFIX,;t t
51803 s,@LIBEXT@,$LIBEXT,;t t
51804 s,@DLLPREFIX@,$DLLPREFIX,;t t
51805 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51806 s,@dlldir@,$dlldir,;t t
51807 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51808 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51809 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51810 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51811 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51812 s,@PIC_FLAG@,$PIC_FLAG,;t t
51813 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51814 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51815 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51816 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51817 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51818 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51819 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51820 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51821 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51822 s,@BK_DEPS@,$BK_DEPS,;t t
51823 s,@GCC_PCH@,$GCC_PCH,;t t
51824 s,@ICC_PCH@,$ICC_PCH,;t t
51825 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51826 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51827 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51828 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51829 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51830 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51831 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51832 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51833 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51834 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51835 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51836 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51837 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51838 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51839 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51840 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51841 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51842 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51843 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51844 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51845 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51846 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
51847 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
51848 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
51849 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
51850 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51851 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51852 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51853 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51854 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51855 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51856 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
51857 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
51858 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
51859 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
51860 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51861 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51862 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51863 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51864 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51865 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51866 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51867 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51868 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51869 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51870 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51871 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51872 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51873 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51874 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51875 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51876 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51877 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51878 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51879 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51880 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51881 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51882 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51883 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51884 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51885 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51886 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51887 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51888 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51889 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51890 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51891 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51892 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51893 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51894 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51895 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51896 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51897 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51898 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51899 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51900 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51901 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51902 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51903 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51904 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51905 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51906 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51907 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51908 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51909 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51910 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51911 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51912 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51913 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51914 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51915 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51916 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51917 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51918 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51919 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
51920 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51921 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51922 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51923 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51924 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51925 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51926 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51927 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51928 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51929 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51930 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51931 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51932 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51933 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51934 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51935 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51936 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51937 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51938 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51939 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51940 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51941 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51942 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51943 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51944 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51945 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51946 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51947 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51948 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51949 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51950 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51951 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51952 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51953 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51954 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51955 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51956 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51957 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51958 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51959 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51960 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51961 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51962 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51963 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51964 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51965 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51966 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51967 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51968 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51969 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51970 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51971 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51972 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51973 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51974 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51975 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51976 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51977 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51978 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51979 s,@SHARED@,$SHARED,;t t
51980 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51981 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51982 s,@USE_GUI@,$USE_GUI,;t t
51983 s,@AFMINSTALL@,$AFMINSTALL,;t t
51984 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51985 s,@TOOLKIT@,$TOOLKIT,;t t
51986 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51987 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51988 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51989 s,@cross_compiling@,$cross_compiling,;t t
51990 s,@WIDGET_SET@,$WIDGET_SET,;t t
51991 s,@WX_RELEASE@,$WX_RELEASE,;t t
51992 s,@WX_VERSION@,$WX_VERSION,;t t
51993 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51994 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51995 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51996 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51997 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51998 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51999 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52000 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52001 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52002 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52003 s,@EXE_LINKER@,$EXE_LINKER,;t t
52004 s,@GUIDIST@,$GUIDIST,;t t
52005 s,@DISTDIR@,$DISTDIR,;t t
52006 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52007 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52008 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52009 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52010 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52011 s,@RESCOMP@,$RESCOMP,;t t
52012 s,@RESFLAGS@,$RESFLAGS,;t t
52013 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52014 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52015 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52016 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52017 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52018 s,@MACSETFILE@,$MACSETFILE,;t t
52019 s,@GCC@,$GCC,;t t
52020 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52021 s,@LIBOBJS@,$LIBOBJS,;t t
52022 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52023 CEOF
52024
52025 _ACEOF
52026
52027 cat >>$CONFIG_STATUS <<\_ACEOF
52028 # Split the substitutions into bite-sized pieces for seds with
52029 # small command number limits, like on Digital OSF/1 and HP-UX.
52030 ac_max_sed_lines=48
52031 ac_sed_frag=1 # Number of current file.
52032 ac_beg=1 # First line for current file.
52033 ac_end=$ac_max_sed_lines # Line after last line for current file.
52034 ac_more_lines=:
52035 ac_sed_cmds=
52036 while $ac_more_lines; do
52037 if test $ac_beg -gt 1; then
52038 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52039 else
52040 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52041 fi
52042 if test ! -s $tmp/subs.frag; then
52043 ac_more_lines=false
52044 else
52045 # The purpose of the label and of the branching condition is to
52046 # speed up the sed processing (if there are no `@' at all, there
52047 # is no need to browse any of the substitutions).
52048 # These are the two extra sed commands mentioned above.
52049 (echo ':t
52050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52051 if test -z "$ac_sed_cmds"; then
52052 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52053 else
52054 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52055 fi
52056 ac_sed_frag=`expr $ac_sed_frag + 1`
52057 ac_beg=$ac_end
52058 ac_end=`expr $ac_end + $ac_max_sed_lines`
52059 fi
52060 done
52061 if test -z "$ac_sed_cmds"; then
52062 ac_sed_cmds=cat
52063 fi
52064 fi # test -n "$CONFIG_FILES"
52065
52066 _ACEOF
52067 cat >>$CONFIG_STATUS <<\_ACEOF
52068 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52069 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52070 case $ac_file in
52071 - | *:- | *:-:* ) # input from stdin
52072 cat >$tmp/stdin
52073 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52074 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52075 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52076 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52077 * ) ac_file_in=$ac_file.in ;;
52078 esac
52079
52080 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52081 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52083 X"$ac_file" : 'X\(//\)[^/]' \| \
52084 X"$ac_file" : 'X\(//\)$' \| \
52085 X"$ac_file" : 'X\(/\)' \| \
52086 . : '\(.\)' 2>/dev/null ||
52087 echo X"$ac_file" |
52088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52089 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52090 /^X\(\/\/\)$/{ s//\1/; q; }
52091 /^X\(\/\).*/{ s//\1/; q; }
52092 s/.*/./; q'`
52093 { if $as_mkdir_p; then
52094 mkdir -p "$ac_dir"
52095 else
52096 as_dir="$ac_dir"
52097 as_dirs=
52098 while test ! -d "$as_dir"; do
52099 as_dirs="$as_dir $as_dirs"
52100 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52102 X"$as_dir" : 'X\(//\)[^/]' \| \
52103 X"$as_dir" : 'X\(//\)$' \| \
52104 X"$as_dir" : 'X\(/\)' \| \
52105 . : '\(.\)' 2>/dev/null ||
52106 echo X"$as_dir" |
52107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52109 /^X\(\/\/\)$/{ s//\1/; q; }
52110 /^X\(\/\).*/{ s//\1/; q; }
52111 s/.*/./; q'`
52112 done
52113 test ! -n "$as_dirs" || mkdir $as_dirs
52114 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52115 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52116 { (exit 1); exit 1; }; }; }
52117
52118 ac_builddir=.
52119
52120 if test "$ac_dir" != .; then
52121 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52122 # A "../" for each directory in $ac_dir_suffix.
52123 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52124 else
52125 ac_dir_suffix= ac_top_builddir=
52126 fi
52127
52128 case $srcdir in
52129 .) # No --srcdir option. We are building in place.
52130 ac_srcdir=.
52131 if test -z "$ac_top_builddir"; then
52132 ac_top_srcdir=.
52133 else
52134 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52135 fi ;;
52136 [\\/]* | ?:[\\/]* ) # Absolute path.
52137 ac_srcdir=$srcdir$ac_dir_suffix;
52138 ac_top_srcdir=$srcdir ;;
52139 *) # Relative path.
52140 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52141 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52142 esac
52143
52144 # Do not use `cd foo && pwd` to compute absolute paths, because
52145 # the directories may not exist.
52146 case `pwd` in
52147 .) ac_abs_builddir="$ac_dir";;
52148 *)
52149 case "$ac_dir" in
52150 .) ac_abs_builddir=`pwd`;;
52151 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52152 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52153 esac;;
52154 esac
52155 case $ac_abs_builddir in
52156 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52157 *)
52158 case ${ac_top_builddir}. in
52159 .) ac_abs_top_builddir=$ac_abs_builddir;;
52160 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52161 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52162 esac;;
52163 esac
52164 case $ac_abs_builddir in
52165 .) ac_abs_srcdir=$ac_srcdir;;
52166 *)
52167 case $ac_srcdir in
52168 .) ac_abs_srcdir=$ac_abs_builddir;;
52169 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52170 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52171 esac;;
52172 esac
52173 case $ac_abs_builddir in
52174 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52175 *)
52176 case $ac_top_srcdir in
52177 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52178 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52179 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52180 esac;;
52181 esac
52182
52183
52184 case $INSTALL in
52185 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52186 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52187 esac
52188
52189 # Let's still pretend it is `configure' which instantiates (i.e., don't
52190 # use $as_me), people would be surprised to read:
52191 # /* config.h. Generated by config.status. */
52192 if test x"$ac_file" = x-; then
52193 configure_input=
52194 else
52195 configure_input="$ac_file. "
52196 fi
52197 configure_input=$configure_input"Generated from `echo $ac_file_in |
52198 sed 's,.*/,,'` by configure."
52199
52200 # First look for the input files in the build tree, otherwise in the
52201 # src tree.
52202 ac_file_inputs=`IFS=:
52203 for f in $ac_file_in; do
52204 case $f in
52205 -) echo $tmp/stdin ;;
52206 [\\/$]*)
52207 # Absolute (can't be DOS-style, as IFS=:)
52208 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52209 echo "$as_me: error: cannot find input file: $f" >&2;}
52210 { (exit 1); exit 1; }; }
52211 echo "$f";;
52212 *) # Relative
52213 if test -f "$f"; then
52214 # Build tree
52215 echo "$f"
52216 elif test -f "$srcdir/$f"; then
52217 # Source tree
52218 echo "$srcdir/$f"
52219 else
52220 # /dev/null tree
52221 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52222 echo "$as_me: error: cannot find input file: $f" >&2;}
52223 { (exit 1); exit 1; }; }
52224 fi;;
52225 esac
52226 done` || { (exit 1); exit 1; }
52227
52228 if test x"$ac_file" != x-; then
52229 { echo "$as_me:$LINENO: creating $ac_file" >&5
52230 echo "$as_me: creating $ac_file" >&6;}
52231 rm -f "$ac_file"
52232 fi
52233 _ACEOF
52234 cat >>$CONFIG_STATUS <<_ACEOF
52235 sed "$ac_vpsub
52236 $extrasub
52237 _ACEOF
52238 cat >>$CONFIG_STATUS <<\_ACEOF
52239 :t
52240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52241 s,@configure_input@,$configure_input,;t t
52242 s,@srcdir@,$ac_srcdir,;t t
52243 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52244 s,@top_srcdir@,$ac_top_srcdir,;t t
52245 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52246 s,@builddir@,$ac_builddir,;t t
52247 s,@abs_builddir@,$ac_abs_builddir,;t t
52248 s,@top_builddir@,$ac_top_builddir,;t t
52249 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52250 s,@INSTALL@,$ac_INSTALL,;t t
52251 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52252 rm -f $tmp/stdin
52253 if test x"$ac_file" != x-; then
52254 mv $tmp/out $ac_file
52255 else
52256 cat $tmp/out
52257 rm -f $tmp/out
52258 fi
52259
52260 # Run the commands associated with the file.
52261 case $ac_file in
52262 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52263 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52264 esac
52265 done
52266 _ACEOF
52267 cat >>$CONFIG_STATUS <<\_ACEOF
52268
52269 #
52270 # CONFIG_HEADER section.
52271 #
52272
52273 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52274 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52275 #
52276 # ac_d sets the value in "#define NAME VALUE" lines.
52277 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52278 ac_dB='[ ].*$,\1#\2'
52279 ac_dC=' '
52280 ac_dD=',;t'
52281 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52282 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52283 ac_uB='$,\1#\2define\3'
52284 ac_uC=' '
52285 ac_uD=',;t'
52286
52287 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52288 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52289 case $ac_file in
52290 - | *:- | *:-:* ) # input from stdin
52291 cat >$tmp/stdin
52292 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52294 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52295 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52296 * ) ac_file_in=$ac_file.in ;;
52297 esac
52298
52299 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52300 echo "$as_me: creating $ac_file" >&6;}
52301
52302 # First look for the input files in the build tree, otherwise in the
52303 # src tree.
52304 ac_file_inputs=`IFS=:
52305 for f in $ac_file_in; do
52306 case $f in
52307 -) echo $tmp/stdin ;;
52308 [\\/$]*)
52309 # Absolute (can't be DOS-style, as IFS=:)
52310 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52311 echo "$as_me: error: cannot find input file: $f" >&2;}
52312 { (exit 1); exit 1; }; }
52313 # Do quote $f, to prevent DOS paths from being IFS'd.
52314 echo "$f";;
52315 *) # Relative
52316 if test -f "$f"; then
52317 # Build tree
52318 echo "$f"
52319 elif test -f "$srcdir/$f"; then
52320 # Source tree
52321 echo "$srcdir/$f"
52322 else
52323 # /dev/null tree
52324 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52325 echo "$as_me: error: cannot find input file: $f" >&2;}
52326 { (exit 1); exit 1; }; }
52327 fi;;
52328 esac
52329 done` || { (exit 1); exit 1; }
52330 # Remove the trailing spaces.
52331 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52332
52333 _ACEOF
52334
52335 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52336 # `conftest.undefs', that substitutes the proper values into
52337 # config.h.in to produce config.h. The first handles `#define'
52338 # templates, and the second `#undef' templates.
52339 # And first: Protect against being on the right side of a sed subst in
52340 # config.status. Protect against being in an unquoted here document
52341 # in config.status.
52342 rm -f conftest.defines conftest.undefs
52343 # Using a here document instead of a string reduces the quoting nightmare.
52344 # Putting comments in sed scripts is not portable.
52345 #
52346 # `end' is used to avoid that the second main sed command (meant for
52347 # 0-ary CPP macros) applies to n-ary macro definitions.
52348 # See the Autoconf documentation for `clear'.
52349 cat >confdef2sed.sed <<\_ACEOF
52350 s/[\\&,]/\\&/g
52351 s,[\\$`],\\&,g
52352 t clear
52353 : clear
52354 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52355 t end
52356 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52357 : end
52358 _ACEOF
52359 # If some macros were called several times there might be several times
52360 # the same #defines, which is useless. Nevertheless, we may not want to
52361 # sort them, since we want the *last* AC-DEFINE to be honored.
52362 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52363 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52364 rm -f confdef2sed.sed
52365
52366 # This sed command replaces #undef with comments. This is necessary, for
52367 # example, in the case of _POSIX_SOURCE, which is predefined and required
52368 # on some systems where configure will not decide to define it.
52369 cat >>conftest.undefs <<\_ACEOF
52370 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52371 _ACEOF
52372
52373 # Break up conftest.defines because some shells have a limit on the size
52374 # of here documents, and old seds have small limits too (100 cmds).
52375 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52376 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52377 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52378 echo ' :' >>$CONFIG_STATUS
52379 rm -f conftest.tail
52380 while grep . conftest.defines >/dev/null
52381 do
52382 # Write a limited-size here document to $tmp/defines.sed.
52383 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52384 # Speed up: don't consider the non `#define' lines.
52385 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52386 # Work around the forget-to-reset-the-flag bug.
52387 echo 't clr' >>$CONFIG_STATUS
52388 echo ': clr' >>$CONFIG_STATUS
52389 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52390 echo 'CEOF
52391 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52392 rm -f $tmp/in
52393 mv $tmp/out $tmp/in
52394 ' >>$CONFIG_STATUS
52395 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52396 rm -f conftest.defines
52397 mv conftest.tail conftest.defines
52398 done
52399 rm -f conftest.defines
52400 echo ' fi # grep' >>$CONFIG_STATUS
52401 echo >>$CONFIG_STATUS
52402
52403 # Break up conftest.undefs because some shells have a limit on the size
52404 # of here documents, and old seds have small limits too (100 cmds).
52405 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52406 rm -f conftest.tail
52407 while grep . conftest.undefs >/dev/null
52408 do
52409 # Write a limited-size here document to $tmp/undefs.sed.
52410 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52411 # Speed up: don't consider the non `#undef'
52412 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52413 # Work around the forget-to-reset-the-flag bug.
52414 echo 't clr' >>$CONFIG_STATUS
52415 echo ': clr' >>$CONFIG_STATUS
52416 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52417 echo 'CEOF
52418 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52419 rm -f $tmp/in
52420 mv $tmp/out $tmp/in
52421 ' >>$CONFIG_STATUS
52422 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52423 rm -f conftest.undefs
52424 mv conftest.tail conftest.undefs
52425 done
52426 rm -f conftest.undefs
52427
52428 cat >>$CONFIG_STATUS <<\_ACEOF
52429 # Let's still pretend it is `configure' which instantiates (i.e., don't
52430 # use $as_me), people would be surprised to read:
52431 # /* config.h. Generated by config.status. */
52432 if test x"$ac_file" = x-; then
52433 echo "/* Generated by configure. */" >$tmp/config.h
52434 else
52435 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52436 fi
52437 cat $tmp/in >>$tmp/config.h
52438 rm -f $tmp/in
52439 if test x"$ac_file" != x-; then
52440 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52441 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52442 echo "$as_me: $ac_file is unchanged" >&6;}
52443 else
52444 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52445 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52446 X"$ac_file" : 'X\(//\)[^/]' \| \
52447 X"$ac_file" : 'X\(//\)$' \| \
52448 X"$ac_file" : 'X\(/\)' \| \
52449 . : '\(.\)' 2>/dev/null ||
52450 echo X"$ac_file" |
52451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52453 /^X\(\/\/\)$/{ s//\1/; q; }
52454 /^X\(\/\).*/{ s//\1/; q; }
52455 s/.*/./; q'`
52456 { if $as_mkdir_p; then
52457 mkdir -p "$ac_dir"
52458 else
52459 as_dir="$ac_dir"
52460 as_dirs=
52461 while test ! -d "$as_dir"; do
52462 as_dirs="$as_dir $as_dirs"
52463 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52465 X"$as_dir" : 'X\(//\)[^/]' \| \
52466 X"$as_dir" : 'X\(//\)$' \| \
52467 X"$as_dir" : 'X\(/\)' \| \
52468 . : '\(.\)' 2>/dev/null ||
52469 echo X"$as_dir" |
52470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52472 /^X\(\/\/\)$/{ s//\1/; q; }
52473 /^X\(\/\).*/{ s//\1/; q; }
52474 s/.*/./; q'`
52475 done
52476 test ! -n "$as_dirs" || mkdir $as_dirs
52477 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52478 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52479 { (exit 1); exit 1; }; }; }
52480
52481 rm -f $ac_file
52482 mv $tmp/config.h $ac_file
52483 fi
52484 else
52485 cat $tmp/config.h
52486 rm -f $tmp/config.h
52487 fi
52488 done
52489 _ACEOF
52490 cat >>$CONFIG_STATUS <<\_ACEOF
52491
52492 #
52493 # CONFIG_COMMANDS section.
52494 #
52495 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52496 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52497 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52498 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52499 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52500 X"$ac_dest" : 'X\(//\)[^/]' \| \
52501 X"$ac_dest" : 'X\(//\)$' \| \
52502 X"$ac_dest" : 'X\(/\)' \| \
52503 . : '\(.\)' 2>/dev/null ||
52504 echo X"$ac_dest" |
52505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52507 /^X\(\/\/\)$/{ s//\1/; q; }
52508 /^X\(\/\).*/{ s//\1/; q; }
52509 s/.*/./; q'`
52510 { if $as_mkdir_p; then
52511 mkdir -p "$ac_dir"
52512 else
52513 as_dir="$ac_dir"
52514 as_dirs=
52515 while test ! -d "$as_dir"; do
52516 as_dirs="$as_dir $as_dirs"
52517 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52519 X"$as_dir" : 'X\(//\)[^/]' \| \
52520 X"$as_dir" : 'X\(//\)$' \| \
52521 X"$as_dir" : 'X\(/\)' \| \
52522 . : '\(.\)' 2>/dev/null ||
52523 echo X"$as_dir" |
52524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52526 /^X\(\/\/\)$/{ s//\1/; q; }
52527 /^X\(\/\).*/{ s//\1/; q; }
52528 s/.*/./; q'`
52529 done
52530 test ! -n "$as_dirs" || mkdir $as_dirs
52531 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52532 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52533 { (exit 1); exit 1; }; }; }
52534
52535 ac_builddir=.
52536
52537 if test "$ac_dir" != .; then
52538 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52539 # A "../" for each directory in $ac_dir_suffix.
52540 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52541 else
52542 ac_dir_suffix= ac_top_builddir=
52543 fi
52544
52545 case $srcdir in
52546 .) # No --srcdir option. We are building in place.
52547 ac_srcdir=.
52548 if test -z "$ac_top_builddir"; then
52549 ac_top_srcdir=.
52550 else
52551 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52552 fi ;;
52553 [\\/]* | ?:[\\/]* ) # Absolute path.
52554 ac_srcdir=$srcdir$ac_dir_suffix;
52555 ac_top_srcdir=$srcdir ;;
52556 *) # Relative path.
52557 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52558 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52559 esac
52560
52561 # Do not use `cd foo && pwd` to compute absolute paths, because
52562 # the directories may not exist.
52563 case `pwd` in
52564 .) ac_abs_builddir="$ac_dir";;
52565 *)
52566 case "$ac_dir" in
52567 .) ac_abs_builddir=`pwd`;;
52568 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52569 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52570 esac;;
52571 esac
52572 case $ac_abs_builddir in
52573 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52574 *)
52575 case ${ac_top_builddir}. in
52576 .) ac_abs_top_builddir=$ac_abs_builddir;;
52577 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52578 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52579 esac;;
52580 esac
52581 case $ac_abs_builddir in
52582 .) ac_abs_srcdir=$ac_srcdir;;
52583 *)
52584 case $ac_srcdir in
52585 .) ac_abs_srcdir=$ac_abs_builddir;;
52586 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52587 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52588 esac;;
52589 esac
52590 case $ac_abs_builddir in
52591 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52592 *)
52593 case $ac_top_srcdir in
52594 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52595 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52596 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52597 esac;;
52598 esac
52599
52600
52601 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52602 echo "$as_me: executing $ac_dest commands" >&6;}
52603 case $ac_dest in
52604 rcdefs.h )
52605 mkdir -p $outdir &&
52606 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52607 ;;
52608 wx-config ) rm -f wx-config
52609 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52610 ;;
52611 esac
52612 done
52613 _ACEOF
52614
52615 cat >>$CONFIG_STATUS <<\_ACEOF
52616
52617 { (exit 0); exit 0; }
52618 _ACEOF
52619 chmod +x $CONFIG_STATUS
52620 ac_clean_files=$ac_clean_files_save
52621
52622
52623 # configure is writing to config.log, and then calls config.status.
52624 # config.status does its own redirection, appending to config.log.
52625 # Unfortunately, on DOS this fails, as config.log is still kept open
52626 # by configure, so config.status won't be able to write to it; its
52627 # output is simply discarded. So we exec the FD to /dev/null,
52628 # effectively closing config.log, so it can be properly (re)opened and
52629 # appended to by config.status. When coming back to configure, we
52630 # need to make the FD available again.
52631 if test "$no_create" != yes; then
52632 ac_cs_success=:
52633 ac_config_status_args=
52634 test "$silent" = yes &&
52635 ac_config_status_args="$ac_config_status_args --quiet"
52636 exec 5>/dev/null
52637 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52638 exec 5>>config.log
52639 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52640 # would make configure fail if this is the last instruction.
52641 $ac_cs_success || { (exit 1); exit 1; }
52642 fi
52643
52644 #
52645 # CONFIG_SUBDIRS section.
52646 #
52647 if test "$no_recursion" != yes; then
52648
52649 # Remove --cache-file and --srcdir arguments so they do not pile up.
52650 ac_sub_configure_args=
52651 ac_prev=
52652 for ac_arg in $ac_configure_args; do
52653 if test -n "$ac_prev"; then
52654 ac_prev=
52655 continue
52656 fi
52657 case $ac_arg in
52658 -cache-file | --cache-file | --cache-fil | --cache-fi \
52659 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52660 ac_prev=cache_file ;;
52661 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52662 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52663 | --c=*)
52664 ;;
52665 --config-cache | -C)
52666 ;;
52667 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52668 ac_prev=srcdir ;;
52669 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52670 ;;
52671 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52672 ac_prev=prefix ;;
52673 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52674 ;;
52675 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52676 esac
52677 done
52678
52679 # Always prepend --prefix to ensure using the same prefix
52680 # in subdir configurations.
52681 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52682
52683 ac_popdir=`pwd`
52684 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52685
52686 # Do not complain, so a configure script can configure whichever
52687 # parts of a large source tree are present.
52688 test -d $srcdir/$ac_dir || continue
52689
52690 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52691 echo "$as_me: configuring in $ac_dir" >&6;}
52692 { if $as_mkdir_p; then
52693 mkdir -p "$ac_dir"
52694 else
52695 as_dir="$ac_dir"
52696 as_dirs=
52697 while test ! -d "$as_dir"; do
52698 as_dirs="$as_dir $as_dirs"
52699 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52700 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52701 X"$as_dir" : 'X\(//\)[^/]' \| \
52702 X"$as_dir" : 'X\(//\)$' \| \
52703 X"$as_dir" : 'X\(/\)' \| \
52704 . : '\(.\)' 2>/dev/null ||
52705 echo X"$as_dir" |
52706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52708 /^X\(\/\/\)$/{ s//\1/; q; }
52709 /^X\(\/\).*/{ s//\1/; q; }
52710 s/.*/./; q'`
52711 done
52712 test ! -n "$as_dirs" || mkdir $as_dirs
52713 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52714 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52715 { (exit 1); exit 1; }; }; }
52716
52717 ac_builddir=.
52718
52719 if test "$ac_dir" != .; then
52720 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52721 # A "../" for each directory in $ac_dir_suffix.
52722 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52723 else
52724 ac_dir_suffix= ac_top_builddir=
52725 fi
52726
52727 case $srcdir in
52728 .) # No --srcdir option. We are building in place.
52729 ac_srcdir=.
52730 if test -z "$ac_top_builddir"; then
52731 ac_top_srcdir=.
52732 else
52733 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52734 fi ;;
52735 [\\/]* | ?:[\\/]* ) # Absolute path.
52736 ac_srcdir=$srcdir$ac_dir_suffix;
52737 ac_top_srcdir=$srcdir ;;
52738 *) # Relative path.
52739 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52740 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52741 esac
52742
52743 # Do not use `cd foo && pwd` to compute absolute paths, because
52744 # the directories may not exist.
52745 case `pwd` in
52746 .) ac_abs_builddir="$ac_dir";;
52747 *)
52748 case "$ac_dir" in
52749 .) ac_abs_builddir=`pwd`;;
52750 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52751 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52752 esac;;
52753 esac
52754 case $ac_abs_builddir in
52755 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52756 *)
52757 case ${ac_top_builddir}. in
52758 .) ac_abs_top_builddir=$ac_abs_builddir;;
52759 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52760 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52761 esac;;
52762 esac
52763 case $ac_abs_builddir in
52764 .) ac_abs_srcdir=$ac_srcdir;;
52765 *)
52766 case $ac_srcdir in
52767 .) ac_abs_srcdir=$ac_abs_builddir;;
52768 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52769 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52770 esac;;
52771 esac
52772 case $ac_abs_builddir in
52773 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52774 *)
52775 case $ac_top_srcdir in
52776 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52777 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52778 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52779 esac;;
52780 esac
52781
52782
52783 cd $ac_dir
52784
52785 # Check for guested configure; otherwise get Cygnus style configure.
52786 if test -f $ac_srcdir/configure.gnu; then
52787 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52788 elif test -f $ac_srcdir/configure; then
52789 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52790 elif test -f $ac_srcdir/configure.in; then
52791 ac_sub_configure=$ac_configure
52792 else
52793 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52794 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52795 ac_sub_configure=
52796 fi
52797
52798 # The recursion is here.
52799 if test -n "$ac_sub_configure"; then
52800 # Make the cache file name correct relative to the subdirectory.
52801 case $cache_file in
52802 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52803 *) # Relative path.
52804 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52805 esac
52806
52807 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52808 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52809 # The eval makes quoting arguments work.
52810 eval $ac_sub_configure $ac_sub_configure_args \
52811 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52812 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52813 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52814 { (exit 1); exit 1; }; }
52815 fi
52816
52817 cd "$ac_popdir"
52818 done
52819 fi
52820
52821
52822 echo
52823 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52824 echo ""
52825 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52826 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52827
52828 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52829 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52830 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52831
52832 echo " What level of wxWidgets compatibility should be enabled?"
52833 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52834 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52835
52836 echo " Which libraries should wxWidgets use?"
52837 echo " jpeg ${wxUSE_LIBJPEG-none}"
52838 echo " png ${wxUSE_LIBPNG-none}"
52839 echo " regex ${wxUSE_REGEX}"
52840 echo " tiff ${wxUSE_LIBTIFF-none}"
52841 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52842 echo " xpm ${wxUSE_LIBXPM-none}"
52843 fi
52844 echo " zlib ${wxUSE_ZLIB}"
52845 echo " odbc ${wxUSE_ODBC}"
52846 echo " expat ${wxUSE_EXPAT}"
52847 echo " libmspack ${wxUSE_LIBMSPACK}"
52848 echo " sdl ${wxUSE_LIBSDL}"
52849
52850 echo ""
52851