]> git.saurik.com Git - wxWidgets.git/blob - configure
Version changes
[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 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 NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_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_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_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
1816
1817 USE_UNIX=1
1818 USE_OS2=0
1819 USE_WIN32=0
1820 USE_DOS=0
1821 USE_BEOS=0
1822 USE_MAC=0
1823
1824 USE_AIX=
1825 USE_BSD= USE_DARWIN= USE_FREEBSD=
1826 USE_GNU= USE_HPUX=
1827 USE_LINUX=
1828 USE_NETBSD=
1829 USE_OPENBSD=
1830 USE_OSF= USE_SGI=
1831 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1832 USE_ULTRIX=
1833 USE_UNIXWARE=
1834
1835 USE_ALPHA=
1836
1837 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1838
1839 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1840
1841 DEFAULT_wxUSE_COCOA=0
1842 DEFAULT_wxUSE_GTK=0
1843 DEFAULT_wxUSE_MAC=0
1844 DEFAULT_wxUSE_MGL=0
1845 DEFAULT_wxUSE_MICROWIN=0
1846 DEFAULT_wxUSE_MOTIF=0
1847 DEFAULT_wxUSE_MSW=0
1848 DEFAULT_wxUSE_PM=0
1849 DEFAULT_wxUSE_X11=0
1850 DEFAULT_wxUSE_DFB=0
1851
1852 DEFAULT_DEFAULT_wxUSE_COCOA=0
1853 DEFAULT_DEFAULT_wxUSE_GTK=0
1854 DEFAULT_DEFAULT_wxUSE_MAC=0
1855 DEFAULT_DEFAULT_wxUSE_MGL=0
1856 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1858 DEFAULT_DEFAULT_wxUSE_MSW=0
1859 DEFAULT_DEFAULT_wxUSE_PM=0
1860 DEFAULT_DEFAULT_wxUSE_X11=0
1861 DEFAULT_DEFAULT_wxUSE_DFB=0
1862
1863 PROGRAM_EXT=
1864 SO_SUFFIX=so
1865 SAMPLES_RPATH_FLAG=
1866 SAMPLES_RPATH_POSTLINK=
1867
1868 DEFAULT_STD_FLAG=yes
1869
1870 case "${host}" in
1871 *-hp-hpux* )
1872 USE_HPUX=1
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1875 SO_SUFFIX=sl
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __HPUX__ 1
1878 _ACEOF
1879
1880
1881 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1882 ;;
1883 *-*-linux* )
1884 USE_LINUX=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __LINUX__ 1
1887 _ACEOF
1888
1889 TMP=`uname -m`
1890 if test "x$TMP" = "xalpha"; then
1891 USE_ALPHA=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __ALPHA__ 1
1894 _ACEOF
1895
1896 fi
1897 DEFAULT_DEFAULT_wxUSE_GTK=1
1898 ;;
1899 *-*-gnu* | *-*-k*bsd*-gnu )
1900 USE_GNU=1
1901 TMP=`uname -m`
1902 if test "x$TMP" = "xalpha"; then
1903 USE_ALPHA=1
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __ALPHA__ 1
1906 _ACEOF
1907
1908 fi
1909 DEFAULT_DEFAULT_wxUSE_GTK=1
1910 ;;
1911 *-*-irix5* | *-*-irix6* )
1912 USE_SGI=1
1913 USE_SVR4=1
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __SGI__ 1
1916 _ACEOF
1917
1918 cat >>confdefs.h <<\_ACEOF
1919 #define __SVR4__ 1
1920 _ACEOF
1921
1922 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1923 ;;
1924 *-*-solaris2* )
1925 USE_SUN=1
1926 USE_SOLARIS=1
1927 USE_SVR4=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __SUN__ 1
1930 _ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __SOLARIS__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __SVR4__ 1
1938 _ACEOF
1939
1940 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1941 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1942 ;;
1943 *-*-sunos4* )
1944 USE_SUN=1
1945 USE_SUNOS=1
1946 USE_BSD=1
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __SUN__ 1
1949 _ACEOF
1950
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __SUNOS__ 1
1953 _ACEOF
1954
1955 cat >>confdefs.h <<\_ACEOF
1956 #define __BSD__ 1
1957 _ACEOF
1958
1959 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1960 ;;
1961 *-*-freebsd*)
1962 USE_BSD=1
1963 USE_FREEBSD=1
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __FREEBSD__ 1
1966 _ACEOF
1967
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __BSD__ 1
1970 _ACEOF
1971
1972 DEFAULT_DEFAULT_wxUSE_GTK=1
1973 ;;
1974 *-*-openbsd*|*-*-mirbsd*)
1975 USE_BSD=1
1976 USE_OPENBSD=1
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __OPENBSD__ 1
1979 _ACEOF
1980
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __BSD__ 1
1983 _ACEOF
1984
1985 DEFAULT_DEFAULT_wxUSE_GTK=1
1986 ;;
1987 *-*-netbsd*)
1988 USE_BSD=1
1989 USE_NETBSD=1
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __NETBSD__ 1
1992 _ACEOF
1993
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __BSD__ 1
1996 _ACEOF
1997
1998 DEFAULT_DEFAULT_wxUSE_GTK=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2000
2001 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2002 ;;
2003 *-*-osf* )
2004 USE_ALPHA=1
2005 USE_OSF=1
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __ALPHA__ 1
2008 _ACEOF
2009
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __OSF__ 1
2012 _ACEOF
2013
2014 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2015 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2016 ;;
2017 *-*-dgux5* )
2018 USE_ALPHA=1
2019 USE_SVR4=1
2020 cat >>confdefs.h <<\_ACEOF
2021 #define __ALPHA__ 1
2022 _ACEOF
2023
2024 cat >>confdefs.h <<\_ACEOF
2025 #define __SVR4__ 1
2026 _ACEOF
2027
2028 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2029 ;;
2030 *-*-sysv5* )
2031 USE_SYSV=1
2032 USE_SVR4=1
2033 cat >>confdefs.h <<\_ACEOF
2034 #define __SYSV__ 1
2035 _ACEOF
2036
2037 cat >>confdefs.h <<\_ACEOF
2038 #define __SVR4__ 1
2039 _ACEOF
2040
2041 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2042 ;;
2043 *-*-aix* )
2044 USE_AIX=1
2045 USE_SYSV=1
2046 USE_SVR4=1
2047 SO_SUFFIX=a
2048 cat >>confdefs.h <<\_ACEOF
2049 #define __AIX__ 1
2050 _ACEOF
2051
2052 cat >>confdefs.h <<\_ACEOF
2053 #define __SYSV__ 1
2054 _ACEOF
2055
2056 cat >>confdefs.h <<\_ACEOF
2057 #define __SVR4__ 1
2058 _ACEOF
2059
2060 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2061 ;;
2062
2063 *-*-*UnixWare*)
2064 USE_SYSV=1
2065 USE_SVR4=1
2066 USE_UNIXWARE=1
2067 cat >>confdefs.h <<\_ACEOF
2068 #define __UNIXWARE__ 1
2069 _ACEOF
2070
2071 ;;
2072
2073 *-*-cygwin* | *-*-mingw32* )
2074 SO_SUFFIX=dll
2075 PROGRAM_EXT=".exe"
2076 DEFAULT_DEFAULT_wxUSE_MSW=1
2077 ;;
2078
2079 *-pc-msdosdjgpp )
2080 USE_UNIX=0
2081 USE_DOS=1
2082 cat >>confdefs.h <<\_ACEOF
2083 #define __DOS__ 1
2084 _ACEOF
2085
2086 PROGRAM_EXT=".exe"
2087 DEFAULT_DEFAULT_wxUSE_MGL=1
2088 ;;
2089
2090 *-pc-os2_emx | *-pc-os2-emx )
2091 cat >>confdefs.h <<\_ACEOF
2092 #define __EMX__ 1
2093 _ACEOF
2094
2095 USE_OS2=1
2096 cat >>confdefs.h <<\_ACEOF
2097 #define __OS2__ 1
2098 _ACEOF
2099
2100 PROGRAM_EXT=".exe"
2101 DEFAULT_DEFAULT_wxUSE_PM=1
2102 CXX=gcc
2103 LDFLAGS="$LDFLAGS -Zcrtdll"
2104 ac_executable_extensions=".exe"
2105 export ac_executable_extensions
2106 ac_save_IFS="$IFS"
2107 IFS='\\'
2108 ac_TEMP_PATH=
2109 for ac_dir in $PATH; do
2110 IFS=$ac_save_IFS
2111 if test -z "$ac_TEMP_PATH"; then
2112 ac_TEMP_PATH="$ac_dir"
2113 else
2114 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2115 fi
2116 done
2117 export PATH="$ac_TEMP_PATH"
2118 unset ac_TEMP_PATH
2119 DEFAULT_STD_FLAG=no
2120 ;;
2121
2122 *-*-darwin* )
2123 USE_BSD=1
2124 USE_DARWIN=1
2125 SO_SUFFIX=dylib
2126 cat >>confdefs.h <<\_ACEOF
2127 #define __BSD__ 1
2128 _ACEOF
2129
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __DARWIN__ 1
2132 _ACEOF
2133
2134 cat >>confdefs.h <<\_ACEOF
2135 #define TARGET_CARBON 1
2136 _ACEOF
2137
2138 DEFAULT_DEFAULT_wxUSE_MAC=1
2139 DEFAULT_STD_FLAG=no
2140 ;;
2141 powerpc-apple-macos* )
2142 USE_UNIX=0
2143 ac_cv_c_bigendian=yes
2144 SO_SUFFIX=shlib
2145 DEFAULT_DEFAULT_wxUSE_MAC=1
2146 DEFAULT_STD_FLAG=no
2147 ;;
2148
2149 *-*-beos* )
2150 USE_BEOS=1
2151 cat >>confdefs.h <<\_ACEOF
2152 #define __BEOS__ 1
2153 _ACEOF
2154
2155 ;;
2156
2157 *)
2158 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2159 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2160 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2161 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2162
2163 DEFAULT_DEFAULT_wxUSE_X11=1
2164 DEFAULT_wxUSE_SHARED=no
2165 esac
2166
2167
2168
2169
2170 wx_arg_cache_file="configarg.cache"
2171 echo "loading argument cache $wx_arg_cache_file"
2172 rm -f ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}.tmp
2174 touch ${wx_arg_cache_file}
2175
2176
2177 DEBUG_CONFIGURE=0
2178 if test $DEBUG_CONFIGURE = 1; then
2179 DEFAULT_wxUSE_UNIVERSAL=no
2180 DEFAULT_wxUSE_STL=no
2181
2182 DEFAULT_wxUSE_NANOX=no
2183
2184 DEFAULT_wxUSE_THREADS=yes
2185
2186 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2187 DEFAULT_wxUSE_OPTIMISE=no
2188 DEFAULT_wxUSE_PROFILE=no
2189 DEFAULT_wxUSE_NO_DEPS=no
2190 DEFAULT_wxUSE_NO_RTTI=no
2191 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2192 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2193 DEFAULT_wxUSE_RPATH=yes
2194 DEFAULT_wxUSE_PERMISSIVE=no
2195 DEFAULT_wxUSE_DEBUG_FLAG=yes
2196 DEFAULT_wxUSE_DEBUG_INFO=yes
2197 DEFAULT_wxUSE_DEBUG_GDB=yes
2198 DEFAULT_wxUSE_MEM_TRACING=no
2199 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2200 DEFAULT_wxUSE_DMALLOC=no
2201 DEFAULT_wxUSE_APPLE_IEEE=no
2202
2203 DEFAULT_wxUSE_EXCEPTIONS=no
2204 DEFAULT_wxUSE_LOG=yes
2205 DEFAULT_wxUSE_LOGWINDOW=no
2206 DEFAULT_wxUSE_LOGGUI=no
2207 DEFAULT_wxUSE_LOGDIALOG=no
2208
2209 DEFAULT_wxUSE_GUI=yes
2210 DEFAULT_wxUSE_CONTROLS=no
2211
2212 DEFAULT_wxUSE_REGEX=no
2213 DEFAULT_wxUSE_XML=no
2214 DEFAULT_wxUSE_EXPAT=no
2215 DEFAULT_wxUSE_ZLIB=no
2216 DEFAULT_wxUSE_LIBPNG=no
2217 DEFAULT_wxUSE_LIBJPEG=no
2218 DEFAULT_wxUSE_LIBTIFF=no
2219 DEFAULT_wxUSE_LIBXPM=no
2220 DEFAULT_wxUSE_LIBMSPACK=no
2221 DEFAULT_wxUSE_LIBSDL=no
2222 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2223 DEFAULT_wxUSE_LIBGNOMEVFS=no
2224 DEFAULT_wxUSE_LIBHILDON=no
2225 DEFAULT_wxUSE_ODBC=no
2226 DEFAULT_wxUSE_OPENGL=no
2227
2228 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2229 DEFAULT_wxUSE_STACKWALKER=no
2230 DEFAULT_wxUSE_DEBUGREPORT=no
2231 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2232 DEFAULT_wxUSE_STD_IOSTREAM=no
2233 DEFAULT_wxUSE_STD_STRING=no
2234 DEFAULT_wxUSE_CMDLINE_PARSER=no
2235 DEFAULT_wxUSE_DATETIME=no
2236 DEFAULT_wxUSE_TIMER=no
2237 DEFAULT_wxUSE_STOPWATCH=no
2238 DEFAULT_wxUSE_FILE=no
2239 DEFAULT_wxUSE_FFILE=no
2240 DEFAULT_wxUSE_STDPATHS=no
2241 DEFAULT_wxUSE_TEXTBUFFER=no
2242 DEFAULT_wxUSE_TEXTFILE=no
2243 DEFAULT_wxUSE_SOUND=no
2244 DEFAULT_wxUSE_MEDIACTRL=no
2245 DEFAULT_wxUSE_GSTREAMER8=no
2246 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2247 DEFAULT_wxUSE_INTL=no
2248 DEFAULT_wxUSE_CONFIG=no
2249 DEFAULT_wxUSE_FONTMAP=no
2250 DEFAULT_wxUSE_STREAMS=no
2251 DEFAULT_wxUSE_SOCKETS=no
2252 DEFAULT_wxUSE_OLE=no
2253 DEFAULT_wxUSE_DATAOBJ=no
2254 DEFAULT_wxUSE_DIALUP_MANAGER=no
2255 DEFAULT_wxUSE_JOYSTICK=no
2256 DEFAULT_wxUSE_DYNLIB_CLASS=no
2257 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2258 DEFAULT_wxUSE_LONGLONG=no
2259 DEFAULT_wxUSE_GEOMETRY=no
2260
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2263 DEFAULT_wxUSE_POSTSCRIPT=no
2264
2265 DEFAULT_wxUSE_CLIPBOARD=no
2266 DEFAULT_wxUSE_TOOLTIPS=no
2267 DEFAULT_wxUSE_DRAG_AND_DROP=no
2268 DEFAULT_wxUSE_DRAGIMAGE=no
2269 DEFAULT_wxUSE_SPLINES=no
2270 DEFAULT_wxUSE_MOUSEWHEEL=no
2271
2272 DEFAULT_wxUSE_MDI=no
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2276
2277 DEFAULT_wxUSE_RESOURCES=no
2278 DEFAULT_wxUSE_CONSTRAINTS=no
2279 DEFAULT_wxUSE_IPC=no
2280 DEFAULT_wxUSE_HELP=no
2281 DEFAULT_wxUSE_MS_HTML_HELP=no
2282 DEFAULT_wxUSE_WXHTML_HELP=no
2283 DEFAULT_wxUSE_TREELAYOUT=no
2284 DEFAULT_wxUSE_METAFILE=no
2285 DEFAULT_wxUSE_MIMETYPE=no
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2287 DEFAULT_wxUSE_PROTOCOL=no
2288 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2289 DEFAULT_wxUSE_PROTOCOL_FTP=no
2290 DEFAULT_wxUSE_PROTOCOL_FILE=no
2291 DEFAULT_wxUSE_URL=no
2292 DEFAULT_wxUSE_VARIANT=no
2293
2294 DEFAULT_wxUSE_ABOUTDLG=no
2295 DEFAULT_wxUSE_COMMONDLGS=no
2296 DEFAULT_wxUSE_CHOICEDLG=no
2297 DEFAULT_wxUSE_COLOURDLG=no
2298 DEFAULT_wxUSE_DIRDLG=no
2299 DEFAULT_wxUSE_FILEDLG=no
2300 DEFAULT_wxUSE_FINDREPLDLG=no
2301 DEFAULT_wxUSE_FONTDLG=no
2302 DEFAULT_wxUSE_MSGDLG=no
2303 DEFAULT_wxUSE_NUMBERDLG=no
2304 DEFAULT_wxUSE_TEXTDLG=no
2305 DEFAULT_wxUSE_SPLASH=no
2306 DEFAULT_wxUSE_STARTUP_TIPS=no
2307 DEFAULT_wxUSE_PROGRESSDLG=no
2308 DEFAULT_wxUSE_WIZARDDLG=no
2309
2310 DEFAULT_wxUSE_MENUS=no
2311 DEFAULT_wxUSE_MINIFRAME=no
2312 DEFAULT_wxUSE_HTML=no
2313 DEFAULT_wxUSE_RICHTEXT=no
2314 DEFAULT_wxUSE_XRC=no
2315 DEFAULT_wxUSE_AUI=no
2316 DEFAULT_wxUSE_WEBKIT=no
2317 DEFAULT_wxUSE_FILESYSTEM=no
2318 DEFAULT_wxUSE_FS_INET=no
2319 DEFAULT_wxUSE_FS_ZIP=no
2320 DEFAULT_wxUSE_FS_ARCHIVE=no
2321 DEFAULT_wxUSE_BUSYINFO=no
2322 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2323 DEFAULT_wxUSE_ZIPSTREAM=no
2324 DEFAULT_wxUSE_TARSTREAM=no
2325 DEFAULT_wxUSE_VALIDATORS=no
2326
2327 DEFAULT_wxUSE_ACCEL=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL=no
2329 DEFAULT_wxUSE_BUTTON=no
2330 DEFAULT_wxUSE_BMPBUTTON=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2332 DEFAULT_wxUSE_CALCTRL=no
2333 DEFAULT_wxUSE_CARET=no
2334 DEFAULT_wxUSE_CHECKBOX=no
2335 DEFAULT_wxUSE_CHECKLST=no
2336 DEFAULT_wxUSE_CHOICE=no
2337 DEFAULT_wxUSE_CHOICEBOOK=no
2338 DEFAULT_wxUSE_COLLPANE=no
2339 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2340 DEFAULT_wxUSE_COMBOBOX=no
2341 DEFAULT_wxUSE_COMBOCTRL=no
2342 DEFAULT_wxUSE_DATEPICKCTRL=no
2343 DEFAULT_wxUSE_DISPLAY=no
2344 DEFAULT_wxUSE_DETECT_SM=no
2345 DEFAULT_wxUSE_DIRPICKERCTRL=no
2346 DEFAULT_wxUSE_FILEPICKERCTRL=no
2347 DEFAULT_wxUSE_FONTPICKERCTRL=no
2348 DEFAULT_wxUSE_GAUGE=no
2349 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2350 DEFAULT_wxUSE_GRID=no
2351 DEFAULT_wxUSE_HYPERLINKCTRL=no
2352 DEFAULT_wxUSE_DATAVIEWCTRL=no
2353 DEFAULT_wxUSE_IMAGLIST=no
2354 DEFAULT_wxUSE_LISTBOOK=no
2355 DEFAULT_wxUSE_LISTBOX=no
2356 DEFAULT_wxUSE_LISTCTRL=no
2357 DEFAULT_wxUSE_NOTEBOOK=no
2358 DEFAULT_wxUSE_ODCOMBOBOX=no
2359 DEFAULT_wxUSE_RADIOBOX=no
2360 DEFAULT_wxUSE_RADIOBTN=no
2361 DEFAULT_wxUSE_SASH=no
2362 DEFAULT_wxUSE_SCROLLBAR=no
2363 DEFAULT_wxUSE_SLIDER=no
2364 DEFAULT_wxUSE_SPINBTN=no
2365 DEFAULT_wxUSE_SPINCTRL=no
2366 DEFAULT_wxUSE_SPLITTER=no
2367 DEFAULT_wxUSE_STATBMP=no
2368 DEFAULT_wxUSE_STATBOX=no
2369 DEFAULT_wxUSE_STATLINE=no
2370 DEFAULT_wxUSE_STATTEXT=no
2371 DEFAULT_wxUSE_STATUSBAR=yes
2372 DEFAULT_wxUSE_TAB_DIALOG=no
2373 DEFAULT_wxUSE_TEXTCTRL=no
2374 DEFAULT_wxUSE_TOGGLEBTN=no
2375 DEFAULT_wxUSE_TOOLBAR=no
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2377 DEFAULT_wxUSE_TREEBOOK=no
2378 DEFAULT_wxUSE_TOOLBOOK=no
2379 DEFAULT_wxUSE_TREECTRL=no
2380 DEFAULT_wxUSE_POPUPWIN=no
2381 DEFAULT_wxUSE_TIPWINDOW=no
2382
2383 DEFAULT_wxUSE_UNICODE=no
2384 DEFAULT_wxUSE_UNICODE_MSLU=no
2385 DEFAULT_wxUSE_WCSRTOMBS=no
2386
2387 DEFAULT_wxUSE_PALETTE=no
2388 DEFAULT_wxUSE_IMAGE=no
2389 DEFAULT_wxUSE_GIF=no
2390 DEFAULT_wxUSE_PCX=no
2391 DEFAULT_wxUSE_TGA=no
2392 DEFAULT_wxUSE_PNM=no
2393 DEFAULT_wxUSE_IFF=no
2394 DEFAULT_wxUSE_XPM=no
2395 DEFAULT_wxUSE_ICO_CUR=no
2396 DEFAULT_wxUSE_ACCESSIBILITY=no
2397
2398 DEFAULT_wxUSE_MONOLITHIC=no
2399 DEFAULT_wxUSE_PLUGINS=no
2400 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2401 else
2402 DEFAULT_wxUSE_UNIVERSAL=no
2403 DEFAULT_wxUSE_STL=no
2404
2405 DEFAULT_wxUSE_NANOX=no
2406
2407 DEFAULT_wxUSE_THREADS=yes
2408
2409 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2410 DEFAULT_wxUSE_OPTIMISE=yes
2411 DEFAULT_wxUSE_PROFILE=no
2412 DEFAULT_wxUSE_NO_DEPS=no
2413 DEFAULT_wxUSE_NO_RTTI=no
2414 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2415 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2416 DEFAULT_wxUSE_RPATH=yes
2417 DEFAULT_wxUSE_PERMISSIVE=no
2418 DEFAULT_wxUSE_DEBUG_FLAG=no
2419 DEFAULT_wxUSE_DEBUG_INFO=no
2420 DEFAULT_wxUSE_DEBUG_GDB=no
2421 DEFAULT_wxUSE_MEM_TRACING=no
2422 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2423 DEFAULT_wxUSE_DMALLOC=no
2424 DEFAULT_wxUSE_APPLE_IEEE=yes
2425
2426 DEFAULT_wxUSE_EXCEPTIONS=yes
2427 DEFAULT_wxUSE_LOG=yes
2428 DEFAULT_wxUSE_LOGWINDOW=yes
2429 DEFAULT_wxUSE_LOGGUI=yes
2430 DEFAULT_wxUSE_LOGDIALOG=yes
2431
2432 DEFAULT_wxUSE_GUI=yes
2433
2434 DEFAULT_wxUSE_REGEX=yes
2435 DEFAULT_wxUSE_XML=yes
2436 DEFAULT_wxUSE_EXPAT=yes
2437 DEFAULT_wxUSE_ZLIB=yes
2438 DEFAULT_wxUSE_LIBPNG=yes
2439 DEFAULT_wxUSE_LIBJPEG=yes
2440 DEFAULT_wxUSE_LIBTIFF=yes
2441 DEFAULT_wxUSE_LIBXPM=yes
2442 DEFAULT_wxUSE_LIBMSPACK=yes
2443 DEFAULT_wxUSE_LIBSDL=no
2444 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2445 DEFAULT_wxUSE_LIBGNOMEVFS=no
2446 DEFAULT_wxUSE_LIBHILDON=no
2447 DEFAULT_wxUSE_ODBC=no
2448 DEFAULT_wxUSE_OPENGL=no
2449
2450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2451 DEFAULT_wxUSE_STACKWALKER=yes
2452 DEFAULT_wxUSE_DEBUGREPORT=yes
2453 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2454 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2455 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2456 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2457 DEFAULT_wxUSE_DATETIME=yes
2458 DEFAULT_wxUSE_TIMER=yes
2459 DEFAULT_wxUSE_STOPWATCH=yes
2460 DEFAULT_wxUSE_FILE=yes
2461 DEFAULT_wxUSE_FFILE=yes
2462 DEFAULT_wxUSE_STDPATHS=yes
2463 DEFAULT_wxUSE_TEXTBUFFER=yes
2464 DEFAULT_wxUSE_TEXTFILE=yes
2465 DEFAULT_wxUSE_SOUND=yes
2466 DEFAULT_wxUSE_MEDIACTRL=no
2467 DEFAULT_wxUSE_GSTREAMER8=no
2468 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2469 DEFAULT_wxUSE_INTL=yes
2470 DEFAULT_wxUSE_CONFIG=yes
2471 DEFAULT_wxUSE_FONTMAP=yes
2472 DEFAULT_wxUSE_STREAMS=yes
2473 DEFAULT_wxUSE_SOCKETS=yes
2474 DEFAULT_wxUSE_OLE=yes
2475 DEFAULT_wxUSE_DATAOBJ=yes
2476 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2477 DEFAULT_wxUSE_JOYSTICK=yes
2478 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2479 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2480 DEFAULT_wxUSE_LONGLONG=yes
2481 DEFAULT_wxUSE_GEOMETRY=yes
2482
2483 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2484 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2485 DEFAULT_wxUSE_POSTSCRIPT=yes
2486
2487 DEFAULT_wxUSE_CLIPBOARD=yes
2488 DEFAULT_wxUSE_TOOLTIPS=yes
2489 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2490 DEFAULT_wxUSE_DRAGIMAGE=yes
2491 DEFAULT_wxUSE_SPLINES=yes
2492 DEFAULT_wxUSE_MOUSEWHEEL=yes
2493
2494 DEFAULT_wxUSE_MDI=yes
2495 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2496 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2497 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2498
2499 DEFAULT_wxUSE_RESOURCES=no
2500 DEFAULT_wxUSE_CONSTRAINTS=yes
2501 DEFAULT_wxUSE_IPC=yes
2502 DEFAULT_wxUSE_HELP=yes
2503 DEFAULT_wxUSE_MS_HTML_HELP=yes
2504 DEFAULT_wxUSE_WXHTML_HELP=yes
2505 DEFAULT_wxUSE_TREELAYOUT=yes
2506 DEFAULT_wxUSE_METAFILE=yes
2507 DEFAULT_wxUSE_MIMETYPE=yes
2508 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2509 DEFAULT_wxUSE_PROTOCOL=yes
2510 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2511 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2512 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2513 DEFAULT_wxUSE_URL=yes
2514 DEFAULT_wxUSE_VARIANT=yes
2515
2516 DEFAULT_wxUSE_ABOUTDLG=yes
2517 DEFAULT_wxUSE_COMMONDLGS=yes
2518 DEFAULT_wxUSE_CHOICEDLG=yes
2519 DEFAULT_wxUSE_COLOURDLG=yes
2520 DEFAULT_wxUSE_DIRDLG=yes
2521 DEFAULT_wxUSE_FILEDLG=yes
2522 DEFAULT_wxUSE_FINDREPLDLG=yes
2523 DEFAULT_wxUSE_FONTDLG=yes
2524 DEFAULT_wxUSE_MSGDLG=yes
2525 DEFAULT_wxUSE_NUMBERDLG=yes
2526 DEFAULT_wxUSE_TEXTDLG=yes
2527 DEFAULT_wxUSE_SPLASH=yes
2528 DEFAULT_wxUSE_STARTUP_TIPS=yes
2529 DEFAULT_wxUSE_PROGRESSDLG=yes
2530 DEFAULT_wxUSE_WIZARDDLG=yes
2531
2532 DEFAULT_wxUSE_MENUS=yes
2533 DEFAULT_wxUSE_MINIFRAME=yes
2534 DEFAULT_wxUSE_HTML=yes
2535 DEFAULT_wxUSE_RICHTEXT=yes
2536 DEFAULT_wxUSE_XRC=yes
2537 DEFAULT_wxUSE_AUI=yes
2538 DEFAULT_wxUSE_WEBKIT=yes
2539 DEFAULT_wxUSE_FILESYSTEM=yes
2540 DEFAULT_wxUSE_FS_INET=yes
2541 DEFAULT_wxUSE_FS_ZIP=yes
2542 DEFAULT_wxUSE_FS_ARCHIVE=yes
2543 DEFAULT_wxUSE_BUSYINFO=yes
2544 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2545 DEFAULT_wxUSE_ZIPSTREAM=yes
2546 DEFAULT_wxUSE_TARSTREAM=yes
2547 DEFAULT_wxUSE_VALIDATORS=yes
2548
2549 DEFAULT_wxUSE_ACCEL=yes
2550 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2551 DEFAULT_wxUSE_BUTTON=yes
2552 DEFAULT_wxUSE_BMPBUTTON=yes
2553 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2554 DEFAULT_wxUSE_CALCTRL=yes
2555 DEFAULT_wxUSE_CARET=yes
2556 DEFAULT_wxUSE_CHECKBOX=yes
2557 DEFAULT_wxUSE_CHECKLST=yes
2558 DEFAULT_wxUSE_CHOICE=yes
2559 DEFAULT_wxUSE_CHOICEBOOK=yes
2560 DEFAULT_wxUSE_COLLPANE=yes
2561 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2562 DEFAULT_wxUSE_COMBOBOX=yes
2563 DEFAULT_wxUSE_COMBOCTRL=yes
2564 DEFAULT_wxUSE_DATEPICKCTRL=yes
2565 DEFAULT_wxUSE_DISPLAY=yes
2566 DEFAULT_wxUSE_DETECT_SM=yes
2567 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2568 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2569 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2570 DEFAULT_wxUSE_GAUGE=yes
2571 DEFAULT_wxUSE_GRID=yes
2572 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2573 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2574 DEFAULT_wxUSE_DATAVIEWCTRL=no
2575 DEFAULT_wxUSE_IMAGLIST=yes
2576 DEFAULT_wxUSE_LISTBOOK=yes
2577 DEFAULT_wxUSE_LISTBOX=yes
2578 DEFAULT_wxUSE_LISTCTRL=yes
2579 DEFAULT_wxUSE_NOTEBOOK=yes
2580 DEFAULT_wxUSE_ODCOMBOBOX=yes
2581 DEFAULT_wxUSE_RADIOBOX=yes
2582 DEFAULT_wxUSE_RADIOBTN=yes
2583 DEFAULT_wxUSE_SASH=yes
2584 DEFAULT_wxUSE_SCROLLBAR=yes
2585 DEFAULT_wxUSE_SLIDER=yes
2586 DEFAULT_wxUSE_SPINBTN=yes
2587 DEFAULT_wxUSE_SPINCTRL=yes
2588 DEFAULT_wxUSE_SPLITTER=yes
2589 DEFAULT_wxUSE_STATBMP=yes
2590 DEFAULT_wxUSE_STATBOX=yes
2591 DEFAULT_wxUSE_STATLINE=yes
2592 DEFAULT_wxUSE_STATTEXT=yes
2593 DEFAULT_wxUSE_STATUSBAR=yes
2594 DEFAULT_wxUSE_TAB_DIALOG=no
2595 DEFAULT_wxUSE_TEXTCTRL=yes
2596 DEFAULT_wxUSE_TOGGLEBTN=yes
2597 DEFAULT_wxUSE_TOOLBAR=yes
2598 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2599 DEFAULT_wxUSE_TREEBOOK=yes
2600 DEFAULT_wxUSE_TOOLBOOK=yes
2601 DEFAULT_wxUSE_TREECTRL=yes
2602 DEFAULT_wxUSE_POPUPWIN=yes
2603 DEFAULT_wxUSE_TIPWINDOW=yes
2604
2605 DEFAULT_wxUSE_UNICODE=no
2606 DEFAULT_wxUSE_UNICODE_MSLU=yes
2607 DEFAULT_wxUSE_WCSRTOMBS=no
2608
2609 DEFAULT_wxUSE_PALETTE=yes
2610 DEFAULT_wxUSE_IMAGE=yes
2611 DEFAULT_wxUSE_GIF=yes
2612 DEFAULT_wxUSE_PCX=yes
2613 DEFAULT_wxUSE_TGA=yes
2614 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2615 DEFAULT_wxUSE_XPM=yes
2616 DEFAULT_wxUSE_ICO_CUR=yes
2617 DEFAULT_wxUSE_ACCESSIBILITY=no
2618
2619 DEFAULT_wxUSE_MONOLITHIC=no
2620 DEFAULT_wxUSE_PLUGINS=no
2621 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2622
2623 DEFAULT_wxUSE_GTK2=yes
2624 fi
2625
2626
2627
2628
2629 for toolkit in `echo $ALL_TOOLKITS`; do
2630 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2631 if test "x$LINE" != "x" ; then
2632 has_toolkit_in_cache=1
2633 eval "DEFAULT_$LINE"
2634 eval "CACHE_$toolkit=1"
2635
2636 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 eval "DEFAULT_$LINE"
2639 fi
2640 fi
2641 done
2642
2643
2644
2645 enablestring=
2646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2647 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2648 no_cache=0
2649 # Check whether --enable-gui or --disable-gui was given.
2650 if test "${enable_gui+set}" = set; then
2651 enableval="$enable_gui"
2652
2653 if test "$enableval" = yes; then
2654 ac_cv_use_gui='wxUSE_GUI=yes'
2655 else
2656 ac_cv_use_gui='wxUSE_GUI=no'
2657 fi
2658
2659 else
2660
2661 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x ; then
2663 eval "DEFAULT_$LINE"
2664 else
2665 no_cache=1
2666 fi
2667
2668 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2669
2670 fi;
2671
2672 eval "$ac_cv_use_gui"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2675 fi
2676
2677 if test "$wxUSE_GUI" = yes; then
2678 echo "$as_me:$LINENO: result: yes" >&5
2679 echo "${ECHO_T}yes" >&6
2680 else
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2683 fi
2684
2685
2686 enablestring=
2687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2688 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2689 no_cache=0
2690 # Check whether --enable-monolithic or --disable-monolithic was given.
2691 if test "${enable_monolithic+set}" = set; then
2692 enableval="$enable_monolithic"
2693
2694 if test "$enableval" = yes; then
2695 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2696 else
2697 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2698 fi
2699
2700 else
2701
2702 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x ; then
2704 eval "DEFAULT_$LINE"
2705 else
2706 no_cache=1
2707 fi
2708
2709 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2710
2711 fi;
2712
2713 eval "$ac_cv_use_monolithic"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2716 fi
2717
2718 if test "$wxUSE_MONOLITHIC" = yes; then
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2721 else
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2724 fi
2725
2726
2727 enablestring=
2728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2729 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2730 no_cache=0
2731 # Check whether --enable-plugins or --disable-plugins was given.
2732 if test "${enable_plugins+set}" = set; then
2733 enableval="$enable_plugins"
2734
2735 if test "$enableval" = yes; then
2736 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2737 else
2738 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2739 fi
2740
2741 else
2742
2743 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2746 else
2747 no_cache=1
2748 fi
2749
2750 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2751
2752 fi;
2753
2754 eval "$ac_cv_use_plugins"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2757 fi
2758
2759 if test "$wxUSE_PLUGINS" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2762 else
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2765 fi
2766
2767
2768 withstring=without
2769 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2770 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2771 no_cache=0
2772
2773 # Check whether --with-subdirs or --without-subdirs was given.
2774 if test "${with_subdirs+set}" = set; then
2775 withval="$with_subdirs"
2776
2777 if test "$withval" = yes; then
2778 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2779 else
2780 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2781 fi
2782
2783 else
2784
2785 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x ; then
2787 eval "DEFAULT_$LINE"
2788 else
2789 no_cache=1
2790 fi
2791
2792 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2793
2794 fi;
2795
2796 eval "$ac_cv_use_subdirs"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2799 fi
2800
2801 if test "$wxWITH_SUBDIRS" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 else
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 fi
2808
2809
2810 if test "$wxUSE_GUI" = "yes"; then
2811
2812
2813 enablestring=
2814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2815 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2816 no_cache=0
2817 # Check whether --enable-universal or --disable-universal was given.
2818 if test "${enable_universal+set}" = set; then
2819 enableval="$enable_universal"
2820
2821 if test "$enableval" = yes; then
2822 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2823 else
2824 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2825 fi
2826
2827 else
2828
2829 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x ; then
2831 eval "DEFAULT_$LINE"
2832 else
2833 no_cache=1
2834 fi
2835
2836 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2837
2838 fi;
2839
2840 eval "$ac_cv_use_universal"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2843 fi
2844
2845 if test "$wxUSE_UNIVERSAL" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2848 else
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2851 fi
2852
2853
2854 # Check whether --with-gtk or --without-gtk was given.
2855 if test "${with_gtk+set}" = set; then
2856 withval="$with_gtk"
2857 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2858 fi;
2859
2860 # Check whether --with-motif or --without-motif was given.
2861 if test "${with_motif+set}" = set; then
2862 withval="$with_motif"
2863 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2864 fi;
2865
2866 # Check whether --with-mac or --without-mac was given.
2867 if test "${with_mac+set}" = set; then
2868 withval="$with_mac"
2869 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2870 fi;
2871
2872 # Check whether --with-cocoa or --without-cocoa was given.
2873 if test "${with_cocoa+set}" = set; then
2874 withval="$with_cocoa"
2875 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2876 fi;
2877
2878 # Check whether --with-wine or --without-wine was given.
2879 if test "${with_wine+set}" = set; then
2880 withval="$with_wine"
2881 wxUSE_WINE="$withval" CACHE_WINE=1
2882 fi;
2883
2884 # Check whether --with-msw or --without-msw was given.
2885 if test "${with_msw+set}" = set; then
2886 withval="$with_msw"
2887 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2888 fi;
2889
2890 # Check whether --with-pm or --without-pm was given.
2891 if test "${with_pm+set}" = set; then
2892 withval="$with_pm"
2893 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2894 fi;
2895
2896 # Check whether --with-mgl or --without-mgl was given.
2897 if test "${with_mgl+set}" = set; then
2898 withval="$with_mgl"
2899 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2900 fi;
2901
2902 # Check whether --with-directfb or --without-directfb was given.
2903 if test "${with_directfb+set}" = set; then
2904 withval="$with_directfb"
2905 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2906 fi;
2907
2908 # Check whether --with-microwin or --without-microwin was given.
2909 if test "${with_microwin+set}" = set; then
2910 withval="$with_microwin"
2911 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2912 fi;
2913
2914 # Check whether --with-x11 or --without-x11 was given.
2915 if test "${with_x11+set}" = set; then
2916 withval="$with_x11"
2917 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2918 fi;
2919
2920 enablestring=
2921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2922 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2923 no_cache=0
2924 # Check whether --enable-nanox or --disable-nanox was given.
2925 if test "${enable_nanox+set}" = set; then
2926 enableval="$enable_nanox"
2927
2928 if test "$enableval" = yes; then
2929 ac_cv_use_nanox='wxUSE_NANOX=yes'
2930 else
2931 ac_cv_use_nanox='wxUSE_NANOX=no'
2932 fi
2933
2934 else
2935
2936 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x ; then
2938 eval "DEFAULT_$LINE"
2939 else
2940 no_cache=1
2941 fi
2942
2943 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2944
2945 fi;
2946
2947 eval "$ac_cv_use_nanox"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2950 fi
2951
2952 if test "$wxUSE_NANOX" = yes; then
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2955 else
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2958 fi
2959
2960
2961 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2962 if test "${enable_gtk2+set}" = set; then
2963 enableval="$enable_gtk2"
2964 wxUSE_GTK2="$enableval"
2965 fi;
2966
2967 enablestring=
2968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2970 no_cache=0
2971 # Check whether --enable-gpe or --disable-gpe was given.
2972 if test "${enable_gpe+set}" = set; then
2973 enableval="$enable_gpe"
2974
2975 if test "$enableval" = yes; then
2976 ac_cv_use_gpe='wxUSE_GPE=yes'
2977 else
2978 ac_cv_use_gpe='wxUSE_GPE=no'
2979 fi
2980
2981 else
2982
2983 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x ; then
2985 eval "DEFAULT_$LINE"
2986 else
2987 no_cache=1
2988 fi
2989
2990 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2991
2992 fi;
2993
2994 eval "$ac_cv_use_gpe"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2997 fi
2998
2999 if test "$wxUSE_GPE" = yes; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3002 else
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3005 fi
3006
3007
3008
3009 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3010 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3011 no_cache=0
3012
3013 # Check whether --with-libpng or --without-libpng was given.
3014 if test "${with_libpng+set}" = set; then
3015 withval="$with_libpng"
3016
3017 if test "$withval" = yes; then
3018 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3019 elif test "$withval" = no; then
3020 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3021 elif test "$withval" = sys; then
3022 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3025 else
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3029 fi
3030
3031 else
3032
3033 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x ; then
3035 eval "DEFAULT_$LINE"
3036 else
3037 no_cache=1
3038 fi
3039
3040 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3041
3042 fi;
3043
3044 eval "$ac_cv_use_libpng"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3047 fi
3048
3049 if test "$wxUSE_LIBPNG" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_LIBPNG" = no; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_LIBPNG" = sys; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_LIBPNG" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3061 else
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3065 fi
3066
3067
3068 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3069 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3070 no_cache=0
3071
3072 # Check whether --with-libjpeg or --without-libjpeg was given.
3073 if test "${with_libjpeg+set}" = set; then
3074 withval="$with_libjpeg"
3075
3076 if test "$withval" = yes; then
3077 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3078 elif test "$withval" = no; then
3079 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3080 elif test "$withval" = sys; then
3081 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3084 else
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3088 fi
3089
3090 else
3091
3092 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3095 else
3096 no_cache=1
3097 fi
3098
3099 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3100
3101 fi;
3102
3103 eval "$ac_cv_use_libjpeg"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3106 fi
3107
3108 if test "$wxUSE_LIBJPEG" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_LIBJPEG" = no; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_LIBJPEG" = sys; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_LIBJPEG" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3120 else
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3124 fi
3125
3126
3127 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3128 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3129 no_cache=0
3130
3131 # Check whether --with-libtiff or --without-libtiff was given.
3132 if test "${with_libtiff+set}" = set; then
3133 withval="$with_libtiff"
3134
3135 if test "$withval" = yes; then
3136 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3137 elif test "$withval" = no; then
3138 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3139 elif test "$withval" = sys; then
3140 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3143 else
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3147 fi
3148
3149 else
3150
3151 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 else
3155 no_cache=1
3156 fi
3157
3158 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3159
3160 fi;
3161
3162 eval "$ac_cv_use_libtiff"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_LIBTIFF" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_LIBTIFF" = no; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_LIBTIFF" = sys; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_LIBTIFF" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3179 else
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3183 fi
3184
3185
3186 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3187 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3188 no_cache=0
3189
3190 # Check whether --with-libxpm or --without-libxpm was given.
3191 if test "${with_libxpm+set}" = set; then
3192 withval="$with_libxpm"
3193
3194 if test "$withval" = yes; then
3195 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3196 elif test "$withval" = no; then
3197 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3198 elif test "$withval" = sys; then
3199 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3202 else
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3206 fi
3207
3208 else
3209
3210 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 else
3214 no_cache=1
3215 fi
3216
3217 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3218
3219 fi;
3220
3221 eval "$ac_cv_use_libxpm"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test "$wxUSE_LIBXPM" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_LIBXPM" = no; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_LIBXPM" = sys; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_LIBXPM" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3238 else
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3242 fi
3243
3244
3245 withstring=
3246 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3247 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3248 no_cache=0
3249
3250 # Check whether --with-libmspack or --without-libmspack was given.
3251 if test "${with_libmspack+set}" = set; then
3252 withval="$with_libmspack"
3253
3254 if test "$withval" = yes; then
3255 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3256 else
3257 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3258 fi
3259
3260 else
3261
3262 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x ; then
3264 eval "DEFAULT_$LINE"
3265 else
3266 no_cache=1
3267 fi
3268
3269 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3270
3271 fi;
3272
3273 eval "$ac_cv_use_libmspack"
3274 if test "$no_cache" != 1; then
3275 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3276 fi
3277
3278 if test "$wxUSE_LIBMSPACK" = yes; then
3279 echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6
3281 else
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3284 fi
3285
3286
3287 withstring=
3288 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3289 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-sdl or --without-sdl was given.
3293 if test "${with_sdl+set}" = set; then
3294 withval="$with_sdl"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3298 else
3299 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3300 fi
3301
3302 else
3303
3304 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3307 else
3308 no_cache=1
3309 fi
3310
3311 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3312
3313 fi;
3314
3315 eval "$ac_cv_use_sdl"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3318 fi
3319
3320 if test "$wxUSE_LIBSDL" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 else
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 fi
3327
3328
3329 withstring=
3330 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3331 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3332 no_cache=0
3333
3334 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3335 if test "${with_gnomeprint+set}" = set; then
3336 withval="$with_gnomeprint"
3337
3338 if test "$withval" = yes; then
3339 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3340 else
3341 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3342 fi
3343
3344 else
3345
3346 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3349 else
3350 no_cache=1
3351 fi
3352
3353 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3354
3355 fi;
3356
3357 eval "$ac_cv_use_gnomeprint"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3360 fi
3361
3362 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3365 else
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3368 fi
3369
3370
3371 withstring=
3372 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3373 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3374 no_cache=0
3375
3376 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3377 if test "${with_gnomevfs+set}" = set; then
3378 withval="$with_gnomevfs"
3379
3380 if test "$withval" = yes; then
3381 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3382 else
3383 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3384 fi
3385
3386 else
3387
3388 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x ; then
3390 eval "DEFAULT_$LINE"
3391 else
3392 no_cache=1
3393 fi
3394
3395 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3396
3397 fi;
3398
3399 eval "$ac_cv_use_gnomevfs"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3402 fi
3403
3404 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3407 else
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3410 fi
3411
3412
3413 withstring=
3414 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3415 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3416 no_cache=0
3417
3418 # Check whether --with-hildon or --without-hildon was given.
3419 if test "${with_hildon+set}" = set; then
3420 withval="$with_hildon"
3421
3422 if test "$withval" = yes; then
3423 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3424 else
3425 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3438
3439 fi;
3440
3441 eval "$ac_cv_use_hildon"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_LIBHILDON" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 else
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 fi
3453
3454
3455 withstring=
3456 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3457 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3458 no_cache=0
3459
3460 # Check whether --with-opengl or --without-opengl was given.
3461 if test "${with_opengl+set}" = set; then
3462 withval="$with_opengl"
3463
3464 if test "$withval" = yes; then
3465 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3466 else
3467 ac_cv_use_opengl='wxUSE_OPENGL=no'
3468 fi
3469
3470 else
3471
3472 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x ; then
3474 eval "DEFAULT_$LINE"
3475 else
3476 no_cache=1
3477 fi
3478
3479 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3480
3481 fi;
3482
3483 eval "$ac_cv_use_opengl"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3486 fi
3487
3488 if test "$wxUSE_OPENGL" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3491 else
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3494 fi
3495
3496
3497 if test "$wxUSE_UNIVERSAL" = "yes"; then
3498
3499 # Check whether --with-themes or --without-themes was given.
3500 if test "${with_themes+set}" = set; then
3501 withval="$with_themes"
3502 wxUNIV_THEMES="$withval"
3503 fi;
3504 fi
3505
3506 fi
3507
3508
3509 withstring=
3510 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3511 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3512 no_cache=0
3513
3514 # Check whether --with-dmalloc or --without-dmalloc was given.
3515 if test "${with_dmalloc+set}" = set; then
3516 withval="$with_dmalloc"
3517
3518 if test "$withval" = yes; then
3519 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3520 else
3521 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3522 fi
3523
3524 else
3525
3526 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3534
3535 fi;
3536
3537 eval "$ac_cv_use_dmalloc"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test "$wxUSE_DMALLOC" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 else
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 fi
3549
3550
3551 echo "$as_me:$LINENO: checking for --with-regex" >&5
3552 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3553 no_cache=0
3554
3555 # Check whether --with-regex or --without-regex was given.
3556 if test "${with_regex+set}" = set; then
3557 withval="$with_regex"
3558
3559 if test "$withval" = yes; then
3560 ac_cv_use_regex='wxUSE_REGEX=yes'
3561 elif test "$withval" = no; then
3562 ac_cv_use_regex='wxUSE_REGEX=no'
3563 elif test "$withval" = sys; then
3564 ac_cv_use_regex='wxUSE_REGEX=sys'
3565 elif test "$withval" = builtin; then
3566 ac_cv_use_regex='wxUSE_REGEX=builtin'
3567 else
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3571 fi
3572
3573 else
3574
3575 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x ; then
3577 eval "DEFAULT_$LINE"
3578 else
3579 no_cache=1
3580 fi
3581
3582 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3583
3584 fi;
3585
3586 eval "$ac_cv_use_regex"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3589 fi
3590
3591 if test "$wxUSE_REGEX" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3594 elif test "$wxUSE_REGEX" = no; then
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3597 elif test "$wxUSE_REGEX" = sys; then
3598 echo "$as_me:$LINENO: result: system version" >&5
3599 echo "${ECHO_T}system version" >&6
3600 elif test "$wxUSE_REGEX" = builtin; then
3601 echo "$as_me:$LINENO: result: builtin version" >&5
3602 echo "${ECHO_T}builtin version" >&6
3603 else
3604 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3605 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3606 { (exit 1); exit 1; }; }
3607 fi
3608
3609
3610 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3611 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3612 no_cache=0
3613
3614 # Check whether --with-zlib or --without-zlib was given.
3615 if test "${with_zlib+set}" = set; then
3616 withval="$with_zlib"
3617
3618 if test "$withval" = yes; then
3619 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3620 elif test "$withval" = no; then
3621 ac_cv_use_zlib='wxUSE_ZLIB=no'
3622 elif test "$withval" = sys; then
3623 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3624 elif test "$withval" = builtin; then
3625 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3626 else
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3630 fi
3631
3632 else
3633
3634 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x ; then
3636 eval "DEFAULT_$LINE"
3637 else
3638 no_cache=1
3639 fi
3640
3641 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3642
3643 fi;
3644
3645 eval "$ac_cv_use_zlib"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3648 fi
3649
3650 if test "$wxUSE_ZLIB" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3653 elif test "$wxUSE_ZLIB" = no; then
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3656 elif test "$wxUSE_ZLIB" = sys; then
3657 echo "$as_me:$LINENO: result: system version" >&5
3658 echo "${ECHO_T}system version" >&6
3659 elif test "$wxUSE_ZLIB" = builtin; then
3660 echo "$as_me:$LINENO: result: builtin version" >&5
3661 echo "${ECHO_T}builtin version" >&6
3662 else
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3666 fi
3667
3668
3669 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3670 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3671 no_cache=0
3672
3673 # Check whether --with-odbc or --without-odbc was given.
3674 if test "${with_odbc+set}" = set; then
3675 withval="$with_odbc"
3676
3677 if test "$withval" = yes; then
3678 ac_cv_use_odbc='wxUSE_ODBC=yes'
3679 elif test "$withval" = no; then
3680 ac_cv_use_odbc='wxUSE_ODBC=no'
3681 elif test "$withval" = sys; then
3682 ac_cv_use_odbc='wxUSE_ODBC=sys'
3683 elif test "$withval" = builtin; then
3684 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691 else
3692
3693 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3701
3702 fi;
3703
3704 eval "$ac_cv_use_odbc"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3707 fi
3708
3709 if test "$wxUSE_ODBC" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 elif test "$wxUSE_ODBC" = no; then
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 elif test "$wxUSE_ODBC" = sys; then
3716 echo "$as_me:$LINENO: result: system version" >&5
3717 echo "${ECHO_T}system version" >&6
3718 elif test "$wxUSE_ODBC" = builtin; then
3719 echo "$as_me:$LINENO: result: builtin version" >&5
3720 echo "${ECHO_T}builtin version" >&6
3721 else
3722 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3723 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3724 { (exit 1); exit 1; }; }
3725 fi
3726
3727
3728 echo "$as_me:$LINENO: checking for --with-expat" >&5
3729 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3730 no_cache=0
3731
3732 # Check whether --with-expat or --without-expat was given.
3733 if test "${with_expat+set}" = set; then
3734 withval="$with_expat"
3735
3736 if test "$withval" = yes; then
3737 ac_cv_use_expat='wxUSE_EXPAT=yes'
3738 elif test "$withval" = no; then
3739 ac_cv_use_expat='wxUSE_EXPAT=no'
3740 elif test "$withval" = sys; then
3741 ac_cv_use_expat='wxUSE_EXPAT=sys'
3742 elif test "$withval" = builtin; then
3743 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3744 else
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3748 fi
3749
3750 else
3751
3752 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x ; then
3754 eval "DEFAULT_$LINE"
3755 else
3756 no_cache=1
3757 fi
3758
3759 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3760
3761 fi;
3762
3763 eval "$ac_cv_use_expat"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3766 fi
3767
3768 if test "$wxUSE_EXPAT" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3771 elif test "$wxUSE_EXPAT" = no; then
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3774 elif test "$wxUSE_EXPAT" = sys; then
3775 echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6
3777 elif test "$wxUSE_EXPAT" = builtin; then
3778 echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6
3780 else
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3784 fi
3785
3786
3787
3788
3789 enablestring=
3790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3791 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3792 no_cache=0
3793 # Check whether --enable-shared or --disable-shared was given.
3794 if test "${enable_shared+set}" = set; then
3795 enableval="$enable_shared"
3796
3797 if test "$enableval" = yes; then
3798 ac_cv_use_shared='wxUSE_SHARED=yes'
3799 else
3800 ac_cv_use_shared='wxUSE_SHARED=no'
3801 fi
3802
3803 else
3804
3805 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3808 else
3809 no_cache=1
3810 fi
3811
3812 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3813
3814 fi;
3815
3816 eval "$ac_cv_use_shared"
3817 if test "$no_cache" != 1; then
3818 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3819 fi
3820
3821 if test "$wxUSE_SHARED" = yes; then
3822 echo "$as_me:$LINENO: result: yes" >&5
3823 echo "${ECHO_T}yes" >&6
3824 else
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3827 fi
3828
3829
3830 enablestring=
3831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3832 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3833 no_cache=0
3834 # Check whether --enable-optimise or --disable-optimise was given.
3835 if test "${enable_optimise+set}" = set; then
3836 enableval="$enable_optimise"
3837
3838 if test "$enableval" = yes; then
3839 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3840 else
3841 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3842 fi
3843
3844 else
3845
3846 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x ; then
3848 eval "DEFAULT_$LINE"
3849 else
3850 no_cache=1
3851 fi
3852
3853 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3854
3855 fi;
3856
3857 eval "$ac_cv_use_optimise"
3858 if test "$no_cache" != 1; then
3859 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3860 fi
3861
3862 if test "$wxUSE_OPTIMISE" = yes; then
3863 echo "$as_me:$LINENO: result: yes" >&5
3864 echo "${ECHO_T}yes" >&6
3865 else
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3868 fi
3869
3870
3871 enablestring=
3872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3873 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3874 no_cache=0
3875 # Check whether --enable-debug or --disable-debug was given.
3876 if test "${enable_debug+set}" = set; then
3877 enableval="$enable_debug"
3878
3879 if test "$enableval" = yes; then
3880 ac_cv_use_debug='wxUSE_DEBUG=yes'
3881 else
3882 ac_cv_use_debug='wxUSE_DEBUG=no'
3883 fi
3884
3885 else
3886
3887 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x ; then
3889 eval "DEFAULT_$LINE"
3890 else
3891 no_cache=1
3892 fi
3893
3894 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3895
3896 fi;
3897
3898 eval "$ac_cv_use_debug"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3901 fi
3902
3903 if test "$wxUSE_DEBUG" = yes; then
3904 echo "$as_me:$LINENO: result: yes" >&5
3905 echo "${ECHO_T}yes" >&6
3906 else
3907 echo "$as_me:$LINENO: result: no" >&5
3908 echo "${ECHO_T}no" >&6
3909 fi
3910
3911
3912 enablestring=
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3915 no_cache=0
3916 # Check whether --enable-stl or --disable-stl was given.
3917 if test "${enable_stl+set}" = set; then
3918 enableval="$enable_stl"
3919
3920 if test "$enableval" = yes; then
3921 ac_cv_use_stl='wxUSE_STL=yes'
3922 else
3923 ac_cv_use_stl='wxUSE_STL=no'
3924 fi
3925
3926 else
3927
3928 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x ; then
3930 eval "DEFAULT_$LINE"
3931 else
3932 no_cache=1
3933 fi
3934
3935 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3936
3937 fi;
3938
3939 eval "$ac_cv_use_stl"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3942 fi
3943
3944 if test "$wxUSE_STL" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3947 else
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3950 fi
3951
3952 if test "$USE_OS2" = "1"; then
3953 DEFAULT_wxUSE_OMF=no
3954
3955 enablestring=
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3958 no_cache=0
3959 # Check whether --enable-omf or --disable-omf was given.
3960 if test "${enable_omf+set}" = set; then
3961 enableval="$enable_omf"
3962
3963 if test "$enableval" = yes; then
3964 ac_cv_use_omf='wxUSE_OMF=yes'
3965 else
3966 ac_cv_use_omf='wxUSE_OMF=no'
3967 fi
3968
3969 else
3970
3971 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x ; then
3973 eval "DEFAULT_$LINE"
3974 else
3975 no_cache=1
3976 fi
3977
3978 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3979
3980 fi;
3981
3982 eval "$ac_cv_use_omf"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3985 fi
3986
3987 if test "$wxUSE_OMF" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3990 else
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3993 fi
3994
3995 fi
3996
3997 if test "$wxUSE_DEBUG" = "yes"; then
3998 DEFAULT_wxUSE_DEBUG_FLAG=yes
3999 DEFAULT_wxUSE_DEBUG_INFO=yes
4000 BUILD=debug
4001 elif test "$wxUSE_DEBUG" = "no"; then
4002 DEFAULT_wxUSE_DEBUG_FLAG=no
4003 DEFAULT_wxUSE_DEBUG_INFO=no
4004 BUILD=release
4005 fi
4006
4007
4008 enablestring=
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4011 no_cache=0
4012 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4013 if test "${enable_debug_flag+set}" = set; then
4014 enableval="$enable_debug_flag"
4015
4016 if test "$enableval" = yes; then
4017 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4018 else
4019 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4020 fi
4021
4022 else
4023
4024 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 else
4028 no_cache=1
4029 fi
4030
4031 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4032
4033 fi;
4034
4035 eval "$ac_cv_use_debug_flag"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4038 fi
4039
4040 if test "$wxUSE_DEBUG_FLAG" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4043 else
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4046 fi
4047
4048
4049 enablestring=
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4052 no_cache=0
4053 # Check whether --enable-debug_info or --disable-debug_info was given.
4054 if test "${enable_debug_info+set}" = set; then
4055 enableval="$enable_debug_info"
4056
4057 if test "$enableval" = yes; then
4058 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4059 else
4060 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4061 fi
4062
4063 else
4064
4065 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x ; then
4067 eval "DEFAULT_$LINE"
4068 else
4069 no_cache=1
4070 fi
4071
4072 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4073
4074 fi;
4075
4076 eval "$ac_cv_use_debug_info"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4079 fi
4080
4081 if test "$wxUSE_DEBUG_INFO" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4084 else
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4087 fi
4088
4089
4090 enablestring=
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4093 no_cache=0
4094 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4095 if test "${enable_debug_gdb+set}" = set; then
4096 enableval="$enable_debug_gdb"
4097
4098 if test "$enableval" = yes; then
4099 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4100 else
4101 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4102 fi
4103
4104 else
4105
4106 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x ; then
4108 eval "DEFAULT_$LINE"
4109 else
4110 no_cache=1
4111 fi
4112
4113 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4114
4115 fi;
4116
4117 eval "$ac_cv_use_debug_gdb"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4120 fi
4121
4122 if test "$wxUSE_DEBUG_GDB" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4125 else
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4128 fi
4129
4130
4131 enablestring=
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4134 no_cache=0
4135 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4136 if test "${enable_debug_cntxt+set}" = set; then
4137 enableval="$enable_debug_cntxt"
4138
4139 if test "$enableval" = yes; then
4140 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4141 else
4142 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4143 fi
4144
4145 else
4146
4147 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x ; then
4149 eval "DEFAULT_$LINE"
4150 else
4151 no_cache=1
4152 fi
4153
4154 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4155
4156 fi;
4157
4158 eval "$ac_cv_use_debug_cntxt"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4166 else
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4169 fi
4170
4171
4172 enablestring=
4173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4174 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4175 no_cache=0
4176 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4177 if test "${enable_mem_tracing+set}" = set; then
4178 enableval="$enable_mem_tracing"
4179
4180 if test "$enableval" = yes; then
4181 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4182 else
4183 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4184 fi
4185
4186 else
4187
4188 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x ; then
4190 eval "DEFAULT_$LINE"
4191 else
4192 no_cache=1
4193 fi
4194
4195 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4196
4197 fi;
4198
4199 eval "$ac_cv_use_mem_tracing"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4202 fi
4203
4204 if test "$wxUSE_MEM_TRACING" = yes; then
4205 echo "$as_me:$LINENO: result: yes" >&5
4206 echo "${ECHO_T}yes" >&6
4207 else
4208 echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6
4210 fi
4211
4212
4213 enablestring=
4214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4215 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4216 no_cache=0
4217 # Check whether --enable-profile or --disable-profile was given.
4218 if test "${enable_profile+set}" = set; then
4219 enableval="$enable_profile"
4220
4221 if test "$enableval" = yes; then
4222 ac_cv_use_profile='wxUSE_PROFILE=yes'
4223 else
4224 ac_cv_use_profile='wxUSE_PROFILE=no'
4225 fi
4226
4227 else
4228
4229 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x ; then
4231 eval "DEFAULT_$LINE"
4232 else
4233 no_cache=1
4234 fi
4235
4236 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4237
4238 fi;
4239
4240 eval "$ac_cv_use_profile"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4243 fi
4244
4245 if test "$wxUSE_PROFILE" = yes; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4248 else
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4251 fi
4252
4253
4254 enablestring=
4255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4256 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4257 no_cache=0
4258 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4259 if test "${enable_no_rtti+set}" = set; then
4260 enableval="$enable_no_rtti"
4261
4262 if test "$enableval" = yes; then
4263 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4264 else
4265 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4266 fi
4267
4268 else
4269
4270 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x ; then
4272 eval "DEFAULT_$LINE"
4273 else
4274 no_cache=1
4275 fi
4276
4277 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4278
4279 fi;
4280
4281 eval "$ac_cv_use_no_rtti"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4284 fi
4285
4286 if test "$wxUSE_NO_RTTI" = yes; then
4287 echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6
4289 else
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4292 fi
4293
4294
4295 enablestring=
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4298 no_cache=0
4299 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4300 if test "${enable_no_exceptions+set}" = set; then
4301 enableval="$enable_no_exceptions"
4302
4303 if test "$enableval" = yes; then
4304 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4305 else
4306 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4307 fi
4308
4309 else
4310
4311 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 else
4315 no_cache=1
4316 fi
4317
4318 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4319
4320 fi;
4321
4322 eval "$ac_cv_use_no_exceptions"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4325 fi
4326
4327 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4330 else
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4333 fi
4334
4335
4336 enablestring=
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4339 no_cache=0
4340 # Check whether --enable-permissive or --disable-permissive was given.
4341 if test "${enable_permissive+set}" = set; then
4342 enableval="$enable_permissive"
4343
4344 if test "$enableval" = yes; then
4345 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4346 else
4347 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4348 fi
4349
4350 else
4351
4352 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4355 else
4356 no_cache=1
4357 fi
4358
4359 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4360
4361 fi;
4362
4363 eval "$ac_cv_use_permissive"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4366 fi
4367
4368 if test "$wxUSE_PERMISSIVE" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4371 else
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4374 fi
4375
4376
4377 enablestring=
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4380 no_cache=0
4381 # Check whether --enable-no_deps or --disable-no_deps was given.
4382 if test "${enable_no_deps+set}" = set; then
4383 enableval="$enable_no_deps"
4384
4385 if test "$enableval" = yes; then
4386 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4387 else
4388 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4389 fi
4390
4391 else
4392
4393 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4396 else
4397 no_cache=1
4398 fi
4399
4400 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4401
4402 fi;
4403
4404 eval "$ac_cv_use_no_deps"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_NO_DEPS" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4412 else
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4415 fi
4416
4417
4418 enablestring=
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4421 no_cache=0
4422 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4423 if test "${enable_universal_binary+set}" = set; then
4424 enableval="$enable_universal_binary"
4425
4426 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4427
4428 else
4429
4430 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x ; then
4432 eval "DEFAULT_$LINE"
4433 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4434 else
4435 no_cache=1
4436 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4437 fi
4438
4439 fi;
4440
4441 eval "$wx_cv_use_universal_binary"
4442 if test "$no_cache" != 1; then
4443 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4444 fi
4445
4446 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4447 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4448
4449
4450
4451 enablestring=enable
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4454 no_cache=0
4455 # Check whether --enable-compat24 or --disable-compat24 was given.
4456 if test "${enable_compat24+set}" = set; then
4457 enableval="$enable_compat24"
4458
4459 if test "$enableval" = yes; then
4460 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4461 else
4462 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4463 fi
4464
4465 else
4466
4467 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x ; then
4469 eval "DEFAULT_$LINE"
4470 else
4471 no_cache=1
4472 fi
4473
4474 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4475
4476 fi;
4477
4478 eval "$ac_cv_use_compat24"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4481 fi
4482
4483 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4484 echo "$as_me:$LINENO: result: yes" >&5
4485 echo "${ECHO_T}yes" >&6
4486 else
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4489 fi
4490
4491
4492 enablestring=disable
4493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4494 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4495 no_cache=0
4496 # Check whether --enable-compat26 or --disable-compat26 was given.
4497 if test "${enable_compat26+set}" = set; then
4498 enableval="$enable_compat26"
4499
4500 if test "$enableval" = yes; then
4501 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4502 else
4503 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4504 fi
4505
4506 else
4507
4508 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x ; then
4510 eval "DEFAULT_$LINE"
4511 else
4512 no_cache=1
4513 fi
4514
4515 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4516
4517 fi;
4518
4519 eval "$ac_cv_use_compat26"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4522 fi
4523
4524 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4527 else
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4530 fi
4531
4532
4533
4534 enablestring=
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4537 no_cache=0
4538 # Check whether --enable-rpath or --disable-rpath was given.
4539 if test "${enable_rpath+set}" = set; then
4540 enableval="$enable_rpath"
4541
4542 if test "$enableval" = yes; then
4543 ac_cv_use_rpath='wxUSE_RPATH=yes'
4544 else
4545 ac_cv_use_rpath='wxUSE_RPATH=no'
4546 fi
4547
4548 else
4549
4550 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4553 else
4554 no_cache=1
4555 fi
4556
4557 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4558
4559 fi;
4560
4561 eval "$ac_cv_use_rpath"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_RPATH" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4569 else
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4572 fi
4573
4574
4575
4576
4577
4578 enablestring=
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4581 no_cache=0
4582 # Check whether --enable-intl or --disable-intl was given.
4583 if test "${enable_intl+set}" = set; then
4584 enableval="$enable_intl"
4585
4586 if test "$enableval" = yes; then
4587 ac_cv_use_intl='wxUSE_INTL=yes'
4588 else
4589 ac_cv_use_intl='wxUSE_INTL=no'
4590 fi
4591
4592 else
4593
4594 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 else
4598 no_cache=1
4599 fi
4600
4601 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4602
4603 fi;
4604
4605 eval "$ac_cv_use_intl"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4608 fi
4609
4610 if test "$wxUSE_INTL" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612 echo "${ECHO_T}yes" >&6
4613 else
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4616 fi
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-config or --disable-config was given.
4624 if test "${enable_config+set}" = set; then
4625 enableval="$enable_config"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_config='wxUSE_CONFIG=yes'
4629 else
4630 ac_cv_use_config='wxUSE_CONFIG=no'
4631 fi
4632
4633 else
4634
4635 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4643
4644 fi;
4645
4646 eval "$ac_cv_use_config"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_CONFIG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660
4661 enablestring=
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4664 no_cache=0
4665 # Check whether --enable-protocols or --disable-protocols was given.
4666 if test "${enable_protocols+set}" = set; then
4667 enableval="$enable_protocols"
4668
4669 if test "$enableval" = yes; then
4670 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4671 else
4672 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4673 fi
4674
4675 else
4676
4677 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x ; then
4679 eval "DEFAULT_$LINE"
4680 else
4681 no_cache=1
4682 fi
4683
4684 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4685
4686 fi;
4687
4688 eval "$ac_cv_use_protocols"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4691 fi
4692
4693 if test "$wxUSE_PROTOCOL" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4696 else
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4699 fi
4700
4701
4702 enablestring=
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4705 no_cache=0
4706 # Check whether --enable-ftp or --disable-ftp was given.
4707 if test "${enable_ftp+set}" = set; then
4708 enableval="$enable_ftp"
4709
4710 if test "$enableval" = yes; then
4711 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4712 else
4713 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4714 fi
4715
4716 else
4717
4718 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4721 else
4722 no_cache=1
4723 fi
4724
4725 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4726
4727 fi;
4728
4729 eval "$ac_cv_use_ftp"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4732 fi
4733
4734 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4737 else
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4740 fi
4741
4742
4743 enablestring=
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4746 no_cache=0
4747 # Check whether --enable-http or --disable-http was given.
4748 if test "${enable_http+set}" = set; then
4749 enableval="$enable_http"
4750
4751 if test "$enableval" = yes; then
4752 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4753 else
4754 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4755 fi
4756
4757 else
4758
4759 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 else
4763 no_cache=1
4764 fi
4765
4766 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4767
4768 fi;
4769
4770 eval "$ac_cv_use_http"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4773 fi
4774
4775 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4778 else
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4781 fi
4782
4783
4784 enablestring=
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4787 no_cache=0
4788 # Check whether --enable-fileproto or --disable-fileproto was given.
4789 if test "${enable_fileproto+set}" = set; then
4790 enableval="$enable_fileproto"
4791
4792 if test "$enableval" = yes; then
4793 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4794 else
4795 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4796 fi
4797
4798 else
4799
4800 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x ; then
4802 eval "DEFAULT_$LINE"
4803 else
4804 no_cache=1
4805 fi
4806
4807 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4808
4809 fi;
4810
4811 eval "$ac_cv_use_fileproto"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4814 fi
4815
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4819 else
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4822 fi
4823
4824
4825 enablestring=
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4828 no_cache=0
4829 # Check whether --enable-sockets or --disable-sockets was given.
4830 if test "${enable_sockets+set}" = set; then
4831 enableval="$enable_sockets"
4832
4833 if test "$enableval" = yes; then
4834 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4835 else
4836 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4837 fi
4838
4839 else
4840
4841 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4844 else
4845 no_cache=1
4846 fi
4847
4848 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4849
4850 fi;
4851
4852 eval "$ac_cv_use_sockets"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4855 fi
4856
4857 if test "$wxUSE_SOCKETS" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4860 else
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4863 fi
4864
4865
4866 enablestring=
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4869 no_cache=0
4870 # Check whether --enable-ole or --disable-ole was given.
4871 if test "${enable_ole+set}" = set; then
4872 enableval="$enable_ole"
4873
4874 if test "$enableval" = yes; then
4875 ac_cv_use_ole='wxUSE_OLE=yes'
4876 else
4877 ac_cv_use_ole='wxUSE_OLE=no'
4878 fi
4879
4880 else
4881
4882 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4885 else
4886 no_cache=1
4887 fi
4888
4889 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4890
4891 fi;
4892
4893 eval "$ac_cv_use_ole"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4896 fi
4897
4898 if test "$wxUSE_OLE" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4901 else
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4904 fi
4905
4906
4907 enablestring=
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4910 no_cache=0
4911 # Check whether --enable-dataobj or --disable-dataobj was given.
4912 if test "${enable_dataobj+set}" = set; then
4913 enableval="$enable_dataobj"
4914
4915 if test "$enableval" = yes; then
4916 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4917 else
4918 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4919 fi
4920
4921 else
4922
4923 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4926 else
4927 no_cache=1
4928 fi
4929
4930 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4931
4932 fi;
4933
4934 eval "$ac_cv_use_dataobj"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4937 fi
4938
4939 if test "$wxUSE_DATAOBJ" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4942 else
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4945 fi
4946
4947
4948
4949 enablestring=
4950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4952 no_cache=0
4953 # Check whether --enable-ipc or --disable-ipc was given.
4954 if test "${enable_ipc+set}" = set; then
4955 enableval="$enable_ipc"
4956
4957 if test "$enableval" = yes; then
4958 ac_cv_use_ipc='wxUSE_IPC=yes'
4959 else
4960 ac_cv_use_ipc='wxUSE_IPC=no'
4961 fi
4962
4963 else
4964
4965 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x ; then
4967 eval "DEFAULT_$LINE"
4968 else
4969 no_cache=1
4970 fi
4971
4972 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4973
4974 fi;
4975
4976 eval "$ac_cv_use_ipc"
4977 if test "$no_cache" != 1; then
4978 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4979 fi
4980
4981 if test "$wxUSE_IPC" = yes; then
4982 echo "$as_me:$LINENO: result: yes" >&5
4983 echo "${ECHO_T}yes" >&6
4984 else
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4987 fi
4988
4989
4990
4991 enablestring=
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4994 no_cache=0
4995 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4996 if test "${enable_apple_ieee+set}" = set; then
4997 enableval="$enable_apple_ieee"
4998
4999 if test "$enableval" = yes; then
5000 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5001 else
5002 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5003 fi
5004
5005 else
5006
5007 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x ; then
5009 eval "DEFAULT_$LINE"
5010 else
5011 no_cache=1
5012 fi
5013
5014 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5015
5016 fi;
5017
5018 eval "$ac_cv_use_apple_ieee"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5021 fi
5022
5023 if test "$wxUSE_APPLE_IEEE" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5026 else
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5029 fi
5030
5031
5032 enablestring=
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5035 no_cache=0
5036 # Check whether --enable-arcstream or --disable-arcstream was given.
5037 if test "${enable_arcstream+set}" = set; then
5038 enableval="$enable_arcstream"
5039
5040 if test "$enableval" = yes; then
5041 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5042 else
5043 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5044 fi
5045
5046 else
5047
5048 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x ; then
5050 eval "DEFAULT_$LINE"
5051 else
5052 no_cache=1
5053 fi
5054
5055 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5056
5057 fi;
5058
5059 eval "$ac_cv_use_arcstream"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5062 fi
5063
5064 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5067 else
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5070 fi
5071
5072
5073 enablestring=
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5076 no_cache=0
5077 # Check whether --enable-backtrace or --disable-backtrace was given.
5078 if test "${enable_backtrace+set}" = set; then
5079 enableval="$enable_backtrace"
5080
5081 if test "$enableval" = yes; then
5082 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5083 else
5084 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5085 fi
5086
5087 else
5088
5089 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x ; then
5091 eval "DEFAULT_$LINE"
5092 else
5093 no_cache=1
5094 fi
5095
5096 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5097
5098 fi;
5099
5100 eval "$ac_cv_use_backtrace"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5103 fi
5104
5105 if test "$wxUSE_STACKWALKER" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5108 else
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5111 fi
5112
5113
5114 enablestring=
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5117 no_cache=0
5118 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5119 if test "${enable_catch_segvs+set}" = set; then
5120 enableval="$enable_catch_segvs"
5121
5122 if test "$enableval" = yes; then
5123 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5124 else
5125 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5126 fi
5127
5128 else
5129
5130 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5133 else
5134 no_cache=1
5135 fi
5136
5137 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5138
5139 fi;
5140
5141 eval "$ac_cv_use_catch_segvs"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5144 fi
5145
5146 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5149 else
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5152 fi
5153
5154
5155 enablestring=
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5158 no_cache=0
5159 # Check whether --enable-cmdline or --disable-cmdline was given.
5160 if test "${enable_cmdline+set}" = set; then
5161 enableval="$enable_cmdline"
5162
5163 if test "$enableval" = yes; then
5164 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5165 else
5166 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5167 fi
5168
5169 else
5170
5171 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x ; then
5173 eval "DEFAULT_$LINE"
5174 else
5175 no_cache=1
5176 fi
5177
5178 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5179
5180 fi;
5181
5182 eval "$ac_cv_use_cmdline"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5185 fi
5186
5187 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5190 else
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5193 fi
5194
5195
5196 enablestring=
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5199 no_cache=0
5200 # Check whether --enable-datetime or --disable-datetime was given.
5201 if test "${enable_datetime+set}" = set; then
5202 enableval="$enable_datetime"
5203
5204 if test "$enableval" = yes; then
5205 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5206 else
5207 ac_cv_use_datetime='wxUSE_DATETIME=no'
5208 fi
5209
5210 else
5211
5212 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x ; then
5214 eval "DEFAULT_$LINE"
5215 else
5216 no_cache=1
5217 fi
5218
5219 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5220
5221 fi;
5222
5223 eval "$ac_cv_use_datetime"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5226 fi
5227
5228 if test "$wxUSE_DATETIME" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5231 else
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5234 fi
5235
5236
5237 enablestring=
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5240 no_cache=0
5241 # Check whether --enable-debugreport or --disable-debugreport was given.
5242 if test "${enable_debugreport+set}" = set; then
5243 enableval="$enable_debugreport"
5244
5245 if test "$enableval" = yes; then
5246 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5247 else
5248 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5249 fi
5250
5251 else
5252
5253 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5261
5262 fi;
5263
5264 eval "$ac_cv_use_debugreport"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5267 fi
5268
5269 if test "$wxUSE_DEBUGREPORT" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5272 else
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5275 fi
5276
5277
5278 enablestring=
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5281 no_cache=0
5282 # Check whether --enable-dialupman or --disable-dialupman was given.
5283 if test "${enable_dialupman+set}" = set; then
5284 enableval="$enable_dialupman"
5285
5286 if test "$enableval" = yes; then
5287 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5288 else
5289 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5290 fi
5291
5292 else
5293
5294 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x ; then
5296 eval "DEFAULT_$LINE"
5297 else
5298 no_cache=1
5299 fi
5300
5301 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5302
5303 fi;
5304
5305 eval "$ac_cv_use_dialupman"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5308 fi
5309
5310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5313 else
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5316 fi
5317
5318
5319 enablestring=
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5322 no_cache=0
5323 # Check whether --enable-dynlib or --disable-dynlib was given.
5324 if test "${enable_dynlib+set}" = set; then
5325 enableval="$enable_dynlib"
5326
5327 if test "$enableval" = yes; then
5328 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5329 else
5330 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5331 fi
5332
5333 else
5334
5335 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x ; then
5337 eval "DEFAULT_$LINE"
5338 else
5339 no_cache=1
5340 fi
5341
5342 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5343
5344 fi;
5345
5346 eval "$ac_cv_use_dynlib"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5349 fi
5350
5351 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5354 else
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5357 fi
5358
5359
5360 enablestring=
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5363 no_cache=0
5364 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5365 if test "${enable_dynamicloader+set}" = set; then
5366 enableval="$enable_dynamicloader"
5367
5368 if test "$enableval" = yes; then
5369 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5370 else
5371 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5372 fi
5373
5374 else
5375
5376 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5379 else
5380 no_cache=1
5381 fi
5382
5383 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5384
5385 fi;
5386
5387 eval "$ac_cv_use_dynamicloader"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5390 fi
5391
5392 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5395 else
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5398 fi
5399
5400
5401 enablestring=
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5404 no_cache=0
5405 # Check whether --enable-exceptions or --disable-exceptions was given.
5406 if test "${enable_exceptions+set}" = set; then
5407 enableval="$enable_exceptions"
5408
5409 if test "$enableval" = yes; then
5410 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5411 else
5412 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5413 fi
5414
5415 else
5416
5417 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5420 else
5421 no_cache=1
5422 fi
5423
5424 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5425
5426 fi;
5427
5428 eval "$ac_cv_use_exceptions"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5431 fi
5432
5433 if test "$wxUSE_EXCEPTIONS" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5436 else
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5439 fi
5440
5441
5442 enablestring=
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5445 no_cache=0
5446 # Check whether --enable-ffile or --disable-ffile was given.
5447 if test "${enable_ffile+set}" = set; then
5448 enableval="$enable_ffile"
5449
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ffile='wxUSE_FFILE=yes'
5452 else
5453 ac_cv_use_ffile='wxUSE_FFILE=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5466
5467 fi;
5468
5469 eval "$ac_cv_use_ffile"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5472 fi
5473
5474 if test "$wxUSE_FFILE" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5477 else
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5480 fi
5481
5482
5483 enablestring=
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5486 no_cache=0
5487 # Check whether --enable-file or --disable-file was given.
5488 if test "${enable_file+set}" = set; then
5489 enableval="$enable_file"
5490
5491 if test "$enableval" = yes; then
5492 ac_cv_use_file='wxUSE_FILE=yes'
5493 else
5494 ac_cv_use_file='wxUSE_FILE=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5507
5508 fi;
5509
5510 eval "$ac_cv_use_file"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5513 fi
5514
5515 if test "$wxUSE_FILE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5518 else
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5521 fi
5522
5523
5524 enablestring=
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5527 no_cache=0
5528 # Check whether --enable-filesystem or --disable-filesystem was given.
5529 if test "${enable_filesystem+set}" = set; then
5530 enableval="$enable_filesystem"
5531
5532 if test "$enableval" = yes; then
5533 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5534 else
5535 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5536 fi
5537
5538 else
5539
5540 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5548
5549 fi;
5550
5551 eval "$ac_cv_use_filesystem"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5554 fi
5555
5556 if test "$wxUSE_FILESYSTEM" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5559 else
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5562 fi
5563
5564
5565 enablestring=
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5568 no_cache=0
5569 # Check whether --enable-fontmap or --disable-fontmap was given.
5570 if test "${enable_fontmap+set}" = set; then
5571 enableval="$enable_fontmap"
5572
5573 if test "$enableval" = yes; then
5574 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5575 else
5576 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5577 fi
5578
5579 else
5580
5581 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5584 else
5585 no_cache=1
5586 fi
5587
5588 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5589
5590 fi;
5591
5592 eval "$ac_cv_use_fontmap"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5595 fi
5596
5597 if test "$wxUSE_FONTMAP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5600 else
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5603 fi
5604
5605
5606 enablestring=
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5609 no_cache=0
5610 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5611 if test "${enable_fs_archive+set}" = set; then
5612 enableval="$enable_fs_archive"
5613
5614 if test "$enableval" = yes; then
5615 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5616 else
5617 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5618 fi
5619
5620 else
5621
5622 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5630
5631 fi;
5632
5633 eval "$ac_cv_use_fs_archive"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5636 fi
5637
5638 if test "$wxUSE_FS_ARCHIVE" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5641 else
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5644 fi
5645
5646
5647 enablestring=
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5650 no_cache=0
5651 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5652 if test "${enable_fs_inet+set}" = set; then
5653 enableval="$enable_fs_inet"
5654
5655 if test "$enableval" = yes; then
5656 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5657 else
5658 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5659 fi
5660
5661 else
5662
5663 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5666 else
5667 no_cache=1
5668 fi
5669
5670 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5671
5672 fi;
5673
5674 eval "$ac_cv_use_fs_inet"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5677 fi
5678
5679 if test "$wxUSE_FS_INET" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5682 else
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5685 fi
5686
5687
5688 enablestring=
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5691 no_cache=0
5692 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5693 if test "${enable_fs_zip+set}" = set; then
5694 enableval="$enable_fs_zip"
5695
5696 if test "$enableval" = yes; then
5697 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5698 else
5699 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5700 fi
5701
5702 else
5703
5704 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x ; then
5706 eval "DEFAULT_$LINE"
5707 else
5708 no_cache=1
5709 fi
5710
5711 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5712
5713 fi;
5714
5715 eval "$ac_cv_use_fs_zip"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5718 fi
5719
5720 if test "$wxUSE_FS_ZIP" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5723 else
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5726 fi
5727
5728
5729 enablestring=
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5732 no_cache=0
5733 # Check whether --enable-geometry or --disable-geometry was given.
5734 if test "${enable_geometry+set}" = set; then
5735 enableval="$enable_geometry"
5736
5737 if test "$enableval" = yes; then
5738 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5739 else
5740 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5741 fi
5742
5743 else
5744
5745 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5748 else
5749 no_cache=1
5750 fi
5751
5752 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5753
5754 fi;
5755
5756 eval "$ac_cv_use_geometry"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5759 fi
5760
5761 if test "$wxUSE_GEOMETRY" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5764 else
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5767 fi
5768
5769
5770 enablestring=
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5773 no_cache=0
5774 # Check whether --enable-log or --disable-log was given.
5775 if test "${enable_log+set}" = set; then
5776 enableval="$enable_log"
5777
5778 if test "$enableval" = yes; then
5779 ac_cv_use_log='wxUSE_LOG=yes'
5780 else
5781 ac_cv_use_log='wxUSE_LOG=no'
5782 fi
5783
5784 else
5785
5786 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5789 else
5790 no_cache=1
5791 fi
5792
5793 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5794
5795 fi;
5796
5797 eval "$ac_cv_use_log"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_LOG" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5805 else
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5808 fi
5809
5810
5811 enablestring=
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5814 no_cache=0
5815 # Check whether --enable-longlong or --disable-longlong was given.
5816 if test "${enable_longlong+set}" = set; then
5817 enableval="$enable_longlong"
5818
5819 if test "$enableval" = yes; then
5820 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5821 else
5822 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5835
5836 fi;
5837
5838 eval "$ac_cv_use_longlong"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test "$wxUSE_LONGLONG" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5846 else
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5849 fi
5850
5851
5852 enablestring=
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5855 no_cache=0
5856 # Check whether --enable-mimetype or --disable-mimetype was given.
5857 if test "${enable_mimetype+set}" = set; then
5858 enableval="$enable_mimetype"
5859
5860 if test "$enableval" = yes; then
5861 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5862 else
5863 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5876
5877 fi;
5878
5879 eval "$ac_cv_use_mimetype"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5882 fi
5883
5884 if test "$wxUSE_MIMETYPE" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5887 else
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5890 fi
5891
5892
5893 enablestring=
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5896 no_cache=0
5897 # Check whether --enable-mslu or --disable-mslu was given.
5898 if test "${enable_mslu+set}" = set; then
5899 enableval="$enable_mslu"
5900
5901 if test "$enableval" = yes; then
5902 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5903 else
5904 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5917
5918 fi;
5919
5920 eval "$ac_cv_use_mslu"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5923 fi
5924
5925 if test "$wxUSE_UNICODE_MSLU" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5928 else
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5931 fi
5932
5933
5934 enablestring=
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5937 no_cache=0
5938 # Check whether --enable-snglinst or --disable-snglinst was given.
5939 if test "${enable_snglinst+set}" = set; then
5940 enableval="$enable_snglinst"
5941
5942 if test "$enableval" = yes; then
5943 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5944 else
5945 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5958
5959 fi;
5960
5961 eval "$ac_cv_use_snglinst"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5964 fi
5965
5966 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5969 else
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5972 fi
5973
5974
5975 enablestring=
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5978 no_cache=0
5979 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then
5981 enableval="$enable_std_iostreams"
5982
5983 if test "$enableval" = yes; then
5984 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5985 else
5986 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5999
6000 fi;
6001
6002 eval "$ac_cv_use_std_iostreams"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6005 fi
6006
6007 if test "$wxUSE_STD_IOSTREAM" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6010 else
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6013 fi
6014
6015
6016 enablestring=
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6019 no_cache=0
6020 # Check whether --enable-std_string or --disable-std_string was given.
6021 if test "${enable_std_string+set}" = set; then
6022 enableval="$enable_std_string"
6023
6024 if test "$enableval" = yes; then
6025 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6026 else
6027 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6040
6041 fi;
6042
6043 eval "$ac_cv_use_std_string"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6046 fi
6047
6048 if test "$wxUSE_STD_STRING" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6051 else
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6054 fi
6055
6056
6057 enablestring=
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6060 no_cache=0
6061 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6062 if test "${enable_stdpaths+set}" = set; then
6063 enableval="$enable_stdpaths"
6064
6065 if test "$enableval" = yes; then
6066 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6067 else
6068 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6081
6082 fi;
6083
6084 eval "$ac_cv_use_stdpaths"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6087 fi
6088
6089 if test "$wxUSE_STDPATHS" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6092 else
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6095 fi
6096
6097
6098 enablestring=
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6101 no_cache=0
6102 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6103 if test "${enable_stopwatch+set}" = set; then
6104 enableval="$enable_stopwatch"
6105
6106 if test "$enableval" = yes; then
6107 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6108 else
6109 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6122
6123 fi;
6124
6125 eval "$ac_cv_use_stopwatch"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6128 fi
6129
6130 if test "$wxUSE_STOPWATCH" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6133 else
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6136 fi
6137
6138
6139 enablestring=
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6142 no_cache=0
6143 # Check whether --enable-streams or --disable-streams was given.
6144 if test "${enable_streams+set}" = set; then
6145 enableval="$enable_streams"
6146
6147 if test "$enableval" = yes; then
6148 ac_cv_use_streams='wxUSE_STREAMS=yes'
6149 else
6150 ac_cv_use_streams='wxUSE_STREAMS=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6163
6164 fi;
6165
6166 eval "$ac_cv_use_streams"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6169 fi
6170
6171 if test "$wxUSE_STREAMS" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6174 else
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6177 fi
6178
6179
6180 enablestring=
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6183 no_cache=0
6184 # Check whether --enable-system_options or --disable-system_options was given.
6185 if test "${enable_system_options+set}" = set; then
6186 enableval="$enable_system_options"
6187
6188 if test "$enableval" = yes; then
6189 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6190 else
6191 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6192 fi
6193
6194 else
6195
6196 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6204
6205 fi;
6206
6207 eval "$ac_cv_use_system_options"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6210 fi
6211
6212 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6215 else
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6218 fi
6219
6220
6221 enablestring=
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6224 no_cache=0
6225 # Check whether --enable-tarstream or --disable-tarstream was given.
6226 if test "${enable_tarstream+set}" = set; then
6227 enableval="$enable_tarstream"
6228
6229 if test "$enableval" = yes; then
6230 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6231 else
6232 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6245
6246 fi;
6247
6248 eval "$ac_cv_use_tarstream"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6251 fi
6252
6253 if test "$wxUSE_TARSTREAM" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6256 else
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6259 fi
6260
6261
6262 enablestring=
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6265 no_cache=0
6266 # Check whether --enable-textbuf or --disable-textbuf was given.
6267 if test "${enable_textbuf+set}" = set; then
6268 enableval="$enable_textbuf"
6269
6270 if test "$enableval" = yes; then
6271 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6272 else
6273 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6274 fi
6275
6276 else
6277
6278 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6286
6287 fi;
6288
6289 eval "$ac_cv_use_textbuf"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6292 fi
6293
6294 if test "$wxUSE_TEXTBUFFER" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6297 else
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6300 fi
6301
6302
6303 enablestring=
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6306 no_cache=0
6307 # Check whether --enable-textfile or --disable-textfile was given.
6308 if test "${enable_textfile+set}" = set; then
6309 enableval="$enable_textfile"
6310
6311 if test "$enableval" = yes; then
6312 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6313 else
6314 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6315 fi
6316
6317 else
6318
6319 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6327
6328 fi;
6329
6330 eval "$ac_cv_use_textfile"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6333 fi
6334
6335 if test "$wxUSE_TEXTFILE" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6338 else
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6341 fi
6342
6343
6344 enablestring=
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6347 no_cache=0
6348 # Check whether --enable-timer or --disable-timer was given.
6349 if test "${enable_timer+set}" = set; then
6350 enableval="$enable_timer"
6351
6352 if test "$enableval" = yes; then
6353 ac_cv_use_timer='wxUSE_TIMER=yes'
6354 else
6355 ac_cv_use_timer='wxUSE_TIMER=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6368
6369 fi;
6370
6371 eval "$ac_cv_use_timer"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test "$wxUSE_TIMER" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6379 else
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6382 fi
6383
6384
6385 enablestring=
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6388 no_cache=0
6389 # Check whether --enable-unicode or --disable-unicode was given.
6390 if test "${enable_unicode+set}" = set; then
6391 enableval="$enable_unicode"
6392
6393 if test "$enableval" = yes; then
6394 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6395 else
6396 ac_cv_use_unicode='wxUSE_UNICODE=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6409
6410 fi;
6411
6412 eval "$ac_cv_use_unicode"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6415 fi
6416
6417 if test "$wxUSE_UNICODE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6420 else
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6423 fi
6424
6425
6426 enablestring=
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6429 no_cache=0
6430 # Check whether --enable-sound or --disable-sound was given.
6431 if test "${enable_sound+set}" = set; then
6432 enableval="$enable_sound"
6433
6434 if test "$enableval" = yes; then
6435 ac_cv_use_sound='wxUSE_SOUND=yes'
6436 else
6437 ac_cv_use_sound='wxUSE_SOUND=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6450
6451 fi;
6452
6453 eval "$ac_cv_use_sound"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6456 fi
6457
6458 if test "$wxUSE_SOUND" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6461 else
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6464 fi
6465
6466
6467 enablestring=
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6470 no_cache=0
6471 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6472 if test "${enable_mediactrl+set}" = set; then
6473 enableval="$enable_mediactrl"
6474
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6477 else
6478 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6491
6492 fi;
6493
6494 eval "$ac_cv_use_mediactrl"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6497 fi
6498
6499 if test "$wxUSE_MEDIACTRL" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6502 else
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6505 fi
6506
6507
6508 enablestring=
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6511 no_cache=0
6512 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6513 if test "${enable_gstreamer8+set}" = set; then
6514 enableval="$enable_gstreamer8"
6515
6516 if test "$enableval" = yes; then
6517 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6518 else
6519 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6532
6533 fi;
6534
6535 eval "$ac_cv_use_gstreamer8"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6538 fi
6539
6540 if test "$wxUSE_GSTREAMER8" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6543 else
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6546 fi
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6554 if test "${enable_printfposparam+set}" = set; then
6555 enableval="$enable_printfposparam"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6559 else
6560 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6573
6574 fi;
6575
6576 eval "$ac_cv_use_printfposparam"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-zipstream or --disable-zipstream was given.
6595 if test "${enable_zipstream+set}" = set; then
6596 enableval="$enable_zipstream"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6600 else
6601 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6614
6615 fi;
6616
6617 eval "$ac_cv_use_zipstream"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_ZIPSTREAM" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631
6632 enablestring=
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6635 no_cache=0
6636 # Check whether --enable-url or --disable-url was given.
6637 if test "${enable_url+set}" = set; then
6638 enableval="$enable_url"
6639
6640 if test "$enableval" = yes; then
6641 ac_cv_use_url='wxUSE_URL=yes'
6642 else
6643 ac_cv_use_url='wxUSE_URL=no'
6644 fi
6645
6646 else
6647
6648 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 else
6652 no_cache=1
6653 fi
6654
6655 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6656
6657 fi;
6658
6659 eval "$ac_cv_use_url"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_URL" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6667 else
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6670 fi
6671
6672
6673 enablestring=
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6676 no_cache=0
6677 # Check whether --enable-variant or --disable-variant was given.
6678 if test "${enable_variant+set}" = set; then
6679 enableval="$enable_variant"
6680
6681 if test "$enableval" = yes; then
6682 ac_cv_use_variant='wxUSE_VARIANT=yes'
6683 else
6684 ac_cv_use_variant='wxUSE_VARIANT=no'
6685 fi
6686
6687 else
6688
6689 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6692 else
6693 no_cache=1
6694 fi
6695
6696 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6697
6698 fi;
6699
6700 eval "$ac_cv_use_variant"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_VARIANT" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6708 else
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6711 fi
6712
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-protocol or --disable-protocol was given.
6719 if test "${enable_protocol+set}" = set; then
6720 enableval="$enable_protocol"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6724 else
6725 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6726 fi
6727
6728 else
6729
6730 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6738
6739 fi;
6740
6741 eval "$ac_cv_use_protocol"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_PROTOCOL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6749 else
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6752 fi
6753
6754
6755 enablestring=
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6758 no_cache=0
6759 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6760 if test "${enable_protocol_http+set}" = set; then
6761 enableval="$enable_protocol_http"
6762
6763 if test "$enableval" = yes; then
6764 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6765 else
6766 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6767 fi
6768
6769 else
6770
6771 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x ; then
6773 eval "DEFAULT_$LINE"
6774 else
6775 no_cache=1
6776 fi
6777
6778 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6779
6780 fi;
6781
6782 eval "$ac_cv_use_protocol_http"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6785 fi
6786
6787 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6790 else
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6793 fi
6794
6795
6796 enablestring=
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6799 no_cache=0
6800 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6801 if test "${enable_protocol_ftp+set}" = set; then
6802 enableval="$enable_protocol_ftp"
6803
6804 if test "$enableval" = yes; then
6805 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6806 else
6807 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6808 fi
6809
6810 else
6811
6812 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6815 else
6816 no_cache=1
6817 fi
6818
6819 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6820
6821 fi;
6822
6823 eval "$ac_cv_use_protocol_ftp"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6826 fi
6827
6828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6831 else
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6834 fi
6835
6836
6837 enablestring=
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6840 no_cache=0
6841 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6842 if test "${enable_protocol_file+set}" = set; then
6843 enableval="$enable_protocol_file"
6844
6845 if test "$enableval" = yes; then
6846 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6847 else
6848 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6849 fi
6850
6851 else
6852
6853 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x ; then
6855 eval "DEFAULT_$LINE"
6856 else
6857 no_cache=1
6858 fi
6859
6860 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6861
6862 fi;
6863
6864 eval "$ac_cv_use_protocol_file"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6867 fi
6868
6869 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6872 else
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6875 fi
6876
6877
6878
6879
6880
6881 enablestring=
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6884 no_cache=0
6885 # Check whether --enable-threads or --disable-threads was given.
6886 if test "${enable_threads+set}" = set; then
6887 enableval="$enable_threads"
6888
6889 if test "$enableval" = yes; then
6890 ac_cv_use_threads='wxUSE_THREADS=yes'
6891 else
6892 ac_cv_use_threads='wxUSE_THREADS=no'
6893 fi
6894
6895 else
6896
6897 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x ; then
6899 eval "DEFAULT_$LINE"
6900 else
6901 no_cache=1
6902 fi
6903
6904 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6905
6906 fi;
6907
6908 eval "$ac_cv_use_threads"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6911 fi
6912
6913 if test "$wxUSE_THREADS" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6916 else
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6919 fi
6920
6921
6922 if test "$wxUSE_GUI" = "yes"; then
6923
6924
6925
6926 enablestring=
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6929 no_cache=0
6930 # Check whether --enable-docview or --disable-docview was given.
6931 if test "${enable_docview+set}" = set; then
6932 enableval="$enable_docview"
6933
6934 if test "$enableval" = yes; then
6935 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6936 else
6937 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6938 fi
6939
6940 else
6941
6942 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6945 else
6946 no_cache=1
6947 fi
6948
6949 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6950
6951 fi;
6952
6953 eval "$ac_cv_use_docview"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6956 fi
6957
6958 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6961 else
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6964 fi
6965
6966
6967 enablestring=
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6970 no_cache=0
6971 # Check whether --enable-help or --disable-help was given.
6972 if test "${enable_help+set}" = set; then
6973 enableval="$enable_help"
6974
6975 if test "$enableval" = yes; then
6976 ac_cv_use_help='wxUSE_HELP=yes'
6977 else
6978 ac_cv_use_help='wxUSE_HELP=no'
6979 fi
6980
6981 else
6982
6983 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6991
6992 fi;
6993
6994 eval "$ac_cv_use_help"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6997 fi
6998
6999 if test "$wxUSE_HELP" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7002 else
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7005 fi
7006
7007
7008 enablestring=
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7011 no_cache=0
7012 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7013 if test "${enable_mshtmlhelp+set}" = set; then
7014 enableval="$enable_mshtmlhelp"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7018 else
7019 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7020 fi
7021
7022 else
7023
7024 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7032
7033 fi;
7034
7035 eval "$ac_cv_use_mshtmlhelp"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7038 fi
7039
7040 if test "$wxUSE_MS_HTML_HELP" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7043 else
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7046 fi
7047
7048
7049 enablestring=
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7052 no_cache=0
7053 # Check whether --enable-html or --disable-html was given.
7054 if test "${enable_html+set}" = set; then
7055 enableval="$enable_html"
7056
7057 if test "$enableval" = yes; then
7058 ac_cv_use_html='wxUSE_HTML=yes'
7059 else
7060 ac_cv_use_html='wxUSE_HTML=no'
7061 fi
7062
7063 else
7064
7065 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7073
7074 fi;
7075
7076 eval "$ac_cv_use_html"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7079 fi
7080
7081 if test "$wxUSE_HTML" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7084 else
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7087 fi
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7095 if test "${enable_htmlhelp+set}" = set; then
7096 enableval="$enable_htmlhelp"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7100 else
7101 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7114
7115 fi;
7116
7117 eval "$ac_cv_use_htmlhelp"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_WXHTML_HELP" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-xrc or --disable-xrc was given.
7136 if test "${enable_xrc+set}" = set; then
7137 enableval="$enable_xrc"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_xrc='wxUSE_XRC=yes'
7141 else
7142 ac_cv_use_xrc='wxUSE_XRC=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7155
7156 fi;
7157
7158 eval "$ac_cv_use_xrc"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_XRC" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-aui or --disable-aui was given.
7177 if test "${enable_aui+set}" = set; then
7178 enableval="$enable_aui"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_aui='wxUSE_AUI=yes'
7182 else
7183 ac_cv_use_aui='wxUSE_AUI=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7196
7197 fi;
7198
7199 eval "$ac_cv_use_aui"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_AUI" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-constraints or --disable-constraints was given.
7218 if test "${enable_constraints+set}" = set; then
7219 enableval="$enable_constraints"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7223 else
7224 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7237
7238 fi;
7239
7240 eval "$ac_cv_use_constraints"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_CONSTRAINTS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 enablestring=
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7257 no_cache=0
7258 # Check whether --enable-printarch or --disable-printarch was given.
7259 if test "${enable_printarch+set}" = set; then
7260 enableval="$enable_printarch"
7261
7262 if test "$enableval" = yes; then
7263 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7264 else
7265 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7266 fi
7267
7268 else
7269
7270 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 else
7274 no_cache=1
7275 fi
7276
7277 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7278
7279 fi;
7280
7281 eval "$ac_cv_use_printarch"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7289 else
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7292 fi
7293
7294
7295 enablestring=
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7298 no_cache=0
7299 # Check whether --enable-mdi or --disable-mdi was given.
7300 if test "${enable_mdi+set}" = set; then
7301 enableval="$enable_mdi"
7302
7303 if test "$enableval" = yes; then
7304 ac_cv_use_mdi='wxUSE_MDI=yes'
7305 else
7306 ac_cv_use_mdi='wxUSE_MDI=no'
7307 fi
7308
7309 else
7310
7311 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7314 else
7315 no_cache=1
7316 fi
7317
7318 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7319
7320 fi;
7321
7322 eval "$ac_cv_use_mdi"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7325 fi
7326
7327 if test "$wxUSE_MDI" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7330 else
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7333 fi
7334
7335
7336 enablestring=
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7339 no_cache=0
7340 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7341 if test "${enable_mdidoc+set}" = set; then
7342 enableval="$enable_mdidoc"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7346 else
7347 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7348 fi
7349
7350 else
7351
7352 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7360
7361 fi;
7362
7363 eval "$ac_cv_use_mdidoc"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7366 fi
7367
7368 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7371 else
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7374 fi
7375
7376
7377 enablestring=
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7380 no_cache=0
7381 # Check whether --enable-loggui or --disable-loggui was given.
7382 if test "${enable_loggui+set}" = set; then
7383 enableval="$enable_loggui"
7384
7385 if test "$enableval" = yes; then
7386 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7387 else
7388 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7389 fi
7390
7391 else
7392
7393 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x ; then
7395 eval "DEFAULT_$LINE"
7396 else
7397 no_cache=1
7398 fi
7399
7400 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7401
7402 fi;
7403
7404 eval "$ac_cv_use_loggui"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7407 fi
7408
7409 if test "$wxUSE_LOGGUI" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7412 else
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7415 fi
7416
7417
7418 enablestring=
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7421 no_cache=0
7422 # Check whether --enable-logwin or --disable-logwin was given.
7423 if test "${enable_logwin+set}" = set; then
7424 enableval="$enable_logwin"
7425
7426 if test "$enableval" = yes; then
7427 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7428 else
7429 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7430 fi
7431
7432 else
7433
7434 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7442
7443 fi;
7444
7445 eval "$ac_cv_use_logwin"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7448 fi
7449
7450 if test "$wxUSE_LOGWINDOW" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7453 else
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7456 fi
7457
7458
7459 enablestring=
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7462 no_cache=0
7463 # Check whether --enable-logdialog or --disable-logdialog was given.
7464 if test "${enable_logdialog+set}" = set; then
7465 enableval="$enable_logdialog"
7466
7467 if test "$enableval" = yes; then
7468 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7469 else
7470 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7471 fi
7472
7473 else
7474
7475 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7478 else
7479 no_cache=1
7480 fi
7481
7482 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7483
7484 fi;
7485
7486 eval "$ac_cv_use_logdialog"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7489 fi
7490
7491 if test "$wxUSE_LOGDIALOG" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7494 else
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7497 fi
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-webkit or --disable-webkit was given.
7505 if test "${enable_webkit+set}" = set; then
7506 enableval="$enable_webkit"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7510 else
7511 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7512 fi
7513
7514 else
7515
7516 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7524
7525 fi;
7526
7527 eval "$ac_cv_use_webkit"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_WEBKIT" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 enablestring=
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-html or --disable-html was given.
7546 if test "${enable_html+set}" = set; then
7547 enableval="$enable_html"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7551 else
7552 ac_cv_use_html='wxUSE_RICHTEXT=no'
7553 fi
7554
7555 else
7556
7557 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x ; then
7559 eval "DEFAULT_$LINE"
7560 else
7561 no_cache=1
7562 fi
7563
7564 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7565
7566 fi;
7567
7568 eval "$ac_cv_use_html"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7571 fi
7572
7573 if test "$wxUSE_RICHTEXT" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7576 else
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7579 fi
7580
7581
7582 enablestring=
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7585 no_cache=0
7586 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7587 if test "${enable_graphics_ctx+set}" = set; then
7588 enableval="$enable_graphics_ctx"
7589
7590 if test "$enableval" = yes; then
7591 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7592 else
7593 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7594 fi
7595
7596 else
7597
7598 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7601 else
7602 no_cache=1
7603 fi
7604
7605 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7606
7607 fi;
7608
7609 eval "$ac_cv_use_graphics_ctx"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7617 else
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7620 fi
7621
7622
7623
7624 enablestring=
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7627 no_cache=0
7628 # Check whether --enable-postscript or --disable-postscript was given.
7629 if test "${enable_postscript+set}" = set; then
7630 enableval="$enable_postscript"
7631
7632 if test "$enableval" = yes; then
7633 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7634 else
7635 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7636 fi
7637
7638 else
7639
7640 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x ; then
7642 eval "DEFAULT_$LINE"
7643 else
7644 no_cache=1
7645 fi
7646
7647 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7648
7649 fi;
7650
7651 eval "$ac_cv_use_postscript"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7654 fi
7655
7656 if test "$wxUSE_POSTSCRIPT" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7659 else
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7662 fi
7663
7664
7665
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-prologio or --disable-prologio was given.
7673 if test "${enable_prologio+set}" = set; then
7674 enableval="$enable_prologio"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7678 else
7679 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7692
7693 fi;
7694
7695 eval "$ac_cv_use_prologio"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_PROLOGIO" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-resources or --disable-resources was given.
7714 if test "${enable_resources+set}" = set; then
7715 enableval="$enable_resources"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7719 else
7720 ac_cv_use_resources='wxUSE_RESOURCES=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7733
7734 fi;
7735
7736 eval "$ac_cv_use_resources"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_RESOURCES" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750
7751
7752 enablestring=
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7755 no_cache=0
7756 # Check whether --enable-clipboard or --disable-clipboard was given.
7757 if test "${enable_clipboard+set}" = set; then
7758 enableval="$enable_clipboard"
7759
7760 if test "$enableval" = yes; then
7761 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7762 else
7763 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7764 fi
7765
7766 else
7767
7768 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7771 else
7772 no_cache=1
7773 fi
7774
7775 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7776
7777 fi;
7778
7779 eval "$ac_cv_use_clipboard"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7782 fi
7783
7784 if test "$wxUSE_CLIPBOARD" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7787 else
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7790 fi
7791
7792
7793 enablestring=
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7796 no_cache=0
7797 # Check whether --enable-dnd or --disable-dnd was given.
7798 if test "${enable_dnd+set}" = set; then
7799 enableval="$enable_dnd"
7800
7801 if test "$enableval" = yes; then
7802 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7803 else
7804 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7805 fi
7806
7807 else
7808
7809 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 else
7813 no_cache=1
7814 fi
7815
7816 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7817
7818 fi;
7819
7820 eval "$ac_cv_use_dnd"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7828 else
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7831 fi
7832
7833
7834 enablestring=
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7837 no_cache=0
7838 # Check whether --enable-metafile or --disable-metafile was given.
7839 if test "${enable_metafile+set}" = set; then
7840 enableval="$enable_metafile"
7841
7842 if test "$enableval" = yes; then
7843 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7844 else
7845 ac_cv_use_metafile='wxUSE_METAFILE=no'
7846 fi
7847
7848 else
7849
7850 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x ; then
7852 eval "DEFAULT_$LINE"
7853 else
7854 no_cache=1
7855 fi
7856
7857 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7858
7859 fi;
7860
7861 eval "$ac_cv_use_metafile"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7864 fi
7865
7866 if test "$wxUSE_METAFILE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7869 else
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7872 fi
7873
7874
7875
7876
7877
7878 enablestring=
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7881 no_cache=0
7882 # Check whether --enable-controls or --disable-controls was given.
7883 if test "${enable_controls+set}" = set; then
7884 enableval="$enable_controls"
7885
7886 if test "$enableval" = yes; then
7887 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7888 else
7889 ac_cv_use_controls='wxUSE_CONTROLS=no'
7890 fi
7891
7892 else
7893
7894 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x ; then
7896 eval "DEFAULT_$LINE"
7897 else
7898 no_cache=1
7899 fi
7900
7901 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7902
7903 fi;
7904
7905 eval "$ac_cv_use_controls"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7908 fi
7909
7910 if test "$wxUSE_CONTROLS" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7913 else
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7916 fi
7917
7918
7919 if test "$wxUSE_CONTROLS" = "yes"; then
7920 DEFAULT_wxUSE_ACCEL=yes
7921 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7922 DEFAULT_wxUSE_BMPBUTTON=yes
7923 DEFAULT_wxUSE_BUTTON=yes
7924 DEFAULT_wxUSE_CALCTRL=yes
7925 DEFAULT_wxUSE_CARET=yes
7926 DEFAULT_wxUSE_COMBOBOX=yes
7927 DEFAULT_wxUSE_CHECKBOX=yes
7928 DEFAULT_wxUSE_CHECKLISTBOX=yes
7929 DEFAULT_wxUSE_CHOICE=yes
7930 DEFAULT_wxUSE_CHOICEBOOK=yes
7931 DEFAULT_wxUSE_COLLPANE=yes
7932 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7933 DEFAULT_wxUSE_COMBOBOX=yes
7934 DEFAULT_wxUSE_DATEPICKCTRL=yes
7935 DEFAULT_wxUSE_DISPLAY=yes
7936 DEFAULT_wxUSE_DETECT_SM=yes
7937 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7938 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7939 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7940 DEFAULT_wxUSE_GAUGE=yes
7941 DEFAULT_wxUSE_GRID=yes
7942 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7943 DEFAULT_wxUSE_DATAVIEWCTRL=no
7944 DEFAULT_wxUSE_IMAGLIST=yes
7945 DEFAULT_wxUSE_LISTBOOK=yes
7946 DEFAULT_wxUSE_LISTBOX=yes
7947 DEFAULT_wxUSE_LISTCTRL=yes
7948 DEFAULT_wxUSE_NOTEBOOK=yes
7949 DEFAULT_wxUSE_RADIOBOX=yes
7950 DEFAULT_wxUSE_RADIOBTN=yes
7951 DEFAULT_wxUSE_SASH=yes
7952 DEFAULT_wxUSE_SCROLLBAR=yes
7953 DEFAULT_wxUSE_SLIDER=yes
7954 DEFAULT_wxUSE_SPINBTN=yes
7955 DEFAULT_wxUSE_SPINCTRL=yes
7956 DEFAULT_wxUSE_SPLITTER=yes
7957 DEFAULT_wxUSE_STATBMP=yes
7958 DEFAULT_wxUSE_STATBOX=yes
7959 DEFAULT_wxUSE_STATLINE=yes
7960 DEFAULT_wxUSE_STATUSBAR=yes
7961 DEFAULT_wxUSE_TAB_DIALOG=yes
7962 DEFAULT_wxUSE_TOGGLEBTN=yes
7963 DEFAULT_wxUSE_TOOLBAR=yes
7964 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7965 DEFAULT_wxUSE_TOOLTIPS=yes
7966 DEFAULT_wxUSE_TREEBOOK=yes
7967 DEFAULT_wxUSE_TOOLBOOK=yes
7968 DEFAULT_wxUSE_TREECTRL=yes
7969 DEFAULT_wxUSE_POPUPWIN=yes
7970 DEFAULT_wxUSE_TIPWINDOW=yes
7971 elif test "$wxUSE_CONTROLS" = "no"; then
7972 DEFAULT_wxUSE_ACCEL=no
7973 DEFAULT_wxUSE_ANIMATIONCTRL=no
7974 DEFAULT_wxUSE_BMPBUTTON=no
7975 DEFAULT_wxUSE_BUTTON=no
7976 DEFAULT_wxUSE_CALCTRL=no
7977 DEFAULT_wxUSE_CARET=no
7978 DEFAULT_wxUSE_COLLPANE=no
7979 DEFAULT_wxUSE_COMBOBOX=no
7980 DEFAULT_wxUSE_CHECKBOX=no
7981 DEFAULT_wxUSE_CHECKLISTBOX=no
7982 DEFAULT_wxUSE_CHOICE=no
7983 DEFAULT_wxUSE_CHOICEBOOK=no
7984 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7985 DEFAULT_wxUSE_COMBOBOX=no
7986 DEFAULT_wxUSE_DATEPICKCTRL=no
7987 DEFAULT_wxUSE_DISPLAY=no
7988 DEFAULT_wxUSE_DETECT_SM=no
7989 DEFAULT_wxUSE_DIRPICKERCTRL=no
7990 DEFAULT_wxUSE_FILEPICKERCTRL=no
7991 DEFAULT_wxUSE_FONTPICKERCTRL=no
7992 DEFAULT_wxUSE_GAUGE=no
7993 DEFAULT_wxUSE_GRID=no
7994 DEFAULT_wxUSE_HYPERLINKCTRL=no
7995 DEFAULT_wxUSE_DATAVIEWCTRL=no
7996 DEFAULT_wxUSE_IMAGLIST=no
7997 DEFAULT_wxUSE_LISTBOOK=no
7998 DEFAULT_wxUSE_LISTBOX=no
7999 DEFAULT_wxUSE_LISTCTRL=no
8000 DEFAULT_wxUSE_NOTEBOOK=no
8001 DEFAULT_wxUSE_RADIOBOX=no
8002 DEFAULT_wxUSE_RADIOBTN=no
8003 DEFAULT_wxUSE_SASH=no
8004 DEFAULT_wxUSE_SCROLLBAR=no
8005 DEFAULT_wxUSE_SLIDER=no
8006 DEFAULT_wxUSE_SPINBTN=no
8007 DEFAULT_wxUSE_SPINCTRL=no
8008 DEFAULT_wxUSE_SPLITTER=no
8009 DEFAULT_wxUSE_STATBMP=no
8010 DEFAULT_wxUSE_STATBOX=no
8011 DEFAULT_wxUSE_STATLINE=no
8012 DEFAULT_wxUSE_STATUSBAR=no
8013 DEFAULT_wxUSE_TAB_DIALOG=no
8014 DEFAULT_wxUSE_TOGGLEBTN=no
8015 DEFAULT_wxUSE_TOOLBAR=no
8016 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8017 DEFAULT_wxUSE_TOOLTIPS=no
8018 DEFAULT_wxUSE_TREEBOOK=no
8019 DEFAULT_wxUSE_TOOLBOOK=no
8020 DEFAULT_wxUSE_TREECTRL=no
8021 DEFAULT_wxUSE_POPUPWIN=no
8022 DEFAULT_wxUSE_TIPWINDOW=no
8023 fi
8024
8025
8026 enablestring=
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8029 no_cache=0
8030 # Check whether --enable-accel or --disable-accel was given.
8031 if test "${enable_accel+set}" = set; then
8032 enableval="$enable_accel"
8033
8034 if test "$enableval" = yes; then
8035 ac_cv_use_accel='wxUSE_ACCEL=yes'
8036 else
8037 ac_cv_use_accel='wxUSE_ACCEL=no'
8038 fi
8039
8040 else
8041
8042 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8045 else
8046 no_cache=1
8047 fi
8048
8049 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8050
8051 fi;
8052
8053 eval "$ac_cv_use_accel"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8056 fi
8057
8058 if test "$wxUSE_ACCEL" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8061 else
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8064 fi
8065
8066
8067 enablestring=
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8070 no_cache=0
8071 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8072 if test "${enable_animatectrl+set}" = set; then
8073 enableval="$enable_animatectrl"
8074
8075 if test "$enableval" = yes; then
8076 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8077 else
8078 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8079 fi
8080
8081 else
8082
8083 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8086 else
8087 no_cache=1
8088 fi
8089
8090 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8091
8092 fi;
8093
8094 eval "$ac_cv_use_animatectrl"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8097 fi
8098
8099 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8102 else
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8105 fi
8106
8107
8108 enablestring=
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8111 no_cache=0
8112 # Check whether --enable-button or --disable-button was given.
8113 if test "${enable_button+set}" = set; then
8114 enableval="$enable_button"
8115
8116 if test "$enableval" = yes; then
8117 ac_cv_use_button='wxUSE_BUTTON=yes'
8118 else
8119 ac_cv_use_button='wxUSE_BUTTON=no'
8120 fi
8121
8122 else
8123
8124 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8127 else
8128 no_cache=1
8129 fi
8130
8131 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8132
8133 fi;
8134
8135 eval "$ac_cv_use_button"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8138 fi
8139
8140 if test "$wxUSE_BUTTON" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8143 else
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8146 fi
8147
8148
8149 enablestring=
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8152 no_cache=0
8153 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8154 if test "${enable_bmpbutton+set}" = set; then
8155 enableval="$enable_bmpbutton"
8156
8157 if test "$enableval" = yes; then
8158 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8159 else
8160 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8161 fi
8162
8163 else
8164
8165 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8168 else
8169 no_cache=1
8170 fi
8171
8172 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8173
8174 fi;
8175
8176 eval "$ac_cv_use_bmpbutton"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8179 fi
8180
8181 if test "$wxUSE_BMPBUTTON" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8184 else
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8187 fi
8188
8189
8190 enablestring=
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8193 no_cache=0
8194 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8195 if test "${enable_bmpcombobox+set}" = set; then
8196 enableval="$enable_bmpcombobox"
8197
8198 if test "$enableval" = yes; then
8199 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8200 else
8201 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8202 fi
8203
8204 else
8205
8206 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8209 else
8210 no_cache=1
8211 fi
8212
8213 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8214
8215 fi;
8216
8217 eval "$ac_cv_use_bmpcombobox"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8220 fi
8221
8222 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8225 else
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8228 fi
8229
8230
8231 enablestring=
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8234 no_cache=0
8235 # Check whether --enable-calendar or --disable-calendar was given.
8236 if test "${enable_calendar+set}" = set; then
8237 enableval="$enable_calendar"
8238
8239 if test "$enableval" = yes; then
8240 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8241 else
8242 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8243 fi
8244
8245 else
8246
8247 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8250 else
8251 no_cache=1
8252 fi
8253
8254 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8255
8256 fi;
8257
8258 eval "$ac_cv_use_calendar"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8261 fi
8262
8263 if test "$wxUSE_CALCTRL" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8266 else
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8269 fi
8270
8271
8272 enablestring=
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8275 no_cache=0
8276 # Check whether --enable-caret or --disable-caret was given.
8277 if test "${enable_caret+set}" = set; then
8278 enableval="$enable_caret"
8279
8280 if test "$enableval" = yes; then
8281 ac_cv_use_caret='wxUSE_CARET=yes'
8282 else
8283 ac_cv_use_caret='wxUSE_CARET=no'
8284 fi
8285
8286 else
8287
8288 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x ; then
8290 eval "DEFAULT_$LINE"
8291 else
8292 no_cache=1
8293 fi
8294
8295 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8296
8297 fi;
8298
8299 eval "$ac_cv_use_caret"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8302 fi
8303
8304 if test "$wxUSE_CARET" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8307 else
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8310 fi
8311
8312
8313 enablestring=
8314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8316 no_cache=0
8317 # Check whether --enable-checkbox or --disable-checkbox was given.
8318 if test "${enable_checkbox+set}" = set; then
8319 enableval="$enable_checkbox"
8320
8321 if test "$enableval" = yes; then
8322 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8323 else
8324 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8325 fi
8326
8327 else
8328
8329 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x ; then
8331 eval "DEFAULT_$LINE"
8332 else
8333 no_cache=1
8334 fi
8335
8336 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8337
8338 fi;
8339
8340 eval "$ac_cv_use_checkbox"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8343 fi
8344
8345 if test "$wxUSE_CHECKBOX" = yes; then
8346 echo "$as_me:$LINENO: result: yes" >&5
8347 echo "${ECHO_T}yes" >&6
8348 else
8349 echo "$as_me:$LINENO: result: no" >&5
8350 echo "${ECHO_T}no" >&6
8351 fi
8352
8353
8354 enablestring=
8355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8357 no_cache=0
8358 # Check whether --enable-checklst or --disable-checklst was given.
8359 if test "${enable_checklst+set}" = set; then
8360 enableval="$enable_checklst"
8361
8362 if test "$enableval" = yes; then
8363 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8364 else
8365 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8366 fi
8367
8368 else
8369
8370 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x ; then
8372 eval "DEFAULT_$LINE"
8373 else
8374 no_cache=1
8375 fi
8376
8377 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8378
8379 fi;
8380
8381 eval "$ac_cv_use_checklst"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8384 fi
8385
8386 if test "$wxUSE_CHECKLST" = yes; then
8387 echo "$as_me:$LINENO: result: yes" >&5
8388 echo "${ECHO_T}yes" >&6
8389 else
8390 echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6
8392 fi
8393
8394
8395 enablestring=
8396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8398 no_cache=0
8399 # Check whether --enable-choice or --disable-choice was given.
8400 if test "${enable_choice+set}" = set; then
8401 enableval="$enable_choice"
8402
8403 if test "$enableval" = yes; then
8404 ac_cv_use_choice='wxUSE_CHOICE=yes'
8405 else
8406 ac_cv_use_choice='wxUSE_CHOICE=no'
8407 fi
8408
8409 else
8410
8411 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x ; then
8413 eval "DEFAULT_$LINE"
8414 else
8415 no_cache=1
8416 fi
8417
8418 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8419
8420 fi;
8421
8422 eval "$ac_cv_use_choice"
8423 if test "$no_cache" != 1; then
8424 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8425 fi
8426
8427 if test "$wxUSE_CHOICE" = yes; then
8428 echo "$as_me:$LINENO: result: yes" >&5
8429 echo "${ECHO_T}yes" >&6
8430 else
8431 echo "$as_me:$LINENO: result: no" >&5
8432 echo "${ECHO_T}no" >&6
8433 fi
8434
8435
8436 enablestring=
8437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8438 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8439 no_cache=0
8440 # Check whether --enable-choicebook or --disable-choicebook was given.
8441 if test "${enable_choicebook+set}" = set; then
8442 enableval="$enable_choicebook"
8443
8444 if test "$enableval" = yes; then
8445 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8446 else
8447 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8448 fi
8449
8450 else
8451
8452 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x ; then
8454 eval "DEFAULT_$LINE"
8455 else
8456 no_cache=1
8457 fi
8458
8459 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8460
8461 fi;
8462
8463 eval "$ac_cv_use_choicebook"
8464 if test "$no_cache" != 1; then
8465 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8466 fi
8467
8468 if test "$wxUSE_CHOICEBOOK" = yes; then
8469 echo "$as_me:$LINENO: result: yes" >&5
8470 echo "${ECHO_T}yes" >&6
8471 else
8472 echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6
8474 fi
8475
8476
8477 enablestring=
8478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8480 no_cache=0
8481 # Check whether --enable-collpane or --disable-collpane was given.
8482 if test "${enable_collpane+set}" = set; then
8483 enableval="$enable_collpane"
8484
8485 if test "$enableval" = yes; then
8486 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8487 else
8488 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8489 fi
8490
8491 else
8492
8493 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x ; then
8495 eval "DEFAULT_$LINE"
8496 else
8497 no_cache=1
8498 fi
8499
8500 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8501
8502 fi;
8503
8504 eval "$ac_cv_use_collpane"
8505 if test "$no_cache" != 1; then
8506 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8507 fi
8508
8509 if test "$wxUSE_COLLPANE" = yes; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8512 else
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8515 fi
8516
8517
8518 enablestring=
8519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8520 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8521 no_cache=0
8522 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8523 if test "${enable_colourpicker+set}" = set; then
8524 enableval="$enable_colourpicker"
8525
8526 if test "$enableval" = yes; then
8527 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8528 else
8529 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8530 fi
8531
8532 else
8533
8534 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8535 if test "x$LINE" != x ; then
8536 eval "DEFAULT_$LINE"
8537 else
8538 no_cache=1
8539 fi
8540
8541 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8542
8543 fi;
8544
8545 eval "$ac_cv_use_colourpicker"
8546 if test "$no_cache" != 1; then
8547 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8548 fi
8549
8550 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8551 echo "$as_me:$LINENO: result: yes" >&5
8552 echo "${ECHO_T}yes" >&6
8553 else
8554 echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6
8556 fi
8557
8558
8559 enablestring=
8560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8562 no_cache=0
8563 # Check whether --enable-combobox or --disable-combobox was given.
8564 if test "${enable_combobox+set}" = set; then
8565 enableval="$enable_combobox"
8566
8567 if test "$enableval" = yes; then
8568 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8569 else
8570 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8571 fi
8572
8573 else
8574
8575 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8576 if test "x$LINE" != x ; then
8577 eval "DEFAULT_$LINE"
8578 else
8579 no_cache=1
8580 fi
8581
8582 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8583
8584 fi;
8585
8586 eval "$ac_cv_use_combobox"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8589 fi
8590
8591 if test "$wxUSE_COMBOBOX" = yes; then
8592 echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6
8594 else
8595 echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6
8597 fi
8598
8599
8600 enablestring=
8601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8603 no_cache=0
8604 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8605 if test "${enable_comboctrl+set}" = set; then
8606 enableval="$enable_comboctrl"
8607
8608 if test "$enableval" = yes; then
8609 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8610 else
8611 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8612 fi
8613
8614 else
8615
8616 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x ; then
8618 eval "DEFAULT_$LINE"
8619 else
8620 no_cache=1
8621 fi
8622
8623 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8624
8625 fi;
8626
8627 eval "$ac_cv_use_comboctrl"
8628 if test "$no_cache" != 1; then
8629 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8630 fi
8631
8632 if test "$wxUSE_COMBOCTRL" = yes; then
8633 echo "$as_me:$LINENO: result: yes" >&5
8634 echo "${ECHO_T}yes" >&6
8635 else
8636 echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6
8638 fi
8639
8640
8641 enablestring=
8642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8644 no_cache=0
8645 # Check whether --enable-datepick or --disable-datepick was given.
8646 if test "${enable_datepick+set}" = set; then
8647 enableval="$enable_datepick"
8648
8649 if test "$enableval" = yes; then
8650 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8651 else
8652 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8653 fi
8654
8655 else
8656
8657 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8660 else
8661 no_cache=1
8662 fi
8663
8664 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8665
8666 fi;
8667
8668 eval "$ac_cv_use_datepick"
8669 if test "$no_cache" != 1; then
8670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8671 fi
8672
8673 if test "$wxUSE_DATEPICKCTRL" = yes; then
8674 echo "$as_me:$LINENO: result: yes" >&5
8675 echo "${ECHO_T}yes" >&6
8676 else
8677 echo "$as_me:$LINENO: result: no" >&5
8678 echo "${ECHO_T}no" >&6
8679 fi
8680
8681
8682 enablestring=
8683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8684 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8685 no_cache=0
8686 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8687 if test "${enable_dirpicker+set}" = set; then
8688 enableval="$enable_dirpicker"
8689
8690 if test "$enableval" = yes; then
8691 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8692 else
8693 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8694 fi
8695
8696 else
8697
8698 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8699 if test "x$LINE" != x ; then
8700 eval "DEFAULT_$LINE"
8701 else
8702 no_cache=1
8703 fi
8704
8705 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8706
8707 fi;
8708
8709 eval "$ac_cv_use_dirpicker"
8710 if test "$no_cache" != 1; then
8711 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8712 fi
8713
8714 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8715 echo "$as_me:$LINENO: result: yes" >&5
8716 echo "${ECHO_T}yes" >&6
8717 else
8718 echo "$as_me:$LINENO: result: no" >&5
8719 echo "${ECHO_T}no" >&6
8720 fi
8721
8722
8723 enablestring=
8724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8726 no_cache=0
8727 # Check whether --enable-display or --disable-display was given.
8728 if test "${enable_display+set}" = set; then
8729 enableval="$enable_display"
8730
8731 if test "$enableval" = yes; then
8732 ac_cv_use_display='wxUSE_DISPLAY=yes'
8733 else
8734 ac_cv_use_display='wxUSE_DISPLAY=no'
8735 fi
8736
8737 else
8738
8739 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8740 if test "x$LINE" != x ; then
8741 eval "DEFAULT_$LINE"
8742 else
8743 no_cache=1
8744 fi
8745
8746 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8747
8748 fi;
8749
8750 eval "$ac_cv_use_display"
8751 if test "$no_cache" != 1; then
8752 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8753 fi
8754
8755 if test "$wxUSE_DISPLAY" = yes; then
8756 echo "$as_me:$LINENO: result: yes" >&5
8757 echo "${ECHO_T}yes" >&6
8758 else
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8761 fi
8762
8763
8764 enablestring=
8765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8767 no_cache=0
8768 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8769 if test "${enable_detect_sm+set}" = set; then
8770 enableval="$enable_detect_sm"
8771
8772 if test "$enableval" = yes; then
8773 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8774 else
8775 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8776 fi
8777
8778 else
8779
8780 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8783 else
8784 no_cache=1
8785 fi
8786
8787 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8788
8789 fi;
8790
8791 eval "$ac_cv_use_detect_sm"
8792 if test "$no_cache" != 1; then
8793 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8794 fi
8795
8796 if test "$wxUSE_DETECT_SM" = yes; then
8797 echo "$as_me:$LINENO: result: yes" >&5
8798 echo "${ECHO_T}yes" >&6
8799 else
8800 echo "$as_me:$LINENO: result: no" >&5
8801 echo "${ECHO_T}no" >&6
8802 fi
8803
8804
8805 enablestring=
8806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8807 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8808 no_cache=0
8809 # Check whether --enable-filepicker or --disable-filepicker was given.
8810 if test "${enable_filepicker+set}" = set; then
8811 enableval="$enable_filepicker"
8812
8813 if test "$enableval" = yes; then
8814 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8815 else
8816 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8817 fi
8818
8819 else
8820
8821 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8822 if test "x$LINE" != x ; then
8823 eval "DEFAULT_$LINE"
8824 else
8825 no_cache=1
8826 fi
8827
8828 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8829
8830 fi;
8831
8832 eval "$ac_cv_use_filepicker"
8833 if test "$no_cache" != 1; then
8834 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8835 fi
8836
8837 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8838 echo "$as_me:$LINENO: result: yes" >&5
8839 echo "${ECHO_T}yes" >&6
8840 else
8841 echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6
8843 fi
8844
8845
8846 enablestring=
8847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8849 no_cache=0
8850 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8851 if test "${enable_fontpicker+set}" = set; then
8852 enableval="$enable_fontpicker"
8853
8854 if test "$enableval" = yes; then
8855 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8856 else
8857 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8858 fi
8859
8860 else
8861
8862 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8863 if test "x$LINE" != x ; then
8864 eval "DEFAULT_$LINE"
8865 else
8866 no_cache=1
8867 fi
8868
8869 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8870
8871 fi;
8872
8873 eval "$ac_cv_use_fontpicker"
8874 if test "$no_cache" != 1; then
8875 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8876 fi
8877
8878 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8879 echo "$as_me:$LINENO: result: yes" >&5
8880 echo "${ECHO_T}yes" >&6
8881 else
8882 echo "$as_me:$LINENO: result: no" >&5
8883 echo "${ECHO_T}no" >&6
8884 fi
8885
8886
8887 enablestring=
8888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8890 no_cache=0
8891 # Check whether --enable-gauge or --disable-gauge was given.
8892 if test "${enable_gauge+set}" = set; then
8893 enableval="$enable_gauge"
8894
8895 if test "$enableval" = yes; then
8896 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8897 else
8898 ac_cv_use_gauge='wxUSE_GAUGE=no'
8899 fi
8900
8901 else
8902
8903 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8904 if test "x$LINE" != x ; then
8905 eval "DEFAULT_$LINE"
8906 else
8907 no_cache=1
8908 fi
8909
8910 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8911
8912 fi;
8913
8914 eval "$ac_cv_use_gauge"
8915 if test "$no_cache" != 1; then
8916 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8917 fi
8918
8919 if test "$wxUSE_GAUGE" = yes; then
8920 echo "$as_me:$LINENO: result: yes" >&5
8921 echo "${ECHO_T}yes" >&6
8922 else
8923 echo "$as_me:$LINENO: result: no" >&5
8924 echo "${ECHO_T}no" >&6
8925 fi
8926
8927
8928 enablestring=
8929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8931 no_cache=0
8932 # Check whether --enable-grid or --disable-grid was given.
8933 if test "${enable_grid+set}" = set; then
8934 enableval="$enable_grid"
8935
8936 if test "$enableval" = yes; then
8937 ac_cv_use_grid='wxUSE_GRID=yes'
8938 else
8939 ac_cv_use_grid='wxUSE_GRID=no'
8940 fi
8941
8942 else
8943
8944 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8945 if test "x$LINE" != x ; then
8946 eval "DEFAULT_$LINE"
8947 else
8948 no_cache=1
8949 fi
8950
8951 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8952
8953 fi;
8954
8955 eval "$ac_cv_use_grid"
8956 if test "$no_cache" != 1; then
8957 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8958 fi
8959
8960 if test "$wxUSE_GRID" = yes; then
8961 echo "$as_me:$LINENO: result: yes" >&5
8962 echo "${ECHO_T}yes" >&6
8963 else
8964 echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6
8966 fi
8967
8968
8969 enablestring=
8970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8972 no_cache=0
8973 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8974 if test "${enable_dataviewctrl+set}" = set; then
8975 enableval="$enable_dataviewctrl"
8976
8977 if test "$enableval" = yes; then
8978 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8979 else
8980 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8981 fi
8982
8983 else
8984
8985 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8986 if test "x$LINE" != x ; then
8987 eval "DEFAULT_$LINE"
8988 else
8989 no_cache=1
8990 fi
8991
8992 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8993
8994 fi;
8995
8996 eval "$ac_cv_use_dataviewctrl"
8997 if test "$no_cache" != 1; then
8998 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8999 fi
9000
9001 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9002 echo "$as_me:$LINENO: result: yes" >&5
9003 echo "${ECHO_T}yes" >&6
9004 else
9005 echo "$as_me:$LINENO: result: no" >&5
9006 echo "${ECHO_T}no" >&6
9007 fi
9008
9009
9010 enablestring=
9011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9013 no_cache=0
9014 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9015 if test "${enable_hyperlink+set}" = set; then
9016 enableval="$enable_hyperlink"
9017
9018 if test "$enableval" = yes; then
9019 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9020 else
9021 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9022 fi
9023
9024 else
9025
9026 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9027 if test "x$LINE" != x ; then
9028 eval "DEFAULT_$LINE"
9029 else
9030 no_cache=1
9031 fi
9032
9033 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9034
9035 fi;
9036
9037 eval "$ac_cv_use_hyperlink"
9038 if test "$no_cache" != 1; then
9039 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9040 fi
9041
9042 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9043 echo "$as_me:$LINENO: result: yes" >&5
9044 echo "${ECHO_T}yes" >&6
9045 else
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9048 fi
9049
9050
9051 enablestring=
9052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9054 no_cache=0
9055 # Check whether --enable-imaglist or --disable-imaglist was given.
9056 if test "${enable_imaglist+set}" = set; then
9057 enableval="$enable_imaglist"
9058
9059 if test "$enableval" = yes; then
9060 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9061 else
9062 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9063 fi
9064
9065 else
9066
9067 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9068 if test "x$LINE" != x ; then
9069 eval "DEFAULT_$LINE"
9070 else
9071 no_cache=1
9072 fi
9073
9074 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9075
9076 fi;
9077
9078 eval "$ac_cv_use_imaglist"
9079 if test "$no_cache" != 1; then
9080 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9081 fi
9082
9083 if test "$wxUSE_IMAGLIST" = yes; then
9084 echo "$as_me:$LINENO: result: yes" >&5
9085 echo "${ECHO_T}yes" >&6
9086 else
9087 echo "$as_me:$LINENO: result: no" >&5
9088 echo "${ECHO_T}no" >&6
9089 fi
9090
9091
9092 enablestring=
9093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9094 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9095 no_cache=0
9096 # Check whether --enable-listbook or --disable-listbook was given.
9097 if test "${enable_listbook+set}" = set; then
9098 enableval="$enable_listbook"
9099
9100 if test "$enableval" = yes; then
9101 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9102 else
9103 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9104 fi
9105
9106 else
9107
9108 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9109 if test "x$LINE" != x ; then
9110 eval "DEFAULT_$LINE"
9111 else
9112 no_cache=1
9113 fi
9114
9115 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9116
9117 fi;
9118
9119 eval "$ac_cv_use_listbook"
9120 if test "$no_cache" != 1; then
9121 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9122 fi
9123
9124 if test "$wxUSE_LISTBOOK" = yes; then
9125 echo "$as_me:$LINENO: result: yes" >&5
9126 echo "${ECHO_T}yes" >&6
9127 else
9128 echo "$as_me:$LINENO: result: no" >&5
9129 echo "${ECHO_T}no" >&6
9130 fi
9131
9132
9133 enablestring=
9134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9136 no_cache=0
9137 # Check whether --enable-listbox or --disable-listbox was given.
9138 if test "${enable_listbox+set}" = set; then
9139 enableval="$enable_listbox"
9140
9141 if test "$enableval" = yes; then
9142 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9143 else
9144 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9145 fi
9146
9147 else
9148
9149 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9150 if test "x$LINE" != x ; then
9151 eval "DEFAULT_$LINE"
9152 else
9153 no_cache=1
9154 fi
9155
9156 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9157
9158 fi;
9159
9160 eval "$ac_cv_use_listbox"
9161 if test "$no_cache" != 1; then
9162 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9163 fi
9164
9165 if test "$wxUSE_LISTBOX" = yes; then
9166 echo "$as_me:$LINENO: result: yes" >&5
9167 echo "${ECHO_T}yes" >&6
9168 else
9169 echo "$as_me:$LINENO: result: no" >&5
9170 echo "${ECHO_T}no" >&6
9171 fi
9172
9173
9174 enablestring=
9175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9176 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9177 no_cache=0
9178 # Check whether --enable-listctrl or --disable-listctrl was given.
9179 if test "${enable_listctrl+set}" = set; then
9180 enableval="$enable_listctrl"
9181
9182 if test "$enableval" = yes; then
9183 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9184 else
9185 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9186 fi
9187
9188 else
9189
9190 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9191 if test "x$LINE" != x ; then
9192 eval "DEFAULT_$LINE"
9193 else
9194 no_cache=1
9195 fi
9196
9197 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9198
9199 fi;
9200
9201 eval "$ac_cv_use_listctrl"
9202 if test "$no_cache" != 1; then
9203 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9204 fi
9205
9206 if test "$wxUSE_LISTCTRL" = yes; then
9207 echo "$as_me:$LINENO: result: yes" >&5
9208 echo "${ECHO_T}yes" >&6
9209 else
9210 echo "$as_me:$LINENO: result: no" >&5
9211 echo "${ECHO_T}no" >&6
9212 fi
9213
9214
9215 enablestring=
9216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9218 no_cache=0
9219 # Check whether --enable-notebook or --disable-notebook was given.
9220 if test "${enable_notebook+set}" = set; then
9221 enableval="$enable_notebook"
9222
9223 if test "$enableval" = yes; then
9224 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9225 else
9226 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9227 fi
9228
9229 else
9230
9231 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9232 if test "x$LINE" != x ; then
9233 eval "DEFAULT_$LINE"
9234 else
9235 no_cache=1
9236 fi
9237
9238 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9239
9240 fi;
9241
9242 eval "$ac_cv_use_notebook"
9243 if test "$no_cache" != 1; then
9244 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9245 fi
9246
9247 if test "$wxUSE_NOTEBOOK" = yes; then
9248 echo "$as_me:$LINENO: result: yes" >&5
9249 echo "${ECHO_T}yes" >&6
9250 else
9251 echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6
9253 fi
9254
9255
9256 enablestring=
9257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9259 no_cache=0
9260 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9261 if test "${enable_odcombobox+set}" = set; then
9262 enableval="$enable_odcombobox"
9263
9264 if test "$enableval" = yes; then
9265 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9266 else
9267 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9268 fi
9269
9270 else
9271
9272 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9273 if test "x$LINE" != x ; then
9274 eval "DEFAULT_$LINE"
9275 else
9276 no_cache=1
9277 fi
9278
9279 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9280
9281 fi;
9282
9283 eval "$ac_cv_use_odcombobox"
9284 if test "$no_cache" != 1; then
9285 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9286 fi
9287
9288 if test "$wxUSE_ODCOMBOBOX" = yes; then
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9291 else
9292 echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6
9294 fi
9295
9296
9297 enablestring=
9298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9300 no_cache=0
9301 # Check whether --enable-radiobox or --disable-radiobox was given.
9302 if test "${enable_radiobox+set}" = set; then
9303 enableval="$enable_radiobox"
9304
9305 if test "$enableval" = yes; then
9306 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9307 else
9308 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9309 fi
9310
9311 else
9312
9313 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9314 if test "x$LINE" != x ; then
9315 eval "DEFAULT_$LINE"
9316 else
9317 no_cache=1
9318 fi
9319
9320 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9321
9322 fi;
9323
9324 eval "$ac_cv_use_radiobox"
9325 if test "$no_cache" != 1; then
9326 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9327 fi
9328
9329 if test "$wxUSE_RADIOBOX" = yes; then
9330 echo "$as_me:$LINENO: result: yes" >&5
9331 echo "${ECHO_T}yes" >&6
9332 else
9333 echo "$as_me:$LINENO: result: no" >&5
9334 echo "${ECHO_T}no" >&6
9335 fi
9336
9337
9338 enablestring=
9339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9341 no_cache=0
9342 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9343 if test "${enable_radiobtn+set}" = set; then
9344 enableval="$enable_radiobtn"
9345
9346 if test "$enableval" = yes; then
9347 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9348 else
9349 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9350 fi
9351
9352 else
9353
9354 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9355 if test "x$LINE" != x ; then
9356 eval "DEFAULT_$LINE"
9357 else
9358 no_cache=1
9359 fi
9360
9361 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9362
9363 fi;
9364
9365 eval "$ac_cv_use_radiobtn"
9366 if test "$no_cache" != 1; then
9367 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9368 fi
9369
9370 if test "$wxUSE_RADIOBTN" = yes; then
9371 echo "$as_me:$LINENO: result: yes" >&5
9372 echo "${ECHO_T}yes" >&6
9373 else
9374 echo "$as_me:$LINENO: result: no" >&5
9375 echo "${ECHO_T}no" >&6
9376 fi
9377
9378
9379 enablestring=
9380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9382 no_cache=0
9383 # Check whether --enable-sash or --disable-sash was given.
9384 if test "${enable_sash+set}" = set; then
9385 enableval="$enable_sash"
9386
9387 if test "$enableval" = yes; then
9388 ac_cv_use_sash='wxUSE_SASH=yes'
9389 else
9390 ac_cv_use_sash='wxUSE_SASH=no'
9391 fi
9392
9393 else
9394
9395 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9396 if test "x$LINE" != x ; then
9397 eval "DEFAULT_$LINE"
9398 else
9399 no_cache=1
9400 fi
9401
9402 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9403
9404 fi;
9405
9406 eval "$ac_cv_use_sash"
9407 if test "$no_cache" != 1; then
9408 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9409 fi
9410
9411 if test "$wxUSE_SASH" = yes; then
9412 echo "$as_me:$LINENO: result: yes" >&5
9413 echo "${ECHO_T}yes" >&6
9414 else
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9417 fi
9418
9419
9420 enablestring=
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9423 no_cache=0
9424 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9425 if test "${enable_scrollbar+set}" = set; then
9426 enableval="$enable_scrollbar"
9427
9428 if test "$enableval" = yes; then
9429 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9430 else
9431 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9432 fi
9433
9434 else
9435
9436 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9439 else
9440 no_cache=1
9441 fi
9442
9443 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9444
9445 fi;
9446
9447 eval "$ac_cv_use_scrollbar"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9450 fi
9451
9452 if test "$wxUSE_SCROLLBAR" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9455 else
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9458 fi
9459
9460
9461 enablestring=
9462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9464 no_cache=0
9465 # Check whether --enable-slider or --disable-slider was given.
9466 if test "${enable_slider+set}" = set; then
9467 enableval="$enable_slider"
9468
9469 if test "$enableval" = yes; then
9470 ac_cv_use_slider='wxUSE_SLIDER=yes'
9471 else
9472 ac_cv_use_slider='wxUSE_SLIDER=no'
9473 fi
9474
9475 else
9476
9477 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9480 else
9481 no_cache=1
9482 fi
9483
9484 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9485
9486 fi;
9487
9488 eval "$ac_cv_use_slider"
9489 if test "$no_cache" != 1; then
9490 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9491 fi
9492
9493 if test "$wxUSE_SLIDER" = yes; then
9494 echo "$as_me:$LINENO: result: yes" >&5
9495 echo "${ECHO_T}yes" >&6
9496 else
9497 echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6
9499 fi
9500
9501
9502 enablestring=
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9505 no_cache=0
9506 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9507 if test "${enable_spinbtn+set}" = set; then
9508 enableval="$enable_spinbtn"
9509
9510 if test "$enableval" = yes; then
9511 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9512 else
9513 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9514 fi
9515
9516 else
9517
9518 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x ; then
9520 eval "DEFAULT_$LINE"
9521 else
9522 no_cache=1
9523 fi
9524
9525 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9526
9527 fi;
9528
9529 eval "$ac_cv_use_spinbtn"
9530 if test "$no_cache" != 1; then
9531 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9532 fi
9533
9534 if test "$wxUSE_SPINBTN" = yes; then
9535 echo "$as_me:$LINENO: result: yes" >&5
9536 echo "${ECHO_T}yes" >&6
9537 else
9538 echo "$as_me:$LINENO: result: no" >&5
9539 echo "${ECHO_T}no" >&6
9540 fi
9541
9542
9543 enablestring=
9544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9545 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9546 no_cache=0
9547 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9548 if test "${enable_spinctrl+set}" = set; then
9549 enableval="$enable_spinctrl"
9550
9551 if test "$enableval" = yes; then
9552 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9553 else
9554 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9555 fi
9556
9557 else
9558
9559 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x ; then
9561 eval "DEFAULT_$LINE"
9562 else
9563 no_cache=1
9564 fi
9565
9566 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9567
9568 fi;
9569
9570 eval "$ac_cv_use_spinctrl"
9571 if test "$no_cache" != 1; then
9572 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9573 fi
9574
9575 if test "$wxUSE_SPINCTRL" = yes; then
9576 echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9578 else
9579 echo "$as_me:$LINENO: result: no" >&5
9580 echo "${ECHO_T}no" >&6
9581 fi
9582
9583
9584 enablestring=
9585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9587 no_cache=0
9588 # Check whether --enable-splitter or --disable-splitter was given.
9589 if test "${enable_splitter+set}" = set; then
9590 enableval="$enable_splitter"
9591
9592 if test "$enableval" = yes; then
9593 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9594 else
9595 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9596 fi
9597
9598 else
9599
9600 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x ; then
9602 eval "DEFAULT_$LINE"
9603 else
9604 no_cache=1
9605 fi
9606
9607 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9608
9609 fi;
9610
9611 eval "$ac_cv_use_splitter"
9612 if test "$no_cache" != 1; then
9613 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9614 fi
9615
9616 if test "$wxUSE_SPLITTER" = yes; then
9617 echo "$as_me:$LINENO: result: yes" >&5
9618 echo "${ECHO_T}yes" >&6
9619 else
9620 echo "$as_me:$LINENO: result: no" >&5
9621 echo "${ECHO_T}no" >&6
9622 fi
9623
9624
9625 enablestring=
9626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9628 no_cache=0
9629 # Check whether --enable-statbmp or --disable-statbmp was given.
9630 if test "${enable_statbmp+set}" = set; then
9631 enableval="$enable_statbmp"
9632
9633 if test "$enableval" = yes; then
9634 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9635 else
9636 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9637 fi
9638
9639 else
9640
9641 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9642 if test "x$LINE" != x ; then
9643 eval "DEFAULT_$LINE"
9644 else
9645 no_cache=1
9646 fi
9647
9648 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9649
9650 fi;
9651
9652 eval "$ac_cv_use_statbmp"
9653 if test "$no_cache" != 1; then
9654 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9655 fi
9656
9657 if test "$wxUSE_STATBMP" = yes; then
9658 echo "$as_me:$LINENO: result: yes" >&5
9659 echo "${ECHO_T}yes" >&6
9660 else
9661 echo "$as_me:$LINENO: result: no" >&5
9662 echo "${ECHO_T}no" >&6
9663 fi
9664
9665
9666 enablestring=
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9669 no_cache=0
9670 # Check whether --enable-statbox or --disable-statbox was given.
9671 if test "${enable_statbox+set}" = set; then
9672 enableval="$enable_statbox"
9673
9674 if test "$enableval" = yes; then
9675 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9676 else
9677 ac_cv_use_statbox='wxUSE_STATBOX=no'
9678 fi
9679
9680 else
9681
9682 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x ; then
9684 eval "DEFAULT_$LINE"
9685 else
9686 no_cache=1
9687 fi
9688
9689 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9690
9691 fi;
9692
9693 eval "$ac_cv_use_statbox"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9696 fi
9697
9698 if test "$wxUSE_STATBOX" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9701 else
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9704 fi
9705
9706
9707 enablestring=
9708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9710 no_cache=0
9711 # Check whether --enable-statline or --disable-statline was given.
9712 if test "${enable_statline+set}" = set; then
9713 enableval="$enable_statline"
9714
9715 if test "$enableval" = yes; then
9716 ac_cv_use_statline='wxUSE_STATLINE=yes'
9717 else
9718 ac_cv_use_statline='wxUSE_STATLINE=no'
9719 fi
9720
9721 else
9722
9723 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9724 if test "x$LINE" != x ; then
9725 eval "DEFAULT_$LINE"
9726 else
9727 no_cache=1
9728 fi
9729
9730 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9731
9732 fi;
9733
9734 eval "$ac_cv_use_statline"
9735 if test "$no_cache" != 1; then
9736 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9737 fi
9738
9739 if test "$wxUSE_STATLINE" = yes; then
9740 echo "$as_me:$LINENO: result: yes" >&5
9741 echo "${ECHO_T}yes" >&6
9742 else
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9745 fi
9746
9747
9748 enablestring=
9749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9751 no_cache=0
9752 # Check whether --enable-stattext or --disable-stattext was given.
9753 if test "${enable_stattext+set}" = set; then
9754 enableval="$enable_stattext"
9755
9756 if test "$enableval" = yes; then
9757 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9758 else
9759 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9760 fi
9761
9762 else
9763
9764 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9765 if test "x$LINE" != x ; then
9766 eval "DEFAULT_$LINE"
9767 else
9768 no_cache=1
9769 fi
9770
9771 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9772
9773 fi;
9774
9775 eval "$ac_cv_use_stattext"
9776 if test "$no_cache" != 1; then
9777 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9778 fi
9779
9780 if test "$wxUSE_STATTEXT" = yes; then
9781 echo "$as_me:$LINENO: result: yes" >&5
9782 echo "${ECHO_T}yes" >&6
9783 else
9784 echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6
9786 fi
9787
9788
9789 enablestring=
9790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9792 no_cache=0
9793 # Check whether --enable-statusbar or --disable-statusbar was given.
9794 if test "${enable_statusbar+set}" = set; then
9795 enableval="$enable_statusbar"
9796
9797 if test "$enableval" = yes; then
9798 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9799 else
9800 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9801 fi
9802
9803 else
9804
9805 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9806 if test "x$LINE" != x ; then
9807 eval "DEFAULT_$LINE"
9808 else
9809 no_cache=1
9810 fi
9811
9812 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9813
9814 fi;
9815
9816 eval "$ac_cv_use_statusbar"
9817 if test "$no_cache" != 1; then
9818 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9819 fi
9820
9821 if test "$wxUSE_STATUSBAR" = yes; then
9822 echo "$as_me:$LINENO: result: yes" >&5
9823 echo "${ECHO_T}yes" >&6
9824 else
9825 echo "$as_me:$LINENO: result: no" >&5
9826 echo "${ECHO_T}no" >&6
9827 fi
9828
9829
9830 enablestring=
9831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9833 no_cache=0
9834 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9835 if test "${enable_tabdialog+set}" = set; then
9836 enableval="$enable_tabdialog"
9837
9838 if test "$enableval" = yes; then
9839 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9840 else
9841 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9842 fi
9843
9844 else
9845
9846 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x ; then
9848 eval "DEFAULT_$LINE"
9849 else
9850 no_cache=1
9851 fi
9852
9853 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9854
9855 fi;
9856
9857 eval "$ac_cv_use_tabdialog"
9858 if test "$no_cache" != 1; then
9859 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9860 fi
9861
9862 if test "$wxUSE_TAB_DIALOG" = yes; then
9863 echo "$as_me:$LINENO: result: yes" >&5
9864 echo "${ECHO_T}yes" >&6
9865 else
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9868 fi
9869
9870
9871 enablestring=
9872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9874 no_cache=0
9875 # Check whether --enable-textctrl or --disable-textctrl was given.
9876 if test "${enable_textctrl+set}" = set; then
9877 enableval="$enable_textctrl"
9878
9879 if test "$enableval" = yes; then
9880 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9881 else
9882 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9883 fi
9884
9885 else
9886
9887 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9888 if test "x$LINE" != x ; then
9889 eval "DEFAULT_$LINE"
9890 else
9891 no_cache=1
9892 fi
9893
9894 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9895
9896 fi;
9897
9898 eval "$ac_cv_use_textctrl"
9899 if test "$no_cache" != 1; then
9900 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9901 fi
9902
9903 if test "$wxUSE_TEXTCTRL" = yes; then
9904 echo "$as_me:$LINENO: result: yes" >&5
9905 echo "${ECHO_T}yes" >&6
9906 else
9907 echo "$as_me:$LINENO: result: no" >&5
9908 echo "${ECHO_T}no" >&6
9909 fi
9910
9911
9912 enablestring=
9913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9915 no_cache=0
9916 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9917 if test "${enable_togglebtn+set}" = set; then
9918 enableval="$enable_togglebtn"
9919
9920 if test "$enableval" = yes; then
9921 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9922 else
9923 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9924 fi
9925
9926 else
9927
9928 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9929 if test "x$LINE" != x ; then
9930 eval "DEFAULT_$LINE"
9931 else
9932 no_cache=1
9933 fi
9934
9935 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9936
9937 fi;
9938
9939 eval "$ac_cv_use_togglebtn"
9940 if test "$no_cache" != 1; then
9941 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9942 fi
9943
9944 if test "$wxUSE_TOGGLEBTN" = yes; then
9945 echo "$as_me:$LINENO: result: yes" >&5
9946 echo "${ECHO_T}yes" >&6
9947 else
9948 echo "$as_me:$LINENO: result: no" >&5
9949 echo "${ECHO_T}no" >&6
9950 fi
9951
9952
9953 enablestring=
9954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9955 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9956 no_cache=0
9957 # Check whether --enable-toolbar or --disable-toolbar was given.
9958 if test "${enable_toolbar+set}" = set; then
9959 enableval="$enable_toolbar"
9960
9961 if test "$enableval" = yes; then
9962 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9963 else
9964 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9965 fi
9966
9967 else
9968
9969 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9970 if test "x$LINE" != x ; then
9971 eval "DEFAULT_$LINE"
9972 else
9973 no_cache=1
9974 fi
9975
9976 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9977
9978 fi;
9979
9980 eval "$ac_cv_use_toolbar"
9981 if test "$no_cache" != 1; then
9982 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9983 fi
9984
9985 if test "$wxUSE_TOOLBAR" = yes; then
9986 echo "$as_me:$LINENO: result: yes" >&5
9987 echo "${ECHO_T}yes" >&6
9988 else
9989 echo "$as_me:$LINENO: result: no" >&5
9990 echo "${ECHO_T}no" >&6
9991 fi
9992
9993
9994 enablestring=
9995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9996 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9997 no_cache=0
9998 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9999 if test "${enable_tbarnative+set}" = set; then
10000 enableval="$enable_tbarnative"
10001
10002 if test "$enableval" = yes; then
10003 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10004 else
10005 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10006 fi
10007
10008 else
10009
10010 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10011 if test "x$LINE" != x ; then
10012 eval "DEFAULT_$LINE"
10013 else
10014 no_cache=1
10015 fi
10016
10017 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10018
10019 fi;
10020
10021 eval "$ac_cv_use_tbarnative"
10022 if test "$no_cache" != 1; then
10023 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10024 fi
10025
10026 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10027 echo "$as_me:$LINENO: result: yes" >&5
10028 echo "${ECHO_T}yes" >&6
10029 else
10030 echo "$as_me:$LINENO: result: no" >&5
10031 echo "${ECHO_T}no" >&6
10032 fi
10033
10034
10035 enablestring=
10036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10038 no_cache=0
10039 # Check whether --enable-treebook or --disable-treebook was given.
10040 if test "${enable_treebook+set}" = set; then
10041 enableval="$enable_treebook"
10042
10043 if test "$enableval" = yes; then
10044 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10045 else
10046 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10047 fi
10048
10049 else
10050
10051 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x ; then
10053 eval "DEFAULT_$LINE"
10054 else
10055 no_cache=1
10056 fi
10057
10058 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10059
10060 fi;
10061
10062 eval "$ac_cv_use_treebook"
10063 if test "$no_cache" != 1; then
10064 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10065 fi
10066
10067 if test "$wxUSE_TREEBOOK" = yes; then
10068 echo "$as_me:$LINENO: result: yes" >&5
10069 echo "${ECHO_T}yes" >&6
10070 else
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10073 fi
10074
10075
10076 enablestring=
10077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10078 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10079 no_cache=0
10080 # Check whether --enable-toolbook or --disable-toolbook was given.
10081 if test "${enable_toolbook+set}" = set; then
10082 enableval="$enable_toolbook"
10083
10084 if test "$enableval" = yes; then
10085 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10086 else
10087 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10088 fi
10089
10090 else
10091
10092 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10093 if test "x$LINE" != x ; then
10094 eval "DEFAULT_$LINE"
10095 else
10096 no_cache=1
10097 fi
10098
10099 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10100
10101 fi;
10102
10103 eval "$ac_cv_use_toolbook"
10104 if test "$no_cache" != 1; then
10105 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10106 fi
10107
10108 if test "$wxUSE_TOOLBOOK" = yes; then
10109 echo "$as_me:$LINENO: result: yes" >&5
10110 echo "${ECHO_T}yes" >&6
10111 else
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10114 fi
10115
10116
10117 enablestring=
10118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10120 no_cache=0
10121 # Check whether --enable-treectrl or --disable-treectrl was given.
10122 if test "${enable_treectrl+set}" = set; then
10123 enableval="$enable_treectrl"
10124
10125 if test "$enableval" = yes; then
10126 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10127 else
10128 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10129 fi
10130
10131 else
10132
10133 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10134 if test "x$LINE" != x ; then
10135 eval "DEFAULT_$LINE"
10136 else
10137 no_cache=1
10138 fi
10139
10140 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10141
10142 fi;
10143
10144 eval "$ac_cv_use_treectrl"
10145 if test "$no_cache" != 1; then
10146 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10147 fi
10148
10149 if test "$wxUSE_TREECTRL" = yes; then
10150 echo "$as_me:$LINENO: result: yes" >&5
10151 echo "${ECHO_T}yes" >&6
10152 else
10153 echo "$as_me:$LINENO: result: no" >&5
10154 echo "${ECHO_T}no" >&6
10155 fi
10156
10157
10158 enablestring=
10159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10161 no_cache=0
10162 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10163 if test "${enable_tipwindow+set}" = set; then
10164 enableval="$enable_tipwindow"
10165
10166 if test "$enableval" = yes; then
10167 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10168 else
10169 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10170 fi
10171
10172 else
10173
10174 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10175 if test "x$LINE" != x ; then
10176 eval "DEFAULT_$LINE"
10177 else
10178 no_cache=1
10179 fi
10180
10181 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10182
10183 fi;
10184
10185 eval "$ac_cv_use_tipwindow"
10186 if test "$no_cache" != 1; then
10187 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10188 fi
10189
10190 if test "$wxUSE_TIPWINDOW" = yes; then
10191 echo "$as_me:$LINENO: result: yes" >&5
10192 echo "${ECHO_T}yes" >&6
10193 else
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10196 fi
10197
10198
10199 enablestring=
10200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10202 no_cache=0
10203 # Check whether --enable-popupwin or --disable-popupwin was given.
10204 if test "${enable_popupwin+set}" = set; then
10205 enableval="$enable_popupwin"
10206
10207 if test "$enableval" = yes; then
10208 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10209 else
10210 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10211 fi
10212
10213 else
10214
10215 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10216 if test "x$LINE" != x ; then
10217 eval "DEFAULT_$LINE"
10218 else
10219 no_cache=1
10220 fi
10221
10222 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10223
10224 fi;
10225
10226 eval "$ac_cv_use_popupwin"
10227 if test "$no_cache" != 1; then
10228 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10229 fi
10230
10231 if test "$wxUSE_POPUPWIN" = yes; then
10232 echo "$as_me:$LINENO: result: yes" >&5
10233 echo "${ECHO_T}yes" >&6
10234 else
10235 echo "$as_me:$LINENO: result: no" >&5
10236 echo "${ECHO_T}no" >&6
10237 fi
10238
10239
10240
10241
10242 enablestring=
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10245 no_cache=0
10246 # Check whether --enable-commondlg or --disable-commondlg was given.
10247 if test "${enable_commondlg+set}" = set; then
10248 enableval="$enable_commondlg"
10249
10250 if test "$enableval" = yes; then
10251 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10252 else
10253 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10254 fi
10255
10256 else
10257
10258 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x ; then
10260 eval "DEFAULT_$LINE"
10261 else
10262 no_cache=1
10263 fi
10264
10265 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10266
10267 fi;
10268
10269 eval "$ac_cv_use_commondlg"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10272 fi
10273
10274 if test "$wxUSE_COMMONDLGS" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10277 else
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10280 fi
10281
10282
10283 enablestring=
10284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10286 no_cache=0
10287 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10288 if test "${enable_aboutdlg+set}" = set; then
10289 enableval="$enable_aboutdlg"
10290
10291 if test "$enableval" = yes; then
10292 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10293 else
10294 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10295 fi
10296
10297 else
10298
10299 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x ; then
10301 eval "DEFAULT_$LINE"
10302 else
10303 no_cache=1
10304 fi
10305
10306 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10307
10308 fi;
10309
10310 eval "$ac_cv_use_aboutdlg"
10311 if test "$no_cache" != 1; then
10312 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10313 fi
10314
10315 if test "$wxUSE_ABOUTDLG" = yes; then
10316 echo "$as_me:$LINENO: result: yes" >&5
10317 echo "${ECHO_T}yes" >&6
10318 else
10319 echo "$as_me:$LINENO: result: no" >&5
10320 echo "${ECHO_T}no" >&6
10321 fi
10322
10323
10324 enablestring=
10325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10327 no_cache=0
10328 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10329 if test "${enable_choicedlg+set}" = set; then
10330 enableval="$enable_choicedlg"
10331
10332 if test "$enableval" = yes; then
10333 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10334 else
10335 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10336 fi
10337
10338 else
10339
10340 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10341 if test "x$LINE" != x ; then
10342 eval "DEFAULT_$LINE"
10343 else
10344 no_cache=1
10345 fi
10346
10347 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10348
10349 fi;
10350
10351 eval "$ac_cv_use_choicedlg"
10352 if test "$no_cache" != 1; then
10353 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10354 fi
10355
10356 if test "$wxUSE_CHOICEDLG" = yes; then
10357 echo "$as_me:$LINENO: result: yes" >&5
10358 echo "${ECHO_T}yes" >&6
10359 else
10360 echo "$as_me:$LINENO: result: no" >&5
10361 echo "${ECHO_T}no" >&6
10362 fi
10363
10364
10365 enablestring=
10366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10368 no_cache=0
10369 # Check whether --enable-coldlg or --disable-coldlg was given.
10370 if test "${enable_coldlg+set}" = set; then
10371 enableval="$enable_coldlg"
10372
10373 if test "$enableval" = yes; then
10374 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10375 else
10376 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10377 fi
10378
10379 else
10380
10381 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10382 if test "x$LINE" != x ; then
10383 eval "DEFAULT_$LINE"
10384 else
10385 no_cache=1
10386 fi
10387
10388 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10389
10390 fi;
10391
10392 eval "$ac_cv_use_coldlg"
10393 if test "$no_cache" != 1; then
10394 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10395 fi
10396
10397 if test "$wxUSE_COLOURDLG" = yes; then
10398 echo "$as_me:$LINENO: result: yes" >&5
10399 echo "${ECHO_T}yes" >&6
10400 else
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10403 fi
10404
10405
10406 enablestring=
10407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10409 no_cache=0
10410 # Check whether --enable-filedlg or --disable-filedlg was given.
10411 if test "${enable_filedlg+set}" = set; then
10412 enableval="$enable_filedlg"
10413
10414 if test "$enableval" = yes; then
10415 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10416 else
10417 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10418 fi
10419
10420 else
10421
10422 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10423 if test "x$LINE" != x ; then
10424 eval "DEFAULT_$LINE"
10425 else
10426 no_cache=1
10427 fi
10428
10429 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10430
10431 fi;
10432
10433 eval "$ac_cv_use_filedlg"
10434 if test "$no_cache" != 1; then
10435 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10436 fi
10437
10438 if test "$wxUSE_FILEDLG" = yes; then
10439 echo "$as_me:$LINENO: result: yes" >&5
10440 echo "${ECHO_T}yes" >&6
10441 else
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10444 fi
10445
10446
10447 enablestring=
10448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10450 no_cache=0
10451 # Check whether --enable-finddlg or --disable-finddlg was given.
10452 if test "${enable_finddlg+set}" = set; then
10453 enableval="$enable_finddlg"
10454
10455 if test "$enableval" = yes; then
10456 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10457 else
10458 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10459 fi
10460
10461 else
10462
10463 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10464 if test "x$LINE" != x ; then
10465 eval "DEFAULT_$LINE"
10466 else
10467 no_cache=1
10468 fi
10469
10470 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10471
10472 fi;
10473
10474 eval "$ac_cv_use_finddlg"
10475 if test "$no_cache" != 1; then
10476 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10477 fi
10478
10479 if test "$wxUSE_FINDREPLDLG" = yes; then
10480 echo "$as_me:$LINENO: result: yes" >&5
10481 echo "${ECHO_T}yes" >&6
10482 else
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10485 fi
10486
10487
10488 enablestring=
10489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10491 no_cache=0
10492 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10493 if test "${enable_fontdlg+set}" = set; then
10494 enableval="$enable_fontdlg"
10495
10496 if test "$enableval" = yes; then
10497 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10498 else
10499 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10500 fi
10501
10502 else
10503
10504 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x ; then
10506 eval "DEFAULT_$LINE"
10507 else
10508 no_cache=1
10509 fi
10510
10511 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10512
10513 fi;
10514
10515 eval "$ac_cv_use_fontdlg"
10516 if test "$no_cache" != 1; then
10517 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10518 fi
10519
10520 if test "$wxUSE_FONTDLG" = yes; then
10521 echo "$as_me:$LINENO: result: yes" >&5
10522 echo "${ECHO_T}yes" >&6
10523 else
10524 echo "$as_me:$LINENO: result: no" >&5
10525 echo "${ECHO_T}no" >&6
10526 fi
10527
10528
10529 enablestring=
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10532 no_cache=0
10533 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10534 if test "${enable_dirdlg+set}" = set; then
10535 enableval="$enable_dirdlg"
10536
10537 if test "$enableval" = yes; then
10538 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10539 else
10540 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10541 fi
10542
10543 else
10544
10545 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x ; then
10547 eval "DEFAULT_$LINE"
10548 else
10549 no_cache=1
10550 fi
10551
10552 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10553
10554 fi;
10555
10556 eval "$ac_cv_use_dirdlg"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10559 fi
10560
10561 if test "$wxUSE_DIRDLG" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10564 else
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10567 fi
10568
10569
10570 enablestring=
10571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10573 no_cache=0
10574 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10575 if test "${enable_msgdlg+set}" = set; then
10576 enableval="$enable_msgdlg"
10577
10578 if test "$enableval" = yes; then
10579 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10580 else
10581 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10582 fi
10583
10584 else
10585
10586 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10587 if test "x$LINE" != x ; then
10588 eval "DEFAULT_$LINE"
10589 else
10590 no_cache=1
10591 fi
10592
10593 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10594
10595 fi;
10596
10597 eval "$ac_cv_use_msgdlg"
10598 if test "$no_cache" != 1; then
10599 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10600 fi
10601
10602 if test "$wxUSE_MSGDLG" = yes; then
10603 echo "$as_me:$LINENO: result: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10605 else
10606 echo "$as_me:$LINENO: result: no" >&5
10607 echo "${ECHO_T}no" >&6
10608 fi
10609
10610
10611 enablestring=
10612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10614 no_cache=0
10615 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10616 if test "${enable_numberdlg+set}" = set; then
10617 enableval="$enable_numberdlg"
10618
10619 if test "$enableval" = yes; then
10620 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10621 else
10622 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10623 fi
10624
10625 else
10626
10627 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10628 if test "x$LINE" != x ; then
10629 eval "DEFAULT_$LINE"
10630 else
10631 no_cache=1
10632 fi
10633
10634 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10635
10636 fi;
10637
10638 eval "$ac_cv_use_numberdlg"
10639 if test "$no_cache" != 1; then
10640 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10641 fi
10642
10643 if test "$wxUSE_NUMBERDLG" = yes; then
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10646 else
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10649 fi
10650
10651
10652 enablestring=
10653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10654 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10655 no_cache=0
10656 # Check whether --enable-splash or --disable-splash was given.
10657 if test "${enable_splash+set}" = set; then
10658 enableval="$enable_splash"
10659
10660 if test "$enableval" = yes; then
10661 ac_cv_use_splash='wxUSE_SPLASH=yes'
10662 else
10663 ac_cv_use_splash='wxUSE_SPLASH=no'
10664 fi
10665
10666 else
10667
10668 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10669 if test "x$LINE" != x ; then
10670 eval "DEFAULT_$LINE"
10671 else
10672 no_cache=1
10673 fi
10674
10675 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10676
10677 fi;
10678
10679 eval "$ac_cv_use_splash"
10680 if test "$no_cache" != 1; then
10681 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10682 fi
10683
10684 if test "$wxUSE_SPLASH" = yes; then
10685 echo "$as_me:$LINENO: result: yes" >&5
10686 echo "${ECHO_T}yes" >&6
10687 else
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10690 fi
10691
10692
10693 enablestring=
10694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10695 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10696 no_cache=0
10697 # Check whether --enable-textdlg or --disable-textdlg was given.
10698 if test "${enable_textdlg+set}" = set; then
10699 enableval="$enable_textdlg"
10700
10701 if test "$enableval" = yes; then
10702 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10703 else
10704 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10705 fi
10706
10707 else
10708
10709 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10710 if test "x$LINE" != x ; then
10711 eval "DEFAULT_$LINE"
10712 else
10713 no_cache=1
10714 fi
10715
10716 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10717
10718 fi;
10719
10720 eval "$ac_cv_use_textdlg"
10721 if test "$no_cache" != 1; then
10722 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10723 fi
10724
10725 if test "$wxUSE_TEXTDLG" = yes; then
10726 echo "$as_me:$LINENO: result: yes" >&5
10727 echo "${ECHO_T}yes" >&6
10728 else
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10731 fi
10732
10733
10734 enablestring=
10735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10737 no_cache=0
10738 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10739 if test "${enable_tipdlg+set}" = set; then
10740 enableval="$enable_tipdlg"
10741
10742 if test "$enableval" = yes; then
10743 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10744 else
10745 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10746 fi
10747
10748 else
10749
10750 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x ; then
10752 eval "DEFAULT_$LINE"
10753 else
10754 no_cache=1
10755 fi
10756
10757 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10758
10759 fi;
10760
10761 eval "$ac_cv_use_tipdlg"
10762 if test "$no_cache" != 1; then
10763 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10764 fi
10765
10766 if test "$wxUSE_STARTUP_TIPS" = yes; then
10767 echo "$as_me:$LINENO: result: yes" >&5
10768 echo "${ECHO_T}yes" >&6
10769 else
10770 echo "$as_me:$LINENO: result: no" >&5
10771 echo "${ECHO_T}no" >&6
10772 fi
10773
10774
10775 enablestring=
10776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10778 no_cache=0
10779 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10780 if test "${enable_progressdlg+set}" = set; then
10781 enableval="$enable_progressdlg"
10782
10783 if test "$enableval" = yes; then
10784 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10785 else
10786 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10787 fi
10788
10789 else
10790
10791 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10792 if test "x$LINE" != x ; then
10793 eval "DEFAULT_$LINE"
10794 else
10795 no_cache=1
10796 fi
10797
10798 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10799
10800 fi;
10801
10802 eval "$ac_cv_use_progressdlg"
10803 if test "$no_cache" != 1; then
10804 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10805 fi
10806
10807 if test "$wxUSE_PROGRESSDLG" = yes; then
10808 echo "$as_me:$LINENO: result: yes" >&5
10809 echo "${ECHO_T}yes" >&6
10810 else
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10813 fi
10814
10815
10816 enablestring=
10817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10819 no_cache=0
10820 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10821 if test "${enable_wizarddlg+set}" = set; then
10822 enableval="$enable_wizarddlg"
10823
10824 if test "$enableval" = yes; then
10825 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10826 else
10827 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10828 fi
10829
10830 else
10831
10832 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10833 if test "x$LINE" != x ; then
10834 eval "DEFAULT_$LINE"
10835 else
10836 no_cache=1
10837 fi
10838
10839 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10840
10841 fi;
10842
10843 eval "$ac_cv_use_wizarddlg"
10844 if test "$no_cache" != 1; then
10845 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10846 fi
10847
10848 if test "$wxUSE_WIZARDDLG" = yes; then
10849 echo "$as_me:$LINENO: result: yes" >&5
10850 echo "${ECHO_T}yes" >&6
10851 else
10852 echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6
10854 fi
10855
10856
10857
10858
10859 enablestring=
10860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10862 no_cache=0
10863 # Check whether --enable-menus or --disable-menus was given.
10864 if test "${enable_menus+set}" = set; then
10865 enableval="$enable_menus"
10866
10867 if test "$enableval" = yes; then
10868 ac_cv_use_menus='wxUSE_MENUS=yes'
10869 else
10870 ac_cv_use_menus='wxUSE_MENUS=no'
10871 fi
10872
10873 else
10874
10875 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x ; then
10877 eval "DEFAULT_$LINE"
10878 else
10879 no_cache=1
10880 fi
10881
10882 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10883
10884 fi;
10885
10886 eval "$ac_cv_use_menus"
10887 if test "$no_cache" != 1; then
10888 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10889 fi
10890
10891 if test "$wxUSE_MENUS" = yes; then
10892 echo "$as_me:$LINENO: result: yes" >&5
10893 echo "${ECHO_T}yes" >&6
10894 else
10895 echo "$as_me:$LINENO: result: no" >&5
10896 echo "${ECHO_T}no" >&6
10897 fi
10898
10899
10900 enablestring=
10901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10903 no_cache=0
10904 # Check whether --enable-miniframe or --disable-miniframe was given.
10905 if test "${enable_miniframe+set}" = set; then
10906 enableval="$enable_miniframe"
10907
10908 if test "$enableval" = yes; then
10909 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10910 else
10911 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10912 fi
10913
10914 else
10915
10916 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10919 else
10920 no_cache=1
10921 fi
10922
10923 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10924
10925 fi;
10926
10927 eval "$ac_cv_use_miniframe"
10928 if test "$no_cache" != 1; then
10929 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10930 fi
10931
10932 if test "$wxUSE_MINIFRAME" = yes; then
10933 echo "$as_me:$LINENO: result: yes" >&5
10934 echo "${ECHO_T}yes" >&6
10935 else
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10938 fi
10939
10940
10941 enablestring=
10942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10944 no_cache=0
10945 # Check whether --enable-tooltips or --disable-tooltips was given.
10946 if test "${enable_tooltips+set}" = set; then
10947 enableval="$enable_tooltips"
10948
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10951 else
10952 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10953 fi
10954
10955 else
10956
10957 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x ; then
10959 eval "DEFAULT_$LINE"
10960 else
10961 no_cache=1
10962 fi
10963
10964 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10965
10966 fi;
10967
10968 eval "$ac_cv_use_tooltips"
10969 if test "$no_cache" != 1; then
10970 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10971 fi
10972
10973 if test "$wxUSE_TOOLTIPS" = yes; then
10974 echo "$as_me:$LINENO: result: yes" >&5
10975 echo "${ECHO_T}yes" >&6
10976 else
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10979 fi
10980
10981
10982 enablestring=
10983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10985 no_cache=0
10986 # Check whether --enable-splines or --disable-splines was given.
10987 if test "${enable_splines+set}" = set; then
10988 enableval="$enable_splines"
10989
10990 if test "$enableval" = yes; then
10991 ac_cv_use_splines='wxUSE_SPLINES=yes'
10992 else
10993 ac_cv_use_splines='wxUSE_SPLINES=no'
10994 fi
10995
10996 else
10997
10998 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x ; then
11000 eval "DEFAULT_$LINE"
11001 else
11002 no_cache=1
11003 fi
11004
11005 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11006
11007 fi;
11008
11009 eval "$ac_cv_use_splines"
11010 if test "$no_cache" != 1; then
11011 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11012 fi
11013
11014 if test "$wxUSE_SPLINES" = yes; then
11015 echo "$as_me:$LINENO: result: yes" >&5
11016 echo "${ECHO_T}yes" >&6
11017 else
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11020 fi
11021
11022
11023 enablestring=
11024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11025 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11026 no_cache=0
11027 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11028 if test "${enable_mousewheel+set}" = set; then
11029 enableval="$enable_mousewheel"
11030
11031 if test "$enableval" = yes; then
11032 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11033 else
11034 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11035 fi
11036
11037 else
11038
11039 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11040 if test "x$LINE" != x ; then
11041 eval "DEFAULT_$LINE"
11042 else
11043 no_cache=1
11044 fi
11045
11046 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11047
11048 fi;
11049
11050 eval "$ac_cv_use_mousewheel"
11051 if test "$no_cache" != 1; then
11052 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11053 fi
11054
11055 if test "$wxUSE_MOUSEWHEEL" = yes; then
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11058 else
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11061 fi
11062
11063
11064 enablestring=
11065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11067 no_cache=0
11068 # Check whether --enable-validators or --disable-validators was given.
11069 if test "${enable_validators+set}" = set; then
11070 enableval="$enable_validators"
11071
11072 if test "$enableval" = yes; then
11073 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11074 else
11075 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11076 fi
11077
11078 else
11079
11080 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11081 if test "x$LINE" != x ; then
11082 eval "DEFAULT_$LINE"
11083 else
11084 no_cache=1
11085 fi
11086
11087 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11088
11089 fi;
11090
11091 eval "$ac_cv_use_validators"
11092 if test "$no_cache" != 1; then
11093 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11094 fi
11095
11096 if test "$wxUSE_VALIDATORS" = yes; then
11097 echo "$as_me:$LINENO: result: yes" >&5
11098 echo "${ECHO_T}yes" >&6
11099 else
11100 echo "$as_me:$LINENO: result: no" >&5
11101 echo "${ECHO_T}no" >&6
11102 fi
11103
11104
11105 enablestring=
11106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11108 no_cache=0
11109 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11110 if test "${enable_busyinfo+set}" = set; then
11111 enableval="$enable_busyinfo"
11112
11113 if test "$enableval" = yes; then
11114 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11115 else
11116 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11117 fi
11118
11119 else
11120
11121 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11122 if test "x$LINE" != x ; then
11123 eval "DEFAULT_$LINE"
11124 else
11125 no_cache=1
11126 fi
11127
11128 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11129
11130 fi;
11131
11132 eval "$ac_cv_use_busyinfo"
11133 if test "$no_cache" != 1; then
11134 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11135 fi
11136
11137 if test "$wxUSE_BUSYINFO" = yes; then
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11140 else
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11143 fi
11144
11145
11146 enablestring=
11147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11148 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11149 no_cache=0
11150 # Check whether --enable-joystick or --disable-joystick was given.
11151 if test "${enable_joystick+set}" = set; then
11152 enableval="$enable_joystick"
11153
11154 if test "$enableval" = yes; then
11155 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11156 else
11157 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11158 fi
11159
11160 else
11161
11162 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11163 if test "x$LINE" != x ; then
11164 eval "DEFAULT_$LINE"
11165 else
11166 no_cache=1
11167 fi
11168
11169 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11170
11171 fi;
11172
11173 eval "$ac_cv_use_joystick"
11174 if test "$no_cache" != 1; then
11175 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11176 fi
11177
11178 if test "$wxUSE_JOYSTICK" = yes; then
11179 echo "$as_me:$LINENO: result: yes" >&5
11180 echo "${ECHO_T}yes" >&6
11181 else
11182 echo "$as_me:$LINENO: result: no" >&5
11183 echo "${ECHO_T}no" >&6
11184 fi
11185
11186
11187 enablestring=
11188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11190 no_cache=0
11191 # Check whether --enable-metafile or --disable-metafile was given.
11192 if test "${enable_metafile+set}" = set; then
11193 enableval="$enable_metafile"
11194
11195 if test "$enableval" = yes; then
11196 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11197 else
11198 ac_cv_use_metafile='wxUSE_METAFILE=no'
11199 fi
11200
11201 else
11202
11203 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11204 if test "x$LINE" != x ; then
11205 eval "DEFAULT_$LINE"
11206 else
11207 no_cache=1
11208 fi
11209
11210 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11211
11212 fi;
11213
11214 eval "$ac_cv_use_metafile"
11215 if test "$no_cache" != 1; then
11216 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11217 fi
11218
11219 if test "$wxUSE_METAFILE" = yes; then
11220 echo "$as_me:$LINENO: result: yes" >&5
11221 echo "${ECHO_T}yes" >&6
11222 else
11223 echo "$as_me:$LINENO: result: no" >&5
11224 echo "${ECHO_T}no" >&6
11225 fi
11226
11227
11228 enablestring=
11229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11231 no_cache=0
11232 # Check whether --enable-dragimage or --disable-dragimage was given.
11233 if test "${enable_dragimage+set}" = set; then
11234 enableval="$enable_dragimage"
11235
11236 if test "$enableval" = yes; then
11237 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11238 else
11239 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11240 fi
11241
11242 else
11243
11244 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11245 if test "x$LINE" != x ; then
11246 eval "DEFAULT_$LINE"
11247 else
11248 no_cache=1
11249 fi
11250
11251 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11252
11253 fi;
11254
11255 eval "$ac_cv_use_dragimage"
11256 if test "$no_cache" != 1; then
11257 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11258 fi
11259
11260 if test "$wxUSE_DRAGIMAGE" = yes; then
11261 echo "$as_me:$LINENO: result: yes" >&5
11262 echo "${ECHO_T}yes" >&6
11263 else
11264 echo "$as_me:$LINENO: result: no" >&5
11265 echo "${ECHO_T}no" >&6
11266 fi
11267
11268
11269 enablestring=
11270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11272 no_cache=0
11273 # Check whether --enable-accessibility or --disable-accessibility was given.
11274 if test "${enable_accessibility+set}" = set; then
11275 enableval="$enable_accessibility"
11276
11277 if test "$enableval" = yes; then
11278 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11279 else
11280 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11281 fi
11282
11283 else
11284
11285 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x ; then
11287 eval "DEFAULT_$LINE"
11288 else
11289 no_cache=1
11290 fi
11291
11292 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11293
11294 fi;
11295
11296 eval "$ac_cv_use_accessibility"
11297 if test "$no_cache" != 1; then
11298 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11299 fi
11300
11301 if test "$wxUSE_ACCESSIBILITY" = yes; then
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11304 else
11305 echo "$as_me:$LINENO: result: no" >&5
11306 echo "${ECHO_T}no" >&6
11307 fi
11308
11309
11310 if test "$wxUSE_MSW" = "1"; then
11311
11312 enablestring=
11313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11314 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11315 no_cache=0
11316 # Check whether --enable-dccache or --disable-dccache was given.
11317 if test "${enable_dccache+set}" = set; then
11318 enableval="$enable_dccache"
11319
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11322 else
11323 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11324 fi
11325
11326 else
11327
11328 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x ; then
11330 eval "DEFAULT_$LINE"
11331 else
11332 no_cache=1
11333 fi
11334
11335 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11336
11337 fi;
11338
11339 eval "$ac_cv_use_dccache"
11340 if test "$no_cache" != 1; then
11341 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11342 fi
11343
11344 if test "$wxUSE_DC_CACHEING" = yes; then
11345 echo "$as_me:$LINENO: result: yes" >&5
11346 echo "${ECHO_T}yes" >&6
11347 else
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11350 fi
11351
11352 fi
11353
11354
11355
11356 enablestring=
11357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11358 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11359 no_cache=0
11360 # Check whether --enable-palette or --disable-palette was given.
11361 if test "${enable_palette+set}" = set; then
11362 enableval="$enable_palette"
11363
11364 if test "$enableval" = yes; then
11365 ac_cv_use_palette='wxUSE_PALETTE=yes'
11366 else
11367 ac_cv_use_palette='wxUSE_PALETTE=no'
11368 fi
11369
11370 else
11371
11372 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11373 if test "x$LINE" != x ; then
11374 eval "DEFAULT_$LINE"
11375 else
11376 no_cache=1
11377 fi
11378
11379 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11380
11381 fi;
11382
11383 eval "$ac_cv_use_palette"
11384 if test "$no_cache" != 1; then
11385 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11386 fi
11387
11388 if test "$wxUSE_PALETTE" = yes; then
11389 echo "$as_me:$LINENO: result: yes" >&5
11390 echo "${ECHO_T}yes" >&6
11391 else
11392 echo "$as_me:$LINENO: result: no" >&5
11393 echo "${ECHO_T}no" >&6
11394 fi
11395
11396
11397 enablestring=
11398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11399 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11400 no_cache=0
11401 # Check whether --enable-image or --disable-image was given.
11402 if test "${enable_image+set}" = set; then
11403 enableval="$enable_image"
11404
11405 if test "$enableval" = yes; then
11406 ac_cv_use_image='wxUSE_IMAGE=yes'
11407 else
11408 ac_cv_use_image='wxUSE_IMAGE=no'
11409 fi
11410
11411 else
11412
11413 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11414 if test "x$LINE" != x ; then
11415 eval "DEFAULT_$LINE"
11416 else
11417 no_cache=1
11418 fi
11419
11420 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11421
11422 fi;
11423
11424 eval "$ac_cv_use_image"
11425 if test "$no_cache" != 1; then
11426 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11427 fi
11428
11429 if test "$wxUSE_IMAGE" = yes; then
11430 echo "$as_me:$LINENO: result: yes" >&5
11431 echo "${ECHO_T}yes" >&6
11432 else
11433 echo "$as_me:$LINENO: result: no" >&5
11434 echo "${ECHO_T}no" >&6
11435 fi
11436
11437
11438 enablestring=
11439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11440 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11441 no_cache=0
11442 # Check whether --enable-gif or --disable-gif was given.
11443 if test "${enable_gif+set}" = set; then
11444 enableval="$enable_gif"
11445
11446 if test "$enableval" = yes; then
11447 ac_cv_use_gif='wxUSE_GIF=yes'
11448 else
11449 ac_cv_use_gif='wxUSE_GIF=no'
11450 fi
11451
11452 else
11453
11454 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11455 if test "x$LINE" != x ; then
11456 eval "DEFAULT_$LINE"
11457 else
11458 no_cache=1
11459 fi
11460
11461 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11462
11463 fi;
11464
11465 eval "$ac_cv_use_gif"
11466 if test "$no_cache" != 1; then
11467 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11468 fi
11469
11470 if test "$wxUSE_GIF" = yes; then
11471 echo "$as_me:$LINENO: result: yes" >&5
11472 echo "${ECHO_T}yes" >&6
11473 else
11474 echo "$as_me:$LINENO: result: no" >&5
11475 echo "${ECHO_T}no" >&6
11476 fi
11477
11478
11479 enablestring=
11480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11482 no_cache=0
11483 # Check whether --enable-pcx or --disable-pcx was given.
11484 if test "${enable_pcx+set}" = set; then
11485 enableval="$enable_pcx"
11486
11487 if test "$enableval" = yes; then
11488 ac_cv_use_pcx='wxUSE_PCX=yes'
11489 else
11490 ac_cv_use_pcx='wxUSE_PCX=no'
11491 fi
11492
11493 else
11494
11495 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11496 if test "x$LINE" != x ; then
11497 eval "DEFAULT_$LINE"
11498 else
11499 no_cache=1
11500 fi
11501
11502 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11503
11504 fi;
11505
11506 eval "$ac_cv_use_pcx"
11507 if test "$no_cache" != 1; then
11508 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11509 fi
11510
11511 if test "$wxUSE_PCX" = yes; then
11512 echo "$as_me:$LINENO: result: yes" >&5
11513 echo "${ECHO_T}yes" >&6
11514 else
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11517 fi
11518
11519
11520 enablestring=
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11523 no_cache=0
11524 # Check whether --enable-tga or --disable-tga was given.
11525 if test "${enable_tga+set}" = set; then
11526 enableval="$enable_tga"
11527
11528 if test "$enableval" = yes; then
11529 ac_cv_use_tga='wxUSE_TGA=yes'
11530 else
11531 ac_cv_use_tga='wxUSE_TGA=no'
11532 fi
11533
11534 else
11535
11536 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x ; then
11538 eval "DEFAULT_$LINE"
11539 else
11540 no_cache=1
11541 fi
11542
11543 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11544
11545 fi;
11546
11547 eval "$ac_cv_use_tga"
11548 if test "$no_cache" != 1; then
11549 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11550 fi
11551
11552 if test "$wxUSE_TGA" = yes; then
11553 echo "$as_me:$LINENO: result: yes" >&5
11554 echo "${ECHO_T}yes" >&6
11555 else
11556 echo "$as_me:$LINENO: result: no" >&5
11557 echo "${ECHO_T}no" >&6
11558 fi
11559
11560
11561 enablestring=
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11564 no_cache=0
11565 # Check whether --enable-iff or --disable-iff was given.
11566 if test "${enable_iff+set}" = set; then
11567 enableval="$enable_iff"
11568
11569 if test "$enableval" = yes; then
11570 ac_cv_use_iff='wxUSE_IFF=yes'
11571 else
11572 ac_cv_use_iff='wxUSE_IFF=no'
11573 fi
11574
11575 else
11576
11577 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11580 else
11581 no_cache=1
11582 fi
11583
11584 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11585
11586 fi;
11587
11588 eval "$ac_cv_use_iff"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11591 fi
11592
11593 if test "$wxUSE_IFF" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11596 else
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11599 fi
11600
11601
11602 enablestring=
11603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11605 no_cache=0
11606 # Check whether --enable-pnm or --disable-pnm was given.
11607 if test "${enable_pnm+set}" = set; then
11608 enableval="$enable_pnm"
11609
11610 if test "$enableval" = yes; then
11611 ac_cv_use_pnm='wxUSE_PNM=yes'
11612 else
11613 ac_cv_use_pnm='wxUSE_PNM=no'
11614 fi
11615
11616 else
11617
11618 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11619 if test "x$LINE" != x ; then
11620 eval "DEFAULT_$LINE"
11621 else
11622 no_cache=1
11623 fi
11624
11625 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11626
11627 fi;
11628
11629 eval "$ac_cv_use_pnm"
11630 if test "$no_cache" != 1; then
11631 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11632 fi
11633
11634 if test "$wxUSE_PNM" = yes; then
11635 echo "$as_me:$LINENO: result: yes" >&5
11636 echo "${ECHO_T}yes" >&6
11637 else
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11640 fi
11641
11642
11643 enablestring=
11644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11646 no_cache=0
11647 # Check whether --enable-xpm or --disable-xpm was given.
11648 if test "${enable_xpm+set}" = set; then
11649 enableval="$enable_xpm"
11650
11651 if test "$enableval" = yes; then
11652 ac_cv_use_xpm='wxUSE_XPM=yes'
11653 else
11654 ac_cv_use_xpm='wxUSE_XPM=no'
11655 fi
11656
11657 else
11658
11659 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11660 if test "x$LINE" != x ; then
11661 eval "DEFAULT_$LINE"
11662 else
11663 no_cache=1
11664 fi
11665
11666 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11667
11668 fi;
11669
11670 eval "$ac_cv_use_xpm"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11673 fi
11674
11675 if test "$wxUSE_XPM" = yes; then
11676 echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6
11678 else
11679 echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6
11681 fi
11682
11683
11684 enablestring=
11685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11687 no_cache=0
11688 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11689 if test "${enable_ico_cur+set}" = set; then
11690 enableval="$enable_ico_cur"
11691
11692 if test "$enableval" = yes; then
11693 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11694 else
11695 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11696 fi
11697
11698 else
11699
11700 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x ; then
11702 eval "DEFAULT_$LINE"
11703 else
11704 no_cache=1
11705 fi
11706
11707 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11708
11709 fi;
11710
11711 eval "$ac_cv_use_ico_cur"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11714 fi
11715
11716 if test "$wxUSE_ICO_CUR" = yes; then
11717 echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6
11719 else
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11722 fi
11723
11724
11725 fi
11726
11727
11728
11729 # Check whether --with-flavour or --without-flavour was given.
11730 if test "${with_flavour+set}" = set; then
11731 withval="$with_flavour"
11732 WX_FLAVOUR="$withval"
11733 fi;
11734
11735
11736
11737 enablestring=
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11740 no_cache=0
11741 # Check whether --enable-official_build or --disable-official_build was given.
11742 if test "${enable_official_build+set}" = set; then
11743 enableval="$enable_official_build"
11744
11745 if test "$enableval" = yes; then
11746 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11747 else
11748 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11749 fi
11750
11751 else
11752
11753 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x ; then
11755 eval "DEFAULT_$LINE"
11756 else
11757 no_cache=1
11758 fi
11759
11760 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11761
11762 fi;
11763
11764 eval "$ac_cv_use_official_build"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11772 else
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11775 fi
11776
11777 # Check whether --enable-vendor or --disable-vendor was given.
11778 if test "${enable_vendor+set}" = set; then
11779 enableval="$enable_vendor"
11780 VENDOR="$enableval"
11781 fi;
11782 if test "x$VENDOR" = "x"; then
11783 VENDOR="custom"
11784 fi
11785
11786
11787
11788
11789 echo "saving argument cache $wx_arg_cache_file"
11790 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11791
11792
11793
11794 echo "$as_me:$LINENO: checking for toolkit" >&5
11795 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11796
11797 # In Wine, we need to default to MSW, not GTK or MOTIF
11798 if test "$wxUSE_WINE" = "yes"; then
11799 DEFAULT_DEFAULT_wxUSE_GTK=0
11800 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11801 DEFAULT_DEFAULT_wxUSE_MSW=1
11802 wxUSE_SHARED=no
11803 fi
11804
11805
11806 if test "$wxUSE_GUI" = "yes"; then
11807
11808 if test "$USE_BEOS" = 1; then
11809 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11810 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11811 { (exit 1); exit 1; }; }
11812 fi
11813
11814 if test "$TOOLKIT_GIVEN" = 1; then
11815 for toolkit in `echo $ALL_TOOLKITS`; do
11816 var=wxUSE_$toolkit
11817 eval "value=\$${var}"
11818 if test "x$value" = "xno"; then
11819 eval "$var=0"
11820 elif test "x$value" != "x"; then
11821 eval "$var=1"
11822 fi
11823
11824 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11825 eval "wx${toolkit}_VERSION=$value"
11826 fi
11827 done
11828 else
11829 for toolkit in `echo $ALL_TOOLKITS`; do
11830 if test "$has_toolkit_in_cache" != 1; then
11831 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11832 else
11833 var=DEFAULT_wxUSE_$toolkit
11834
11835 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11836 if test "x$version" != "x"; then
11837 eval "wx${toolkit}_VERSION=$version"
11838 fi
11839 fi
11840 eval "wxUSE_$toolkit=\$${var}"
11841 done
11842 fi
11843
11844 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11845 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11846 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11847
11848 case "${host}" in
11849 *-pc-os2_emx | *-pc-os2-emx )
11850 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11851 esac
11852
11853 case "$NUM_TOOLKITS" in
11854 1)
11855 ;;
11856 0)
11857 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11858 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11859 { (exit 1); exit 1; }; }
11860 ;;
11861 *)
11862 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11863 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11864 { (exit 1); exit 1; }; }
11865 esac
11866
11867 # to be removed when --disable-gtk2 isn't needed
11868 if test "x$wxUSE_GTK2" = "xyes"; then
11869 wxGTK_VERSION=2
11870 elif test "x$wxUSE_GTK2" = "xno"; then
11871 wxGTK_VERSION=1
11872 fi
11873
11874 for toolkit in `echo $ALL_TOOLKITS`; do
11875 var=wxUSE_$toolkit
11876 eval "value=\$${var}"
11877 if test "x$value" != x; then
11878 cache_var=CACHE_$toolkit
11879 eval "cache=\$${cache_var}"
11880 if test "$cache" = 1; then
11881 echo "$var=$value" >> ${wx_arg_cache_file}
11882 eval "version=\$wx${toolkit}_VERSION"
11883 if test "x$version" != "x"; then
11884 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11885 fi
11886 fi
11887 if test "$value" = 1; then
11888 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11889 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11890 echo "${ECHO_T}$toolkit_echo" >&6
11891 fi
11892 fi
11893 done
11894 else
11895 if test "x$host_alias" != "x"; then
11896 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11897 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11898 else
11899 echo "$as_me:$LINENO: result: base only" >&5
11900 echo "${ECHO_T}base only" >&6
11901 fi
11902 fi
11903
11904 wants_win32=0
11905 doesnt_want_win32=0
11906 case "${host}" in
11907 *-*-cygwin*)
11908 if test "$wxUSE_MSW" = 1 ; then
11909 wants_win32=1
11910 BAKEFILE_FORCE_PLATFORM=win32
11911 else
11912 doesnt_want_win32=1
11913 fi
11914 ;;
11915 *-*-mingw*)
11916 wants_win32=1
11917 ;;
11918 esac
11919
11920 if test "$wxUSE_WINE" = "yes"; then
11921 wants_win32=1
11922 CC=winegcc
11923 CXX=wineg++
11924 LDFLAGS_GUI="-mwindows"
11925 fi
11926
11927 if test "$wants_win32" = 1 ; then
11928 USE_UNIX=0
11929 USE_WIN32=1
11930 cat >>confdefs.h <<\_ACEOF
11931 #define __WIN32__ 1
11932 _ACEOF
11933
11934 cat >>confdefs.h <<\_ACEOF
11935 #define __WIN95__ 1
11936 _ACEOF
11937
11938 cat >>confdefs.h <<\_ACEOF
11939 #define __WINDOWS__ 1
11940 _ACEOF
11941
11942 cat >>confdefs.h <<\_ACEOF
11943 #define __GNUWIN32__ 1
11944 _ACEOF
11945
11946 cat >>confdefs.h <<\_ACEOF
11947 #define STRICT 1
11948 _ACEOF
11949
11950 cat >>confdefs.h <<\_ACEOF
11951 #define WINVER 0x0400
11952 _ACEOF
11953
11954 fi
11955 if test "$doesnt_want_win32" = 1 ; then
11956 USE_UNIX=1
11957 USE_WIN32=0
11958 fi
11959
11960 if test "$USE_UNIX" = 1 ; then
11961 wxUSE_UNIX=yes
11962 cat >>confdefs.h <<\_ACEOF
11963 #define __UNIX__ 1
11964 _ACEOF
11965
11966 fi
11967
11968
11969 cat >confcache <<\_ACEOF
11970 # This file is a shell script that caches the results of configure
11971 # tests run on this system so they can be shared between configure
11972 # scripts and configure runs, see configure's option --config-cache.
11973 # It is not useful on other systems. If it contains results you don't
11974 # want to keep, you may remove or edit it.
11975 #
11976 # config.status only pays attention to the cache file if you give it
11977 # the --recheck option to rerun configure.
11978 #
11979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11981 # following values.
11982
11983 _ACEOF
11984
11985 # The following way of writing the cache mishandles newlines in values,
11986 # but we know of no workaround that is simple, portable, and efficient.
11987 # So, don't put newlines in cache variables' values.
11988 # Ultrix sh set writes to stderr and can't be redirected directly,
11989 # and sets the high bit in the cache file unless we assign to the vars.
11990 {
11991 (set) 2>&1 |
11992 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11993 *ac_space=\ *)
11994 # `set' does not quote correctly, so add quotes (double-quote
11995 # substitution turns \\\\ into \\, and sed turns \\ into \).
11996 sed -n \
11997 "s/'/'\\\\''/g;
11998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11999 ;;
12000 *)
12001 # `set' quotes correctly as required by POSIX, so do not add quotes.
12002 sed -n \
12003 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12004 ;;
12005 esac;
12006 } |
12007 sed '
12008 t clear
12009 : clear
12010 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12011 t end
12012 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12013 : end' >>confcache
12014 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12015 if test -w $cache_file; then
12016 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12017 cat confcache >$cache_file
12018 else
12019 echo "not updating unwritable cache $cache_file"
12020 fi
12021 fi
12022 rm -f confcache
12023
12024 CFLAGS=${CFLAGS:=}
12025
12026
12027
12028 ac_ext=c
12029 ac_cpp='$CPP $CPPFLAGS'
12030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12033 if test -n "$ac_tool_prefix"; then
12034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12035 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12036 echo "$as_me:$LINENO: checking for $ac_word" >&5
12037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12038 if test "${ac_cv_prog_CC+set}" = set; then
12039 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 else
12041 if test -n "$CC"; then
12042 ac_cv_prog_CC="$CC" # Let the user override the test.
12043 else
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12046 do
12047 IFS=$as_save_IFS
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12051 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 break 2
12054 fi
12055 done
12056 done
12057
12058 fi
12059 fi
12060 CC=$ac_cv_prog_CC
12061 if test -n "$CC"; then
12062 echo "$as_me:$LINENO: result: $CC" >&5
12063 echo "${ECHO_T}$CC" >&6
12064 else
12065 echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6
12067 fi
12068
12069 fi
12070 if test -z "$ac_cv_prog_CC"; then
12071 ac_ct_CC=$CC
12072 # Extract the first word of "gcc", so it can be a program name with args.
12073 set dummy gcc; ac_word=$2
12074 echo "$as_me:$LINENO: checking for $ac_word" >&5
12075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 else
12079 if test -n "$ac_ct_CC"; then
12080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12081 else
12082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12083 for as_dir in $PATH
12084 do
12085 IFS=$as_save_IFS
12086 test -z "$as_dir" && as_dir=.
12087 for ac_exec_ext in '' $ac_executable_extensions; do
12088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12089 ac_cv_prog_ac_ct_CC="gcc"
12090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 break 2
12092 fi
12093 done
12094 done
12095
12096 fi
12097 fi
12098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12099 if test -n "$ac_ct_CC"; then
12100 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12101 echo "${ECHO_T}$ac_ct_CC" >&6
12102 else
12103 echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6
12105 fi
12106
12107 CC=$ac_ct_CC
12108 else
12109 CC="$ac_cv_prog_CC"
12110 fi
12111
12112 if test -z "$CC"; then
12113 if test -n "$ac_tool_prefix"; then
12114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12115 set dummy ${ac_tool_prefix}cc; ac_word=$2
12116 echo "$as_me:$LINENO: checking for $ac_word" >&5
12117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12118 if test "${ac_cv_prog_CC+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 else
12121 if test -n "$CC"; then
12122 ac_cv_prog_CC="$CC" # Let the user override the test.
12123 else
12124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12125 for as_dir in $PATH
12126 do
12127 IFS=$as_save_IFS
12128 test -z "$as_dir" && as_dir=.
12129 for ac_exec_ext in '' $ac_executable_extensions; do
12130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12131 ac_cv_prog_CC="${ac_tool_prefix}cc"
12132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12133 break 2
12134 fi
12135 done
12136 done
12137
12138 fi
12139 fi
12140 CC=$ac_cv_prog_CC
12141 if test -n "$CC"; then
12142 echo "$as_me:$LINENO: result: $CC" >&5
12143 echo "${ECHO_T}$CC" >&6
12144 else
12145 echo "$as_me:$LINENO: result: no" >&5
12146 echo "${ECHO_T}no" >&6
12147 fi
12148
12149 fi
12150 if test -z "$ac_cv_prog_CC"; then
12151 ac_ct_CC=$CC
12152 # Extract the first word of "cc", so it can be a program name with args.
12153 set dummy cc; ac_word=$2
12154 echo "$as_me:$LINENO: checking for $ac_word" >&5
12155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12156 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12157 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 else
12159 if test -n "$ac_ct_CC"; then
12160 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12161 else
12162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12163 for as_dir in $PATH
12164 do
12165 IFS=$as_save_IFS
12166 test -z "$as_dir" && as_dir=.
12167 for ac_exec_ext in '' $ac_executable_extensions; do
12168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12169 ac_cv_prog_ac_ct_CC="cc"
12170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12171 break 2
12172 fi
12173 done
12174 done
12175
12176 fi
12177 fi
12178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12179 if test -n "$ac_ct_CC"; then
12180 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12181 echo "${ECHO_T}$ac_ct_CC" >&6
12182 else
12183 echo "$as_me:$LINENO: result: no" >&5
12184 echo "${ECHO_T}no" >&6
12185 fi
12186
12187 CC=$ac_ct_CC
12188 else
12189 CC="$ac_cv_prog_CC"
12190 fi
12191
12192 fi
12193 if test -z "$CC"; then
12194 # Extract the first word of "cc", so it can be a program name with args.
12195 set dummy cc; ac_word=$2
12196 echo "$as_me:$LINENO: checking for $ac_word" >&5
12197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12198 if test "${ac_cv_prog_CC+set}" = set; then
12199 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 else
12201 if test -n "$CC"; then
12202 ac_cv_prog_CC="$CC" # Let the user override the test.
12203 else
12204 ac_prog_rejected=no
12205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12206 for as_dir in $PATH
12207 do
12208 IFS=$as_save_IFS
12209 test -z "$as_dir" && as_dir=.
12210 for ac_exec_ext in '' $ac_executable_extensions; do
12211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12212 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12213 ac_prog_rejected=yes
12214 continue
12215 fi
12216 ac_cv_prog_CC="cc"
12217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 break 2
12219 fi
12220 done
12221 done
12222
12223 if test $ac_prog_rejected = yes; then
12224 # We found a bogon in the path, so make sure we never use it.
12225 set dummy $ac_cv_prog_CC
12226 shift
12227 if test $# != 0; then
12228 # We chose a different compiler from the bogus one.
12229 # However, it has the same basename, so the bogon will be chosen
12230 # first if we set CC to just the basename; use the full file name.
12231 shift
12232 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12233 fi
12234 fi
12235 fi
12236 fi
12237 CC=$ac_cv_prog_CC
12238 if test -n "$CC"; then
12239 echo "$as_me:$LINENO: result: $CC" >&5
12240 echo "${ECHO_T}$CC" >&6
12241 else
12242 echo "$as_me:$LINENO: result: no" >&5
12243 echo "${ECHO_T}no" >&6
12244 fi
12245
12246 fi
12247 if test -z "$CC"; then
12248 if test -n "$ac_tool_prefix"; then
12249 for ac_prog in cl
12250 do
12251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12253 echo "$as_me:$LINENO: checking for $ac_word" >&5
12254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12255 if test "${ac_cv_prog_CC+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 else
12258 if test -n "$CC"; then
12259 ac_cv_prog_CC="$CC" # Let the user override the test.
12260 else
12261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12262 for as_dir in $PATH
12263 do
12264 IFS=$as_save_IFS
12265 test -z "$as_dir" && as_dir=.
12266 for ac_exec_ext in '' $ac_executable_extensions; do
12267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12268 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12270 break 2
12271 fi
12272 done
12273 done
12274
12275 fi
12276 fi
12277 CC=$ac_cv_prog_CC
12278 if test -n "$CC"; then
12279 echo "$as_me:$LINENO: result: $CC" >&5
12280 echo "${ECHO_T}$CC" >&6
12281 else
12282 echo "$as_me:$LINENO: result: no" >&5
12283 echo "${ECHO_T}no" >&6
12284 fi
12285
12286 test -n "$CC" && break
12287 done
12288 fi
12289 if test -z "$CC"; then
12290 ac_ct_CC=$CC
12291 for ac_prog in cl
12292 do
12293 # Extract the first word of "$ac_prog", so it can be a program name with args.
12294 set dummy $ac_prog; ac_word=$2
12295 echo "$as_me:$LINENO: checking for $ac_word" >&5
12296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12297 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 else
12300 if test -n "$ac_ct_CC"; then
12301 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12302 else
12303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12304 for as_dir in $PATH
12305 do
12306 IFS=$as_save_IFS
12307 test -z "$as_dir" && as_dir=.
12308 for ac_exec_ext in '' $ac_executable_extensions; do
12309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12310 ac_cv_prog_ac_ct_CC="$ac_prog"
12311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12312 break 2
12313 fi
12314 done
12315 done
12316
12317 fi
12318 fi
12319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12320 if test -n "$ac_ct_CC"; then
12321 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12322 echo "${ECHO_T}$ac_ct_CC" >&6
12323 else
12324 echo "$as_me:$LINENO: result: no" >&5
12325 echo "${ECHO_T}no" >&6
12326 fi
12327
12328 test -n "$ac_ct_CC" && break
12329 done
12330
12331 CC=$ac_ct_CC
12332 fi
12333
12334 fi
12335
12336
12337 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12338 See \`config.log' for more details." >&5
12339 echo "$as_me: error: no acceptable C compiler found in \$PATH
12340 See \`config.log' for more details." >&2;}
12341 { (exit 1); exit 1; }; }
12342
12343 # Provide some information about the compiler.
12344 echo "$as_me:$LINENO:" \
12345 "checking for C compiler version" >&5
12346 ac_compiler=`set X $ac_compile; echo $2`
12347 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12348 (eval $ac_compiler --version </dev/null >&5) 2>&5
12349 ac_status=$?
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }
12352 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12353 (eval $ac_compiler -v </dev/null >&5) 2>&5
12354 ac_status=$?
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }
12357 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12358 (eval $ac_compiler -V </dev/null >&5) 2>&5
12359 ac_status=$?
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }
12362
12363 cat >conftest.$ac_ext <<_ACEOF
12364 /* confdefs.h. */
12365 _ACEOF
12366 cat confdefs.h >>conftest.$ac_ext
12367 cat >>conftest.$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12369
12370 int
12371 main ()
12372 {
12373
12374 ;
12375 return 0;
12376 }
12377 _ACEOF
12378 ac_clean_files_save=$ac_clean_files
12379 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12380 # Try to create an executable without -o first, disregard a.out.
12381 # It will help us diagnose broken compilers, and finding out an intuition
12382 # of exeext.
12383 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12384 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12385 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12386 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12387 (eval $ac_link_default) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; then
12391 # Find the output, starting from the most likely. This scheme is
12392 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12393 # resort.
12394
12395 # Be careful to initialize this variable, since it used to be cached.
12396 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12397 ac_cv_exeext=
12398 # b.out is created by i960 compilers.
12399 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12400 do
12401 test -f "$ac_file" || continue
12402 case $ac_file in
12403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12404 ;;
12405 conftest.$ac_ext )
12406 # This is the source file.
12407 ;;
12408 [ab].out )
12409 # We found the default executable, but exeext='' is most
12410 # certainly right.
12411 break;;
12412 *.* )
12413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12414 # FIXME: I believe we export ac_cv_exeext for Libtool,
12415 # but it would be cool to find out if it's true. Does anybody
12416 # maintain Libtool? --akim.
12417 export ac_cv_exeext
12418 break;;
12419 * )
12420 break;;
12421 esac
12422 done
12423 else
12424 echo "$as_me: failed program was:" >&5
12425 sed 's/^/| /' conftest.$ac_ext >&5
12426
12427 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12428 See \`config.log' for more details." >&5
12429 echo "$as_me: error: C compiler cannot create executables
12430 See \`config.log' for more details." >&2;}
12431 { (exit 77); exit 77; }; }
12432 fi
12433
12434 ac_exeext=$ac_cv_exeext
12435 echo "$as_me:$LINENO: result: $ac_file" >&5
12436 echo "${ECHO_T}$ac_file" >&6
12437
12438 # Check the compiler produces executables we can run. If not, either
12439 # the compiler is broken, or we cross compile.
12440 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12441 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12442 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12443 # If not cross compiling, check that we can run a simple program.
12444 if test "$cross_compiling" != yes; then
12445 if { ac_try='./$ac_file'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12448 ac_status=$?
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; }; then
12451 cross_compiling=no
12452 else
12453 if test "$cross_compiling" = maybe; then
12454 cross_compiling=yes
12455 else
12456 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12457 If you meant to cross compile, use \`--host'.
12458 See \`config.log' for more details." >&5
12459 echo "$as_me: error: cannot run C compiled programs.
12460 If you meant to cross compile, use \`--host'.
12461 See \`config.log' for more details." >&2;}
12462 { (exit 1); exit 1; }; }
12463 fi
12464 fi
12465 fi
12466 echo "$as_me:$LINENO: result: yes" >&5
12467 echo "${ECHO_T}yes" >&6
12468
12469 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12470 ac_clean_files=$ac_clean_files_save
12471 # Check the compiler produces executables we can run. If not, either
12472 # the compiler is broken, or we cross compile.
12473 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12474 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12475 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12476 echo "${ECHO_T}$cross_compiling" >&6
12477
12478 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12479 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12481 (eval $ac_link) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; then
12485 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12486 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12487 # work properly (i.e., refer to `conftest.exe'), while it won't with
12488 # `rm'.
12489 for ac_file in conftest.exe conftest conftest.*; do
12490 test -f "$ac_file" || continue
12491 case $ac_file in
12492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12493 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12494 export ac_cv_exeext
12495 break;;
12496 * ) break;;
12497 esac
12498 done
12499 else
12500 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12501 See \`config.log' for more details." >&5
12502 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12503 See \`config.log' for more details." >&2;}
12504 { (exit 1); exit 1; }; }
12505 fi
12506
12507 rm -f conftest$ac_cv_exeext
12508 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12509 echo "${ECHO_T}$ac_cv_exeext" >&6
12510
12511 rm -f conftest.$ac_ext
12512 EXEEXT=$ac_cv_exeext
12513 ac_exeext=$EXEEXT
12514 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12515 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12516 if test "${ac_cv_objext+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 else
12519 cat >conftest.$ac_ext <<_ACEOF
12520 /* confdefs.h. */
12521 _ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525
12526 int
12527 main ()
12528 {
12529
12530 ;
12531 return 0;
12532 }
12533 _ACEOF
12534 rm -f conftest.o conftest.obj
12535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12536 (eval $ac_compile) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; then
12540 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12541 case $ac_file in
12542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12543 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12544 break;;
12545 esac
12546 done
12547 else
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.$ac_ext >&5
12550
12551 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12552 See \`config.log' for more details." >&5
12553 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12554 See \`config.log' for more details." >&2;}
12555 { (exit 1); exit 1; }; }
12556 fi
12557
12558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12559 fi
12560 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12561 echo "${ECHO_T}$ac_cv_objext" >&6
12562 OBJEXT=$ac_cv_objext
12563 ac_objext=$OBJEXT
12564 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12565 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12566 if test "${ac_cv_c_compiler_gnu+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 #ifndef __GNUC__
12580 choke me
12581 #endif
12582
12583 ;
12584 return 0;
12585 }
12586 _ACEOF
12587 rm -f conftest.$ac_objext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12589 (eval $ac_compile) 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
12596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; } &&
12602 { ac_try='test -s conftest.$ac_objext'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12605 ac_status=$?
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; }; then
12608 ac_compiler_gnu=yes
12609 else
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.$ac_ext >&5
12612
12613 ac_compiler_gnu=no
12614 fi
12615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12616 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12617
12618 fi
12619 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12620 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12621 GCC=`test $ac_compiler_gnu = yes && echo yes`
12622 ac_test_CFLAGS=${CFLAGS+set}
12623 ac_save_CFLAGS=$CFLAGS
12624 CFLAGS="-g"
12625 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12626 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12627 if test "${ac_cv_prog_cc_g+set}" = set; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 else
12630 cat >conftest.$ac_ext <<_ACEOF
12631 /* confdefs.h. */
12632 _ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636
12637 int
12638 main ()
12639 {
12640
12641 ;
12642 return 0;
12643 }
12644 _ACEOF
12645 rm -f conftest.$ac_objext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12647 (eval $ac_compile) 2>conftest.er1
12648 ac_status=$?
12649 grep -v '^ *+' conftest.er1 >conftest.err
12650 rm -f conftest.er1
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } &&
12654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12657 ac_status=$?
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; } &&
12660 { ac_try='test -s conftest.$ac_objext'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12663 ac_status=$?
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; }; then
12666 ac_cv_prog_cc_g=yes
12667 else
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.$ac_ext >&5
12670
12671 ac_cv_prog_cc_g=no
12672 fi
12673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12674 fi
12675 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12677 if test "$ac_test_CFLAGS" = set; then
12678 CFLAGS=$ac_save_CFLAGS
12679 elif test $ac_cv_prog_cc_g = yes; then
12680 if test "$GCC" = yes; then
12681 CFLAGS="-g -O2"
12682 else
12683 CFLAGS="-g"
12684 fi
12685 else
12686 if test "$GCC" = yes; then
12687 CFLAGS="-O2"
12688 else
12689 CFLAGS=
12690 fi
12691 fi
12692 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12693 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12694 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12695 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 else
12697 ac_cv_prog_cc_stdc=no
12698 ac_save_CC=$CC
12699 cat >conftest.$ac_ext <<_ACEOF
12700 /* confdefs.h. */
12701 _ACEOF
12702 cat confdefs.h >>conftest.$ac_ext
12703 cat >>conftest.$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12705 #include <stdarg.h>
12706 #include <stdio.h>
12707 #include <sys/types.h>
12708 #include <sys/stat.h>
12709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12710 struct buf { int x; };
12711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12712 static char *e (p, i)
12713 char **p;
12714 int i;
12715 {
12716 return p[i];
12717 }
12718 static char *f (char * (*g) (char **, int), char **p, ...)
12719 {
12720 char *s;
12721 va_list v;
12722 va_start (v,p);
12723 s = g (p, va_arg (v,int));
12724 va_end (v);
12725 return s;
12726 }
12727
12728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12729 function prototypes and stuff, but not '\xHH' hex character constants.
12730 These don't provoke an error unfortunately, instead are silently treated
12731 as 'x'. The following induces an error, until -std1 is added to get
12732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12733 array size at least. It's necessary to write '\x00'==0 to get something
12734 that's true only with -std1. */
12735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12736
12737 int test (int i, double x);
12738 struct s1 {int (*f) (int a);};
12739 struct s2 {int (*f) (double a);};
12740 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12741 int argc;
12742 char **argv;
12743 int
12744 main ()
12745 {
12746 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12747 ;
12748 return 0;
12749 }
12750 _ACEOF
12751 # Don't try gcc -ansi; that turns off useful extensions and
12752 # breaks some systems' header files.
12753 # AIX -qlanglvl=ansi
12754 # Ultrix and OSF/1 -std1
12755 # HP-UX 10.20 and later -Ae
12756 # HP-UX older versions -Aa -D_HPUX_SOURCE
12757 # SVR4 -Xc -D__EXTENSIONS__
12758 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12759 do
12760 CC="$ac_save_CC $ac_arg"
12761 rm -f conftest.$ac_objext
12762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12763 (eval $ac_compile) 2>conftest.er1
12764 ac_status=$?
12765 grep -v '^ *+' conftest.er1 >conftest.err
12766 rm -f conftest.er1
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try='test -s conftest.$ac_objext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 ac_cv_prog_cc_stdc=$ac_arg
12783 break
12784 else
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12787
12788 fi
12789 rm -f conftest.err conftest.$ac_objext
12790 done
12791 rm -f conftest.$ac_ext conftest.$ac_objext
12792 CC=$ac_save_CC
12793
12794 fi
12795
12796 case "x$ac_cv_prog_cc_stdc" in
12797 x|xno)
12798 echo "$as_me:$LINENO: result: none needed" >&5
12799 echo "${ECHO_T}none needed" >&6 ;;
12800 *)
12801 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12802 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12803 CC="$CC $ac_cv_prog_cc_stdc" ;;
12804 esac
12805
12806 # Some people use a C++ compiler to compile C. Since we use `exit',
12807 # in C++ we need to declare it. In case someone uses the same compiler
12808 # for both compiling C and C++ we need to have the C++ compiler decide
12809 # the declaration of exit, since it's the most demanding environment.
12810 cat >conftest.$ac_ext <<_ACEOF
12811 #ifndef __cplusplus
12812 choke me
12813 #endif
12814 _ACEOF
12815 rm -f conftest.$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12818 ac_status=$?
12819 grep -v '^ *+' conftest.er1 >conftest.err
12820 rm -f conftest.er1
12821 cat conftest.err >&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12827 ac_status=$?
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 for ac_declaration in \
12837 '' \
12838 'extern "C" void std::exit (int) throw (); using std::exit;' \
12839 'extern "C" void std::exit (int); using std::exit;' \
12840 'extern "C" void exit (int) throw ();' \
12841 'extern "C" void exit (int);' \
12842 'void exit (int);'
12843 do
12844 cat >conftest.$ac_ext <<_ACEOF
12845 /* confdefs.h. */
12846 _ACEOF
12847 cat confdefs.h >>conftest.$ac_ext
12848 cat >>conftest.$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850 $ac_declaration
12851 #include <stdlib.h>
12852 int
12853 main ()
12854 {
12855 exit (42);
12856 ;
12857 return 0;
12858 }
12859 _ACEOF
12860 rm -f conftest.$ac_objext
12861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12862 (eval $ac_compile) 2>conftest.er1
12863 ac_status=$?
12864 grep -v '^ *+' conftest.er1 >conftest.err
12865 rm -f conftest.er1
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } &&
12869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12872 ac_status=$?
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; } &&
12875 { ac_try='test -s conftest.$ac_objext'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12878 ac_status=$?
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; }; then
12881 :
12882 else
12883 echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.$ac_ext >&5
12885
12886 continue
12887 fi
12888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12889 cat >conftest.$ac_ext <<_ACEOF
12890 /* confdefs.h. */
12891 _ACEOF
12892 cat confdefs.h >>conftest.$ac_ext
12893 cat >>conftest.$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12895 $ac_declaration
12896 int
12897 main ()
12898 {
12899 exit (42);
12900 ;
12901 return 0;
12902 }
12903 _ACEOF
12904 rm -f conftest.$ac_objext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 (eval $ac_compile) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12916 ac_status=$?
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; } &&
12919 { ac_try='test -s conftest.$ac_objext'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12922 ac_status=$?
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; }; then
12925 break
12926 else
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.$ac_ext >&5
12929
12930 fi
12931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12932 done
12933 rm -f conftest*
12934 if test -n "$ac_declaration"; then
12935 echo '#ifdef __cplusplus' >>confdefs.h
12936 echo $ac_declaration >>confdefs.h
12937 echo '#endif' >>confdefs.h
12938 fi
12939
12940 else
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12943
12944 fi
12945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12946 ac_ext=c
12947 ac_cpp='$CPP $CPPFLAGS'
12948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12951
12952
12953
12954 ac_ext=c
12955 ac_cpp='$CPP $CPPFLAGS'
12956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12959
12960 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12961 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12962 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 else
12965 cat >conftest.$ac_ext <<_ACEOF
12966 /* confdefs.h. */
12967 _ACEOF
12968 cat confdefs.h >>conftest.$ac_ext
12969 cat >>conftest.$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971
12972 int
12973 main ()
12974 {
12975
12976 #ifndef __INTEL_COMPILER
12977 choke me
12978 #endif
12979
12980 ;
12981 return 0;
12982 }
12983 _ACEOF
12984 rm -f conftest.$ac_objext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12986 (eval $ac_compile) 2>conftest.er1
12987 ac_status=$?
12988 grep -v '^ *+' conftest.er1 >conftest.err
12989 rm -f conftest.er1
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; } &&
12999 { ac_try='test -s conftest.$ac_objext'
13000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13001 (eval $ac_try) 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; }; then
13005 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13006 else
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13009
13010 bakefile_cv_c_compiler___INTEL_COMPILER=no
13011
13012 fi
13013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13014
13015
13016 fi
13017 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13018 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13019 ac_ext=c
13020 ac_cpp='$CPP $CPPFLAGS'
13021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13024
13025 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13026 :; INTELCC=yes
13027 else
13028 :;
13029 fi
13030
13031
13032 if test "x$GCC" != "xyes"; then
13033 if test "xCC" = "xC"; then
13034 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13035 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13036 if test "${bakefile_cv_c_exto+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 else
13039 cat >conftest.$ac_ext <<_ACEOF
13040 /* confdefs.h. */
13041 _ACEOF
13042 cat confdefs.h >>conftest.$ac_ext
13043 cat >>conftest.$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13045
13046 int
13047 main ()
13048 {
13049
13050 ;
13051 return 0;
13052 }
13053 _ACEOF
13054 rm -f conftest.$ac_objext conftest.$ac_ext.o
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>&5
13057 ac_status=$?
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; then
13060 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13061 case $ac_file in
13062 conftest.$ac_ext.o)
13063 bakefile_cv_c_exto="-ext o"
13064 ;;
13065 *)
13066 ;;
13067 esac
13068 done
13069 else
13070 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13071 See \`config.log' for more details." >&5
13072 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13073 See \`config.log' for more details." >&2;}
13074 { (exit 1); exit 1; }; }
13075
13076 fi
13077
13078 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13079
13080 fi
13081 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13082 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13083 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13084 if test "c" = "c"; then
13085 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13086 fi
13087 if test "c" = "cxx"; then
13088 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13089 fi
13090 fi
13091
13092 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13093 unset ac_cv_prog_cc_g
13094 ac_test_CFLAGS=${CFLAGS+set}
13095 ac_save_CFLAGS=$CFLAGS
13096 CFLAGS="-g"
13097 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13098 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13099 if test "${ac_cv_prog_cc_g+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 else
13102 cat >conftest.$ac_ext <<_ACEOF
13103 /* confdefs.h. */
13104 _ACEOF
13105 cat confdefs.h >>conftest.$ac_ext
13106 cat >>conftest.$ac_ext <<_ACEOF
13107 /* end confdefs.h. */
13108
13109 int
13110 main ()
13111 {
13112
13113 ;
13114 return 0;
13115 }
13116 _ACEOF
13117 rm -f conftest.$ac_objext
13118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 (eval $ac_compile) 2>conftest.er1
13120 ac_status=$?
13121 grep -v '^ *+' conftest.er1 >conftest.err
13122 rm -f conftest.er1
13123 cat conftest.err >&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); } &&
13126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128 (eval $ac_try) 2>&5
13129 ac_status=$?
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; } &&
13132 { ac_try='test -s conftest.$ac_objext'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13135 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; }; then
13138 ac_cv_prog_cc_g=yes
13139 else
13140 echo "$as_me: failed program was:" >&5
13141 sed 's/^/| /' conftest.$ac_ext >&5
13142
13143 ac_cv_prog_cc_g=no
13144 fi
13145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13146 fi
13147 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13148 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13149 if test "$ac_test_CFLAGS" = set; then
13150 CFLAGS=$ac_save_CFLAGS
13151 elif test $ac_cv_prog_cc_g = yes; then
13152 if test "$GCC" = yes; then
13153 CFLAGS="-g -O2"
13154 else
13155 CFLAGS="-g"
13156 fi
13157 else
13158 if test "$GCC" = yes; then
13159 CFLAGS="-O2"
13160 else
13161 CFLAGS=
13162 fi
13163 fi
13164 fi
13165 fi
13166
13167 case `uname -s` in
13168 AIX*)
13169 ac_ext=c
13170 ac_cpp='$CPP $CPPFLAGS'
13171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13174
13175 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13176 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13177 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 else
13180 cat >conftest.$ac_ext <<_ACEOF
13181 /* confdefs.h. */
13182 _ACEOF
13183 cat confdefs.h >>conftest.$ac_ext
13184 cat >>conftest.$ac_ext <<_ACEOF
13185 /* end confdefs.h. */
13186
13187 int
13188 main ()
13189 {
13190 #ifndef __xlC__
13191 choke me
13192 #endif
13193
13194 ;
13195 return 0;
13196 }
13197 _ACEOF
13198 rm -f conftest.$ac_objext
13199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13200 (eval $ac_compile) 2>conftest.er1
13201 ac_status=$?
13202 grep -v '^ *+' conftest.er1 >conftest.err
13203 rm -f conftest.er1
13204 cat conftest.err >&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } &&
13207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; } &&
13213 { ac_try='test -s conftest.$ac_objext'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; }; then
13219 bakefile_compiler_xlc=yes
13220 else
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.$ac_ext >&5
13223
13224 bakefile_compiler_xlc=no
13225 fi
13226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13227 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13228
13229 fi
13230 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13231 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13232
13233 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13234 ac_ext=c
13235 ac_cpp='$CPP $CPPFLAGS'
13236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13239
13240
13241 ;;
13242
13243 Darwin)
13244 ac_ext=c
13245 ac_cpp='$CPP $CPPFLAGS'
13246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13249
13250 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13251 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13252 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 else
13255 cat >conftest.$ac_ext <<_ACEOF
13256 /* confdefs.h. */
13257 _ACEOF
13258 cat confdefs.h >>conftest.$ac_ext
13259 cat >>conftest.$ac_ext <<_ACEOF
13260 /* end confdefs.h. */
13261
13262 int
13263 main ()
13264 {
13265 #ifndef __MWERKS__
13266 choke me
13267 #endif
13268
13269 ;
13270 return 0;
13271 }
13272 _ACEOF
13273 rm -f conftest.$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>conftest.er1
13276 ac_status=$?
13277 grep -v '^ *+' conftest.er1 >conftest.err
13278 rm -f conftest.er1
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13284 (eval $ac_try) 2>&5
13285 ac_status=$?
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; } &&
13288 { ac_try='test -s conftest.$ac_objext'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13291 ac_status=$?
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; }; then
13294 bakefile_compiler_mwerks=yes
13295 else
13296 echo "$as_me: failed program was:" >&5
13297 sed 's/^/| /' conftest.$ac_ext >&5
13298
13299 bakefile_compiler_mwerks=no
13300 fi
13301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13302 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13303
13304 fi
13305 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13306 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13307
13308 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13309 ac_ext=c
13310 ac_cpp='$CPP $CPPFLAGS'
13311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13314
13315
13316 ac_ext=c
13317 ac_cpp='$CPP $CPPFLAGS'
13318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13321
13322 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13323 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13324 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 else
13327 cat >conftest.$ac_ext <<_ACEOF
13328 /* confdefs.h. */
13329 _ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13333
13334 int
13335 main ()
13336 {
13337 #ifndef __xlC__
13338 choke me
13339 #endif
13340
13341 ;
13342 return 0;
13343 }
13344 _ACEOF
13345 rm -f conftest.$ac_objext
13346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13347 (eval $ac_compile) 2>conftest.er1
13348 ac_status=$?
13349 grep -v '^ *+' conftest.er1 >conftest.err
13350 rm -f conftest.er1
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13356 (eval $ac_try) 2>&5
13357 ac_status=$?
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); }; } &&
13360 { ac_try='test -s conftest.$ac_objext'
13361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 (eval $ac_try) 2>&5
13363 ac_status=$?
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); }; }; then
13366 bakefile_compiler_xlc=yes
13367 else
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.$ac_ext >&5
13370
13371 bakefile_compiler_xlc=no
13372 fi
13373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13374 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13375
13376 fi
13377 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13378 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13379
13380 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13381 ac_ext=c
13382 ac_cpp='$CPP $CPPFLAGS'
13383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13386
13387
13388 ;;
13389
13390 IRIX*)
13391
13392
13393 ac_ext=c
13394 ac_cpp='$CPP $CPPFLAGS'
13395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13398
13399 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13400 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13401 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13403 else
13404 cat >conftest.$ac_ext <<_ACEOF
13405 /* confdefs.h. */
13406 _ACEOF
13407 cat confdefs.h >>conftest.$ac_ext
13408 cat >>conftest.$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13410
13411 int
13412 main ()
13413 {
13414
13415 #ifndef _SGI_COMPILER_VERSION
13416 choke me
13417 #endif
13418
13419 ;
13420 return 0;
13421 }
13422 _ACEOF
13423 rm -f conftest.$ac_objext
13424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13425 (eval $ac_compile) 2>conftest.er1
13426 ac_status=$?
13427 grep -v '^ *+' conftest.er1 >conftest.err
13428 rm -f conftest.er1
13429 cat conftest.err >&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13435 ac_status=$?
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; } &&
13438 { ac_try='test -s conftest.$ac_objext'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13441 ac_status=$?
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; }; then
13444 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13445 else
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13448
13449 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13450
13451 fi
13452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13453
13454
13455 fi
13456 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13457 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13458 ac_ext=c
13459 ac_cpp='$CPP $CPPFLAGS'
13460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13463
13464 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13465 :; SGICC=yes
13466 else
13467 :;
13468 fi
13469
13470
13471 ;;
13472
13473 HP-UX*)
13474
13475
13476 ac_ext=c
13477 ac_cpp='$CPP $CPPFLAGS'
13478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13481
13482 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13483 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13484 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 cat >conftest.$ac_ext <<_ACEOF
13488 /* confdefs.h. */
13489 _ACEOF
13490 cat confdefs.h >>conftest.$ac_ext
13491 cat >>conftest.$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13493
13494 int
13495 main ()
13496 {
13497
13498 #ifndef __HP_cc
13499 choke me
13500 #endif
13501
13502 ;
13503 return 0;
13504 }
13505 _ACEOF
13506 rm -f conftest.$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>conftest.er1
13509 ac_status=$?
13510 grep -v '^ *+' conftest.er1 >conftest.err
13511 rm -f conftest.er1
13512 cat conftest.err >&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13518 ac_status=$?
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; } &&
13521 { ac_try='test -s conftest.$ac_objext'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; }; then
13527 bakefile_cv_c_compiler___HP_cc=yes
13528 else
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13531
13532 bakefile_cv_c_compiler___HP_cc=no
13533
13534 fi
13535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13536
13537
13538 fi
13539 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13540 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13541 ac_ext=c
13542 ac_cpp='$CPP $CPPFLAGS'
13543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13546
13547 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13548 :; HPCC=yes
13549 else
13550 :;
13551 fi
13552
13553
13554 ;;
13555
13556 OSF1)
13557
13558
13559 ac_ext=c
13560 ac_cpp='$CPP $CPPFLAGS'
13561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13564
13565 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13566 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13567 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 else
13570 cat >conftest.$ac_ext <<_ACEOF
13571 /* confdefs.h. */
13572 _ACEOF
13573 cat confdefs.h >>conftest.$ac_ext
13574 cat >>conftest.$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576
13577 int
13578 main ()
13579 {
13580
13581 #ifndef __DECC
13582 choke me
13583 #endif
13584
13585 ;
13586 return 0;
13587 }
13588 _ACEOF
13589 rm -f conftest.$ac_objext
13590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13591 (eval $ac_compile) 2>conftest.er1
13592 ac_status=$?
13593 grep -v '^ *+' conftest.er1 >conftest.err
13594 rm -f conftest.er1
13595 cat conftest.err >&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } &&
13598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 (eval $ac_try) 2>&5
13601 ac_status=$?
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; } &&
13604 { ac_try='test -s conftest.$ac_objext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13607 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13610 bakefile_cv_c_compiler___DECC=yes
13611 else
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13614
13615 bakefile_cv_c_compiler___DECC=no
13616
13617 fi
13618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13619
13620
13621 fi
13622 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13623 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13624 ac_ext=c
13625 ac_cpp='$CPP $CPPFLAGS'
13626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13629
13630 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13631 :; COMPAQCC=yes
13632 else
13633 :;
13634 fi
13635
13636
13637 ;;
13638
13639 SunOS)
13640
13641
13642 ac_ext=c
13643 ac_cpp='$CPP $CPPFLAGS'
13644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13647
13648 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13649 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13650 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 else
13653 cat >conftest.$ac_ext <<_ACEOF
13654 /* confdefs.h. */
13655 _ACEOF
13656 cat confdefs.h >>conftest.$ac_ext
13657 cat >>conftest.$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13659
13660 int
13661 main ()
13662 {
13663
13664 #ifndef __SUNPRO_C
13665 choke me
13666 #endif
13667
13668 ;
13669 return 0;
13670 }
13671 _ACEOF
13672 rm -f conftest.$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } &&
13681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13684 ac_status=$?
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13690 ac_status=$?
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 bakefile_cv_c_compiler___SUNPRO_C=yes
13694 else
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.$ac_ext >&5
13697
13698 bakefile_cv_c_compiler___SUNPRO_C=no
13699
13700 fi
13701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13702
13703
13704 fi
13705 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13706 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13707 ac_ext=c
13708 ac_cpp='$CPP $CPPFLAGS'
13709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13712
13713 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13714 :; SUNCC=yes
13715 else
13716 :;
13717 fi
13718
13719
13720 ;;
13721 esac
13722 fi
13723
13724
13725
13726 ac_ext=c
13727 ac_cpp='$CPP $CPPFLAGS'
13728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13731 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13732 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13733 # On Suns, sometimes $CPP names a directory.
13734 if test -n "$CPP" && test -d "$CPP"; then
13735 CPP=
13736 fi
13737 if test -z "$CPP"; then
13738 if test "${ac_cv_prog_CPP+set}" = set; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13740 else
13741 # Double quotes because CPP needs to be expanded
13742 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13743 do
13744 ac_preproc_ok=false
13745 for ac_c_preproc_warn_flag in '' yes
13746 do
13747 # Use a header file that comes with gcc, so configuring glibc
13748 # with a fresh cross-compiler works.
13749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13750 # <limits.h> exists even on freestanding compilers.
13751 # On the NeXT, cc -E runs the code through the compiler's parser,
13752 # not just through cpp. "Syntax error" is here to catch this case.
13753 cat >conftest.$ac_ext <<_ACEOF
13754 /* confdefs.h. */
13755 _ACEOF
13756 cat confdefs.h >>conftest.$ac_ext
13757 cat >>conftest.$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759 #ifdef __STDC__
13760 # include <limits.h>
13761 #else
13762 # include <assert.h>
13763 #endif
13764 Syntax error
13765 _ACEOF
13766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13768 ac_status=$?
13769 grep -v '^ *+' conftest.er1 >conftest.err
13770 rm -f conftest.er1
13771 cat conftest.err >&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); } >/dev/null; then
13774 if test -s conftest.err; then
13775 ac_cpp_err=$ac_c_preproc_warn_flag
13776 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13777 else
13778 ac_cpp_err=
13779 fi
13780 else
13781 ac_cpp_err=yes
13782 fi
13783 if test -z "$ac_cpp_err"; then
13784 :
13785 else
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.$ac_ext >&5
13788
13789 # Broken: fails on valid input.
13790 continue
13791 fi
13792 rm -f conftest.err conftest.$ac_ext
13793
13794 # OK, works on sane cases. Now check whether non-existent headers
13795 # can be detected and how.
13796 cat >conftest.$ac_ext <<_ACEOF
13797 /* confdefs.h. */
13798 _ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 #include <ac_nonexistent.h>
13803 _ACEOF
13804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13806 ac_status=$?
13807 grep -v '^ *+' conftest.er1 >conftest.err
13808 rm -f conftest.er1
13809 cat conftest.err >&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } >/dev/null; then
13812 if test -s conftest.err; then
13813 ac_cpp_err=$ac_c_preproc_warn_flag
13814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13815 else
13816 ac_cpp_err=
13817 fi
13818 else
13819 ac_cpp_err=yes
13820 fi
13821 if test -z "$ac_cpp_err"; then
13822 # Broken: success on invalid input.
13823 continue
13824 else
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.$ac_ext >&5
13827
13828 # Passes both tests.
13829 ac_preproc_ok=:
13830 break
13831 fi
13832 rm -f conftest.err conftest.$ac_ext
13833
13834 done
13835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13836 rm -f conftest.err conftest.$ac_ext
13837 if $ac_preproc_ok; then
13838 break
13839 fi
13840
13841 done
13842 ac_cv_prog_CPP=$CPP
13843
13844 fi
13845 CPP=$ac_cv_prog_CPP
13846 else
13847 ac_cv_prog_CPP=$CPP
13848 fi
13849 echo "$as_me:$LINENO: result: $CPP" >&5
13850 echo "${ECHO_T}$CPP" >&6
13851 ac_preproc_ok=false
13852 for ac_c_preproc_warn_flag in '' yes
13853 do
13854 # Use a header file that comes with gcc, so configuring glibc
13855 # with a fresh cross-compiler works.
13856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13857 # <limits.h> exists even on freestanding compilers.
13858 # On the NeXT, cc -E runs the code through the compiler's parser,
13859 # not just through cpp. "Syntax error" is here to catch this case.
13860 cat >conftest.$ac_ext <<_ACEOF
13861 /* confdefs.h. */
13862 _ACEOF
13863 cat confdefs.h >>conftest.$ac_ext
13864 cat >>conftest.$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866 #ifdef __STDC__
13867 # include <limits.h>
13868 #else
13869 # include <assert.h>
13870 #endif
13871 Syntax error
13872 _ACEOF
13873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13875 ac_status=$?
13876 grep -v '^ *+' conftest.er1 >conftest.err
13877 rm -f conftest.er1
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } >/dev/null; then
13881 if test -s conftest.err; then
13882 ac_cpp_err=$ac_c_preproc_warn_flag
13883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13884 else
13885 ac_cpp_err=
13886 fi
13887 else
13888 ac_cpp_err=yes
13889 fi
13890 if test -z "$ac_cpp_err"; then
13891 :
13892 else
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.$ac_ext >&5
13895
13896 # Broken: fails on valid input.
13897 continue
13898 fi
13899 rm -f conftest.err conftest.$ac_ext
13900
13901 # OK, works on sane cases. Now check whether non-existent headers
13902 # can be detected and how.
13903 cat >conftest.$ac_ext <<_ACEOF
13904 /* confdefs.h. */
13905 _ACEOF
13906 cat confdefs.h >>conftest.$ac_ext
13907 cat >>conftest.$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 #include <ac_nonexistent.h>
13910 _ACEOF
13911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } >/dev/null; then
13919 if test -s conftest.err; then
13920 ac_cpp_err=$ac_c_preproc_warn_flag
13921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13922 else
13923 ac_cpp_err=
13924 fi
13925 else
13926 ac_cpp_err=yes
13927 fi
13928 if test -z "$ac_cpp_err"; then
13929 # Broken: success on invalid input.
13930 continue
13931 else
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.$ac_ext >&5
13934
13935 # Passes both tests.
13936 ac_preproc_ok=:
13937 break
13938 fi
13939 rm -f conftest.err conftest.$ac_ext
13940
13941 done
13942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13943 rm -f conftest.err conftest.$ac_ext
13944 if $ac_preproc_ok; then
13945 :
13946 else
13947 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13948 See \`config.log' for more details." >&5
13949 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13950 See \`config.log' for more details." >&2;}
13951 { (exit 1); exit 1; }; }
13952 fi
13953
13954 ac_ext=c
13955 ac_cpp='$CPP $CPPFLAGS'
13956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13959
13960
13961 echo "$as_me:$LINENO: checking for egrep" >&5
13962 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13963 if test "${ac_cv_prog_egrep+set}" = set; then
13964 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 else
13966 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13967 then ac_cv_prog_egrep='grep -E'
13968 else ac_cv_prog_egrep='egrep'
13969 fi
13970 fi
13971 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13972 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13973 EGREP=$ac_cv_prog_egrep
13974
13975
13976 if test $ac_cv_c_compiler_gnu = yes; then
13977 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13978 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13979 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 else
13982 ac_pattern="Autoconf.*'x'"
13983 cat >conftest.$ac_ext <<_ACEOF
13984 /* confdefs.h. */
13985 _ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 #include <sgtty.h>
13990 Autoconf TIOCGETP
13991 _ACEOF
13992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13993 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13994 ac_cv_prog_gcc_traditional=yes
13995 else
13996 ac_cv_prog_gcc_traditional=no
13997 fi
13998 rm -f conftest*
13999
14000
14001 if test $ac_cv_prog_gcc_traditional = no; then
14002 cat >conftest.$ac_ext <<_ACEOF
14003 /* confdefs.h. */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 #include <termio.h>
14009 Autoconf TCGETA
14010 _ACEOF
14011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14012 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14013 ac_cv_prog_gcc_traditional=yes
14014 fi
14015 rm -f conftest*
14016
14017 fi
14018 fi
14019 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14020 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14021 if test $ac_cv_prog_gcc_traditional = yes; then
14022 CC="$CC -traditional"
14023 fi
14024 fi
14025
14026
14027 ac_ext=cc
14028 ac_cpp='$CXXCPP $CPPFLAGS'
14029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14032
14033
14034 CXXFLAGS=${CXXFLAGS:=}
14035
14036
14037
14038 ac_ext=cc
14039 ac_cpp='$CXXCPP $CPPFLAGS'
14040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14043 if test -n "$ac_tool_prefix"; then
14044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14045 do
14046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14047 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14048 echo "$as_me:$LINENO: checking for $ac_word" >&5
14049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14050 if test "${ac_cv_prog_CXX+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 else
14053 if test -n "$CXX"; then
14054 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14055 else
14056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14057 for as_dir in $PATH
14058 do
14059 IFS=$as_save_IFS
14060 test -z "$as_dir" && as_dir=.
14061 for ac_exec_ext in '' $ac_executable_extensions; do
14062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14063 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14065 break 2
14066 fi
14067 done
14068 done
14069
14070 fi
14071 fi
14072 CXX=$ac_cv_prog_CXX
14073 if test -n "$CXX"; then
14074 echo "$as_me:$LINENO: result: $CXX" >&5
14075 echo "${ECHO_T}$CXX" >&6
14076 else
14077 echo "$as_me:$LINENO: result: no" >&5
14078 echo "${ECHO_T}no" >&6
14079 fi
14080
14081 test -n "$CXX" && break
14082 done
14083 fi
14084 if test -z "$CXX"; then
14085 ac_ct_CXX=$CXX
14086 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14087 do
14088 # Extract the first word of "$ac_prog", so it can be a program name with args.
14089 set dummy $ac_prog; ac_word=$2
14090 echo "$as_me:$LINENO: checking for $ac_word" >&5
14091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14092 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095 if test -n "$ac_ct_CXX"; then
14096 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14097 else
14098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14099 for as_dir in $PATH
14100 do
14101 IFS=$as_save_IFS
14102 test -z "$as_dir" && as_dir=.
14103 for ac_exec_ext in '' $ac_executable_extensions; do
14104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14105 ac_cv_prog_ac_ct_CXX="$ac_prog"
14106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14107 break 2
14108 fi
14109 done
14110 done
14111
14112 fi
14113 fi
14114 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14115 if test -n "$ac_ct_CXX"; then
14116 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14117 echo "${ECHO_T}$ac_ct_CXX" >&6
14118 else
14119 echo "$as_me:$LINENO: result: no" >&5
14120 echo "${ECHO_T}no" >&6
14121 fi
14122
14123 test -n "$ac_ct_CXX" && break
14124 done
14125 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14126
14127 CXX=$ac_ct_CXX
14128 fi
14129
14130
14131 # Provide some information about the compiler.
14132 echo "$as_me:$LINENO:" \
14133 "checking for C++ compiler version" >&5
14134 ac_compiler=`set X $ac_compile; echo $2`
14135 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14136 (eval $ac_compiler --version </dev/null >&5) 2>&5
14137 ac_status=$?
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); }
14140 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14141 (eval $ac_compiler -v </dev/null >&5) 2>&5
14142 ac_status=$?
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); }
14145 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14146 (eval $ac_compiler -V </dev/null >&5) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }
14150
14151 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14152 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14153 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 else
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162
14163 int
14164 main ()
14165 {
14166 #ifndef __GNUC__
14167 choke me
14168 #endif
14169
14170 ;
14171 return 0;
14172 }
14173 _ACEOF
14174 rm -f conftest.$ac_objext
14175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14176 (eval $ac_compile) 2>conftest.er1
14177 ac_status=$?
14178 grep -v '^ *+' conftest.er1 >conftest.err
14179 rm -f conftest.er1
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; } &&
14189 { ac_try='test -s conftest.$ac_objext'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14192 ac_status=$?
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; }; then
14195 ac_compiler_gnu=yes
14196 else
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14199
14200 ac_compiler_gnu=no
14201 fi
14202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14203 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14204
14205 fi
14206 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14207 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14208 GXX=`test $ac_compiler_gnu = yes && echo yes`
14209 ac_test_CXXFLAGS=${CXXFLAGS+set}
14210 ac_save_CXXFLAGS=$CXXFLAGS
14211 CXXFLAGS="-g"
14212 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14213 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14214 if test "${ac_cv_prog_cxx_g+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 cat >conftest.$ac_ext <<_ACEOF
14218 /* confdefs.h. */
14219 _ACEOF
14220 cat confdefs.h >>conftest.$ac_ext
14221 cat >>conftest.$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14223
14224 int
14225 main ()
14226 {
14227
14228 ;
14229 return 0;
14230 }
14231 _ACEOF
14232 rm -f conftest.$ac_objext
14233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234 (eval $ac_compile) 2>conftest.er1
14235 ac_status=$?
14236 grep -v '^ *+' conftest.er1 >conftest.err
14237 rm -f conftest.er1
14238 cat conftest.err >&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } &&
14241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14244 ac_status=$?
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; } &&
14247 { ac_try='test -s conftest.$ac_objext'
14248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14249 (eval $ac_try) 2>&5
14250 ac_status=$?
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); }; }; then
14253 ac_cv_prog_cxx_g=yes
14254 else
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.$ac_ext >&5
14257
14258 ac_cv_prog_cxx_g=no
14259 fi
14260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14261 fi
14262 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14263 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14264 if test "$ac_test_CXXFLAGS" = set; then
14265 CXXFLAGS=$ac_save_CXXFLAGS
14266 elif test $ac_cv_prog_cxx_g = yes; then
14267 if test "$GXX" = yes; then
14268 CXXFLAGS="-g -O2"
14269 else
14270 CXXFLAGS="-g"
14271 fi
14272 else
14273 if test "$GXX" = yes; then
14274 CXXFLAGS="-O2"
14275 else
14276 CXXFLAGS=
14277 fi
14278 fi
14279 for ac_declaration in \
14280 '' \
14281 'extern "C" void std::exit (int) throw (); using std::exit;' \
14282 'extern "C" void std::exit (int); using std::exit;' \
14283 'extern "C" void exit (int) throw ();' \
14284 'extern "C" void exit (int);' \
14285 'void exit (int);'
14286 do
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_declaration
14294 #include <stdlib.h>
14295 int
14296 main ()
14297 {
14298 exit (42);
14299 ;
14300 return 0;
14301 }
14302 _ACEOF
14303 rm -f conftest.$ac_objext
14304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14305 (eval $ac_compile) 2>conftest.er1
14306 ac_status=$?
14307 grep -v '^ *+' conftest.er1 >conftest.err
14308 rm -f conftest.er1
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14321 ac_status=$?
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 :
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 continue
14330 fi
14331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14332 cat >conftest.$ac_ext <<_ACEOF
14333 /* confdefs.h. */
14334 _ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 $ac_declaration
14339 int
14340 main ()
14341 {
14342 exit (42);
14343 ;
14344 return 0;
14345 }
14346 _ACEOF
14347 rm -f conftest.$ac_objext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14349 (eval $ac_compile) 2>conftest.er1
14350 ac_status=$?
14351 grep -v '^ *+' conftest.er1 >conftest.err
14352 rm -f conftest.er1
14353 cat conftest.err >&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14359 ac_status=$?
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; } &&
14362 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14368 break
14369 else
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14372
14373 fi
14374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14375 done
14376 rm -f conftest*
14377 if test -n "$ac_declaration"; then
14378 echo '#ifdef __cplusplus' >>confdefs.h
14379 echo $ac_declaration >>confdefs.h
14380 echo '#endif' >>confdefs.h
14381 fi
14382
14383 ac_ext=cc
14384 ac_cpp='$CXXCPP $CPPFLAGS'
14385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14388
14389
14390
14391 ac_ext=cc
14392 ac_cpp='$CXXCPP $CPPFLAGS'
14393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14396
14397 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14398 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14399 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 else
14402 cat >conftest.$ac_ext <<_ACEOF
14403 /* confdefs.h. */
14404 _ACEOF
14405 cat confdefs.h >>conftest.$ac_ext
14406 cat >>conftest.$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408
14409 int
14410 main ()
14411 {
14412
14413 #ifndef __INTEL_COMPILER
14414 choke me
14415 #endif
14416
14417 ;
14418 return 0;
14419 }
14420 _ACEOF
14421 rm -f conftest.$ac_objext
14422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14423 (eval $ac_compile) 2>conftest.er1
14424 ac_status=$?
14425 grep -v '^ *+' conftest.er1 >conftest.err
14426 rm -f conftest.er1
14427 cat conftest.err >&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; } &&
14436 { ac_try='test -s conftest.$ac_objext'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14439 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14443 else
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14446
14447 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14448
14449 fi
14450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14451
14452
14453 fi
14454 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14456 ac_ext=cc
14457 ac_cpp='$CXXCPP $CPPFLAGS'
14458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14461
14462 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14463 :; INTELCXX=yes
14464 else
14465 :;
14466 fi
14467
14468
14469 if test "x$GCXX" != "xyes"; then
14470 if test "xCXX" = "xC"; then
14471 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14472 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14473 if test "${bakefile_cv_cxx_exto+set}" = set; then
14474 echo $ECHO_N "(cached) $ECHO_C" >&6
14475 else
14476 cat >conftest.$ac_ext <<_ACEOF
14477 /* confdefs.h. */
14478 _ACEOF
14479 cat confdefs.h >>conftest.$ac_ext
14480 cat >>conftest.$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14482
14483 int
14484 main ()
14485 {
14486
14487 ;
14488 return 0;
14489 }
14490 _ACEOF
14491 rm -f conftest.$ac_objext conftest.$ac_ext.o
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; then
14497 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14498 case $ac_file in
14499 conftest.$ac_ext.o)
14500 bakefile_cv_cxx_exto="-ext o"
14501 ;;
14502 *)
14503 ;;
14504 esac
14505 done
14506 else
14507 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14510 See \`config.log' for more details." >&2;}
14511 { (exit 1); exit 1; }; }
14512
14513 fi
14514
14515 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14516
14517 fi
14518 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14519 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14520 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14521 if test "cxx" = "c"; then
14522 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14523 fi
14524 if test "cxx" = "cxx"; then
14525 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14526 fi
14527 fi
14528
14529 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14530 unset ac_cv_prog_cc_g
14531 ac_test_CFLAGS=${CFLAGS+set}
14532 ac_save_CFLAGS=$CFLAGS
14533 CFLAGS="-g"
14534 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14535 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14536 if test "${ac_cv_prog_cc_g+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 else
14539 cat >conftest.$ac_ext <<_ACEOF
14540 /* confdefs.h. */
14541 _ACEOF
14542 cat confdefs.h >>conftest.$ac_ext
14543 cat >>conftest.$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545
14546 int
14547 main ()
14548 {
14549
14550 ;
14551 return 0;
14552 }
14553 _ACEOF
14554 rm -f conftest.$ac_objext
14555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14556 (eval $ac_compile) 2>conftest.er1
14557 ac_status=$?
14558 grep -v '^ *+' conftest.er1 >conftest.err
14559 rm -f conftest.er1
14560 cat conftest.err >&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); } &&
14563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14566 ac_status=$?
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; } &&
14569 { ac_try='test -s conftest.$ac_objext'
14570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14571 (eval $ac_try) 2>&5
14572 ac_status=$?
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; }; then
14575 ac_cv_prog_cc_g=yes
14576 else
14577 echo "$as_me: failed program was:" >&5
14578 sed 's/^/| /' conftest.$ac_ext >&5
14579
14580 ac_cv_prog_cc_g=no
14581 fi
14582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14583 fi
14584 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14585 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14586 if test "$ac_test_CFLAGS" = set; then
14587 CFLAGS=$ac_save_CFLAGS
14588 elif test $ac_cv_prog_cc_g = yes; then
14589 if test "$GCC" = yes; then
14590 CFLAGS="-g -O2"
14591 else
14592 CFLAGS="-g"
14593 fi
14594 else
14595 if test "$GCC" = yes; then
14596 CFLAGS="-O2"
14597 else
14598 CFLAGS=
14599 fi
14600 fi
14601 fi
14602 fi
14603
14604 case `uname -s` in
14605 AIX*)
14606 ac_ext=cc
14607 ac_cpp='$CXXCPP $CPPFLAGS'
14608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14611
14612 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14613 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14614 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 else
14617 cat >conftest.$ac_ext <<_ACEOF
14618 /* confdefs.h. */
14619 _ACEOF
14620 cat confdefs.h >>conftest.$ac_ext
14621 cat >>conftest.$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14623
14624 int
14625 main ()
14626 {
14627 #ifndef __xlC__
14628 choke me
14629 #endif
14630
14631 ;
14632 return 0;
14633 }
14634 _ACEOF
14635 rm -f conftest.$ac_objext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14637 (eval $ac_compile) 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14647 ac_status=$?
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; } &&
14650 { ac_try='test -s conftest.$ac_objext'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14653 ac_status=$?
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; }; then
14656 bakefile_compiler_xlc=yes
14657 else
14658 echo "$as_me: failed program was:" >&5
14659 sed 's/^/| /' conftest.$ac_ext >&5
14660
14661 bakefile_compiler_xlc=no
14662 fi
14663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14664 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14665
14666 fi
14667 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14668 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14669
14670 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14671 ac_ext=cc
14672 ac_cpp='$CXXCPP $CPPFLAGS'
14673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14676
14677
14678 ;;
14679
14680 Darwin)
14681 ac_ext=cc
14682 ac_cpp='$CXXCPP $CPPFLAGS'
14683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14686
14687 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14688 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14689 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14691 else
14692 cat >conftest.$ac_ext <<_ACEOF
14693 /* confdefs.h. */
14694 _ACEOF
14695 cat confdefs.h >>conftest.$ac_ext
14696 cat >>conftest.$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14698
14699 int
14700 main ()
14701 {
14702 #ifndef __MWERKS__
14703 choke me
14704 #endif
14705
14706 ;
14707 return 0;
14708 }
14709 _ACEOF
14710 rm -f conftest.$ac_objext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14712 (eval $ac_compile) 2>conftest.er1
14713 ac_status=$?
14714 grep -v '^ *+' conftest.er1 >conftest.err
14715 rm -f conftest.er1
14716 cat conftest.err >&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14722 ac_status=$?
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; } &&
14725 { ac_try='test -s conftest.$ac_objext'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14728 ac_status=$?
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 bakefile_compiler_mwerks=yes
14732 else
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.$ac_ext >&5
14735
14736 bakefile_compiler_mwerks=no
14737 fi
14738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14739 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14740
14741 fi
14742 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14743 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14744
14745 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14746 ac_ext=cc
14747 ac_cpp='$CXXCPP $CPPFLAGS'
14748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14751
14752
14753 ac_ext=cc
14754 ac_cpp='$CXXCPP $CPPFLAGS'
14755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14758
14759 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14760 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14761 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 else
14764 cat >conftest.$ac_ext <<_ACEOF
14765 /* confdefs.h. */
14766 _ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770
14771 int
14772 main ()
14773 {
14774 #ifndef __xlC__
14775 choke me
14776 #endif
14777
14778 ;
14779 return 0;
14780 }
14781 _ACEOF
14782 rm -f conftest.$ac_objext
14783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14784 (eval $ac_compile) 2>conftest.er1
14785 ac_status=$?
14786 grep -v '^ *+' conftest.er1 >conftest.err
14787 rm -f conftest.er1
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14794 ac_status=$?
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; } &&
14797 { ac_try='test -s conftest.$ac_objext'
14798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14799 (eval $ac_try) 2>&5
14800 ac_status=$?
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; }; then
14803 bakefile_compiler_xlc=yes
14804 else
14805 echo "$as_me: failed program was:" >&5
14806 sed 's/^/| /' conftest.$ac_ext >&5
14807
14808 bakefile_compiler_xlc=no
14809 fi
14810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14811 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14812
14813 fi
14814 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14815 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14816
14817 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14818 ac_ext=cc
14819 ac_cpp='$CXXCPP $CPPFLAGS'
14820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14823
14824
14825 ;;
14826
14827 IRIX*)
14828
14829
14830 ac_ext=cc
14831 ac_cpp='$CXXCPP $CPPFLAGS'
14832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14835
14836 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14837 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14838 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847
14848 int
14849 main ()
14850 {
14851
14852 #ifndef _SGI_COMPILER_VERSION
14853 choke me
14854 #endif
14855
14856 ;
14857 return 0;
14858 }
14859 _ACEOF
14860 rm -f conftest.$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>conftest.er1
14863 ac_status=$?
14864 grep -v '^ *+' conftest.er1 >conftest.err
14865 rm -f conftest.er1
14866 cat conftest.err >&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14872 ac_status=$?
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; } &&
14875 { ac_try='test -s conftest.$ac_objext'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14881 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14882 else
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14885
14886 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14887
14888 fi
14889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14890
14891
14892 fi
14893 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14894 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14895 ac_ext=cc
14896 ac_cpp='$CXXCPP $CPPFLAGS'
14897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14900
14901 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14902 :; SGICXX=yes
14903 else
14904 :;
14905 fi
14906
14907
14908 ;;
14909
14910 HP-UX*)
14911
14912
14913 ac_ext=cc
14914 ac_cpp='$CXXCPP $CPPFLAGS'
14915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14918
14919 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14920 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14921 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14922 echo $ECHO_N "(cached) $ECHO_C" >&6
14923 else
14924 cat >conftest.$ac_ext <<_ACEOF
14925 /* confdefs.h. */
14926 _ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930
14931 int
14932 main ()
14933 {
14934
14935 #ifndef __HP_aCC
14936 choke me
14937 #endif
14938
14939 ;
14940 return 0;
14941 }
14942 _ACEOF
14943 rm -f conftest.$ac_objext
14944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14945 (eval $ac_compile) 2>conftest.er1
14946 ac_status=$?
14947 grep -v '^ *+' conftest.er1 >conftest.err
14948 rm -f conftest.er1
14949 cat conftest.err >&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); } &&
14952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; } &&
14958 { ac_try='test -s conftest.$ac_objext'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 bakefile_cv_cxx_compiler___HP_aCC=yes
14965 else
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.$ac_ext >&5
14968
14969 bakefile_cv_cxx_compiler___HP_aCC=no
14970
14971 fi
14972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14973
14974
14975 fi
14976 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14977 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14978 ac_ext=cc
14979 ac_cpp='$CXXCPP $CPPFLAGS'
14980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14983
14984 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14985 :; HPCXX=yes
14986 else
14987 :;
14988 fi
14989
14990
14991 ;;
14992
14993 OSF1)
14994
14995
14996 ac_ext=cc
14997 ac_cpp='$CXXCPP $CPPFLAGS'
14998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15001
15002 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15003 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15004 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 else
15007 cat >conftest.$ac_ext <<_ACEOF
15008 /* confdefs.h. */
15009 _ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15013
15014 int
15015 main ()
15016 {
15017
15018 #ifndef __DECCXX
15019 choke me
15020 #endif
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 rm -f conftest.$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>conftest.er1
15029 ac_status=$?
15030 grep -v '^ *+' conftest.er1 >conftest.err
15031 rm -f conftest.er1
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } &&
15035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; } &&
15041 { ac_try='test -s conftest.$ac_objext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 bakefile_cv_cxx_compiler___DECCXX=yes
15048 else
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.$ac_ext >&5
15051
15052 bakefile_cv_cxx_compiler___DECCXX=no
15053
15054 fi
15055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15056
15057
15058 fi
15059 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15060 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15061 ac_ext=cc
15062 ac_cpp='$CXXCPP $CPPFLAGS'
15063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15066
15067 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15068 :; COMPAQCXX=yes
15069 else
15070 :;
15071 fi
15072
15073
15074 ;;
15075
15076 SunOS)
15077
15078
15079 ac_ext=cc
15080 ac_cpp='$CXXCPP $CPPFLAGS'
15081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15084
15085 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15086 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15087 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 else
15090 cat >conftest.$ac_ext <<_ACEOF
15091 /* confdefs.h. */
15092 _ACEOF
15093 cat confdefs.h >>conftest.$ac_ext
15094 cat >>conftest.$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15096
15097 int
15098 main ()
15099 {
15100
15101 #ifndef __SUNPRO_CC
15102 choke me
15103 #endif
15104
15105 ;
15106 return 0;
15107 }
15108 _ACEOF
15109 rm -f conftest.$ac_objext
15110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15111 (eval $ac_compile) 2>conftest.er1
15112 ac_status=$?
15113 grep -v '^ *+' conftest.er1 >conftest.err
15114 rm -f conftest.er1
15115 cat conftest.err >&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); } &&
15118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15131 else
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.$ac_ext >&5
15134
15135 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15136
15137 fi
15138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15139
15140
15141 fi
15142 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15143 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15144 ac_ext=cc
15145 ac_cpp='$CXXCPP $CPPFLAGS'
15146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15149
15150 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15151 :; SUNCXX=yes
15152 else
15153 :;
15154 fi
15155
15156
15157 ;;
15158 esac
15159 fi
15160
15161
15162
15163 if test -n "$ac_tool_prefix"; then
15164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15166 echo "$as_me:$LINENO: checking for $ac_word" >&5
15167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15168 if test "${ac_cv_prog_RANLIB+set}" = set; then
15169 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 else
15171 if test -n "$RANLIB"; then
15172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15173 else
15174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15175 for as_dir in $PATH
15176 do
15177 IFS=$as_save_IFS
15178 test -z "$as_dir" && as_dir=.
15179 for ac_exec_ext in '' $ac_executable_extensions; do
15180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15183 break 2
15184 fi
15185 done
15186 done
15187
15188 fi
15189 fi
15190 RANLIB=$ac_cv_prog_RANLIB
15191 if test -n "$RANLIB"; then
15192 echo "$as_me:$LINENO: result: $RANLIB" >&5
15193 echo "${ECHO_T}$RANLIB" >&6
15194 else
15195 echo "$as_me:$LINENO: result: no" >&5
15196 echo "${ECHO_T}no" >&6
15197 fi
15198
15199 fi
15200 if test -z "$ac_cv_prog_RANLIB"; then
15201 ac_ct_RANLIB=$RANLIB
15202 # Extract the first word of "ranlib", so it can be a program name with args.
15203 set dummy ranlib; ac_word=$2
15204 echo "$as_me:$LINENO: checking for $ac_word" >&5
15205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15206 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 else
15209 if test -n "$ac_ct_RANLIB"; then
15210 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15211 else
15212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15213 for as_dir in $PATH
15214 do
15215 IFS=$as_save_IFS
15216 test -z "$as_dir" && as_dir=.
15217 for ac_exec_ext in '' $ac_executable_extensions; do
15218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15219 ac_cv_prog_ac_ct_RANLIB="ranlib"
15220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15221 break 2
15222 fi
15223 done
15224 done
15225
15226 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15227 fi
15228 fi
15229 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15230 if test -n "$ac_ct_RANLIB"; then
15231 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15232 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15233 else
15234 echo "$as_me:$LINENO: result: no" >&5
15235 echo "${ECHO_T}no" >&6
15236 fi
15237
15238 RANLIB=$ac_ct_RANLIB
15239 else
15240 RANLIB="$ac_cv_prog_RANLIB"
15241 fi
15242
15243
15244 if test -n "$ac_tool_prefix"; then
15245 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15246 set dummy ${ac_tool_prefix}ar; ac_word=$2
15247 echo "$as_me:$LINENO: checking for $ac_word" >&5
15248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15249 if test "${ac_cv_prog_AR+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 else
15252 if test -n "$AR"; then
15253 ac_cv_prog_AR="$AR" # Let the user override the test.
15254 else
15255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15256 for as_dir in $PATH
15257 do
15258 IFS=$as_save_IFS
15259 test -z "$as_dir" && as_dir=.
15260 for ac_exec_ext in '' $ac_executable_extensions; do
15261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15262 ac_cv_prog_AR="${ac_tool_prefix}ar"
15263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15264 break 2
15265 fi
15266 done
15267 done
15268
15269 fi
15270 fi
15271 AR=$ac_cv_prog_AR
15272 if test -n "$AR"; then
15273 echo "$as_me:$LINENO: result: $AR" >&5
15274 echo "${ECHO_T}$AR" >&6
15275 else
15276 echo "$as_me:$LINENO: result: no" >&5
15277 echo "${ECHO_T}no" >&6
15278 fi
15279
15280 fi
15281 if test -z "$ac_cv_prog_AR"; then
15282 ac_ct_AR=$AR
15283 # Extract the first word of "ar", so it can be a program name with args.
15284 set dummy ar; ac_word=$2
15285 echo "$as_me:$LINENO: checking for $ac_word" >&5
15286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15287 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 else
15290 if test -n "$ac_ct_AR"; then
15291 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15292 else
15293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15294 for as_dir in $PATH
15295 do
15296 IFS=$as_save_IFS
15297 test -z "$as_dir" && as_dir=.
15298 for ac_exec_ext in '' $ac_executable_extensions; do
15299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15300 ac_cv_prog_ac_ct_AR="ar"
15301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15302 break 2
15303 fi
15304 done
15305 done
15306
15307 fi
15308 fi
15309 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15310 if test -n "$ac_ct_AR"; then
15311 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15312 echo "${ECHO_T}$ac_ct_AR" >&6
15313 else
15314 echo "$as_me:$LINENO: result: no" >&5
15315 echo "${ECHO_T}no" >&6
15316 fi
15317
15318 AR=$ac_ct_AR
15319 else
15320 AR="$ac_cv_prog_AR"
15321 fi
15322
15323 if test "x$AR" = "x" ; then
15324 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15325 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15326 { (exit 1); exit 1; }; }
15327 fi
15328
15329 # Find a good install program. We prefer a C program (faster),
15330 # so one script is as good as another. But avoid the broken or
15331 # incompatible versions:
15332 # SysV /etc/install, /usr/sbin/install
15333 # SunOS /usr/etc/install
15334 # IRIX /sbin/install
15335 # AIX /bin/install
15336 # AmigaOS /C/install, which installs bootblocks on floppy discs
15337 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15338 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15339 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15340 # OS/2's system install, which has a completely different semantic
15341 # ./install, which can be erroneously created by make from ./install.sh.
15342 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15343 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15344 if test -z "$INSTALL"; then
15345 if test "${ac_cv_path_install+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15349 for as_dir in $PATH
15350 do
15351 IFS=$as_save_IFS
15352 test -z "$as_dir" && as_dir=.
15353 # Account for people who put trailing slashes in PATH elements.
15354 case $as_dir/ in
15355 ./ | .// | /cC/* | \
15356 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15357 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15358 /usr/ucb/* ) ;;
15359 *)
15360 # OSF1 and SCO ODT 3.0 have their own names for install.
15361 # Don't use installbsd from OSF since it installs stuff as root
15362 # by default.
15363 for ac_prog in ginstall scoinst install; do
15364 for ac_exec_ext in '' $ac_executable_extensions; do
15365 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15366 if test $ac_prog = install &&
15367 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15368 # AIX install. It has an incompatible calling convention.
15369 :
15370 elif test $ac_prog = install &&
15371 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15372 # program-specific install script used by HP pwplus--don't use.
15373 :
15374 else
15375 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15376 break 3
15377 fi
15378 fi
15379 done
15380 done
15381 ;;
15382 esac
15383 done
15384
15385
15386 fi
15387 if test "${ac_cv_path_install+set}" = set; then
15388 INSTALL=$ac_cv_path_install
15389 else
15390 # As a last resort, use the slow shell script. We don't cache a
15391 # path for INSTALL within a source directory, because that will
15392 # break other packages using the cache if that directory is
15393 # removed, or if the path is relative.
15394 INSTALL=$ac_install_sh
15395 fi
15396 fi
15397 echo "$as_me:$LINENO: result: $INSTALL" >&5
15398 echo "${ECHO_T}$INSTALL" >&6
15399
15400 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15401 # It thinks the first close brace ends the variable substitution.
15402 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15403
15404 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15405
15406 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15407
15408
15409 case ${INSTALL} in
15410 /* ) # Absolute
15411 ;;
15412 ?:* ) # Drive letter, considered as absolute.
15413 ;;
15414 *)
15415 INSTALL=`pwd`/${INSTALL} ;;
15416 esac
15417
15418
15419 case "${host}" in
15420
15421 *-*-darwin* )
15422 INSTALL_PROGRAM="cp -fp"
15423 INSTALL_DATA="cp -fp"
15424 ;;
15425 *)
15426 ;;
15427 esac
15428
15429 if test -n "$ac_tool_prefix"; then
15430 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15431 set dummy ${ac_tool_prefix}strip; ac_word=$2
15432 echo "$as_me:$LINENO: checking for $ac_word" >&5
15433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15434 if test "${ac_cv_prog_STRIP+set}" = set; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 else
15437 if test -n "$STRIP"; then
15438 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15439 else
15440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15441 for as_dir in $PATH
15442 do
15443 IFS=$as_save_IFS
15444 test -z "$as_dir" && as_dir=.
15445 for ac_exec_ext in '' $ac_executable_extensions; do
15446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15447 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15449 break 2
15450 fi
15451 done
15452 done
15453
15454 fi
15455 fi
15456 STRIP=$ac_cv_prog_STRIP
15457 if test -n "$STRIP"; then
15458 echo "$as_me:$LINENO: result: $STRIP" >&5
15459 echo "${ECHO_T}$STRIP" >&6
15460 else
15461 echo "$as_me:$LINENO: result: no" >&5
15462 echo "${ECHO_T}no" >&6
15463 fi
15464
15465 fi
15466 if test -z "$ac_cv_prog_STRIP"; then
15467 ac_ct_STRIP=$STRIP
15468 # Extract the first word of "strip", so it can be a program name with args.
15469 set dummy strip; ac_word=$2
15470 echo "$as_me:$LINENO: checking for $ac_word" >&5
15471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15472 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 else
15475 if test -n "$ac_ct_STRIP"; then
15476 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15477 else
15478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15479 for as_dir in $PATH
15480 do
15481 IFS=$as_save_IFS
15482 test -z "$as_dir" && as_dir=.
15483 for ac_exec_ext in '' $ac_executable_extensions; do
15484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15485 ac_cv_prog_ac_ct_STRIP="strip"
15486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15487 break 2
15488 fi
15489 done
15490 done
15491
15492 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15493 fi
15494 fi
15495 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15496 if test -n "$ac_ct_STRIP"; then
15497 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15498 echo "${ECHO_T}$ac_ct_STRIP" >&6
15499 else
15500 echo "$as_me:$LINENO: result: no" >&5
15501 echo "${ECHO_T}no" >&6
15502 fi
15503
15504 STRIP=$ac_ct_STRIP
15505 else
15506 STRIP="$ac_cv_prog_STRIP"
15507 fi
15508
15509
15510 if test "$wxUSE_WINE" = "yes"; then
15511 if test -n "$ac_tool_prefix"; then
15512 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15513 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15514 echo "$as_me:$LINENO: checking for $ac_word" >&5
15515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15516 if test "${ac_cv_prog_WINDRES+set}" = set; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15518 else
15519 if test -n "$WINDRES"; then
15520 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15521 else
15522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15523 for as_dir in $PATH
15524 do
15525 IFS=$as_save_IFS
15526 test -z "$as_dir" && as_dir=.
15527 for ac_exec_ext in '' $ac_executable_extensions; do
15528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15529 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15531 break 2
15532 fi
15533 done
15534 done
15535
15536 fi
15537 fi
15538 WINDRES=$ac_cv_prog_WINDRES
15539 if test -n "$WINDRES"; then
15540 echo "$as_me:$LINENO: result: $WINDRES" >&5
15541 echo "${ECHO_T}$WINDRES" >&6
15542 else
15543 echo "$as_me:$LINENO: result: no" >&5
15544 echo "${ECHO_T}no" >&6
15545 fi
15546
15547 fi
15548 if test -z "$ac_cv_prog_WINDRES"; then
15549 ac_ct_WINDRES=$WINDRES
15550 # Extract the first word of "wrc", so it can be a program name with args.
15551 set dummy wrc; ac_word=$2
15552 echo "$as_me:$LINENO: checking for $ac_word" >&5
15553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15554 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557 if test -n "$ac_ct_WINDRES"; then
15558 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15559 else
15560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15561 for as_dir in $PATH
15562 do
15563 IFS=$as_save_IFS
15564 test -z "$as_dir" && as_dir=.
15565 for ac_exec_ext in '' $ac_executable_extensions; do
15566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567 ac_cv_prog_ac_ct_WINDRES="wrc"
15568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15569 break 2
15570 fi
15571 done
15572 done
15573
15574 fi
15575 fi
15576 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15577 if test -n "$ac_ct_WINDRES"; then
15578 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15579 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15580 else
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15583 fi
15584
15585 WINDRES=$ac_ct_WINDRES
15586 else
15587 WINDRES="$ac_cv_prog_WINDRES"
15588 fi
15589
15590 RESCOMP="$WINDRES"
15591 else
15592 case "${host}" in
15593 *-*-cygwin* | *-*-mingw32* )
15594 if test -n "$ac_tool_prefix"; then
15595 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15596 set dummy ${ac_tool_prefix}windres; ac_word=$2
15597 echo "$as_me:$LINENO: checking for $ac_word" >&5
15598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15599 if test "${ac_cv_prog_WINDRES+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 if test -n "$WINDRES"; then
15603 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15604 else
15605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15606 for as_dir in $PATH
15607 do
15608 IFS=$as_save_IFS
15609 test -z "$as_dir" && as_dir=.
15610 for ac_exec_ext in '' $ac_executable_extensions; do
15611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15612 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15614 break 2
15615 fi
15616 done
15617 done
15618
15619 fi
15620 fi
15621 WINDRES=$ac_cv_prog_WINDRES
15622 if test -n "$WINDRES"; then
15623 echo "$as_me:$LINENO: result: $WINDRES" >&5
15624 echo "${ECHO_T}$WINDRES" >&6
15625 else
15626 echo "$as_me:$LINENO: result: no" >&5
15627 echo "${ECHO_T}no" >&6
15628 fi
15629
15630 fi
15631 if test -z "$ac_cv_prog_WINDRES"; then
15632 ac_ct_WINDRES=$WINDRES
15633 # Extract the first word of "windres", so it can be a program name with args.
15634 set dummy windres; ac_word=$2
15635 echo "$as_me:$LINENO: checking for $ac_word" >&5
15636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15637 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 else
15640 if test -n "$ac_ct_WINDRES"; then
15641 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15642 else
15643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15644 for as_dir in $PATH
15645 do
15646 IFS=$as_save_IFS
15647 test -z "$as_dir" && as_dir=.
15648 for ac_exec_ext in '' $ac_executable_extensions; do
15649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15650 ac_cv_prog_ac_ct_WINDRES="windres"
15651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15652 break 2
15653 fi
15654 done
15655 done
15656
15657 fi
15658 fi
15659 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15660 if test -n "$ac_ct_WINDRES"; then
15661 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15662 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15663 else
15664 echo "$as_me:$LINENO: result: no" >&5
15665 echo "${ECHO_T}no" >&6
15666 fi
15667
15668 WINDRES=$ac_ct_WINDRES
15669 else
15670 WINDRES="$ac_cv_prog_WINDRES"
15671 fi
15672
15673 RESCOMP="$WINDRES"
15674 if test -n "$ac_tool_prefix"; then
15675 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15676 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15677 echo "$as_me:$LINENO: checking for $ac_word" >&5
15678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15679 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15680 echo $ECHO_N "(cached) $ECHO_C" >&6
15681 else
15682 if test -n "$DLLTOOL"; then
15683 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15684 else
15685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15686 for as_dir in $PATH
15687 do
15688 IFS=$as_save_IFS
15689 test -z "$as_dir" && as_dir=.
15690 for ac_exec_ext in '' $ac_executable_extensions; do
15691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15692 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15694 break 2
15695 fi
15696 done
15697 done
15698
15699 fi
15700 fi
15701 DLLTOOL=$ac_cv_prog_DLLTOOL
15702 if test -n "$DLLTOOL"; then
15703 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15704 echo "${ECHO_T}$DLLTOOL" >&6
15705 else
15706 echo "$as_me:$LINENO: result: no" >&5
15707 echo "${ECHO_T}no" >&6
15708 fi
15709
15710 fi
15711 if test -z "$ac_cv_prog_DLLTOOL"; then
15712 ac_ct_DLLTOOL=$DLLTOOL
15713 # Extract the first word of "dlltool", so it can be a program name with args.
15714 set dummy dlltool; ac_word=$2
15715 echo "$as_me:$LINENO: checking for $ac_word" >&5
15716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15717 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 else
15720 if test -n "$ac_ct_DLLTOOL"; then
15721 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15722 else
15723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15724 for as_dir in $PATH
15725 do
15726 IFS=$as_save_IFS
15727 test -z "$as_dir" && as_dir=.
15728 for ac_exec_ext in '' $ac_executable_extensions; do
15729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15730 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15732 break 2
15733 fi
15734 done
15735 done
15736
15737 fi
15738 fi
15739 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15740 if test -n "$ac_ct_DLLTOOL"; then
15741 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15742 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15743 else
15744 echo "$as_me:$LINENO: result: no" >&5
15745 echo "${ECHO_T}no" >&6
15746 fi
15747
15748 DLLTOOL=$ac_ct_DLLTOOL
15749 else
15750 DLLTOOL="$ac_cv_prog_DLLTOOL"
15751 fi
15752
15753 ;;
15754 esac
15755 fi
15756
15757 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15758 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15759 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762
15763 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15764 egrep -s GNU > /dev/null); then
15765 wx_cv_prog_makeisgnu="yes"
15766 else
15767 wx_cv_prog_makeisgnu="no"
15768 fi
15769
15770 fi
15771 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15772 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15773
15774 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15775 IF_GNU_MAKE=""
15776 else
15777 IF_GNU_MAKE="#"
15778 fi
15779
15780
15781
15782 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15783 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15784 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15785 if test "${wx_cv_prog_makevpath+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 else
15788
15789 cat - << EOF > confMake
15790 check : file
15791 cp \$? \$@
15792 cp \$? final_file
15793 EOF
15794
15795 if test ! -d sub ; then
15796 mkdir sub
15797 fi
15798 echo dummy > sub/file
15799 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15800 RESULT=$?
15801 rm -f sub/file check final_file confMake
15802 rmdir sub
15803 if test "$RESULT" = 0; then
15804 wx_cv_prog_makevpath="yes"
15805 else
15806 wx_cv_prog_makevpath="no"
15807 fi
15808
15809 fi
15810 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15811 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15812
15813 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15814 { { echo "$as_me:$LINENO: error:
15815 You need a make-utility that is able to use the variable
15816 VPATH correctly.
15817 If your version of make does not support VPATH correctly,
15818 please install GNU-make (possibly as gmake), and start
15819 configure with the following command:
15820 export MAKE=gmake; ./configure for sh-type shells
15821 setenv MAKE gmake; ./configure for csh-type shells
15822 Also please do remember to use gmake in this case every time
15823 you are trying to compile.
15824 " >&5
15825 echo "$as_me: error:
15826 You need a make-utility that is able to use the variable
15827 VPATH correctly.
15828 If your version of make does not support VPATH correctly,
15829 please install GNU-make (possibly as gmake), and start
15830 configure with the following command:
15831 export MAKE=gmake; ./configure for sh-type shells
15832 setenv MAKE gmake; ./configure for csh-type shells
15833 Also please do remember to use gmake in this case every time
15834 you are trying to compile.
15835 " >&2;}
15836 { (exit 1); exit 1; }; }
15837 fi fi
15838 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15839 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15840 LN_S=$as_ln_s
15841 if test "$LN_S" = "ln -s"; then
15842 echo "$as_me:$LINENO: result: yes" >&5
15843 echo "${ECHO_T}yes" >&6
15844 else
15845 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15846 echo "${ECHO_T}no, using $LN_S" >&6
15847 fi
15848
15849
15850
15851
15852 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15853 CXXFLAGS="-qunique $CXXFLAGS"
15854 fi
15855
15856 case "${host}" in
15857 powerpc-*-darwin* )
15858 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15859 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h. */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866
15867 int
15868 main ()
15869 {
15870 #ifndef __POWERPC__
15871 choke me for lack of PowerPC
15872 #endif
15873
15874 ;
15875 return 0;
15876 }
15877 _ACEOF
15878 rm -f conftest.$ac_objext
15879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15880 (eval $ac_compile) 2>conftest.er1
15881 ac_status=$?
15882 grep -v '^ *+' conftest.er1 >conftest.err
15883 rm -f conftest.er1
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } &&
15887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; } &&
15893 { ac_try='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 echo "$as_me:$LINENO: result: yes" >&5
15900 echo "${ECHO_T}yes" >&6
15901 else
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 echo "$as_me:$LINENO: result: no" >&5
15906 echo "${ECHO_T}no" >&6
15907 cat >>confdefs.h <<\_ACEOF
15908 #define __POWERPC__ 1
15909 _ACEOF
15910
15911
15912 fi
15913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15914 ;;
15915 esac
15916
15917 case "${host}" in
15918 *-*-darwin* )
15919 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15920 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15921 cat >conftest.$ac_ext <<_ACEOF
15922 /* confdefs.h. */
15923 _ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 #include <CoreFoundation/CFBase.h>
15928
15929 int
15930 main ()
15931 {
15932
15933 ;
15934 return 0;
15935 }
15936 _ACEOF
15937 rm -f conftest.$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>conftest.er1
15940 ac_status=$?
15941 grep -v '^ *+' conftest.er1 >conftest.err
15942 rm -f conftest.er1
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } &&
15952 { ac_try='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 echo "$as_me:$LINENO: result: yes" >&5
15959 echo "${ECHO_T}yes" >&6
15960 else
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15963
15964 echo "$as_me:$LINENO: result: no" >&5
15965 echo "${ECHO_T}no" >&6
15966 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15967 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 #define __CF_USE_FRAMEWORK_INCLUDES__
15975 #include <CoreFoundation/CFBase.h>
15976
15977 int
15978 main ()
15979 {
15980
15981 ;
15982 return 0;
15983 }
15984 _ACEOF
15985 rm -f conftest.$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15988 ac_status=$?
15989 grep -v '^ *+' conftest.er1 >conftest.err
15990 rm -f conftest.er1
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15997 ac_status=$?
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try='test -s conftest.$ac_objext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 echo "$as_me:$LINENO: result: yes" >&5
16007 echo "${ECHO_T}yes" >&6
16008 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16009 else
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16012
16013 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16014 See \`config.log' for more details." >&5
16015 echo "$as_me: error: no. CoreFoundation not available.
16016 See \`config.log' for more details." >&2;}
16017 { (exit 1); exit 1; }; }
16018
16019 fi
16020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16021
16022
16023 fi
16024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16025 ;;
16026 esac
16027
16028 case "${host}" in
16029 *-pc-os2_emx | *-pc-os2-emx )
16030 ac_ext=c
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035
16036 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16037 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16038 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16039 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 else
16042 ac_check_lib_save_LIBS=$LIBS
16043 LIBS="-lcExt $LIBS"
16044 cat >conftest.$ac_ext <<_ACEOF
16045 /* confdefs.h. */
16046 _ACEOF
16047 cat confdefs.h >>conftest.$ac_ext
16048 cat >>conftest.$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16050
16051 /* Override any gcc2 internal prototype to avoid an error. */
16052 #ifdef __cplusplus
16053 extern "C"
16054 #endif
16055 /* We use char because int might match the return type of a gcc2
16056 builtin and then its argument prototype would still apply. */
16057 char drand48 ();
16058 int
16059 main ()
16060 {
16061 drand48 ();
16062 ;
16063 return 0;
16064 }
16065 _ACEOF
16066 rm -f conftest.$ac_objext conftest$ac_exeext
16067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16068 (eval $ac_link) 2>conftest.er1
16069 ac_status=$?
16070 grep -v '^ *+' conftest.er1 >conftest.err
16071 rm -f conftest.er1
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } &&
16075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16078 ac_status=$?
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; } &&
16081 { ac_try='test -s conftest$ac_exeext'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; }; then
16087 ac_cv_lib_cExt_drand48=yes
16088 else
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.$ac_ext >&5
16091
16092 ac_cv_lib_cExt_drand48=no
16093 fi
16094 rm -f conftest.err conftest.$ac_objext \
16095 conftest$ac_exeext conftest.$ac_ext
16096 LIBS=$ac_check_lib_save_LIBS
16097 fi
16098 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16099 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16100 if test $ac_cv_lib_cExt_drand48 = yes; then
16101 LIBS="$LIBS -lcExt"
16102 fi
16103
16104 else
16105 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16106 fi
16107 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16108 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16109 if test "${wx_cv_gccversion+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112
16113 if test "$cross_compiling" = yes; then
16114 wx_cv_gccversion="EMX2"
16115
16116 else
16117 cat >conftest.$ac_ext <<_ACEOF
16118 /* confdefs.h. */
16119 _ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123
16124 #include <stdio.h>
16125
16126 int main()
16127 {
16128 FILE *f=fopen("conftestval", "w");
16129 if (!f) exit(1);
16130 fprintf(f,
16131 #if (__GNUC__ < 3)
16132 "EMX2"
16133 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16134 "EMX3"
16135 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16136 "Innotek5"
16137 #else
16138 "Innotek6"
16139 #endif
16140 );
16141 exit(0);
16142 }
16143
16144 _ACEOF
16145 rm -f conftest$ac_exeext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16147 (eval $ac_link) 2>&5
16148 ac_status=$?
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 wx_cv_gccversion=`cat conftestval`
16157 else
16158 echo "$as_me: program exited with status $ac_status" >&5
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.$ac_ext >&5
16161
16162 ( exit $ac_status )
16163 wx_cv_gccversion="EMX2"
16164 fi
16165 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16166 fi
16167
16168 fi
16169 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16170 echo "${ECHO_T}$wx_cv_gccversion" >&6
16171 ac_ext=cc
16172 ac_cpp='$CXXCPP $CPPFLAGS'
16173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16176
16177 if test "$wx_cv_gccversion" = "EMX2"; then
16178 LIBS="$LIBS -lstdcpp"
16179 LDFLAGS="$LDFLAGS -Zsysv-signals"
16180 else
16181 if test "$wx_cv_gccversion" = "EMX3"; then
16182 LIBS="$LIBS -lstdcxx -lgcc"
16183 LDFLAGS="$LDFLAGS -Zsysv-signals"
16184 else
16185 LIBS="$LIBS -lstdc++"
16186 fi
16187 fi
16188 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16189 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16190 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16191 wxUSE_OMF=yes
16192 enable_omf=yes
16193 fi
16194 ;;
16195 *)
16196
16197 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16198 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16199 if test "${ac_cv_string_strcasecmp+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202
16203 cat >conftest.$ac_ext <<_ACEOF
16204 /* confdefs.h. */
16205 _ACEOF
16206 cat confdefs.h >>conftest.$ac_ext
16207 cat >>conftest.$ac_ext <<_ACEOF
16208 /* end confdefs.h. */
16209
16210 #include <string.h>
16211
16212 int
16213 main ()
16214 {
16215
16216 strcasecmp("foo", "bar");
16217
16218 ;
16219 return 0;
16220 }
16221 _ACEOF
16222 rm -f conftest.$ac_objext conftest$ac_exeext
16223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16224 (eval $ac_link) 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } &&
16231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16234 ac_status=$?
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; } &&
16237 { ac_try='test -s conftest$ac_exeext'
16238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239 (eval $ac_try) 2>&5
16240 ac_status=$?
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }; }; then
16243 ac_cv_string_strcasecmp=yes
16244 else
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.$ac_ext >&5
16247
16248 ac_cv_string_strcasecmp=no
16249
16250 fi
16251 rm -f conftest.err conftest.$ac_objext \
16252 conftest$ac_exeext conftest.$ac_ext
16253
16254 fi
16255 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16256 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16257
16258 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16259 cat >>confdefs.h <<\_ACEOF
16260 #define HAVE_STRCASECMP_IN_STRING_H 1
16261 _ACEOF
16262
16263 else
16264 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16265 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16266 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 else
16269
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h. */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16276
16277 #include <strings.h>
16278
16279 int
16280 main ()
16281 {
16282
16283 strcasecmp("foo", "bar");
16284
16285 ;
16286 return 0;
16287 }
16288 _ACEOF
16289 rm -f conftest.$ac_objext conftest$ac_exeext
16290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16291 (eval $ac_link) 2>conftest.er1
16292 ac_status=$?
16293 grep -v '^ *+' conftest.er1 >conftest.err
16294 rm -f conftest.er1
16295 cat conftest.err >&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); } &&
16298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16301 ac_status=$?
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; } &&
16304 { ac_try='test -s conftest$ac_exeext'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16307 ac_status=$?
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; }; then
16310 ac_cv_strings_strcasecmp=yes
16311 else
16312 echo "$as_me: failed program was:" >&5
16313 sed 's/^/| /' conftest.$ac_ext >&5
16314
16315 ac_cv_strings_strcasecmp=no
16316
16317 fi
16318 rm -f conftest.err conftest.$ac_objext \
16319 conftest$ac_exeext conftest.$ac_ext
16320
16321 fi
16322 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16323 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16324
16325 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16326 cat >>confdefs.h <<\_ACEOF
16327 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16328 _ACEOF
16329
16330 else
16331 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16332 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16333 { (exit 1); exit 1; }; }
16334 fi
16335 fi
16336
16337 ;;
16338 esac
16339
16340
16341 ac_ext=cc
16342 ac_cpp='$CXXCPP $CPPFLAGS'
16343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16346 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16347 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16348 if test -z "$CXXCPP"; then
16349 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 else
16352 # Double quotes because CXXCPP needs to be expanded
16353 for CXXCPP in "$CXX -E" "/lib/cpp"
16354 do
16355 ac_preproc_ok=false
16356 for ac_cxx_preproc_warn_flag in '' yes
16357 do
16358 # Use a header file that comes with gcc, so configuring glibc
16359 # with a fresh cross-compiler works.
16360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16361 # <limits.h> exists even on freestanding compilers.
16362 # On the NeXT, cc -E runs the code through the compiler's parser,
16363 # not just through cpp. "Syntax error" is here to catch this case.
16364 cat >conftest.$ac_ext <<_ACEOF
16365 /* confdefs.h. */
16366 _ACEOF
16367 cat confdefs.h >>conftest.$ac_ext
16368 cat >>conftest.$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 #ifdef __STDC__
16371 # include <limits.h>
16372 #else
16373 # include <assert.h>
16374 #endif
16375 Syntax error
16376 _ACEOF
16377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16379 ac_status=$?
16380 grep -v '^ *+' conftest.er1 >conftest.err
16381 rm -f conftest.er1
16382 cat conftest.err >&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } >/dev/null; then
16385 if test -s conftest.err; then
16386 ac_cpp_err=$ac_cxx_preproc_warn_flag
16387 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16388 else
16389 ac_cpp_err=
16390 fi
16391 else
16392 ac_cpp_err=yes
16393 fi
16394 if test -z "$ac_cpp_err"; then
16395 :
16396 else
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.$ac_ext >&5
16399
16400 # Broken: fails on valid input.
16401 continue
16402 fi
16403 rm -f conftest.err conftest.$ac_ext
16404
16405 # OK, works on sane cases. Now check whether non-existent headers
16406 # can be detected and how.
16407 cat >conftest.$ac_ext <<_ACEOF
16408 /* confdefs.h. */
16409 _ACEOF
16410 cat confdefs.h >>conftest.$ac_ext
16411 cat >>conftest.$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 #include <ac_nonexistent.h>
16414 _ACEOF
16415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16417 ac_status=$?
16418 grep -v '^ *+' conftest.er1 >conftest.err
16419 rm -f conftest.er1
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } >/dev/null; then
16423 if test -s conftest.err; then
16424 ac_cpp_err=$ac_cxx_preproc_warn_flag
16425 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16426 else
16427 ac_cpp_err=
16428 fi
16429 else
16430 ac_cpp_err=yes
16431 fi
16432 if test -z "$ac_cpp_err"; then
16433 # Broken: success on invalid input.
16434 continue
16435 else
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16438
16439 # Passes both tests.
16440 ac_preproc_ok=:
16441 break
16442 fi
16443 rm -f conftest.err conftest.$ac_ext
16444
16445 done
16446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16447 rm -f conftest.err conftest.$ac_ext
16448 if $ac_preproc_ok; then
16449 break
16450 fi
16451
16452 done
16453 ac_cv_prog_CXXCPP=$CXXCPP
16454
16455 fi
16456 CXXCPP=$ac_cv_prog_CXXCPP
16457 else
16458 ac_cv_prog_CXXCPP=$CXXCPP
16459 fi
16460 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16461 echo "${ECHO_T}$CXXCPP" >&6
16462 ac_preproc_ok=false
16463 for ac_cxx_preproc_warn_flag in '' yes
16464 do
16465 # Use a header file that comes with gcc, so configuring glibc
16466 # with a fresh cross-compiler works.
16467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16468 # <limits.h> exists even on freestanding compilers.
16469 # On the NeXT, cc -E runs the code through the compiler's parser,
16470 # not just through cpp. "Syntax error" is here to catch this case.
16471 cat >conftest.$ac_ext <<_ACEOF
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 #ifdef __STDC__
16478 # include <limits.h>
16479 #else
16480 # include <assert.h>
16481 #endif
16482 Syntax error
16483 _ACEOF
16484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16486 ac_status=$?
16487 grep -v '^ *+' conftest.er1 >conftest.err
16488 rm -f conftest.er1
16489 cat conftest.err >&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } >/dev/null; then
16492 if test -s conftest.err; then
16493 ac_cpp_err=$ac_cxx_preproc_warn_flag
16494 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16495 else
16496 ac_cpp_err=
16497 fi
16498 else
16499 ac_cpp_err=yes
16500 fi
16501 if test -z "$ac_cpp_err"; then
16502 :
16503 else
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 # Broken: fails on valid input.
16508 continue
16509 fi
16510 rm -f conftest.err conftest.$ac_ext
16511
16512 # OK, works on sane cases. Now check whether non-existent headers
16513 # can be detected and how.
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 #include <ac_nonexistent.h>
16521 _ACEOF
16522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16524 ac_status=$?
16525 grep -v '^ *+' conftest.er1 >conftest.err
16526 rm -f conftest.er1
16527 cat conftest.err >&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } >/dev/null; then
16530 if test -s conftest.err; then
16531 ac_cpp_err=$ac_cxx_preproc_warn_flag
16532 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16533 else
16534 ac_cpp_err=
16535 fi
16536 else
16537 ac_cpp_err=yes
16538 fi
16539 if test -z "$ac_cpp_err"; then
16540 # Broken: success on invalid input.
16541 continue
16542 else
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16545
16546 # Passes both tests.
16547 ac_preproc_ok=:
16548 break
16549 fi
16550 rm -f conftest.err conftest.$ac_ext
16551
16552 done
16553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16554 rm -f conftest.err conftest.$ac_ext
16555 if $ac_preproc_ok; then
16556 :
16557 else
16558 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16559 See \`config.log' for more details." >&5
16560 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16561 See \`config.log' for more details." >&2;}
16562 { (exit 1); exit 1; }; }
16563 fi
16564
16565 ac_ext=cc
16566 ac_cpp='$CXXCPP $CPPFLAGS'
16567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16570
16571
16572 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16573 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16574 if test "${ac_cv_header_stdc+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16576 else
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #include <stdlib.h>
16584 #include <stdarg.h>
16585 #include <string.h>
16586 #include <float.h>
16587
16588 int
16589 main ()
16590 {
16591
16592 ;
16593 return 0;
16594 }
16595 _ACEOF
16596 rm -f conftest.$ac_objext
16597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 (eval $ac_compile) 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; } &&
16611 { ac_try='test -s conftest.$ac_objext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 ac_cv_header_stdc=yes
16618 else
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16621
16622 ac_cv_header_stdc=no
16623 fi
16624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16625
16626 if test $ac_cv_header_stdc = yes; then
16627 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 #include <string.h>
16635
16636 _ACEOF
16637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16638 $EGREP "memchr" >/dev/null 2>&1; then
16639 :
16640 else
16641 ac_cv_header_stdc=no
16642 fi
16643 rm -f conftest*
16644
16645 fi
16646
16647 if test $ac_cv_header_stdc = yes; then
16648 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16649 cat >conftest.$ac_ext <<_ACEOF
16650 /* confdefs.h. */
16651 _ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16655 #include <stdlib.h>
16656
16657 _ACEOF
16658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16659 $EGREP "free" >/dev/null 2>&1; then
16660 :
16661 else
16662 ac_cv_header_stdc=no
16663 fi
16664 rm -f conftest*
16665
16666 fi
16667
16668 if test $ac_cv_header_stdc = yes; then
16669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16670 if test "$cross_compiling" = yes; then
16671 :
16672 else
16673 cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 #include <ctype.h>
16680 #if ((' ' & 0x0FF) == 0x020)
16681 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16682 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16683 #else
16684 # define ISLOWER(c) \
16685 (('a' <= (c) && (c) <= 'i') \
16686 || ('j' <= (c) && (c) <= 'r') \
16687 || ('s' <= (c) && (c) <= 'z'))
16688 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16689 #endif
16690
16691 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16692 int
16693 main ()
16694 {
16695 int i;
16696 for (i = 0; i < 256; i++)
16697 if (XOR (islower (i), ISLOWER (i))
16698 || toupper (i) != TOUPPER (i))
16699 exit(2);
16700 exit (0);
16701 }
16702 _ACEOF
16703 rm -f conftest$ac_exeext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16705 (eval $ac_link) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16711 ac_status=$?
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 :
16715 else
16716 echo "$as_me: program exited with status $ac_status" >&5
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 ( exit $ac_status )
16721 ac_cv_header_stdc=no
16722 fi
16723 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16724 fi
16725 fi
16726 fi
16727 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16728 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16729 if test $ac_cv_header_stdc = yes; then
16730
16731 cat >>confdefs.h <<\_ACEOF
16732 #define STDC_HEADERS 1
16733 _ACEOF
16734
16735 fi
16736
16737 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16748 inttypes.h stdint.h unistd.h
16749 do
16750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16751 echo "$as_me:$LINENO: checking for $ac_header" >&5
16752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756 cat >conftest.$ac_ext <<_ACEOF
16757 /* confdefs.h. */
16758 _ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 $ac_includes_default
16763
16764 #include <$ac_header>
16765 _ACEOF
16766 rm -f conftest.$ac_objext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>conftest.er1
16769 ac_status=$?
16770 grep -v '^ *+' conftest.er1 >conftest.err
16771 rm -f conftest.er1
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } &&
16775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; } &&
16781 { ac_try='test -s conftest.$ac_objext'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16784 ac_status=$?
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; }; then
16787 eval "$as_ac_Header=yes"
16788 else
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16791
16792 eval "$as_ac_Header=no"
16793 fi
16794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16795 fi
16796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16799 cat >>confdefs.h <<_ACEOF
16800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16801 _ACEOF
16802
16803 fi
16804
16805 done
16806
16807
16808
16809 for ac_header in stdlib.h
16810 do
16811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16813 echo "$as_me:$LINENO: checking for $ac_header" >&5
16814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 fi
16818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16820 else
16821 # Is the header compilable?
16822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16831 #include <$ac_header>
16832 _ACEOF
16833 rm -f conftest.$ac_objext
16834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16835 (eval $ac_compile) 2>conftest.er1
16836 ac_status=$?
16837 grep -v '^ *+' conftest.er1 >conftest.err
16838 rm -f conftest.er1
16839 cat conftest.err >&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); } &&
16842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try='test -s conftest.$ac_objext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16851 ac_status=$?
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_header_compiler=yes
16855 else
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16858
16859 ac_header_compiler=no
16860 fi
16861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16863 echo "${ECHO_T}$ac_header_compiler" >&6
16864
16865 # Is the header present?
16866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16868 cat >conftest.$ac_ext <<_ACEOF
16869 /* confdefs.h. */
16870 _ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16874 #include <$ac_header>
16875 _ACEOF
16876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16878 ac_status=$?
16879 grep -v '^ *+' conftest.er1 >conftest.err
16880 rm -f conftest.er1
16881 cat conftest.err >&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } >/dev/null; then
16884 if test -s conftest.err; then
16885 ac_cpp_err=$ac_cxx_preproc_warn_flag
16886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16887 else
16888 ac_cpp_err=
16889 fi
16890 else
16891 ac_cpp_err=yes
16892 fi
16893 if test -z "$ac_cpp_err"; then
16894 ac_header_preproc=yes
16895 else
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.$ac_ext >&5
16898
16899 ac_header_preproc=no
16900 fi
16901 rm -f conftest.err conftest.$ac_ext
16902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16903 echo "${ECHO_T}$ac_header_preproc" >&6
16904
16905 # So? What about this header?
16906 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16907 yes:no: )
16908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16912 ac_header_preproc=yes
16913 ;;
16914 no:yes:* )
16915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16927 (
16928 cat <<\_ASBOX
16929 ## ----------------------------------------- ##
16930 ## Report this to wx-dev@lists.wxwidgets.org ##
16931 ## ----------------------------------------- ##
16932 _ASBOX
16933 ) |
16934 sed "s/^/$as_me: WARNING: /" >&2
16935 ;;
16936 esac
16937 echo "$as_me:$LINENO: checking for $ac_header" >&5
16938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 else
16942 eval "$as_ac_Header=\$ac_header_preproc"
16943 fi
16944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16946
16947 fi
16948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16949 cat >>confdefs.h <<_ACEOF
16950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16951 _ACEOF
16952
16953 fi
16954
16955 done
16956
16957
16958 for ac_header in malloc.h
16959 do
16960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16962 echo "$as_me:$LINENO: checking for $ac_header" >&5
16963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 fi
16967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16969 else
16970 # Is the header compilable?
16971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 $ac_includes_default
16980 #include <$ac_header>
16981 _ACEOF
16982 rm -f conftest.$ac_objext
16983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16984 (eval $ac_compile) 2>conftest.er1
16985 ac_status=$?
16986 grep -v '^ *+' conftest.er1 >conftest.err
16987 rm -f conftest.er1
16988 cat conftest.err >&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } &&
16991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; } &&
16997 { ac_try='test -s conftest.$ac_objext'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17000 ac_status=$?
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_header_compiler=yes
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17007
17008 ac_header_compiler=no
17009 fi
17010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17012 echo "${ECHO_T}$ac_header_compiler" >&6
17013
17014 # Is the header present?
17015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17017 cat >conftest.$ac_ext <<_ACEOF
17018 /* confdefs.h. */
17019 _ACEOF
17020 cat confdefs.h >>conftest.$ac_ext
17021 cat >>conftest.$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 #include <$ac_header>
17024 _ACEOF
17025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17027 ac_status=$?
17028 grep -v '^ *+' conftest.er1 >conftest.err
17029 rm -f conftest.er1
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } >/dev/null; then
17033 if test -s conftest.err; then
17034 ac_cpp_err=$ac_cxx_preproc_warn_flag
17035 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17036 else
17037 ac_cpp_err=
17038 fi
17039 else
17040 ac_cpp_err=yes
17041 fi
17042 if test -z "$ac_cpp_err"; then
17043 ac_header_preproc=yes
17044 else
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.$ac_ext >&5
17047
17048 ac_header_preproc=no
17049 fi
17050 rm -f conftest.err conftest.$ac_ext
17051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17052 echo "${ECHO_T}$ac_header_preproc" >&6
17053
17054 # So? What about this header?
17055 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17056 yes:no: )
17057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17061 ac_header_preproc=yes
17062 ;;
17063 no:yes:* )
17064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17076 (
17077 cat <<\_ASBOX
17078 ## ----------------------------------------- ##
17079 ## Report this to wx-dev@lists.wxwidgets.org ##
17080 ## ----------------------------------------- ##
17081 _ASBOX
17082 ) |
17083 sed "s/^/$as_me: WARNING: /" >&2
17084 ;;
17085 esac
17086 echo "$as_me:$LINENO: checking for $ac_header" >&5
17087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 eval "$as_ac_Header=\$ac_header_preproc"
17092 fi
17093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17095
17096 fi
17097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17098 cat >>confdefs.h <<_ACEOF
17099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17100 _ACEOF
17101
17102 fi
17103
17104 done
17105
17106
17107 for ac_header in unistd.h
17108 do
17109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17111 echo "$as_me:$LINENO: checking for $ac_header" >&5
17112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 fi
17116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17118 else
17119 # Is the header compilable?
17120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 $ac_includes_default
17129 #include <$ac_header>
17130 _ACEOF
17131 rm -f conftest.$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17134 ac_status=$?
17135 grep -v '^ *+' conftest.er1 >conftest.err
17136 rm -f conftest.er1
17137 cat conftest.err >&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17142 (eval $ac_try) 2>&5
17143 ac_status=$?
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; } &&
17146 { ac_try='test -s conftest.$ac_objext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17149 ac_status=$?
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 ac_header_compiler=yes
17153 else
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17156
17157 ac_header_compiler=no
17158 fi
17159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17161 echo "${ECHO_T}$ac_header_compiler" >&6
17162
17163 # Is the header present?
17164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17166 cat >conftest.$ac_ext <<_ACEOF
17167 /* confdefs.h. */
17168 _ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 #include <$ac_header>
17173 _ACEOF
17174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17176 ac_status=$?
17177 grep -v '^ *+' conftest.er1 >conftest.err
17178 rm -f conftest.er1
17179 cat conftest.err >&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } >/dev/null; then
17182 if test -s conftest.err; then
17183 ac_cpp_err=$ac_cxx_preproc_warn_flag
17184 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17185 else
17186 ac_cpp_err=
17187 fi
17188 else
17189 ac_cpp_err=yes
17190 fi
17191 if test -z "$ac_cpp_err"; then
17192 ac_header_preproc=yes
17193 else
17194 echo "$as_me: failed program was:" >&5
17195 sed 's/^/| /' conftest.$ac_ext >&5
17196
17197 ac_header_preproc=no
17198 fi
17199 rm -f conftest.err conftest.$ac_ext
17200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17201 echo "${ECHO_T}$ac_header_preproc" >&6
17202
17203 # So? What about this header?
17204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17205 yes:no: )
17206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17210 ac_header_preproc=yes
17211 ;;
17212 no:yes:* )
17213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17225 (
17226 cat <<\_ASBOX
17227 ## ----------------------------------------- ##
17228 ## Report this to wx-dev@lists.wxwidgets.org ##
17229 ## ----------------------------------------- ##
17230 _ASBOX
17231 ) |
17232 sed "s/^/$as_me: WARNING: /" >&2
17233 ;;
17234 esac
17235 echo "$as_me:$LINENO: checking for $ac_header" >&5
17236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 eval "$as_ac_Header=\$ac_header_preproc"
17241 fi
17242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17244
17245 fi
17246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17247 cat >>confdefs.h <<_ACEOF
17248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17249 _ACEOF
17250
17251 fi
17252
17253 done
17254
17255
17256 for ac_header in wchar.h
17257 do
17258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17260 echo "$as_me:$LINENO: checking for $ac_header" >&5
17261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 fi
17265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17267 else
17268 # Is the header compilable?
17269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17278 #include <$ac_header>
17279 _ACEOF
17280 rm -f conftest.$ac_objext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17282 (eval $ac_compile) 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17292 ac_status=$?
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; } &&
17295 { ac_try='test -s conftest.$ac_objext'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17298 ac_status=$?
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; }; then
17301 ac_header_compiler=yes
17302 else
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.$ac_ext >&5
17305
17306 ac_header_compiler=no
17307 fi
17308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17310 echo "${ECHO_T}$ac_header_compiler" >&6
17311
17312 # Is the header present?
17313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 #include <$ac_header>
17322 _ACEOF
17323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17325 ac_status=$?
17326 grep -v '^ *+' conftest.er1 >conftest.err
17327 rm -f conftest.er1
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } >/dev/null; then
17331 if test -s conftest.err; then
17332 ac_cpp_err=$ac_cxx_preproc_warn_flag
17333 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17334 else
17335 ac_cpp_err=
17336 fi
17337 else
17338 ac_cpp_err=yes
17339 fi
17340 if test -z "$ac_cpp_err"; then
17341 ac_header_preproc=yes
17342 else
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17345
17346 ac_header_preproc=no
17347 fi
17348 rm -f conftest.err conftest.$ac_ext
17349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17350 echo "${ECHO_T}$ac_header_preproc" >&6
17351
17352 # So? What about this header?
17353 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17354 yes:no: )
17355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17356 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17359 ac_header_preproc=yes
17360 ;;
17361 no:yes:* )
17362 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17363 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17364 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17365 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17366 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17367 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17368 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17374 (
17375 cat <<\_ASBOX
17376 ## ----------------------------------------- ##
17377 ## Report this to wx-dev@lists.wxwidgets.org ##
17378 ## ----------------------------------------- ##
17379 _ASBOX
17380 ) |
17381 sed "s/^/$as_me: WARNING: /" >&2
17382 ;;
17383 esac
17384 echo "$as_me:$LINENO: checking for $ac_header" >&5
17385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389 eval "$as_ac_Header=\$ac_header_preproc"
17390 fi
17391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17393
17394 fi
17395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17396 cat >>confdefs.h <<_ACEOF
17397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17398 _ACEOF
17399
17400 fi
17401
17402 done
17403
17404
17405 if test "$ac_cv_header_wchar_h" != "yes"; then
17406
17407 for ac_header in wcstr.h
17408 do
17409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17411 echo "$as_me:$LINENO: checking for $ac_header" >&5
17412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 fi
17416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17418 else
17419 # Is the header compilable?
17420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17422 cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 $ac_includes_default
17429 #include <$ac_header>
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17443 ac_status=$?
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17452 ac_header_compiler=yes
17453 else
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17456
17457 ac_header_compiler=no
17458 fi
17459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17461 echo "${ECHO_T}$ac_header_compiler" >&6
17462
17463 # Is the header present?
17464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17466 cat >conftest.$ac_ext <<_ACEOF
17467 /* confdefs.h. */
17468 _ACEOF
17469 cat confdefs.h >>conftest.$ac_ext
17470 cat >>conftest.$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17472 #include <$ac_header>
17473 _ACEOF
17474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17476 ac_status=$?
17477 grep -v '^ *+' conftest.er1 >conftest.err
17478 rm -f conftest.er1
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } >/dev/null; then
17482 if test -s conftest.err; then
17483 ac_cpp_err=$ac_cxx_preproc_warn_flag
17484 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17485 else
17486 ac_cpp_err=
17487 fi
17488 else
17489 ac_cpp_err=yes
17490 fi
17491 if test -z "$ac_cpp_err"; then
17492 ac_header_preproc=yes
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17496
17497 ac_header_preproc=no
17498 fi
17499 rm -f conftest.err conftest.$ac_ext
17500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17501 echo "${ECHO_T}$ac_header_preproc" >&6
17502
17503 # So? What about this header?
17504 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17505 yes:no: )
17506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17510 ac_header_preproc=yes
17511 ;;
17512 no:yes:* )
17513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17525 (
17526 cat <<\_ASBOX
17527 ## ----------------------------------------- ##
17528 ## Report this to wx-dev@lists.wxwidgets.org ##
17529 ## ----------------------------------------- ##
17530 _ASBOX
17531 ) |
17532 sed "s/^/$as_me: WARNING: /" >&2
17533 ;;
17534 esac
17535 echo "$as_me:$LINENO: checking for $ac_header" >&5
17536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540 eval "$as_ac_Header=\$ac_header_preproc"
17541 fi
17542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17544
17545 fi
17546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17547 cat >>confdefs.h <<_ACEOF
17548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17549 _ACEOF
17550
17551 fi
17552
17553 done
17554
17555 fi
17556
17557
17558 for ac_header in fnmatch.h
17559 do
17560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17562 echo "$as_me:$LINENO: checking for $ac_header" >&5
17563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 fi
17567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17569 else
17570 # Is the header compilable?
17571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17573 cat >conftest.$ac_ext <<_ACEOF
17574 /* confdefs.h. */
17575 _ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 $ac_includes_default
17580 #include <$ac_header>
17581 _ACEOF
17582 rm -f conftest.$ac_objext
17583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17584 (eval $ac_compile) 2>conftest.er1
17585 ac_status=$?
17586 grep -v '^ *+' conftest.er1 >conftest.err
17587 rm -f conftest.er1
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); } &&
17591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17593 (eval $ac_try) 2>&5
17594 ac_status=$?
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; } &&
17597 { ac_try='test -s conftest.$ac_objext'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 ac_header_compiler=yes
17604 else
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17607
17608 ac_header_compiler=no
17609 fi
17610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17612 echo "${ECHO_T}$ac_header_compiler" >&6
17613
17614 # Is the header present?
17615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #include <$ac_header>
17624 _ACEOF
17625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17627 ac_status=$?
17628 grep -v '^ *+' conftest.er1 >conftest.err
17629 rm -f conftest.er1
17630 cat conftest.err >&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } >/dev/null; then
17633 if test -s conftest.err; then
17634 ac_cpp_err=$ac_cxx_preproc_warn_flag
17635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17636 else
17637 ac_cpp_err=
17638 fi
17639 else
17640 ac_cpp_err=yes
17641 fi
17642 if test -z "$ac_cpp_err"; then
17643 ac_header_preproc=yes
17644 else
17645 echo "$as_me: failed program was:" >&5
17646 sed 's/^/| /' conftest.$ac_ext >&5
17647
17648 ac_header_preproc=no
17649 fi
17650 rm -f conftest.err conftest.$ac_ext
17651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17652 echo "${ECHO_T}$ac_header_preproc" >&6
17653
17654 # So? What about this header?
17655 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17656 yes:no: )
17657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17661 ac_header_preproc=yes
17662 ;;
17663 no:yes:* )
17664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17676 (
17677 cat <<\_ASBOX
17678 ## ----------------------------------------- ##
17679 ## Report this to wx-dev@lists.wxwidgets.org ##
17680 ## ----------------------------------------- ##
17681 _ASBOX
17682 ) |
17683 sed "s/^/$as_me: WARNING: /" >&2
17684 ;;
17685 esac
17686 echo "$as_me:$LINENO: checking for $ac_header" >&5
17687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17689 echo $ECHO_N "(cached) $ECHO_C" >&6
17690 else
17691 eval "$as_ac_Header=\$ac_header_preproc"
17692 fi
17693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17695
17696 fi
17697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17698 cat >>confdefs.h <<_ACEOF
17699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17700 _ACEOF
17701
17702 fi
17703
17704 done
17705
17706
17707
17708 for ac_header in langinfo.h
17709 do
17710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17712 echo "$as_me:$LINENO: checking for $ac_header" >&5
17713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 fi
17717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17719 else
17720 # Is the header compilable?
17721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17730 #include <$ac_header>
17731 _ACEOF
17732 rm -f conftest.$ac_objext
17733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17734 (eval $ac_compile) 2>conftest.er1
17735 ac_status=$?
17736 grep -v '^ *+' conftest.er1 >conftest.err
17737 rm -f conftest.er1
17738 cat conftest.err >&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); } &&
17741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743 (eval $ac_try) 2>&5
17744 ac_status=$?
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; } &&
17747 { ac_try='test -s conftest.$ac_objext'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; }; then
17753 ac_header_compiler=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 ac_header_compiler=no
17759 fi
17760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17762 echo "${ECHO_T}$ac_header_compiler" >&6
17763
17764 # Is the header present?
17765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17767 cat >conftest.$ac_ext <<_ACEOF
17768 /* confdefs.h. */
17769 _ACEOF
17770 cat confdefs.h >>conftest.$ac_ext
17771 cat >>conftest.$ac_ext <<_ACEOF
17772 /* end confdefs.h. */
17773 #include <$ac_header>
17774 _ACEOF
17775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17777 ac_status=$?
17778 grep -v '^ *+' conftest.er1 >conftest.err
17779 rm -f conftest.er1
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } >/dev/null; then
17783 if test -s conftest.err; then
17784 ac_cpp_err=$ac_cxx_preproc_warn_flag
17785 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17786 else
17787 ac_cpp_err=
17788 fi
17789 else
17790 ac_cpp_err=yes
17791 fi
17792 if test -z "$ac_cpp_err"; then
17793 ac_header_preproc=yes
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17797
17798 ac_header_preproc=no
17799 fi
17800 rm -f conftest.err conftest.$ac_ext
17801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17802 echo "${ECHO_T}$ac_header_preproc" >&6
17803
17804 # So? What about this header?
17805 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17806 yes:no: )
17807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17811 ac_header_preproc=yes
17812 ;;
17813 no:yes:* )
17814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17826 (
17827 cat <<\_ASBOX
17828 ## ----------------------------------------- ##
17829 ## Report this to wx-dev@lists.wxwidgets.org ##
17830 ## ----------------------------------------- ##
17831 _ASBOX
17832 ) |
17833 sed "s/^/$as_me: WARNING: /" >&2
17834 ;;
17835 esac
17836 echo "$as_me:$LINENO: checking for $ac_header" >&5
17837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 else
17841 eval "$as_ac_Header=\$ac_header_preproc"
17842 fi
17843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17845
17846 fi
17847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17848 cat >>confdefs.h <<_ACEOF
17849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17850 _ACEOF
17851
17852 fi
17853
17854 done
17855
17856
17857 case "${host}" in
17858 *-pc-os2_emx | *-pc-os2-emx )
17859 if test $ac_cv_header_langinfo_h = "yes" \
17860 -a \( "$wx_cv_gccversion" = "EMX2" \
17861 -o "$wx_cv_gccversion" = "EMX3" \
17862 -o "$wx_cv_gccversion" = "Innotek5" \); then
17863 LIBS="$LIBS -lintl"
17864 fi
17865 ;;
17866 esac
17867
17868 if test "$USE_UNIX" = 1 ; then
17869
17870 for ac_header in sys/select.h
17871 do
17872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17874 echo "$as_me:$LINENO: checking for $ac_header" >&5
17875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17878 fi
17879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17881 else
17882 # Is the header compilable?
17883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17886 /* confdefs.h. */
17887 _ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891 $ac_includes_default
17892 #include <$ac_header>
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } &&
17903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17906 ac_status=$?
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; } &&
17909 { ac_try='test -s conftest.$ac_objext'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 ac_header_compiler=yes
17916 else
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17919
17920 ac_header_compiler=no
17921 fi
17922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17924 echo "${ECHO_T}$ac_header_compiler" >&6
17925
17926 # Is the header present?
17927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17929 cat >conftest.$ac_ext <<_ACEOF
17930 /* confdefs.h. */
17931 _ACEOF
17932 cat confdefs.h >>conftest.$ac_ext
17933 cat >>conftest.$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 #include <$ac_header>
17936 _ACEOF
17937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } >/dev/null; then
17945 if test -s conftest.err; then
17946 ac_cpp_err=$ac_cxx_preproc_warn_flag
17947 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17948 else
17949 ac_cpp_err=
17950 fi
17951 else
17952 ac_cpp_err=yes
17953 fi
17954 if test -z "$ac_cpp_err"; then
17955 ac_header_preproc=yes
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960 ac_header_preproc=no
17961 fi
17962 rm -f conftest.err conftest.$ac_ext
17963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17964 echo "${ECHO_T}$ac_header_preproc" >&6
17965
17966 # So? What about this header?
17967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17968 yes:no: )
17969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17973 ac_header_preproc=yes
17974 ;;
17975 no:yes:* )
17976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17988 (
17989 cat <<\_ASBOX
17990 ## ----------------------------------------- ##
17991 ## Report this to wx-dev@lists.wxwidgets.org ##
17992 ## ----------------------------------------- ##
17993 _ASBOX
17994 ) |
17995 sed "s/^/$as_me: WARNING: /" >&2
17996 ;;
17997 esac
17998 echo "$as_me:$LINENO: checking for $ac_header" >&5
17999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18001 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 else
18003 eval "$as_ac_Header=\$ac_header_preproc"
18004 fi
18005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18007
18008 fi
18009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18012 _ACEOF
18013
18014 fi
18015
18016 done
18017
18018 fi
18019
18020
18021 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18022 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18023 if test "${ac_cv_c_const+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032
18033 int
18034 main ()
18035 {
18036 /* FIXME: Include the comments suggested by Paul. */
18037 #ifndef __cplusplus
18038 /* Ultrix mips cc rejects this. */
18039 typedef int charset[2];
18040 const charset x;
18041 /* SunOS 4.1.1 cc rejects this. */
18042 char const *const *ccp;
18043 char **p;
18044 /* NEC SVR4.0.2 mips cc rejects this. */
18045 struct point {int x, y;};
18046 static struct point const zero = {0,0};
18047 /* AIX XL C 1.02.0.0 rejects this.
18048 It does not let you subtract one const X* pointer from another in
18049 an arm of an if-expression whose if-part is not a constant
18050 expression */
18051 const char *g = "string";
18052 ccp = &g + (g ? g-g : 0);
18053 /* HPUX 7.0 cc rejects these. */
18054 ++ccp;
18055 p = (char**) ccp;
18056 ccp = (char const *const *) p;
18057 { /* SCO 3.2v4 cc rejects this. */
18058 char *t;
18059 char const *s = 0 ? (char *) 0 : (char const *) 0;
18060
18061 *t++ = 0;
18062 }
18063 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18064 int x[] = {25, 17};
18065 const int *foo = &x[0];
18066 ++foo;
18067 }
18068 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18069 typedef const int *iptr;
18070 iptr p = 0;
18071 ++p;
18072 }
18073 { /* AIX XL C 1.02.0.0 rejects this saying
18074 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18075 struct s { int j; const int *ap[3]; };
18076 struct s *b; b->j = 5;
18077 }
18078 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18079 const int foo = 10;
18080 }
18081 #endif
18082
18083 ;
18084 return 0;
18085 }
18086 _ACEOF
18087 rm -f conftest.$ac_objext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18089 (eval $ac_compile) 2>conftest.er1
18090 ac_status=$?
18091 grep -v '^ *+' conftest.er1 >conftest.err
18092 rm -f conftest.er1
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; } &&
18102 { ac_try='test -s conftest.$ac_objext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18108 ac_cv_c_const=yes
18109 else
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18112
18113 ac_cv_c_const=no
18114 fi
18115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18116 fi
18117 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18118 echo "${ECHO_T}$ac_cv_c_const" >&6
18119 if test $ac_cv_c_const = no; then
18120
18121 cat >>confdefs.h <<\_ACEOF
18122 #define const
18123 _ACEOF
18124
18125 fi
18126
18127 echo "$as_me:$LINENO: checking for inline" >&5
18128 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18129 if test "${ac_cv_c_inline+set}" = set; then
18130 echo $ECHO_N "(cached) $ECHO_C" >&6
18131 else
18132 ac_cv_c_inline=no
18133 for ac_kw in inline __inline__ __inline; do
18134 cat >conftest.$ac_ext <<_ACEOF
18135 /* confdefs.h. */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 #ifndef __cplusplus
18141 typedef int foo_t;
18142 static $ac_kw foo_t static_foo () {return 0; }
18143 $ac_kw foo_t foo () {return 0; }
18144 #endif
18145
18146 _ACEOF
18147 rm -f conftest.$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18150 ac_status=$?
18151 grep -v '^ *+' conftest.er1 >conftest.err
18152 rm -f conftest.er1
18153 cat conftest.err >&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; } &&
18162 { ac_try='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 ac_cv_c_inline=$ac_kw; break
18169 else
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.$ac_ext >&5
18172
18173 fi
18174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18175 done
18176
18177 fi
18178 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18179 echo "${ECHO_T}$ac_cv_c_inline" >&6
18180
18181
18182 case $ac_cv_c_inline in
18183 inline | yes) ;;
18184 *)
18185 case $ac_cv_c_inline in
18186 no) ac_val=;;
18187 *) ac_val=$ac_cv_c_inline;;
18188 esac
18189 cat >>confdefs.h <<_ACEOF
18190 #ifndef __cplusplus
18191 #define inline $ac_val
18192 #endif
18193 _ACEOF
18194 ;;
18195 esac
18196
18197
18198 echo "$as_me:$LINENO: checking for char" >&5
18199 echo $ECHO_N "checking for char... $ECHO_C" >&6
18200 if test "${ac_cv_type_char+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 else
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 $ac_includes_default
18210 int
18211 main ()
18212 {
18213 if ((char *) 0)
18214 return 0;
18215 if (sizeof (char))
18216 return 0;
18217 ;
18218 return 0;
18219 }
18220 _ACEOF
18221 rm -f conftest.$ac_objext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>conftest.er1
18224 ac_status=$?
18225 grep -v '^ *+' conftest.er1 >conftest.err
18226 rm -f conftest.er1
18227 cat conftest.err >&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18233 ac_status=$?
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; } &&
18236 { ac_try='test -s conftest.$ac_objext'
18237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18238 (eval $ac_try) 2>&5
18239 ac_status=$?
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); }; }; then
18242 ac_cv_type_char=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247 ac_cv_type_char=no
18248 fi
18249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18250 fi
18251 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18252 echo "${ECHO_T}$ac_cv_type_char" >&6
18253
18254 echo "$as_me:$LINENO: checking size of char" >&5
18255 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18256 if test "${ac_cv_sizeof_char+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259 if test "$ac_cv_type_char" = yes; then
18260 # The cast to unsigned long works around a bug in the HP C Compiler
18261 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18262 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18263 # This bug is HP SR number 8606223364.
18264 if test "$cross_compiling" = yes; then
18265 # Depending upon the size, compute the lo and hi bounds.
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 $ac_includes_default
18273 int
18274 main ()
18275 {
18276 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18277 test_array [0] = 0
18278
18279 ;
18280 return 0;
18281 }
18282 _ACEOF
18283 rm -f conftest.$ac_objext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18285 (eval $ac_compile) 2>conftest.er1
18286 ac_status=$?
18287 grep -v '^ *+' conftest.er1 >conftest.err
18288 rm -f conftest.er1
18289 cat conftest.err >&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } &&
18292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; } &&
18298 { ac_try='test -s conftest.$ac_objext'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18301 ac_status=$?
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; }; then
18304 ac_lo=0 ac_mid=0
18305 while :; do
18306 cat >conftest.$ac_ext <<_ACEOF
18307 /* confdefs.h. */
18308 _ACEOF
18309 cat confdefs.h >>conftest.$ac_ext
18310 cat >>conftest.$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 $ac_includes_default
18313 int
18314 main ()
18315 {
18316 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18317 test_array [0] = 0
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18325 (eval $ac_compile) 2>conftest.er1
18326 ac_status=$?
18327 grep -v '^ *+' conftest.er1 >conftest.err
18328 rm -f conftest.er1
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } &&
18332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18335 ac_status=$?
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; } &&
18338 { ac_try='test -s conftest.$ac_objext'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18341 ac_status=$?
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18344 ac_hi=$ac_mid; break
18345 else
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18348
18349 ac_lo=`expr $ac_mid + 1`
18350 if test $ac_lo -le $ac_mid; then
18351 ac_lo= ac_hi=
18352 break
18353 fi
18354 ac_mid=`expr 2 '*' $ac_mid + 1`
18355 fi
18356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18357 done
18358 else
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.$ac_ext >&5
18361
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h. */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 $ac_includes_default
18369 int
18370 main ()
18371 {
18372 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18373 test_array [0] = 0
18374
18375 ;
18376 return 0;
18377 }
18378 _ACEOF
18379 rm -f conftest.$ac_objext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18381 (eval $ac_compile) 2>conftest.er1
18382 ac_status=$?
18383 grep -v '^ *+' conftest.er1 >conftest.err
18384 rm -f conftest.er1
18385 cat conftest.err >&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); } &&
18388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; } &&
18394 { ac_try='test -s conftest.$ac_objext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18397 ac_status=$?
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18400 ac_hi=-1 ac_mid=-1
18401 while :; do
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408 $ac_includes_default
18409 int
18410 main ()
18411 {
18412 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18413 test_array [0] = 0
18414
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18421 (eval $ac_compile) 2>conftest.er1
18422 ac_status=$?
18423 grep -v '^ *+' conftest.er1 >conftest.err
18424 rm -f conftest.er1
18425 cat conftest.err >&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } &&
18428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; } &&
18434 { ac_try='test -s conftest.$ac_objext'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 ac_lo=$ac_mid; break
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18444
18445 ac_hi=`expr '(' $ac_mid ')' - 1`
18446 if test $ac_mid -le $ac_hi; then
18447 ac_lo= ac_hi=
18448 break
18449 fi
18450 ac_mid=`expr 2 '*' $ac_mid`
18451 fi
18452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18453 done
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18457
18458 ac_lo= ac_hi=
18459 fi
18460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18461 fi
18462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18463 # Binary search between lo and hi bounds.
18464 while test "x$ac_lo" != "x$ac_hi"; do
18465 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 $ac_includes_default
18473 int
18474 main ()
18475 {
18476 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18477 test_array [0] = 0
18478
18479 ;
18480 return 0;
18481 }
18482 _ACEOF
18483 rm -f conftest.$ac_objext
18484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18485 (eval $ac_compile) 2>conftest.er1
18486 ac_status=$?
18487 grep -v '^ *+' conftest.er1 >conftest.err
18488 rm -f conftest.er1
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } &&
18492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18495 ac_status=$?
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; } &&
18498 { ac_try='test -s conftest.$ac_objext'
18499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18500 (eval $ac_try) 2>&5
18501 ac_status=$?
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; }; then
18504 ac_hi=$ac_mid
18505 else
18506 echo "$as_me: failed program was:" >&5
18507 sed 's/^/| /' conftest.$ac_ext >&5
18508
18509 ac_lo=`expr '(' $ac_mid ')' + 1`
18510 fi
18511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18512 done
18513 case $ac_lo in
18514 ?*) ac_cv_sizeof_char=$ac_lo;;
18515 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18516 See \`config.log' for more details." >&5
18517 echo "$as_me: error: cannot compute sizeof (char), 77
18518 See \`config.log' for more details." >&2;}
18519 { (exit 1); exit 1; }; } ;;
18520 esac
18521 else
18522 if test "$cross_compiling" = yes; then
18523 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18524 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18525 { (exit 1); exit 1; }; }
18526 else
18527 cat >conftest.$ac_ext <<_ACEOF
18528 /* confdefs.h. */
18529 _ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 $ac_includes_default
18534 long longval () { return (long) (sizeof (char)); }
18535 unsigned long ulongval () { return (long) (sizeof (char)); }
18536 #include <stdio.h>
18537 #include <stdlib.h>
18538 int
18539 main ()
18540 {
18541
18542 FILE *f = fopen ("conftest.val", "w");
18543 if (! f)
18544 exit (1);
18545 if (((long) (sizeof (char))) < 0)
18546 {
18547 long i = longval ();
18548 if (i != ((long) (sizeof (char))))
18549 exit (1);
18550 fprintf (f, "%ld\n", i);
18551 }
18552 else
18553 {
18554 unsigned long i = ulongval ();
18555 if (i != ((long) (sizeof (char))))
18556 exit (1);
18557 fprintf (f, "%lu\n", i);
18558 }
18559 exit (ferror (f) || fclose (f) != 0);
18560
18561 ;
18562 return 0;
18563 }
18564 _ACEOF
18565 rm -f conftest$ac_exeext
18566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18567 (eval $ac_link) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; }; then
18576 ac_cv_sizeof_char=`cat conftest.val`
18577 else
18578 echo "$as_me: program exited with status $ac_status" >&5
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18581
18582 ( exit $ac_status )
18583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18584 See \`config.log' for more details." >&5
18585 echo "$as_me: error: cannot compute sizeof (char), 77
18586 See \`config.log' for more details." >&2;}
18587 { (exit 1); exit 1; }; }
18588 fi
18589 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18590 fi
18591 fi
18592 rm -f conftest.val
18593 else
18594 ac_cv_sizeof_char=0
18595 fi
18596 fi
18597 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18598 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18599 cat >>confdefs.h <<_ACEOF
18600 #define SIZEOF_CHAR $ac_cv_sizeof_char
18601 _ACEOF
18602
18603
18604 echo "$as_me:$LINENO: checking for short" >&5
18605 echo $ECHO_N "checking for short... $ECHO_C" >&6
18606 if test "${ac_cv_type_short+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18608 else
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 $ac_includes_default
18616 int
18617 main ()
18618 {
18619 if ((short *) 0)
18620 return 0;
18621 if (sizeof (short))
18622 return 0;
18623 ;
18624 return 0;
18625 }
18626 _ACEOF
18627 rm -f conftest.$ac_objext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18629 (eval $ac_compile) 2>conftest.er1
18630 ac_status=$?
18631 grep -v '^ *+' conftest.er1 >conftest.err
18632 rm -f conftest.er1
18633 cat conftest.err >&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_type_short=yes
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18652
18653 ac_cv_type_short=no
18654 fi
18655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18656 fi
18657 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18658 echo "${ECHO_T}$ac_cv_type_short" >&6
18659
18660 echo "$as_me:$LINENO: checking size of short" >&5
18661 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18662 if test "${ac_cv_sizeof_short+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 else
18665 if test "$ac_cv_type_short" = yes; then
18666 # The cast to unsigned long works around a bug in the HP C Compiler
18667 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18668 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18669 # This bug is HP SR number 8606223364.
18670 if test "$cross_compiling" = yes; then
18671 # Depending upon the size, compute the lo and hi bounds.
18672 cat >conftest.$ac_ext <<_ACEOF
18673 /* confdefs.h. */
18674 _ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 $ac_includes_default
18679 int
18680 main ()
18681 {
18682 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18683 test_array [0] = 0
18684
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18692 ac_status=$?
18693 grep -v '^ *+' conftest.er1 >conftest.err
18694 rm -f conftest.er1
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18701 ac_status=$?
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; } &&
18704 { ac_try='test -s conftest.$ac_objext'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18707 ac_status=$?
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; }; then
18710 ac_lo=0 ac_mid=0
18711 while :; do
18712 cat >conftest.$ac_ext <<_ACEOF
18713 /* confdefs.h. */
18714 _ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 $ac_includes_default
18719 int
18720 main ()
18721 {
18722 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18723 test_array [0] = 0
18724
18725 ;
18726 return 0;
18727 }
18728 _ACEOF
18729 rm -f conftest.$ac_objext
18730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18731 (eval $ac_compile) 2>conftest.er1
18732 ac_status=$?
18733 grep -v '^ *+' conftest.er1 >conftest.err
18734 rm -f conftest.er1
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } &&
18738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; } &&
18744 { ac_try='test -s conftest.$ac_objext'
18745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18746 (eval $ac_try) 2>&5
18747 ac_status=$?
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); }; }; then
18750 ac_hi=$ac_mid; break
18751 else
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18754
18755 ac_lo=`expr $ac_mid + 1`
18756 if test $ac_lo -le $ac_mid; then
18757 ac_lo= ac_hi=
18758 break
18759 fi
18760 ac_mid=`expr 2 '*' $ac_mid + 1`
18761 fi
18762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18763 done
18764 else
18765 echo "$as_me: failed program was:" >&5
18766 sed 's/^/| /' conftest.$ac_ext >&5
18767
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 $ac_includes_default
18775 int
18776 main ()
18777 {
18778 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18779 test_array [0] = 0
18780
18781 ;
18782 return 0;
18783 }
18784 _ACEOF
18785 rm -f conftest.$ac_objext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18787 (eval $ac_compile) 2>conftest.er1
18788 ac_status=$?
18789 grep -v '^ *+' conftest.er1 >conftest.err
18790 rm -f conftest.er1
18791 cat conftest.err >&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_hi=-1 ac_mid=-1
18807 while :; do
18808 cat >conftest.$ac_ext <<_ACEOF
18809 /* confdefs.h. */
18810 _ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18814 $ac_includes_default
18815 int
18816 main ()
18817 {
18818 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18819 test_array [0] = 0
18820
18821 ;
18822 return 0;
18823 }
18824 _ACEOF
18825 rm -f conftest.$ac_objext
18826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18827 (eval $ac_compile) 2>conftest.er1
18828 ac_status=$?
18829 grep -v '^ *+' conftest.er1 >conftest.err
18830 rm -f conftest.er1
18831 cat conftest.err >&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } &&
18834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; } &&
18840 { ac_try='test -s conftest.$ac_objext'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18843 ac_status=$?
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; }; then
18846 ac_lo=$ac_mid; break
18847 else
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 ac_hi=`expr '(' $ac_mid ')' - 1`
18852 if test $ac_mid -le $ac_hi; then
18853 ac_lo= ac_hi=
18854 break
18855 fi
18856 ac_mid=`expr 2 '*' $ac_mid`
18857 fi
18858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18859 done
18860 else
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.$ac_ext >&5
18863
18864 ac_lo= ac_hi=
18865 fi
18866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18867 fi
18868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18869 # Binary search between lo and hi bounds.
18870 while test "x$ac_lo" != "x$ac_hi"; do
18871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18872 cat >conftest.$ac_ext <<_ACEOF
18873 /* confdefs.h. */
18874 _ACEOF
18875 cat confdefs.h >>conftest.$ac_ext
18876 cat >>conftest.$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 $ac_includes_default
18879 int
18880 main ()
18881 {
18882 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18883 test_array [0] = 0
18884
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 rm -f conftest.$ac_objext
18890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18891 (eval $ac_compile) 2>conftest.er1
18892 ac_status=$?
18893 grep -v '^ *+' conftest.er1 >conftest.err
18894 rm -f conftest.er1
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } &&
18898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18901 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; } &&
18904 { ac_try='test -s conftest.$ac_objext'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18907 ac_status=$?
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_hi=$ac_mid
18911 else
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18914
18915 ac_lo=`expr '(' $ac_mid ')' + 1`
18916 fi
18917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18918 done
18919 case $ac_lo in
18920 ?*) ac_cv_sizeof_short=$ac_lo;;
18921 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18922 See \`config.log' for more details." >&5
18923 echo "$as_me: error: cannot compute sizeof (short), 77
18924 See \`config.log' for more details." >&2;}
18925 { (exit 1); exit 1; }; } ;;
18926 esac
18927 else
18928 if test "$cross_compiling" = yes; then
18929 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18930 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18931 { (exit 1); exit 1; }; }
18932 else
18933 cat >conftest.$ac_ext <<_ACEOF
18934 /* confdefs.h. */
18935 _ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939 $ac_includes_default
18940 long longval () { return (long) (sizeof (short)); }
18941 unsigned long ulongval () { return (long) (sizeof (short)); }
18942 #include <stdio.h>
18943 #include <stdlib.h>
18944 int
18945 main ()
18946 {
18947
18948 FILE *f = fopen ("conftest.val", "w");
18949 if (! f)
18950 exit (1);
18951 if (((long) (sizeof (short))) < 0)
18952 {
18953 long i = longval ();
18954 if (i != ((long) (sizeof (short))))
18955 exit (1);
18956 fprintf (f, "%ld\n", i);
18957 }
18958 else
18959 {
18960 unsigned long i = ulongval ();
18961 if (i != ((long) (sizeof (short))))
18962 exit (1);
18963 fprintf (f, "%lu\n", i);
18964 }
18965 exit (ferror (f) || fclose (f) != 0);
18966
18967 ;
18968 return 0;
18969 }
18970 _ACEOF
18971 rm -f conftest$ac_exeext
18972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18973 (eval $ac_link) 2>&5
18974 ac_status=$?
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18978 (eval $ac_try) 2>&5
18979 ac_status=$?
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; }; then
18982 ac_cv_sizeof_short=`cat conftest.val`
18983 else
18984 echo "$as_me: program exited with status $ac_status" >&5
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.$ac_ext >&5
18987
18988 ( exit $ac_status )
18989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18990 See \`config.log' for more details." >&5
18991 echo "$as_me: error: cannot compute sizeof (short), 77
18992 See \`config.log' for more details." >&2;}
18993 { (exit 1); exit 1; }; }
18994 fi
18995 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18996 fi
18997 fi
18998 rm -f conftest.val
18999 else
19000 ac_cv_sizeof_short=0
19001 fi
19002 fi
19003 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19004 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19005 cat >>confdefs.h <<_ACEOF
19006 #define SIZEOF_SHORT $ac_cv_sizeof_short
19007 _ACEOF
19008
19009
19010 echo "$as_me:$LINENO: checking for void *" >&5
19011 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19012 if test "${ac_cv_type_void_p+set}" = set; then
19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 else
19015 cat >conftest.$ac_ext <<_ACEOF
19016 /* confdefs.h. */
19017 _ACEOF
19018 cat confdefs.h >>conftest.$ac_ext
19019 cat >>conftest.$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19021 $ac_includes_default
19022 int
19023 main ()
19024 {
19025 if ((void * *) 0)
19026 return 0;
19027 if (sizeof (void *))
19028 return 0;
19029 ;
19030 return 0;
19031 }
19032 _ACEOF
19033 rm -f conftest.$ac_objext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19035 (eval $ac_compile) 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
19042 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19045 ac_status=$?
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; } &&
19048 { ac_try='test -s conftest.$ac_objext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19051 ac_status=$?
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 ac_cv_type_void_p=yes
19055 else
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19058
19059 ac_cv_type_void_p=no
19060 fi
19061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19062 fi
19063 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19064 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19065
19066 echo "$as_me:$LINENO: checking size of void *" >&5
19067 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19068 if test "${ac_cv_sizeof_void_p+set}" = set; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 else
19071 if test "$ac_cv_type_void_p" = yes; then
19072 # The cast to unsigned long works around a bug in the HP C Compiler
19073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19075 # This bug is HP SR number 8606223364.
19076 if test "$cross_compiling" = yes; then
19077 # Depending upon the size, compute the lo and hi bounds.
19078 cat >conftest.$ac_ext <<_ACEOF
19079 /* confdefs.h. */
19080 _ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 $ac_includes_default
19085 int
19086 main ()
19087 {
19088 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19089 test_array [0] = 0
19090
19091 ;
19092 return 0;
19093 }
19094 _ACEOF
19095 rm -f conftest.$ac_objext
19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>conftest.er1
19098 ac_status=$?
19099 grep -v '^ *+' conftest.er1 >conftest.err
19100 rm -f conftest.er1
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; } &&
19110 { ac_try='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_lo=0 ac_mid=0
19117 while :; do
19118 cat >conftest.$ac_ext <<_ACEOF
19119 /* confdefs.h. */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124 $ac_includes_default
19125 int
19126 main ()
19127 {
19128 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19129 test_array [0] = 0
19130
19131 ;
19132 return 0;
19133 }
19134 _ACEOF
19135 rm -f conftest.$ac_objext
19136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19137 (eval $ac_compile) 2>conftest.er1
19138 ac_status=$?
19139 grep -v '^ *+' conftest.er1 >conftest.err
19140 rm -f conftest.er1
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } &&
19144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try='test -s conftest.$ac_objext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_hi=$ac_mid; break
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_lo=`expr $ac_mid + 1`
19162 if test $ac_lo -le $ac_mid; then
19163 ac_lo= ac_hi=
19164 break
19165 fi
19166 ac_mid=`expr 2 '*' $ac_mid + 1`
19167 fi
19168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19169 done
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181 int
19182 main ()
19183 {
19184 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19185 test_array [0] = 0
19186
19187 ;
19188 return 0;
19189 }
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19193 (eval $ac_compile) 2>conftest.er1
19194 ac_status=$?
19195 grep -v '^ *+' conftest.er1 >conftest.err
19196 rm -f conftest.er1
19197 cat conftest.err >&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } &&
19200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19203 ac_status=$?
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try='test -s conftest.$ac_objext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19209 ac_status=$?
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 ac_hi=-1 ac_mid=-1
19213 while :; do
19214 cat >conftest.$ac_ext <<_ACEOF
19215 /* confdefs.h. */
19216 _ACEOF
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 $ac_includes_default
19221 int
19222 main ()
19223 {
19224 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19225 test_array [0] = 0
19226
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest.$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19234 ac_status=$?
19235 grep -v '^ *+' conftest.er1 >conftest.err
19236 rm -f conftest.er1
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19249 ac_status=$?
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 ac_lo=$ac_mid; break
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 ac_hi=`expr '(' $ac_mid ')' - 1`
19258 if test $ac_mid -le $ac_hi; then
19259 ac_lo= ac_hi=
19260 break
19261 fi
19262 ac_mid=`expr 2 '*' $ac_mid`
19263 fi
19264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19265 done
19266 else
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 ac_lo= ac_hi=
19271 fi
19272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19273 fi
19274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19275 # Binary search between lo and hi bounds.
19276 while test "x$ac_lo" != "x$ac_hi"; do
19277 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19278 cat >conftest.$ac_ext <<_ACEOF
19279 /* confdefs.h. */
19280 _ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19285 int
19286 main ()
19287 {
19288 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19289 test_array [0] = 0
19290
19291 ;
19292 return 0;
19293 }
19294 _ACEOF
19295 rm -f conftest.$ac_objext
19296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19297 (eval $ac_compile) 2>conftest.er1
19298 ac_status=$?
19299 grep -v '^ *+' conftest.er1 >conftest.err
19300 rm -f conftest.er1
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); } &&
19304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; } &&
19310 { ac_try='test -s conftest.$ac_objext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19313 ac_status=$?
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19316 ac_hi=$ac_mid
19317 else
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321 ac_lo=`expr '(' $ac_mid ')' + 1`
19322 fi
19323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19324 done
19325 case $ac_lo in
19326 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19327 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19328 See \`config.log' for more details." >&5
19329 echo "$as_me: error: cannot compute sizeof (void *), 77
19330 See \`config.log' for more details." >&2;}
19331 { (exit 1); exit 1; }; } ;;
19332 esac
19333 else
19334 if test "$cross_compiling" = yes; then
19335 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19336 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19337 { (exit 1); exit 1; }; }
19338 else
19339 cat >conftest.$ac_ext <<_ACEOF
19340 /* confdefs.h. */
19341 _ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 $ac_includes_default
19346 long longval () { return (long) (sizeof (void *)); }
19347 unsigned long ulongval () { return (long) (sizeof (void *)); }
19348 #include <stdio.h>
19349 #include <stdlib.h>
19350 int
19351 main ()
19352 {
19353
19354 FILE *f = fopen ("conftest.val", "w");
19355 if (! f)
19356 exit (1);
19357 if (((long) (sizeof (void *))) < 0)
19358 {
19359 long i = longval ();
19360 if (i != ((long) (sizeof (void *))))
19361 exit (1);
19362 fprintf (f, "%ld\n", i);
19363 }
19364 else
19365 {
19366 unsigned long i = ulongval ();
19367 if (i != ((long) (sizeof (void *))))
19368 exit (1);
19369 fprintf (f, "%lu\n", i);
19370 }
19371 exit (ferror (f) || fclose (f) != 0);
19372
19373 ;
19374 return 0;
19375 }
19376 _ACEOF
19377 rm -f conftest$ac_exeext
19378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19379 (eval $ac_link) 2>&5
19380 ac_status=$?
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 ac_cv_sizeof_void_p=`cat conftest.val`
19389 else
19390 echo "$as_me: program exited with status $ac_status" >&5
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19393
19394 ( exit $ac_status )
19395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19396 See \`config.log' for more details." >&5
19397 echo "$as_me: error: cannot compute sizeof (void *), 77
19398 See \`config.log' for more details." >&2;}
19399 { (exit 1); exit 1; }; }
19400 fi
19401 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19402 fi
19403 fi
19404 rm -f conftest.val
19405 else
19406 ac_cv_sizeof_void_p=0
19407 fi
19408 fi
19409 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19410 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19411 cat >>confdefs.h <<_ACEOF
19412 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19413 _ACEOF
19414
19415
19416 echo "$as_me:$LINENO: checking for int" >&5
19417 echo $ECHO_N "checking for int... $ECHO_C" >&6
19418 if test "${ac_cv_type_int+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 else
19421 cat >conftest.$ac_ext <<_ACEOF
19422 /* confdefs.h. */
19423 _ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 $ac_includes_default
19428 int
19429 main ()
19430 {
19431 if ((int *) 0)
19432 return 0;
19433 if (sizeof (int))
19434 return 0;
19435 ;
19436 return 0;
19437 }
19438 _ACEOF
19439 rm -f conftest.$ac_objext
19440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19441 (eval $ac_compile) 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19457 ac_status=$?
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_cv_type_int=yes
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 ac_cv_type_int=no
19466 fi
19467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19468 fi
19469 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19470 echo "${ECHO_T}$ac_cv_type_int" >&6
19471
19472 echo "$as_me:$LINENO: checking size of int" >&5
19473 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19474 if test "${ac_cv_sizeof_int+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 else
19477 if test "$ac_cv_type_int" = yes; then
19478 # The cast to unsigned long works around a bug in the HP C Compiler
19479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19481 # This bug is HP SR number 8606223364.
19482 if test "$cross_compiling" = yes; then
19483 # Depending upon the size, compute the lo and hi bounds.
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 int
19492 main ()
19493 {
19494 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19495 test_array [0] = 0
19496
19497 ;
19498 return 0;
19499 }
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19503 (eval $ac_compile) 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try='test -s conftest.$ac_objext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522 ac_lo=0 ac_mid=0
19523 while :; do
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 $ac_includes_default
19531 int
19532 main ()
19533 {
19534 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19535 test_array [0] = 0
19536
19537 ;
19538 return 0;
19539 }
19540 _ACEOF
19541 rm -f conftest.$ac_objext
19542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19543 (eval $ac_compile) 2>conftest.er1
19544 ac_status=$?
19545 grep -v '^ *+' conftest.er1 >conftest.err
19546 rm -f conftest.er1
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } &&
19550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 ac_hi=$ac_mid; break
19563 else
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19566
19567 ac_lo=`expr $ac_mid + 1`
19568 if test $ac_lo -le $ac_mid; then
19569 ac_lo= ac_hi=
19570 break
19571 fi
19572 ac_mid=`expr 2 '*' $ac_mid + 1`
19573 fi
19574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19575 done
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 cat >conftest.$ac_ext <<_ACEOF
19581 /* confdefs.h. */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19587 int
19588 main ()
19589 {
19590 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19591 test_array [0] = 0
19592
19593 ;
19594 return 0;
19595 }
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19599 (eval $ac_compile) 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19609 ac_status=$?
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try='test -s conftest.$ac_objext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_hi=-1 ac_mid=-1
19619 while :; do
19620 cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h. */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626 $ac_includes_default
19627 int
19628 main ()
19629 {
19630 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19631 test_array [0] = 0
19632
19633 ;
19634 return 0;
19635 }
19636 _ACEOF
19637 rm -f conftest.$ac_objext
19638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19639 (eval $ac_compile) 2>conftest.er1
19640 ac_status=$?
19641 grep -v '^ *+' conftest.er1 >conftest.err
19642 rm -f conftest.er1
19643 cat conftest.err >&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); } &&
19646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19649 ac_status=$?
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; } &&
19652 { ac_try='test -s conftest.$ac_objext'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19655 ac_status=$?
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; }; then
19658 ac_lo=$ac_mid; break
19659 else
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19662
19663 ac_hi=`expr '(' $ac_mid ')' - 1`
19664 if test $ac_mid -le $ac_hi; then
19665 ac_lo= ac_hi=
19666 break
19667 fi
19668 ac_mid=`expr 2 '*' $ac_mid`
19669 fi
19670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19671 done
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 ac_lo= ac_hi=
19677 fi
19678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19679 fi
19680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19681 # Binary search between lo and hi bounds.
19682 while test "x$ac_lo" != "x$ac_hi"; do
19683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19684 cat >conftest.$ac_ext <<_ACEOF
19685 /* confdefs.h. */
19686 _ACEOF
19687 cat confdefs.h >>conftest.$ac_ext
19688 cat >>conftest.$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 $ac_includes_default
19691 int
19692 main ()
19693 {
19694 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19695 test_array [0] = 0
19696
19697 ;
19698 return 0;
19699 }
19700 _ACEOF
19701 rm -f conftest.$ac_objext
19702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19703 (eval $ac_compile) 2>conftest.er1
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } &&
19710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19712 (eval $ac_try) 2>&5
19713 ac_status=$?
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); }; } &&
19716 { ac_try='test -s conftest.$ac_objext'
19717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718 (eval $ac_try) 2>&5
19719 ac_status=$?
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; }; then
19722 ac_hi=$ac_mid
19723 else
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19726
19727 ac_lo=`expr '(' $ac_mid ')' + 1`
19728 fi
19729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19730 done
19731 case $ac_lo in
19732 ?*) ac_cv_sizeof_int=$ac_lo;;
19733 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19734 See \`config.log' for more details." >&5
19735 echo "$as_me: error: cannot compute sizeof (int), 77
19736 See \`config.log' for more details." >&2;}
19737 { (exit 1); exit 1; }; } ;;
19738 esac
19739 else
19740 if test "$cross_compiling" = yes; then
19741 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19742 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19743 { (exit 1); exit 1; }; }
19744 else
19745 cat >conftest.$ac_ext <<_ACEOF
19746 /* confdefs.h. */
19747 _ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 $ac_includes_default
19752 long longval () { return (long) (sizeof (int)); }
19753 unsigned long ulongval () { return (long) (sizeof (int)); }
19754 #include <stdio.h>
19755 #include <stdlib.h>
19756 int
19757 main ()
19758 {
19759
19760 FILE *f = fopen ("conftest.val", "w");
19761 if (! f)
19762 exit (1);
19763 if (((long) (sizeof (int))) < 0)
19764 {
19765 long i = longval ();
19766 if (i != ((long) (sizeof (int))))
19767 exit (1);
19768 fprintf (f, "%ld\n", i);
19769 }
19770 else
19771 {
19772 unsigned long i = ulongval ();
19773 if (i != ((long) (sizeof (int))))
19774 exit (1);
19775 fprintf (f, "%lu\n", i);
19776 }
19777 exit (ferror (f) || fclose (f) != 0);
19778
19779 ;
19780 return 0;
19781 }
19782 _ACEOF
19783 rm -f conftest$ac_exeext
19784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19785 (eval $ac_link) 2>&5
19786 ac_status=$?
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; }; then
19794 ac_cv_sizeof_int=`cat conftest.val`
19795 else
19796 echo "$as_me: program exited with status $ac_status" >&5
19797 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5
19799
19800 ( exit $ac_status )
19801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19802 See \`config.log' for more details." >&5
19803 echo "$as_me: error: cannot compute sizeof (int), 77
19804 See \`config.log' for more details." >&2;}
19805 { (exit 1); exit 1; }; }
19806 fi
19807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19808 fi
19809 fi
19810 rm -f conftest.val
19811 else
19812 ac_cv_sizeof_int=0
19813 fi
19814 fi
19815 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19816 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19817 cat >>confdefs.h <<_ACEOF
19818 #define SIZEOF_INT $ac_cv_sizeof_int
19819 _ACEOF
19820
19821
19822 echo "$as_me:$LINENO: checking for long" >&5
19823 echo $ECHO_N "checking for long... $ECHO_C" >&6
19824 if test "${ac_cv_type_long+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19826 else
19827 cat >conftest.$ac_ext <<_ACEOF
19828 /* confdefs.h. */
19829 _ACEOF
19830 cat confdefs.h >>conftest.$ac_ext
19831 cat >>conftest.$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 $ac_includes_default
19834 int
19835 main ()
19836 {
19837 if ((long *) 0)
19838 return 0;
19839 if (sizeof (long))
19840 return 0;
19841 ;
19842 return 0;
19843 }
19844 _ACEOF
19845 rm -f conftest.$ac_objext
19846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19847 (eval $ac_compile) 2>conftest.er1
19848 ac_status=$?
19849 grep -v '^ *+' conftest.er1 >conftest.err
19850 rm -f conftest.er1
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } &&
19854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19857 ac_status=$?
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; } &&
19860 { ac_try='test -s conftest.$ac_objext'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19863 ac_status=$?
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; }; then
19866 ac_cv_type_long=yes
19867 else
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19870
19871 ac_cv_type_long=no
19872 fi
19873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19874 fi
19875 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19876 echo "${ECHO_T}$ac_cv_type_long" >&6
19877
19878 echo "$as_me:$LINENO: checking size of long" >&5
19879 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19880 if test "${ac_cv_sizeof_long+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 else
19883 if test "$ac_cv_type_long" = yes; then
19884 # The cast to unsigned long works around a bug in the HP C Compiler
19885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19887 # This bug is HP SR number 8606223364.
19888 if test "$cross_compiling" = yes; then
19889 # Depending upon the size, compute the lo and hi bounds.
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 $ac_includes_default
19897 int
19898 main ()
19899 {
19900 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19901 test_array [0] = 0
19902
19903 ;
19904 return 0;
19905 }
19906 _ACEOF
19907 rm -f conftest.$ac_objext
19908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19909 (eval $ac_compile) 2>conftest.er1
19910 ac_status=$?
19911 grep -v '^ *+' conftest.er1 >conftest.err
19912 rm -f conftest.er1
19913 cat conftest.err >&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } &&
19916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; } &&
19922 { ac_try='test -s conftest.$ac_objext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_lo=0 ac_mid=0
19929 while :; do
19930 cat >conftest.$ac_ext <<_ACEOF
19931 /* confdefs.h. */
19932 _ACEOF
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19936 $ac_includes_default
19937 int
19938 main ()
19939 {
19940 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19941 test_array [0] = 0
19942
19943 ;
19944 return 0;
19945 }
19946 _ACEOF
19947 rm -f conftest.$ac_objext
19948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19949 (eval $ac_compile) 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } &&
19956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958 (eval $ac_try) 2>&5
19959 ac_status=$?
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); }; } &&
19962 { ac_try='test -s conftest.$ac_objext'
19963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19964 (eval $ac_try) 2>&5
19965 ac_status=$?
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; }; then
19968 ac_hi=$ac_mid; break
19969 else
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19972
19973 ac_lo=`expr $ac_mid + 1`
19974 if test $ac_lo -le $ac_mid; then
19975 ac_lo= ac_hi=
19976 break
19977 fi
19978 ac_mid=`expr 2 '*' $ac_mid + 1`
19979 fi
19980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19981 done
19982 else
19983 echo "$as_me: failed program was:" >&5
19984 sed 's/^/| /' conftest.$ac_ext >&5
19985
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 int
19994 main ()
19995 {
19996 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19997 test_array [0] = 0
19998
19999 ;
20000 return 0;
20001 }
20002 _ACEOF
20003 rm -f conftest.$ac_objext
20004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20005 (eval $ac_compile) 2>conftest.er1
20006 ac_status=$?
20007 grep -v '^ *+' conftest.er1 >conftest.err
20008 rm -f conftest.er1
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } &&
20012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20014 (eval $ac_try) 2>&5
20015 ac_status=$?
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); }; } &&
20018 { ac_try='test -s conftest.$ac_objext'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5
20021 ac_status=$?
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_hi=-1 ac_mid=-1
20025 while :; do
20026 cat >conftest.$ac_ext <<_ACEOF
20027 /* confdefs.h. */
20028 _ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 $ac_includes_default
20033 int
20034 main ()
20035 {
20036 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20037 test_array [0] = 0
20038
20039 ;
20040 return 0;
20041 }
20042 _ACEOF
20043 rm -f conftest.$ac_objext
20044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20045 (eval $ac_compile) 2>conftest.er1
20046 ac_status=$?
20047 grep -v '^ *+' conftest.er1 >conftest.err
20048 rm -f conftest.er1
20049 cat conftest.err >&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } &&
20052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20055 ac_status=$?
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; } &&
20058 { ac_try='test -s conftest.$ac_objext'
20059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20060 (eval $ac_try) 2>&5
20061 ac_status=$?
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; }; then
20064 ac_lo=$ac_mid; break
20065 else
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.$ac_ext >&5
20068
20069 ac_hi=`expr '(' $ac_mid ')' - 1`
20070 if test $ac_mid -le $ac_hi; then
20071 ac_lo= ac_hi=
20072 break
20073 fi
20074 ac_mid=`expr 2 '*' $ac_mid`
20075 fi
20076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20077 done
20078 else
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.$ac_ext >&5
20081
20082 ac_lo= ac_hi=
20083 fi
20084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20085 fi
20086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20087 # Binary search between lo and hi bounds.
20088 while test "x$ac_lo" != "x$ac_hi"; do
20089 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20090 cat >conftest.$ac_ext <<_ACEOF
20091 /* confdefs.h. */
20092 _ACEOF
20093 cat confdefs.h >>conftest.$ac_ext
20094 cat >>conftest.$ac_ext <<_ACEOF
20095 /* end confdefs.h. */
20096 $ac_includes_default
20097 int
20098 main ()
20099 {
20100 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20101 test_array [0] = 0
20102
20103 ;
20104 return 0;
20105 }
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20118 (eval $ac_try) 2>&5
20119 ac_status=$?
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; } &&
20122 { ac_try='test -s conftest.$ac_objext'
20123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 (eval $ac_try) 2>&5
20125 ac_status=$?
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; }; then
20128 ac_hi=$ac_mid
20129 else
20130 echo "$as_me: failed program was:" >&5
20131 sed 's/^/| /' conftest.$ac_ext >&5
20132
20133 ac_lo=`expr '(' $ac_mid ')' + 1`
20134 fi
20135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20136 done
20137 case $ac_lo in
20138 ?*) ac_cv_sizeof_long=$ac_lo;;
20139 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20140 See \`config.log' for more details." >&5
20141 echo "$as_me: error: cannot compute sizeof (long), 77
20142 See \`config.log' for more details." >&2;}
20143 { (exit 1); exit 1; }; } ;;
20144 esac
20145 else
20146 if test "$cross_compiling" = yes; then
20147 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20148 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20149 { (exit 1); exit 1; }; }
20150 else
20151 cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h. */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 $ac_includes_default
20158 long longval () { return (long) (sizeof (long)); }
20159 unsigned long ulongval () { return (long) (sizeof (long)); }
20160 #include <stdio.h>
20161 #include <stdlib.h>
20162 int
20163 main ()
20164 {
20165
20166 FILE *f = fopen ("conftest.val", "w");
20167 if (! f)
20168 exit (1);
20169 if (((long) (sizeof (long))) < 0)
20170 {
20171 long i = longval ();
20172 if (i != ((long) (sizeof (long))))
20173 exit (1);
20174 fprintf (f, "%ld\n", i);
20175 }
20176 else
20177 {
20178 unsigned long i = ulongval ();
20179 if (i != ((long) (sizeof (long))))
20180 exit (1);
20181 fprintf (f, "%lu\n", i);
20182 }
20183 exit (ferror (f) || fclose (f) != 0);
20184
20185 ;
20186 return 0;
20187 }
20188 _ACEOF
20189 rm -f conftest$ac_exeext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20191 (eval $ac_link) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 ac_cv_sizeof_long=`cat conftest.val`
20201 else
20202 echo "$as_me: program exited with status $ac_status" >&5
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20205
20206 ( exit $ac_status )
20207 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20208 See \`config.log' for more details." >&5
20209 echo "$as_me: error: cannot compute sizeof (long), 77
20210 See \`config.log' for more details." >&2;}
20211 { (exit 1); exit 1; }; }
20212 fi
20213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20214 fi
20215 fi
20216 rm -f conftest.val
20217 else
20218 ac_cv_sizeof_long=0
20219 fi
20220 fi
20221 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20222 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20223 cat >>confdefs.h <<_ACEOF
20224 #define SIZEOF_LONG $ac_cv_sizeof_long
20225 _ACEOF
20226
20227
20228 echo "$as_me:$LINENO: checking for size_t" >&5
20229 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20230 if test "${ac_cv_type_size_t+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 else
20233 cat >conftest.$ac_ext <<_ACEOF
20234 /* confdefs.h. */
20235 _ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 $ac_includes_default
20240 int
20241 main ()
20242 {
20243 if ((size_t *) 0)
20244 return 0;
20245 if (sizeof (size_t))
20246 return 0;
20247 ;
20248 return 0;
20249 }
20250 _ACEOF
20251 rm -f conftest.$ac_objext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253 (eval $ac_compile) 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } &&
20260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20263 ac_status=$?
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; } &&
20266 { ac_try='test -s conftest.$ac_objext'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; }; then
20272 ac_cv_type_size_t=yes
20273 else
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20276
20277 ac_cv_type_size_t=no
20278 fi
20279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20280 fi
20281 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20282 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20283
20284 echo "$as_me:$LINENO: checking size of size_t" >&5
20285 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20286 if test "${ac_cv_sizeof_size_t+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 else
20289 if test "$ac_cv_type_size_t" = yes; then
20290 # The cast to unsigned long works around a bug in the HP C Compiler
20291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20293 # This bug is HP SR number 8606223364.
20294 if test "$cross_compiling" = yes; then
20295 # Depending upon the size, compute the lo and hi bounds.
20296 cat >conftest.$ac_ext <<_ACEOF
20297 /* confdefs.h. */
20298 _ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20303 int
20304 main ()
20305 {
20306 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20307 test_array [0] = 0
20308
20309 ;
20310 return 0;
20311 }
20312 _ACEOF
20313 rm -f conftest.$ac_objext
20314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20315 (eval $ac_compile) 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } &&
20322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20325 ac_status=$?
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; } &&
20328 { ac_try='test -s conftest.$ac_objext'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20331 ac_status=$?
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 ac_lo=0 ac_mid=0
20335 while :; do
20336 cat >conftest.$ac_ext <<_ACEOF
20337 /* confdefs.h. */
20338 _ACEOF
20339 cat confdefs.h >>conftest.$ac_ext
20340 cat >>conftest.$ac_ext <<_ACEOF
20341 /* end confdefs.h. */
20342 $ac_includes_default
20343 int
20344 main ()
20345 {
20346 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20347 test_array [0] = 0
20348
20349 ;
20350 return 0;
20351 }
20352 _ACEOF
20353 rm -f conftest.$ac_objext
20354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20356 ac_status=$?
20357 grep -v '^ *+' conftest.er1 >conftest.err
20358 rm -f conftest.er1
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
20362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 ac_hi=$ac_mid; break
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 ac_lo=`expr $ac_mid + 1`
20380 if test $ac_lo -le $ac_mid; then
20381 ac_lo= ac_hi=
20382 break
20383 fi
20384 ac_mid=`expr 2 '*' $ac_mid + 1`
20385 fi
20386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20387 done
20388 else
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.$ac_ext >&5
20391
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 int
20400 main ()
20401 {
20402 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20403 test_array [0] = 0
20404
20405 ;
20406 return 0;
20407 }
20408 _ACEOF
20409 rm -f conftest.$ac_objext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20411 (eval $ac_compile) 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; } &&
20424 { ac_try='test -s conftest.$ac_objext'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20427 ac_status=$?
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20430 ac_hi=-1 ac_mid=-1
20431 while :; do
20432 cat >conftest.$ac_ext <<_ACEOF
20433 /* confdefs.h. */
20434 _ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 $ac_includes_default
20439 int
20440 main ()
20441 {
20442 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20443 test_array [0] = 0
20444
20445 ;
20446 return 0;
20447 }
20448 _ACEOF
20449 rm -f conftest.$ac_objext
20450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20451 (eval $ac_compile) 2>conftest.er1
20452 ac_status=$?
20453 grep -v '^ *+' conftest.er1 >conftest.err
20454 rm -f conftest.er1
20455 cat conftest.err >&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } &&
20458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; } &&
20464 { ac_try='test -s conftest.$ac_objext'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; }; then
20470 ac_lo=$ac_mid; break
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 ac_hi=`expr '(' $ac_mid ')' - 1`
20476 if test $ac_mid -le $ac_hi; then
20477 ac_lo= ac_hi=
20478 break
20479 fi
20480 ac_mid=`expr 2 '*' $ac_mid`
20481 fi
20482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20483 done
20484 else
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20487
20488 ac_lo= ac_hi=
20489 fi
20490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20491 fi
20492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20493 # Binary search between lo and hi bounds.
20494 while test "x$ac_lo" != "x$ac_hi"; do
20495 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h. */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20503 int
20504 main ()
20505 {
20506 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20507 test_array [0] = 0
20508
20509 ;
20510 return 0;
20511 }
20512 _ACEOF
20513 rm -f conftest.$ac_objext
20514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20515 (eval $ac_compile) 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20525 ac_status=$?
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try='test -s conftest.$ac_objext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 ac_hi=$ac_mid
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 ac_lo=`expr '(' $ac_mid ')' + 1`
20540 fi
20541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20542 done
20543 case $ac_lo in
20544 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20545 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20546 See \`config.log' for more details." >&5
20547 echo "$as_me: error: cannot compute sizeof (size_t), 77
20548 See \`config.log' for more details." >&2;}
20549 { (exit 1); exit 1; }; } ;;
20550 esac
20551 else
20552 if test "$cross_compiling" = yes; then
20553 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20554 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20555 { (exit 1); exit 1; }; }
20556 else
20557 cat >conftest.$ac_ext <<_ACEOF
20558 /* confdefs.h. */
20559 _ACEOF
20560 cat confdefs.h >>conftest.$ac_ext
20561 cat >>conftest.$ac_ext <<_ACEOF
20562 /* end confdefs.h. */
20563 $ac_includes_default
20564 long longval () { return (long) (sizeof (size_t)); }
20565 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20566 #include <stdio.h>
20567 #include <stdlib.h>
20568 int
20569 main ()
20570 {
20571
20572 FILE *f = fopen ("conftest.val", "w");
20573 if (! f)
20574 exit (1);
20575 if (((long) (sizeof (size_t))) < 0)
20576 {
20577 long i = longval ();
20578 if (i != ((long) (sizeof (size_t))))
20579 exit (1);
20580 fprintf (f, "%ld\n", i);
20581 }
20582 else
20583 {
20584 unsigned long i = ulongval ();
20585 if (i != ((long) (sizeof (size_t))))
20586 exit (1);
20587 fprintf (f, "%lu\n", i);
20588 }
20589 exit (ferror (f) || fclose (f) != 0);
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest$ac_exeext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597 (eval $ac_link) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20603 ac_status=$?
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20606 ac_cv_sizeof_size_t=`cat conftest.val`
20607 else
20608 echo "$as_me: program exited with status $ac_status" >&5
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 ( exit $ac_status )
20613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20614 See \`config.log' for more details." >&5
20615 echo "$as_me: error: cannot compute sizeof (size_t), 77
20616 See \`config.log' for more details." >&2;}
20617 { (exit 1); exit 1; }; }
20618 fi
20619 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20620 fi
20621 fi
20622 rm -f conftest.val
20623 else
20624 ac_cv_sizeof_size_t=0
20625 fi
20626 fi
20627 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20628 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20629 cat >>confdefs.h <<_ACEOF
20630 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20631 _ACEOF
20632
20633
20634
20635 case "${host}" in
20636 arm-*-linux* )
20637 echo "$as_me:$LINENO: checking for long long" >&5
20638 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20639 if test "${ac_cv_type_long_long+set}" = set; then
20640 echo $ECHO_N "(cached) $ECHO_C" >&6
20641 else
20642 cat >conftest.$ac_ext <<_ACEOF
20643 /* confdefs.h. */
20644 _ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 int
20650 main ()
20651 {
20652 if ((long long *) 0)
20653 return 0;
20654 if (sizeof (long long))
20655 return 0;
20656 ;
20657 return 0;
20658 }
20659 _ACEOF
20660 rm -f conftest.$ac_objext
20661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20662 (eval $ac_compile) 2>conftest.er1
20663 ac_status=$?
20664 grep -v '^ *+' conftest.er1 >conftest.err
20665 rm -f conftest.er1
20666 cat conftest.err >&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } &&
20669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; } &&
20675 { ac_try='test -s conftest.$ac_objext'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20678 ac_status=$?
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; }; then
20681 ac_cv_type_long_long=yes
20682 else
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20685
20686 ac_cv_type_long_long=no
20687 fi
20688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20689 fi
20690 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20691 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20692
20693 echo "$as_me:$LINENO: checking size of long long" >&5
20694 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20695 if test "${ac_cv_sizeof_long_long+set}" = set; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 else
20698 if test "$ac_cv_type_long_long" = yes; then
20699 # The cast to unsigned long works around a bug in the HP C Compiler
20700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20702 # This bug is HP SR number 8606223364.
20703 if test "$cross_compiling" = yes; then
20704 # Depending upon the size, compute the lo and hi bounds.
20705 cat >conftest.$ac_ext <<_ACEOF
20706 /* confdefs.h. */
20707 _ACEOF
20708 cat confdefs.h >>conftest.$ac_ext
20709 cat >>conftest.$ac_ext <<_ACEOF
20710 /* end confdefs.h. */
20711 $ac_includes_default
20712 int
20713 main ()
20714 {
20715 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20716 test_array [0] = 0
20717
20718 ;
20719 return 0;
20720 }
20721 _ACEOF
20722 rm -f conftest.$ac_objext
20723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20724 (eval $ac_compile) 2>conftest.er1
20725 ac_status=$?
20726 grep -v '^ *+' conftest.er1 >conftest.err
20727 rm -f conftest.er1
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } &&
20731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20733 (eval $ac_try) 2>&5
20734 ac_status=$?
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); }; } &&
20737 { ac_try='test -s conftest.$ac_objext'
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20740 ac_status=$?
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; }; then
20743 ac_lo=0 ac_mid=0
20744 while :; do
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 int
20753 main ()
20754 {
20755 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20756 test_array [0] = 0
20757
20758 ;
20759 return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20774 ac_status=$?
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try='test -s conftest.$ac_objext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_hi=$ac_mid; break
20784 else
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.$ac_ext >&5
20787
20788 ac_lo=`expr $ac_mid + 1`
20789 if test $ac_lo -le $ac_mid; then
20790 ac_lo= ac_hi=
20791 break
20792 fi
20793 ac_mid=`expr 2 '*' $ac_mid + 1`
20794 fi
20795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20796 done
20797 else
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20800
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 int
20809 main ()
20810 {
20811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20812 test_array [0] = 0
20813
20814 ;
20815 return 0;
20816 }
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20820 (eval $ac_compile) 2>conftest.er1
20821 ac_status=$?
20822 grep -v '^ *+' conftest.er1 >conftest.err
20823 rm -f conftest.er1
20824 cat conftest.err >&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); } &&
20827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try='test -s conftest.$ac_objext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 ac_hi=-1 ac_mid=-1
20840 while :; do
20841 cat >conftest.$ac_ext <<_ACEOF
20842 /* confdefs.h. */
20843 _ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 $ac_includes_default
20848 int
20849 main ()
20850 {
20851 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20852 test_array [0] = 0
20853
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 rm -f conftest.$ac_objext
20859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20860 (eval $ac_compile) 2>conftest.er1
20861 ac_status=$?
20862 grep -v '^ *+' conftest.er1 >conftest.err
20863 rm -f conftest.er1
20864 cat conftest.err >&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } &&
20867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; } &&
20873 { ac_try='test -s conftest.$ac_objext'
20874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20875 (eval $ac_try) 2>&5
20876 ac_status=$?
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; }; then
20879 ac_lo=$ac_mid; break
20880 else
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.$ac_ext >&5
20883
20884 ac_hi=`expr '(' $ac_mid ')' - 1`
20885 if test $ac_mid -le $ac_hi; then
20886 ac_lo= ac_hi=
20887 break
20888 fi
20889 ac_mid=`expr 2 '*' $ac_mid`
20890 fi
20891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20892 done
20893 else
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 ac_lo= ac_hi=
20898 fi
20899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20900 fi
20901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20902 # Binary search between lo and hi bounds.
20903 while test "x$ac_lo" != "x$ac_hi"; do
20904 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 int
20913 main ()
20914 {
20915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20916 test_array [0] = 0
20917
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 rm -f conftest.$ac_objext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20924 (eval $ac_compile) 2>conftest.er1
20925 ac_status=$?
20926 grep -v '^ *+' conftest.er1 >conftest.err
20927 rm -f conftest.er1
20928 cat conftest.err >&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } &&
20931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933 (eval $ac_try) 2>&5
20934 ac_status=$?
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; } &&
20937 { ac_try='test -s conftest.$ac_objext'
20938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939 (eval $ac_try) 2>&5
20940 ac_status=$?
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); }; }; then
20943 ac_hi=$ac_mid
20944 else
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20947
20948 ac_lo=`expr '(' $ac_mid ')' + 1`
20949 fi
20950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20951 done
20952 case $ac_lo in
20953 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20954 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20955 See \`config.log' for more details." >&5
20956 echo "$as_me: error: cannot compute sizeof (long long), 77
20957 See \`config.log' for more details." >&2;}
20958 { (exit 1); exit 1; }; } ;;
20959 esac
20960 else
20961 if test "$cross_compiling" = yes; then
20962 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20963 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20964 { (exit 1); exit 1; }; }
20965 else
20966 cat >conftest.$ac_ext <<_ACEOF
20967 /* confdefs.h. */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 $ac_includes_default
20973 long longval () { return (long) (sizeof (long long)); }
20974 unsigned long ulongval () { return (long) (sizeof (long long)); }
20975 #include <stdio.h>
20976 #include <stdlib.h>
20977 int
20978 main ()
20979 {
20980
20981 FILE *f = fopen ("conftest.val", "w");
20982 if (! f)
20983 exit (1);
20984 if (((long) (sizeof (long long))) < 0)
20985 {
20986 long i = longval ();
20987 if (i != ((long) (sizeof (long long))))
20988 exit (1);
20989 fprintf (f, "%ld\n", i);
20990 }
20991 else
20992 {
20993 unsigned long i = ulongval ();
20994 if (i != ((long) (sizeof (long long))))
20995 exit (1);
20996 fprintf (f, "%lu\n", i);
20997 }
20998 exit (ferror (f) || fclose (f) != 0);
20999
21000 ;
21001 return 0;
21002 }
21003 _ACEOF
21004 rm -f conftest$ac_exeext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21006 (eval $ac_link) 2>&5
21007 ac_status=$?
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21012 ac_status=$?
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; }; then
21015 ac_cv_sizeof_long_long=`cat conftest.val`
21016 else
21017 echo "$as_me: program exited with status $ac_status" >&5
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21020
21021 ( exit $ac_status )
21022 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21023 See \`config.log' for more details." >&5
21024 echo "$as_me: error: cannot compute sizeof (long long), 77
21025 See \`config.log' for more details." >&2;}
21026 { (exit 1); exit 1; }; }
21027 fi
21028 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21029 fi
21030 fi
21031 rm -f conftest.val
21032 else
21033 ac_cv_sizeof_long_long=0
21034 fi
21035 fi
21036 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21037 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21038 cat >>confdefs.h <<_ACEOF
21039 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21040 _ACEOF
21041
21042
21043 ;;
21044 *-hp-hpux* )
21045 echo "$as_me:$LINENO: checking for long long" >&5
21046 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21047 if test "${ac_cv_type_long_long+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21049 else
21050 cat >conftest.$ac_ext <<_ACEOF
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 int
21058 main ()
21059 {
21060 if ((long long *) 0)
21061 return 0;
21062 if (sizeof (long long))
21063 return 0;
21064 ;
21065 return 0;
21066 }
21067 _ACEOF
21068 rm -f conftest.$ac_objext
21069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21070 (eval $ac_compile) 2>conftest.er1
21071 ac_status=$?
21072 grep -v '^ *+' conftest.er1 >conftest.err
21073 rm -f conftest.er1
21074 cat conftest.err >&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); } &&
21077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try='test -s conftest.$ac_objext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21086 ac_status=$?
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_cv_type_long_long=yes
21090 else
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21093
21094 ac_cv_type_long_long=no
21095 fi
21096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21097 fi
21098 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21099 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21100
21101 echo "$as_me:$LINENO: checking size of long long" >&5
21102 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21103 if test "${ac_cv_sizeof_long_long+set}" = set; then
21104 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 else
21106 if test "$ac_cv_type_long_long" = yes; then
21107 # The cast to unsigned long works around a bug in the HP C Compiler
21108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21110 # This bug is HP SR number 8606223364.
21111 if test "$cross_compiling" = yes; then
21112 # Depending upon the size, compute the lo and hi bounds.
21113 cat >conftest.$ac_ext <<_ACEOF
21114 /* confdefs.h. */
21115 _ACEOF
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 int
21121 main ()
21122 {
21123 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21124 test_array [0] = 0
21125
21126 ;
21127 return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21142 ac_status=$?
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try='test -s conftest.$ac_objext'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21148 ac_status=$?
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 ac_lo=0 ac_mid=0
21152 while :; do
21153 cat >conftest.$ac_ext <<_ACEOF
21154 /* confdefs.h. */
21155 _ACEOF
21156 cat confdefs.h >>conftest.$ac_ext
21157 cat >>conftest.$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159 $ac_includes_default
21160 int
21161 main ()
21162 {
21163 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21164 test_array [0] = 0
21165
21166 ;
21167 return 0;
21168 }
21169 _ACEOF
21170 rm -f conftest.$ac_objext
21171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21172 (eval $ac_compile) 2>conftest.er1
21173 ac_status=$?
21174 grep -v '^ *+' conftest.er1 >conftest.err
21175 rm -f conftest.er1
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } &&
21179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21182 ac_status=$?
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; } &&
21185 { ac_try='test -s conftest.$ac_objext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_hi=$ac_mid; break
21192 else
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 ac_lo=`expr $ac_mid + 1`
21197 if test $ac_lo -le $ac_mid; then
21198 ac_lo= ac_hi=
21199 break
21200 fi
21201 ac_mid=`expr 2 '*' $ac_mid + 1`
21202 fi
21203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21204 done
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21208
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 int
21217 main ()
21218 {
21219 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21220 test_array [0] = 0
21221
21222 ;
21223 return 0;
21224 }
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228 (eval $ac_compile) 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237 (eval $ac_try) 2>&5
21238 ac_status=$?
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); }; } &&
21241 { ac_try='test -s conftest.$ac_objext'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 ac_hi=-1 ac_mid=-1
21248 while :; do
21249 cat >conftest.$ac_ext <<_ACEOF
21250 /* confdefs.h. */
21251 _ACEOF
21252 cat confdefs.h >>conftest.$ac_ext
21253 cat >>conftest.$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21255 $ac_includes_default
21256 int
21257 main ()
21258 {
21259 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21260 test_array [0] = 0
21261
21262 ;
21263 return 0;
21264 }
21265 _ACEOF
21266 rm -f conftest.$ac_objext
21267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21268 (eval $ac_compile) 2>conftest.er1
21269 ac_status=$?
21270 grep -v '^ *+' conftest.er1 >conftest.err
21271 rm -f conftest.er1
21272 cat conftest.err >&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); } &&
21275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21278 ac_status=$?
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try='test -s conftest.$ac_objext'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21284 ac_status=$?
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; }; then
21287 ac_lo=$ac_mid; break
21288 else
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21291
21292 ac_hi=`expr '(' $ac_mid ')' - 1`
21293 if test $ac_mid -le $ac_hi; then
21294 ac_lo= ac_hi=
21295 break
21296 fi
21297 ac_mid=`expr 2 '*' $ac_mid`
21298 fi
21299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21300 done
21301 else
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.$ac_ext >&5
21304
21305 ac_lo= ac_hi=
21306 fi
21307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21308 fi
21309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21310 # Binary search between lo and hi bounds.
21311 while test "x$ac_lo" != "x$ac_hi"; do
21312 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h. */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 $ac_includes_default
21320 int
21321 main ()
21322 {
21323 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21324 test_array [0] = 0
21325
21326 ;
21327 return 0;
21328 }
21329 _ACEOF
21330 rm -f conftest.$ac_objext
21331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21332 (eval $ac_compile) 2>conftest.er1
21333 ac_status=$?
21334 grep -v '^ *+' conftest.er1 >conftest.err
21335 rm -f conftest.er1
21336 cat conftest.err >&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try='test -s conftest.$ac_objext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21351 ac_hi=$ac_mid
21352 else
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21355
21356 ac_lo=`expr '(' $ac_mid ')' + 1`
21357 fi
21358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21359 done
21360 case $ac_lo in
21361 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21362 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21363 See \`config.log' for more details." >&5
21364 echo "$as_me: error: cannot compute sizeof (long long), 77
21365 See \`config.log' for more details." >&2;}
21366 { (exit 1); exit 1; }; } ;;
21367 esac
21368 else
21369 if test "$cross_compiling" = yes; then
21370 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21371 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21372 { (exit 1); exit 1; }; }
21373 else
21374 cat >conftest.$ac_ext <<_ACEOF
21375 /* confdefs.h. */
21376 _ACEOF
21377 cat confdefs.h >>conftest.$ac_ext
21378 cat >>conftest.$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21380 $ac_includes_default
21381 long longval () { return (long) (sizeof (long long)); }
21382 unsigned long ulongval () { return (long) (sizeof (long long)); }
21383 #include <stdio.h>
21384 #include <stdlib.h>
21385 int
21386 main ()
21387 {
21388
21389 FILE *f = fopen ("conftest.val", "w");
21390 if (! f)
21391 exit (1);
21392 if (((long) (sizeof (long long))) < 0)
21393 {
21394 long i = longval ();
21395 if (i != ((long) (sizeof (long long))))
21396 exit (1);
21397 fprintf (f, "%ld\n", i);
21398 }
21399 else
21400 {
21401 unsigned long i = ulongval ();
21402 if (i != ((long) (sizeof (long long))))
21403 exit (1);
21404 fprintf (f, "%lu\n", i);
21405 }
21406 exit (ferror (f) || fclose (f) != 0);
21407
21408 ;
21409 return 0;
21410 }
21411 _ACEOF
21412 rm -f conftest$ac_exeext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21414 (eval $ac_link) 2>&5
21415 ac_status=$?
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21420 ac_status=$?
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 ac_cv_sizeof_long_long=`cat conftest.val`
21424 else
21425 echo "$as_me: program exited with status $ac_status" >&5
21426 echo "$as_me: failed program was:" >&5
21427 sed 's/^/| /' conftest.$ac_ext >&5
21428
21429 ( exit $ac_status )
21430 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21431 See \`config.log' for more details." >&5
21432 echo "$as_me: error: cannot compute sizeof (long long), 77
21433 See \`config.log' for more details." >&2;}
21434 { (exit 1); exit 1; }; }
21435 fi
21436 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21437 fi
21438 fi
21439 rm -f conftest.val
21440 else
21441 ac_cv_sizeof_long_long=0
21442 fi
21443 fi
21444 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21445 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21446 cat >>confdefs.h <<_ACEOF
21447 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21448 _ACEOF
21449
21450
21451 if test "$ac_cv_sizeof_long_long" != "0"; then
21452 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21453 fi
21454 ;;
21455 * )
21456 echo "$as_me:$LINENO: checking for long long" >&5
21457 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21458 if test "${ac_cv_type_long_long+set}" = set; then
21459 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 else
21461 cat >conftest.$ac_ext <<_ACEOF
21462 /* confdefs.h. */
21463 _ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 $ac_includes_default
21468 int
21469 main ()
21470 {
21471 if ((long long *) 0)
21472 return 0;
21473 if (sizeof (long long))
21474 return 0;
21475 ;
21476 return 0;
21477 }
21478 _ACEOF
21479 rm -f conftest.$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>conftest.er1
21482 ac_status=$?
21483 grep -v '^ *+' conftest.er1 >conftest.err
21484 rm -f conftest.er1
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21491 ac_status=$?
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try='test -s conftest.$ac_objext'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21497 ac_status=$?
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_cv_type_long_long=yes
21501 else
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21504
21505 ac_cv_type_long_long=no
21506 fi
21507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21508 fi
21509 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21510 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21511
21512 echo "$as_me:$LINENO: checking size of long long" >&5
21513 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21514 if test "${ac_cv_sizeof_long_long+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517 if test "$ac_cv_type_long_long" = yes; then
21518 # The cast to unsigned long works around a bug in the HP C Compiler
21519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21521 # This bug is HP SR number 8606223364.
21522 if test "$cross_compiling" = yes; then
21523 # Depending upon the size, compute the lo and hi bounds.
21524 cat >conftest.$ac_ext <<_ACEOF
21525 /* confdefs.h. */
21526 _ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21531 int
21532 main ()
21533 {
21534 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21535 test_array [0] = 0
21536
21537 ;
21538 return 0;
21539 }
21540 _ACEOF
21541 rm -f conftest.$ac_objext
21542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21543 (eval $ac_compile) 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } &&
21550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; } &&
21556 { ac_try='test -s conftest.$ac_objext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_lo=0 ac_mid=0
21563 while :; do
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 $ac_includes_default
21571 int
21572 main ()
21573 {
21574 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21575 test_array [0] = 0
21576
21577 ;
21578 return 0;
21579 }
21580 _ACEOF
21581 rm -f conftest.$ac_objext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21583 (eval $ac_compile) 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21599 ac_status=$?
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_hi=$ac_mid; break
21603 else
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.$ac_ext >&5
21606
21607 ac_lo=`expr $ac_mid + 1`
21608 if test $ac_lo -le $ac_mid; then
21609 ac_lo= ac_hi=
21610 break
21611 fi
21612 ac_mid=`expr 2 '*' $ac_mid + 1`
21613 fi
21614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21615 done
21616 else
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21619
21620 cat >conftest.$ac_ext <<_ACEOF
21621 /* confdefs.h. */
21622 _ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 $ac_includes_default
21627 int
21628 main ()
21629 {
21630 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21631 test_array [0] = 0
21632
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21639 (eval $ac_compile) 2>conftest.er1
21640 ac_status=$?
21641 grep -v '^ *+' conftest.er1 >conftest.err
21642 rm -f conftest.er1
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_hi=-1 ac_mid=-1
21659 while :; do
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 int
21668 main ()
21669 {
21670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21671 test_array [0] = 0
21672
21673 ;
21674 return 0;
21675 }
21676 _ACEOF
21677 rm -f conftest.$ac_objext
21678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21679 (eval $ac_compile) 2>conftest.er1
21680 ac_status=$?
21681 grep -v '^ *+' conftest.er1 >conftest.err
21682 rm -f conftest.er1
21683 cat conftest.err >&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } &&
21686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21689 ac_status=$?
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; } &&
21692 { ac_try='test -s conftest.$ac_objext'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21695 ac_status=$?
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 ac_lo=$ac_mid; break
21699 else
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21702
21703 ac_hi=`expr '(' $ac_mid ')' - 1`
21704 if test $ac_mid -le $ac_hi; then
21705 ac_lo= ac_hi=
21706 break
21707 fi
21708 ac_mid=`expr 2 '*' $ac_mid`
21709 fi
21710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21711 done
21712 else
21713 echo "$as_me: failed program was:" >&5
21714 sed 's/^/| /' conftest.$ac_ext >&5
21715
21716 ac_lo= ac_hi=
21717 fi
21718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21719 fi
21720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21721 # Binary search between lo and hi bounds.
21722 while test "x$ac_lo" != "x$ac_hi"; do
21723 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21724 cat >conftest.$ac_ext <<_ACEOF
21725 /* confdefs.h. */
21726 _ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21731 int
21732 main ()
21733 {
21734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21735 test_array [0] = 0
21736
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 rm -f conftest.$ac_objext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21743 (eval $ac_compile) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; } &&
21756 { ac_try='test -s conftest.$ac_objext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21762 ac_hi=$ac_mid
21763 else
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.$ac_ext >&5
21766
21767 ac_lo=`expr '(' $ac_mid ')' + 1`
21768 fi
21769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21770 done
21771 case $ac_lo in
21772 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21773 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21774 See \`config.log' for more details." >&5
21775 echo "$as_me: error: cannot compute sizeof (long long), 77
21776 See \`config.log' for more details." >&2;}
21777 { (exit 1); exit 1; }; } ;;
21778 esac
21779 else
21780 if test "$cross_compiling" = yes; then
21781 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21782 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21783 { (exit 1); exit 1; }; }
21784 else
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 $ac_includes_default
21792 long longval () { return (long) (sizeof (long long)); }
21793 unsigned long ulongval () { return (long) (sizeof (long long)); }
21794 #include <stdio.h>
21795 #include <stdlib.h>
21796 int
21797 main ()
21798 {
21799
21800 FILE *f = fopen ("conftest.val", "w");
21801 if (! f)
21802 exit (1);
21803 if (((long) (sizeof (long long))) < 0)
21804 {
21805 long i = longval ();
21806 if (i != ((long) (sizeof (long long))))
21807 exit (1);
21808 fprintf (f, "%ld\n", i);
21809 }
21810 else
21811 {
21812 unsigned long i = ulongval ();
21813 if (i != ((long) (sizeof (long long))))
21814 exit (1);
21815 fprintf (f, "%lu\n", i);
21816 }
21817 exit (ferror (f) || fclose (f) != 0);
21818
21819 ;
21820 return 0;
21821 }
21822 _ACEOF
21823 rm -f conftest$ac_exeext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21825 (eval $ac_link) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21831 ac_status=$?
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21834 ac_cv_sizeof_long_long=`cat conftest.val`
21835 else
21836 echo "$as_me: program exited with status $ac_status" >&5
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21839
21840 ( exit $ac_status )
21841 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21842 See \`config.log' for more details." >&5
21843 echo "$as_me: error: cannot compute sizeof (long long), 77
21844 See \`config.log' for more details." >&2;}
21845 { (exit 1); exit 1; }; }
21846 fi
21847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21848 fi
21849 fi
21850 rm -f conftest.val
21851 else
21852 ac_cv_sizeof_long_long=0
21853 fi
21854 fi
21855 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21856 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21857 cat >>confdefs.h <<_ACEOF
21858 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21859 _ACEOF
21860
21861
21862 esac
21863
21864 echo "$as_me:$LINENO: checking for wchar_t" >&5
21865 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21866 if test "${ac_cv_type_wchar_t+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 else
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h. */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875
21876 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21877 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21878 # error "fake wchar_t"
21879 #endif
21880 #ifdef HAVE_WCHAR_H
21881 # ifdef __CYGWIN__
21882 # include <stddef.h>
21883 # endif
21884 # include <wchar.h>
21885 #endif
21886 #ifdef HAVE_STDLIB_H
21887 # include <stdlib.h>
21888 #endif
21889 #include <stdio.h>
21890
21891
21892
21893 int
21894 main ()
21895 {
21896 if ((wchar_t *) 0)
21897 return 0;
21898 if (sizeof (wchar_t))
21899 return 0;
21900 ;
21901 return 0;
21902 }
21903 _ACEOF
21904 rm -f conftest.$ac_objext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21906 (eval $ac_compile) 2>conftest.er1
21907 ac_status=$?
21908 grep -v '^ *+' conftest.er1 >conftest.err
21909 rm -f conftest.er1
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } &&
21913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; } &&
21919 { ac_try='test -s conftest.$ac_objext'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 ac_cv_type_wchar_t=yes
21926 else
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_cv_type_wchar_t=no
21931 fi
21932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21933 fi
21934 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21935 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21936
21937 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21938 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21939 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21940 echo $ECHO_N "(cached) $ECHO_C" >&6
21941 else
21942 if test "$ac_cv_type_wchar_t" = yes; then
21943 # The cast to unsigned long works around a bug in the HP C Compiler
21944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21945 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21946 # This bug is HP SR number 8606223364.
21947 if test "$cross_compiling" = yes; then
21948 # Depending upon the size, compute the lo and hi bounds.
21949 cat >conftest.$ac_ext <<_ACEOF
21950 /* confdefs.h. */
21951 _ACEOF
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955
21956 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21957 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21958 # error "fake wchar_t"
21959 #endif
21960 #ifdef HAVE_WCHAR_H
21961 # ifdef __CYGWIN__
21962 # include <stddef.h>
21963 # endif
21964 # include <wchar.h>
21965 #endif
21966 #ifdef HAVE_STDLIB_H
21967 # include <stdlib.h>
21968 #endif
21969 #include <stdio.h>
21970
21971
21972
21973 int
21974 main ()
21975 {
21976 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21977 test_array [0] = 0
21978
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest.$ac_objext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21985 (eval $ac_compile) 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; } &&
21998 { ac_try='test -s conftest.$ac_objext'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22001 ac_status=$?
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; }; then
22004 ac_lo=0 ac_mid=0
22005 while :; do
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012
22013 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22014 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22015 # error "fake wchar_t"
22016 #endif
22017 #ifdef HAVE_WCHAR_H
22018 # ifdef __CYGWIN__
22019 # include <stddef.h>
22020 # endif
22021 # include <wchar.h>
22022 #endif
22023 #ifdef HAVE_STDLIB_H
22024 # include <stdlib.h>
22025 #endif
22026 #include <stdio.h>
22027
22028
22029
22030 int
22031 main ()
22032 {
22033 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22034 test_array [0] = 0
22035
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042 (eval $ac_compile) 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest.$ac_objext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_hi=$ac_mid; break
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 ac_lo=`expr $ac_mid + 1`
22067 if test $ac_lo -le $ac_mid; then
22068 ac_lo= ac_hi=
22069 break
22070 fi
22071 ac_mid=`expr 2 '*' $ac_mid + 1`
22072 fi
22073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22074 done
22075 else
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22078
22079 cat >conftest.$ac_ext <<_ACEOF
22080 /* confdefs.h. */
22081 _ACEOF
22082 cat confdefs.h >>conftest.$ac_ext
22083 cat >>conftest.$ac_ext <<_ACEOF
22084 /* end confdefs.h. */
22085
22086 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22087 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22088 # error "fake wchar_t"
22089 #endif
22090 #ifdef HAVE_WCHAR_H
22091 # ifdef __CYGWIN__
22092 # include <stddef.h>
22093 # endif
22094 # include <wchar.h>
22095 #endif
22096 #ifdef HAVE_STDLIB_H
22097 # include <stdlib.h>
22098 #endif
22099 #include <stdio.h>
22100
22101
22102
22103 int
22104 main ()
22105 {
22106 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22107 test_array [0] = 0
22108
22109 ;
22110 return 0;
22111 }
22112 _ACEOF
22113 rm -f conftest.$ac_objext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22115 (eval $ac_compile) 2>conftest.er1
22116 ac_status=$?
22117 grep -v '^ *+' conftest.er1 >conftest.err
22118 rm -f conftest.er1
22119 cat conftest.err >&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; } &&
22128 { ac_try='test -s conftest.$ac_objext'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; }; then
22134 ac_hi=-1 ac_mid=-1
22135 while :; do
22136 cat >conftest.$ac_ext <<_ACEOF
22137 /* confdefs.h. */
22138 _ACEOF
22139 cat confdefs.h >>conftest.$ac_ext
22140 cat >>conftest.$ac_ext <<_ACEOF
22141 /* end confdefs.h. */
22142
22143 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22144 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22145 # error "fake wchar_t"
22146 #endif
22147 #ifdef HAVE_WCHAR_H
22148 # ifdef __CYGWIN__
22149 # include <stddef.h>
22150 # endif
22151 # include <wchar.h>
22152 #endif
22153 #ifdef HAVE_STDLIB_H
22154 # include <stdlib.h>
22155 #endif
22156 #include <stdio.h>
22157
22158
22159
22160 int
22161 main ()
22162 {
22163 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22164 test_array [0] = 0
22165
22166 ;
22167 return 0;
22168 }
22169 _ACEOF
22170 rm -f conftest.$ac_objext
22171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22172 (eval $ac_compile) 2>conftest.er1
22173 ac_status=$?
22174 grep -v '^ *+' conftest.er1 >conftest.err
22175 rm -f conftest.er1
22176 cat conftest.err >&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; } &&
22185 { ac_try='test -s conftest.$ac_objext'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22188 ac_status=$?
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; }; then
22191 ac_lo=$ac_mid; break
22192 else
22193 echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22195
22196 ac_hi=`expr '(' $ac_mid ')' - 1`
22197 if test $ac_mid -le $ac_hi; then
22198 ac_lo= ac_hi=
22199 break
22200 fi
22201 ac_mid=`expr 2 '*' $ac_mid`
22202 fi
22203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22204 done
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 ac_lo= ac_hi=
22210 fi
22211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22212 fi
22213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22214 # Binary search between lo and hi bounds.
22215 while test "x$ac_lo" != "x$ac_hi"; do
22216 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22217 cat >conftest.$ac_ext <<_ACEOF
22218 /* confdefs.h. */
22219 _ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223
22224 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22225 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22226 # error "fake wchar_t"
22227 #endif
22228 #ifdef HAVE_WCHAR_H
22229 # ifdef __CYGWIN__
22230 # include <stddef.h>
22231 # endif
22232 # include <wchar.h>
22233 #endif
22234 #ifdef HAVE_STDLIB_H
22235 # include <stdlib.h>
22236 #endif
22237 #include <stdio.h>
22238
22239
22240
22241 int
22242 main ()
22243 {
22244 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22245 test_array [0] = 0
22246
22247 ;
22248 return 0;
22249 }
22250 _ACEOF
22251 rm -f conftest.$ac_objext
22252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22253 (eval $ac_compile) 2>conftest.er1
22254 ac_status=$?
22255 grep -v '^ *+' conftest.er1 >conftest.err
22256 rm -f conftest.er1
22257 cat conftest.err >&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } &&
22260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22263 ac_status=$?
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; } &&
22266 { ac_try='test -s conftest.$ac_objext'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22269 ac_status=$?
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; }; then
22272 ac_hi=$ac_mid
22273 else
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277 ac_lo=`expr '(' $ac_mid ')' + 1`
22278 fi
22279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22280 done
22281 case $ac_lo in
22282 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22283 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22284 See \`config.log' for more details." >&5
22285 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22286 See \`config.log' for more details." >&2;}
22287 { (exit 1); exit 1; }; } ;;
22288 esac
22289 else
22290 if test "$cross_compiling" = yes; then
22291 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22292 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22293 { (exit 1); exit 1; }; }
22294 else
22295 cat >conftest.$ac_ext <<_ACEOF
22296 /* confdefs.h. */
22297 _ACEOF
22298 cat confdefs.h >>conftest.$ac_ext
22299 cat >>conftest.$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22301
22302 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22303 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22304 # error "fake wchar_t"
22305 #endif
22306 #ifdef HAVE_WCHAR_H
22307 # ifdef __CYGWIN__
22308 # include <stddef.h>
22309 # endif
22310 # include <wchar.h>
22311 #endif
22312 #ifdef HAVE_STDLIB_H
22313 # include <stdlib.h>
22314 #endif
22315 #include <stdio.h>
22316
22317
22318
22319 long longval () { return (long) (sizeof (wchar_t)); }
22320 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22321 #include <stdio.h>
22322 #include <stdlib.h>
22323 int
22324 main ()
22325 {
22326
22327 FILE *f = fopen ("conftest.val", "w");
22328 if (! f)
22329 exit (1);
22330 if (((long) (sizeof (wchar_t))) < 0)
22331 {
22332 long i = longval ();
22333 if (i != ((long) (sizeof (wchar_t))))
22334 exit (1);
22335 fprintf (f, "%ld\n", i);
22336 }
22337 else
22338 {
22339 unsigned long i = ulongval ();
22340 if (i != ((long) (sizeof (wchar_t))))
22341 exit (1);
22342 fprintf (f, "%lu\n", i);
22343 }
22344 exit (ferror (f) || fclose (f) != 0);
22345
22346 ;
22347 return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest$ac_exeext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22352 (eval $ac_link) 2>&5
22353 ac_status=$?
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22357 (eval $ac_try) 2>&5
22358 ac_status=$?
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; }; then
22361 ac_cv_sizeof_wchar_t=`cat conftest.val`
22362 else
22363 echo "$as_me: program exited with status $ac_status" >&5
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.$ac_ext >&5
22366
22367 ( exit $ac_status )
22368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22369 See \`config.log' for more details." >&5
22370 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22371 See \`config.log' for more details." >&2;}
22372 { (exit 1); exit 1; }; }
22373 fi
22374 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22375 fi
22376 fi
22377 rm -f conftest.val
22378 else
22379 ac_cv_sizeof_wchar_t=0
22380 fi
22381 fi
22382 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22383 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22384 cat >>confdefs.h <<_ACEOF
22385 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22386 _ACEOF
22387
22388
22389 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22390 wxUSE_WCHAR_T=yes
22391 else
22392 wxUSE_WCHAR_T=no
22393 fi
22394
22395 echo "$as_me:$LINENO: checking for va_copy" >&5
22396 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22397 if test "${wx_cv_func_va_copy+set}" = set; then
22398 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 else
22400
22401 cat >conftest.$ac_ext <<_ACEOF
22402
22403 #include <stdarg.h>
22404 void foo(char *f, ...)
22405 {
22406 va_list ap1, ap2;
22407 va_start(ap1, f);
22408 va_copy(ap2, ap1);
22409 va_end(ap2);
22410 va_end(ap1);
22411 }
22412 int main()
22413 {
22414 foo("hi", 17);
22415 return 0;
22416 }
22417 _ACEOF
22418 rm -f conftest.$ac_objext conftest$ac_exeext
22419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22420 (eval $ac_link) 2>conftest.er1
22421 ac_status=$?
22422 grep -v '^ *+' conftest.er1 >conftest.err
22423 rm -f conftest.er1
22424 cat conftest.err >&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); } &&
22427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429 (eval $ac_try) 2>&5
22430 ac_status=$?
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; } &&
22433 { ac_try='test -s conftest$ac_exeext'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22436 ac_status=$?
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; }; then
22439 wx_cv_func_va_copy=yes
22440 else
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22443
22444 wx_cv_func_va_copy=no
22445
22446 fi
22447 rm -f conftest.err conftest.$ac_objext \
22448 conftest$ac_exeext conftest.$ac_ext
22449
22450
22451 fi
22452 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22453 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22454
22455 if test $wx_cv_func_va_copy = "yes"; then
22456 cat >>confdefs.h <<\_ACEOF
22457 #define HAVE_VA_COPY 1
22458 _ACEOF
22459
22460 else
22461 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22462 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22463 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 else
22466
22467 if test "$cross_compiling" = yes; then
22468 wx_cv_type_va_list_lvalue=yes
22469
22470 else
22471 cat >conftest.$ac_ext <<_ACEOF
22472
22473 #include <stdarg.h>
22474 int foo(char *f, ...)
22475 {
22476 va_list ap1, ap2;
22477 va_start(ap1, f);
22478 ap2 = ap1;
22479 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22480 return 1;
22481 va_end(ap2);
22482 va_end(ap1);
22483 return 0;
22484 }
22485 int main()
22486 {
22487 return foo("hi", 17);
22488 }
22489 _ACEOF
22490 rm -f conftest$ac_exeext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22492 (eval $ac_link) 2>&5
22493 ac_status=$?
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22497 (eval $ac_try) 2>&5
22498 ac_status=$?
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; }; then
22501 wx_cv_type_va_list_lvalue=yes
22502 else
22503 echo "$as_me: program exited with status $ac_status" >&5
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.$ac_ext >&5
22506
22507 ( exit $ac_status )
22508 wx_cv_type_va_list_lvalue=no
22509 fi
22510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22511 fi
22512
22513
22514 fi
22515 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22516 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22517
22518 if test $wx_cv_type_va_list_lvalue != "yes"; then
22519 cat >>confdefs.h <<\_ACEOF
22520 #define VA_LIST_IS_ARRAY 1
22521 _ACEOF
22522
22523 fi
22524 fi
22525
22526 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22527 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22528 if test "${wx_cv_have_variadic_macros+set}" = set; then
22529 echo $ECHO_N "(cached) $ECHO_C" >&6
22530 else
22531
22532 cat >conftest.$ac_ext <<_ACEOF
22533 /* confdefs.h. */
22534 _ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538
22539 #include <stdio.h>
22540 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22541
22542 int
22543 main ()
22544 {
22545
22546 test("%s %d %p", "test", 1, 0);
22547
22548
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest.$ac_objext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22555 (eval $ac_compile) 2>conftest.er1
22556 ac_status=$?
22557 grep -v '^ *+' conftest.er1 >conftest.err
22558 rm -f conftest.er1
22559 cat conftest.err >&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } &&
22562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564 (eval $ac_try) 2>&5
22565 ac_status=$?
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22571 ac_status=$?
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 wx_cv_have_variadic_macros=yes
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 wx_cv_have_variadic_macros=no
22580
22581 fi
22582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22583
22584
22585 fi
22586 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22587 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22588
22589 if test $wx_cv_have_variadic_macros = "yes"; then
22590 cat >>confdefs.h <<\_ACEOF
22591 #define HAVE_VARIADIC_MACROS 1
22592 _ACEOF
22593
22594 fi
22595
22596 # Check whether --enable-largefile or --disable-largefile was given.
22597 if test "${enable_largefile+set}" = set; then
22598 enableval="$enable_largefile"
22599
22600 fi;
22601 if test "$enable_largefile" != no; then
22602 wx_largefile=no
22603
22604 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22605 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22606 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609
22610 cat >conftest.$ac_ext <<_ACEOF
22611 /* confdefs.h. */
22612 _ACEOF
22613 cat confdefs.h >>conftest.$ac_ext
22614 cat >>conftest.$ac_ext <<_ACEOF
22615 /* end confdefs.h. */
22616 #define _FILE_OFFSET_BITS 64
22617 #include <sys/types.h>
22618 int
22619 main ()
22620 {
22621 typedef struct {
22622 unsigned int field: sizeof(off_t) == 8;
22623 } wxlf;
22624
22625 ;
22626 return 0;
22627 }
22628 _ACEOF
22629 rm -f conftest.$ac_objext
22630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22631 (eval $ac_compile) 2>conftest.er1
22632 ac_status=$?
22633 grep -v '^ *+' conftest.er1 >conftest.err
22634 rm -f conftest.er1
22635 cat conftest.err >&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } &&
22638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22641 ac_status=$?
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest.$ac_objext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22647 ac_status=$?
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 ac_cv_sys_file_offset_bits=64
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 ac_cv_sys_file_offset_bits=no
22656 fi
22657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22658
22659
22660 fi
22661 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22662 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22663
22664 if test "$ac_cv_sys_file_offset_bits" != no; then
22665 wx_largefile=yes
22666 cat >>confdefs.h <<_ACEOF
22667 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22668 _ACEOF
22669
22670 fi
22671
22672 if test "x$wx_largefile" != "xyes"; then
22673
22674 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22675 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22676 if test "${ac_cv_sys_large_files+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 #define _LARGE_FILES 1
22687 #include <sys/types.h>
22688 int
22689 main ()
22690 {
22691 typedef struct {
22692 unsigned int field: sizeof(off_t) == 8;
22693 } wxlf;
22694
22695 ;
22696 return 0;
22697 }
22698 _ACEOF
22699 rm -f conftest.$ac_objext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22701 (eval $ac_compile) 2>conftest.er1
22702 ac_status=$?
22703 grep -v '^ *+' conftest.er1 >conftest.err
22704 rm -f conftest.er1
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22710 (eval $ac_try) 2>&5
22711 ac_status=$?
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; } &&
22714 { ac_try='test -s conftest.$ac_objext'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22717 ac_status=$?
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_sys_large_files=1
22721 else
22722 echo "$as_me: failed program was:" >&5
22723 sed 's/^/| /' conftest.$ac_ext >&5
22724
22725 ac_cv_sys_large_files=no
22726 fi
22727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22728
22729
22730 fi
22731 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22732 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22733
22734 if test "$ac_cv_sys_large_files" != no; then
22735 wx_largefile=yes
22736 cat >>confdefs.h <<_ACEOF
22737 #define _LARGE_FILES $ac_cv_sys_large_files
22738 _ACEOF
22739
22740 fi
22741
22742 fi
22743
22744 echo "$as_me:$LINENO: checking if large file support is available" >&5
22745 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22746 if test "x$wx_largefile" = "xyes"; then
22747 cat >>confdefs.h <<\_ACEOF
22748 #define HAVE_LARGEFILE_SUPPORT 1
22749 _ACEOF
22750
22751 fi
22752 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22753 echo "${ECHO_T}$wx_largefile" >&6
22754 fi
22755
22756
22757 if test "x$wx_largefile" = "xyes"; then
22758 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22759 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22760
22761 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22762 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22763 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22764 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22765 echo $ECHO_N "(cached) $ECHO_C" >&6
22766 else
22767
22768 cat >conftest.$ac_ext <<_ACEOF
22769 /* confdefs.h. */
22770 _ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774
22775 int
22776 main ()
22777 {
22778
22779 #ifndef __STDC_EXT__
22780 choke me
22781 #endif
22782
22783 ;
22784 return 0;
22785 }
22786 _ACEOF
22787 rm -f conftest.$ac_objext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22789 (eval $ac_compile) 2>conftest.er1
22790 ac_status=$?
22791 grep -v '^ *+' conftest.er1 >conftest.err
22792 rm -f conftest.er1
22793 cat conftest.err >&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; } &&
22802 { ac_try='test -s conftest.$ac_objext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22805 ac_status=$?
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 wx_cv_STDC_EXT_required=no
22809 else
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.$ac_ext >&5
22812
22813 wx_cv_STDC_EXT_required=yes
22814
22815 fi
22816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22817
22818
22819 fi
22820 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22821 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22822 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22823 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22824 fi
22825 fi
22826 else
22827 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22828 fi
22829 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22830 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22831 if test "${ac_cv_sys_largefile_source+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 else
22834 while :; do
22835 ac_cv_sys_largefile_source=no
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 #include <stdio.h>
22843 int
22844 main ()
22845 {
22846 return !fseeko;
22847 ;
22848 return 0;
22849 }
22850 _ACEOF
22851 rm -f conftest.$ac_objext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22853 (eval $ac_compile) 2>conftest.er1
22854 ac_status=$?
22855 grep -v '^ *+' conftest.er1 >conftest.err
22856 rm -f conftest.er1
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; } &&
22866 { ac_try='test -s conftest.$ac_objext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22869 ac_status=$?
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 break
22873 else
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22876
22877 fi
22878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22879 cat >conftest.$ac_ext <<_ACEOF
22880 /* confdefs.h. */
22881 _ACEOF
22882 cat confdefs.h >>conftest.$ac_ext
22883 cat >>conftest.$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 #define _LARGEFILE_SOURCE 1
22886 #include <stdio.h>
22887 int
22888 main ()
22889 {
22890 return !fseeko;
22891 ;
22892 return 0;
22893 }
22894 _ACEOF
22895 rm -f conftest.$ac_objext
22896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22897 (eval $ac_compile) 2>conftest.er1
22898 ac_status=$?
22899 grep -v '^ *+' conftest.er1 >conftest.err
22900 rm -f conftest.er1
22901 cat conftest.err >&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); } &&
22904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22910 { ac_try='test -s conftest.$ac_objext'
22911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22912 (eval $ac_try) 2>&5
22913 ac_status=$?
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; }; then
22916 ac_cv_sys_largefile_source=1; break
22917 else
22918 echo "$as_me: failed program was:" >&5
22919 sed 's/^/| /' conftest.$ac_ext >&5
22920
22921 fi
22922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22923 break
22924 done
22925 fi
22926 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22927 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22928 if test "$ac_cv_sys_largefile_source" != no; then
22929
22930 cat >>confdefs.h <<_ACEOF
22931 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22932 _ACEOF
22933
22934 fi
22935 rm -f conftest*
22936
22937 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22938 # in glibc 2.1.3, but that breaks too many other things.
22939 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22940 echo "$as_me:$LINENO: checking for fseeko" >&5
22941 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22942 if test "${ac_cv_func_fseeko+set}" = set; then
22943 echo $ECHO_N "(cached) $ECHO_C" >&6
22944 else
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #include <stdio.h>
22952 int
22953 main ()
22954 {
22955 return fseeko && fseeko (stdin, 0, 0);
22956 ;
22957 return 0;
22958 }
22959 _ACEOF
22960 rm -f conftest.$ac_objext conftest$ac_exeext
22961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22962 (eval $ac_link) 2>conftest.er1
22963 ac_status=$?
22964 grep -v '^ *+' conftest.er1 >conftest.err
22965 rm -f conftest.er1
22966 cat conftest.err >&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } &&
22969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22971 (eval $ac_try) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); }; } &&
22975 { ac_try='test -s conftest$ac_exeext'
22976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977 (eval $ac_try) 2>&5
22978 ac_status=$?
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); }; }; then
22981 ac_cv_func_fseeko=yes
22982 else
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 ac_cv_func_fseeko=no
22987 fi
22988 rm -f conftest.err conftest.$ac_objext \
22989 conftest$ac_exeext conftest.$ac_ext
22990 fi
22991 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22992 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22993 if test $ac_cv_func_fseeko = yes; then
22994
22995 cat >>confdefs.h <<\_ACEOF
22996 #define HAVE_FSEEKO 1
22997 _ACEOF
22998
22999 fi
23000
23001 if test "$ac_cv_sys_largefile_source" != no; then
23002 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23003 fi
23004 fi
23005
23006 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23007 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23008 if test "${ac_cv_c_bigendian+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 else
23011 ac_cv_c_bigendian=unknown
23012 # See if sys/param.h defines the BYTE_ORDER macro.
23013 cat >conftest.$ac_ext <<_ACEOF
23014 /* confdefs.h. */
23015 _ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019 #include <sys/types.h>
23020 #include <sys/param.h>
23021 int
23022 main ()
23023 {
23024
23025 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23026 bogus endian macros
23027 #endif
23028 ;
23029 return 0;
23030 }
23031 _ACEOF
23032 rm -f conftest.$ac_objext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23034 (eval $ac_compile) 2>conftest.er1
23035 ac_status=$?
23036 grep -v '^ *+' conftest.er1 >conftest.err
23037 rm -f conftest.er1
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; } &&
23047 { ac_try='test -s conftest.$ac_objext'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23050 ac_status=$?
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; }; then
23053 # It does; now see whether it defined to BIG_ENDIAN or not.
23054 cat >conftest.$ac_ext <<_ACEOF
23055 /* confdefs.h. */
23056 _ACEOF
23057 cat confdefs.h >>conftest.$ac_ext
23058 cat >>conftest.$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23060 #include <sys/types.h>
23061 #include <sys/param.h>
23062 int
23063 main ()
23064 {
23065
23066 #if BYTE_ORDER != BIG_ENDIAN
23067 not big endian
23068 #endif
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23075 (eval $ac_compile) 2>conftest.er1
23076 ac_status=$?
23077 grep -v '^ *+' conftest.er1 >conftest.err
23078 rm -f conftest.er1
23079 cat conftest.err >&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } &&
23082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23085 ac_status=$?
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; } &&
23088 { ac_try='test -s conftest.$ac_objext'
23089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23090 (eval $ac_try) 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); }; }; then
23094 ac_cv_c_bigendian=yes
23095 else
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23098
23099 ac_cv_c_bigendian=no
23100 fi
23101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23102 else
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23105
23106 fi
23107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23108 if test $ac_cv_c_bigendian = unknown; then
23109 if test "$cross_compiling" = yes; then
23110 ac_cv_c_bigendian=unknown
23111 else
23112 cat >conftest.$ac_ext <<_ACEOF
23113 /* confdefs.h. */
23114 _ACEOF
23115 cat confdefs.h >>conftest.$ac_ext
23116 cat >>conftest.$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 main () {
23119 /* Are we little or big endian? From Harbison&Steele. */
23120 union
23121 {
23122 long l;
23123 char c[sizeof (long)];
23124 } u;
23125 u.l = 1;
23126 exit (u.c[sizeof (long) - 1] == 1);
23127 }
23128 _ACEOF
23129 rm -f conftest$ac_exeext
23130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23131 (eval $ac_link) 2>&5
23132 ac_status=$?
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23136 (eval $ac_try) 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23140 ac_cv_c_bigendian=no
23141 else
23142 echo "$as_me: program exited with status $ac_status" >&5
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23145
23146 ( exit $ac_status )
23147 ac_cv_c_bigendian=yes
23148 fi
23149 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23150 fi
23151 fi
23152 fi
23153 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23154 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23155 if test $ac_cv_c_bigendian = unknown; then
23156 { 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
23157 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;}
23158 fi
23159 if test $ac_cv_c_bigendian = yes; then
23160 cat >>confdefs.h <<\_ACEOF
23161 #define WORDS_BIGENDIAN 1
23162 _ACEOF
23163
23164 fi
23165
23166
23167
23168
23169
23170 ac_ext=cc
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23175
23176
23177
23178 for ac_header in iostream
23179 do
23180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23182 echo "$as_me:$LINENO: checking for $ac_header" >&5
23183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23185 echo $ECHO_N "(cached) $ECHO_C" >&6
23186 fi
23187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23189 else
23190 # Is the header compilable?
23191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23193 cat >conftest.$ac_ext <<_ACEOF
23194 /* confdefs.h. */
23195 _ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23199 $ac_includes_default
23200 #include <$ac_header>
23201 _ACEOF
23202 rm -f conftest.$ac_objext
23203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23204 (eval $ac_compile) 2>conftest.er1
23205 ac_status=$?
23206 grep -v '^ *+' conftest.er1 >conftest.err
23207 rm -f conftest.er1
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } &&
23211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23213 (eval $ac_try) 2>&5
23214 ac_status=$?
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); }; } &&
23217 { ac_try='test -s conftest.$ac_objext'
23218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23219 (eval $ac_try) 2>&5
23220 ac_status=$?
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); }; }; then
23223 ac_header_compiler=yes
23224 else
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.$ac_ext >&5
23227
23228 ac_header_compiler=no
23229 fi
23230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23232 echo "${ECHO_T}$ac_header_compiler" >&6
23233
23234 # Is the header present?
23235 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23236 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23237 cat >conftest.$ac_ext <<_ACEOF
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 #include <$ac_header>
23244 _ACEOF
23245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23247 ac_status=$?
23248 grep -v '^ *+' conftest.er1 >conftest.err
23249 rm -f conftest.er1
23250 cat conftest.err >&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } >/dev/null; then
23253 if test -s conftest.err; then
23254 ac_cpp_err=$ac_cxx_preproc_warn_flag
23255 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23256 else
23257 ac_cpp_err=
23258 fi
23259 else
23260 ac_cpp_err=yes
23261 fi
23262 if test -z "$ac_cpp_err"; then
23263 ac_header_preproc=yes
23264 else
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23267
23268 ac_header_preproc=no
23269 fi
23270 rm -f conftest.err conftest.$ac_ext
23271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23272 echo "${ECHO_T}$ac_header_preproc" >&6
23273
23274 # So? What about this header?
23275 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23276 yes:no: )
23277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23281 ac_header_preproc=yes
23282 ;;
23283 no:yes:* )
23284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23296 (
23297 cat <<\_ASBOX
23298 ## ----------------------------------------- ##
23299 ## Report this to wx-dev@lists.wxwidgets.org ##
23300 ## ----------------------------------------- ##
23301 _ASBOX
23302 ) |
23303 sed "s/^/$as_me: WARNING: /" >&2
23304 ;;
23305 esac
23306 echo "$as_me:$LINENO: checking for $ac_header" >&5
23307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 else
23311 eval "$as_ac_Header=\$ac_header_preproc"
23312 fi
23313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23315
23316 fi
23317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23318 cat >>confdefs.h <<_ACEOF
23319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23320 _ACEOF
23321
23322 fi
23323
23324 done
23325
23326
23327 if test "$ac_cv_header_iostream" = "yes" ; then
23328 :
23329 else
23330 cat >>confdefs.h <<\_ACEOF
23331 #define wxUSE_IOSTREAMH 1
23332 _ACEOF
23333
23334 fi
23335
23336 ac_ext=cc
23337 ac_cpp='$CXXCPP $CPPFLAGS'
23338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23341
23342
23343
23344
23345 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23346 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23347 if test "${wx_cv_cpp_bool+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23349 else
23350
23351
23352
23353 ac_ext=cc
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358
23359
23360 cat >conftest.$ac_ext <<_ACEOF
23361 /* confdefs.h. */
23362 _ACEOF
23363 cat confdefs.h >>conftest.$ac_ext
23364 cat >>conftest.$ac_ext <<_ACEOF
23365 /* end confdefs.h. */
23366
23367
23368 int
23369 main ()
23370 {
23371
23372 bool b = true;
23373
23374 return 0;
23375
23376 ;
23377 return 0;
23378 }
23379 _ACEOF
23380 rm -f conftest.$ac_objext
23381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23382 (eval $ac_compile) 2>conftest.er1
23383 ac_status=$?
23384 grep -v '^ *+' conftest.er1 >conftest.err
23385 rm -f conftest.er1
23386 cat conftest.err >&5
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23392 ac_status=$?
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; } &&
23395 { ac_try='test -s conftest.$ac_objext'
23396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397 (eval $ac_try) 2>&5
23398 ac_status=$?
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; }; then
23401
23402 wx_cv_cpp_bool=yes
23403
23404 else
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408
23409 wx_cv_cpp_bool=no
23410
23411
23412 fi
23413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23414
23415 ac_ext=cc
23416 ac_cpp='$CXXCPP $CPPFLAGS'
23417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23420
23421
23422 fi
23423 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23424 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23425
23426 if test "$wx_cv_cpp_bool" = "yes"; then
23427 cat >>confdefs.h <<\_ACEOF
23428 #define HAVE_BOOL 1
23429 _ACEOF
23430
23431 fi
23432
23433
23434
23435 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23436 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23437 if test "${wx_cv_explicit+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23440
23441
23442
23443 ac_ext=cc
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448
23449
23450 cat >conftest.$ac_ext <<_ACEOF
23451 /* confdefs.h. */
23452 _ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456
23457 class Foo { public: explicit Foo(int) {} };
23458
23459 int
23460 main ()
23461 {
23462
23463 return 0;
23464
23465 ;
23466 return 0;
23467 }
23468 _ACEOF
23469 rm -f conftest.$ac_objext
23470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23471 (eval $ac_compile) 2>conftest.er1
23472 ac_status=$?
23473 grep -v '^ *+' conftest.er1 >conftest.err
23474 rm -f conftest.er1
23475 cat conftest.err >&5
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); } &&
23478 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23480 (eval $ac_try) 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; } &&
23484 { ac_try='test -s conftest.$ac_objext'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23487 ac_status=$?
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; }; then
23490
23491 cat >conftest.$ac_ext <<_ACEOF
23492 /* confdefs.h. */
23493 _ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497
23498 class Foo { public: explicit Foo(int) {} };
23499 static void TakeFoo(const Foo& foo) { }
23500
23501 int
23502 main ()
23503 {
23504
23505 TakeFoo(17);
23506 return 0;
23507
23508 ;
23509 return 0;
23510 }
23511 _ACEOF
23512 rm -f conftest.$ac_objext
23513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23514 (eval $ac_compile) 2>conftest.er1
23515 ac_status=$?
23516 grep -v '^ *+' conftest.er1 >conftest.err
23517 rm -f conftest.er1
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } &&
23521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523 (eval $ac_try) 2>&5
23524 ac_status=$?
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); }; } &&
23527 { ac_try='test -s conftest.$ac_objext'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; }; then
23533 wx_cv_explicit=no
23534 else
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538 wx_cv_explicit=yes
23539
23540 fi
23541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23542
23543 else
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23546
23547 wx_cv_explicit=no
23548
23549 fi
23550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23551
23552 ac_ext=cc
23553 ac_cpp='$CXXCPP $CPPFLAGS'
23554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23557
23558
23559 fi
23560 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23561 echo "${ECHO_T}$wx_cv_explicit" >&6
23562
23563 if test "$wx_cv_explicit" = "yes"; then
23564 cat >>confdefs.h <<\_ACEOF
23565 #define HAVE_EXPLICIT 1
23566 _ACEOF
23567
23568 fi
23569
23570
23571 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23572 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23573 if test "${ac_cv_cxx_const_cast+set}" = set; then
23574 echo $ECHO_N "(cached) $ECHO_C" >&6
23575 else
23576
23577
23578 ac_ext=cc
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat >conftest.$ac_ext <<_ACEOF
23585 /* confdefs.h. */
23586 _ACEOF
23587 cat confdefs.h >>conftest.$ac_ext
23588 cat >>conftest.$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590
23591 int
23592 main ()
23593 {
23594 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 rm -f conftest.$ac_objext
23600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23601 (eval $ac_compile) 2>conftest.er1
23602 ac_status=$?
23603 grep -v '^ *+' conftest.er1 >conftest.err
23604 rm -f conftest.er1
23605 cat conftest.err >&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23611 ac_status=$?
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; } &&
23614 { ac_try='test -s conftest.$ac_objext'
23615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23616 (eval $ac_try) 2>&5
23617 ac_status=$?
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; }; then
23620 ac_cv_cxx_const_cast=yes
23621 else
23622 echo "$as_me: failed program was:" >&5
23623 sed 's/^/| /' conftest.$ac_ext >&5
23624
23625 ac_cv_cxx_const_cast=no
23626 fi
23627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23628 ac_ext=cc
23629 ac_cpp='$CXXCPP $CPPFLAGS'
23630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23633
23634
23635 fi
23636 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23637 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23638 if test "$ac_cv_cxx_const_cast" = yes; then
23639
23640 cat >>confdefs.h <<\_ACEOF
23641 #define HAVE_CONST_CAST
23642 _ACEOF
23643
23644 fi
23645
23646 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23647 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23648 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23649 echo $ECHO_N "(cached) $ECHO_C" >&6
23650 else
23651
23652
23653 ac_ext=cc
23654 ac_cpp='$CXXCPP $CPPFLAGS'
23655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23658
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 #include <typeinfo>
23666 class Base { public : Base () {} virtual void f () = 0;};
23667 class Derived : public Base { public : Derived () {} virtual void f () {} };
23668 class Unrelated { public : Unrelated () {} };
23669 int g (Unrelated&) { return 0; }
23670 int
23671 main ()
23672 {
23673
23674 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23675 ;
23676 return 0;
23677 }
23678 _ACEOF
23679 rm -f conftest.$ac_objext
23680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23681 (eval $ac_compile) 2>conftest.er1
23682 ac_status=$?
23683 grep -v '^ *+' conftest.er1 >conftest.err
23684 rm -f conftest.er1
23685 cat conftest.err >&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } &&
23688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; } &&
23694 { ac_try='test -s conftest.$ac_objext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23700 ac_cv_cxx_reinterpret_cast=yes
23701 else
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23704
23705 ac_cv_cxx_reinterpret_cast=no
23706 fi
23707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23708 ac_ext=cc
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713
23714
23715 fi
23716 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23717 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23718 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23719
23720 cat >>confdefs.h <<\_ACEOF
23721 #define HAVE_REINTERPRET_CAST
23722 _ACEOF
23723
23724 fi
23725
23726 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23727 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23728 if test "${ac_cv_cxx_static_cast+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 else
23731
23732
23733 ac_ext=cc
23734 ac_cpp='$CXXCPP $CPPFLAGS'
23735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23738
23739 cat >conftest.$ac_ext <<_ACEOF
23740 /* confdefs.h. */
23741 _ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 #include <typeinfo>
23746 class Base { public : Base () {} virtual void f () = 0; };
23747 class Derived : public Base { public : Derived () {} virtual void f () {} };
23748 int g (Derived&) { return 0; }
23749 int
23750 main ()
23751 {
23752
23753 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23754 ;
23755 return 0;
23756 }
23757 _ACEOF
23758 rm -f conftest.$ac_objext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23760 (eval $ac_compile) 2>conftest.er1
23761 ac_status=$?
23762 grep -v '^ *+' conftest.er1 >conftest.err
23763 rm -f conftest.er1
23764 cat conftest.err >&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; } &&
23773 { ac_try='test -s conftest.$ac_objext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 ac_cv_cxx_static_cast=yes
23780 else
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.$ac_ext >&5
23783
23784 ac_cv_cxx_static_cast=no
23785 fi
23786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23787 ac_ext=cc
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792
23793
23794 fi
23795 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23796 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23797 if test "$ac_cv_cxx_static_cast" = yes; then
23798
23799 cat >>confdefs.h <<\_ACEOF
23800 #define HAVE_STATIC_CAST
23801 _ACEOF
23802
23803 fi
23804
23805
23806 if test "x$SUNCXX" = xyes; then
23807 CXXFLAGS="-features=tmplife $CXXFLAGS"
23808 fi
23809
23810 if test "x$SUNCC" = xyes; then
23811 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23812 fi
23813
23814 if test "x$SGICC" = "xyes"; then
23815 CFLAGS="-woff 3970 $CFLAGS"
23816 fi
23817 if test "x$SGICXX" = "xyes"; then
23818 CXXFLAGS="-woff 3970 $CXXFLAGS"
23819 fi
23820
23821 if test "x$HPCC" = "xyes"; then
23822 CFLAGS="+W 2011,2450 $CFLAGS"
23823 fi
23824 if test "x$HPCXX" = "xyes"; then
23825 CXXFLAGS="+W 2340 $CXXFLAGS"
23826 fi
23827
23828 if test "x$COMPAQCXX" = "xyes"; then
23829 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23830 fi
23831
23832 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23833 if test "$wxUSE_UNICODE" = "yes"; then
23834 std_string="std::wstring"
23835 char_type="wchar_t"
23836 else
23837 std_string="std::string"
23838 char_type="char"
23839 fi
23840
23841 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23842 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h. */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 #include <string>
23850 int
23851 main ()
23852 {
23853 $std_string foo;
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 rm -f conftest.$ac_objext
23859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23860 (eval $ac_compile) 2>conftest.er1
23861 ac_status=$?
23862 grep -v '^ *+' conftest.er1 >conftest.err
23863 rm -f conftest.er1
23864 cat conftest.err >&5
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); } &&
23867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23869 (eval $ac_try) 2>&5
23870 ac_status=$?
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); }; } &&
23873 { ac_try='test -s conftest.$ac_objext'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 echo "$as_me:$LINENO: result: yes" >&5
23880 echo "${ECHO_T}yes" >&6
23881 cat >>confdefs.h <<\_ACEOF
23882 #define HAVE_STD_WSTRING 1
23883 _ACEOF
23884
23885 else
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23888
23889 echo "$as_me:$LINENO: result: no" >&5
23890 echo "${ECHO_T}no" >&6
23891 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23892 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899
23900 #ifdef HAVE_WCHAR_H
23901 # ifdef __CYGWIN__
23902 # include <stddef.h>
23903 # endif
23904 # include <wchar.h>
23905 #endif
23906 #ifdef HAVE_STDLIB_H
23907 # include <stdlib.h>
23908 #endif
23909 #include <stdio.h>
23910 #include <string>
23911
23912 int
23913 main ()
23914 {
23915 std::basic_string<$char_type> foo;
23916 const $char_type* dummy = foo.c_str();
23917 ;
23918 return 0;
23919 }
23920 _ACEOF
23921 rm -f conftest.$ac_objext
23922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23923 (eval $ac_compile) 2>conftest.er1
23924 ac_status=$?
23925 grep -v '^ *+' conftest.er1 >conftest.err
23926 rm -f conftest.er1
23927 cat conftest.err >&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } &&
23930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23933 ac_status=$?
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; } &&
23936 { ac_try='test -s conftest.$ac_objext'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23939 ac_status=$?
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; }; then
23942 echo "$as_me:$LINENO: result: yes" >&5
23943 echo "${ECHO_T}yes" >&6
23944 else
23945 echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.$ac_ext >&5
23947
23948 echo "$as_me:$LINENO: result: no" >&5
23949 echo "${ECHO_T}no" >&6
23950 if test "$wxUSE_STL" = "yes"; then
23951 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23952 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23953 { (exit 1); exit 1; }; }
23954 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23955 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23956 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23957 { (exit 1); exit 1; }; }
23958 else
23959 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23960 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23961 wxUSE_STD_STRING=no
23962 fi
23963
23964
23965 fi
23966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23967
23968 fi
23969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23970 fi
23971
23972 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23973 echo "$as_me:$LINENO: checking for std::istream" >&5
23974 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23975 if test "${ac_cv_type_std__istream+set}" = set; then
23976 echo $ECHO_N "(cached) $ECHO_C" >&6
23977 else
23978 cat >conftest.$ac_ext <<_ACEOF
23979 /* confdefs.h. */
23980 _ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 #include <iostream>
23985
23986 int
23987 main ()
23988 {
23989 if ((std::istream *) 0)
23990 return 0;
23991 if (sizeof (std::istream))
23992 return 0;
23993 ;
23994 return 0;
23995 }
23996 _ACEOF
23997 rm -f conftest.$ac_objext
23998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23999 (eval $ac_compile) 2>conftest.er1
24000 ac_status=$?
24001 grep -v '^ *+' conftest.er1 >conftest.err
24002 rm -f conftest.er1
24003 cat conftest.err >&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } &&
24006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24009 ac_status=$?
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; } &&
24012 { ac_try='test -s conftest.$ac_objext'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24015 ac_status=$?
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; }; then
24018 ac_cv_type_std__istream=yes
24019 else
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24022
24023 ac_cv_type_std__istream=no
24024 fi
24025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24026 fi
24027 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24028 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24029 if test $ac_cv_type_std__istream = yes; then
24030
24031 cat >>confdefs.h <<_ACEOF
24032 #define HAVE_STD__ISTREAM 1
24033 _ACEOF
24034
24035
24036 else
24037 wxUSE_STD_IOSTREAM=no
24038 fi
24039 echo "$as_me:$LINENO: checking for std::ostream" >&5
24040 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24041 if test "${ac_cv_type_std__ostream+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044 cat >conftest.$ac_ext <<_ACEOF
24045 /* confdefs.h. */
24046 _ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050 #include <iostream>
24051
24052 int
24053 main ()
24054 {
24055 if ((std::ostream *) 0)
24056 return 0;
24057 if (sizeof (std::ostream))
24058 return 0;
24059 ;
24060 return 0;
24061 }
24062 _ACEOF
24063 rm -f conftest.$ac_objext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24065 (eval $ac_compile) 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24075 ac_status=$?
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; } &&
24078 { ac_try='test -s conftest.$ac_objext'
24079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080 (eval $ac_try) 2>&5
24081 ac_status=$?
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); }; }; then
24084 ac_cv_type_std__ostream=yes
24085 else
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 ac_cv_type_std__ostream=no
24090 fi
24091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24092 fi
24093 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24094 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24095 if test $ac_cv_type_std__ostream = yes; then
24096
24097 cat >>confdefs.h <<_ACEOF
24098 #define HAVE_STD__OSTREAM 1
24099 _ACEOF
24100
24101
24102 else
24103 wxUSE_STD_IOSTREAM=no
24104 fi
24105
24106
24107 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24108 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24109 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24110 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24111 { (exit 1); exit 1; }; }
24112 else
24113 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24114 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24115 fi
24116 fi
24117 fi
24118
24119 if test "$wxUSE_STL" = "yes"; then
24120 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24121 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24122 cat >conftest.$ac_ext <<_ACEOF
24123 /* confdefs.h. */
24124 _ACEOF
24125 cat confdefs.h >>conftest.$ac_ext
24126 cat >>conftest.$ac_ext <<_ACEOF
24127 /* end confdefs.h. */
24128 #include <string>
24129 #include <functional>
24130 #include <algorithm>
24131 #include <vector>
24132 #include <list>
24133 int
24134 main ()
24135 {
24136 std::vector<int> moo;
24137 std::list<int> foo;
24138 std::vector<int>::iterator it =
24139 std::find_if(moo.begin(), moo.end(),
24140 std::bind2nd(std::less<int>(), 3));
24141 ;
24142 return 0;
24143 }
24144 _ACEOF
24145 rm -f conftest.$ac_objext
24146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24147 (eval $ac_compile) 2>conftest.er1
24148 ac_status=$?
24149 grep -v '^ *+' conftest.er1 >conftest.err
24150 rm -f conftest.er1
24151 cat conftest.err >&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); } &&
24154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24156 (eval $ac_try) 2>&5
24157 ac_status=$?
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); }; } &&
24160 { ac_try='test -s conftest.$ac_objext'
24161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162 (eval $ac_try) 2>&5
24163 ac_status=$?
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; }; then
24166 echo "$as_me:$LINENO: result: yes" >&5
24167 echo "${ECHO_T}yes" >&6
24168 else
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.$ac_ext >&5
24171
24172 echo "$as_me:$LINENO: result: no" >&5
24173 echo "${ECHO_T}no" >&6
24174 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24175 echo "$as_me: error: Basic STL functionality missing" >&2;}
24176 { (exit 1); exit 1; }; }
24177 fi
24178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24179
24180 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24181 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <string>
24189 int
24190 main ()
24191 {
24192 std::string foo, bar;
24193 foo.compare(bar);
24194 foo.compare(1, 1, bar);
24195 foo.compare(1, 1, bar, 1, 1);
24196 foo.compare("");
24197 foo.compare(1, 1, "");
24198 foo.compare(1, 1, "", 2);
24199 ;
24200 return 0;
24201 }
24202 _ACEOF
24203 rm -f conftest.$ac_objext
24204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24205 (eval $ac_compile) 2>conftest.er1
24206 ac_status=$?
24207 grep -v '^ *+' conftest.er1 >conftest.err
24208 rm -f conftest.er1
24209 cat conftest.err >&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } &&
24212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24215 ac_status=$?
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; } &&
24218 { ac_try='test -s conftest.$ac_objext'
24219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24220 (eval $ac_try) 2>&5
24221 ac_status=$?
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); }; }; then
24224 echo "$as_me:$LINENO: result: yes" >&5
24225 echo "${ECHO_T}yes" >&6
24226 cat >>confdefs.h <<\_ACEOF
24227 #define HAVE_STD_STRING_COMPARE 1
24228 _ACEOF
24229
24230 else
24231 echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.$ac_ext >&5
24233
24234 echo "$as_me:$LINENO: result: no" >&5
24235 echo "${ECHO_T}no" >&6
24236 fi
24237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24238
24239 if test "${ac_cv_header_hash_map+set}" = set; then
24240 echo "$as_me:$LINENO: checking for hash_map" >&5
24241 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24242 if test "${ac_cv_header_hash_map+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24244 fi
24245 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24246 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24247 else
24248 # Is the header compilable?
24249 echo "$as_me:$LINENO: checking hash_map usability" >&5
24250 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24251 cat >conftest.$ac_ext <<_ACEOF
24252 /* confdefs.h. */
24253 _ACEOF
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24257 $ac_includes_default
24258 #include <hash_map>
24259 _ACEOF
24260 rm -f conftest.$ac_objext
24261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24262 (eval $ac_compile) 2>conftest.er1
24263 ac_status=$?
24264 grep -v '^ *+' conftest.er1 >conftest.err
24265 rm -f conftest.er1
24266 cat conftest.err >&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } &&
24269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24272 ac_status=$?
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; } &&
24275 { ac_try='test -s conftest.$ac_objext'
24276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24277 (eval $ac_try) 2>&5
24278 ac_status=$?
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); }; }; then
24281 ac_header_compiler=yes
24282 else
24283 echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24285
24286 ac_header_compiler=no
24287 fi
24288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24290 echo "${ECHO_T}$ac_header_compiler" >&6
24291
24292 # Is the header present?
24293 echo "$as_me:$LINENO: checking hash_map presence" >&5
24294 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24295 cat >conftest.$ac_ext <<_ACEOF
24296 /* confdefs.h. */
24297 _ACEOF
24298 cat confdefs.h >>conftest.$ac_ext
24299 cat >>conftest.$ac_ext <<_ACEOF
24300 /* end confdefs.h. */
24301 #include <hash_map>
24302 _ACEOF
24303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24305 ac_status=$?
24306 grep -v '^ *+' conftest.er1 >conftest.err
24307 rm -f conftest.er1
24308 cat conftest.err >&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } >/dev/null; then
24311 if test -s conftest.err; then
24312 ac_cpp_err=$ac_cxx_preproc_warn_flag
24313 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24314 else
24315 ac_cpp_err=
24316 fi
24317 else
24318 ac_cpp_err=yes
24319 fi
24320 if test -z "$ac_cpp_err"; then
24321 ac_header_preproc=yes
24322 else
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24325
24326 ac_header_preproc=no
24327 fi
24328 rm -f conftest.err conftest.$ac_ext
24329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24330 echo "${ECHO_T}$ac_header_preproc" >&6
24331
24332 # So? What about this header?
24333 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24334 yes:no: )
24335 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24336 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24337 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24338 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24339 ac_header_preproc=yes
24340 ;;
24341 no:yes:* )
24342 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24343 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24344 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24345 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24346 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24347 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24348 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24349 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24350 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24351 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24352 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24353 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24354 (
24355 cat <<\_ASBOX
24356 ## ----------------------------------------- ##
24357 ## Report this to wx-dev@lists.wxwidgets.org ##
24358 ## ----------------------------------------- ##
24359 _ASBOX
24360 ) |
24361 sed "s/^/$as_me: WARNING: /" >&2
24362 ;;
24363 esac
24364 echo "$as_me:$LINENO: checking for hash_map" >&5
24365 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24366 if test "${ac_cv_header_hash_map+set}" = set; then
24367 echo $ECHO_N "(cached) $ECHO_C" >&6
24368 else
24369 ac_cv_header_hash_map=$ac_header_preproc
24370 fi
24371 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24372 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24373
24374 fi
24375 if test $ac_cv_header_hash_map = yes; then
24376 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24377 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24378 cat >conftest.$ac_ext <<_ACEOF
24379 /* confdefs.h. */
24380 _ACEOF
24381 cat confdefs.h >>conftest.$ac_ext
24382 cat >>conftest.$ac_ext <<_ACEOF
24383 /* end confdefs.h. */
24384 #include <hash_map>
24385 #include <hash_set>
24386 int
24387 main ()
24388 {
24389 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24390 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24391 ;
24392 return 0;
24393 }
24394 _ACEOF
24395 rm -f conftest.$ac_objext
24396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24397 (eval $ac_compile) 2>conftest.er1
24398 ac_status=$?
24399 grep -v '^ *+' conftest.er1 >conftest.err
24400 rm -f conftest.er1
24401 cat conftest.err >&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); } &&
24404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24407 ac_status=$?
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; } &&
24410 { ac_try='test -s conftest.$ac_objext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24413 ac_status=$?
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 echo "$as_me:$LINENO: result: yes" >&5
24417 echo "${ECHO_T}yes" >&6
24418 cat >>confdefs.h <<\_ACEOF
24419 #define HAVE_HASH_MAP 1
24420 _ACEOF
24421
24422 cat >>confdefs.h <<\_ACEOF
24423 #define HAVE_STD_HASH_MAP 1
24424 _ACEOF
24425
24426 else
24427 echo "$as_me: failed program was:" >&5
24428 sed 's/^/| /' conftest.$ac_ext >&5
24429
24430 echo "$as_me:$LINENO: result: no" >&5
24431 echo "${ECHO_T}no" >&6
24432 fi
24433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24434
24435 fi
24436
24437
24438
24439 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24440 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24441 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24442 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24444 fi
24445 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24446 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24447 else
24448 # Is the header compilable?
24449 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24450 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24451 cat >conftest.$ac_ext <<_ACEOF
24452 /* confdefs.h. */
24453 _ACEOF
24454 cat confdefs.h >>conftest.$ac_ext
24455 cat >>conftest.$ac_ext <<_ACEOF
24456 /* end confdefs.h. */
24457 $ac_includes_default
24458 #include <ext/hash_map>
24459 _ACEOF
24460 rm -f conftest.$ac_objext
24461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24462 (eval $ac_compile) 2>conftest.er1
24463 ac_status=$?
24464 grep -v '^ *+' conftest.er1 >conftest.err
24465 rm -f conftest.er1
24466 cat conftest.err >&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); } &&
24469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24471 (eval $ac_try) 2>&5
24472 ac_status=$?
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); }; } &&
24475 { ac_try='test -s conftest.$ac_objext'
24476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24477 (eval $ac_try) 2>&5
24478 ac_status=$?
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); }; }; then
24481 ac_header_compiler=yes
24482 else
24483 echo "$as_me: failed program was:" >&5
24484 sed 's/^/| /' conftest.$ac_ext >&5
24485
24486 ac_header_compiler=no
24487 fi
24488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24490 echo "${ECHO_T}$ac_header_compiler" >&6
24491
24492 # Is the header present?
24493 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24494 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24495 cat >conftest.$ac_ext <<_ACEOF
24496 /* confdefs.h. */
24497 _ACEOF
24498 cat confdefs.h >>conftest.$ac_ext
24499 cat >>conftest.$ac_ext <<_ACEOF
24500 /* end confdefs.h. */
24501 #include <ext/hash_map>
24502 _ACEOF
24503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24505 ac_status=$?
24506 grep -v '^ *+' conftest.er1 >conftest.err
24507 rm -f conftest.er1
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } >/dev/null; then
24511 if test -s conftest.err; then
24512 ac_cpp_err=$ac_cxx_preproc_warn_flag
24513 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24514 else
24515 ac_cpp_err=
24516 fi
24517 else
24518 ac_cpp_err=yes
24519 fi
24520 if test -z "$ac_cpp_err"; then
24521 ac_header_preproc=yes
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 ac_header_preproc=no
24527 fi
24528 rm -f conftest.err conftest.$ac_ext
24529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24530 echo "${ECHO_T}$ac_header_preproc" >&6
24531
24532 # So? What about this header?
24533 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24534 yes:no: )
24535 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24536 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24537 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24538 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24539 ac_header_preproc=yes
24540 ;;
24541 no:yes:* )
24542 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24543 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24544 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24545 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24546 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24547 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24548 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24549 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24550 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24551 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24552 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24553 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24554 (
24555 cat <<\_ASBOX
24556 ## ----------------------------------------- ##
24557 ## Report this to wx-dev@lists.wxwidgets.org ##
24558 ## ----------------------------------------- ##
24559 _ASBOX
24560 ) |
24561 sed "s/^/$as_me: WARNING: /" >&2
24562 ;;
24563 esac
24564 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24565 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24566 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 else
24569 ac_cv_header_ext_hash_map=$ac_header_preproc
24570 fi
24571 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24572 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24573
24574 fi
24575 if test $ac_cv_header_ext_hash_map = yes; then
24576 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24577 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 #include <ext/hash_map>
24585 #include <ext/hash_set>
24586 int
24587 main ()
24588 {
24589 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24590 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 rm -f conftest.$ac_objext
24596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24597 (eval $ac_compile) 2>conftest.er1
24598 ac_status=$?
24599 grep -v '^ *+' conftest.er1 >conftest.err
24600 rm -f conftest.er1
24601 cat conftest.err >&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); } &&
24604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24607 ac_status=$?
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; } &&
24610 { ac_try='test -s conftest.$ac_objext'
24611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24612 (eval $ac_try) 2>&5
24613 ac_status=$?
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); }; }; then
24616 echo "$as_me:$LINENO: result: yes" >&5
24617 echo "${ECHO_T}yes" >&6
24618 cat >>confdefs.h <<\_ACEOF
24619 #define HAVE_EXT_HASH_MAP 1
24620 _ACEOF
24621
24622 cat >>confdefs.h <<\_ACEOF
24623 #define HAVE_GNU_CXX_HASH_MAP 1
24624 _ACEOF
24625
24626 else
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24629
24630 echo "$as_me:$LINENO: result: no" >&5
24631 echo "${ECHO_T}no" >&6
24632 fi
24633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24634
24635 fi
24636
24637
24638 fi
24639
24640
24641 SEARCH_INCLUDE="\
24642 /usr/local/include \
24643 \
24644 /usr/Motif-2.1/include \
24645 /usr/Motif-1.2/include \
24646 /usr/include/Motif1.2 \
24647 \
24648 /usr/dt/include \
24649 /usr/openwin/include \
24650 \
24651 /usr/include/Xm \
24652 \
24653 /usr/X11R6/include \
24654 /usr/X11R6.4/include \
24655 /usr/X11R5/include \
24656 /usr/X11R4/include \
24657 \
24658 /usr/include/X11R6 \
24659 /usr/include/X11R5 \
24660 /usr/include/X11R4 \
24661 \
24662 /usr/local/X11R6/include \
24663 /usr/local/X11R5/include \
24664 /usr/local/X11R4/include \
24665 \
24666 /usr/local/include/X11R6 \
24667 /usr/local/include/X11R5 \
24668 /usr/local/include/X11R4 \
24669 \
24670 /usr/X11/include \
24671 /usr/include/X11 \
24672 /usr/local/X11/include \
24673 /usr/local/include/X11 \
24674 \
24675 /usr/XFree86/include/X11 \
24676 /usr/pkg/include \
24677 \
24678 /usr/openwin/share/include"
24679
24680 echo "$as_me:$LINENO: checking for libraries directory" >&5
24681 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24682
24683 case "${host}" in
24684 *-*-irix6* )
24685 if test "${wx_cv_std_libpath+set}" = set; then
24686 echo $ECHO_N "(cached) $ECHO_C" >&6
24687 else
24688
24689 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24690 for e in a so sl dylib dll.a; do
24691 libc="$d/libc.$e"
24692 if test -f $libc; then
24693 save_LIBS="$LIBS"
24694 LIBS="$libc"
24695 cat >conftest.$ac_ext <<_ACEOF
24696 int main() { return 0; }
24697 _ACEOF
24698 rm -f conftest.$ac_objext conftest$ac_exeext
24699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24700 (eval $ac_link) 2>conftest.er1
24701 ac_status=$?
24702 grep -v '^ *+' conftest.er1 >conftest.err
24703 rm -f conftest.er1
24704 cat conftest.err >&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } &&
24707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709 (eval $ac_try) 2>&5
24710 ac_status=$?
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); }; } &&
24713 { ac_try='test -s conftest$ac_exeext'
24714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 (eval $ac_try) 2>&5
24716 ac_status=$?
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; }; then
24719 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24720 else
24721 echo "$as_me: failed program was:" >&5
24722 sed 's/^/| /' conftest.$ac_ext >&5
24723
24724 fi
24725 rm -f conftest.err conftest.$ac_objext \
24726 conftest$ac_exeext conftest.$ac_ext
24727 LIBS="$save_LIBS"
24728 if test "x$wx_cv_std_libpath" != "x"; then
24729 break 2
24730 fi
24731 fi
24732 done
24733 done
24734 if test "x$wx_cv_std_libpath" = "x"; then
24735 wx_cv_std_libpath="lib"
24736 fi
24737
24738
24739 fi
24740
24741 ;;
24742
24743 *-*-solaris2* )
24744 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24745 wx_cv_std_libpath="lib/64"
24746 else
24747 wx_cv_std_libpath="lib"
24748 fi
24749 ;;
24750
24751 *-*-linux* )
24752 if test "$ac_cv_sizeof_void_p" = 8 -a \
24753 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24754 wx_cv_std_libpath="lib64"
24755 else
24756 wx_cv_std_libpath="lib"
24757 fi
24758 ;;
24759
24760 *)
24761 wx_cv_std_libpath="lib";
24762 ;;
24763 esac
24764
24765 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24766 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24767
24768 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24769
24770 if test "$build" != "$host" -a "$GCC" = yes; then
24771 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24772 cross_root=`dirname $cross_root`
24773 cross_root=`dirname $cross_root`
24774
24775 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24776 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24777 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24778
24779 if test -z "$PKG_CONFIG_PATH"; then
24780 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24781 export PKG_CONFIG_PATH
24782 fi
24783
24784 if test -z "$x_includes" -o "$x_includes" = NONE; then
24785
24786 ac_find_includes=
24787 for ac_dir in $SEARCH_INCLUDE /usr/include;
24788 do
24789 if test -f "$ac_dir/X11/Intrinsic.h"; then
24790 ac_find_includes=$ac_dir
24791 break
24792 fi
24793 done
24794
24795 x_includes=$ac_find_includes
24796 fi
24797 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24798
24799 ac_find_libraries=
24800 for ac_dir in $SEARCH_LIB;
24801 do
24802 for ac_extension in a so sl dylib dll.a; do
24803 if test -f "$ac_dir/libXt.$ac_extension"; then
24804 ac_find_libraries=$ac_dir
24805 break 2
24806 fi
24807 done
24808 done
24809
24810 x_libraries=$ac_find_libraries
24811 fi
24812 fi
24813 fi
24814
24815
24816 cat >confcache <<\_ACEOF
24817 # This file is a shell script that caches the results of configure
24818 # tests run on this system so they can be shared between configure
24819 # scripts and configure runs, see configure's option --config-cache.
24820 # It is not useful on other systems. If it contains results you don't
24821 # want to keep, you may remove or edit it.
24822 #
24823 # config.status only pays attention to the cache file if you give it
24824 # the --recheck option to rerun configure.
24825 #
24826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24828 # following values.
24829
24830 _ACEOF
24831
24832 # The following way of writing the cache mishandles newlines in values,
24833 # but we know of no workaround that is simple, portable, and efficient.
24834 # So, don't put newlines in cache variables' values.
24835 # Ultrix sh set writes to stderr and can't be redirected directly,
24836 # and sets the high bit in the cache file unless we assign to the vars.
24837 {
24838 (set) 2>&1 |
24839 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24840 *ac_space=\ *)
24841 # `set' does not quote correctly, so add quotes (double-quote
24842 # substitution turns \\\\ into \\, and sed turns \\ into \).
24843 sed -n \
24844 "s/'/'\\\\''/g;
24845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24846 ;;
24847 *)
24848 # `set' quotes correctly as required by POSIX, so do not add quotes.
24849 sed -n \
24850 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24851 ;;
24852 esac;
24853 } |
24854 sed '
24855 t clear
24856 : clear
24857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24858 t end
24859 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24860 : end' >>confcache
24861 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24862 if test -w $cache_file; then
24863 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24864 cat confcache >$cache_file
24865 else
24866 echo "not updating unwritable cache $cache_file"
24867 fi
24868 fi
24869 rm -f confcache
24870
24871 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24872 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24873 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24874 if test "${wx_cv_lib_glibc21+set}" = set; then
24875 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 else
24877
24878 cat >conftest.$ac_ext <<_ACEOF
24879 /* confdefs.h. */
24880 _ACEOF
24881 cat confdefs.h >>conftest.$ac_ext
24882 cat >>conftest.$ac_ext <<_ACEOF
24883 /* end confdefs.h. */
24884 #include <features.h>
24885 int
24886 main ()
24887 {
24888
24889 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24890 not glibc 2.1
24891 #endif
24892
24893 ;
24894 return 0;
24895 }
24896 _ACEOF
24897 rm -f conftest.$ac_objext
24898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24899 (eval $ac_compile) 2>conftest.er1
24900 ac_status=$?
24901 grep -v '^ *+' conftest.er1 >conftest.err
24902 rm -f conftest.er1
24903 cat conftest.err >&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); } &&
24906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908 (eval $ac_try) 2>&5
24909 ac_status=$?
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); }; } &&
24912 { ac_try='test -s conftest.$ac_objext'
24913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24914 (eval $ac_try) 2>&5
24915 ac_status=$?
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); }; }; then
24918
24919 wx_cv_lib_glibc21=yes
24920
24921 else
24922 echo "$as_me: failed program was:" >&5
24923 sed 's/^/| /' conftest.$ac_ext >&5
24924
24925
24926 wx_cv_lib_glibc21=no
24927
24928
24929 fi
24930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24931
24932 fi
24933 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24934 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24935 if test "$wx_cv_lib_glibc21" = "yes"; then
24936 cat >>confdefs.h <<\_ACEOF
24937 #define wxHAVE_GLIBC2 1
24938 _ACEOF
24939
24940 fi
24941 fi
24942
24943 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24944 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24945 cat >>confdefs.h <<\_ACEOF
24946 #define _GNU_SOURCE 1
24947 _ACEOF
24948
24949 fi
24950 fi
24951
24952 have_cos=0
24953 have_floor=0
24954
24955 for ac_func in cos
24956 do
24957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24958 echo "$as_me:$LINENO: checking for $ac_func" >&5
24959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24960 if eval "test \"\${$as_ac_var+set}\" = set"; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24962 else
24963 cat >conftest.$ac_ext <<_ACEOF
24964 /* confdefs.h. */
24965 _ACEOF
24966 cat confdefs.h >>conftest.$ac_ext
24967 cat >>conftest.$ac_ext <<_ACEOF
24968 /* end confdefs.h. */
24969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24971 #define $ac_func innocuous_$ac_func
24972
24973 /* System header to define __stub macros and hopefully few prototypes,
24974 which can conflict with char $ac_func (); below.
24975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24976 <limits.h> exists even on freestanding compilers. */
24977
24978 #ifdef __STDC__
24979 # include <limits.h>
24980 #else
24981 # include <assert.h>
24982 #endif
24983
24984 #undef $ac_func
24985
24986 /* Override any gcc2 internal prototype to avoid an error. */
24987 #ifdef __cplusplus
24988 extern "C"
24989 {
24990 #endif
24991 /* We use char because int might match the return type of a gcc2
24992 builtin and then its argument prototype would still apply. */
24993 char $ac_func ();
24994 /* The GNU C library defines this for functions which it implements
24995 to always fail with ENOSYS. Some functions are actually named
24996 something starting with __ and the normal name is an alias. */
24997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24998 choke me
24999 #else
25000 char (*f) () = $ac_func;
25001 #endif
25002 #ifdef __cplusplus
25003 }
25004 #endif
25005
25006 int
25007 main ()
25008 {
25009 return f != $ac_func;
25010 ;
25011 return 0;
25012 }
25013 _ACEOF
25014 rm -f conftest.$ac_objext conftest$ac_exeext
25015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25016 (eval $ac_link) 2>conftest.er1
25017 ac_status=$?
25018 grep -v '^ *+' conftest.er1 >conftest.err
25019 rm -f conftest.er1
25020 cat conftest.err >&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } &&
25023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25025 (eval $ac_try) 2>&5
25026 ac_status=$?
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); }; } &&
25029 { ac_try='test -s conftest$ac_exeext'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25032 ac_status=$?
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; }; then
25035 eval "$as_ac_var=yes"
25036 else
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25039
25040 eval "$as_ac_var=no"
25041 fi
25042 rm -f conftest.err conftest.$ac_objext \
25043 conftest$ac_exeext conftest.$ac_ext
25044 fi
25045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25047 if test `eval echo '${'$as_ac_var'}'` = yes; then
25048 cat >>confdefs.h <<_ACEOF
25049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25050 _ACEOF
25051 have_cos=1
25052 fi
25053 done
25054
25055
25056 for ac_func in floor
25057 do
25058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25059 echo "$as_me:$LINENO: checking for $ac_func" >&5
25060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25061 if eval "test \"\${$as_ac_var+set}\" = set"; then
25062 echo $ECHO_N "(cached) $ECHO_C" >&6
25063 else
25064 cat >conftest.$ac_ext <<_ACEOF
25065 /* confdefs.h. */
25066 _ACEOF
25067 cat confdefs.h >>conftest.$ac_ext
25068 cat >>conftest.$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25072 #define $ac_func innocuous_$ac_func
25073
25074 /* System header to define __stub macros and hopefully few prototypes,
25075 which can conflict with char $ac_func (); below.
25076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25077 <limits.h> exists even on freestanding compilers. */
25078
25079 #ifdef __STDC__
25080 # include <limits.h>
25081 #else
25082 # include <assert.h>
25083 #endif
25084
25085 #undef $ac_func
25086
25087 /* Override any gcc2 internal prototype to avoid an error. */
25088 #ifdef __cplusplus
25089 extern "C"
25090 {
25091 #endif
25092 /* We use char because int might match the return type of a gcc2
25093 builtin and then its argument prototype would still apply. */
25094 char $ac_func ();
25095 /* The GNU C library defines this for functions which it implements
25096 to always fail with ENOSYS. Some functions are actually named
25097 something starting with __ and the normal name is an alias. */
25098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25099 choke me
25100 #else
25101 char (*f) () = $ac_func;
25102 #endif
25103 #ifdef __cplusplus
25104 }
25105 #endif
25106
25107 int
25108 main ()
25109 {
25110 return f != $ac_func;
25111 ;
25112 return 0;
25113 }
25114 _ACEOF
25115 rm -f conftest.$ac_objext conftest$ac_exeext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25117 (eval $ac_link) 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } &&
25124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25127 ac_status=$?
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; } &&
25130 { ac_try='test -s conftest$ac_exeext'
25131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25132 (eval $ac_try) 2>&5
25133 ac_status=$?
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); }; }; then
25136 eval "$as_ac_var=yes"
25137 else
25138 echo "$as_me: failed program was:" >&5
25139 sed 's/^/| /' conftest.$ac_ext >&5
25140
25141 eval "$as_ac_var=no"
25142 fi
25143 rm -f conftest.err conftest.$ac_objext \
25144 conftest$ac_exeext conftest.$ac_ext
25145 fi
25146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25148 if test `eval echo '${'$as_ac_var'}'` = yes; then
25149 cat >>confdefs.h <<_ACEOF
25150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25151 _ACEOF
25152 have_floor=1
25153 fi
25154 done
25155
25156 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25157 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25158 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25159 echo "$as_me:$LINENO: result: yes" >&5
25160 echo "${ECHO_T}yes" >&6
25161 else
25162 echo "$as_me:$LINENO: result: no" >&5
25163 echo "${ECHO_T}no" >&6
25164 LIBS="$LIBS -lm"
25165 # use different functions to avoid configure caching
25166 have_sin=0
25167 have_ceil=0
25168
25169 for ac_func in sin
25170 do
25171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25172 echo "$as_me:$LINENO: checking for $ac_func" >&5
25173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25174 if eval "test \"\${$as_ac_var+set}\" = set"; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25176 else
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25185 #define $ac_func innocuous_$ac_func
25186
25187 /* System header to define __stub macros and hopefully few prototypes,
25188 which can conflict with char $ac_func (); below.
25189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25190 <limits.h> exists even on freestanding compilers. */
25191
25192 #ifdef __STDC__
25193 # include <limits.h>
25194 #else
25195 # include <assert.h>
25196 #endif
25197
25198 #undef $ac_func
25199
25200 /* Override any gcc2 internal prototype to avoid an error. */
25201 #ifdef __cplusplus
25202 extern "C"
25203 {
25204 #endif
25205 /* We use char because int might match the return type of a gcc2
25206 builtin and then its argument prototype would still apply. */
25207 char $ac_func ();
25208 /* The GNU C library defines this for functions which it implements
25209 to always fail with ENOSYS. Some functions are actually named
25210 something starting with __ and the normal name is an alias. */
25211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25212 choke me
25213 #else
25214 char (*f) () = $ac_func;
25215 #endif
25216 #ifdef __cplusplus
25217 }
25218 #endif
25219
25220 int
25221 main ()
25222 {
25223 return f != $ac_func;
25224 ;
25225 return 0;
25226 }
25227 _ACEOF
25228 rm -f conftest.$ac_objext conftest$ac_exeext
25229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25230 (eval $ac_link) 2>conftest.er1
25231 ac_status=$?
25232 grep -v '^ *+' conftest.er1 >conftest.err
25233 rm -f conftest.er1
25234 cat conftest.err >&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } &&
25237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239 (eval $ac_try) 2>&5
25240 ac_status=$?
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); }; } &&
25243 { ac_try='test -s conftest$ac_exeext'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25246 ac_status=$?
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; }; then
25249 eval "$as_ac_var=yes"
25250 else
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.$ac_ext >&5
25253
25254 eval "$as_ac_var=no"
25255 fi
25256 rm -f conftest.err conftest.$ac_objext \
25257 conftest$ac_exeext conftest.$ac_ext
25258 fi
25259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25261 if test `eval echo '${'$as_ac_var'}'` = yes; then
25262 cat >>confdefs.h <<_ACEOF
25263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25264 _ACEOF
25265 have_sin=1
25266 fi
25267 done
25268
25269
25270 for ac_func in ceil
25271 do
25272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25273 echo "$as_me:$LINENO: checking for $ac_func" >&5
25274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25275 if eval "test \"\${$as_ac_var+set}\" = set"; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25286 #define $ac_func innocuous_$ac_func
25287
25288 /* System header to define __stub macros and hopefully few prototypes,
25289 which can conflict with char $ac_func (); below.
25290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25291 <limits.h> exists even on freestanding compilers. */
25292
25293 #ifdef __STDC__
25294 # include <limits.h>
25295 #else
25296 # include <assert.h>
25297 #endif
25298
25299 #undef $ac_func
25300
25301 /* Override any gcc2 internal prototype to avoid an error. */
25302 #ifdef __cplusplus
25303 extern "C"
25304 {
25305 #endif
25306 /* We use char because int might match the return type of a gcc2
25307 builtin and then its argument prototype would still apply. */
25308 char $ac_func ();
25309 /* The GNU C library defines this for functions which it implements
25310 to always fail with ENOSYS. Some functions are actually named
25311 something starting with __ and the normal name is an alias. */
25312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25313 choke me
25314 #else
25315 char (*f) () = $ac_func;
25316 #endif
25317 #ifdef __cplusplus
25318 }
25319 #endif
25320
25321 int
25322 main ()
25323 {
25324 return f != $ac_func;
25325 ;
25326 return 0;
25327 }
25328 _ACEOF
25329 rm -f conftest.$ac_objext conftest$ac_exeext
25330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25331 (eval $ac_link) 2>conftest.er1
25332 ac_status=$?
25333 grep -v '^ *+' conftest.er1 >conftest.err
25334 rm -f conftest.er1
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } &&
25338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25340 (eval $ac_try) 2>&5
25341 ac_status=$?
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); }; } &&
25344 { ac_try='test -s conftest$ac_exeext'
25345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25346 (eval $ac_try) 2>&5
25347 ac_status=$?
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); }; }; then
25350 eval "$as_ac_var=yes"
25351 else
25352 echo "$as_me: failed program was:" >&5
25353 sed 's/^/| /' conftest.$ac_ext >&5
25354
25355 eval "$as_ac_var=no"
25356 fi
25357 rm -f conftest.err conftest.$ac_objext \
25358 conftest$ac_exeext conftest.$ac_ext
25359 fi
25360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25362 if test `eval echo '${'$as_ac_var'}'` = yes; then
25363 cat >>confdefs.h <<_ACEOF
25364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25365 _ACEOF
25366 have_ceil=1
25367 fi
25368 done
25369
25370 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25371 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25372 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25373 echo "$as_me:$LINENO: result: yes" >&5
25374 echo "${ECHO_T}yes" >&6
25375 else
25376 echo "$as_me:$LINENO: result: no" >&5
25377 echo "${ECHO_T}no" >&6
25378 # not sure we should warn the user, crash, etc.
25379 fi
25380 fi
25381
25382 if test "wxUSE_UNICODE" = "yes"; then
25383
25384 for ac_func in wcstoull
25385 do
25386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25387 echo "$as_me:$LINENO: checking for $ac_func" >&5
25388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25389 if eval "test \"\${$as_ac_var+set}\" = set"; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 else
25392 cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h. */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25400 #define $ac_func innocuous_$ac_func
25401
25402 /* System header to define __stub macros and hopefully few prototypes,
25403 which can conflict with char $ac_func (); below.
25404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25405 <limits.h> exists even on freestanding compilers. */
25406
25407 #ifdef __STDC__
25408 # include <limits.h>
25409 #else
25410 # include <assert.h>
25411 #endif
25412
25413 #undef $ac_func
25414
25415 /* Override any gcc2 internal prototype to avoid an error. */
25416 #ifdef __cplusplus
25417 extern "C"
25418 {
25419 #endif
25420 /* We use char because int might match the return type of a gcc2
25421 builtin and then its argument prototype would still apply. */
25422 char $ac_func ();
25423 /* The GNU C library defines this for functions which it implements
25424 to always fail with ENOSYS. Some functions are actually named
25425 something starting with __ and the normal name is an alias. */
25426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25427 choke me
25428 #else
25429 char (*f) () = $ac_func;
25430 #endif
25431 #ifdef __cplusplus
25432 }
25433 #endif
25434
25435 int
25436 main ()
25437 {
25438 return f != $ac_func;
25439 ;
25440 return 0;
25441 }
25442 _ACEOF
25443 rm -f conftest.$ac_objext conftest$ac_exeext
25444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25445 (eval $ac_link) 2>conftest.er1
25446 ac_status=$?
25447 grep -v '^ *+' conftest.er1 >conftest.err
25448 rm -f conftest.er1
25449 cat conftest.err >&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } &&
25452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454 (eval $ac_try) 2>&5
25455 ac_status=$?
25456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457 (exit $ac_status); }; } &&
25458 { ac_try='test -s conftest$ac_exeext'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25461 ac_status=$?
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; }; then
25464 eval "$as_ac_var=yes"
25465 else
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 eval "$as_ac_var=no"
25470 fi
25471 rm -f conftest.err conftest.$ac_objext \
25472 conftest$ac_exeext conftest.$ac_ext
25473 fi
25474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25476 if test `eval echo '${'$as_ac_var'}'` = yes; then
25477 cat >>confdefs.h <<_ACEOF
25478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25479 _ACEOF
25480
25481 fi
25482 done
25483
25484 else
25485
25486 for ac_func in strtoull
25487 do
25488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25489 echo "$as_me:$LINENO: checking for $ac_func" >&5
25490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25491 if eval "test \"\${$as_ac_var+set}\" = set"; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25494 cat >conftest.$ac_ext <<_ACEOF
25495 /* confdefs.h. */
25496 _ACEOF
25497 cat confdefs.h >>conftest.$ac_ext
25498 cat >>conftest.$ac_ext <<_ACEOF
25499 /* end confdefs.h. */
25500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25502 #define $ac_func innocuous_$ac_func
25503
25504 /* System header to define __stub macros and hopefully few prototypes,
25505 which can conflict with char $ac_func (); below.
25506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25507 <limits.h> exists even on freestanding compilers. */
25508
25509 #ifdef __STDC__
25510 # include <limits.h>
25511 #else
25512 # include <assert.h>
25513 #endif
25514
25515 #undef $ac_func
25516
25517 /* Override any gcc2 internal prototype to avoid an error. */
25518 #ifdef __cplusplus
25519 extern "C"
25520 {
25521 #endif
25522 /* We use char because int might match the return type of a gcc2
25523 builtin and then its argument prototype would still apply. */
25524 char $ac_func ();
25525 /* The GNU C library defines this for functions which it implements
25526 to always fail with ENOSYS. Some functions are actually named
25527 something starting with __ and the normal name is an alias. */
25528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25529 choke me
25530 #else
25531 char (*f) () = $ac_func;
25532 #endif
25533 #ifdef __cplusplus
25534 }
25535 #endif
25536
25537 int
25538 main ()
25539 {
25540 return f != $ac_func;
25541 ;
25542 return 0;
25543 }
25544 _ACEOF
25545 rm -f conftest.$ac_objext conftest$ac_exeext
25546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25547 (eval $ac_link) 2>conftest.er1
25548 ac_status=$?
25549 grep -v '^ *+' conftest.er1 >conftest.err
25550 rm -f conftest.er1
25551 cat conftest.err >&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } &&
25554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556 (eval $ac_try) 2>&5
25557 ac_status=$?
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); }; } &&
25560 { ac_try='test -s conftest$ac_exeext'
25561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562 (eval $ac_try) 2>&5
25563 ac_status=$?
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); }; }; then
25566 eval "$as_ac_var=yes"
25567 else
25568 echo "$as_me: failed program was:" >&5
25569 sed 's/^/| /' conftest.$ac_ext >&5
25570
25571 eval "$as_ac_var=no"
25572 fi
25573 rm -f conftest.err conftest.$ac_objext \
25574 conftest$ac_exeext conftest.$ac_ext
25575 fi
25576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25578 if test `eval echo '${'$as_ac_var'}'` = yes; then
25579 cat >>confdefs.h <<_ACEOF
25580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25581 _ACEOF
25582
25583 fi
25584 done
25585
25586 fi
25587
25588
25589
25590 if test "$wxUSE_REGEX" != "no"; then
25591 cat >>confdefs.h <<\_ACEOF
25592 #define wxUSE_REGEX 1
25593 _ACEOF
25594
25595
25596 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25597 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25598 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25599 wxUSE_REGEX=builtin
25600 fi
25601
25602 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25603 if test "${ac_cv_header_regex_h+set}" = set; then
25604 echo "$as_me:$LINENO: checking for regex.h" >&5
25605 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25606 if test "${ac_cv_header_regex_h+set}" = set; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 fi
25609 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25610 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25611 else
25612 # Is the header compilable?
25613 echo "$as_me:$LINENO: checking regex.h usability" >&5
25614 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25615 cat >conftest.$ac_ext <<_ACEOF
25616 /* confdefs.h. */
25617 _ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25621 $ac_includes_default
25622 #include <regex.h>
25623 _ACEOF
25624 rm -f conftest.$ac_objext
25625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25626 (eval $ac_compile) 2>conftest.er1
25627 ac_status=$?
25628 grep -v '^ *+' conftest.er1 >conftest.err
25629 rm -f conftest.er1
25630 cat conftest.err >&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } &&
25633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try='test -s conftest.$ac_objext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645 ac_header_compiler=yes
25646 else
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25649
25650 ac_header_compiler=no
25651 fi
25652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25654 echo "${ECHO_T}$ac_header_compiler" >&6
25655
25656 # Is the header present?
25657 echo "$as_me:$LINENO: checking regex.h presence" >&5
25658 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25659 cat >conftest.$ac_ext <<_ACEOF
25660 /* confdefs.h. */
25661 _ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 #include <regex.h>
25666 _ACEOF
25667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25669 ac_status=$?
25670 grep -v '^ *+' conftest.er1 >conftest.err
25671 rm -f conftest.er1
25672 cat conftest.err >&5
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); } >/dev/null; then
25675 if test -s conftest.err; then
25676 ac_cpp_err=$ac_cxx_preproc_warn_flag
25677 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25678 else
25679 ac_cpp_err=
25680 fi
25681 else
25682 ac_cpp_err=yes
25683 fi
25684 if test -z "$ac_cpp_err"; then
25685 ac_header_preproc=yes
25686 else
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.$ac_ext >&5
25689
25690 ac_header_preproc=no
25691 fi
25692 rm -f conftest.err conftest.$ac_ext
25693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25694 echo "${ECHO_T}$ac_header_preproc" >&6
25695
25696 # So? What about this header?
25697 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25698 yes:no: )
25699 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25700 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25701 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25702 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25703 ac_header_preproc=yes
25704 ;;
25705 no:yes:* )
25706 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25707 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25708 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25709 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25711 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25712 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25713 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25714 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25715 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25716 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25717 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25718 (
25719 cat <<\_ASBOX
25720 ## ----------------------------------------- ##
25721 ## Report this to wx-dev@lists.wxwidgets.org ##
25722 ## ----------------------------------------- ##
25723 _ASBOX
25724 ) |
25725 sed "s/^/$as_me: WARNING: /" >&2
25726 ;;
25727 esac
25728 echo "$as_me:$LINENO: checking for regex.h" >&5
25729 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25730 if test "${ac_cv_header_regex_h+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732 else
25733 ac_cv_header_regex_h=$ac_header_preproc
25734 fi
25735 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25736 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25737
25738 fi
25739 if test $ac_cv_header_regex_h = yes; then
25740
25741
25742 for ac_func in regcomp re_search
25743 do
25744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25745 echo "$as_me:$LINENO: checking for $ac_func" >&5
25746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25747 if eval "test \"\${$as_ac_var+set}\" = set"; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25750 cat >conftest.$ac_ext <<_ACEOF
25751 /* confdefs.h. */
25752 _ACEOF
25753 cat confdefs.h >>conftest.$ac_ext
25754 cat >>conftest.$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25758 #define $ac_func innocuous_$ac_func
25759
25760 /* System header to define __stub macros and hopefully few prototypes,
25761 which can conflict with char $ac_func (); below.
25762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25763 <limits.h> exists even on freestanding compilers. */
25764
25765 #ifdef __STDC__
25766 # include <limits.h>
25767 #else
25768 # include <assert.h>
25769 #endif
25770
25771 #undef $ac_func
25772
25773 /* Override any gcc2 internal prototype to avoid an error. */
25774 #ifdef __cplusplus
25775 extern "C"
25776 {
25777 #endif
25778 /* We use char because int might match the return type of a gcc2
25779 builtin and then its argument prototype would still apply. */
25780 char $ac_func ();
25781 /* The GNU C library defines this for functions which it implements
25782 to always fail with ENOSYS. Some functions are actually named
25783 something starting with __ and the normal name is an alias. */
25784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25785 choke me
25786 #else
25787 char (*f) () = $ac_func;
25788 #endif
25789 #ifdef __cplusplus
25790 }
25791 #endif
25792
25793 int
25794 main ()
25795 {
25796 return f != $ac_func;
25797 ;
25798 return 0;
25799 }
25800 _ACEOF
25801 rm -f conftest.$ac_objext conftest$ac_exeext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25803 (eval $ac_link) 2>conftest.er1
25804 ac_status=$?
25805 grep -v '^ *+' conftest.er1 >conftest.err
25806 rm -f conftest.er1
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } &&
25810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25812 (eval $ac_try) 2>&5
25813 ac_status=$?
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); }; } &&
25816 { ac_try='test -s conftest$ac_exeext'
25817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25818 (eval $ac_try) 2>&5
25819 ac_status=$?
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); }; }; then
25822 eval "$as_ac_var=yes"
25823 else
25824 echo "$as_me: failed program was:" >&5
25825 sed 's/^/| /' conftest.$ac_ext >&5
25826
25827 eval "$as_ac_var=no"
25828 fi
25829 rm -f conftest.err conftest.$ac_objext \
25830 conftest$ac_exeext conftest.$ac_ext
25831 fi
25832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25834 if test `eval echo '${'$as_ac_var'}'` = yes; then
25835 cat >>confdefs.h <<_ACEOF
25836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25837 _ACEOF
25838
25839 fi
25840 done
25841
25842 fi
25843
25844
25845
25846 if test "x$ac_cv_func_regcomp" != "xyes"; then
25847 if test "$wxUSE_REGEX" = "sys" ; then
25848 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25849 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25850 { (exit 1); exit 1; }; }
25851 else
25852 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25853 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25854 wxUSE_REGEX=builtin
25855 fi
25856 else
25857 wxUSE_REGEX=sys
25858 cat >>confdefs.h <<\_ACEOF
25859 #define WX_NO_REGEX_ADVANCED 1
25860 _ACEOF
25861
25862 fi
25863 fi
25864 fi
25865
25866
25867 ZLIB_LINK=
25868 if test "$wxUSE_ZLIB" != "no" ; then
25869 cat >>confdefs.h <<\_ACEOF
25870 #define wxUSE_ZLIB 1
25871 _ACEOF
25872
25873
25874 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25875 if test "$USE_DARWIN" = 1; then
25876 system_zlib_h_ok="yes"
25877 else
25878 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25879 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25880 if test "${ac_cv_header_zlib_h+set}" = set; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25882 else
25883 if test "$cross_compiling" = yes; then
25884 unset ac_cv_header_zlib_h
25885
25886 else
25887 cat >conftest.$ac_ext <<_ACEOF
25888 /* confdefs.h. */
25889 _ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25893
25894 #include <zlib.h>
25895 #include <stdio.h>
25896
25897 int main()
25898 {
25899 FILE *f=fopen("conftestval", "w");
25900 if (!f) exit(1);
25901 fprintf(f, "%s",
25902 ZLIB_VERSION[0] == '1' &&
25903 (ZLIB_VERSION[2] > '1' ||
25904 (ZLIB_VERSION[2] == '1' &&
25905 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25906 exit(0);
25907 }
25908
25909 _ACEOF
25910 rm -f conftest$ac_exeext
25911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25912 (eval $ac_link) 2>&5
25913 ac_status=$?
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; }; then
25921 ac_cv_header_zlib_h=`cat conftestval`
25922 else
25923 echo "$as_me: program exited with status $ac_status" >&5
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.$ac_ext >&5
25926
25927 ( exit $ac_status )
25928 ac_cv_header_zlib_h=no
25929 fi
25930 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25931 fi
25932
25933 fi
25934 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25935 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25936 if test "${ac_cv_header_zlib_h+set}" = set; then
25937 echo "$as_me:$LINENO: checking for zlib.h" >&5
25938 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25939 if test "${ac_cv_header_zlib_h+set}" = set; then
25940 echo $ECHO_N "(cached) $ECHO_C" >&6
25941 fi
25942 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25943 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25944 else
25945 # Is the header compilable?
25946 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25947 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25948 cat >conftest.$ac_ext <<_ACEOF
25949 /* confdefs.h. */
25950 _ACEOF
25951 cat confdefs.h >>conftest.$ac_ext
25952 cat >>conftest.$ac_ext <<_ACEOF
25953 /* end confdefs.h. */
25954 $ac_includes_default
25955 #include <zlib.h>
25956 _ACEOF
25957 rm -f conftest.$ac_objext
25958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25959 (eval $ac_compile) 2>conftest.er1
25960 ac_status=$?
25961 grep -v '^ *+' conftest.er1 >conftest.err
25962 rm -f conftest.er1
25963 cat conftest.err >&5
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); } &&
25966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25969 ac_status=$?
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try='test -s conftest.$ac_objext'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25975 ac_status=$?
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; }; then
25978 ac_header_compiler=yes
25979 else
25980 echo "$as_me: failed program was:" >&5
25981 sed 's/^/| /' conftest.$ac_ext >&5
25982
25983 ac_header_compiler=no
25984 fi
25985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25987 echo "${ECHO_T}$ac_header_compiler" >&6
25988
25989 # Is the header present?
25990 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25991 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25992 cat >conftest.$ac_ext <<_ACEOF
25993 /* confdefs.h. */
25994 _ACEOF
25995 cat confdefs.h >>conftest.$ac_ext
25996 cat >>conftest.$ac_ext <<_ACEOF
25997 /* end confdefs.h. */
25998 #include <zlib.h>
25999 _ACEOF
26000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26002 ac_status=$?
26003 grep -v '^ *+' conftest.er1 >conftest.err
26004 rm -f conftest.er1
26005 cat conftest.err >&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } >/dev/null; then
26008 if test -s conftest.err; then
26009 ac_cpp_err=$ac_cxx_preproc_warn_flag
26010 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26011 else
26012 ac_cpp_err=
26013 fi
26014 else
26015 ac_cpp_err=yes
26016 fi
26017 if test -z "$ac_cpp_err"; then
26018 ac_header_preproc=yes
26019 else
26020 echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26022
26023 ac_header_preproc=no
26024 fi
26025 rm -f conftest.err conftest.$ac_ext
26026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26027 echo "${ECHO_T}$ac_header_preproc" >&6
26028
26029 # So? What about this header?
26030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26031 yes:no: )
26032 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26033 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26034 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26035 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26036 ac_header_preproc=yes
26037 ;;
26038 no:yes:* )
26039 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26040 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26042 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26044 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26045 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26046 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26047 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26048 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26049 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26050 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26051 (
26052 cat <<\_ASBOX
26053 ## ----------------------------------------- ##
26054 ## Report this to wx-dev@lists.wxwidgets.org ##
26055 ## ----------------------------------------- ##
26056 _ASBOX
26057 ) |
26058 sed "s/^/$as_me: WARNING: /" >&2
26059 ;;
26060 esac
26061 echo "$as_me:$LINENO: checking for zlib.h" >&5
26062 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26063 if test "${ac_cv_header_zlib_h+set}" = set; then
26064 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 else
26066 ac_cv_header_zlib_h=$ac_header_preproc
26067 fi
26068 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26069 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26070
26071 fi
26072
26073
26074
26075 system_zlib_h_ok=$ac_cv_header_zlib_h
26076 fi
26077
26078 if test "$system_zlib_h_ok" = "yes"; then
26079 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26080 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26081 if test "${ac_cv_lib_z_deflate+set}" = set; then
26082 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 else
26084 ac_check_lib_save_LIBS=$LIBS
26085 LIBS="-lz $LIBS"
26086 cat >conftest.$ac_ext <<_ACEOF
26087 /* confdefs.h. */
26088 _ACEOF
26089 cat confdefs.h >>conftest.$ac_ext
26090 cat >>conftest.$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26092
26093 /* Override any gcc2 internal prototype to avoid an error. */
26094 #ifdef __cplusplus
26095 extern "C"
26096 #endif
26097 /* We use char because int might match the return type of a gcc2
26098 builtin and then its argument prototype would still apply. */
26099 char deflate ();
26100 int
26101 main ()
26102 {
26103 deflate ();
26104 ;
26105 return 0;
26106 }
26107 _ACEOF
26108 rm -f conftest.$ac_objext conftest$ac_exeext
26109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26110 (eval $ac_link) 2>conftest.er1
26111 ac_status=$?
26112 grep -v '^ *+' conftest.er1 >conftest.err
26113 rm -f conftest.er1
26114 cat conftest.err >&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); } &&
26117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26119 (eval $ac_try) 2>&5
26120 ac_status=$?
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); }; } &&
26123 { ac_try='test -s conftest$ac_exeext'
26124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26125 (eval $ac_try) 2>&5
26126 ac_status=$?
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); }; }; then
26129 ac_cv_lib_z_deflate=yes
26130 else
26131 echo "$as_me: failed program was:" >&5
26132 sed 's/^/| /' conftest.$ac_ext >&5
26133
26134 ac_cv_lib_z_deflate=no
26135 fi
26136 rm -f conftest.err conftest.$ac_objext \
26137 conftest$ac_exeext conftest.$ac_ext
26138 LIBS=$ac_check_lib_save_LIBS
26139 fi
26140 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26141 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26142 if test $ac_cv_lib_z_deflate = yes; then
26143 ZLIB_LINK=" -lz"
26144 fi
26145
26146 fi
26147
26148 if test "x$ZLIB_LINK" = "x" ; then
26149 if test "$wxUSE_ZLIB" = "sys" ; then
26150 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26151 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26152 { (exit 1); exit 1; }; }
26153 else
26154 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26155 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26156 wxUSE_ZLIB=builtin
26157 fi
26158 else
26159 wxUSE_ZLIB=sys
26160 fi
26161 fi
26162 fi
26163
26164
26165 PNG_LINK=
26166 if test "$wxUSE_LIBPNG" != "no" ; then
26167 cat >>confdefs.h <<\_ACEOF
26168 #define wxUSE_LIBPNG 1
26169 _ACEOF
26170
26171
26172 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26173 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26174 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26175 wxUSE_LIBPNG=sys
26176 fi
26177
26178 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26179 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26180 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26181 wxUSE_LIBPNG=builtin
26182 fi
26183
26184 if test "$wxUSE_MGL" != 1 ; then
26185 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26186 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26187 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26188 if test "${ac_cv_header_png_h+set}" = set; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26191 if test "$cross_compiling" = yes; then
26192 unset ac_cv_header_png_h
26193
26194 else
26195 cat >conftest.$ac_ext <<_ACEOF
26196 /* confdefs.h. */
26197 _ACEOF
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201
26202 #include <png.h>
26203 #include <stdio.h>
26204
26205 int main()
26206 {
26207 FILE *f=fopen("conftestval", "w");
26208 if (!f) exit(1);
26209 fprintf(f, "%s",
26210 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26211 exit(0);
26212 }
26213
26214 _ACEOF
26215 rm -f conftest$ac_exeext
26216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26217 (eval $ac_link) 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26222 (eval $ac_try) 2>&5
26223 ac_status=$?
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); }; }; then
26226 ac_cv_header_png_h=`cat conftestval`
26227 else
26228 echo "$as_me: program exited with status $ac_status" >&5
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232 ( exit $ac_status )
26233 ac_cv_header_png_h=no
26234 fi
26235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26236 fi
26237
26238 fi
26239 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26240 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26241 if test "${ac_cv_header_png_h+set}" = set; then
26242 echo "$as_me:$LINENO: checking for png.h" >&5
26243 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26244 if test "${ac_cv_header_png_h+set}" = set; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 fi
26247 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26248 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26249 else
26250 # Is the header compilable?
26251 echo "$as_me:$LINENO: checking png.h usability" >&5
26252 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26253 cat >conftest.$ac_ext <<_ACEOF
26254 /* confdefs.h. */
26255 _ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259 $ac_includes_default
26260 #include <png.h>
26261 _ACEOF
26262 rm -f conftest.$ac_objext
26263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26264 (eval $ac_compile) 2>conftest.er1
26265 ac_status=$?
26266 grep -v '^ *+' conftest.er1 >conftest.err
26267 rm -f conftest.er1
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } &&
26271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26274 ac_status=$?
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; } &&
26277 { ac_try='test -s conftest.$ac_objext'
26278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26279 (eval $ac_try) 2>&5
26280 ac_status=$?
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); }; }; then
26283 ac_header_compiler=yes
26284 else
26285 echo "$as_me: failed program was:" >&5
26286 sed 's/^/| /' conftest.$ac_ext >&5
26287
26288 ac_header_compiler=no
26289 fi
26290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26292 echo "${ECHO_T}$ac_header_compiler" >&6
26293
26294 # Is the header present?
26295 echo "$as_me:$LINENO: checking png.h presence" >&5
26296 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h. */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <png.h>
26304 _ACEOF
26305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26307 ac_status=$?
26308 grep -v '^ *+' conftest.er1 >conftest.err
26309 rm -f conftest.er1
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } >/dev/null; then
26313 if test -s conftest.err; then
26314 ac_cpp_err=$ac_cxx_preproc_warn_flag
26315 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26316 else
26317 ac_cpp_err=
26318 fi
26319 else
26320 ac_cpp_err=yes
26321 fi
26322 if test -z "$ac_cpp_err"; then
26323 ac_header_preproc=yes
26324 else
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26327
26328 ac_header_preproc=no
26329 fi
26330 rm -f conftest.err conftest.$ac_ext
26331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26332 echo "${ECHO_T}$ac_header_preproc" >&6
26333
26334 # So? What about this header?
26335 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26336 yes:no: )
26337 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26338 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26339 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26340 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26341 ac_header_preproc=yes
26342 ;;
26343 no:yes:* )
26344 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26345 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26347 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26349 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26350 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26351 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26352 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26353 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26354 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26355 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26356 (
26357 cat <<\_ASBOX
26358 ## ----------------------------------------- ##
26359 ## Report this to wx-dev@lists.wxwidgets.org ##
26360 ## ----------------------------------------- ##
26361 _ASBOX
26362 ) |
26363 sed "s/^/$as_me: WARNING: /" >&2
26364 ;;
26365 esac
26366 echo "$as_me:$LINENO: checking for png.h" >&5
26367 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26368 if test "${ac_cv_header_png_h+set}" = set; then
26369 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 else
26371 ac_cv_header_png_h=$ac_header_preproc
26372 fi
26373 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26374 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26375
26376 fi
26377
26378
26379
26380 if test "$ac_cv_header_png_h" = "yes"; then
26381 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26382 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26383 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26385 else
26386 ac_check_lib_save_LIBS=$LIBS
26387 LIBS="-lpng -lz -lm $LIBS"
26388 cat >conftest.$ac_ext <<_ACEOF
26389 /* confdefs.h. */
26390 _ACEOF
26391 cat confdefs.h >>conftest.$ac_ext
26392 cat >>conftest.$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394
26395 /* Override any gcc2 internal prototype to avoid an error. */
26396 #ifdef __cplusplus
26397 extern "C"
26398 #endif
26399 /* We use char because int might match the return type of a gcc2
26400 builtin and then its argument prototype would still apply. */
26401 char png_check_sig ();
26402 int
26403 main ()
26404 {
26405 png_check_sig ();
26406 ;
26407 return 0;
26408 }
26409 _ACEOF
26410 rm -f conftest.$ac_objext conftest$ac_exeext
26411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26412 (eval $ac_link) 2>conftest.er1
26413 ac_status=$?
26414 grep -v '^ *+' conftest.er1 >conftest.err
26415 rm -f conftest.er1
26416 cat conftest.err >&5
26417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26418 (exit $ac_status); } &&
26419 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26422 ac_status=$?
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try='test -s conftest$ac_exeext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26428 ac_status=$?
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 ac_cv_lib_png_png_check_sig=yes
26432 else
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436 ac_cv_lib_png_png_check_sig=no
26437 fi
26438 rm -f conftest.err conftest.$ac_objext \
26439 conftest$ac_exeext conftest.$ac_ext
26440 LIBS=$ac_check_lib_save_LIBS
26441 fi
26442 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26443 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26444 if test $ac_cv_lib_png_png_check_sig = yes; then
26445 PNG_LINK=" -lpng -lz"
26446 fi
26447
26448 fi
26449
26450 if test "x$PNG_LINK" = "x" ; then
26451 if test "$wxUSE_LIBPNG" = "sys" ; then
26452 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26453 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26454 { (exit 1); exit 1; }; }
26455 else
26456 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26457 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26458 wxUSE_LIBPNG=builtin
26459 fi
26460 else
26461 wxUSE_LIBPNG=sys
26462 fi
26463 fi
26464 fi
26465
26466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26467 fi
26468
26469
26470 JPEG_LINK=
26471 if test "$wxUSE_LIBJPEG" != "no" ; then
26472 cat >>confdefs.h <<\_ACEOF
26473 #define wxUSE_LIBJPEG 1
26474 _ACEOF
26475
26476
26477 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26478 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26479 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26480 wxUSE_LIBJPEG=sys
26481 fi
26482
26483 if test "$wxUSE_MGL" != 1 ; then
26484 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26485 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26486 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26487 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26488 echo $ECHO_N "(cached) $ECHO_C" >&6
26489 else
26490 cat >conftest.$ac_ext <<_ACEOF
26491 /* confdefs.h. */
26492 _ACEOF
26493 cat confdefs.h >>conftest.$ac_ext
26494 cat >>conftest.$ac_ext <<_ACEOF
26495 /* end confdefs.h. */
26496
26497 #undef HAVE_STDLIB_H
26498 #include <stdio.h>
26499 #include <jpeglib.h>
26500
26501 int
26502 main ()
26503 {
26504
26505
26506 ;
26507 return 0;
26508 }
26509 _ACEOF
26510 rm -f conftest.$ac_objext
26511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26512 (eval $ac_compile) 2>conftest.er1
26513 ac_status=$?
26514 grep -v '^ *+' conftest.er1 >conftest.err
26515 rm -f conftest.er1
26516 cat conftest.err >&5
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); } &&
26519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try='test -s conftest.$ac_objext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 ac_cv_header_jpeglib_h=yes
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26535
26536 ac_cv_header_jpeglib_h=no
26537
26538 fi
26539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26540
26541 fi
26542
26543 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26544 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26545
26546 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26547 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26548 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26549 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26550 echo $ECHO_N "(cached) $ECHO_C" >&6
26551 else
26552 ac_check_lib_save_LIBS=$LIBS
26553 LIBS="-ljpeg $LIBS"
26554 cat >conftest.$ac_ext <<_ACEOF
26555 /* confdefs.h. */
26556 _ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560
26561 /* Override any gcc2 internal prototype to avoid an error. */
26562 #ifdef __cplusplus
26563 extern "C"
26564 #endif
26565 /* We use char because int might match the return type of a gcc2
26566 builtin and then its argument prototype would still apply. */
26567 char jpeg_read_header ();
26568 int
26569 main ()
26570 {
26571 jpeg_read_header ();
26572 ;
26573 return 0;
26574 }
26575 _ACEOF
26576 rm -f conftest.$ac_objext conftest$ac_exeext
26577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26578 (eval $ac_link) 2>conftest.er1
26579 ac_status=$?
26580 grep -v '^ *+' conftest.er1 >conftest.err
26581 rm -f conftest.er1
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; } &&
26591 { ac_try='test -s conftest$ac_exeext'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26594 ac_status=$?
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; }; then
26597 ac_cv_lib_jpeg_jpeg_read_header=yes
26598 else
26599 echo "$as_me: failed program was:" >&5
26600 sed 's/^/| /' conftest.$ac_ext >&5
26601
26602 ac_cv_lib_jpeg_jpeg_read_header=no
26603 fi
26604 rm -f conftest.err conftest.$ac_objext \
26605 conftest$ac_exeext conftest.$ac_ext
26606 LIBS=$ac_check_lib_save_LIBS
26607 fi
26608 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26609 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26610 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26611 JPEG_LINK=" -ljpeg"
26612 fi
26613
26614 fi
26615
26616 if test "x$JPEG_LINK" = "x" ; then
26617 if test "$wxUSE_LIBJPEG" = "sys" ; then
26618 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26619 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26620 { (exit 1); exit 1; }; }
26621 else
26622 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26623 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26624 wxUSE_LIBJPEG=builtin
26625 fi
26626 else
26627 wxUSE_LIBJPEG=sys
26628 fi
26629 fi
26630 fi
26631 fi
26632
26633
26634 TIFF_LINK=
26635 TIFF_PREREQ_LINKS=-lm
26636 if test "$wxUSE_LIBTIFF" != "no" ; then
26637 cat >>confdefs.h <<\_ACEOF
26638 #define wxUSE_LIBTIFF 1
26639 _ACEOF
26640
26641
26642 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26643 if test "$wxUSE_LIBJPEG" = "sys"; then
26644 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26645 fi
26646 if test "$wxUSE_ZLIB" = "sys"; then
26647 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26648 fi
26649 if test "${ac_cv_header_tiffio_h+set}" = set; then
26650 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26651 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26652 if test "${ac_cv_header_tiffio_h+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 fi
26655 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26656 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26657 else
26658 # Is the header compilable?
26659 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26660 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26661 cat >conftest.$ac_ext <<_ACEOF
26662 /* confdefs.h. */
26663 _ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 $ac_includes_default
26668 #include <tiffio.h>
26669 _ACEOF
26670 rm -f conftest.$ac_objext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26672 (eval $ac_compile) 2>conftest.er1
26673 ac_status=$?
26674 grep -v '^ *+' conftest.er1 >conftest.err
26675 rm -f conftest.er1
26676 cat conftest.err >&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; } &&
26685 { ac_try='test -s conftest.$ac_objext'
26686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26687 (eval $ac_try) 2>&5
26688 ac_status=$?
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); }; }; then
26691 ac_header_compiler=yes
26692 else
26693 echo "$as_me: failed program was:" >&5
26694 sed 's/^/| /' conftest.$ac_ext >&5
26695
26696 ac_header_compiler=no
26697 fi
26698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26700 echo "${ECHO_T}$ac_header_compiler" >&6
26701
26702 # Is the header present?
26703 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26704 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26705 cat >conftest.$ac_ext <<_ACEOF
26706 /* confdefs.h. */
26707 _ACEOF
26708 cat confdefs.h >>conftest.$ac_ext
26709 cat >>conftest.$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26711 #include <tiffio.h>
26712 _ACEOF
26713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26715 ac_status=$?
26716 grep -v '^ *+' conftest.er1 >conftest.err
26717 rm -f conftest.er1
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } >/dev/null; then
26721 if test -s conftest.err; then
26722 ac_cpp_err=$ac_cxx_preproc_warn_flag
26723 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26724 else
26725 ac_cpp_err=
26726 fi
26727 else
26728 ac_cpp_err=yes
26729 fi
26730 if test -z "$ac_cpp_err"; then
26731 ac_header_preproc=yes
26732 else
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26735
26736 ac_header_preproc=no
26737 fi
26738 rm -f conftest.err conftest.$ac_ext
26739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26740 echo "${ECHO_T}$ac_header_preproc" >&6
26741
26742 # So? What about this header?
26743 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26744 yes:no: )
26745 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26746 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26747 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26748 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26749 ac_header_preproc=yes
26750 ;;
26751 no:yes:* )
26752 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26753 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26755 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26757 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26759 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26760 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26761 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26762 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26763 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26764 (
26765 cat <<\_ASBOX
26766 ## ----------------------------------------- ##
26767 ## Report this to wx-dev@lists.wxwidgets.org ##
26768 ## ----------------------------------------- ##
26769 _ASBOX
26770 ) |
26771 sed "s/^/$as_me: WARNING: /" >&2
26772 ;;
26773 esac
26774 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26775 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26776 if test "${ac_cv_header_tiffio_h+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 else
26779 ac_cv_header_tiffio_h=$ac_header_preproc
26780 fi
26781 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26782 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26783
26784 fi
26785 if test $ac_cv_header_tiffio_h = yes; then
26786
26787 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26788 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26789 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 else
26792 ac_check_lib_save_LIBS=$LIBS
26793 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26794 cat >conftest.$ac_ext <<_ACEOF
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800
26801 /* Override any gcc2 internal prototype to avoid an error. */
26802 #ifdef __cplusplus
26803 extern "C"
26804 #endif
26805 /* We use char because int might match the return type of a gcc2
26806 builtin and then its argument prototype would still apply. */
26807 char TIFFError ();
26808 int
26809 main ()
26810 {
26811 TIFFError ();
26812 ;
26813 return 0;
26814 }
26815 _ACEOF
26816 rm -f conftest.$ac_objext conftest$ac_exeext
26817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26818 (eval $ac_link) 2>conftest.er1
26819 ac_status=$?
26820 grep -v '^ *+' conftest.er1 >conftest.err
26821 rm -f conftest.er1
26822 cat conftest.err >&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); } &&
26825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; } &&
26831 { ac_try='test -s conftest$ac_exeext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26834 ac_status=$?
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837 ac_cv_lib_tiff_TIFFError=yes
26838 else
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26841
26842 ac_cv_lib_tiff_TIFFError=no
26843 fi
26844 rm -f conftest.err conftest.$ac_objext \
26845 conftest$ac_exeext conftest.$ac_ext
26846 LIBS=$ac_check_lib_save_LIBS
26847 fi
26848 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26849 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26850 if test $ac_cv_lib_tiff_TIFFError = yes; then
26851 TIFF_LINK=" -ltiff"
26852 fi
26853
26854
26855
26856 fi
26857
26858
26859
26860 if test "x$TIFF_LINK" = "x" ; then
26861 if test "$wxUSE_LIBTIFF" = "sys" ; then
26862 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26863 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26864 { (exit 1); exit 1; }; }
26865 else
26866 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26867 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26868 wxUSE_LIBTIFF=builtin
26869 fi
26870 else
26871 wxUSE_LIBTIFF=sys
26872 fi
26873 fi
26874 fi
26875
26876
26877 if test "$wxUSE_WCHAR_T" != "yes"; then
26878 if test "$wxUSE_EXPAT" != "no"; then
26879 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26880 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26881 wxUSE_EXPAT=no
26882 fi
26883 if test "$wxUSE_XML" != "no"; then
26884 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26885 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26886 wxUSE_XML=no
26887 fi
26888 fi
26889
26890 if test "$wxUSE_EXPAT" != "no"; then
26891 wxUSE_XML=yes
26892 cat >>confdefs.h <<\_ACEOF
26893 #define wxUSE_EXPAT 1
26894 _ACEOF
26895
26896 cat >>confdefs.h <<\_ACEOF
26897 #define wxUSE_XML 1
26898 _ACEOF
26899
26900
26901 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26902 if test "${ac_cv_header_expat_h+set}" = set; then
26903 echo "$as_me:$LINENO: checking for expat.h" >&5
26904 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26905 if test "${ac_cv_header_expat_h+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 fi
26908 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26909 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26910 else
26911 # Is the header compilable?
26912 echo "$as_me:$LINENO: checking expat.h usability" >&5
26913 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26914 cat >conftest.$ac_ext <<_ACEOF
26915 /* confdefs.h. */
26916 _ACEOF
26917 cat confdefs.h >>conftest.$ac_ext
26918 cat >>conftest.$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 $ac_includes_default
26921 #include <expat.h>
26922 _ACEOF
26923 rm -f conftest.$ac_objext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26925 (eval $ac_compile) 2>conftest.er1
26926 ac_status=$?
26927 grep -v '^ *+' conftest.er1 >conftest.err
26928 rm -f conftest.er1
26929 cat conftest.err >&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; } &&
26938 { ac_try='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 ac_header_compiler=yes
26945 else
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26948
26949 ac_header_compiler=no
26950 fi
26951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26953 echo "${ECHO_T}$ac_header_compiler" >&6
26954
26955 # Is the header present?
26956 echo "$as_me:$LINENO: checking expat.h presence" >&5
26957 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26958 cat >conftest.$ac_ext <<_ACEOF
26959 /* confdefs.h. */
26960 _ACEOF
26961 cat confdefs.h >>conftest.$ac_ext
26962 cat >>conftest.$ac_ext <<_ACEOF
26963 /* end confdefs.h. */
26964 #include <expat.h>
26965 _ACEOF
26966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26968 ac_status=$?
26969 grep -v '^ *+' conftest.er1 >conftest.err
26970 rm -f conftest.er1
26971 cat conftest.err >&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } >/dev/null; then
26974 if test -s conftest.err; then
26975 ac_cpp_err=$ac_cxx_preproc_warn_flag
26976 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26977 else
26978 ac_cpp_err=
26979 fi
26980 else
26981 ac_cpp_err=yes
26982 fi
26983 if test -z "$ac_cpp_err"; then
26984 ac_header_preproc=yes
26985 else
26986 echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.$ac_ext >&5
26988
26989 ac_header_preproc=no
26990 fi
26991 rm -f conftest.err conftest.$ac_ext
26992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26993 echo "${ECHO_T}$ac_header_preproc" >&6
26994
26995 # So? What about this header?
26996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26997 yes:no: )
26998 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26999 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27000 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27001 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27002 ac_header_preproc=yes
27003 ;;
27004 no:yes:* )
27005 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27006 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27008 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27010 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27012 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27013 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27014 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27015 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27016 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27017 (
27018 cat <<\_ASBOX
27019 ## ----------------------------------------- ##
27020 ## Report this to wx-dev@lists.wxwidgets.org ##
27021 ## ----------------------------------------- ##
27022 _ASBOX
27023 ) |
27024 sed "s/^/$as_me: WARNING: /" >&2
27025 ;;
27026 esac
27027 echo "$as_me:$LINENO: checking for expat.h" >&5
27028 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27029 if test "${ac_cv_header_expat_h+set}" = set; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27031 else
27032 ac_cv_header_expat_h=$ac_header_preproc
27033 fi
27034 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27035 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27036
27037 fi
27038 if test $ac_cv_header_expat_h = yes; then
27039 found_expat_h=1
27040 fi
27041
27042
27043 if test "x$found_expat_h" = "x1"; then
27044 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27045 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27046 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27047 echo $ECHO_N "(cached) $ECHO_C" >&6
27048 else
27049
27050 cat >conftest.$ac_ext <<_ACEOF
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <expat.h>
27057 int
27058 main ()
27059 {
27060
27061 ;
27062 return 0;
27063 }
27064 _ACEOF
27065 rm -f conftest.$ac_objext
27066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27067 (eval $ac_compile) 2>conftest.er1
27068 ac_status=$?
27069 grep -v '^ *+' conftest.er1 >conftest.err
27070 rm -f conftest.er1
27071 cat conftest.err >&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } &&
27074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27077 ac_status=$?
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; } &&
27080 { ac_try='test -s conftest.$ac_objext'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27083 ac_status=$?
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; }; then
27086 wx_cv_expat_is_not_broken=yes
27087 else
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.$ac_ext >&5
27090
27091 wx_cv_expat_is_not_broken=no
27092
27093 fi
27094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27095
27096
27097 fi
27098 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27099 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27100 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27101 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27102 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27103 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27104 echo $ECHO_N "(cached) $ECHO_C" >&6
27105 else
27106 ac_check_lib_save_LIBS=$LIBS
27107 LIBS="-lexpat $LIBS"
27108 cat >conftest.$ac_ext <<_ACEOF
27109 /* confdefs.h. */
27110 _ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27114
27115 /* Override any gcc2 internal prototype to avoid an error. */
27116 #ifdef __cplusplus
27117 extern "C"
27118 #endif
27119 /* We use char because int might match the return type of a gcc2
27120 builtin and then its argument prototype would still apply. */
27121 char XML_ParserCreate ();
27122 int
27123 main ()
27124 {
27125 XML_ParserCreate ();
27126 ;
27127 return 0;
27128 }
27129 _ACEOF
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27132 (eval $ac_link) 2>conftest.er1
27133 ac_status=$?
27134 grep -v '^ *+' conftest.er1 >conftest.err
27135 rm -f conftest.er1
27136 cat conftest.err >&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); } &&
27139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141 (eval $ac_try) 2>&5
27142 ac_status=$?
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); }; } &&
27145 { ac_try='test -s conftest$ac_exeext'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27148 ac_status=$?
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; }; then
27151 ac_cv_lib_expat_XML_ParserCreate=yes
27152 else
27153 echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.$ac_ext >&5
27155
27156 ac_cv_lib_expat_XML_ParserCreate=no
27157 fi
27158 rm -f conftest.err conftest.$ac_objext \
27159 conftest$ac_exeext conftest.$ac_ext
27160 LIBS=$ac_check_lib_save_LIBS
27161 fi
27162 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27163 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27164 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27165 EXPAT_LINK=" -lexpat"
27166 fi
27167
27168 fi
27169 fi
27170 if test "x$EXPAT_LINK" = "x" ; then
27171 if test "$wxUSE_EXPAT" = "sys" ; then
27172 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27173 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27174 { (exit 1); exit 1; }; }
27175 else
27176 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27177 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27178 wxUSE_EXPAT=builtin
27179 fi
27180 else
27181 wxUSE_EXPAT=sys
27182 fi
27183 fi
27184 if test "$wxUSE_EXPAT" = "builtin" ; then
27185
27186
27187 subdirs="$subdirs src/expat"
27188
27189 fi
27190 fi
27191
27192
27193
27194 if test "$wxUSE_LIBMSPACK" != "no"; then
27195 if test "${ac_cv_header_mspack_h+set}" = set; then
27196 echo "$as_me:$LINENO: checking for mspack.h" >&5
27197 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27198 if test "${ac_cv_header_mspack_h+set}" = set; then
27199 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 fi
27201 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27202 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27203 else
27204 # Is the header compilable?
27205 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27206 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27207 cat >conftest.$ac_ext <<_ACEOF
27208 /* confdefs.h. */
27209 _ACEOF
27210 cat confdefs.h >>conftest.$ac_ext
27211 cat >>conftest.$ac_ext <<_ACEOF
27212 /* end confdefs.h. */
27213 $ac_includes_default
27214 #include <mspack.h>
27215 _ACEOF
27216 rm -f conftest.$ac_objext
27217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27218 (eval $ac_compile) 2>conftest.er1
27219 ac_status=$?
27220 grep -v '^ *+' conftest.er1 >conftest.err
27221 rm -f conftest.er1
27222 cat conftest.err >&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); } &&
27225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27228 ac_status=$?
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; } &&
27231 { ac_try='test -s conftest.$ac_objext'
27232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27233 (eval $ac_try) 2>&5
27234 ac_status=$?
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); }; }; then
27237 ac_header_compiler=yes
27238 else
27239 echo "$as_me: failed program was:" >&5
27240 sed 's/^/| /' conftest.$ac_ext >&5
27241
27242 ac_header_compiler=no
27243 fi
27244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27246 echo "${ECHO_T}$ac_header_compiler" >&6
27247
27248 # Is the header present?
27249 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27250 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27251 cat >conftest.$ac_ext <<_ACEOF
27252 /* confdefs.h. */
27253 _ACEOF
27254 cat confdefs.h >>conftest.$ac_ext
27255 cat >>conftest.$ac_ext <<_ACEOF
27256 /* end confdefs.h. */
27257 #include <mspack.h>
27258 _ACEOF
27259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27261 ac_status=$?
27262 grep -v '^ *+' conftest.er1 >conftest.err
27263 rm -f conftest.er1
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } >/dev/null; then
27267 if test -s conftest.err; then
27268 ac_cpp_err=$ac_cxx_preproc_warn_flag
27269 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27270 else
27271 ac_cpp_err=
27272 fi
27273 else
27274 ac_cpp_err=yes
27275 fi
27276 if test -z "$ac_cpp_err"; then
27277 ac_header_preproc=yes
27278 else
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27281
27282 ac_header_preproc=no
27283 fi
27284 rm -f conftest.err conftest.$ac_ext
27285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27286 echo "${ECHO_T}$ac_header_preproc" >&6
27287
27288 # So? What about this header?
27289 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27290 yes:no: )
27291 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27292 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27293 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27294 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27295 ac_header_preproc=yes
27296 ;;
27297 no:yes:* )
27298 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27299 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27301 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27303 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27304 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27305 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27306 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27307 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27308 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27309 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27310 (
27311 cat <<\_ASBOX
27312 ## ----------------------------------------- ##
27313 ## Report this to wx-dev@lists.wxwidgets.org ##
27314 ## ----------------------------------------- ##
27315 _ASBOX
27316 ) |
27317 sed "s/^/$as_me: WARNING: /" >&2
27318 ;;
27319 esac
27320 echo "$as_me:$LINENO: checking for mspack.h" >&5
27321 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27322 if test "${ac_cv_header_mspack_h+set}" = set; then
27323 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 else
27325 ac_cv_header_mspack_h=$ac_header_preproc
27326 fi
27327 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27328 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27329
27330 fi
27331 if test $ac_cv_header_mspack_h = yes; then
27332 found_mspack_h=1
27333 fi
27334
27335
27336 if test "x$found_mspack_h" = "x1"; then
27337 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27338 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27339 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 else
27342 ac_check_lib_save_LIBS=$LIBS
27343 LIBS="-lmspack $LIBS"
27344 cat >conftest.$ac_ext <<_ACEOF
27345 /* confdefs.h. */
27346 _ACEOF
27347 cat confdefs.h >>conftest.$ac_ext
27348 cat >>conftest.$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27350
27351 /* Override any gcc2 internal prototype to avoid an error. */
27352 #ifdef __cplusplus
27353 extern "C"
27354 #endif
27355 /* We use char because int might match the return type of a gcc2
27356 builtin and then its argument prototype would still apply. */
27357 char mspack_create_chm_decompressor ();
27358 int
27359 main ()
27360 {
27361 mspack_create_chm_decompressor ();
27362 ;
27363 return 0;
27364 }
27365 _ACEOF
27366 rm -f conftest.$ac_objext conftest$ac_exeext
27367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27368 (eval $ac_link) 2>conftest.er1
27369 ac_status=$?
27370 grep -v '^ *+' conftest.er1 >conftest.err
27371 rm -f conftest.er1
27372 cat conftest.err >&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } &&
27375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377 (eval $ac_try) 2>&5
27378 ac_status=$?
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; } &&
27381 { ac_try='test -s conftest$ac_exeext'
27382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27383 (eval $ac_try) 2>&5
27384 ac_status=$?
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); }; }; then
27387 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27388 else
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.$ac_ext >&5
27391
27392 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27393 fi
27394 rm -f conftest.err conftest.$ac_objext \
27395 conftest$ac_exeext conftest.$ac_ext
27396 LIBS=$ac_check_lib_save_LIBS
27397 fi
27398 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27399 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27400 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27401 MSPACK_LINK=" -lmspack"
27402 fi
27403
27404 fi
27405 if test "x$MSPACK_LINK" = "x" ; then
27406 wxUSE_LIBMSPACK=no
27407 fi
27408 fi
27409
27410 if test "$wxUSE_LIBMSPACK" != "no"; then
27411 cat >>confdefs.h <<\_ACEOF
27412 #define wxUSE_LIBMSPACK 1
27413 _ACEOF
27414
27415 fi
27416
27417
27418
27419 AFMINSTALL=
27420 WIN32INSTALL=
27421
27422 TOOLKIT=
27423 TOOLKIT_INCLUDE=
27424 WIDGET_SET=
27425
27426 if test "$USE_WIN32" = 1 ; then
27427
27428 for ac_header in w32api.h
27429 do
27430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27432 echo "$as_me:$LINENO: checking for $ac_header" >&5
27433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 fi
27437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27439 else
27440 # Is the header compilable?
27441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27443 cat >conftest.$ac_ext <<_ACEOF
27444 /* confdefs.h. */
27445 _ACEOF
27446 cat confdefs.h >>conftest.$ac_ext
27447 cat >>conftest.$ac_ext <<_ACEOF
27448 /* end confdefs.h. */
27449 $ac_includes_default
27450 #include <$ac_header>
27451 _ACEOF
27452 rm -f conftest.$ac_objext
27453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27454 (eval $ac_compile) 2>conftest.er1
27455 ac_status=$?
27456 grep -v '^ *+' conftest.er1 >conftest.err
27457 rm -f conftest.er1
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } &&
27461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 (eval $ac_try) 2>&5
27464 ac_status=$?
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; } &&
27467 { ac_try='test -s conftest.$ac_objext'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27470 ac_status=$?
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; }; then
27473 ac_header_compiler=yes
27474 else
27475 echo "$as_me: failed program was:" >&5
27476 sed 's/^/| /' conftest.$ac_ext >&5
27477
27478 ac_header_compiler=no
27479 fi
27480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27482 echo "${ECHO_T}$ac_header_compiler" >&6
27483
27484 # Is the header present?
27485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27487 cat >conftest.$ac_ext <<_ACEOF
27488 /* confdefs.h. */
27489 _ACEOF
27490 cat confdefs.h >>conftest.$ac_ext
27491 cat >>conftest.$ac_ext <<_ACEOF
27492 /* end confdefs.h. */
27493 #include <$ac_header>
27494 _ACEOF
27495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27497 ac_status=$?
27498 grep -v '^ *+' conftest.er1 >conftest.err
27499 rm -f conftest.er1
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } >/dev/null; then
27503 if test -s conftest.err; then
27504 ac_cpp_err=$ac_cxx_preproc_warn_flag
27505 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27506 else
27507 ac_cpp_err=
27508 fi
27509 else
27510 ac_cpp_err=yes
27511 fi
27512 if test -z "$ac_cpp_err"; then
27513 ac_header_preproc=yes
27514 else
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.$ac_ext >&5
27517
27518 ac_header_preproc=no
27519 fi
27520 rm -f conftest.err conftest.$ac_ext
27521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27522 echo "${ECHO_T}$ac_header_preproc" >&6
27523
27524 # So? What about this header?
27525 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27526 yes:no: )
27527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27531 ac_header_preproc=yes
27532 ;;
27533 no:yes:* )
27534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27546 (
27547 cat <<\_ASBOX
27548 ## ----------------------------------------- ##
27549 ## Report this to wx-dev@lists.wxwidgets.org ##
27550 ## ----------------------------------------- ##
27551 _ASBOX
27552 ) |
27553 sed "s/^/$as_me: WARNING: /" >&2
27554 ;;
27555 esac
27556 echo "$as_me:$LINENO: checking for $ac_header" >&5
27557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27559 echo $ECHO_N "(cached) $ECHO_C" >&6
27560 else
27561 eval "$as_ac_Header=\$ac_header_preproc"
27562 fi
27563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27565
27566 fi
27567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27568 cat >>confdefs.h <<_ACEOF
27569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27570 _ACEOF
27571
27572 fi
27573
27574 done
27575
27576 if test "${ac_cv_header_windows_h+set}" = set; then
27577 echo "$as_me:$LINENO: checking for windows.h" >&5
27578 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27579 if test "${ac_cv_header_windows_h+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 fi
27582 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27583 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27584 else
27585 # Is the header compilable?
27586 echo "$as_me:$LINENO: checking windows.h usability" >&5
27587 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 $ac_includes_default
27595 #include <windows.h>
27596 _ACEOF
27597 rm -f conftest.$ac_objext
27598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27599 (eval $ac_compile) 2>conftest.er1
27600 ac_status=$?
27601 grep -v '^ *+' conftest.er1 >conftest.err
27602 rm -f conftest.er1
27603 cat conftest.err >&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); } &&
27606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27608 (eval $ac_try) 2>&5
27609 ac_status=$?
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); }; } &&
27612 { ac_try='test -s conftest.$ac_objext'
27613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27614 (eval $ac_try) 2>&5
27615 ac_status=$?
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); }; }; then
27618 ac_header_compiler=yes
27619 else
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27622
27623 ac_header_compiler=no
27624 fi
27625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27627 echo "${ECHO_T}$ac_header_compiler" >&6
27628
27629 # Is the header present?
27630 echo "$as_me:$LINENO: checking windows.h presence" >&5
27631 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27632 cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h. */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27638 #include <windows.h>
27639 _ACEOF
27640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27642 ac_status=$?
27643 grep -v '^ *+' conftest.er1 >conftest.err
27644 rm -f conftest.er1
27645 cat conftest.err >&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } >/dev/null; then
27648 if test -s conftest.err; then
27649 ac_cpp_err=$ac_cxx_preproc_warn_flag
27650 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27651 else
27652 ac_cpp_err=
27653 fi
27654 else
27655 ac_cpp_err=yes
27656 fi
27657 if test -z "$ac_cpp_err"; then
27658 ac_header_preproc=yes
27659 else
27660 echo "$as_me: failed program was:" >&5
27661 sed 's/^/| /' conftest.$ac_ext >&5
27662
27663 ac_header_preproc=no
27664 fi
27665 rm -f conftest.err conftest.$ac_ext
27666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27667 echo "${ECHO_T}$ac_header_preproc" >&6
27668
27669 # So? What about this header?
27670 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27671 yes:no: )
27672 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27673 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27674 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27675 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27676 ac_header_preproc=yes
27677 ;;
27678 no:yes:* )
27679 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27680 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27682 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27684 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27685 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27686 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27687 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27688 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27689 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27690 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27691 (
27692 cat <<\_ASBOX
27693 ## ----------------------------------------- ##
27694 ## Report this to wx-dev@lists.wxwidgets.org ##
27695 ## ----------------------------------------- ##
27696 _ASBOX
27697 ) |
27698 sed "s/^/$as_me: WARNING: /" >&2
27699 ;;
27700 esac
27701 echo "$as_me:$LINENO: checking for windows.h" >&5
27702 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27703 if test "${ac_cv_header_windows_h+set}" = set; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 else
27706 ac_cv_header_windows_h=$ac_header_preproc
27707 fi
27708 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27709 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27710
27711 fi
27712 if test $ac_cv_header_windows_h = yes; then
27713 :
27714 else
27715
27716 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27717 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27718 { (exit 1); exit 1; }; }
27719
27720 fi
27721
27722
27723
27724 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27725
27726 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27727 LIBS="$LIBS -loleacc"
27728 fi
27729
27730 case "${host}" in
27731 *-*-cygwin* )
27732 LIBS="$LIBS -lkernel32 -luser32"
27733 esac
27734
27735 if test "$wxUSE_ODBC" = "sys" ; then
27736 wxUSE_ODBC = "yes"
27737 fi
27738 if test "$wxUSE_ODBC" = "yes" ; then
27739 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27740 cat >>confdefs.h <<\_ACEOF
27741 #define wxUSE_ODBC 1
27742 _ACEOF
27743
27744 fi
27745
27746 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27747 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27748
27749 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27750
27751 WIN32INSTALL=win32install
27752
27753 echo "$as_me:$LINENO: checking for boolean" >&5
27754 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27755 if test "${ac_cv_type_boolean+set}" = set; then
27756 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 else
27758 cat >conftest.$ac_ext <<_ACEOF
27759 /* confdefs.h. */
27760 _ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27764 #include <windows.h>
27765
27766 int
27767 main ()
27768 {
27769 if ((boolean *) 0)
27770 return 0;
27771 if (sizeof (boolean))
27772 return 0;
27773 ;
27774 return 0;
27775 }
27776 _ACEOF
27777 rm -f conftest.$ac_objext
27778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27779 (eval $ac_compile) 2>conftest.er1
27780 ac_status=$?
27781 grep -v '^ *+' conftest.er1 >conftest.err
27782 rm -f conftest.er1
27783 cat conftest.err >&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } &&
27786 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27789 ac_status=$?
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; } &&
27792 { ac_try='test -s conftest.$ac_objext'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27795 ac_status=$?
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; }; then
27798 ac_cv_type_boolean=yes
27799 else
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.$ac_ext >&5
27802
27803 ac_cv_type_boolean=no
27804 fi
27805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27806 fi
27807 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27808 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27809 if test $ac_cv_type_boolean = yes; then
27810
27811 cat >>confdefs.h <<_ACEOF
27812 #define HAVE_BOOLEAN 1
27813 _ACEOF
27814
27815
27816 fi
27817
27818
27819
27820 for ac_header in pbt.h
27821 do
27822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27824 echo "$as_me:$LINENO: checking for $ac_header" >&5
27825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27827 echo $ECHO_N "(cached) $ECHO_C" >&6
27828 fi
27829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27831 else
27832 # Is the header compilable?
27833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27835 cat >conftest.$ac_ext <<_ACEOF
27836 /* confdefs.h. */
27837 _ACEOF
27838 cat confdefs.h >>conftest.$ac_ext
27839 cat >>conftest.$ac_ext <<_ACEOF
27840 /* end confdefs.h. */
27841 $ac_includes_default
27842 #include <$ac_header>
27843 _ACEOF
27844 rm -f conftest.$ac_objext
27845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27846 (eval $ac_compile) 2>conftest.er1
27847 ac_status=$?
27848 grep -v '^ *+' conftest.er1 >conftest.err
27849 rm -f conftest.er1
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); } &&
27853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855 (eval $ac_try) 2>&5
27856 ac_status=$?
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; } &&
27859 { ac_try='test -s conftest.$ac_objext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27862 ac_status=$?
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27865 ac_header_compiler=yes
27866 else
27867 echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27869
27870 ac_header_compiler=no
27871 fi
27872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27874 echo "${ECHO_T}$ac_header_compiler" >&6
27875
27876 # Is the header present?
27877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27879 cat >conftest.$ac_ext <<_ACEOF
27880 /* confdefs.h. */
27881 _ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 #include <$ac_header>
27886 _ACEOF
27887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27889 ac_status=$?
27890 grep -v '^ *+' conftest.er1 >conftest.err
27891 rm -f conftest.er1
27892 cat conftest.err >&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); } >/dev/null; then
27895 if test -s conftest.err; then
27896 ac_cpp_err=$ac_cxx_preproc_warn_flag
27897 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27898 else
27899 ac_cpp_err=
27900 fi
27901 else
27902 ac_cpp_err=yes
27903 fi
27904 if test -z "$ac_cpp_err"; then
27905 ac_header_preproc=yes
27906 else
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.$ac_ext >&5
27909
27910 ac_header_preproc=no
27911 fi
27912 rm -f conftest.err conftest.$ac_ext
27913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27914 echo "${ECHO_T}$ac_header_preproc" >&6
27915
27916 # So? What about this header?
27917 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27918 yes:no: )
27919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27923 ac_header_preproc=yes
27924 ;;
27925 no:yes:* )
27926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27938 (
27939 cat <<\_ASBOX
27940 ## ----------------------------------------- ##
27941 ## Report this to wx-dev@lists.wxwidgets.org ##
27942 ## ----------------------------------------- ##
27943 _ASBOX
27944 ) |
27945 sed "s/^/$as_me: WARNING: /" >&2
27946 ;;
27947 esac
27948 echo "$as_me:$LINENO: checking for $ac_header" >&5
27949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27951 echo $ECHO_N "(cached) $ECHO_C" >&6
27952 else
27953 eval "$as_ac_Header=\$ac_header_preproc"
27954 fi
27955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27957
27958 fi
27959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27960 cat >>confdefs.h <<_ACEOF
27961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27962 _ACEOF
27963
27964 else
27965 cat >>confdefs.h <<\_ACEOF
27966 #define NEED_PBT_H 1
27967 _ACEOF
27968
27969 fi
27970
27971 done
27972
27973 fi
27974
27975 if test "$wxUSE_GUI" = "yes"; then
27976 USE_GUI=1
27977
27978 GUI_TK_LIBRARY=
27979
27980 WXGTK12=
27981 WXGTK127=
27982 WXGTK20=
27983 WXGPE=
27984
27985 if test "$wxUSE_COCOA" = 1 ; then
27986 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27987 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27988 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27989 wxUSE_PRINTING_ARCHITECTURE=no
27990 fi
27991 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27992 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27993 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27994 wxUSE_DRAG_AND_DROP=no
27995 fi
27996 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27997 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27998 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27999 wxUSE_DRAGIMAGE=no
28000 fi
28001 fi
28002
28003 if test "$wxUSE_MSW" = 1 ; then
28004 TOOLKIT=MSW
28005 GUIDIST=MSW_DIST
28006
28007 case "${host}" in
28008 *-*-mingw32* )
28009 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28010 esac
28011 fi
28012
28013 if test "$wxUSE_GTK" = 1; then
28014 ac_ext=c
28015 ac_cpp='$CPP $CPPFLAGS'
28016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28019
28020
28021 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28022 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28023
28024 gtk_version_cached=1
28025 if test "${wx_cv_lib_gtk+set}" = set; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28027 else
28028
28029 gtk_version_cached=0
28030 echo "$as_me:$LINENO: result: " >&5
28031 echo "${ECHO_T}" >&6
28032
28033 GTK_MODULES=
28034 if test "$wxUSE_THREADS" = "yes"; then
28035 GTK_MODULES=gthread
28036 fi
28037
28038 wx_cv_lib_gtk=
28039 if test "x$wxGTK_VERSION" != "x1"
28040 then
28041 case "${host}" in
28042 *-*-solaris2* )
28043 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28044 enable_gtktest=no
28045 fi
28046 esac
28047
28048 # Check whether --enable-gtktest or --disable-gtktest was given.
28049 if test "${enable_gtktest+set}" = set; then
28050 enableval="$enable_gtktest"
28051
28052 else
28053 enable_gtktest=yes
28054 fi;
28055
28056 pkg_config_args=gtk+-2.0
28057 for module in . $GTK_MODULES
28058 do
28059 case "$module" in
28060 gthread)
28061 pkg_config_args="$pkg_config_args gthread-2.0"
28062 ;;
28063 esac
28064 done
28065
28066 no_gtk=""
28067
28068 # Extract the first word of "pkg-config", so it can be a program name with args.
28069 set dummy pkg-config; ac_word=$2
28070 echo "$as_me:$LINENO: checking for $ac_word" >&5
28071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28072 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28073 echo $ECHO_N "(cached) $ECHO_C" >&6
28074 else
28075 case $PKG_CONFIG in
28076 [\\/]* | ?:[\\/]*)
28077 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28078 ;;
28079 *)
28080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28081 for as_dir in $PATH
28082 do
28083 IFS=$as_save_IFS
28084 test -z "$as_dir" && as_dir=.
28085 for ac_exec_ext in '' $ac_executable_extensions; do
28086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28087 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28089 break 2
28090 fi
28091 done
28092 done
28093
28094 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28095 ;;
28096 esac
28097 fi
28098 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28099
28100 if test -n "$PKG_CONFIG"; then
28101 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28102 echo "${ECHO_T}$PKG_CONFIG" >&6
28103 else
28104 echo "$as_me:$LINENO: result: no" >&5
28105 echo "${ECHO_T}no" >&6
28106 fi
28107
28108
28109 if test x$PKG_CONFIG != xno ; then
28110 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28111 :
28112 else
28113 echo "*** pkg-config too old; version 0.7 or better required."
28114 no_gtk=yes
28115 PKG_CONFIG=no
28116 fi
28117 else
28118 no_gtk=yes
28119 fi
28120
28121 min_gtk_version=2.0.0
28122 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28123 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28124
28125 if test x$PKG_CONFIG != xno ; then
28126 ## don't try to run the test against uninstalled libtool libs
28127 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28128 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28129 enable_gtktest=no
28130 fi
28131
28132 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28133 :
28134 else
28135 no_gtk=yes
28136 fi
28137 fi
28138
28139 if test x"$no_gtk" = x ; then
28140 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28141 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28142 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28144 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28146 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28148 if test "x$enable_gtktest" = "xyes" ; then
28149 ac_save_CFLAGS="$CFLAGS"
28150 ac_save_LIBS="$LIBS"
28151 CFLAGS="$CFLAGS $GTK_CFLAGS"
28152 LIBS="$GTK_LIBS $LIBS"
28153 rm -f conf.gtktest
28154 if test "$cross_compiling" = yes; then
28155 echo $ac_n "cross compiling; assumed OK... $ac_c"
28156 else
28157 cat >conftest.$ac_ext <<_ACEOF
28158 /* confdefs.h. */
28159 _ACEOF
28160 cat confdefs.h >>conftest.$ac_ext
28161 cat >>conftest.$ac_ext <<_ACEOF
28162 /* end confdefs.h. */
28163
28164 #include <gtk/gtk.h>
28165 #include <stdio.h>
28166 #include <stdlib.h>
28167
28168 int
28169 main ()
28170 {
28171 int major, minor, micro;
28172 char *tmp_version;
28173
28174 system ("touch conf.gtktest");
28175
28176 /* HP/UX 9 (%@#!) writes to sscanf strings */
28177 tmp_version = g_strdup("$min_gtk_version");
28178 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28179 printf("%s, bad version string\n", "$min_gtk_version");
28180 exit(1);
28181 }
28182
28183 if ((gtk_major_version != $gtk_config_major_version) ||
28184 (gtk_minor_version != $gtk_config_minor_version) ||
28185 (gtk_micro_version != $gtk_config_micro_version))
28186 {
28187 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28188 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28189 gtk_major_version, gtk_minor_version, gtk_micro_version);
28190 printf ("*** was found! If pkg-config was correct, then it is best\n");
28191 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28192 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28193 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28194 printf("*** required on your system.\n");
28195 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28196 printf("*** to point to the correct configuration files\n");
28197 }
28198 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28199 (gtk_minor_version != GTK_MINOR_VERSION) ||
28200 (gtk_micro_version != GTK_MICRO_VERSION))
28201 {
28202 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28203 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28204 printf("*** library (version %d.%d.%d)\n",
28205 gtk_major_version, gtk_minor_version, gtk_micro_version);
28206 }
28207 else
28208 {
28209 if ((gtk_major_version > major) ||
28210 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28211 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28212 {
28213 return 0;
28214 }
28215 else
28216 {
28217 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28218 gtk_major_version, gtk_minor_version, gtk_micro_version);
28219 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28220 major, minor, micro);
28221 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28222 printf("***\n");
28223 printf("*** If you have already installed a sufficiently new version, this error\n");
28224 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28225 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28226 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28227 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28228 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28229 printf("*** so that the correct libraries are found at run-time))\n");
28230 }
28231 }
28232 return 1;
28233 }
28234
28235 _ACEOF
28236 rm -f conftest$ac_exeext
28237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28238 (eval $ac_link) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28243 (eval $ac_try) 2>&5
28244 ac_status=$?
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); }; }; then
28247 :
28248 else
28249 echo "$as_me: program exited with status $ac_status" >&5
28250 echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.$ac_ext >&5
28252
28253 ( exit $ac_status )
28254 no_gtk=yes
28255 fi
28256 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28257 fi
28258 CFLAGS="$ac_save_CFLAGS"
28259 LIBS="$ac_save_LIBS"
28260 fi
28261 fi
28262 if test "x$no_gtk" = x ; then
28263 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28264 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28265 wx_cv_lib_gtk=2.0
28266 else
28267 echo "$as_me:$LINENO: result: no" >&5
28268 echo "${ECHO_T}no" >&6
28269 if test "$PKG_CONFIG" = "no" ; then
28270 echo "*** A new enough version of pkg-config was not found."
28271 echo "*** See http://pkgconfig.sourceforge.net"
28272 else
28273 if test -f conf.gtktest ; then
28274 :
28275 else
28276 echo "*** Could not run GTK+ test program, checking why..."
28277 ac_save_CFLAGS="$CFLAGS"
28278 ac_save_LIBS="$LIBS"
28279 CFLAGS="$CFLAGS $GTK_CFLAGS"
28280 LIBS="$LIBS $GTK_LIBS"
28281 cat >conftest.$ac_ext <<_ACEOF
28282 /* confdefs.h. */
28283 _ACEOF
28284 cat confdefs.h >>conftest.$ac_ext
28285 cat >>conftest.$ac_ext <<_ACEOF
28286 /* end confdefs.h. */
28287
28288 #include <gtk/gtk.h>
28289 #include <stdio.h>
28290
28291 int
28292 main ()
28293 {
28294 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28295 ;
28296 return 0;
28297 }
28298 _ACEOF
28299 rm -f conftest.$ac_objext conftest$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>conftest.er1
28302 ac_status=$?
28303 grep -v '^ *+' conftest.er1 >conftest.err
28304 rm -f conftest.er1
28305 cat conftest.err >&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); } &&
28308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; } &&
28314 { ac_try='test -s conftest$ac_exeext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 echo "*** The test program compiled, but did not run. This usually means"
28321 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28322 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28323 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28324 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28325 echo "*** is required on your system"
28326 echo "***"
28327 echo "*** If you have an old version installed, it is best to remove it, although"
28328 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28329 else
28330 echo "$as_me: failed program was:" >&5
28331 sed 's/^/| /' conftest.$ac_ext >&5
28332
28333 echo "*** The test program failed to compile or link. See the file config.log for the"
28334 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28335 fi
28336 rm -f conftest.err conftest.$ac_objext \
28337 conftest$ac_exeext conftest.$ac_ext
28338 CFLAGS="$ac_save_CFLAGS"
28339 LIBS="$ac_save_LIBS"
28340 fi
28341 fi
28342 GTK_CFLAGS=""
28343 GTK_LIBS=""
28344 :
28345 fi
28346
28347
28348 rm -f conf.gtktest
28349
28350
28351 case "${host}" in
28352 *-*-solaris2* )
28353 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28354 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28355 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28356 fi
28357 if test "$wxUSE_SHARED" != "yes"; then
28358 GTK_LIBS="$GTK_LIBS -lX11"
28359 fi
28360 esac
28361 fi
28362
28363 if test -z "$wx_cv_lib_gtk"; then
28364 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28365
28366 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28367 if test "${with_gtk_prefix+set}" = set; then
28368 withval="$with_gtk_prefix"
28369 gtk_config_prefix="$withval"
28370 else
28371 gtk_config_prefix=""
28372 fi;
28373
28374 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28375 if test "${with_gtk_exec_prefix+set}" = set; then
28376 withval="$with_gtk_exec_prefix"
28377 gtk_config_exec_prefix="$withval"
28378 else
28379 gtk_config_exec_prefix=""
28380 fi;
28381 # Check whether --enable-gtktest or --disable-gtktest was given.
28382 if test "${enable_gtktest+set}" = set; then
28383 enableval="$enable_gtktest"
28384
28385 else
28386 enable_gtktest=yes
28387 fi;
28388
28389 for module in . $GTK_MODULES
28390 do
28391 case "$module" in
28392 gthread)
28393 gtk_config_args="$gtk_config_args gthread"
28394 ;;
28395 esac
28396 done
28397
28398 if test x$gtk_config_exec_prefix != x ; then
28399 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28400 if test x${GTK_CONFIG+set} != xset ; then
28401 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28402 fi
28403 fi
28404 if test x$gtk_config_prefix != x ; then
28405 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28406 if test x${GTK_CONFIG+set} != xset ; then
28407 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28408 fi
28409 fi
28410
28411 # Extract the first word of "gtk-config", so it can be a program name with args.
28412 set dummy gtk-config; ac_word=$2
28413 echo "$as_me:$LINENO: checking for $ac_word" >&5
28414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28415 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28417 else
28418 case $GTK_CONFIG in
28419 [\\/]* | ?:[\\/]*)
28420 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28421 ;;
28422 *)
28423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28424 for as_dir in $PATH
28425 do
28426 IFS=$as_save_IFS
28427 test -z "$as_dir" && as_dir=.
28428 for ac_exec_ext in '' $ac_executable_extensions; do
28429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28430 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28432 break 2
28433 fi
28434 done
28435 done
28436
28437 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28438 ;;
28439 esac
28440 fi
28441 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28442
28443 if test -n "$GTK_CONFIG"; then
28444 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28445 echo "${ECHO_T}$GTK_CONFIG" >&6
28446 else
28447 echo "$as_me:$LINENO: result: no" >&5
28448 echo "${ECHO_T}no" >&6
28449 fi
28450
28451 min_gtk_version=1.2.7
28452 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28453 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28454 no_gtk=""
28455 if test "$GTK_CONFIG" = "no" ; then
28456 no_gtk=yes
28457 else
28458 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28459 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28460 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28461 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28462 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28463 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28464 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28466 if test "x$enable_gtktest" = "xyes" ; then
28467 ac_save_CFLAGS="$CFLAGS"
28468 ac_save_LIBS="$LIBS"
28469 CFLAGS="$CFLAGS $GTK_CFLAGS"
28470 LIBS="$GTK_LIBS $LIBS"
28471 rm -f conf.gtktest
28472 if test "$cross_compiling" = yes; then
28473 echo $ac_n "cross compiling; assumed OK... $ac_c"
28474 else
28475 cat >conftest.$ac_ext <<_ACEOF
28476 /* confdefs.h. */
28477 _ACEOF
28478 cat confdefs.h >>conftest.$ac_ext
28479 cat >>conftest.$ac_ext <<_ACEOF
28480 /* end confdefs.h. */
28481
28482 #include <gtk/gtk.h>
28483 #include <stdio.h>
28484 #include <stdlib.h>
28485
28486 int
28487 main ()
28488 {
28489 int major, minor, micro;
28490 char *tmp_version;
28491
28492 system ("touch conf.gtktest");
28493
28494 /* HP/UX 9 (%@#!) writes to sscanf strings */
28495 tmp_version = g_strdup("$min_gtk_version");
28496 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28497 printf("%s, bad version string\n", "$min_gtk_version");
28498 exit(1);
28499 }
28500
28501 if ((gtk_major_version != $gtk_config_major_version) ||
28502 (gtk_minor_version != $gtk_config_minor_version) ||
28503 (gtk_micro_version != $gtk_config_micro_version))
28504 {
28505 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28506 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28507 gtk_major_version, gtk_minor_version, gtk_micro_version);
28508 printf ("*** was found! If gtk-config was correct, then it is best\n");
28509 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28510 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28511 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28512 printf("*** required on your system.\n");
28513 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28514 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28515 printf("*** before re-running configure\n");
28516 }
28517 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28518 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28519 (gtk_minor_version != GTK_MINOR_VERSION) ||
28520 (gtk_micro_version != GTK_MICRO_VERSION))
28521 {
28522 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28523 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28524 printf("*** library (version %d.%d.%d)\n",
28525 gtk_major_version, gtk_minor_version, gtk_micro_version);
28526 }
28527 #endif /* defined (GTK_MAJOR_VERSION) ... */
28528 else
28529 {
28530 if ((gtk_major_version > major) ||
28531 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28532 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28533 {
28534 return 0;
28535 }
28536 else
28537 {
28538 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28539 gtk_major_version, gtk_minor_version, gtk_micro_version);
28540 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28541 major, minor, micro);
28542 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28543 printf("***\n");
28544 printf("*** If you have already installed a sufficiently new version, this error\n");
28545 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28546 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28547 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28548 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28549 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28550 printf("*** so that the correct libraries are found at run-time))\n");
28551 }
28552 }
28553 return 1;
28554 }
28555
28556 _ACEOF
28557 rm -f conftest$ac_exeext
28558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>&5
28560 ac_status=$?
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 :
28569 else
28570 echo "$as_me: program exited with status $ac_status" >&5
28571 echo "$as_me: failed program was:" >&5
28572 sed 's/^/| /' conftest.$ac_ext >&5
28573
28574 ( exit $ac_status )
28575 no_gtk=yes
28576 fi
28577 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28578 fi
28579 CFLAGS="$ac_save_CFLAGS"
28580 LIBS="$ac_save_LIBS"
28581 fi
28582 fi
28583 if test "x$no_gtk" = x ; then
28584 echo "$as_me:$LINENO: result: yes" >&5
28585 echo "${ECHO_T}yes" >&6
28586 wx_cv_lib_gtk=1.2.7
28587 else
28588 echo "$as_me:$LINENO: result: no" >&5
28589 echo "${ECHO_T}no" >&6
28590 if test "$GTK_CONFIG" = "no" ; then
28591 echo "*** The gtk-config script installed by GTK could not be found"
28592 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28593 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28594 echo "*** full path to gtk-config."
28595 else
28596 if test -f conf.gtktest ; then
28597 :
28598 else
28599 echo "*** Could not run GTK test program, checking why..."
28600 CFLAGS="$CFLAGS $GTK_CFLAGS"
28601 LIBS="$LIBS $GTK_LIBS"
28602 cat >conftest.$ac_ext <<_ACEOF
28603 /* confdefs.h. */
28604 _ACEOF
28605 cat confdefs.h >>conftest.$ac_ext
28606 cat >>conftest.$ac_ext <<_ACEOF
28607 /* end confdefs.h. */
28608
28609 #include <gtk/gtk.h>
28610 #include <stdio.h>
28611
28612 int
28613 main ()
28614 {
28615 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28616 ;
28617 return 0;
28618 }
28619 _ACEOF
28620 rm -f conftest.$ac_objext conftest$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622 (eval $ac_link) 2>conftest.er1
28623 ac_status=$?
28624 grep -v '^ *+' conftest.er1 >conftest.err
28625 rm -f conftest.er1
28626 cat conftest.err >&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } &&
28629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28631 (eval $ac_try) 2>&5
28632 ac_status=$?
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); }; } &&
28635 { ac_try='test -s conftest$ac_exeext'
28636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28637 (eval $ac_try) 2>&5
28638 ac_status=$?
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; }; then
28641 echo "*** The test program compiled, but did not run. This usually means"
28642 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28643 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28644 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28645 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28646 echo "*** is required on your system"
28647 echo "***"
28648 echo "*** If you have an old version installed, it is best to remove it, although"
28649 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28650 echo "***"
28651 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28652 echo "*** came with the system with the command"
28653 echo "***"
28654 echo "*** rpm --erase --nodeps gtk gtk-devel"
28655 else
28656 echo "$as_me: failed program was:" >&5
28657 sed 's/^/| /' conftest.$ac_ext >&5
28658
28659 echo "*** The test program failed to compile or link. See the file config.log for the"
28660 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28661 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28662 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28663 fi
28664 rm -f conftest.err conftest.$ac_objext \
28665 conftest$ac_exeext conftest.$ac_ext
28666 CFLAGS="$ac_save_CFLAGS"
28667 LIBS="$ac_save_LIBS"
28668 fi
28669 fi
28670 GTK_CFLAGS=""
28671 GTK_LIBS=""
28672 :
28673 fi
28674
28675
28676 rm -f conf.gtktest
28677
28678
28679 if test -z "$wx_cv_lib_gtk"; then
28680
28681 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28682 if test "${with_gtk_prefix+set}" = set; then
28683 withval="$with_gtk_prefix"
28684 gtk_config_prefix="$withval"
28685 else
28686 gtk_config_prefix=""
28687 fi;
28688
28689 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28690 if test "${with_gtk_exec_prefix+set}" = set; then
28691 withval="$with_gtk_exec_prefix"
28692 gtk_config_exec_prefix="$withval"
28693 else
28694 gtk_config_exec_prefix=""
28695 fi;
28696 # Check whether --enable-gtktest or --disable-gtktest was given.
28697 if test "${enable_gtktest+set}" = set; then
28698 enableval="$enable_gtktest"
28699
28700 else
28701 enable_gtktest=yes
28702 fi;
28703
28704 for module in . $GTK_MODULES
28705 do
28706 case "$module" in
28707 gthread)
28708 gtk_config_args="$gtk_config_args gthread"
28709 ;;
28710 esac
28711 done
28712
28713 if test x$gtk_config_exec_prefix != x ; then
28714 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28715 if test x${GTK_CONFIG+set} != xset ; then
28716 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28717 fi
28718 fi
28719 if test x$gtk_config_prefix != x ; then
28720 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28721 if test x${GTK_CONFIG+set} != xset ; then
28722 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28723 fi
28724 fi
28725
28726 # Extract the first word of "gtk-config", so it can be a program name with args.
28727 set dummy gtk-config; ac_word=$2
28728 echo "$as_me:$LINENO: checking for $ac_word" >&5
28729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28730 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28731 echo $ECHO_N "(cached) $ECHO_C" >&6
28732 else
28733 case $GTK_CONFIG in
28734 [\\/]* | ?:[\\/]*)
28735 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28736 ;;
28737 *)
28738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28739 for as_dir in $PATH
28740 do
28741 IFS=$as_save_IFS
28742 test -z "$as_dir" && as_dir=.
28743 for ac_exec_ext in '' $ac_executable_extensions; do
28744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28745 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28747 break 2
28748 fi
28749 done
28750 done
28751
28752 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28753 ;;
28754 esac
28755 fi
28756 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28757
28758 if test -n "$GTK_CONFIG"; then
28759 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28760 echo "${ECHO_T}$GTK_CONFIG" >&6
28761 else
28762 echo "$as_me:$LINENO: result: no" >&5
28763 echo "${ECHO_T}no" >&6
28764 fi
28765
28766 min_gtk_version=1.2.3
28767 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28768 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28769 no_gtk=""
28770 if test "$GTK_CONFIG" = "no" ; then
28771 no_gtk=yes
28772 else
28773 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28774 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28775 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28776 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28777 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28778 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28779 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28781 if test "x$enable_gtktest" = "xyes" ; then
28782 ac_save_CFLAGS="$CFLAGS"
28783 ac_save_LIBS="$LIBS"
28784 CFLAGS="$CFLAGS $GTK_CFLAGS"
28785 LIBS="$GTK_LIBS $LIBS"
28786 rm -f conf.gtktest
28787 if test "$cross_compiling" = yes; then
28788 echo $ac_n "cross compiling; assumed OK... $ac_c"
28789 else
28790 cat >conftest.$ac_ext <<_ACEOF
28791 /* confdefs.h. */
28792 _ACEOF
28793 cat confdefs.h >>conftest.$ac_ext
28794 cat >>conftest.$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28796
28797 #include <gtk/gtk.h>
28798 #include <stdio.h>
28799 #include <stdlib.h>
28800
28801 int
28802 main ()
28803 {
28804 int major, minor, micro;
28805 char *tmp_version;
28806
28807 system ("touch conf.gtktest");
28808
28809 /* HP/UX 9 (%@#!) writes to sscanf strings */
28810 tmp_version = g_strdup("$min_gtk_version");
28811 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28812 printf("%s, bad version string\n", "$min_gtk_version");
28813 exit(1);
28814 }
28815
28816 if ((gtk_major_version != $gtk_config_major_version) ||
28817 (gtk_minor_version != $gtk_config_minor_version) ||
28818 (gtk_micro_version != $gtk_config_micro_version))
28819 {
28820 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28821 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28822 gtk_major_version, gtk_minor_version, gtk_micro_version);
28823 printf ("*** was found! If gtk-config was correct, then it is best\n");
28824 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28825 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28826 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28827 printf("*** required on your system.\n");
28828 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28829 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28830 printf("*** before re-running configure\n");
28831 }
28832 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28833 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28834 (gtk_minor_version != GTK_MINOR_VERSION) ||
28835 (gtk_micro_version != GTK_MICRO_VERSION))
28836 {
28837 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28838 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28839 printf("*** library (version %d.%d.%d)\n",
28840 gtk_major_version, gtk_minor_version, gtk_micro_version);
28841 }
28842 #endif /* defined (GTK_MAJOR_VERSION) ... */
28843 else
28844 {
28845 if ((gtk_major_version > major) ||
28846 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28847 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28848 {
28849 return 0;
28850 }
28851 else
28852 {
28853 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28854 gtk_major_version, gtk_minor_version, gtk_micro_version);
28855 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28856 major, minor, micro);
28857 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28858 printf("***\n");
28859 printf("*** If you have already installed a sufficiently new version, this error\n");
28860 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28861 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28862 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28863 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28864 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28865 printf("*** so that the correct libraries are found at run-time))\n");
28866 }
28867 }
28868 return 1;
28869 }
28870
28871 _ACEOF
28872 rm -f conftest$ac_exeext
28873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28874 (eval $ac_link) 2>&5
28875 ac_status=$?
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28880 ac_status=$?
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; }; then
28883 :
28884 else
28885 echo "$as_me: program exited with status $ac_status" >&5
28886 echo "$as_me: failed program was:" >&5
28887 sed 's/^/| /' conftest.$ac_ext >&5
28888
28889 ( exit $ac_status )
28890 no_gtk=yes
28891 fi
28892 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28893 fi
28894 CFLAGS="$ac_save_CFLAGS"
28895 LIBS="$ac_save_LIBS"
28896 fi
28897 fi
28898 if test "x$no_gtk" = x ; then
28899 echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6
28901 wx_cv_lib_gtk=1.2.3
28902 else
28903 echo "$as_me:$LINENO: result: no" >&5
28904 echo "${ECHO_T}no" >&6
28905 if test "$GTK_CONFIG" = "no" ; then
28906 echo "*** The gtk-config script installed by GTK could not be found"
28907 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28908 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28909 echo "*** full path to gtk-config."
28910 else
28911 if test -f conf.gtktest ; then
28912 :
28913 else
28914 echo "*** Could not run GTK test program, checking why..."
28915 CFLAGS="$CFLAGS $GTK_CFLAGS"
28916 LIBS="$LIBS $GTK_LIBS"
28917 cat >conftest.$ac_ext <<_ACEOF
28918 /* confdefs.h. */
28919 _ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28923
28924 #include <gtk/gtk.h>
28925 #include <stdio.h>
28926
28927 int
28928 main ()
28929 {
28930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28931 ;
28932 return 0;
28933 }
28934 _ACEOF
28935 rm -f conftest.$ac_objext conftest$ac_exeext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28937 (eval $ac_link) 2>conftest.er1
28938 ac_status=$?
28939 grep -v '^ *+' conftest.er1 >conftest.err
28940 rm -f conftest.er1
28941 cat conftest.err >&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; } &&
28950 { ac_try='test -s conftest$ac_exeext'
28951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28952 (eval $ac_try) 2>&5
28953 ac_status=$?
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); }; }; then
28956 echo "*** The test program compiled, but did not run. This usually means"
28957 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28958 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28959 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28960 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28961 echo "*** is required on your system"
28962 echo "***"
28963 echo "*** If you have an old version installed, it is best to remove it, although"
28964 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28965 echo "***"
28966 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28967 echo "*** came with the system with the command"
28968 echo "***"
28969 echo "*** rpm --erase --nodeps gtk gtk-devel"
28970 else
28971 echo "$as_me: failed program was:" >&5
28972 sed 's/^/| /' conftest.$ac_ext >&5
28973
28974 echo "*** The test program failed to compile or link. See the file config.log for the"
28975 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28976 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28977 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28978 fi
28979 rm -f conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28981 CFLAGS="$ac_save_CFLAGS"
28982 LIBS="$ac_save_LIBS"
28983 fi
28984 fi
28985 GTK_CFLAGS=""
28986 GTK_LIBS=""
28987 :
28988 fi
28989
28990
28991 rm -f conf.gtktest
28992
28993 fi
28994 fi
28995 fi
28996
28997 if test -z "$wx_cv_lib_gtk"; then
28998 wx_cv_lib_gtk=none
28999 else
29000 wx_cv_cflags_gtk=$GTK_CFLAGS
29001 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29002 fi
29003
29004
29005 fi
29006
29007
29008 if test "$gtk_version_cached" = 1; then
29009 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29010 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29011 fi
29012
29013 case "$wx_cv_lib_gtk" in
29014 2.0) WXGTK20=1
29015 TOOLKIT_VERSION=2
29016 ;;
29017 1.2.7) WXGTK127=1
29018 WXGTK12=1
29019 ;;
29020 1.2.3) WXGTK12=1
29021 ;;
29022 *) { { echo "$as_me:$LINENO: error:
29023 The development files for GTK+ were not found. For GTK+ 2, please
29024 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29025 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29026 and that the version is 1.2.3 or above. Also check that the
29027 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29028 --libs' are in the LD_LIBRARY_PATH or equivalent.
29029 " >&5
29030 echo "$as_me: error:
29031 The development files for GTK+ were not found. For GTK+ 2, please
29032 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29033 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29034 and that the version is 1.2.3 or above. Also check that the
29035 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29036 --libs' are in the LD_LIBRARY_PATH or equivalent.
29037 " >&2;}
29038 { (exit 1); exit 1; }; }
29039 ;;
29040 esac
29041
29042 if test "$WXGTK20" = 1; then
29043 save_CFLAGS="$CFLAGS"
29044 save_LIBS="$LIBS"
29045 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29046 LIBS="$LIBS $wx_cv_libs_gtk"
29047
29048 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29049 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29050 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29052 else
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 #include <gtk/gtk.h>
29060
29061 int
29062 main ()
29063 {
29064 #ifndef gtk_icon_size_lookup
29065 char *p = (char *) gtk_icon_size_lookup;
29066 #endif
29067
29068 ;
29069 return 0;
29070 }
29071 _ACEOF
29072 rm -f conftest.$ac_objext
29073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29074 (eval $ac_compile) 2>conftest.er1
29075 ac_status=$?
29076 grep -v '^ *+' conftest.er1 >conftest.err
29077 rm -f conftest.er1
29078 cat conftest.err >&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); } &&
29081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29084 ac_status=$?
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; } &&
29087 { ac_try='test -s conftest.$ac_objext'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 ac_cv_have_decl_gtk_icon_size_lookup=yes
29094 else
29095 echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29097
29098 ac_cv_have_decl_gtk_icon_size_lookup=no
29099 fi
29100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29101 fi
29102 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29103 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29104 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29105
29106 cat >>confdefs.h <<_ACEOF
29107 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29108 _ACEOF
29109
29110
29111 else
29112 cat >>confdefs.h <<_ACEOF
29113 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29114 _ACEOF
29115
29116 cat >>confdefs.h <<\_ACEOF
29117 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29118 _ACEOF
29119
29120 fi
29121
29122
29123
29124 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29125 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29126 cat >conftest.$ac_ext <<_ACEOF
29127 /* confdefs.h. */
29128 _ACEOF
29129 cat confdefs.h >>conftest.$ac_ext
29130 cat >>conftest.$ac_ext <<_ACEOF
29131 /* end confdefs.h. */
29132
29133 #include <gtk/gtk.h>
29134
29135 int
29136 main ()
29137 {
29138
29139 #if !GTK_CHECK_VERSION(2,6,0)
29140 Not GTK+ 2.6
29141 #endif
29142
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 rm -f conftest.$ac_objext
29148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29149 (eval $ac_compile) 2>conftest.er1
29150 ac_status=$?
29151 grep -v '^ *+' conftest.er1 >conftest.err
29152 rm -f conftest.er1
29153 cat conftest.err >&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); } &&
29156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29158 (eval $ac_try) 2>&5
29159 ac_status=$?
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); }; } &&
29162 { ac_try='test -s conftest.$ac_objext'
29163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164 (eval $ac_try) 2>&5
29165 ac_status=$?
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); }; }; then
29168
29169 cat >>confdefs.h <<\_ACEOF
29170 #define __WXGTK26__ 1
29171 _ACEOF
29172
29173 cat >>confdefs.h <<\_ACEOF
29174 #define __WXGTK24__ 1
29175 _ACEOF
29176
29177 echo "$as_me:$LINENO: result: yes" >&5
29178 echo "${ECHO_T}yes" >&6
29179 ac_wxgtk26=1
29180
29181 else
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.$ac_ext >&5
29184
29185
29186 echo "$as_me:$LINENO: result: no" >&5
29187 echo "${ECHO_T}no" >&6
29188 ac_wxgtk26=0
29189
29190 fi
29191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29192
29193 if test "$ac_wxgtk26" = 0; then
29194 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29195 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29196 cat >conftest.$ac_ext <<_ACEOF
29197 /* confdefs.h. */
29198 _ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29202
29203 #include <gtk/gtk.h>
29204
29205 int
29206 main ()
29207 {
29208
29209 #if !GTK_CHECK_VERSION(2,4,0)
29210 Not GTK+ 2.4
29211 #endif
29212
29213 ;
29214 return 0;
29215 }
29216 _ACEOF
29217 rm -f conftest.$ac_objext
29218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29219 (eval $ac_compile) 2>conftest.er1
29220 ac_status=$?
29221 grep -v '^ *+' conftest.er1 >conftest.err
29222 rm -f conftest.er1
29223 cat conftest.err >&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); } &&
29226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29229 ac_status=$?
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; } &&
29232 { ac_try='test -s conftest.$ac_objext'
29233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29234 (eval $ac_try) 2>&5
29235 ac_status=$?
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; }; then
29238
29239 cat >>confdefs.h <<\_ACEOF
29240 #define __WXGTK24__ 1
29241 _ACEOF
29242
29243 echo "$as_me:$LINENO: result: yes" >&5
29244 echo "${ECHO_T}yes" >&6
29245
29246 else
29247 echo "$as_me: failed program was:" >&5
29248 sed 's/^/| /' conftest.$ac_ext >&5
29249
29250
29251 echo "$as_me:$LINENO: result: no" >&5
29252 echo "${ECHO_T}no" >&6
29253
29254 fi
29255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29256 fi
29257
29258 CFLAGS="$save_CFLAGS"
29259 LIBS="$save_LIBS"
29260 else
29261 if test "$wxUSE_UNICODE" = "yes"; then
29262 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29263 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29264 wxUSE_UNICODE=no
29265 fi
29266
29267 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29268 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29269 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29270 echo $ECHO_N "(cached) $ECHO_C" >&6
29271 else
29272 ac_check_lib_save_LIBS=$LIBS
29273 LIBS="-lgdk $LIBS"
29274 cat >conftest.$ac_ext <<_ACEOF
29275 /* confdefs.h. */
29276 _ACEOF
29277 cat confdefs.h >>conftest.$ac_ext
29278 cat >>conftest.$ac_ext <<_ACEOF
29279 /* end confdefs.h. */
29280
29281 /* Override any gcc2 internal prototype to avoid an error. */
29282 #ifdef __cplusplus
29283 extern "C"
29284 #endif
29285 /* We use char because int might match the return type of a gcc2
29286 builtin and then its argument prototype would still apply. */
29287 char gdk_im_open ();
29288 int
29289 main ()
29290 {
29291 gdk_im_open ();
29292 ;
29293 return 0;
29294 }
29295 _ACEOF
29296 rm -f conftest.$ac_objext conftest$ac_exeext
29297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29298 (eval $ac_link) 2>conftest.er1
29299 ac_status=$?
29300 grep -v '^ *+' conftest.er1 >conftest.err
29301 rm -f conftest.er1
29302 cat conftest.err >&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); } &&
29305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29308 ac_status=$?
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try='test -s conftest$ac_exeext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29314 ac_status=$?
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 ac_cv_lib_gdk_gdk_im_open=yes
29318 else
29319 echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.$ac_ext >&5
29321
29322 ac_cv_lib_gdk_gdk_im_open=no
29323 fi
29324 rm -f conftest.err conftest.$ac_objext \
29325 conftest$ac_exeext conftest.$ac_ext
29326 LIBS=$ac_check_lib_save_LIBS
29327 fi
29328 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29329 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29330 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29331 cat >>confdefs.h <<\_ACEOF
29332 #define HAVE_XIM 1
29333 _ACEOF
29334
29335 fi
29336
29337 fi
29338
29339 ac_ext=cc
29340 ac_cpp='$CXXCPP $CPPFLAGS'
29341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29344
29345
29346 if test "$USE_DARWIN" != 1; then
29347
29348 for ac_func in poll
29349 do
29350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29351 echo "$as_me:$LINENO: checking for $ac_func" >&5
29352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29353 if eval "test \"\${$as_ac_var+set}\" = set"; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29355 else
29356 cat >conftest.$ac_ext <<_ACEOF
29357 /* confdefs.h. */
29358 _ACEOF
29359 cat confdefs.h >>conftest.$ac_ext
29360 cat >>conftest.$ac_ext <<_ACEOF
29361 /* end confdefs.h. */
29362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29364 #define $ac_func innocuous_$ac_func
29365
29366 /* System header to define __stub macros and hopefully few prototypes,
29367 which can conflict with char $ac_func (); below.
29368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29369 <limits.h> exists even on freestanding compilers. */
29370
29371 #ifdef __STDC__
29372 # include <limits.h>
29373 #else
29374 # include <assert.h>
29375 #endif
29376
29377 #undef $ac_func
29378
29379 /* Override any gcc2 internal prototype to avoid an error. */
29380 #ifdef __cplusplus
29381 extern "C"
29382 {
29383 #endif
29384 /* We use char because int might match the return type of a gcc2
29385 builtin and then its argument prototype would still apply. */
29386 char $ac_func ();
29387 /* The GNU C library defines this for functions which it implements
29388 to always fail with ENOSYS. Some functions are actually named
29389 something starting with __ and the normal name is an alias. */
29390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29391 choke me
29392 #else
29393 char (*f) () = $ac_func;
29394 #endif
29395 #ifdef __cplusplus
29396 }
29397 #endif
29398
29399 int
29400 main ()
29401 {
29402 return f != $ac_func;
29403 ;
29404 return 0;
29405 }
29406 _ACEOF
29407 rm -f conftest.$ac_objext conftest$ac_exeext
29408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29409 (eval $ac_link) 2>conftest.er1
29410 ac_status=$?
29411 grep -v '^ *+' conftest.er1 >conftest.err
29412 rm -f conftest.er1
29413 cat conftest.err >&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } &&
29416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29418 (eval $ac_try) 2>&5
29419 ac_status=$?
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; } &&
29422 { ac_try='test -s conftest$ac_exeext'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; }; then
29428 eval "$as_ac_var=yes"
29429 else
29430 echo "$as_me: failed program was:" >&5
29431 sed 's/^/| /' conftest.$ac_ext >&5
29432
29433 eval "$as_ac_var=no"
29434 fi
29435 rm -f conftest.err conftest.$ac_objext \
29436 conftest$ac_exeext conftest.$ac_ext
29437 fi
29438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29440 if test `eval echo '${'$as_ac_var'}'` = yes; then
29441 cat >>confdefs.h <<_ACEOF
29442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29443 _ACEOF
29444
29445 fi
29446 done
29447
29448 fi
29449
29450 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29451 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29452
29453 AFMINSTALL=afminstall
29454 TOOLKIT=GTK
29455 GUIDIST=GTK_DIST
29456
29457 if test "$wxUSE_GPE" = "yes"; then
29458 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29459 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29460
29461 ac_find_libraries=
29462 for ac_dir in $SEARCH_LIB;
29463 do
29464 for ac_extension in a so sl dylib dll.a; do
29465 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29466 ac_find_libraries=$ac_dir
29467 break 2
29468 fi
29469 done
29470 done
29471
29472 if test "$ac_find_libraries" != "" ; then
29473
29474 if test "$ac_find_libraries" = "default location"; then
29475 ac_path_to_link=""
29476 else
29477 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29478 result=$?
29479 if test $result = 0; then
29480 ac_path_to_link=""
29481 else
29482 ac_path_to_link=" -L$ac_find_libraries"
29483 fi
29484 fi
29485
29486 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29487 WXGPE=1
29488 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29489 echo "${ECHO_T}found in $ac_find_libraries" >&6
29490 else
29491 echo "$as_me:$LINENO: result: not found" >&5
29492 echo "${ECHO_T}not found" >&6
29493 fi
29494
29495 fi
29496 fi
29497
29498 if test "$wxUSE_MGL" = 1; then
29499 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29500 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29501 if test "x$MGL_ROOT" = x ; then
29502 echo "$as_me:$LINENO: result: not found" >&5
29503 echo "${ECHO_T}not found" >&6
29504 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29505 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29506 { (exit 1); exit 1; }; }
29507 else
29508 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29509 echo "${ECHO_T}$MGL_ROOT" >&6
29510 fi
29511
29512 echo "$as_me:$LINENO: checking for libmgl location" >&5
29513 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29514 case "${host}" in
29515 *-*-linux* )
29516 if test "x$wxUSE_SHARED" = xyes ; then
29517 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29518 else
29519 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29520 fi
29521 ;;
29522 *-pc-msdosdjgpp )
29523 mgl_os_candidates="dos32/dj2"
29524 ;;
29525 *)
29526 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29527 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29528 { (exit 1); exit 1; }; }
29529 esac
29530
29531 mgl_lib_type=""
29532 mgl_os=""
29533
29534 for mgl_os_i in $mgl_os_candidates ; do
29535 if test "x$mgl_os" = x ; then
29536 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29537 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29538 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29539 mgl_lib_type=debug
29540 mgl_os=$mgl_os_i
29541 fi
29542 fi
29543 if test "x$mgl_lib_type" = x ; then
29544 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29545 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29546 mgl_lib_type=release
29547 mgl_os=$mgl_os_i
29548 fi
29549 fi
29550 fi
29551 done
29552
29553 if test "x$mgl_os" = x ; then
29554 echo "$as_me:$LINENO: result: not found" >&5
29555 echo "${ECHO_T}not found" >&6
29556 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29557 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29558 { (exit 1); exit 1; }; }
29559 fi
29560 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29561 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29562
29563 wxUSE_UNIVERSAL="yes"
29564
29565 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29566 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29567
29568 AFMINSTALL=afminstall
29569 TOOLKIT=MGL
29570 GUIDIST=MGL_DIST
29571 fi
29572
29573 if test "$wxUSE_DFB" = 1; then
29574
29575
29576 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29577 if test -n "$ac_tool_prefix"; then
29578 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29579 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29580 echo "$as_me:$LINENO: checking for $ac_word" >&5
29581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29582 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 else
29585 case $PKG_CONFIG in
29586 [\\/]* | ?:[\\/]*)
29587 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29588 ;;
29589 *)
29590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29591 for as_dir in $PATH
29592 do
29593 IFS=$as_save_IFS
29594 test -z "$as_dir" && as_dir=.
29595 for ac_exec_ext in '' $ac_executable_extensions; do
29596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29597 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29599 break 2
29600 fi
29601 done
29602 done
29603
29604 ;;
29605 esac
29606 fi
29607 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29608
29609 if test -n "$PKG_CONFIG"; then
29610 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29611 echo "${ECHO_T}$PKG_CONFIG" >&6
29612 else
29613 echo "$as_me:$LINENO: result: no" >&5
29614 echo "${ECHO_T}no" >&6
29615 fi
29616
29617 fi
29618 if test -z "$ac_cv_path_PKG_CONFIG"; then
29619 ac_pt_PKG_CONFIG=$PKG_CONFIG
29620 # Extract the first word of "pkg-config", so it can be a program name with args.
29621 set dummy pkg-config; ac_word=$2
29622 echo "$as_me:$LINENO: checking for $ac_word" >&5
29623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29624 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 else
29627 case $ac_pt_PKG_CONFIG in
29628 [\\/]* | ?:[\\/]*)
29629 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29630 ;;
29631 *)
29632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29633 for as_dir in $PATH
29634 do
29635 IFS=$as_save_IFS
29636 test -z "$as_dir" && as_dir=.
29637 for ac_exec_ext in '' $ac_executable_extensions; do
29638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29639 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29641 break 2
29642 fi
29643 done
29644 done
29645
29646 ;;
29647 esac
29648 fi
29649 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29650
29651 if test -n "$ac_pt_PKG_CONFIG"; then
29652 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29653 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29654 else
29655 echo "$as_me:$LINENO: result: no" >&5
29656 echo "${ECHO_T}no" >&6
29657 fi
29658
29659 PKG_CONFIG=$ac_pt_PKG_CONFIG
29660 else
29661 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29662 fi
29663
29664 fi
29665 if test -n "$PKG_CONFIG"; then
29666 _pkg_min_version=0.9.0
29667 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29668 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29669 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29670 echo "$as_me:$LINENO: result: yes" >&5
29671 echo "${ECHO_T}yes" >&6
29672 else
29673 echo "$as_me:$LINENO: result: no" >&5
29674 echo "${ECHO_T}no" >&6
29675 PKG_CONFIG=""
29676 fi
29677
29678 fi
29679
29680
29681 pkg_failed=no
29682 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29683 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29684
29685 if test -n "$PKG_CONFIG"; then
29686 if test -n "$DIRECTFB_CFLAGS"; then
29687 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29688 else
29689 if test -n "$PKG_CONFIG" && \
29690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29691 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29692 ac_status=$?
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; then
29695 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29696 else
29697 pkg_failed=yes
29698 fi
29699 fi
29700 else
29701 pkg_failed=untried
29702 fi
29703 if test -n "$PKG_CONFIG"; then
29704 if test -n "$DIRECTFB_LIBS"; then
29705 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29706 else
29707 if test -n "$PKG_CONFIG" && \
29708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29709 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; then
29713 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29714 else
29715 pkg_failed=yes
29716 fi
29717 fi
29718 else
29719 pkg_failed=untried
29720 fi
29721
29722
29723
29724 if test $pkg_failed = yes; then
29725
29726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29727 _pkg_short_errors_supported=yes
29728 else
29729 _pkg_short_errors_supported=no
29730 fi
29731 if test $_pkg_short_errors_supported = yes; then
29732 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29733 else
29734 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29735 fi
29736 # Put the nasty error message in config.log where it belongs
29737 echo "$DIRECTFB_PKG_ERRORS" >&5
29738
29739
29740 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29741 echo "$as_me: error: DirectFB not found." >&2;}
29742 { (exit 1); exit 1; }; }
29743
29744
29745 elif test $pkg_failed = untried; then
29746
29747 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29748 echo "$as_me: error: DirectFB not found." >&2;}
29749 { (exit 1); exit 1; }; }
29750
29751
29752 else
29753 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29754 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29755 echo "$as_me:$LINENO: result: yes" >&5
29756 echo "${ECHO_T}yes" >&6
29757
29758 wxUSE_UNIVERSAL="yes"
29759 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29760 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29761 TOOLKIT=DFB
29762 GUIDIST=DFB_DIST
29763
29764 fi
29765 fi
29766
29767 if test "$wxUSE_MICROWIN" = 1; then
29768 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29769 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29770 if test "x$MICROWINDOWS" = x ; then
29771 echo "$as_me:$LINENO: result: not found" >&5
29772 echo "${ECHO_T}not found" >&6
29773 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29774 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29775 { (exit 1); exit 1; }; }
29776 else
29777 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29778 echo "${ECHO_T}$MICROWINDOWS" >&6
29779 fi
29780
29781 if test -f $MICROWINDOWS/lib/libmwin.a; then
29782 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29783 echo "${ECHO_T}MicroWindows' libraries found." >&6
29784 else
29785 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29786 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29787 { (exit 1); exit 1; }; }
29788 fi
29789
29790 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29791 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29792
29793 wxUSE_UNIVERSAL="yes"
29794
29795 AFMINSTALL=afminstall
29796 TOOLKIT=MICROWIN
29797 GUIDIST=MICROWIN_DIST
29798
29799 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29800 fi
29801
29802 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29803
29804 if test "x$ac_path_x_has_been_run" != xyes; then
29805 echo "$as_me:$LINENO: checking for X" >&5
29806 echo $ECHO_N "checking for X... $ECHO_C" >&6
29807
29808 ac_path_x_has_been_run=yes
29809
29810 # Check whether --with-x or --without-x was given.
29811 if test "${with_x+set}" = set; then
29812 withval="$with_x"
29813
29814 fi;
29815 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29816 if test "x$with_x" = xno; then
29817 # The user explicitly disabled X.
29818 have_x=disabled
29819 else
29820 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29821 # Both variables are already set.
29822 have_x=yes
29823 else
29824 if test "${ac_cv_have_x+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 # One or both of the vars are not set, and there is no cached value.
29828 ac_x_includes=no ac_x_libraries=no
29829 rm -fr conftest.dir
29830 if mkdir conftest.dir; then
29831 cd conftest.dir
29832 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29833 cat >Imakefile <<'_ACEOF'
29834 acfindx:
29835 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29836 _ACEOF
29837 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29838 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29839 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29840 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29841 for ac_extension in a so sl; do
29842 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29843 test -f $ac_im_libdir/libX11.$ac_extension; then
29844 ac_im_usrlibdir=$ac_im_libdir; break
29845 fi
29846 done
29847 # Screen out bogus values from the imake configuration. They are
29848 # bogus both because they are the default anyway, and because
29849 # using them would break gcc on systems where it needs fixed includes.
29850 case $ac_im_incroot in
29851 /usr/include) ;;
29852 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29853 esac
29854 case $ac_im_usrlibdir in
29855 /usr/lib | /lib) ;;
29856 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29857 esac
29858 fi
29859 cd ..
29860 rm -fr conftest.dir
29861 fi
29862
29863 # Standard set of common directories for X headers.
29864 # Check X11 before X11Rn because it is often a symlink to the current release.
29865 ac_x_header_dirs='
29866 /usr/X11/include
29867 /usr/X11R6/include
29868 /usr/X11R5/include
29869 /usr/X11R4/include
29870
29871 /usr/include/X11
29872 /usr/include/X11R6
29873 /usr/include/X11R5
29874 /usr/include/X11R4
29875
29876 /usr/local/X11/include
29877 /usr/local/X11R6/include
29878 /usr/local/X11R5/include
29879 /usr/local/X11R4/include
29880
29881 /usr/local/include/X11
29882 /usr/local/include/X11R6
29883 /usr/local/include/X11R5
29884 /usr/local/include/X11R4
29885
29886 /usr/X386/include
29887 /usr/x386/include
29888 /usr/XFree86/include/X11
29889
29890 /usr/include
29891 /usr/local/include
29892 /usr/unsupported/include
29893 /usr/athena/include
29894 /usr/local/x11r5/include
29895 /usr/lpp/Xamples/include
29896
29897 /usr/openwin/include
29898 /usr/openwin/share/include'
29899
29900 if test "$ac_x_includes" = no; then
29901 # Guess where to find include files, by looking for a specified header file.
29902 # First, try using that file with no special directory specified.
29903 cat >conftest.$ac_ext <<_ACEOF
29904 /* confdefs.h. */
29905 _ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29909 #include <X11/Xlib.h>
29910 _ACEOF
29911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29913 ac_status=$?
29914 grep -v '^ *+' conftest.er1 >conftest.err
29915 rm -f conftest.er1
29916 cat conftest.err >&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); } >/dev/null; then
29919 if test -s conftest.err; then
29920 ac_cpp_err=$ac_cxx_preproc_warn_flag
29921 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29922 else
29923 ac_cpp_err=
29924 fi
29925 else
29926 ac_cpp_err=yes
29927 fi
29928 if test -z "$ac_cpp_err"; then
29929 # We can compile using X headers with no special include directory.
29930 ac_x_includes=
29931 else
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29934
29935 for ac_dir in $ac_x_header_dirs; do
29936 if test -r "$ac_dir/X11/Xlib.h"; then
29937 ac_x_includes=$ac_dir
29938 break
29939 fi
29940 done
29941 fi
29942 rm -f conftest.err conftest.$ac_ext
29943 fi # $ac_x_includes = no
29944
29945 if test "$ac_x_libraries" = no; then
29946 # Check for the libraries.
29947 # See if we find them without any special options.
29948 # Don't add to $LIBS permanently.
29949 ac_save_LIBS=$LIBS
29950 LIBS="-lX11 $LIBS"
29951 cat >conftest.$ac_ext <<_ACEOF
29952 /* confdefs.h. */
29953 _ACEOF
29954 cat confdefs.h >>conftest.$ac_ext
29955 cat >>conftest.$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29957 #include <X11/Xlib.h>
29958 int
29959 main ()
29960 {
29961 XrmInitialize ()
29962 ;
29963 return 0;
29964 }
29965 _ACEOF
29966 rm -f conftest.$ac_objext conftest$ac_exeext
29967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29968 (eval $ac_link) 2>conftest.er1
29969 ac_status=$?
29970 grep -v '^ *+' conftest.er1 >conftest.err
29971 rm -f conftest.er1
29972 cat conftest.err >&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } &&
29975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29978 ac_status=$?
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; } &&
29981 { ac_try='test -s conftest$ac_exeext'
29982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29983 (eval $ac_try) 2>&5
29984 ac_status=$?
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; }; then
29987 LIBS=$ac_save_LIBS
29988 # We can link X programs with no special library path.
29989 ac_x_libraries=
29990 else
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29993
29994 LIBS=$ac_save_LIBS
29995 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29996 do
29997 # Don't even attempt the hair of trying to link an X program!
29998 for ac_extension in a so sl; do
29999 if test -r $ac_dir/libX11.$ac_extension; then
30000 ac_x_libraries=$ac_dir
30001 break 2
30002 fi
30003 done
30004 done
30005 fi
30006 rm -f conftest.err conftest.$ac_objext \
30007 conftest$ac_exeext conftest.$ac_ext
30008 fi # $ac_x_libraries = no
30009
30010 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30011 # Didn't find X anywhere. Cache the known absence of X.
30012 ac_cv_have_x="have_x=no"
30013 else
30014 # Record where we found X for the cache.
30015 ac_cv_have_x="have_x=yes \
30016 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30017 fi
30018 fi
30019
30020 fi
30021 eval "$ac_cv_have_x"
30022 fi # $with_x != no
30023
30024 if test "$have_x" != yes; then
30025 echo "$as_me:$LINENO: result: $have_x" >&5
30026 echo "${ECHO_T}$have_x" >&6
30027 no_x=yes
30028 else
30029 # If each of the values was on the command line, it overrides each guess.
30030 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30031 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30032 # Update the cache value to reflect the command line values.
30033 ac_cv_have_x="have_x=yes \
30034 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30035 # It might be that x_includes is empty (headers are found in the
30036 # standard search path. Then output the corresponding message
30037 ac_out_x_includes=$x_includes
30038 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30039 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30040 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30041 fi
30042
30043 fi
30044 if test "$no_x" = yes; then
30045 # Not all programs may use this symbol, but it does not hurt to define it.
30046
30047 cat >>confdefs.h <<\_ACEOF
30048 #define X_DISPLAY_MISSING 1
30049 _ACEOF
30050
30051 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30052 else
30053 if test -n "$x_includes"; then
30054 X_CFLAGS="$X_CFLAGS -I$x_includes"
30055 fi
30056
30057 # It would also be nice to do this for all -L options, not just this one.
30058 if test -n "$x_libraries"; then
30059 X_LIBS="$X_LIBS -L$x_libraries"
30060 # For Solaris; some versions of Sun CC require a space after -R and
30061 # others require no space. Words are not sufficient . . . .
30062 case `(uname -sr) 2>/dev/null` in
30063 "SunOS 5"*)
30064 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30065 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30066 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30067 cat >conftest.$ac_ext <<_ACEOF
30068 /* confdefs.h. */
30069 _ACEOF
30070 cat confdefs.h >>conftest.$ac_ext
30071 cat >>conftest.$ac_ext <<_ACEOF
30072 /* end confdefs.h. */
30073
30074 int
30075 main ()
30076 {
30077
30078 ;
30079 return 0;
30080 }
30081 _ACEOF
30082 rm -f conftest.$ac_objext conftest$ac_exeext
30083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30084 (eval $ac_link) 2>conftest.er1
30085 ac_status=$?
30086 grep -v '^ *+' conftest.er1 >conftest.err
30087 rm -f conftest.er1
30088 cat conftest.err >&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } &&
30091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30093 (eval $ac_try) 2>&5
30094 ac_status=$?
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); }; } &&
30097 { ac_try='test -s conftest$ac_exeext'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30100 ac_status=$?
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; }; then
30103 ac_R_nospace=yes
30104 else
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.$ac_ext >&5
30107
30108 ac_R_nospace=no
30109 fi
30110 rm -f conftest.err conftest.$ac_objext \
30111 conftest$ac_exeext conftest.$ac_ext
30112 if test $ac_R_nospace = yes; then
30113 echo "$as_me:$LINENO: result: no" >&5
30114 echo "${ECHO_T}no" >&6
30115 X_LIBS="$X_LIBS -R$x_libraries"
30116 else
30117 LIBS="$ac_xsave_LIBS -R $x_libraries"
30118 cat >conftest.$ac_ext <<_ACEOF
30119 /* confdefs.h. */
30120 _ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30124
30125 int
30126 main ()
30127 {
30128
30129 ;
30130 return 0;
30131 }
30132 _ACEOF
30133 rm -f conftest.$ac_objext conftest$ac_exeext
30134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30135 (eval $ac_link) 2>conftest.er1
30136 ac_status=$?
30137 grep -v '^ *+' conftest.er1 >conftest.err
30138 rm -f conftest.er1
30139 cat conftest.err >&5
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); } &&
30142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144 (eval $ac_try) 2>&5
30145 ac_status=$?
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; } &&
30148 { ac_try='test -s conftest$ac_exeext'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30151 ac_status=$?
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; }; then
30154 ac_R_space=yes
30155 else
30156 echo "$as_me: failed program was:" >&5
30157 sed 's/^/| /' conftest.$ac_ext >&5
30158
30159 ac_R_space=no
30160 fi
30161 rm -f conftest.err conftest.$ac_objext \
30162 conftest$ac_exeext conftest.$ac_ext
30163 if test $ac_R_space = yes; then
30164 echo "$as_me:$LINENO: result: yes" >&5
30165 echo "${ECHO_T}yes" >&6
30166 X_LIBS="$X_LIBS -R $x_libraries"
30167 else
30168 echo "$as_me:$LINENO: result: neither works" >&5
30169 echo "${ECHO_T}neither works" >&6
30170 fi
30171 fi
30172 LIBS=$ac_xsave_LIBS
30173 esac
30174 fi
30175
30176 # Check for system-dependent libraries X programs must link with.
30177 # Do this before checking for the system-independent R6 libraries
30178 # (-lICE), since we may need -lsocket or whatever for X linking.
30179
30180 if test "$ISC" = yes; then
30181 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30182 else
30183 # Martyn Johnson says this is needed for Ultrix, if the X
30184 # libraries were built with DECnet support. And Karl Berry says
30185 # the Alpha needs dnet_stub (dnet does not exist).
30186 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30187 cat >conftest.$ac_ext <<_ACEOF
30188 /* confdefs.h. */
30189 _ACEOF
30190 cat confdefs.h >>conftest.$ac_ext
30191 cat >>conftest.$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193
30194 /* Override any gcc2 internal prototype to avoid an error. */
30195 #ifdef __cplusplus
30196 extern "C"
30197 #endif
30198 /* We use char because int might match the return type of a gcc2
30199 builtin and then its argument prototype would still apply. */
30200 char XOpenDisplay ();
30201 int
30202 main ()
30203 {
30204 XOpenDisplay ();
30205 ;
30206 return 0;
30207 }
30208 _ACEOF
30209 rm -f conftest.$ac_objext conftest$ac_exeext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30211 (eval $ac_link) 2>conftest.er1
30212 ac_status=$?
30213 grep -v '^ *+' conftest.er1 >conftest.err
30214 rm -f conftest.er1
30215 cat conftest.err >&5
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); } &&
30218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30220 (eval $ac_try) 2>&5
30221 ac_status=$?
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); }; } &&
30224 { ac_try='test -s conftest$ac_exeext'
30225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30226 (eval $ac_try) 2>&5
30227 ac_status=$?
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); }; }; then
30230 :
30231 else
30232 echo "$as_me: failed program was:" >&5
30233 sed 's/^/| /' conftest.$ac_ext >&5
30234
30235 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30236 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30237 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30238 echo $ECHO_N "(cached) $ECHO_C" >&6
30239 else
30240 ac_check_lib_save_LIBS=$LIBS
30241 LIBS="-ldnet $LIBS"
30242 cat >conftest.$ac_ext <<_ACEOF
30243 /* confdefs.h. */
30244 _ACEOF
30245 cat confdefs.h >>conftest.$ac_ext
30246 cat >>conftest.$ac_ext <<_ACEOF
30247 /* end confdefs.h. */
30248
30249 /* Override any gcc2 internal prototype to avoid an error. */
30250 #ifdef __cplusplus
30251 extern "C"
30252 #endif
30253 /* We use char because int might match the return type of a gcc2
30254 builtin and then its argument prototype would still apply. */
30255 char dnet_ntoa ();
30256 int
30257 main ()
30258 {
30259 dnet_ntoa ();
30260 ;
30261 return 0;
30262 }
30263 _ACEOF
30264 rm -f conftest.$ac_objext conftest$ac_exeext
30265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30266 (eval $ac_link) 2>conftest.er1
30267 ac_status=$?
30268 grep -v '^ *+' conftest.er1 >conftest.err
30269 rm -f conftest.er1
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } &&
30273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; } &&
30279 { ac_try='test -s conftest$ac_exeext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 ac_cv_lib_dnet_dnet_ntoa=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 ac_cv_lib_dnet_dnet_ntoa=no
30291 fi
30292 rm -f conftest.err conftest.$ac_objext \
30293 conftest$ac_exeext conftest.$ac_ext
30294 LIBS=$ac_check_lib_save_LIBS
30295 fi
30296 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30297 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30298 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30299 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30300 fi
30301
30302 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30303 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30304 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30305 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 else
30308 ac_check_lib_save_LIBS=$LIBS
30309 LIBS="-ldnet_stub $LIBS"
30310 cat >conftest.$ac_ext <<_ACEOF
30311 /* confdefs.h. */
30312 _ACEOF
30313 cat confdefs.h >>conftest.$ac_ext
30314 cat >>conftest.$ac_ext <<_ACEOF
30315 /* end confdefs.h. */
30316
30317 /* Override any gcc2 internal prototype to avoid an error. */
30318 #ifdef __cplusplus
30319 extern "C"
30320 #endif
30321 /* We use char because int might match the return type of a gcc2
30322 builtin and then its argument prototype would still apply. */
30323 char dnet_ntoa ();
30324 int
30325 main ()
30326 {
30327 dnet_ntoa ();
30328 ;
30329 return 0;
30330 }
30331 _ACEOF
30332 rm -f conftest.$ac_objext conftest$ac_exeext
30333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30334 (eval $ac_link) 2>conftest.er1
30335 ac_status=$?
30336 grep -v '^ *+' conftest.er1 >conftest.err
30337 rm -f conftest.er1
30338 cat conftest.err >&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } &&
30341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30343 (eval $ac_try) 2>&5
30344 ac_status=$?
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); }; } &&
30347 { ac_try='test -s conftest$ac_exeext'
30348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30350 ac_status=$?
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); }; }; then
30353 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30354 else
30355 echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.$ac_ext >&5
30357
30358 ac_cv_lib_dnet_stub_dnet_ntoa=no
30359 fi
30360 rm -f conftest.err conftest.$ac_objext \
30361 conftest$ac_exeext conftest.$ac_ext
30362 LIBS=$ac_check_lib_save_LIBS
30363 fi
30364 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30365 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30366 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30367 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30368 fi
30369
30370 fi
30371 fi
30372 rm -f conftest.err conftest.$ac_objext \
30373 conftest$ac_exeext conftest.$ac_ext
30374 LIBS="$ac_xsave_LIBS"
30375
30376 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30377 # to get the SysV transport functions.
30378 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30379 # needs -lnsl.
30380 # The nsl library prevents programs from opening the X display
30381 # on Irix 5.2, according to T.E. Dickey.
30382 # The functions gethostbyname, getservbyname, and inet_addr are
30383 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30384 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30385 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30386 if test "${ac_cv_func_gethostbyname+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30388 else
30389 cat >conftest.$ac_ext <<_ACEOF
30390 /* confdefs.h. */
30391 _ACEOF
30392 cat confdefs.h >>conftest.$ac_ext
30393 cat >>conftest.$ac_ext <<_ACEOF
30394 /* end confdefs.h. */
30395 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30397 #define gethostbyname innocuous_gethostbyname
30398
30399 /* System header to define __stub macros and hopefully few prototypes,
30400 which can conflict with char gethostbyname (); below.
30401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30402 <limits.h> exists even on freestanding compilers. */
30403
30404 #ifdef __STDC__
30405 # include <limits.h>
30406 #else
30407 # include <assert.h>
30408 #endif
30409
30410 #undef gethostbyname
30411
30412 /* Override any gcc2 internal prototype to avoid an error. */
30413 #ifdef __cplusplus
30414 extern "C"
30415 {
30416 #endif
30417 /* We use char because int might match the return type of a gcc2
30418 builtin and then its argument prototype would still apply. */
30419 char gethostbyname ();
30420 /* The GNU C library defines this for functions which it implements
30421 to always fail with ENOSYS. Some functions are actually named
30422 something starting with __ and the normal name is an alias. */
30423 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30424 choke me
30425 #else
30426 char (*f) () = gethostbyname;
30427 #endif
30428 #ifdef __cplusplus
30429 }
30430 #endif
30431
30432 int
30433 main ()
30434 {
30435 return f != gethostbyname;
30436 ;
30437 return 0;
30438 }
30439 _ACEOF
30440 rm -f conftest.$ac_objext conftest$ac_exeext
30441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30442 (eval $ac_link) 2>conftest.er1
30443 ac_status=$?
30444 grep -v '^ *+' conftest.er1 >conftest.err
30445 rm -f conftest.er1
30446 cat conftest.err >&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } &&
30449 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30451 (eval $ac_try) 2>&5
30452 ac_status=$?
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); }; } &&
30455 { ac_try='test -s conftest$ac_exeext'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30458 ac_status=$?
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; }; then
30461 ac_cv_func_gethostbyname=yes
30462 else
30463 echo "$as_me: failed program was:" >&5
30464 sed 's/^/| /' conftest.$ac_ext >&5
30465
30466 ac_cv_func_gethostbyname=no
30467 fi
30468 rm -f conftest.err conftest.$ac_objext \
30469 conftest$ac_exeext conftest.$ac_ext
30470 fi
30471 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30472 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30473
30474 if test $ac_cv_func_gethostbyname = no; then
30475 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30476 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30477 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30479 else
30480 ac_check_lib_save_LIBS=$LIBS
30481 LIBS="-lnsl $LIBS"
30482 cat >conftest.$ac_ext <<_ACEOF
30483 /* confdefs.h. */
30484 _ACEOF
30485 cat confdefs.h >>conftest.$ac_ext
30486 cat >>conftest.$ac_ext <<_ACEOF
30487 /* end confdefs.h. */
30488
30489 /* Override any gcc2 internal prototype to avoid an error. */
30490 #ifdef __cplusplus
30491 extern "C"
30492 #endif
30493 /* We use char because int might match the return type of a gcc2
30494 builtin and then its argument prototype would still apply. */
30495 char gethostbyname ();
30496 int
30497 main ()
30498 {
30499 gethostbyname ();
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 rm -f conftest.$ac_objext conftest$ac_exeext
30505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30506 (eval $ac_link) 2>conftest.er1
30507 ac_status=$?
30508 grep -v '^ *+' conftest.er1 >conftest.err
30509 rm -f conftest.er1
30510 cat conftest.err >&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); } &&
30513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30516 ac_status=$?
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; } &&
30519 { ac_try='test -s conftest$ac_exeext'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30522 ac_status=$?
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30525 ac_cv_lib_nsl_gethostbyname=yes
30526 else
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.$ac_ext >&5
30529
30530 ac_cv_lib_nsl_gethostbyname=no
30531 fi
30532 rm -f conftest.err conftest.$ac_objext \
30533 conftest$ac_exeext conftest.$ac_ext
30534 LIBS=$ac_check_lib_save_LIBS
30535 fi
30536 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30537 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30538 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30539 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30540 fi
30541
30542 if test $ac_cv_lib_nsl_gethostbyname = no; then
30543 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30544 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30545 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30547 else
30548 ac_check_lib_save_LIBS=$LIBS
30549 LIBS="-lbsd $LIBS"
30550 cat >conftest.$ac_ext <<_ACEOF
30551 /* confdefs.h. */
30552 _ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30556
30557 /* Override any gcc2 internal prototype to avoid an error. */
30558 #ifdef __cplusplus
30559 extern "C"
30560 #endif
30561 /* We use char because int might match the return type of a gcc2
30562 builtin and then its argument prototype would still apply. */
30563 char gethostbyname ();
30564 int
30565 main ()
30566 {
30567 gethostbyname ();
30568 ;
30569 return 0;
30570 }
30571 _ACEOF
30572 rm -f conftest.$ac_objext conftest$ac_exeext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30574 (eval $ac_link) 2>conftest.er1
30575 ac_status=$?
30576 grep -v '^ *+' conftest.er1 >conftest.err
30577 rm -f conftest.er1
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30583 (eval $ac_try) 2>&5
30584 ac_status=$?
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); }; } &&
30587 { ac_try='test -s conftest$ac_exeext'
30588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30589 (eval $ac_try) 2>&5
30590 ac_status=$?
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; }; then
30593 ac_cv_lib_bsd_gethostbyname=yes
30594 else
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.$ac_ext >&5
30597
30598 ac_cv_lib_bsd_gethostbyname=no
30599 fi
30600 rm -f conftest.err conftest.$ac_objext \
30601 conftest$ac_exeext conftest.$ac_ext
30602 LIBS=$ac_check_lib_save_LIBS
30603 fi
30604 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30605 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30606 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30607 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30608 fi
30609
30610 fi
30611 fi
30612
30613 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30614 # socket/setsockopt and other routines are undefined under SCO ODT
30615 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30616 # on later versions), says Simon Leinen: it contains gethostby*
30617 # variants that don't use the name server (or something). -lsocket
30618 # must be given before -lnsl if both are needed. We assume that
30619 # if connect needs -lnsl, so does gethostbyname.
30620 echo "$as_me:$LINENO: checking for connect" >&5
30621 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30622 if test "${ac_cv_func_connect+set}" = set; then
30623 echo $ECHO_N "(cached) $ECHO_C" >&6
30624 else
30625 cat >conftest.$ac_ext <<_ACEOF
30626 /* confdefs.h. */
30627 _ACEOF
30628 cat confdefs.h >>conftest.$ac_ext
30629 cat >>conftest.$ac_ext <<_ACEOF
30630 /* end confdefs.h. */
30631 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30633 #define connect innocuous_connect
30634
30635 /* System header to define __stub macros and hopefully few prototypes,
30636 which can conflict with char connect (); below.
30637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30638 <limits.h> exists even on freestanding compilers. */
30639
30640 #ifdef __STDC__
30641 # include <limits.h>
30642 #else
30643 # include <assert.h>
30644 #endif
30645
30646 #undef connect
30647
30648 /* Override any gcc2 internal prototype to avoid an error. */
30649 #ifdef __cplusplus
30650 extern "C"
30651 {
30652 #endif
30653 /* We use char because int might match the return type of a gcc2
30654 builtin and then its argument prototype would still apply. */
30655 char connect ();
30656 /* The GNU C library defines this for functions which it implements
30657 to always fail with ENOSYS. Some functions are actually named
30658 something starting with __ and the normal name is an alias. */
30659 #if defined (__stub_connect) || defined (__stub___connect)
30660 choke me
30661 #else
30662 char (*f) () = connect;
30663 #endif
30664 #ifdef __cplusplus
30665 }
30666 #endif
30667
30668 int
30669 main ()
30670 {
30671 return f != connect;
30672 ;
30673 return 0;
30674 }
30675 _ACEOF
30676 rm -f conftest.$ac_objext conftest$ac_exeext
30677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30678 (eval $ac_link) 2>conftest.er1
30679 ac_status=$?
30680 grep -v '^ *+' conftest.er1 >conftest.err
30681 rm -f conftest.er1
30682 cat conftest.err >&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } &&
30685 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30688 ac_status=$?
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; } &&
30691 { ac_try='test -s conftest$ac_exeext'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30694 ac_status=$?
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; }; then
30697 ac_cv_func_connect=yes
30698 else
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30701
30702 ac_cv_func_connect=no
30703 fi
30704 rm -f conftest.err conftest.$ac_objext \
30705 conftest$ac_exeext conftest.$ac_ext
30706 fi
30707 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30708 echo "${ECHO_T}$ac_cv_func_connect" >&6
30709
30710 if test $ac_cv_func_connect = no; then
30711 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30712 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30713 if test "${ac_cv_lib_socket_connect+set}" = set; then
30714 echo $ECHO_N "(cached) $ECHO_C" >&6
30715 else
30716 ac_check_lib_save_LIBS=$LIBS
30717 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30718 cat >conftest.$ac_ext <<_ACEOF
30719 /* confdefs.h. */
30720 _ACEOF
30721 cat confdefs.h >>conftest.$ac_ext
30722 cat >>conftest.$ac_ext <<_ACEOF
30723 /* end confdefs.h. */
30724
30725 /* Override any gcc2 internal prototype to avoid an error. */
30726 #ifdef __cplusplus
30727 extern "C"
30728 #endif
30729 /* We use char because int might match the return type of a gcc2
30730 builtin and then its argument prototype would still apply. */
30731 char connect ();
30732 int
30733 main ()
30734 {
30735 connect ();
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 rm -f conftest.$ac_objext conftest$ac_exeext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30742 (eval $ac_link) 2>conftest.er1
30743 ac_status=$?
30744 grep -v '^ *+' conftest.er1 >conftest.err
30745 rm -f conftest.er1
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } &&
30749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30752 ac_status=$?
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; } &&
30755 { ac_try='test -s conftest$ac_exeext'
30756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30757 (eval $ac_try) 2>&5
30758 ac_status=$?
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); }; }; then
30761 ac_cv_lib_socket_connect=yes
30762 else
30763 echo "$as_me: failed program was:" >&5
30764 sed 's/^/| /' conftest.$ac_ext >&5
30765
30766 ac_cv_lib_socket_connect=no
30767 fi
30768 rm -f conftest.err conftest.$ac_objext \
30769 conftest$ac_exeext conftest.$ac_ext
30770 LIBS=$ac_check_lib_save_LIBS
30771 fi
30772 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30773 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30774 if test $ac_cv_lib_socket_connect = yes; then
30775 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30776 fi
30777
30778 fi
30779
30780 # Guillermo Gomez says -lposix is necessary on A/UX.
30781 echo "$as_me:$LINENO: checking for remove" >&5
30782 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30783 if test "${ac_cv_func_remove+set}" = set; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 else
30786 cat >conftest.$ac_ext <<_ACEOF
30787 /* confdefs.h. */
30788 _ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30794 #define remove innocuous_remove
30795
30796 /* System header to define __stub macros and hopefully few prototypes,
30797 which can conflict with char remove (); below.
30798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30799 <limits.h> exists even on freestanding compilers. */
30800
30801 #ifdef __STDC__
30802 # include <limits.h>
30803 #else
30804 # include <assert.h>
30805 #endif
30806
30807 #undef remove
30808
30809 /* Override any gcc2 internal prototype to avoid an error. */
30810 #ifdef __cplusplus
30811 extern "C"
30812 {
30813 #endif
30814 /* We use char because int might match the return type of a gcc2
30815 builtin and then its argument prototype would still apply. */
30816 char remove ();
30817 /* The GNU C library defines this for functions which it implements
30818 to always fail with ENOSYS. Some functions are actually named
30819 something starting with __ and the normal name is an alias. */
30820 #if defined (__stub_remove) || defined (__stub___remove)
30821 choke me
30822 #else
30823 char (*f) () = remove;
30824 #endif
30825 #ifdef __cplusplus
30826 }
30827 #endif
30828
30829 int
30830 main ()
30831 {
30832 return f != remove;
30833 ;
30834 return 0;
30835 }
30836 _ACEOF
30837 rm -f conftest.$ac_objext conftest$ac_exeext
30838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30839 (eval $ac_link) 2>conftest.er1
30840 ac_status=$?
30841 grep -v '^ *+' conftest.er1 >conftest.err
30842 rm -f conftest.er1
30843 cat conftest.err >&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); } &&
30846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; } &&
30852 { ac_try='test -s conftest$ac_exeext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30855 ac_status=$?
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858 ac_cv_func_remove=yes
30859 else
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.$ac_ext >&5
30862
30863 ac_cv_func_remove=no
30864 fi
30865 rm -f conftest.err conftest.$ac_objext \
30866 conftest$ac_exeext conftest.$ac_ext
30867 fi
30868 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30869 echo "${ECHO_T}$ac_cv_func_remove" >&6
30870
30871 if test $ac_cv_func_remove = no; then
30872 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30873 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30874 if test "${ac_cv_lib_posix_remove+set}" = set; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 else
30877 ac_check_lib_save_LIBS=$LIBS
30878 LIBS="-lposix $LIBS"
30879 cat >conftest.$ac_ext <<_ACEOF
30880 /* confdefs.h. */
30881 _ACEOF
30882 cat confdefs.h >>conftest.$ac_ext
30883 cat >>conftest.$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30885
30886 /* Override any gcc2 internal prototype to avoid an error. */
30887 #ifdef __cplusplus
30888 extern "C"
30889 #endif
30890 /* We use char because int might match the return type of a gcc2
30891 builtin and then its argument prototype would still apply. */
30892 char remove ();
30893 int
30894 main ()
30895 {
30896 remove ();
30897 ;
30898 return 0;
30899 }
30900 _ACEOF
30901 rm -f conftest.$ac_objext conftest$ac_exeext
30902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30903 (eval $ac_link) 2>conftest.er1
30904 ac_status=$?
30905 grep -v '^ *+' conftest.er1 >conftest.err
30906 rm -f conftest.er1
30907 cat conftest.err >&5
30908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909 (exit $ac_status); } &&
30910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30912 (eval $ac_try) 2>&5
30913 ac_status=$?
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); }; } &&
30916 { ac_try='test -s conftest$ac_exeext'
30917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30918 (eval $ac_try) 2>&5
30919 ac_status=$?
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); }; }; then
30922 ac_cv_lib_posix_remove=yes
30923 else
30924 echo "$as_me: failed program was:" >&5
30925 sed 's/^/| /' conftest.$ac_ext >&5
30926
30927 ac_cv_lib_posix_remove=no
30928 fi
30929 rm -f conftest.err conftest.$ac_objext \
30930 conftest$ac_exeext conftest.$ac_ext
30931 LIBS=$ac_check_lib_save_LIBS
30932 fi
30933 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30934 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30935 if test $ac_cv_lib_posix_remove = yes; then
30936 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30937 fi
30938
30939 fi
30940
30941 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30942 echo "$as_me:$LINENO: checking for shmat" >&5
30943 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30944 if test "${ac_cv_func_shmat+set}" = set; then
30945 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 else
30947 cat >conftest.$ac_ext <<_ACEOF
30948 /* confdefs.h. */
30949 _ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30953 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30955 #define shmat innocuous_shmat
30956
30957 /* System header to define __stub macros and hopefully few prototypes,
30958 which can conflict with char shmat (); below.
30959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30960 <limits.h> exists even on freestanding compilers. */
30961
30962 #ifdef __STDC__
30963 # include <limits.h>
30964 #else
30965 # include <assert.h>
30966 #endif
30967
30968 #undef shmat
30969
30970 /* Override any gcc2 internal prototype to avoid an error. */
30971 #ifdef __cplusplus
30972 extern "C"
30973 {
30974 #endif
30975 /* We use char because int might match the return type of a gcc2
30976 builtin and then its argument prototype would still apply. */
30977 char shmat ();
30978 /* The GNU C library defines this for functions which it implements
30979 to always fail with ENOSYS. Some functions are actually named
30980 something starting with __ and the normal name is an alias. */
30981 #if defined (__stub_shmat) || defined (__stub___shmat)
30982 choke me
30983 #else
30984 char (*f) () = shmat;
30985 #endif
30986 #ifdef __cplusplus
30987 }
30988 #endif
30989
30990 int
30991 main ()
30992 {
30993 return f != shmat;
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31000 (eval $ac_link) 2>conftest.er1
31001 ac_status=$?
31002 grep -v '^ *+' conftest.er1 >conftest.err
31003 rm -f conftest.er1
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31009 (eval $ac_try) 2>&5
31010 ac_status=$?
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); }; } &&
31013 { ac_try='test -s conftest$ac_exeext'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31016 ac_status=$?
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; }; then
31019 ac_cv_func_shmat=yes
31020 else
31021 echo "$as_me: failed program was:" >&5
31022 sed 's/^/| /' conftest.$ac_ext >&5
31023
31024 ac_cv_func_shmat=no
31025 fi
31026 rm -f conftest.err conftest.$ac_objext \
31027 conftest$ac_exeext conftest.$ac_ext
31028 fi
31029 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31030 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31031
31032 if test $ac_cv_func_shmat = no; then
31033 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31034 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31035 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 else
31038 ac_check_lib_save_LIBS=$LIBS
31039 LIBS="-lipc $LIBS"
31040 cat >conftest.$ac_ext <<_ACEOF
31041 /* confdefs.h. */
31042 _ACEOF
31043 cat confdefs.h >>conftest.$ac_ext
31044 cat >>conftest.$ac_ext <<_ACEOF
31045 /* end confdefs.h. */
31046
31047 /* Override any gcc2 internal prototype to avoid an error. */
31048 #ifdef __cplusplus
31049 extern "C"
31050 #endif
31051 /* We use char because int might match the return type of a gcc2
31052 builtin and then its argument prototype would still apply. */
31053 char shmat ();
31054 int
31055 main ()
31056 {
31057 shmat ();
31058 ;
31059 return 0;
31060 }
31061 _ACEOF
31062 rm -f conftest.$ac_objext conftest$ac_exeext
31063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31064 (eval $ac_link) 2>conftest.er1
31065 ac_status=$?
31066 grep -v '^ *+' conftest.er1 >conftest.err
31067 rm -f conftest.er1
31068 cat conftest.err >&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } &&
31071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; } &&
31077 { ac_try='test -s conftest$ac_exeext'
31078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079 (eval $ac_try) 2>&5
31080 ac_status=$?
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; }; then
31083 ac_cv_lib_ipc_shmat=yes
31084 else
31085 echo "$as_me: failed program was:" >&5
31086 sed 's/^/| /' conftest.$ac_ext >&5
31087
31088 ac_cv_lib_ipc_shmat=no
31089 fi
31090 rm -f conftest.err conftest.$ac_objext \
31091 conftest$ac_exeext conftest.$ac_ext
31092 LIBS=$ac_check_lib_save_LIBS
31093 fi
31094 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31095 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31096 if test $ac_cv_lib_ipc_shmat = yes; then
31097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31098 fi
31099
31100 fi
31101 fi
31102
31103 # Check for libraries that X11R6 Xt/Xaw programs need.
31104 ac_save_LDFLAGS=$LDFLAGS
31105 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31106 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31107 # check for ICE first), but we must link in the order -lSM -lICE or
31108 # we get undefined symbols. So assume we have SM if we have ICE.
31109 # These have to be linked with before -lX11, unlike the other
31110 # libraries we check for below, so use a different variable.
31111 # John Interrante, Karl Berry
31112 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31113 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31114 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 else
31117 ac_check_lib_save_LIBS=$LIBS
31118 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31119 cat >conftest.$ac_ext <<_ACEOF
31120 /* confdefs.h. */
31121 _ACEOF
31122 cat confdefs.h >>conftest.$ac_ext
31123 cat >>conftest.$ac_ext <<_ACEOF
31124 /* end confdefs.h. */
31125
31126 /* Override any gcc2 internal prototype to avoid an error. */
31127 #ifdef __cplusplus
31128 extern "C"
31129 #endif
31130 /* We use char because int might match the return type of a gcc2
31131 builtin and then its argument prototype would still apply. */
31132 char IceConnectionNumber ();
31133 int
31134 main ()
31135 {
31136 IceConnectionNumber ();
31137 ;
31138 return 0;
31139 }
31140 _ACEOF
31141 rm -f conftest.$ac_objext conftest$ac_exeext
31142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31143 (eval $ac_link) 2>conftest.er1
31144 ac_status=$?
31145 grep -v '^ *+' conftest.er1 >conftest.err
31146 rm -f conftest.er1
31147 cat conftest.err >&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); } &&
31150 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31153 ac_status=$?
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; } &&
31156 { ac_try='test -s conftest$ac_exeext'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31159 ac_status=$?
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; }; then
31162 ac_cv_lib_ICE_IceConnectionNumber=yes
31163 else
31164 echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.$ac_ext >&5
31166
31167 ac_cv_lib_ICE_IceConnectionNumber=no
31168 fi
31169 rm -f conftest.err conftest.$ac_objext \
31170 conftest$ac_exeext conftest.$ac_ext
31171 LIBS=$ac_check_lib_save_LIBS
31172 fi
31173 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31174 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31175 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31176 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31177 fi
31178
31179 LDFLAGS=$ac_save_LDFLAGS
31180
31181 fi
31182
31183
31184 if test "$no_x" = "yes"; then
31185 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31186 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31187 { (exit 1); exit 1; }; }
31188 fi
31189
31190 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31191 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31192 AFMINSTALL=afminstall
31193 COMPILED_X_PROGRAM=0
31194
31195 fi
31196
31197 if test "$wxUSE_X11" = 1; then
31198 if test "$wxUSE_NANOX" = "yes"; then
31199 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31200 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31201 if test "x$MICROWIN" = x ; then
31202 echo "$as_me:$LINENO: result: not found" >&5
31203 echo "${ECHO_T}not found" >&6
31204 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31205 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31206 { (exit 1); exit 1; }; }
31207 else
31208 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31209 echo "${ECHO_T}$MICROWIN" >&6
31210 cat >>confdefs.h <<\_ACEOF
31211 #define wxUSE_NANOX 1
31212 _ACEOF
31213
31214 fi
31215 fi
31216
31217 if test "$wxUSE_UNICODE" = "yes"; then
31218
31219
31220 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31221 if test -n "$ac_tool_prefix"; then
31222 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31223 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31224 echo "$as_me:$LINENO: checking for $ac_word" >&5
31225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31227 echo $ECHO_N "(cached) $ECHO_C" >&6
31228 else
31229 case $PKG_CONFIG in
31230 [\\/]* | ?:[\\/]*)
31231 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31232 ;;
31233 *)
31234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31235 for as_dir in $PATH
31236 do
31237 IFS=$as_save_IFS
31238 test -z "$as_dir" && as_dir=.
31239 for ac_exec_ext in '' $ac_executable_extensions; do
31240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31241 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31243 break 2
31244 fi
31245 done
31246 done
31247
31248 ;;
31249 esac
31250 fi
31251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31252
31253 if test -n "$PKG_CONFIG"; then
31254 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31255 echo "${ECHO_T}$PKG_CONFIG" >&6
31256 else
31257 echo "$as_me:$LINENO: result: no" >&5
31258 echo "${ECHO_T}no" >&6
31259 fi
31260
31261 fi
31262 if test -z "$ac_cv_path_PKG_CONFIG"; then
31263 ac_pt_PKG_CONFIG=$PKG_CONFIG
31264 # Extract the first word of "pkg-config", so it can be a program name with args.
31265 set dummy pkg-config; ac_word=$2
31266 echo "$as_me:$LINENO: checking for $ac_word" >&5
31267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31268 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271 case $ac_pt_PKG_CONFIG in
31272 [\\/]* | ?:[\\/]*)
31273 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31274 ;;
31275 *)
31276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31277 for as_dir in $PATH
31278 do
31279 IFS=$as_save_IFS
31280 test -z "$as_dir" && as_dir=.
31281 for ac_exec_ext in '' $ac_executable_extensions; do
31282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31283 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31285 break 2
31286 fi
31287 done
31288 done
31289
31290 ;;
31291 esac
31292 fi
31293 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31294
31295 if test -n "$ac_pt_PKG_CONFIG"; then
31296 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31297 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31298 else
31299 echo "$as_me:$LINENO: result: no" >&5
31300 echo "${ECHO_T}no" >&6
31301 fi
31302
31303 PKG_CONFIG=$ac_pt_PKG_CONFIG
31304 else
31305 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31306 fi
31307
31308 fi
31309 if test -n "$PKG_CONFIG"; then
31310 _pkg_min_version=0.9.0
31311 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31312 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31313 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31314 echo "$as_me:$LINENO: result: yes" >&5
31315 echo "${ECHO_T}yes" >&6
31316 else
31317 echo "$as_me:$LINENO: result: no" >&5
31318 echo "${ECHO_T}no" >&6
31319 PKG_CONFIG=""
31320 fi
31321
31322 fi
31323
31324
31325 pkg_failed=no
31326 echo "$as_me:$LINENO: checking for PANGOX" >&5
31327 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31328
31329 if test -n "$PKG_CONFIG"; then
31330 if test -n "$PANGOX_CFLAGS"; then
31331 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31332 else
31333 if test -n "$PKG_CONFIG" && \
31334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31335 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31336 ac_status=$?
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); }; then
31339 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31340 else
31341 pkg_failed=yes
31342 fi
31343 fi
31344 else
31345 pkg_failed=untried
31346 fi
31347 if test -n "$PKG_CONFIG"; then
31348 if test -n "$PANGOX_LIBS"; then
31349 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31350 else
31351 if test -n "$PKG_CONFIG" && \
31352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31353 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31354 ac_status=$?
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; then
31357 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31358 else
31359 pkg_failed=yes
31360 fi
31361 fi
31362 else
31363 pkg_failed=untried
31364 fi
31365
31366
31367
31368 if test $pkg_failed = yes; then
31369
31370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31371 _pkg_short_errors_supported=yes
31372 else
31373 _pkg_short_errors_supported=no
31374 fi
31375 if test $_pkg_short_errors_supported = yes; then
31376 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31377 else
31378 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31379 fi
31380 # Put the nasty error message in config.log where it belongs
31381 echo "$PANGOX_PKG_ERRORS" >&5
31382
31383
31384 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31385 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31386 { (exit 1); exit 1; }; }
31387
31388
31389 elif test $pkg_failed = untried; then
31390
31391 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31392 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31393 { (exit 1); exit 1; }; }
31394
31395
31396 else
31397 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31398 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31399 echo "$as_me:$LINENO: result: yes" >&5
31400 echo "${ECHO_T}yes" >&6
31401
31402 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31404
31405 fi
31406
31407 pkg_failed=no
31408 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31409 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31410
31411 if test -n "$PKG_CONFIG"; then
31412 if test -n "$PANGOFT2_CFLAGS"; then
31413 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31414 else
31415 if test -n "$PKG_CONFIG" && \
31416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31417 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; then
31421 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31422 else
31423 pkg_failed=yes
31424 fi
31425 fi
31426 else
31427 pkg_failed=untried
31428 fi
31429 if test -n "$PKG_CONFIG"; then
31430 if test -n "$PANGOFT2_LIBS"; then
31431 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31432 else
31433 if test -n "$PKG_CONFIG" && \
31434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31435 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31436 ac_status=$?
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; then
31439 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31440 else
31441 pkg_failed=yes
31442 fi
31443 fi
31444 else
31445 pkg_failed=untried
31446 fi
31447
31448
31449
31450 if test $pkg_failed = yes; then
31451
31452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31453 _pkg_short_errors_supported=yes
31454 else
31455 _pkg_short_errors_supported=no
31456 fi
31457 if test $_pkg_short_errors_supported = yes; then
31458 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31459 else
31460 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31461 fi
31462 # Put the nasty error message in config.log where it belongs
31463 echo "$PANGOFT2_PKG_ERRORS" >&5
31464
31465
31466 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31467 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31468 wxUSE_PRINTING_ARCHITECTURE="no"
31469
31470
31471 elif test $pkg_failed = untried; then
31472
31473 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31474 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31475 wxUSE_PRINTING_ARCHITECTURE="no"
31476
31477
31478 else
31479 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31480 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31481 echo "$as_me:$LINENO: result: yes" >&5
31482 echo "${ECHO_T}yes" >&6
31483
31484 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31486
31487 fi
31488
31489 pkg_failed=no
31490 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31491 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31492
31493 if test -n "$PKG_CONFIG"; then
31494 if test -n "$PANGOXFT_CFLAGS"; then
31495 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31496 else
31497 if test -n "$PKG_CONFIG" && \
31498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31499 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31500 ac_status=$?
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; then
31503 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31504 else
31505 pkg_failed=yes
31506 fi
31507 fi
31508 else
31509 pkg_failed=untried
31510 fi
31511 if test -n "$PKG_CONFIG"; then
31512 if test -n "$PANGOXFT_LIBS"; then
31513 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31514 else
31515 if test -n "$PKG_CONFIG" && \
31516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31517 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; then
31521 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31522 else
31523 pkg_failed=yes
31524 fi
31525 fi
31526 else
31527 pkg_failed=untried
31528 fi
31529
31530
31531
31532 if test $pkg_failed = yes; then
31533
31534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31535 _pkg_short_errors_supported=yes
31536 else
31537 _pkg_short_errors_supported=no
31538 fi
31539 if test $_pkg_short_errors_supported = yes; then
31540 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31541 else
31542 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31543 fi
31544 # Put the nasty error message in config.log where it belongs
31545 echo "$PANGOXFT_PKG_ERRORS" >&5
31546
31547
31548 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31549 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31550
31551
31552 elif test $pkg_failed = untried; then
31553
31554 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31555 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31556
31557
31558 else
31559 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31560 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31561 echo "$as_me:$LINENO: result: yes" >&5
31562 echo "${ECHO_T}yes" >&6
31563
31564 cat >>confdefs.h <<\_ACEOF
31565 #define HAVE_PANGO_XFT 1
31566 _ACEOF
31567
31568 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31570
31571 fi
31572 save_CXXFLAGS="$CXXFLAGS"
31573 save_LIBS="$LIBS"
31574 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31575 LIBS="$LIBS $PANGOX_LIBS"
31576
31577 for ac_func in pango_font_family_is_monospace
31578 do
31579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31580 echo "$as_me:$LINENO: checking for $ac_func" >&5
31581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31582 if eval "test \"\${$as_ac_var+set}\" = set"; then
31583 echo $ECHO_N "(cached) $ECHO_C" >&6
31584 else
31585 cat >conftest.$ac_ext <<_ACEOF
31586 /* confdefs.h. */
31587 _ACEOF
31588 cat confdefs.h >>conftest.$ac_ext
31589 cat >>conftest.$ac_ext <<_ACEOF
31590 /* end confdefs.h. */
31591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31593 #define $ac_func innocuous_$ac_func
31594
31595 /* System header to define __stub macros and hopefully few prototypes,
31596 which can conflict with char $ac_func (); below.
31597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31598 <limits.h> exists even on freestanding compilers. */
31599
31600 #ifdef __STDC__
31601 # include <limits.h>
31602 #else
31603 # include <assert.h>
31604 #endif
31605
31606 #undef $ac_func
31607
31608 /* Override any gcc2 internal prototype to avoid an error. */
31609 #ifdef __cplusplus
31610 extern "C"
31611 {
31612 #endif
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31615 char $ac_func ();
31616 /* The GNU C library defines this for functions which it implements
31617 to always fail with ENOSYS. Some functions are actually named
31618 something starting with __ and the normal name is an alias. */
31619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31620 choke me
31621 #else
31622 char (*f) () = $ac_func;
31623 #endif
31624 #ifdef __cplusplus
31625 }
31626 #endif
31627
31628 int
31629 main ()
31630 {
31631 return f != $ac_func;
31632 ;
31633 return 0;
31634 }
31635 _ACEOF
31636 rm -f conftest.$ac_objext conftest$ac_exeext
31637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31638 (eval $ac_link) 2>conftest.er1
31639 ac_status=$?
31640 grep -v '^ *+' conftest.er1 >conftest.err
31641 rm -f conftest.er1
31642 cat conftest.err >&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); } &&
31645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31648 ac_status=$?
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; } &&
31651 { ac_try='test -s conftest$ac_exeext'
31652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653 (eval $ac_try) 2>&5
31654 ac_status=$?
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; }; then
31657 eval "$as_ac_var=yes"
31658 else
31659 echo "$as_me: failed program was:" >&5
31660 sed 's/^/| /' conftest.$ac_ext >&5
31661
31662 eval "$as_ac_var=no"
31663 fi
31664 rm -f conftest.err conftest.$ac_objext \
31665 conftest$ac_exeext conftest.$ac_ext
31666 fi
31667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31669 if test `eval echo '${'$as_ac_var'}'` = yes; then
31670 cat >>confdefs.h <<_ACEOF
31671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31672 _ACEOF
31673
31674 fi
31675 done
31676
31677 CXXFLAGS="$save_CXXFLAGS"
31678 LIBS="$save_LIBS"
31679 fi
31680
31681 wxUSE_UNIVERSAL="yes"
31682
31683 if test "$wxUSE_NANOX" = "yes"; then
31684 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31685 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"
31686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31687 else
31688 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31689 fi
31690
31691 TOOLKIT=X11
31692 GUIDIST=X11_DIST
31693 fi
31694
31695 if test "$wxUSE_MOTIF" = 1; then
31696 if test "$wxUSE_UNICODE" = "yes"; then
31697 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31698 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31699 { (exit 1); exit 1; }; }
31700 fi
31701
31702 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31703 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31704
31705 ac_find_includes=
31706 for ac_dir in $SEARCH_INCLUDE /usr/include;
31707 do
31708 if test -f "$ac_dir/Xm/Xm.h"; then
31709 ac_find_includes=$ac_dir
31710 break
31711 fi
31712 done
31713
31714 if test "$ac_find_includes" != "" ; then
31715 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31716 echo "${ECHO_T}found in $ac_find_includes" >&6
31717
31718 if test "x$ac_find_includes" = "x/usr/include"; then
31719 ac_path_to_include=""
31720 else
31721 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31722 result=$?
31723 if test $result = 0; then
31724 ac_path_to_include=""
31725 else
31726 ac_path_to_include=" -I$ac_find_includes"
31727 fi
31728 fi
31729
31730 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31731 else
31732 save_CXXFLAGS=$CXXFLAGS
31733 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31734
31735 cat >conftest.$ac_ext <<_ACEOF
31736 /* confdefs.h. */
31737 _ACEOF
31738 cat confdefs.h >>conftest.$ac_ext
31739 cat >>conftest.$ac_ext <<_ACEOF
31740 /* end confdefs.h. */
31741
31742 #include <Xm/Xm.h>
31743
31744 int
31745 main ()
31746 {
31747
31748 int version;
31749 version = xmUseVersion;
31750
31751 ;
31752 return 0;
31753 }
31754 _ACEOF
31755 rm -f conftest.$ac_objext
31756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31757 (eval $ac_compile) 2>conftest.er1
31758 ac_status=$?
31759 grep -v '^ *+' conftest.er1 >conftest.err
31760 rm -f conftest.er1
31761 cat conftest.err >&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); } &&
31764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; } &&
31770 { ac_try='test -s conftest.$ac_objext'
31771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31772 (eval $ac_try) 2>&5
31773 ac_status=$?
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); }; }; then
31776
31777 echo "$as_me:$LINENO: result: found in default search path" >&5
31778 echo "${ECHO_T}found in default search path" >&6
31779 COMPILED_X_PROGRAM=1
31780
31781 else
31782 echo "$as_me: failed program was:" >&5
31783 sed 's/^/| /' conftest.$ac_ext >&5
31784
31785
31786 echo "$as_me:$LINENO: result: no" >&5
31787 echo "${ECHO_T}no" >&6
31788 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31789 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31790 { (exit 1); exit 1; }; }
31791
31792
31793 fi
31794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31795
31796 CXXFLAGS=$save_CXXFLAGS
31797 fi
31798
31799
31800 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31801 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31802
31803 ac_find_libraries=
31804 for ac_dir in $SEARCH_LIB;
31805 do
31806 for ac_extension in a so sl dylib dll.a; do
31807 if test -f "$ac_dir/libXm.$ac_extension"; then
31808 ac_find_libraries=$ac_dir
31809 break 2
31810 fi
31811 done
31812 done
31813
31814
31815 if test "x$ac_find_libraries" != "x" ; then
31816 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31817 echo "${ECHO_T}found in $ac_find_libraries" >&6
31818
31819
31820 if test "$ac_find_libraries" = "default location"; then
31821 ac_path_to_link=""
31822 else
31823 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31824 result=$?
31825 if test $result = 0; then
31826 ac_path_to_link=""
31827 else
31828 ac_path_to_link=" -L$ac_find_libraries"
31829 fi
31830 fi
31831
31832 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31833 else
31834 save_CXXFLAGS=$CXXFLAGS
31835 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31836 save_LIBS="$LIBS"
31837 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31838
31839 cat >conftest.$ac_ext <<_ACEOF
31840 /* confdefs.h. */
31841 _ACEOF
31842 cat confdefs.h >>conftest.$ac_ext
31843 cat >>conftest.$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845
31846 #include <Xm/Xm.h>
31847
31848 int
31849 main ()
31850 {
31851
31852 int version;
31853 version = xmUseVersion;
31854
31855 ;
31856 return 0;
31857 }
31858 _ACEOF
31859 rm -f conftest.$ac_objext conftest$ac_exeext
31860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31861 (eval $ac_link) 2>conftest.er1
31862 ac_status=$?
31863 grep -v '^ *+' conftest.er1 >conftest.err
31864 rm -f conftest.er1
31865 cat conftest.err >&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); } &&
31868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31871 ac_status=$?
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; } &&
31874 { ac_try='test -s conftest$ac_exeext'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31877 ac_status=$?
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; }; then
31880
31881 echo "$as_me:$LINENO: result: found in default search path" >&5
31882 echo "${ECHO_T}found in default search path" >&6
31883 COMPILED_X_PROGRAM=1
31884
31885 else
31886 echo "$as_me: failed program was:" >&5
31887 sed 's/^/| /' conftest.$ac_ext >&5
31888
31889
31890 echo "$as_me:$LINENO: result: no" >&5
31891 echo "${ECHO_T}no" >&6
31892 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31893 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31894 { (exit 1); exit 1; }; }
31895
31896
31897 fi
31898 rm -f conftest.err conftest.$ac_objext \
31899 conftest$ac_exeext conftest.$ac_ext
31900
31901 CXXFLAGS=$save_CXXFLAGS
31902 LIBS="$save_LIBS"
31903 fi
31904
31905 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31906 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31907 libp_link=""
31908 libsm_ice_link=""
31909 libs_found=0
31910 for libp in "" " -lXp"; do
31911 if test "$libs_found" = "0"; then
31912 for libsm_ice in "" " -lSM -lICE"; do
31913 if test "$libs_found" = "0"; then
31914 save_LIBS="$LIBS"
31915 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31916 save_CXXFLAGS=$CXXFLAGS
31917 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31918
31919 cat >conftest.$ac_ext <<_ACEOF
31920 /* confdefs.h. */
31921 _ACEOF
31922 cat confdefs.h >>conftest.$ac_ext
31923 cat >>conftest.$ac_ext <<_ACEOF
31924 /* end confdefs.h. */
31925
31926 #include <Xm/Xm.h>
31927 #include <Xm/List.h>
31928
31929 int
31930 main ()
31931 {
31932
31933 XmString string = NULL;
31934 Widget w = NULL;
31935 int position = 0;
31936 XmListAddItem(w, string, position);
31937
31938 ;
31939 return 0;
31940 }
31941 _ACEOF
31942 rm -f conftest.$ac_objext conftest$ac_exeext
31943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31944 (eval $ac_link) 2>conftest.er1
31945 ac_status=$?
31946 grep -v '^ *+' conftest.er1 >conftest.err
31947 rm -f conftest.er1
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } &&
31951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31954 ac_status=$?
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try='test -s conftest$ac_exeext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963
31964 libp_link="$libp"
31965 libsm_ice_link="$libsm_ice"
31966 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31967 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31968 libs_found=1
31969
31970 else
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.$ac_ext >&5
31973
31974
31975
31976 fi
31977 rm -f conftest.err conftest.$ac_objext \
31978 conftest$ac_exeext conftest.$ac_ext
31979
31980 LIBS="$save_LIBS"
31981 CXXFLAGS=$save_CXXFLAGS
31982 fi
31983 done
31984 fi
31985 done
31986
31987 if test "$libs_found" = "0"; then
31988 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31989 echo "${ECHO_T}can't find the right libraries" >&6
31990 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31991 echo "$as_me: error: can't link a simple motif program" >&2;}
31992 { (exit 1); exit 1; }; }
31993 fi
31994
31995 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31996 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31997 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31998 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 else
32000 ac_check_lib_save_LIBS=$LIBS
32001 LIBS="-lSgm $LIBS"
32002 cat >conftest.$ac_ext <<_ACEOF
32003 /* confdefs.h. */
32004 _ACEOF
32005 cat confdefs.h >>conftest.$ac_ext
32006 cat >>conftest.$ac_ext <<_ACEOF
32007 /* end confdefs.h. */
32008
32009 /* Override any gcc2 internal prototype to avoid an error. */
32010 #ifdef __cplusplus
32011 extern "C"
32012 #endif
32013 /* We use char because int might match the return type of a gcc2
32014 builtin and then its argument prototype would still apply. */
32015 char SgCreateList ();
32016 int
32017 main ()
32018 {
32019 SgCreateList ();
32020 ;
32021 return 0;
32022 }
32023 _ACEOF
32024 rm -f conftest.$ac_objext conftest$ac_exeext
32025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32026 (eval $ac_link) 2>conftest.er1
32027 ac_status=$?
32028 grep -v '^ *+' conftest.er1 >conftest.err
32029 rm -f conftest.er1
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } &&
32033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32035 (eval $ac_try) 2>&5
32036 ac_status=$?
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; } &&
32039 { ac_try='test -s conftest$ac_exeext'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32042 ac_status=$?
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; }; then
32045 ac_cv_lib_Sgm_SgCreateList=yes
32046 else
32047 echo "$as_me: failed program was:" >&5
32048 sed 's/^/| /' conftest.$ac_ext >&5
32049
32050 ac_cv_lib_Sgm_SgCreateList=no
32051 fi
32052 rm -f conftest.err conftest.$ac_objext \
32053 conftest$ac_exeext conftest.$ac_ext
32054 LIBS=$ac_check_lib_save_LIBS
32055 fi
32056 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32057 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32058 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32059 libsgm_link=" -lSgm"
32060 fi
32061
32062
32063 save_CXXFLAGS=$CXXFLAGS
32064 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32065
32066 echo "$as_me:$LINENO: checking for Motif 2" >&5
32067 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32068 if test "${wx_cv_lib_motif2+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32070 else
32071 cat >conftest.$ac_ext <<_ACEOF
32072 /* confdefs.h. */
32073 _ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32077
32078 #include <Xm/Xm.h>
32079
32080 int
32081 main ()
32082 {
32083
32084 #if XmVersion < 2000
32085 Not Motif 2
32086 #endif
32087
32088 ;
32089 return 0;
32090 }
32091 _ACEOF
32092 rm -f conftest.$ac_objext
32093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32094 (eval $ac_compile) 2>conftest.er1
32095 ac_status=$?
32096 grep -v '^ *+' conftest.er1 >conftest.err
32097 rm -f conftest.er1
32098 cat conftest.err >&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } &&
32101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32104 ac_status=$?
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; } &&
32107 { ac_try='test -s conftest.$ac_objext'
32108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109 (eval $ac_try) 2>&5
32110 ac_status=$?
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); }; }; then
32113 wx_cv_lib_motif2="yes"
32114 else
32115 echo "$as_me: failed program was:" >&5
32116 sed 's/^/| /' conftest.$ac_ext >&5
32117
32118 wx_cv_lib_motif2="no"
32119 fi
32120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32121 fi
32122 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32123 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32124 if test "$wx_cv_lib_motif2" = "yes"; then
32125 cat >>confdefs.h <<\_ACEOF
32126 #define __WXMOTIF20__ 1
32127 _ACEOF
32128
32129 else
32130 cat >>confdefs.h <<\_ACEOF
32131 #define __WXMOTIF20__ 0
32132 _ACEOF
32133
32134 fi
32135
32136 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32137 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32138 if test "${wx_cv_lib_lesstif+set}" = set; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32140 else
32141 cat >conftest.$ac_ext <<_ACEOF
32142 /* confdefs.h. */
32143 _ACEOF
32144 cat confdefs.h >>conftest.$ac_ext
32145 cat >>conftest.$ac_ext <<_ACEOF
32146 /* end confdefs.h. */
32147
32148 #include <Xm/Xm.h>
32149
32150 int
32151 main ()
32152 {
32153
32154 #if !defined(LesstifVersion) || LesstifVersion <= 0
32155 Not Lesstif
32156 #endif
32157
32158 ;
32159 return 0;
32160 }
32161 _ACEOF
32162 rm -f conftest.$ac_objext
32163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32164 (eval $ac_compile) 2>conftest.er1
32165 ac_status=$?
32166 grep -v '^ *+' conftest.er1 >conftest.err
32167 rm -f conftest.er1
32168 cat conftest.err >&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); } &&
32171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 (eval $ac_try) 2>&5
32174 ac_status=$?
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); }; } &&
32177 { ac_try='test -s conftest.$ac_objext'
32178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32179 (eval $ac_try) 2>&5
32180 ac_status=$?
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); }; }; then
32183 wx_cv_lib_lesstif="yes"
32184 else
32185 echo "$as_me: failed program was:" >&5
32186 sed 's/^/| /' conftest.$ac_ext >&5
32187
32188 wx_cv_lib_lesstif="no"
32189 fi
32190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32191
32192 fi
32193 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32194 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32195 if test "$wx_cv_lib_lesstif" = "yes"; then
32196 cat >>confdefs.h <<\_ACEOF
32197 #define __WXLESSTIF__ 1
32198 _ACEOF
32199
32200 else
32201 cat >>confdefs.h <<\_ACEOF
32202 #define __WXLESSTIF__ 0
32203 _ACEOF
32204
32205 fi
32206
32207 CXXFLAGS=$save_CXXFLAGS
32208
32209 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32210 TOOLKIT=MOTIF
32211 GUIDIST=MOTIF_DIST
32212 fi
32213
32214 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32215 if test "$wxUSE_LIBXPM" = "sys"; then
32216 echo "$as_me:$LINENO: checking for Xpm library" >&5
32217 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32218
32219 ac_find_libraries=
32220 for ac_dir in $SEARCH_LIB;
32221 do
32222 for ac_extension in a so sl dylib dll.a; do
32223 if test -f "$ac_dir/libXpm.$ac_extension"; then
32224 ac_find_libraries=$ac_dir
32225 break 2
32226 fi
32227 done
32228 done
32229
32230 if test "$ac_find_libraries" != "" ; then
32231
32232 if test "$ac_find_libraries" = "default location"; then
32233 ac_path_to_link=""
32234 else
32235 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32236 result=$?
32237 if test $result = 0; then
32238 ac_path_to_link=""
32239 else
32240 ac_path_to_link=" -L$ac_find_libraries"
32241 fi
32242 fi
32243
32244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32245 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32246 echo "${ECHO_T}found in $ac_find_libraries" >&6
32247
32248 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32249 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32250 if test "${wx_cv_x11_xpm_h+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32253
32254 save_CXXFLAGS=$CXXFLAGS
32255 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32256
32257 cat >conftest.$ac_ext <<_ACEOF
32258 /* confdefs.h. */
32259 _ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32263
32264 #include <X11/xpm.h>
32265
32266 int
32267 main ()
32268 {
32269
32270 int version;
32271 version = XpmLibraryVersion();
32272
32273 ;
32274 return 0;
32275 }
32276 _ACEOF
32277 rm -f conftest.$ac_objext
32278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32279 (eval $ac_compile) 2>conftest.er1
32280 ac_status=$?
32281 grep -v '^ *+' conftest.er1 >conftest.err
32282 rm -f conftest.er1
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } &&
32286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32289 ac_status=$?
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try='test -s conftest.$ac_objext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32295 ac_status=$?
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 wx_cv_x11_xpm_h=yes
32299 else
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32302
32303 wx_cv_x11_xpm_h=no
32304
32305 fi
32306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32307
32308 CXXFLAGS=$save_CXXFLAGS
32309
32310
32311 fi
32312 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32313 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32314
32315 if test $wx_cv_x11_xpm_h = "yes"; then
32316 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32317 cat >>confdefs.h <<\_ACEOF
32318 #define wxHAVE_LIB_XPM 1
32319 _ACEOF
32320
32321 else
32322 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32323 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32324 fi
32325 fi
32326
32327 fi
32328
32329 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32330 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32331 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32333 else
32334 ac_check_lib_save_LIBS=$LIBS
32335 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32336 cat >conftest.$ac_ext <<_ACEOF
32337 /* confdefs.h. */
32338 _ACEOF
32339 cat confdefs.h >>conftest.$ac_ext
32340 cat >>conftest.$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32342
32343 /* Override any gcc2 internal prototype to avoid an error. */
32344 #ifdef __cplusplus
32345 extern "C"
32346 #endif
32347 /* We use char because int might match the return type of a gcc2
32348 builtin and then its argument prototype would still apply. */
32349 char XShapeQueryExtension ();
32350 int
32351 main ()
32352 {
32353 XShapeQueryExtension ();
32354 ;
32355 return 0;
32356 }
32357 _ACEOF
32358 rm -f conftest.$ac_objext conftest$ac_exeext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32360 (eval $ac_link) 2>conftest.er1
32361 ac_status=$?
32362 grep -v '^ *+' conftest.er1 >conftest.err
32363 rm -f conftest.er1
32364 cat conftest.err >&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32370 ac_status=$?
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; } &&
32373 { ac_try='test -s conftest$ac_exeext'
32374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375 (eval $ac_try) 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; }; then
32379 ac_cv_lib_Xext_XShapeQueryExtension=yes
32380 else
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.$ac_ext >&5
32383
32384 ac_cv_lib_Xext_XShapeQueryExtension=no
32385 fi
32386 rm -f conftest.err conftest.$ac_objext \
32387 conftest$ac_exeext conftest.$ac_ext
32388 LIBS=$ac_check_lib_save_LIBS
32389 fi
32390 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32391 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32392 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32393
32394 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32395 wxHAVE_XEXT_LIB=1
32396
32397 fi
32398
32399
32400 if test "$wxHAVE_XEXT_LIB" = 1; then
32401 save_CXXFLAGS="$CXXFLAGS"
32402 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32403
32404 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32405 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32406 cat >conftest.$ac_ext <<_ACEOF
32407 /* confdefs.h. */
32408 _ACEOF
32409 cat confdefs.h >>conftest.$ac_ext
32410 cat >>conftest.$ac_ext <<_ACEOF
32411 /* end confdefs.h. */
32412
32413 #include <X11/Xlib.h>
32414 #include <X11/extensions/shape.h>
32415
32416 int
32417 main ()
32418 {
32419
32420 int dummy1, dummy2;
32421 XShapeQueryExtension((Display*)NULL,
32422 (int*)NULL, (int*)NULL);
32423
32424 ;
32425 return 0;
32426 }
32427 _ACEOF
32428 rm -f conftest.$ac_objext
32429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32430 (eval $ac_compile) 2>conftest.er1
32431 ac_status=$?
32432 grep -v '^ *+' conftest.er1 >conftest.err
32433 rm -f conftest.er1
32434 cat conftest.err >&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); } &&
32437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 (eval $ac_try) 2>&5
32440 ac_status=$?
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); }; } &&
32443 { ac_try='test -s conftest.$ac_objext'
32444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32445 (eval $ac_try) 2>&5
32446 ac_status=$?
32447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32448 (exit $ac_status); }; }; then
32449
32450 cat >>confdefs.h <<\_ACEOF
32451 #define HAVE_XSHAPE 1
32452 _ACEOF
32453
32454 echo "$as_me:$LINENO: result: found" >&5
32455 echo "${ECHO_T}found" >&6
32456
32457 else
32458 echo "$as_me: failed program was:" >&5
32459 sed 's/^/| /' conftest.$ac_ext >&5
32460
32461
32462 echo "$as_me:$LINENO: result: not found" >&5
32463 echo "${ECHO_T}not found" >&6
32464
32465 fi
32466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32467 CXXFLAGS="$save_CXXFLAGS"
32468
32469 fi
32470 fi
32471
32472 if test "$wxUSE_MAC" = 1; then
32473 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32474 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32475 if test "$GCC" = yes; then
32476 echo "$as_me:$LINENO: result: gcc" >&5
32477 echo "${ECHO_T}gcc" >&6
32478 CPPFLAGS_PASCAL="-fpascal-strings"
32479 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32480 echo "$as_me:$LINENO: result: xlc" >&5
32481 echo "${ECHO_T}xlc" >&6
32482 CPPFLAGS_PASCAL="-qmacpstr"
32483 else
32484 echo "$as_me:$LINENO: result: none" >&5
32485 echo "${ECHO_T}none" >&6
32486 fi
32487
32488 if test "x$wxUSE_UNIX" = "xyes"; then
32489 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32490 else
32491 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32492 fi
32493
32494 TOOLKIT=MAC
32495 GUIDIST=MACX_DIST
32496 WXBASEPORT="_carbon"
32497 fi
32498
32499 if test "$wxUSE_COCOA" = 1; then
32500 TOOLKIT=COCOA
32501 GUIDIST=COCOA_DIST
32502 fi
32503
32504 if test "$wxUSE_PM" = 1; then
32505 TOOLKIT=PM
32506 GUIDIST=PM_DIST
32507 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32508 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32509 if test "${wx_cv_spbcdata+set}" = set; then
32510 echo $ECHO_N "(cached) $ECHO_C" >&6
32511 else
32512
32513 cat >conftest.$ac_ext <<_ACEOF
32514 /* confdefs.h. */
32515 _ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519
32520 #define INCL_PM
32521 #include <os2.h>
32522
32523 int
32524 main ()
32525 {
32526
32527 SPBCDATA test;
32528
32529 ;
32530 return 0;
32531 }
32532 _ACEOF
32533 rm -f conftest.$ac_objext
32534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32535 (eval $ac_compile) 2>conftest.er1
32536 ac_status=$?
32537 grep -v '^ *+' conftest.er1 >conftest.err
32538 rm -f conftest.er1
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } &&
32542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544 (eval $ac_try) 2>&5
32545 ac_status=$?
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); }; } &&
32548 { ac_try='test -s conftest.$ac_objext'
32549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550 (eval $ac_try) 2>&5
32551 ac_status=$?
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); }; }; then
32554 wx_cv_spbcdata=yes
32555 else
32556 echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32558
32559 wx_cv_spbcdata=no
32560
32561 fi
32562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32563
32564
32565 fi
32566 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32567 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32568
32569 if test $wx_cv_spbcdata = "yes"; then
32570 cat >>confdefs.h <<\_ACEOF
32571 #define HAVE_SPBCDATA 1
32572 _ACEOF
32573
32574 fi
32575 fi
32576
32577 if test "$TOOLKIT" = "PM" ; then
32578 TOOLKIT_DIR="os2"
32579 else
32580 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32581 fi
32582
32583 if test "$wxUSE_UNIVERSAL" = "yes"; then
32584 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32585 WIDGET_SET=univ
32586 fi
32587
32588 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32589 DISTDIR="wx\$(TOOLKIT)"
32590 else
32591 USE_GUI=0
32592
32593 TOOLKIT_DIR="base"
32594
32595 if test "$USE_WIN32" = 1 ; then
32596 TOOLKIT="MSW"
32597 fi
32598
32599 GUIDIST="BASE_DIST"
32600 DISTDIR="wxBase"
32601 fi
32602
32603
32604 if test "$wxUSE_GUI" = "yes"; then
32605 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32606
32607 for ac_header in X11/Xlib.h
32608 do
32609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32611 echo "$as_me:$LINENO: checking for $ac_header" >&5
32612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32614 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 fi
32616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32618 else
32619 # Is the header compilable?
32620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32622 cat >conftest.$ac_ext <<_ACEOF
32623 /* confdefs.h. */
32624 _ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32628 $ac_includes_default
32629 #include <$ac_header>
32630 _ACEOF
32631 rm -f conftest.$ac_objext
32632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32633 (eval $ac_compile) 2>conftest.er1
32634 ac_status=$?
32635 grep -v '^ *+' conftest.er1 >conftest.err
32636 rm -f conftest.er1
32637 cat conftest.err >&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32646 { ac_try='test -s conftest.$ac_objext'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32649 ac_status=$?
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; }; then
32652 ac_header_compiler=yes
32653 else
32654 echo "$as_me: failed program was:" >&5
32655 sed 's/^/| /' conftest.$ac_ext >&5
32656
32657 ac_header_compiler=no
32658 fi
32659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32661 echo "${ECHO_T}$ac_header_compiler" >&6
32662
32663 # Is the header present?
32664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32666 cat >conftest.$ac_ext <<_ACEOF
32667 /* confdefs.h. */
32668 _ACEOF
32669 cat confdefs.h >>conftest.$ac_ext
32670 cat >>conftest.$ac_ext <<_ACEOF
32671 /* end confdefs.h. */
32672 #include <$ac_header>
32673 _ACEOF
32674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32676 ac_status=$?
32677 grep -v '^ *+' conftest.er1 >conftest.err
32678 rm -f conftest.er1
32679 cat conftest.err >&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } >/dev/null; then
32682 if test -s conftest.err; then
32683 ac_cpp_err=$ac_cxx_preproc_warn_flag
32684 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32685 else
32686 ac_cpp_err=
32687 fi
32688 else
32689 ac_cpp_err=yes
32690 fi
32691 if test -z "$ac_cpp_err"; then
32692 ac_header_preproc=yes
32693 else
32694 echo "$as_me: failed program was:" >&5
32695 sed 's/^/| /' conftest.$ac_ext >&5
32696
32697 ac_header_preproc=no
32698 fi
32699 rm -f conftest.err conftest.$ac_ext
32700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32701 echo "${ECHO_T}$ac_header_preproc" >&6
32702
32703 # So? What about this header?
32704 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32705 yes:no: )
32706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32710 ac_header_preproc=yes
32711 ;;
32712 no:yes:* )
32713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32725 (
32726 cat <<\_ASBOX
32727 ## ----------------------------------------- ##
32728 ## Report this to wx-dev@lists.wxwidgets.org ##
32729 ## ----------------------------------------- ##
32730 _ASBOX
32731 ) |
32732 sed "s/^/$as_me: WARNING: /" >&2
32733 ;;
32734 esac
32735 echo "$as_me:$LINENO: checking for $ac_header" >&5
32736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 else
32740 eval "$as_ac_Header=\$ac_header_preproc"
32741 fi
32742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32744
32745 fi
32746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32747 cat >>confdefs.h <<_ACEOF
32748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32749 _ACEOF
32750
32751 fi
32752
32753 done
32754
32755
32756 for ac_header in X11/XKBlib.h
32757 do
32758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32759 echo "$as_me:$LINENO: checking for $ac_header" >&5
32760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32762 echo $ECHO_N "(cached) $ECHO_C" >&6
32763 else
32764 cat >conftest.$ac_ext <<_ACEOF
32765 /* confdefs.h. */
32766 _ACEOF
32767 cat confdefs.h >>conftest.$ac_ext
32768 cat >>conftest.$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32770
32771 #if HAVE_X11_XLIB_H
32772 #include <X11/Xlib.h>
32773 #endif
32774
32775
32776 #include <$ac_header>
32777 _ACEOF
32778 rm -f conftest.$ac_objext
32779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32780 (eval $ac_compile) 2>conftest.er1
32781 ac_status=$?
32782 grep -v '^ *+' conftest.er1 >conftest.err
32783 rm -f conftest.er1
32784 cat conftest.err >&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32790 ac_status=$?
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; } &&
32793 { ac_try='test -s conftest.$ac_objext'
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32796 ac_status=$?
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; }; then
32799 eval "$as_ac_Header=yes"
32800 else
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.$ac_ext >&5
32803
32804 eval "$as_ac_Header=no"
32805 fi
32806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32807 fi
32808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32811 cat >>confdefs.h <<_ACEOF
32812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32813 _ACEOF
32814
32815 fi
32816
32817 done
32818
32819 fi
32820 fi
32821
32822
32823
32824 IODBC_C_SRC=""
32825
32826
32827 if test "$TOOLKIT" != "MSW" ; then
32828
32829 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32830
32831 if test "${ac_cv_header_sql_h+set}" = set; then
32832 echo "$as_me:$LINENO: checking for sql.h" >&5
32833 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32834 if test "${ac_cv_header_sql_h+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32836 fi
32837 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32838 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32839 else
32840 # Is the header compilable?
32841 echo "$as_me:$LINENO: checking sql.h usability" >&5
32842 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32843 cat >conftest.$ac_ext <<_ACEOF
32844 /* confdefs.h. */
32845 _ACEOF
32846 cat confdefs.h >>conftest.$ac_ext
32847 cat >>conftest.$ac_ext <<_ACEOF
32848 /* end confdefs.h. */
32849 $ac_includes_default
32850 #include <sql.h>
32851 _ACEOF
32852 rm -f conftest.$ac_objext
32853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32854 (eval $ac_compile) 2>conftest.er1
32855 ac_status=$?
32856 grep -v '^ *+' conftest.er1 >conftest.err
32857 rm -f conftest.er1
32858 cat conftest.err >&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); } &&
32861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32864 ac_status=$?
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; } &&
32867 { ac_try='test -s conftest.$ac_objext'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32870 ac_status=$?
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; }; then
32873 ac_header_compiler=yes
32874 else
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32877
32878 ac_header_compiler=no
32879 fi
32880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32882 echo "${ECHO_T}$ac_header_compiler" >&6
32883
32884 # Is the header present?
32885 echo "$as_me:$LINENO: checking sql.h presence" >&5
32886 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32887 cat >conftest.$ac_ext <<_ACEOF
32888 /* confdefs.h. */
32889 _ACEOF
32890 cat confdefs.h >>conftest.$ac_ext
32891 cat >>conftest.$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32893 #include <sql.h>
32894 _ACEOF
32895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32897 ac_status=$?
32898 grep -v '^ *+' conftest.er1 >conftest.err
32899 rm -f conftest.er1
32900 cat conftest.err >&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } >/dev/null; then
32903 if test -s conftest.err; then
32904 ac_cpp_err=$ac_cxx_preproc_warn_flag
32905 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32906 else
32907 ac_cpp_err=
32908 fi
32909 else
32910 ac_cpp_err=yes
32911 fi
32912 if test -z "$ac_cpp_err"; then
32913 ac_header_preproc=yes
32914 else
32915 echo "$as_me: failed program was:" >&5
32916 sed 's/^/| /' conftest.$ac_ext >&5
32917
32918 ac_header_preproc=no
32919 fi
32920 rm -f conftest.err conftest.$ac_ext
32921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32922 echo "${ECHO_T}$ac_header_preproc" >&6
32923
32924 # So? What about this header?
32925 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32926 yes:no: )
32927 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32928 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32929 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32930 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32931 ac_header_preproc=yes
32932 ;;
32933 no:yes:* )
32934 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32935 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32936 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32937 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32938 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32939 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32940 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32941 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32942 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32943 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32944 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32945 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32946 (
32947 cat <<\_ASBOX
32948 ## ----------------------------------------- ##
32949 ## Report this to wx-dev@lists.wxwidgets.org ##
32950 ## ----------------------------------------- ##
32951 _ASBOX
32952 ) |
32953 sed "s/^/$as_me: WARNING: /" >&2
32954 ;;
32955 esac
32956 echo "$as_me:$LINENO: checking for sql.h" >&5
32957 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32958 if test "${ac_cv_header_sql_h+set}" = set; then
32959 echo $ECHO_N "(cached) $ECHO_C" >&6
32960 else
32961 ac_cv_header_sql_h=$ac_header_preproc
32962 fi
32963 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32964 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32965
32966 fi
32967 if test $ac_cv_header_sql_h = yes; then
32968 found_sql_h=1
32969 fi
32970
32971
32972 if test "x$found_sql_h" = "x1" ; then
32973 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32974 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32975 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32976 echo $ECHO_N "(cached) $ECHO_C" >&6
32977 else
32978 ac_check_lib_save_LIBS=$LIBS
32979 LIBS="-liodbc $LIBS"
32980 cat >conftest.$ac_ext <<_ACEOF
32981 /* confdefs.h. */
32982 _ACEOF
32983 cat confdefs.h >>conftest.$ac_ext
32984 cat >>conftest.$ac_ext <<_ACEOF
32985 /* end confdefs.h. */
32986
32987 /* Override any gcc2 internal prototype to avoid an error. */
32988 #ifdef __cplusplus
32989 extern "C"
32990 #endif
32991 /* We use char because int might match the return type of a gcc2
32992 builtin and then its argument prototype would still apply. */
32993 char SQLAllocEnv ();
32994 int
32995 main ()
32996 {
32997 SQLAllocEnv ();
32998 ;
32999 return 0;
33000 }
33001 _ACEOF
33002 rm -f conftest.$ac_objext conftest$ac_exeext
33003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33004 (eval $ac_link) 2>conftest.er1
33005 ac_status=$?
33006 grep -v '^ *+' conftest.er1 >conftest.err
33007 rm -f conftest.er1
33008 cat conftest.err >&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); } &&
33011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33014 ac_status=$?
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; } &&
33017 { ac_try='test -s conftest$ac_exeext'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33020 ac_status=$?
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; }; then
33023 ac_cv_lib_iodbc_SQLAllocEnv=yes
33024 else
33025 echo "$as_me: failed program was:" >&5
33026 sed 's/^/| /' conftest.$ac_ext >&5
33027
33028 ac_cv_lib_iodbc_SQLAllocEnv=no
33029 fi
33030 rm -f conftest.err conftest.$ac_objext \
33031 conftest$ac_exeext conftest.$ac_ext
33032 LIBS=$ac_check_lib_save_LIBS
33033 fi
33034 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33035 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33036 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33037 ODBC_LINK=" -liodbc"
33038 else
33039
33040 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33041 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33042 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33043 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 else
33045 ac_check_lib_save_LIBS=$LIBS
33046 LIBS="-lunixodbc $LIBS"
33047 cat >conftest.$ac_ext <<_ACEOF
33048 /* confdefs.h. */
33049 _ACEOF
33050 cat confdefs.h >>conftest.$ac_ext
33051 cat >>conftest.$ac_ext <<_ACEOF
33052 /* end confdefs.h. */
33053
33054 /* Override any gcc2 internal prototype to avoid an error. */
33055 #ifdef __cplusplus
33056 extern "C"
33057 #endif
33058 /* We use char because int might match the return type of a gcc2
33059 builtin and then its argument prototype would still apply. */
33060 char SQLAllocEnv ();
33061 int
33062 main ()
33063 {
33064 SQLAllocEnv ();
33065 ;
33066 return 0;
33067 }
33068 _ACEOF
33069 rm -f conftest.$ac_objext conftest$ac_exeext
33070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33071 (eval $ac_link) 2>conftest.er1
33072 ac_status=$?
33073 grep -v '^ *+' conftest.er1 >conftest.err
33074 rm -f conftest.er1
33075 cat conftest.err >&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); } &&
33078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33080 (eval $ac_try) 2>&5
33081 ac_status=$?
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); }; } &&
33084 { ac_try='test -s conftest$ac_exeext'
33085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33086 (eval $ac_try) 2>&5
33087 ac_status=$?
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); }; }; then
33090 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33091 else
33092 echo "$as_me: failed program was:" >&5
33093 sed 's/^/| /' conftest.$ac_ext >&5
33094
33095 ac_cv_lib_unixodbc_SQLAllocEnv=no
33096 fi
33097 rm -f conftest.err conftest.$ac_objext \
33098 conftest$ac_exeext conftest.$ac_ext
33099 LIBS=$ac_check_lib_save_LIBS
33100 fi
33101 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33102 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33103 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33104 ODBC_LINK=" -lunixodbc"
33105 else
33106
33107 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33108 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33109 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33110 echo $ECHO_N "(cached) $ECHO_C" >&6
33111 else
33112 ac_check_lib_save_LIBS=$LIBS
33113 LIBS="-lodbc $LIBS"
33114 cat >conftest.$ac_ext <<_ACEOF
33115 /* confdefs.h. */
33116 _ACEOF
33117 cat confdefs.h >>conftest.$ac_ext
33118 cat >>conftest.$ac_ext <<_ACEOF
33119 /* end confdefs.h. */
33120
33121 /* Override any gcc2 internal prototype to avoid an error. */
33122 #ifdef __cplusplus
33123 extern "C"
33124 #endif
33125 /* We use char because int might match the return type of a gcc2
33126 builtin and then its argument prototype would still apply. */
33127 char SQLAllocEnv ();
33128 int
33129 main ()
33130 {
33131 SQLAllocEnv ();
33132 ;
33133 return 0;
33134 }
33135 _ACEOF
33136 rm -f conftest.$ac_objext conftest$ac_exeext
33137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33138 (eval $ac_link) 2>conftest.er1
33139 ac_status=$?
33140 grep -v '^ *+' conftest.er1 >conftest.err
33141 rm -f conftest.er1
33142 cat conftest.err >&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } &&
33145 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33147 (eval $ac_try) 2>&5
33148 ac_status=$?
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); }; } &&
33151 { ac_try='test -s conftest$ac_exeext'
33152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153 (eval $ac_try) 2>&5
33154 ac_status=$?
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33157 ac_cv_lib_odbc_SQLAllocEnv=yes
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 ac_cv_lib_odbc_SQLAllocEnv=no
33163 fi
33164 rm -f conftest.err conftest.$ac_objext \
33165 conftest$ac_exeext conftest.$ac_ext
33166 LIBS=$ac_check_lib_save_LIBS
33167 fi
33168 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33169 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33170 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33171 ODBC_LINK=" -lodbc"
33172 fi
33173
33174
33175 fi
33176
33177
33178 fi
33179
33180 fi
33181 if test "x$ODBC_LINK" = "x" ; then
33182 if test "$wxUSE_ODBC" = "sys" ; then
33183 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33184 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33185 { (exit 1); exit 1; }; }
33186 else
33187 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33188 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33189 wxUSE_ODBC=builtin
33190 fi
33191 else
33192 wxUSE_ODBC=sys
33193 fi
33194 fi
33195
33196 if test "$wxUSE_ODBC" = "builtin" ; then
33197 cat >>confdefs.h <<\_ACEOF
33198 #define wxUSE_BUILTIN_IODBC 1
33199 _ACEOF
33200
33201 fi
33202 fi
33203
33204 if test "$wxUSE_ODBC" != "no" ; then
33205 cat >>confdefs.h <<\_ACEOF
33206 #define wxUSE_ODBC 1
33207 _ACEOF
33208
33209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33210
33211 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33212 fi
33213
33214
33215 if test "$wxUSE_DISPLAY" = "yes"; then
33216 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33217 echo "$as_me:$LINENO: checking for Xinerama" >&5
33218 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33219
33220 ac_find_libraries=
33221 for ac_dir in $SEARCH_LIB;
33222 do
33223 for ac_extension in a so sl dylib dll.a; do
33224 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33225 ac_find_libraries=$ac_dir
33226 break 2
33227 fi
33228 done
33229 done
33230
33231 if test "$ac_find_libraries" != "" ; then
33232
33233 if test "$ac_find_libraries" = "default location"; then
33234 ac_path_to_link=""
33235 else
33236 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33237 result=$?
33238 if test $result = 0; then
33239 ac_path_to_link=""
33240 else
33241 ac_path_to_link=" -L$ac_find_libraries"
33242 fi
33243 fi
33244
33245 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33246 LDFLAGS="$LDFLAGS $ac_path_to_link"
33247 fi
33248 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33249 echo "$as_me:$LINENO: result: yes" >&5
33250 echo "${ECHO_T}yes" >&6
33251
33252 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33253 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33254
33255 ac_find_libraries=
33256 for ac_dir in $SEARCH_LIB;
33257 do
33258 for ac_extension in a so sl dylib dll.a; do
33259 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33260 ac_find_libraries=$ac_dir
33261 break 2
33262 fi
33263 done
33264 done
33265
33266 if test "$ac_find_libraries" != "" ; then
33267 echo "$as_me:$LINENO: result: yes" >&5
33268 echo "${ECHO_T}yes" >&6
33269
33270 for ac_header in X11/extensions/xf86vmode.h
33271 do
33272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33273 echo "$as_me:$LINENO: checking for $ac_header" >&5
33274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33276 echo $ECHO_N "(cached) $ECHO_C" >&6
33277 else
33278 cat >conftest.$ac_ext <<_ACEOF
33279 /* confdefs.h. */
33280 _ACEOF
33281 cat confdefs.h >>conftest.$ac_ext
33282 cat >>conftest.$ac_ext <<_ACEOF
33283 /* end confdefs.h. */
33284
33285 #if HAVE_X11_XLIB_H
33286 #include <X11/Xlib.h>
33287 #endif
33288
33289
33290 #include <$ac_header>
33291 _ACEOF
33292 rm -f conftest.$ac_objext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33294 (eval $ac_compile) 2>conftest.er1
33295 ac_status=$?
33296 grep -v '^ *+' conftest.er1 >conftest.err
33297 rm -f conftest.er1
33298 cat conftest.err >&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } &&
33301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33304 ac_status=$?
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; } &&
33307 { ac_try='test -s conftest.$ac_objext'
33308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309 (eval $ac_try) 2>&5
33310 ac_status=$?
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; }; then
33313 eval "$as_ac_Header=yes"
33314 else
33315 echo "$as_me: failed program was:" >&5
33316 sed 's/^/| /' conftest.$ac_ext >&5
33317
33318 eval "$as_ac_Header=no"
33319 fi
33320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33321 fi
33322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33325 cat >>confdefs.h <<_ACEOF
33326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33327 _ACEOF
33328
33329 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33330
33331 fi
33332
33333 done
33334
33335 else
33336 echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6
33338 fi
33339
33340 else
33341 echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6
33343 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33344 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33345 wxUSE_DISPLAY="no"
33346 fi
33347 elif test "$wxUSE_MSW" = 1; then
33348
33349 for ac_header in ddraw.h
33350 do
33351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33352 echo "$as_me:$LINENO: checking for $ac_header" >&5
33353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33355 echo $ECHO_N "(cached) $ECHO_C" >&6
33356 else
33357 cat >conftest.$ac_ext <<_ACEOF
33358 /* confdefs.h. */
33359 _ACEOF
33360 cat confdefs.h >>conftest.$ac_ext
33361 cat >>conftest.$ac_ext <<_ACEOF
33362 /* end confdefs.h. */
33363 #include <windows.h>
33364
33365 #include <$ac_header>
33366 _ACEOF
33367 rm -f conftest.$ac_objext
33368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33369 (eval $ac_compile) 2>conftest.er1
33370 ac_status=$?
33371 grep -v '^ *+' conftest.er1 >conftest.err
33372 rm -f conftest.er1
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } &&
33376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378 (eval $ac_try) 2>&5
33379 ac_status=$?
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); }; } &&
33382 { ac_try='test -s conftest.$ac_objext'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33385 ac_status=$?
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; }; then
33388 eval "$as_ac_Header=yes"
33389 else
33390 echo "$as_me: failed program was:" >&5
33391 sed 's/^/| /' conftest.$ac_ext >&5
33392
33393 eval "$as_ac_Header=no"
33394 fi
33395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33396 fi
33397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33400 cat >>confdefs.h <<_ACEOF
33401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33402 _ACEOF
33403
33404 fi
33405
33406 done
33407
33408 fi
33409 fi
33410
33411 if test "$wxUSE_DETECT_SM" = "yes"; then
33412 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33413 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33414 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33415
33416 ac_find_libraries=
33417 for ac_dir in $SEARCH_LIB;
33418 do
33419 for ac_extension in a so sl dylib dll.a; do
33420 if test -f "$ac_dir/libSM.$ac_extension"; then
33421 ac_find_libraries=$ac_dir
33422 break 2
33423 fi
33424 done
33425 done
33426
33427 if test "$ac_find_libraries" != "" ; then
33428
33429 if test "$ac_find_libraries" = "default location"; then
33430 ac_path_to_link=""
33431 else
33432 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33433 result=$?
33434 if test $result = 0; then
33435 ac_path_to_link=""
33436 else
33437 ac_path_to_link=" -L$ac_find_libraries"
33438 fi
33439 fi
33440
33441 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33442 LDFLAGS="$LDFLAGS $ac_path_to_link"
33443 fi
33444 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33445 echo "$as_me:$LINENO: result: yes" >&5
33446 echo "${ECHO_T}yes" >&6
33447 else
33448 echo "$as_me:$LINENO: result: no" >&5
33449 echo "${ECHO_T}no" >&6
33450 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33451 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33452 wxUSE_DETECT_SM="no"
33453 fi
33454 else
33455 wxUSE_DETECT_SM="no"
33456 fi
33457 fi
33458
33459
33460
33461 USE_OPENGL=0
33462 if test "$wxUSE_OPENGL" = "yes"; then
33463 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33464 OPENGL_LIBS="-framework OpenGL -framework AGL"
33465 elif test "$wxUSE_MSW" = 1; then
33466 OPENGL_LIBS="-lopengl32 -lglu32"
33467 else
33468
33469
33470 ac_find_includes=
33471 for ac_dir in $SEARCH_INCLUDE /usr/include;
33472 do
33473 if test -f "$ac_dir/GL/gl.h"; then
33474 ac_find_includes=$ac_dir
33475 break
33476 fi
33477 done
33478
33479 if test "$ac_find_includes" != "" ; then
33480 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33481 echo "${ECHO_T}found in $ac_find_includes" >&6
33482
33483 if test "x$ac_find_includes" = "x/usr/include"; then
33484 ac_path_to_include=""
33485 else
33486 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33487 result=$?
33488 if test $result = 0; then
33489 ac_path_to_include=""
33490 else
33491 ac_path_to_include=" -I$ac_find_includes"
33492 fi
33493 fi
33494
33495 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33496 fi
33497
33498 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33499 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33500 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33501 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33502 echo $ECHO_N "(cached) $ECHO_C" >&6
33503 fi
33504 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33505 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33506 else
33507 # Is the header compilable?
33508 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33509 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33510 cat >conftest.$ac_ext <<_ACEOF
33511 /* confdefs.h. */
33512 _ACEOF
33513 cat confdefs.h >>conftest.$ac_ext
33514 cat >>conftest.$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33516 $ac_includes_default
33517 #include <GL/gl.h>
33518 _ACEOF
33519 rm -f conftest.$ac_objext
33520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33521 (eval $ac_compile) 2>conftest.er1
33522 ac_status=$?
33523 grep -v '^ *+' conftest.er1 >conftest.err
33524 rm -f conftest.er1
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } &&
33528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; } &&
33534 { ac_try='test -s conftest.$ac_objext'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540 ac_header_compiler=yes
33541 else
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33544
33545 ac_header_compiler=no
33546 fi
33547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33549 echo "${ECHO_T}$ac_header_compiler" >&6
33550
33551 # Is the header present?
33552 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33553 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33554 cat >conftest.$ac_ext <<_ACEOF
33555 /* confdefs.h. */
33556 _ACEOF
33557 cat confdefs.h >>conftest.$ac_ext
33558 cat >>conftest.$ac_ext <<_ACEOF
33559 /* end confdefs.h. */
33560 #include <GL/gl.h>
33561 _ACEOF
33562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33564 ac_status=$?
33565 grep -v '^ *+' conftest.er1 >conftest.err
33566 rm -f conftest.er1
33567 cat conftest.err >&5
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); } >/dev/null; then
33570 if test -s conftest.err; then
33571 ac_cpp_err=$ac_cxx_preproc_warn_flag
33572 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33573 else
33574 ac_cpp_err=
33575 fi
33576 else
33577 ac_cpp_err=yes
33578 fi
33579 if test -z "$ac_cpp_err"; then
33580 ac_header_preproc=yes
33581 else
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.$ac_ext >&5
33584
33585 ac_header_preproc=no
33586 fi
33587 rm -f conftest.err conftest.$ac_ext
33588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33589 echo "${ECHO_T}$ac_header_preproc" >&6
33590
33591 # So? What about this header?
33592 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33593 yes:no: )
33594 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33595 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33596 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33597 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33598 ac_header_preproc=yes
33599 ;;
33600 no:yes:* )
33601 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33602 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33603 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33604 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33606 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33608 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33609 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33610 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33611 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33612 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33613 (
33614 cat <<\_ASBOX
33615 ## ----------------------------------------- ##
33616 ## Report this to wx-dev@lists.wxwidgets.org ##
33617 ## ----------------------------------------- ##
33618 _ASBOX
33619 ) |
33620 sed "s/^/$as_me: WARNING: /" >&2
33621 ;;
33622 esac
33623 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33624 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33625 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33627 else
33628 ac_cv_header_GL_gl_h=$ac_header_preproc
33629 fi
33630 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33631 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33632
33633 fi
33634 if test $ac_cv_header_GL_gl_h = yes; then
33635
33636 found_gl=0
33637
33638 echo "$as_me:$LINENO: checking for -lGL" >&5
33639 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33640
33641 ac_find_libraries=
33642 for ac_dir in $SEARCH_LIB;
33643 do
33644 for ac_extension in a so sl dylib dll.a; do
33645 if test -f "$ac_dir/libGL.$ac_extension"; then
33646 ac_find_libraries=$ac_dir
33647 break 2
33648 fi
33649 done
33650 done
33651
33652 if test "$ac_find_libraries" != "" ; then
33653 echo "$as_me:$LINENO: result: yes" >&5
33654 echo "${ECHO_T}yes" >&6
33655
33656
33657 if test "$ac_find_libraries" = "default location"; then
33658 ac_path_to_link=""
33659 else
33660 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33661 result=$?
33662 if test $result = 0; then
33663 ac_path_to_link=""
33664 else
33665 ac_path_to_link=" -L$ac_find_libraries"
33666 fi
33667 fi
33668
33669 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33670 LDFLAGS_GL="$ac_path_to_link"
33671 fi
33672
33673 echo "$as_me:$LINENO: checking for -lGLU" >&5
33674 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33675
33676 ac_find_libraries=
33677 for ac_dir in $SEARCH_LIB;
33678 do
33679 for ac_extension in a so sl dylib dll.a; do
33680 if test -f "$ac_dir/libGLU.$ac_extension"; then
33681 ac_find_libraries=$ac_dir
33682 break 2
33683 fi
33684 done
33685 done
33686
33687 if test "$ac_find_libraries" != "" ; then
33688
33689 if test "$ac_find_libraries" = "default location"; then
33690 ac_path_to_link=""
33691 else
33692 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33693 result=$?
33694 if test $result = 0; then
33695 ac_path_to_link=""
33696 else
33697 ac_path_to_link=" -L$ac_find_libraries"
33698 fi
33699 fi
33700
33701 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33702 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33703 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33704 fi
33705
33706 found_gl=1
33707 OPENGL_LIBS="-lGL -lGLU"
33708 echo "$as_me:$LINENO: result: yes" >&5
33709 echo "${ECHO_T}yes" >&6
33710 else
33711 echo "$as_me:$LINENO: result: no" >&5
33712 echo "${ECHO_T}no" >&6
33713 fi
33714 else
33715 echo "$as_me:$LINENO: result: no" >&5
33716 echo "${ECHO_T}no" >&6
33717 fi
33718
33719 if test "$found_gl" != 1; then
33720 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33721 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33722
33723 ac_find_libraries=
33724 for ac_dir in $SEARCH_LIB;
33725 do
33726 for ac_extension in a so sl dylib dll.a; do
33727 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33728 ac_find_libraries=$ac_dir
33729 break 2
33730 fi
33731 done
33732 done
33733
33734 if test "$ac_find_libraries" != "" ; then
33735
33736 if test "$ac_find_libraries" = "default location"; then
33737 ac_path_to_link=""
33738 else
33739 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33740 result=$?
33741 if test $result = 0; then
33742 ac_path_to_link=""
33743 else
33744 ac_path_to_link=" -L$ac_find_libraries"
33745 fi
33746 fi
33747
33748 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33749 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33750 echo "$as_me:$LINENO: result: yes" >&5
33751 echo "${ECHO_T}yes" >&6
33752 else
33753 echo "$as_me:$LINENO: result: no" >&5
33754 echo "${ECHO_T}no" >&6
33755 fi
33756 fi
33757
33758 fi
33759
33760
33761
33762 if test "x$OPENGL_LIBS" = "x"; then
33763 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33764 echo "$as_me: error: OpenGL libraries not available" >&2;}
33765 { (exit 1); exit 1; }; }
33766 fi
33767 fi
33768
33769 if test "$wxUSE_OPENGL" = "yes"; then
33770 USE_OPENGL=1
33771 cat >>confdefs.h <<\_ACEOF
33772 #define wxUSE_OPENGL 1
33773 _ACEOF
33774
33775 cat >>confdefs.h <<\_ACEOF
33776 #define wxUSE_GLCANVAS 1
33777 _ACEOF
33778
33779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33780 fi
33781 fi
33782
33783
33784 if test -n "$TOOLKIT" ; then
33785 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33786 fi
33787
33788
33789
33790 if test "$wxUSE_SHARED" = "yes"; then
33791 case "${host}" in
33792 *-pc-msdosdjgpp )
33793 wxUSE_SHARED=no
33794 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33795 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33796 ;;
33797 esac
33798 fi
33799
33800 if test "$wxUSE_SHARED" = "yes"; then
33801
33802
33803 found_versioning=no
33804
33805
33806 if test $found_versioning = no ; then
33807 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33808 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33809 if test "${wx_cv_version_script+set}" = set; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 else
33812
33813 echo "VER_1 { *; };" >conftest.sym
33814 echo "int main() { return 0; }" >conftest.cpp
33815
33816 if { ac_try='
33817 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33818 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33821 ac_status=$?
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; } ; then
33824 if test -s conftest.stderr ; then
33825 wx_cv_version_script=no
33826 else
33827 wx_cv_version_script=yes
33828 fi
33829 else
33830 wx_cv_version_script=no
33831 fi
33832
33833 if test $wx_cv_version_script = yes
33834 then
33835 echo "struct B { virtual ~B() { } }; \
33836 struct D : public B { }; \
33837 void F() { D d; }" > conftest.cpp
33838
33839 if { ac_try='
33840 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33841 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33844 ac_status=$?
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; } &&
33847 { ac_try='
33848 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33849 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33852 ac_status=$?
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; }
33855 then
33856 if { ac_try='
33857 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33858 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; }
33864 then
33865 wx_cv_version_script=yes
33866 else
33867 wx_cv_version_script=no
33868 fi
33869 fi
33870 fi
33871
33872 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33873 rm -f conftest1.output conftest2.output conftest3.output
33874
33875 fi
33876 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33877 echo "${ECHO_T}$wx_cv_version_script" >&6
33878 if test $wx_cv_version_script = yes ; then
33879 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33880 fi
33881 fi
33882
33883
33884 case "${host}" in
33885 *-*-linux* | *-*-gnu* )
33886 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33887 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33888 ;;
33889
33890 *-*-solaris2* )
33891 if test "$GCC" = yes ; then
33892 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33893
33894 saveLdflags="$LDFLAGS"
33895 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33896 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33897 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33898 cat >conftest.$ac_ext <<_ACEOF
33899 /* confdefs.h. */
33900 _ACEOF
33901 cat confdefs.h >>conftest.$ac_ext
33902 cat >>conftest.$ac_ext <<_ACEOF
33903 /* end confdefs.h. */
33904
33905 int
33906 main ()
33907 {
33908
33909 ;
33910 return 0;
33911 }
33912 _ACEOF
33913 rm -f conftest.$ac_objext conftest$ac_exeext
33914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33915 (eval $ac_link) 2>conftest.er1
33916 ac_status=$?
33917 grep -v '^ *+' conftest.er1 >conftest.err
33918 rm -f conftest.er1
33919 cat conftest.err >&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); } &&
33922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33925 ac_status=$?
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; } &&
33928 { ac_try='test -s conftest$ac_exeext'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33931 ac_status=$?
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; }; then
33934
33935 echo "$as_me:$LINENO: result: yes" >&5
33936 echo "${ECHO_T}yes" >&6
33937 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33938 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33939
33940 else
33941 echo "$as_me: failed program was:" >&5
33942 sed 's/^/| /' conftest.$ac_ext >&5
33943
33944
33945 echo "$as_me:$LINENO: result: no" >&5
33946 echo "${ECHO_T}no" >&6
33947 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33948 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33949 LDFLAGS="$saveLdflags -Wl,-R,/"
33950 cat >conftest.$ac_ext <<_ACEOF
33951 /* confdefs.h. */
33952 _ACEOF
33953 cat confdefs.h >>conftest.$ac_ext
33954 cat >>conftest.$ac_ext <<_ACEOF
33955 /* end confdefs.h. */
33956
33957 int
33958 main ()
33959 {
33960
33961 ;
33962 return 0;
33963 }
33964 _ACEOF
33965 rm -f conftest.$ac_objext conftest$ac_exeext
33966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33967 (eval $ac_link) 2>conftest.er1
33968 ac_status=$?
33969 grep -v '^ *+' conftest.er1 >conftest.err
33970 rm -f conftest.er1
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } &&
33974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33977 ac_status=$?
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; } &&
33980 { ac_try='test -s conftest$ac_exeext'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; }; then
33986
33987 echo "$as_me:$LINENO: result: yes" >&5
33988 echo "${ECHO_T}yes" >&6
33989 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33990 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33991
33992 else
33993 echo "$as_me: failed program was:" >&5
33994 sed 's/^/| /' conftest.$ac_ext >&5
33995
33996
33997 echo "$as_me:$LINENO: result: no" >&5
33998 echo "${ECHO_T}no" >&6
33999
34000 fi
34001 rm -f conftest.err conftest.$ac_objext \
34002 conftest$ac_exeext conftest.$ac_ext
34003
34004 fi
34005 rm -f conftest.err conftest.$ac_objext \
34006 conftest$ac_exeext conftest.$ac_ext
34007 LDFLAGS="$saveLdflags"
34008 else
34009 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
34010 WXCONFIG_RPATH="-R\$libdir"
34011 fi
34012 ;;
34013
34014 *-*-darwin* )
34015 install_name_tool=`which install_name_tool`
34016 if test "$install_name_tool" -a -x "$install_name_tool"; then
34017 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34018 cat <<EOF >change-install-names
34019 #!/bin/sh
34020 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34021 inst_cmd="install_name_tool "
34022 for i in \${libnames} ; do
34023 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34024 done
34025 \${inst_cmd} \${3}
34026 EOF
34027 chmod +x change-install-names
34028 fi
34029 ;;
34030
34031 *-*-cygwin* | *-*-mingw32* )
34032 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34033 ;;
34034
34035 *-*-hpux* )
34036 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
34037 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34038 ;;
34039
34040 esac
34041
34042 if test $wxUSE_RPATH = "no"; then
34043 SAMPLES_RPATH_FLAG=''
34044 SAMPLES_RPATH_POSTLINK=''
34045 WXCONFIG_RPATH=''
34046 fi
34047
34048 SHARED=1
34049
34050 else
34051
34052 config_linkage_component="-static"
34053 SHARED=0
34054
34055 fi
34056
34057
34058 UNICODE=0
34059 lib_unicode_suffix=
34060 WX_CHARTYPE="ansi"
34061 if test "$wxUSE_UNICODE" = "yes"; then
34062 lib_unicode_suffix=u
34063 WX_CHARTYPE="unicode"
34064 UNICODE=1
34065 fi
34066
34067 lib_debug_suffix=
34068 WX_DEBUGTYPE="release"
34069 DEBUG_FLAG=0
34070 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34071 lib_debug_suffix=d
34072 WX_DEBUGTYPE="debug"
34073 DEBUG_FLAG=1
34074 fi
34075
34076 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34077 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34078
34079 DEBUG_INFO=0
34080 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34081 DEBUG_INFO=1
34082 fi
34083
34084 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34085
34086 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34087
34088 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34089
34090 if test "$cross_compiling" = "yes"; then
34091 HOST_SUFFIX="-$host_alias"
34092 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34093 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34094 fi
34095
34096 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34097 if test "${TOOLKIT_DIR}" = "os2"; then
34098 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34099 else
34100 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34101 fi
34102
34103
34104
34105 if test "$wxUSE_COCOA" = 1; then
34106
34107
34108 ac_ext=c
34109 ac_cpp='$CPP $CPPFLAGS'
34110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34113
34114 ac_ext=m
34115
34116 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34117 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34118 cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h. */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124 #include <AppKit/NSEvent.h>
34125 #include <CoreFoundation/CoreFoundation.h>
34126
34127 int
34128 main ()
34129 {
34130
34131 ;
34132 return 0;
34133 }
34134 _ACEOF
34135 rm -f conftest.$ac_objext
34136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34137 (eval $ac_compile) 2>conftest.er1
34138 ac_status=$?
34139 grep -v '^ *+' conftest.er1 >conftest.err
34140 rm -f conftest.er1
34141 cat conftest.err >&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); } &&
34144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34146 (eval $ac_try) 2>&5
34147 ac_status=$?
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; } &&
34150 { ac_try='test -s conftest.$ac_objext'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34153 ac_status=$?
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; }; then
34156 echo "$as_me:$LINENO: result: no" >&5
34157 echo "${ECHO_T}no" >&6
34158 else
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.$ac_ext >&5
34161
34162 echo "$as_me:$LINENO: result: yes" >&5
34163 echo "${ECHO_T}yes" >&6
34164 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34165 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34166 cat >conftest.$ac_ext <<_ACEOF
34167 /* confdefs.h. */
34168 _ACEOF
34169 cat confdefs.h >>conftest.$ac_ext
34170 cat >>conftest.$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34172 #define __Point__ 1
34173 #include <AppKit/NSEvent.h>
34174 #include <CoreFoundation/CoreFoundation.h>
34175
34176 int
34177 main ()
34178 {
34179
34180 ;
34181 return 0;
34182 }
34183 _ACEOF
34184 rm -f conftest.$ac_objext
34185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34186 (eval $ac_compile) 2>conftest.er1
34187 ac_status=$?
34188 grep -v '^ *+' conftest.er1 >conftest.err
34189 rm -f conftest.er1
34190 cat conftest.err >&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } &&
34193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34196 ac_status=$?
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; } &&
34199 { ac_try='test -s conftest.$ac_objext'
34200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34201 (eval $ac_try) 2>&5
34202 ac_status=$?
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); }; }; then
34205 echo "$as_me:$LINENO: result: yes" >&5
34206 echo "${ECHO_T}yes" >&6
34207 cat >>confdefs.h <<\_ACEOF
34208 #define __Point__ 1
34209 _ACEOF
34210
34211
34212 else
34213 echo "$as_me: failed program was:" >&5
34214 sed 's/^/| /' conftest.$ac_ext >&5
34215
34216 { { echo "$as_me:$LINENO: error: no
34217 See \`config.log' for more details." >&5
34218 echo "$as_me: error: no
34219 See \`config.log' for more details." >&2;}
34220 { (exit 1); exit 1; }; }
34221
34222 fi
34223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34224
34225 fi
34226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34227 ac_ext=cc
34228 ac_cpp='$CXXCPP $CPPFLAGS'
34229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34232
34233 fi
34234
34235 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34236 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34237 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34238
34239 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34240
34241 # Extract the first word of "Rez", so it can be a program name with args.
34242 set dummy Rez; ac_word=$2
34243 echo "$as_me:$LINENO: checking for $ac_word" >&5
34244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34245 if test "${ac_cv_prog_REZ+set}" = set; then
34246 echo $ECHO_N "(cached) $ECHO_C" >&6
34247 else
34248 if test -n "$REZ"; then
34249 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34250 else
34251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34252 for as_dir in $PATH
34253 do
34254 IFS=$as_save_IFS
34255 test -z "$as_dir" && as_dir=.
34256 for ac_exec_ext in '' $ac_executable_extensions; do
34257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34258 ac_cv_prog_REZ="Rez"
34259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34260 break 2
34261 fi
34262 done
34263 done
34264
34265 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34266 fi
34267 fi
34268 REZ=$ac_cv_prog_REZ
34269 if test -n "$REZ"; then
34270 echo "$as_me:$LINENO: result: $REZ" >&5
34271 echo "${ECHO_T}$REZ" >&6
34272 else
34273 echo "$as_me:$LINENO: result: no" >&5
34274 echo "${ECHO_T}no" >&6
34275 fi
34276
34277 # Extract the first word of "DeRez", so it can be a program name with args.
34278 set dummy DeRez; ac_word=$2
34279 echo "$as_me:$LINENO: checking for $ac_word" >&5
34280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34281 if test "${ac_cv_prog_DEREZ+set}" = set; then
34282 echo $ECHO_N "(cached) $ECHO_C" >&6
34283 else
34284 if test -n "$DEREZ"; then
34285 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34286 else
34287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34288 for as_dir in $PATH
34289 do
34290 IFS=$as_save_IFS
34291 test -z "$as_dir" && as_dir=.
34292 for ac_exec_ext in '' $ac_executable_extensions; do
34293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34294 ac_cv_prog_DEREZ="DeRez"
34295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34296 break 2
34297 fi
34298 done
34299 done
34300
34301 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34302 fi
34303 fi
34304 DEREZ=$ac_cv_prog_DEREZ
34305 if test -n "$DEREZ"; then
34306 echo "$as_me:$LINENO: result: $DEREZ" >&5
34307 echo "${ECHO_T}$DEREZ" >&6
34308 else
34309 echo "$as_me:$LINENO: result: no" >&5
34310 echo "${ECHO_T}no" >&6
34311 fi
34312
34313 # Extract the first word of "SetFile", so it can be a program name with args.
34314 set dummy SetFile; ac_word=$2
34315 echo "$as_me:$LINENO: checking for $ac_word" >&5
34316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34317 if test "${ac_cv_prog_SETFILE+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34319 else
34320 if test -n "$SETFILE"; then
34321 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34322 else
34323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34324 for as_dir in $PATH
34325 do
34326 IFS=$as_save_IFS
34327 test -z "$as_dir" && as_dir=.
34328 for ac_exec_ext in '' $ac_executable_extensions; do
34329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34330 ac_cv_prog_SETFILE="SetFile"
34331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34332 break 2
34333 fi
34334 done
34335 done
34336
34337 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34338 fi
34339 fi
34340 SETFILE=$ac_cv_prog_SETFILE
34341 if test -n "$SETFILE"; then
34342 echo "$as_me:$LINENO: result: $SETFILE" >&5
34343 echo "${ECHO_T}$SETFILE" >&6
34344 else
34345 echo "$as_me:$LINENO: result: no" >&5
34346 echo "${ECHO_T}no" >&6
34347 fi
34348
34349
34350 MACSETFILE="\$(SETFILE)"
34351
34352 if test "$wxUSE_MAC" = 1; then
34353 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34354 RESCOMP="$REZ"
34355 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34356 else
34357 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34358 RESCOMP="echo -n \| $REZ"
34359 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34360 fi
34361
34362 else
34363 MACSETFILE="@true"
34364
34365 if test "$wxUSE_PM" = 1; then
34366 RESCOMP="emxbind"
34367 WXCONFIG_RESFLAGS="-ep"
34368
34369 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34370 else
34371 POSTLINK_COMMAND="@true"
34372 fi
34373
34374 fi
34375
34376
34377
34378 echo "$as_me:$LINENO: checking for mode_t" >&5
34379 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34380 if test "${ac_cv_type_mode_t+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 else
34383 cat >conftest.$ac_ext <<_ACEOF
34384 /* confdefs.h. */
34385 _ACEOF
34386 cat confdefs.h >>conftest.$ac_ext
34387 cat >>conftest.$ac_ext <<_ACEOF
34388 /* end confdefs.h. */
34389 $ac_includes_default
34390 int
34391 main ()
34392 {
34393 if ((mode_t *) 0)
34394 return 0;
34395 if (sizeof (mode_t))
34396 return 0;
34397 ;
34398 return 0;
34399 }
34400 _ACEOF
34401 rm -f conftest.$ac_objext
34402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34403 (eval $ac_compile) 2>conftest.er1
34404 ac_status=$?
34405 grep -v '^ *+' conftest.er1 >conftest.err
34406 rm -f conftest.er1
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } &&
34410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34412 (eval $ac_try) 2>&5
34413 ac_status=$?
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); }; } &&
34416 { ac_try='test -s conftest.$ac_objext'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34419 ac_status=$?
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; }; then
34422 ac_cv_type_mode_t=yes
34423 else
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.$ac_ext >&5
34426
34427 ac_cv_type_mode_t=no
34428 fi
34429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34430 fi
34431 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34432 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34433 if test $ac_cv_type_mode_t = yes; then
34434 :
34435 else
34436
34437 cat >>confdefs.h <<_ACEOF
34438 #define mode_t int
34439 _ACEOF
34440
34441 fi
34442
34443 echo "$as_me:$LINENO: checking for off_t" >&5
34444 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34445 if test "${ac_cv_type_off_t+set}" = set; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 else
34448 cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h. */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454 $ac_includes_default
34455 int
34456 main ()
34457 {
34458 if ((off_t *) 0)
34459 return 0;
34460 if (sizeof (off_t))
34461 return 0;
34462 ;
34463 return 0;
34464 }
34465 _ACEOF
34466 rm -f conftest.$ac_objext
34467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34468 (eval $ac_compile) 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34477 (eval $ac_try) 2>&5
34478 ac_status=$?
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); }; } &&
34481 { ac_try='test -s conftest.$ac_objext'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34484 ac_status=$?
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; }; then
34487 ac_cv_type_off_t=yes
34488 else
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.$ac_ext >&5
34491
34492 ac_cv_type_off_t=no
34493 fi
34494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34495 fi
34496 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34497 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34498 if test $ac_cv_type_off_t = yes; then
34499 :
34500 else
34501
34502 cat >>confdefs.h <<_ACEOF
34503 #define off_t long
34504 _ACEOF
34505
34506 fi
34507
34508 echo "$as_me:$LINENO: checking for pid_t" >&5
34509 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34510 if test "${ac_cv_type_pid_t+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 else
34513 cat >conftest.$ac_ext <<_ACEOF
34514 /* confdefs.h. */
34515 _ACEOF
34516 cat confdefs.h >>conftest.$ac_ext
34517 cat >>conftest.$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34519 $ac_includes_default
34520 int
34521 main ()
34522 {
34523 if ((pid_t *) 0)
34524 return 0;
34525 if (sizeof (pid_t))
34526 return 0;
34527 ;
34528 return 0;
34529 }
34530 _ACEOF
34531 rm -f conftest.$ac_objext
34532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34533 (eval $ac_compile) 2>conftest.er1
34534 ac_status=$?
34535 grep -v '^ *+' conftest.er1 >conftest.err
34536 rm -f conftest.er1
34537 cat conftest.err >&5
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); } &&
34540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34542 (eval $ac_try) 2>&5
34543 ac_status=$?
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); }; } &&
34546 { ac_try='test -s conftest.$ac_objext'
34547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548 (eval $ac_try) 2>&5
34549 ac_status=$?
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); }; }; then
34552 ac_cv_type_pid_t=yes
34553 else
34554 echo "$as_me: failed program was:" >&5
34555 sed 's/^/| /' conftest.$ac_ext >&5
34556
34557 ac_cv_type_pid_t=no
34558 fi
34559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34560 fi
34561 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34562 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34563 if test $ac_cv_type_pid_t = yes; then
34564 :
34565 else
34566
34567 cat >>confdefs.h <<_ACEOF
34568 #define pid_t int
34569 _ACEOF
34570
34571 fi
34572
34573 echo "$as_me:$LINENO: checking for size_t" >&5
34574 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34575 if test "${ac_cv_type_size_t+set}" = set; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 else
34578 cat >conftest.$ac_ext <<_ACEOF
34579 /* confdefs.h. */
34580 _ACEOF
34581 cat confdefs.h >>conftest.$ac_ext
34582 cat >>conftest.$ac_ext <<_ACEOF
34583 /* end confdefs.h. */
34584 $ac_includes_default
34585 int
34586 main ()
34587 {
34588 if ((size_t *) 0)
34589 return 0;
34590 if (sizeof (size_t))
34591 return 0;
34592 ;
34593 return 0;
34594 }
34595 _ACEOF
34596 rm -f conftest.$ac_objext
34597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34598 (eval $ac_compile) 2>conftest.er1
34599 ac_status=$?
34600 grep -v '^ *+' conftest.er1 >conftest.err
34601 rm -f conftest.er1
34602 cat conftest.err >&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } &&
34605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34607 (eval $ac_try) 2>&5
34608 ac_status=$?
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); }; } &&
34611 { ac_try='test -s conftest.$ac_objext'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34614 ac_status=$?
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; }; then
34617 ac_cv_type_size_t=yes
34618 else
34619 echo "$as_me: failed program was:" >&5
34620 sed 's/^/| /' conftest.$ac_ext >&5
34621
34622 ac_cv_type_size_t=no
34623 fi
34624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34625 fi
34626 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34627 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34628 if test $ac_cv_type_size_t = yes; then
34629 :
34630 else
34631
34632 cat >>confdefs.h <<_ACEOF
34633 #define size_t unsigned
34634 _ACEOF
34635
34636 fi
34637
34638 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34639 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34640 if test "${ac_cv_type_uid_t+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34642 else
34643 cat >conftest.$ac_ext <<_ACEOF
34644 /* confdefs.h. */
34645 _ACEOF
34646 cat confdefs.h >>conftest.$ac_ext
34647 cat >>conftest.$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34649 #include <sys/types.h>
34650
34651 _ACEOF
34652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34653 $EGREP "uid_t" >/dev/null 2>&1; then
34654 ac_cv_type_uid_t=yes
34655 else
34656 ac_cv_type_uid_t=no
34657 fi
34658 rm -f conftest*
34659
34660 fi
34661 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34662 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34663 if test $ac_cv_type_uid_t = no; then
34664
34665 cat >>confdefs.h <<\_ACEOF
34666 #define uid_t int
34667 _ACEOF
34668
34669
34670 cat >>confdefs.h <<\_ACEOF
34671 #define gid_t int
34672 _ACEOF
34673
34674 fi
34675
34676
34677 echo "$as_me:$LINENO: checking for ssize_t" >&5
34678 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34679 if test "${ac_cv_type_ssize_t+set}" = set; then
34680 echo $ECHO_N "(cached) $ECHO_C" >&6
34681 else
34682 cat >conftest.$ac_ext <<_ACEOF
34683 /* confdefs.h. */
34684 _ACEOF
34685 cat confdefs.h >>conftest.$ac_ext
34686 cat >>conftest.$ac_ext <<_ACEOF
34687 /* end confdefs.h. */
34688 $ac_includes_default
34689 int
34690 main ()
34691 {
34692 if ((ssize_t *) 0)
34693 return 0;
34694 if (sizeof (ssize_t))
34695 return 0;
34696 ;
34697 return 0;
34698 }
34699 _ACEOF
34700 rm -f conftest.$ac_objext
34701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34702 (eval $ac_compile) 2>conftest.er1
34703 ac_status=$?
34704 grep -v '^ *+' conftest.er1 >conftest.err
34705 rm -f conftest.er1
34706 cat conftest.err >&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } &&
34709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34712 ac_status=$?
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; } &&
34715 { ac_try='test -s conftest.$ac_objext'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34718 ac_status=$?
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; }; then
34721 ac_cv_type_ssize_t=yes
34722 else
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.$ac_ext >&5
34725
34726 ac_cv_type_ssize_t=no
34727 fi
34728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34729 fi
34730 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34731 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34732 if test $ac_cv_type_ssize_t = yes; then
34733
34734 cat >>confdefs.h <<_ACEOF
34735 #define HAVE_SSIZE_T 1
34736 _ACEOF
34737
34738
34739 fi
34740
34741
34742 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34743 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34744 if test "${wx_cv_size_t_is_uint+set}" = set; then
34745 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 else
34747
34748 cat >conftest.$ac_ext <<_ACEOF
34749 /* confdefs.h. */
34750 _ACEOF
34751 cat confdefs.h >>conftest.$ac_ext
34752 cat >>conftest.$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34754 #include <stddef.h>
34755 int
34756 main ()
34757 {
34758
34759 return 0; }
34760
34761 struct Foo { void foo(size_t); void foo(unsigned int); };
34762
34763 int bar() {
34764
34765 ;
34766 return 0;
34767 }
34768 _ACEOF
34769 rm -f conftest.$ac_objext
34770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34771 (eval $ac_compile) 2>conftest.er1
34772 ac_status=$?
34773 grep -v '^ *+' conftest.er1 >conftest.err
34774 rm -f conftest.er1
34775 cat conftest.err >&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); } &&
34778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34780 (eval $ac_try) 2>&5
34781 ac_status=$?
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); }; } &&
34784 { ac_try='test -s conftest.$ac_objext'
34785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34786 (eval $ac_try) 2>&5
34787 ac_status=$?
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); }; }; then
34790 wx_cv_size_t_is_uint=no
34791 else
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.$ac_ext >&5
34794
34795 wx_cv_size_t_is_uint=yes
34796
34797 fi
34798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34799
34800
34801 fi
34802 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34803 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34804
34805 if test "$wx_cv_size_t_is_uint" = "yes"; then
34806 cat >>confdefs.h <<\_ACEOF
34807 #define wxSIZE_T_IS_UINT 1
34808 _ACEOF
34809
34810 else
34811 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34812 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34813 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34814 echo $ECHO_N "(cached) $ECHO_C" >&6
34815 else
34816 cat >conftest.$ac_ext <<_ACEOF
34817 /* confdefs.h. */
34818 _ACEOF
34819 cat confdefs.h >>conftest.$ac_ext
34820 cat >>conftest.$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34822 #include <stddef.h>
34823 int
34824 main ()
34825 {
34826
34827 return 0; }
34828
34829 struct Foo { void foo(size_t); void foo(unsigned long); };
34830
34831 int bar() {
34832
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 rm -f conftest.$ac_objext
34838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34839 (eval $ac_compile) 2>conftest.er1
34840 ac_status=$?
34841 grep -v '^ *+' conftest.er1 >conftest.err
34842 rm -f conftest.er1
34843 cat conftest.err >&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); } &&
34846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34848 (eval $ac_try) 2>&5
34849 ac_status=$?
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); }; } &&
34852 { ac_try='test -s conftest.$ac_objext'
34853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34854 (eval $ac_try) 2>&5
34855 ac_status=$?
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); }; }; then
34858 wx_cv_size_t_is_ulong=no
34859 else
34860 echo "$as_me: failed program was:" >&5
34861 sed 's/^/| /' conftest.$ac_ext >&5
34862
34863 wx_cv_size_t_is_ulong=yes
34864
34865 fi
34866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34867
34868 fi
34869 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34870 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34871
34872 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34873 cat >>confdefs.h <<\_ACEOF
34874 #define wxSIZE_T_IS_ULONG 1
34875 _ACEOF
34876
34877 fi
34878 fi
34879
34880
34881 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34882 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34883 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34884 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 else
34886
34887 cat >conftest.$ac_ext <<_ACEOF
34888 /* confdefs.h. */
34889 _ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34893 #include <pwd.h>
34894 int
34895 main ()
34896 {
34897
34898 char *p;
34899 struct passwd *pw;
34900 p = pw->pw_gecos;
34901
34902 ;
34903 return 0;
34904 }
34905 _ACEOF
34906 rm -f conftest.$ac_objext
34907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34908 (eval $ac_compile) 2>conftest.er1
34909 ac_status=$?
34910 grep -v '^ *+' conftest.er1 >conftest.err
34911 rm -f conftest.er1
34912 cat conftest.err >&5
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); } &&
34915 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34918 ac_status=$?
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; } &&
34921 { ac_try='test -s conftest.$ac_objext'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; }; then
34927
34928 wx_cv_struct_pw_gecos=yes
34929
34930 else
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.$ac_ext >&5
34933
34934
34935 wx_cv_struct_pw_gecos=no
34936
34937
34938 fi
34939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34940
34941
34942 fi
34943 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34944 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34945
34946 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34947 cat >>confdefs.h <<\_ACEOF
34948 #define HAVE_PW_GECOS 1
34949 _ACEOF
34950
34951 fi
34952
34953
34954 if test "$wxUSE_WCHAR_T" = "yes"; then
34955 cat >>confdefs.h <<\_ACEOF
34956 #define wxUSE_WCHAR_T 1
34957 _ACEOF
34958
34959
34960 WCSLEN_FOUND=0
34961 WCHAR_LINK=
34962
34963 for ac_func in wcslen
34964 do
34965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34966 echo "$as_me:$LINENO: checking for $ac_func" >&5
34967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34968 if eval "test \"\${$as_ac_var+set}\" = set"; then
34969 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 else
34971 cat >conftest.$ac_ext <<_ACEOF
34972 /* confdefs.h. */
34973 _ACEOF
34974 cat confdefs.h >>conftest.$ac_ext
34975 cat >>conftest.$ac_ext <<_ACEOF
34976 /* end confdefs.h. */
34977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34979 #define $ac_func innocuous_$ac_func
34980
34981 /* System header to define __stub macros and hopefully few prototypes,
34982 which can conflict with char $ac_func (); below.
34983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34984 <limits.h> exists even on freestanding compilers. */
34985
34986 #ifdef __STDC__
34987 # include <limits.h>
34988 #else
34989 # include <assert.h>
34990 #endif
34991
34992 #undef $ac_func
34993
34994 /* Override any gcc2 internal prototype to avoid an error. */
34995 #ifdef __cplusplus
34996 extern "C"
34997 {
34998 #endif
34999 /* We use char because int might match the return type of a gcc2
35000 builtin and then its argument prototype would still apply. */
35001 char $ac_func ();
35002 /* The GNU C library defines this for functions which it implements
35003 to always fail with ENOSYS. Some functions are actually named
35004 something starting with __ and the normal name is an alias. */
35005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35006 choke me
35007 #else
35008 char (*f) () = $ac_func;
35009 #endif
35010 #ifdef __cplusplus
35011 }
35012 #endif
35013
35014 int
35015 main ()
35016 {
35017 return f != $ac_func;
35018 ;
35019 return 0;
35020 }
35021 _ACEOF
35022 rm -f conftest.$ac_objext conftest$ac_exeext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35024 (eval $ac_link) 2>conftest.er1
35025 ac_status=$?
35026 grep -v '^ *+' conftest.er1 >conftest.err
35027 rm -f conftest.er1
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } &&
35031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35034 ac_status=$?
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; } &&
35037 { ac_try='test -s conftest$ac_exeext'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35040 ac_status=$?
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35043 eval "$as_ac_var=yes"
35044 else
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.$ac_ext >&5
35047
35048 eval "$as_ac_var=no"
35049 fi
35050 rm -f conftest.err conftest.$ac_objext \
35051 conftest$ac_exeext conftest.$ac_ext
35052 fi
35053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35055 if test `eval echo '${'$as_ac_var'}'` = yes; then
35056 cat >>confdefs.h <<_ACEOF
35057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35058 _ACEOF
35059 WCSLEN_FOUND=1
35060 fi
35061 done
35062
35063
35064 if test "$WCSLEN_FOUND" = 0; then
35065 if test "$TOOLKIT" = "MSW"; then
35066 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35067 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35068 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35069 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 else
35071 ac_check_lib_save_LIBS=$LIBS
35072 LIBS="-lmsvcrt $LIBS"
35073 cat >conftest.$ac_ext <<_ACEOF
35074 /* confdefs.h. */
35075 _ACEOF
35076 cat confdefs.h >>conftest.$ac_ext
35077 cat >>conftest.$ac_ext <<_ACEOF
35078 /* end confdefs.h. */
35079
35080 /* Override any gcc2 internal prototype to avoid an error. */
35081 #ifdef __cplusplus
35082 extern "C"
35083 #endif
35084 /* We use char because int might match the return type of a gcc2
35085 builtin and then its argument prototype would still apply. */
35086 char wcslen ();
35087 int
35088 main ()
35089 {
35090 wcslen ();
35091 ;
35092 return 0;
35093 }
35094 _ACEOF
35095 rm -f conftest.$ac_objext conftest$ac_exeext
35096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35097 (eval $ac_link) 2>conftest.er1
35098 ac_status=$?
35099 grep -v '^ *+' conftest.er1 >conftest.err
35100 rm -f conftest.er1
35101 cat conftest.err >&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } &&
35104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35106 (eval $ac_try) 2>&5
35107 ac_status=$?
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); }; } &&
35110 { ac_try='test -s conftest$ac_exeext'
35111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35112 (eval $ac_try) 2>&5
35113 ac_status=$?
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; }; then
35116 ac_cv_lib_msvcrt_wcslen=yes
35117 else
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35120
35121 ac_cv_lib_msvcrt_wcslen=no
35122 fi
35123 rm -f conftest.err conftest.$ac_objext \
35124 conftest$ac_exeext conftest.$ac_ext
35125 LIBS=$ac_check_lib_save_LIBS
35126 fi
35127 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35128 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35129 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35130 WCHAR_OK=1
35131 fi
35132
35133 else
35134 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35135 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35136 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35137 echo $ECHO_N "(cached) $ECHO_C" >&6
35138 else
35139 ac_check_lib_save_LIBS=$LIBS
35140 LIBS="-lw $LIBS"
35141 cat >conftest.$ac_ext <<_ACEOF
35142 /* confdefs.h. */
35143 _ACEOF
35144 cat confdefs.h >>conftest.$ac_ext
35145 cat >>conftest.$ac_ext <<_ACEOF
35146 /* end confdefs.h. */
35147
35148 /* Override any gcc2 internal prototype to avoid an error. */
35149 #ifdef __cplusplus
35150 extern "C"
35151 #endif
35152 /* We use char because int might match the return type of a gcc2
35153 builtin and then its argument prototype would still apply. */
35154 char wcslen ();
35155 int
35156 main ()
35157 {
35158 wcslen ();
35159 ;
35160 return 0;
35161 }
35162 _ACEOF
35163 rm -f conftest.$ac_objext conftest$ac_exeext
35164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35165 (eval $ac_link) 2>conftest.er1
35166 ac_status=$?
35167 grep -v '^ *+' conftest.er1 >conftest.err
35168 rm -f conftest.er1
35169 cat conftest.err >&5
35170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 (exit $ac_status); } &&
35172 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35174 (eval $ac_try) 2>&5
35175 ac_status=$?
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); }; } &&
35178 { ac_try='test -s conftest$ac_exeext'
35179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35180 (eval $ac_try) 2>&5
35181 ac_status=$?
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); }; }; then
35184 ac_cv_lib_w_wcslen=yes
35185 else
35186 echo "$as_me: failed program was:" >&5
35187 sed 's/^/| /' conftest.$ac_ext >&5
35188
35189 ac_cv_lib_w_wcslen=no
35190 fi
35191 rm -f conftest.err conftest.$ac_objext \
35192 conftest$ac_exeext conftest.$ac_ext
35193 LIBS=$ac_check_lib_save_LIBS
35194 fi
35195 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35196 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35197 if test $ac_cv_lib_w_wcslen = yes; then
35198
35199 WCHAR_LINK=" -lw"
35200 WCSLEN_FOUND=1
35201
35202 fi
35203
35204 fi
35205 fi
35206
35207 if test "$WCSLEN_FOUND" = 1; then
35208 cat >>confdefs.h <<\_ACEOF
35209 #define HAVE_WCSLEN 1
35210 _ACEOF
35211
35212 fi
35213
35214 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35215 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35216 fi
35217
35218 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35219 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35220 if test "${ac_cv_type_mbstate_t+set}" = set; then
35221 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 else
35223 cat >conftest.$ac_ext <<_ACEOF
35224 /* confdefs.h. */
35225 _ACEOF
35226 cat confdefs.h >>conftest.$ac_ext
35227 cat >>conftest.$ac_ext <<_ACEOF
35228 /* end confdefs.h. */
35229 #include <wchar.h>
35230
35231 int
35232 main ()
35233 {
35234 if ((mbstate_t *) 0)
35235 return 0;
35236 if (sizeof (mbstate_t))
35237 return 0;
35238 ;
35239 return 0;
35240 }
35241 _ACEOF
35242 rm -f conftest.$ac_objext
35243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35244 (eval $ac_compile) 2>conftest.er1
35245 ac_status=$?
35246 grep -v '^ *+' conftest.er1 >conftest.err
35247 rm -f conftest.er1
35248 cat conftest.err >&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } &&
35251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35254 ac_status=$?
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35257 { ac_try='test -s conftest.$ac_objext'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35260 ac_status=$?
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; }; then
35263 ac_cv_type_mbstate_t=yes
35264 else
35265 echo "$as_me: failed program was:" >&5
35266 sed 's/^/| /' conftest.$ac_ext >&5
35267
35268 ac_cv_type_mbstate_t=no
35269 fi
35270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35271 fi
35272 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35273 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35274 if test $ac_cv_type_mbstate_t = yes; then
35275
35276 cat >>confdefs.h <<_ACEOF
35277 #define HAVE_MBSTATE_T 1
35278 _ACEOF
35279
35280
35281 for ac_func in wcsrtombs
35282 do
35283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35284 echo "$as_me:$LINENO: checking for $ac_func" >&5
35285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35286 if eval "test \"\${$as_ac_var+set}\" = set"; then
35287 echo $ECHO_N "(cached) $ECHO_C" >&6
35288 else
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35297 #define $ac_func innocuous_$ac_func
35298
35299 /* System header to define __stub macros and hopefully few prototypes,
35300 which can conflict with char $ac_func (); below.
35301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35302 <limits.h> exists even on freestanding compilers. */
35303
35304 #ifdef __STDC__
35305 # include <limits.h>
35306 #else
35307 # include <assert.h>
35308 #endif
35309
35310 #undef $ac_func
35311
35312 /* Override any gcc2 internal prototype to avoid an error. */
35313 #ifdef __cplusplus
35314 extern "C"
35315 {
35316 #endif
35317 /* We use char because int might match the return type of a gcc2
35318 builtin and then its argument prototype would still apply. */
35319 char $ac_func ();
35320 /* The GNU C library defines this for functions which it implements
35321 to always fail with ENOSYS. Some functions are actually named
35322 something starting with __ and the normal name is an alias. */
35323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35324 choke me
35325 #else
35326 char (*f) () = $ac_func;
35327 #endif
35328 #ifdef __cplusplus
35329 }
35330 #endif
35331
35332 int
35333 main ()
35334 {
35335 return f != $ac_func;
35336 ;
35337 return 0;
35338 }
35339 _ACEOF
35340 rm -f conftest.$ac_objext conftest$ac_exeext
35341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35342 (eval $ac_link) 2>conftest.er1
35343 ac_status=$?
35344 grep -v '^ *+' conftest.er1 >conftest.err
35345 rm -f conftest.er1
35346 cat conftest.err >&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); } &&
35349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35351 (eval $ac_try) 2>&5
35352 ac_status=$?
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); }; } &&
35355 { ac_try='test -s conftest$ac_exeext'
35356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35357 (eval $ac_try) 2>&5
35358 ac_status=$?
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); }; }; then
35361 eval "$as_ac_var=yes"
35362 else
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35365
35366 eval "$as_ac_var=no"
35367 fi
35368 rm -f conftest.err conftest.$ac_objext \
35369 conftest$ac_exeext conftest.$ac_ext
35370 fi
35371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35373 if test `eval echo '${'$as_ac_var'}'` = yes; then
35374 cat >>confdefs.h <<_ACEOF
35375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35376 _ACEOF
35377
35378 fi
35379 done
35380
35381 fi
35382
35383 else
35384 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35385 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35386 fi
35387
35388
35389
35390 for ac_func in snprintf vsnprintf
35391 do
35392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35393 echo "$as_me:$LINENO: checking for $ac_func" >&5
35394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35395 if eval "test \"\${$as_ac_var+set}\" = set"; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35398 cat >conftest.$ac_ext <<_ACEOF
35399 /* confdefs.h. */
35400 _ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35406 #define $ac_func innocuous_$ac_func
35407
35408 /* System header to define __stub macros and hopefully few prototypes,
35409 which can conflict with char $ac_func (); below.
35410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35411 <limits.h> exists even on freestanding compilers. */
35412
35413 #ifdef __STDC__
35414 # include <limits.h>
35415 #else
35416 # include <assert.h>
35417 #endif
35418
35419 #undef $ac_func
35420
35421 /* Override any gcc2 internal prototype to avoid an error. */
35422 #ifdef __cplusplus
35423 extern "C"
35424 {
35425 #endif
35426 /* We use char because int might match the return type of a gcc2
35427 builtin and then its argument prototype would still apply. */
35428 char $ac_func ();
35429 /* The GNU C library defines this for functions which it implements
35430 to always fail with ENOSYS. Some functions are actually named
35431 something starting with __ and the normal name is an alias. */
35432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35433 choke me
35434 #else
35435 char (*f) () = $ac_func;
35436 #endif
35437 #ifdef __cplusplus
35438 }
35439 #endif
35440
35441 int
35442 main ()
35443 {
35444 return f != $ac_func;
35445 ;
35446 return 0;
35447 }
35448 _ACEOF
35449 rm -f conftest.$ac_objext conftest$ac_exeext
35450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35451 (eval $ac_link) 2>conftest.er1
35452 ac_status=$?
35453 grep -v '^ *+' conftest.er1 >conftest.err
35454 rm -f conftest.er1
35455 cat conftest.err >&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); } &&
35458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35461 ac_status=$?
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; } &&
35464 { ac_try='test -s conftest$ac_exeext'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; }; then
35470 eval "$as_ac_var=yes"
35471 else
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35474
35475 eval "$as_ac_var=no"
35476 fi
35477 rm -f conftest.err conftest.$ac_objext \
35478 conftest$ac_exeext conftest.$ac_ext
35479 fi
35480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35482 if test `eval echo '${'$as_ac_var'}'` = yes; then
35483 cat >>confdefs.h <<_ACEOF
35484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35485 _ACEOF
35486
35487 fi
35488 done
35489
35490
35491 if test "$ac_cv_func_vsnprintf" = "yes"; then
35492 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35493 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35494 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35495 echo $ECHO_N "(cached) $ECHO_C" >&6
35496 else
35497
35498 cat >conftest.$ac_ext <<_ACEOF
35499 /* confdefs.h. */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35504
35505 #include <stdio.h>
35506 #include <stdarg.h>
35507 #ifdef __MSL__
35508 #if __MSL__ >= 0x6000
35509 namespace std {}
35510 using namespace std;
35511 #endif
35512 #endif
35513
35514 int
35515 main ()
35516 {
35517
35518 char *buf;
35519 va_list ap;
35520 vsnprintf(buf, 10u, "%s", ap);
35521
35522 ;
35523 return 0;
35524 }
35525 _ACEOF
35526 rm -f conftest.$ac_objext
35527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35528 (eval $ac_compile) 2>conftest.er1
35529 ac_status=$?
35530 grep -v '^ *+' conftest.er1 >conftest.err
35531 rm -f conftest.er1
35532 cat conftest.err >&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); } &&
35535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try='test -s conftest.$ac_objext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 wx_cv_func_vsnprintf_decl=yes
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35551
35552 wx_cv_func_vsnprintf_decl=no
35553
35554 fi
35555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35556
35557
35558 fi
35559 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35560 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35561
35562 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35563 cat >>confdefs.h <<\_ACEOF
35564 #define HAVE_VSNPRINTF_DECL 1
35565 _ACEOF
35566
35567
35568 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35569 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35570 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35571 echo $ECHO_N "(cached) $ECHO_C" >&6
35572 else
35573
35574 cat >conftest.$ac_ext <<_ACEOF
35575 /* confdefs.h. */
35576 _ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35580
35581 #include <stdio.h>
35582 #include <stdarg.h>
35583 #ifdef __MSL__
35584 #if __MSL__ >= 0x6000
35585 namespace std {}
35586 using namespace std;
35587 #endif
35588 #endif
35589
35590 int
35591 main ()
35592 {
35593
35594 char *buf;
35595 va_list ap;
35596 const char *fmt = "%s";
35597 vsnprintf(buf, 10u, fmt, ap);
35598
35599 ;
35600 return 0;
35601 }
35602 _ACEOF
35603 rm -f conftest.$ac_objext
35604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35605 (eval $ac_compile) 2>conftest.er1
35606 ac_status=$?
35607 grep -v '^ *+' conftest.er1 >conftest.err
35608 rm -f conftest.er1
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } &&
35612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35614 (eval $ac_try) 2>&5
35615 ac_status=$?
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); }; } &&
35618 { ac_try='test -s conftest.$ac_objext'
35619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35620 (eval $ac_try) 2>&5
35621 ac_status=$?
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); }; }; then
35624 wx_cv_func_broken_vsnprintf_decl=no
35625 else
35626 echo "$as_me: failed program was:" >&5
35627 sed 's/^/| /' conftest.$ac_ext >&5
35628
35629 wx_cv_func_broken_vsnprintf_decl=yes
35630
35631 fi
35632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35633
35634
35635 fi
35636 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35637 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35638
35639 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35640 cat >>confdefs.h <<\_ACEOF
35641 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35642 _ACEOF
35643
35644 fi
35645 fi
35646 fi
35647
35648 if test "$ac_cv_func_snprintf" = "yes"; then
35649 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35650 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35651 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35653 else
35654
35655 cat >conftest.$ac_ext <<_ACEOF
35656 /* confdefs.h. */
35657 _ACEOF
35658 cat confdefs.h >>conftest.$ac_ext
35659 cat >>conftest.$ac_ext <<_ACEOF
35660 /* end confdefs.h. */
35661
35662 #include <stdio.h>
35663 #include <stdarg.h>
35664 #ifdef __MSL__
35665 #if __MSL__ >= 0x6000
35666 namespace std {}
35667 using namespace std;
35668 #endif
35669 #endif
35670
35671 int
35672 main ()
35673 {
35674
35675 char *buf;
35676 snprintf(buf, 10u, "%s", "wx");
35677
35678 ;
35679 return 0;
35680 }
35681 _ACEOF
35682 rm -f conftest.$ac_objext
35683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35684 (eval $ac_compile) 2>conftest.er1
35685 ac_status=$?
35686 grep -v '^ *+' conftest.er1 >conftest.err
35687 rm -f conftest.er1
35688 cat conftest.err >&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); } &&
35691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35693 (eval $ac_try) 2>&5
35694 ac_status=$?
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; } &&
35697 { ac_try='test -s conftest.$ac_objext'
35698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35699 (eval $ac_try) 2>&5
35700 ac_status=$?
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); }; }; then
35703 wx_cv_func_snprintf_decl=yes
35704 else
35705 echo "$as_me: failed program was:" >&5
35706 sed 's/^/| /' conftest.$ac_ext >&5
35707
35708 wx_cv_func_snprintf_decl=no
35709
35710 fi
35711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35712
35713
35714 fi
35715 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35716 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35717
35718 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35719 cat >>confdefs.h <<\_ACEOF
35720 #define HAVE_SNPRINTF_DECL 1
35721 _ACEOF
35722
35723
35724 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35725 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35726 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 else
35729
35730 cat >conftest.$ac_ext <<_ACEOF
35731 /* confdefs.h. */
35732 _ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736
35737 #include <stdio.h>
35738 #include <stdarg.h>
35739 #ifdef __MSL__
35740 #if __MSL__ >= 0x6000
35741 namespace std {}
35742 using namespace std;
35743 #endif
35744 #endif
35745
35746 int
35747 main ()
35748 {
35749
35750 char *buf;
35751 const char *fmt = "%s";
35752 snprintf(buf, 10u, fmt, "wx");
35753
35754 ;
35755 return 0;
35756 }
35757 _ACEOF
35758 rm -f conftest.$ac_objext
35759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35760 (eval $ac_compile) 2>conftest.er1
35761 ac_status=$?
35762 grep -v '^ *+' conftest.er1 >conftest.err
35763 rm -f conftest.er1
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } &&
35767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35769 (eval $ac_try) 2>&5
35770 ac_status=$?
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); }; } &&
35773 { ac_try='test -s conftest.$ac_objext'
35774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35775 (eval $ac_try) 2>&5
35776 ac_status=$?
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); }; }; then
35779 wx_cv_func_broken_snprintf_decl=no
35780 else
35781 echo "$as_me: failed program was:" >&5
35782 sed 's/^/| /' conftest.$ac_ext >&5
35783
35784 wx_cv_func_broken_snprintf_decl=yes
35785
35786 fi
35787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35788
35789
35790 fi
35791 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35792 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35793
35794 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35795 cat >>confdefs.h <<\_ACEOF
35796 #define HAVE_BROKEN_SNPRINTF_DECL 1
35797 _ACEOF
35798
35799 fi
35800 fi
35801
35802 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35803
35804 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35805 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35806 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35808 else
35809
35810 if test "$cross_compiling" = yes; then
35811
35812 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35813 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35814 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35815 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35816 wx_cv_func_snprintf_pos_params=no
35817
35818
35819 else
35820 cat >conftest.$ac_ext <<_ACEOF
35821 /* confdefs.h. */
35822 _ACEOF
35823 cat confdefs.h >>conftest.$ac_ext
35824 cat >>conftest.$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35826
35827 #include <stdio.h>
35828
35829 int main (void)
35830 {
35831 char buffer[128];
35832 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35833 if (strcmp ("2 3 1", buffer) == 0)
35834 exit (0);
35835 exit (1);
35836 }
35837
35838 _ACEOF
35839 rm -f conftest$ac_exeext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35841 (eval $ac_link) 2>&5
35842 ac_status=$?
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35847 ac_status=$?
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; }; then
35850 wx_cv_func_snprintf_pos_params=no
35851 else
35852 echo "$as_me: program exited with status $ac_status" >&5
35853 echo "$as_me: failed program was:" >&5
35854 sed 's/^/| /' conftest.$ac_ext >&5
35855
35856 ( exit $ac_status )
35857 wx_cv_func_snprintf_pos_params=yes
35858 fi
35859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35860 fi
35861
35862
35863 fi
35864 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35865 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35866
35867 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35868 cat >>confdefs.h <<\_ACEOF
35869 #define HAVE_UNIX98_PRINTF 1
35870 _ACEOF
35871
35872 fi
35873 fi
35874 fi
35875
35876 if test "$wxUSE_UNICODE" = yes; then
35877
35878
35879 for ac_func in swprintf
35880 do
35881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35882 echo "$as_me:$LINENO: checking for $ac_func" >&5
35883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35884 if eval "test \"\${$as_ac_var+set}\" = set"; then
35885 echo $ECHO_N "(cached) $ECHO_C" >&6
35886 else
35887 cat >conftest.$ac_ext <<_ACEOF
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35895 #define $ac_func innocuous_$ac_func
35896
35897 /* System header to define __stub macros and hopefully few prototypes,
35898 which can conflict with char $ac_func (); below.
35899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35900 <limits.h> exists even on freestanding compilers. */
35901
35902 #ifdef __STDC__
35903 # include <limits.h>
35904 #else
35905 # include <assert.h>
35906 #endif
35907
35908 #undef $ac_func
35909
35910 /* Override any gcc2 internal prototype to avoid an error. */
35911 #ifdef __cplusplus
35912 extern "C"
35913 {
35914 #endif
35915 /* We use char because int might match the return type of a gcc2
35916 builtin and then its argument prototype would still apply. */
35917 char $ac_func ();
35918 /* The GNU C library defines this for functions which it implements
35919 to always fail with ENOSYS. Some functions are actually named
35920 something starting with __ and the normal name is an alias. */
35921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35922 choke me
35923 #else
35924 char (*f) () = $ac_func;
35925 #endif
35926 #ifdef __cplusplus
35927 }
35928 #endif
35929
35930 int
35931 main ()
35932 {
35933 return f != $ac_func;
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext conftest$ac_exeext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35940 (eval $ac_link) 2>conftest.er1
35941 ac_status=$?
35942 grep -v '^ *+' conftest.er1 >conftest.err
35943 rm -f conftest.er1
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try='test -s conftest$ac_exeext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 eval "$as_ac_var=yes"
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35963
35964 eval "$as_ac_var=no"
35965 fi
35966 rm -f conftest.err conftest.$ac_objext \
35967 conftest$ac_exeext conftest.$ac_ext
35968 fi
35969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35971 if test `eval echo '${'$as_ac_var'}'` = yes; then
35972 cat >>confdefs.h <<_ACEOF
35973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 _ACEOF
35975
35976 fi
35977 done
35978
35979
35980 if test "$ac_cv_func_swprintf" = "yes"; then
35981 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35982 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35983 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35984 echo $ECHO_N "(cached) $ECHO_C" >&6
35985 else
35986
35987 cat >conftest.$ac_ext <<_ACEOF
35988 /* confdefs.h. */
35989 _ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993
35994 #include <stdio.h>
35995 #include <stdarg.h>
35996 #include <wchar.h>
35997
35998 int
35999 main ()
36000 {
36001
36002 wchar_t *buf;
36003 const wchar_t *fmt = L"test";
36004 swprintf(buf, 10u, fmt);
36005
36006 ;
36007 return 0;
36008 }
36009 _ACEOF
36010 rm -f conftest.$ac_objext
36011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36012 (eval $ac_compile) 2>conftest.er1
36013 ac_status=$?
36014 grep -v '^ *+' conftest.er1 >conftest.err
36015 rm -f conftest.er1
36016 cat conftest.err >&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); } &&
36019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36021 (eval $ac_try) 2>&5
36022 ac_status=$?
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); }; } &&
36025 { ac_try='test -s conftest.$ac_objext'
36026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36027 (eval $ac_try) 2>&5
36028 ac_status=$?
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); }; }; then
36031 wx_cv_func_broken_swprintf_decl=no
36032 else
36033 echo "$as_me: failed program was:" >&5
36034 sed 's/^/| /' conftest.$ac_ext >&5
36035
36036 wx_cv_func_broken_swprintf_decl=yes
36037
36038 fi
36039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36040
36041
36042 fi
36043 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36044 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36045
36046 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36047 cat >>confdefs.h <<\_ACEOF
36048 #define HAVE_BROKEN_SWPRINTF_DECL 1
36049 _ACEOF
36050
36051 fi
36052 fi
36053
36054
36055
36056
36057
36058
36059
36060 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36061 do
36062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36063 echo "$as_me:$LINENO: checking for $ac_func" >&5
36064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36065 if eval "test \"\${$as_ac_var+set}\" = set"; then
36066 echo $ECHO_N "(cached) $ECHO_C" >&6
36067 else
36068 cat >conftest.$ac_ext <<_ACEOF
36069 /* confdefs.h. */
36070 _ACEOF
36071 cat confdefs.h >>conftest.$ac_ext
36072 cat >>conftest.$ac_ext <<_ACEOF
36073 /* end confdefs.h. */
36074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36076 #define $ac_func innocuous_$ac_func
36077
36078 /* System header to define __stub macros and hopefully few prototypes,
36079 which can conflict with char $ac_func (); below.
36080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36081 <limits.h> exists even on freestanding compilers. */
36082
36083 #ifdef __STDC__
36084 # include <limits.h>
36085 #else
36086 # include <assert.h>
36087 #endif
36088
36089 #undef $ac_func
36090
36091 /* Override any gcc2 internal prototype to avoid an error. */
36092 #ifdef __cplusplus
36093 extern "C"
36094 {
36095 #endif
36096 /* We use char because int might match the return type of a gcc2
36097 builtin and then its argument prototype would still apply. */
36098 char $ac_func ();
36099 /* The GNU C library defines this for functions which it implements
36100 to always fail with ENOSYS. Some functions are actually named
36101 something starting with __ and the normal name is an alias. */
36102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36103 choke me
36104 #else
36105 char (*f) () = $ac_func;
36106 #endif
36107 #ifdef __cplusplus
36108 }
36109 #endif
36110
36111 int
36112 main ()
36113 {
36114 return f != $ac_func;
36115 ;
36116 return 0;
36117 }
36118 _ACEOF
36119 rm -f conftest.$ac_objext conftest$ac_exeext
36120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36121 (eval $ac_link) 2>conftest.er1
36122 ac_status=$?
36123 grep -v '^ *+' conftest.er1 >conftest.err
36124 rm -f conftest.er1
36125 cat conftest.err >&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); } &&
36128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36131 ac_status=$?
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; } &&
36134 { ac_try='test -s conftest$ac_exeext'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36137 ac_status=$?
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; }; then
36140 eval "$as_ac_var=yes"
36141 else
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.$ac_ext >&5
36144
36145 eval "$as_ac_var=no"
36146 fi
36147 rm -f conftest.err conftest.$ac_objext \
36148 conftest$ac_exeext conftest.$ac_ext
36149 fi
36150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36152 if test `eval echo '${'$as_ac_var'}'` = yes; then
36153 cat >>confdefs.h <<_ACEOF
36154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36155 _ACEOF
36156
36157 fi
36158 done
36159
36160
36161 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36162 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36163 cat >conftest.$ac_ext <<_ACEOF
36164 /* confdefs.h. */
36165 _ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36169 #include <wchar.h>
36170 int
36171 main ()
36172 {
36173 &_vsnwprintf;
36174 ;
36175 return 0;
36176 }
36177 _ACEOF
36178 rm -f conftest.$ac_objext
36179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36180 (eval $ac_compile) 2>conftest.er1
36181 ac_status=$?
36182 grep -v '^ *+' conftest.er1 >conftest.err
36183 rm -f conftest.er1
36184 cat conftest.err >&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } &&
36187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36190 ac_status=$?
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; } &&
36193 { ac_try='test -s conftest.$ac_objext'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36196 ac_status=$?
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; }; then
36199 echo "$as_me:$LINENO: result: yes" >&5
36200 echo "${ECHO_T}yes" >&6
36201 cat >>confdefs.h <<\_ACEOF
36202 #define HAVE__VSNWPRINTF 1
36203 _ACEOF
36204
36205 else
36206 echo "$as_me: failed program was:" >&5
36207 sed 's/^/| /' conftest.$ac_ext >&5
36208
36209 echo "$as_me:$LINENO: result: no" >&5
36210 echo "${ECHO_T}no" >&6
36211 fi
36212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36213 fi
36214
36215 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36216
36217 for ac_func in fnmatch
36218 do
36219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36220 echo "$as_me:$LINENO: checking for $ac_func" >&5
36221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36222 if eval "test \"\${$as_ac_var+set}\" = set"; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36233 #define $ac_func innocuous_$ac_func
36234
36235 /* System header to define __stub macros and hopefully few prototypes,
36236 which can conflict with char $ac_func (); below.
36237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36238 <limits.h> exists even on freestanding compilers. */
36239
36240 #ifdef __STDC__
36241 # include <limits.h>
36242 #else
36243 # include <assert.h>
36244 #endif
36245
36246 #undef $ac_func
36247
36248 /* Override any gcc2 internal prototype to avoid an error. */
36249 #ifdef __cplusplus
36250 extern "C"
36251 {
36252 #endif
36253 /* We use char because int might match the return type of a gcc2
36254 builtin and then its argument prototype would still apply. */
36255 char $ac_func ();
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36260 choke me
36261 #else
36262 char (*f) () = $ac_func;
36263 #endif
36264 #ifdef __cplusplus
36265 }
36266 #endif
36267
36268 int
36269 main ()
36270 {
36271 return f != $ac_func;
36272 ;
36273 return 0;
36274 }
36275 _ACEOF
36276 rm -f conftest.$ac_objext conftest$ac_exeext
36277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36278 (eval $ac_link) 2>conftest.er1
36279 ac_status=$?
36280 grep -v '^ *+' conftest.er1 >conftest.err
36281 rm -f conftest.er1
36282 cat conftest.err >&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } &&
36285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36287 (eval $ac_try) 2>&5
36288 ac_status=$?
36289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290 (exit $ac_status); }; } &&
36291 { ac_try='test -s conftest$ac_exeext'
36292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36293 (eval $ac_try) 2>&5
36294 ac_status=$?
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); }; }; then
36297 eval "$as_ac_var=yes"
36298 else
36299 echo "$as_me: failed program was:" >&5
36300 sed 's/^/| /' conftest.$ac_ext >&5
36301
36302 eval "$as_ac_var=no"
36303 fi
36304 rm -f conftest.err conftest.$ac_objext \
36305 conftest$ac_exeext conftest.$ac_ext
36306 fi
36307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36309 if test `eval echo '${'$as_ac_var'}'` = yes; then
36310 cat >>confdefs.h <<_ACEOF
36311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36312 _ACEOF
36313
36314 fi
36315 done
36316
36317 fi
36318
36319 if test "$wxUSE_FILE" = "yes"; then
36320
36321 for ac_func in fsync
36322 do
36323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36324 echo "$as_me:$LINENO: checking for $ac_func" >&5
36325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36326 if eval "test \"\${$as_ac_var+set}\" = set"; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36328 else
36329 cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h. */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36337 #define $ac_func innocuous_$ac_func
36338
36339 /* System header to define __stub macros and hopefully few prototypes,
36340 which can conflict with char $ac_func (); below.
36341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36342 <limits.h> exists even on freestanding compilers. */
36343
36344 #ifdef __STDC__
36345 # include <limits.h>
36346 #else
36347 # include <assert.h>
36348 #endif
36349
36350 #undef $ac_func
36351
36352 /* Override any gcc2 internal prototype to avoid an error. */
36353 #ifdef __cplusplus
36354 extern "C"
36355 {
36356 #endif
36357 /* We use char because int might match the return type of a gcc2
36358 builtin and then its argument prototype would still apply. */
36359 char $ac_func ();
36360 /* The GNU C library defines this for functions which it implements
36361 to always fail with ENOSYS. Some functions are actually named
36362 something starting with __ and the normal name is an alias. */
36363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36364 choke me
36365 #else
36366 char (*f) () = $ac_func;
36367 #endif
36368 #ifdef __cplusplus
36369 }
36370 #endif
36371
36372 int
36373 main ()
36374 {
36375 return f != $ac_func;
36376 ;
36377 return 0;
36378 }
36379 _ACEOF
36380 rm -f conftest.$ac_objext conftest$ac_exeext
36381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36382 (eval $ac_link) 2>conftest.er1
36383 ac_status=$?
36384 grep -v '^ *+' conftest.er1 >conftest.err
36385 rm -f conftest.er1
36386 cat conftest.err >&5
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); } &&
36389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; } &&
36395 { ac_try='test -s conftest$ac_exeext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36398 ac_status=$?
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36401 eval "$as_ac_var=yes"
36402 else
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36405
36406 eval "$as_ac_var=no"
36407 fi
36408 rm -f conftest.err conftest.$ac_objext \
36409 conftest$ac_exeext conftest.$ac_ext
36410 fi
36411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36413 if test `eval echo '${'$as_ac_var'}'` = yes; then
36414 cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36416 _ACEOF
36417
36418 fi
36419 done
36420
36421 fi
36422
36423
36424 for ac_func in round
36425 do
36426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36427 echo "$as_me:$LINENO: checking for $ac_func" >&5
36428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36429 if eval "test \"\${$as_ac_var+set}\" = set"; then
36430 echo $ECHO_N "(cached) $ECHO_C" >&6
36431 else
36432 cat >conftest.$ac_ext <<_ACEOF
36433 /* confdefs.h. */
36434 _ACEOF
36435 cat confdefs.h >>conftest.$ac_ext
36436 cat >>conftest.$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36440 #define $ac_func innocuous_$ac_func
36441
36442 /* System header to define __stub macros and hopefully few prototypes,
36443 which can conflict with char $ac_func (); below.
36444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36445 <limits.h> exists even on freestanding compilers. */
36446
36447 #ifdef __STDC__
36448 # include <limits.h>
36449 #else
36450 # include <assert.h>
36451 #endif
36452
36453 #undef $ac_func
36454
36455 /* Override any gcc2 internal prototype to avoid an error. */
36456 #ifdef __cplusplus
36457 extern "C"
36458 {
36459 #endif
36460 /* We use char because int might match the return type of a gcc2
36461 builtin and then its argument prototype would still apply. */
36462 char $ac_func ();
36463 /* The GNU C library defines this for functions which it implements
36464 to always fail with ENOSYS. Some functions are actually named
36465 something starting with __ and the normal name is an alias. */
36466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36467 choke me
36468 #else
36469 char (*f) () = $ac_func;
36470 #endif
36471 #ifdef __cplusplus
36472 }
36473 #endif
36474
36475 int
36476 main ()
36477 {
36478 return f != $ac_func;
36479 ;
36480 return 0;
36481 }
36482 _ACEOF
36483 rm -f conftest.$ac_objext conftest$ac_exeext
36484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36485 (eval $ac_link) 2>conftest.er1
36486 ac_status=$?
36487 grep -v '^ *+' conftest.er1 >conftest.err
36488 rm -f conftest.er1
36489 cat conftest.err >&5
36490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36491 (exit $ac_status); } &&
36492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36494 (eval $ac_try) 2>&5
36495 ac_status=$?
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); }; } &&
36498 { ac_try='test -s conftest$ac_exeext'
36499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36500 (eval $ac_try) 2>&5
36501 ac_status=$?
36502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503 (exit $ac_status); }; }; then
36504 eval "$as_ac_var=yes"
36505 else
36506 echo "$as_me: failed program was:" >&5
36507 sed 's/^/| /' conftest.$ac_ext >&5
36508
36509 eval "$as_ac_var=no"
36510 fi
36511 rm -f conftest.err conftest.$ac_objext \
36512 conftest$ac_exeext conftest.$ac_ext
36513 fi
36514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36516 if test `eval echo '${'$as_ac_var'}'` = yes; then
36517 cat >>confdefs.h <<_ACEOF
36518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36519 _ACEOF
36520
36521 fi
36522 done
36523
36524 if test "$ac_cv_func_round" = yes; then
36525 echo "$as_me:$LINENO: checking whether round is declared" >&5
36526 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36527 if test "${ac_cv_have_decl_round+set}" = set; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36529 else
36530 cat >conftest.$ac_ext <<_ACEOF
36531 /* confdefs.h. */
36532 _ACEOF
36533 cat confdefs.h >>conftest.$ac_ext
36534 cat >>conftest.$ac_ext <<_ACEOF
36535 /* end confdefs.h. */
36536 #include <math.h>
36537
36538 int
36539 main ()
36540 {
36541 #ifndef round
36542 char *p = (char *) round;
36543 #endif
36544
36545 ;
36546 return 0;
36547 }
36548 _ACEOF
36549 rm -f conftest.$ac_objext
36550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36551 (eval $ac_compile) 2>conftest.er1
36552 ac_status=$?
36553 grep -v '^ *+' conftest.er1 >conftest.err
36554 rm -f conftest.er1
36555 cat conftest.err >&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); } &&
36558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36560 (eval $ac_try) 2>&5
36561 ac_status=$?
36562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563 (exit $ac_status); }; } &&
36564 { ac_try='test -s conftest.$ac_objext'
36565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36566 (eval $ac_try) 2>&5
36567 ac_status=$?
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); }; }; then
36570 ac_cv_have_decl_round=yes
36571 else
36572 echo "$as_me: failed program was:" >&5
36573 sed 's/^/| /' conftest.$ac_ext >&5
36574
36575 ac_cv_have_decl_round=no
36576 fi
36577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36578 fi
36579 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36580 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36581 if test $ac_cv_have_decl_round = yes; then
36582
36583 cat >>confdefs.h <<_ACEOF
36584 #define HAVE_DECL_ROUND 1
36585 _ACEOF
36586
36587
36588 else
36589 cat >>confdefs.h <<_ACEOF
36590 #define HAVE_DECL_ROUND 0
36591 _ACEOF
36592
36593
36594 fi
36595
36596
36597 fi
36598
36599
36600 if test "$TOOLKIT" != "MSW"; then
36601
36602
36603
36604
36605
36606 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36607 if test "${with_libiconv_prefix+set}" = set; then
36608 withval="$with_libiconv_prefix"
36609
36610 for dir in `echo "$withval" | tr : ' '`; do
36611 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36612 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36613 done
36614
36615 fi;
36616
36617 echo "$as_me:$LINENO: checking for iconv" >&5
36618 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36619 if test "${am_cv_func_iconv+set}" = set; then
36620 echo $ECHO_N "(cached) $ECHO_C" >&6
36621 else
36622
36623 am_cv_func_iconv="no, consider installing GNU libiconv"
36624 am_cv_lib_iconv=no
36625 cat >conftest.$ac_ext <<_ACEOF
36626 /* confdefs.h. */
36627 _ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36631 #include <stdlib.h>
36632 #include <iconv.h>
36633 int
36634 main ()
36635 {
36636 iconv_t cd = iconv_open("","");
36637 iconv(cd,NULL,NULL,NULL,NULL);
36638 iconv_close(cd);
36639 ;
36640 return 0;
36641 }
36642 _ACEOF
36643 rm -f conftest.$ac_objext conftest$ac_exeext
36644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36645 (eval $ac_link) 2>conftest.er1
36646 ac_status=$?
36647 grep -v '^ *+' conftest.er1 >conftest.err
36648 rm -f conftest.er1
36649 cat conftest.err >&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); } &&
36652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36654 (eval $ac_try) 2>&5
36655 ac_status=$?
36656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36657 (exit $ac_status); }; } &&
36658 { ac_try='test -s conftest$ac_exeext'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36661 ac_status=$?
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; }; then
36664 am_cv_func_iconv=yes
36665 else
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36668
36669 fi
36670 rm -f conftest.err conftest.$ac_objext \
36671 conftest$ac_exeext conftest.$ac_ext
36672 if test "$am_cv_func_iconv" != yes; then
36673 am_save_LIBS="$LIBS"
36674 LIBS="$LIBS -liconv"
36675 cat >conftest.$ac_ext <<_ACEOF
36676 /* confdefs.h. */
36677 _ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681 #include <stdlib.h>
36682 #include <iconv.h>
36683 int
36684 main ()
36685 {
36686 iconv_t cd = iconv_open("","");
36687 iconv(cd,NULL,NULL,NULL,NULL);
36688 iconv_close(cd);
36689 ;
36690 return 0;
36691 }
36692 _ACEOF
36693 rm -f conftest.$ac_objext conftest$ac_exeext
36694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36695 (eval $ac_link) 2>conftest.er1
36696 ac_status=$?
36697 grep -v '^ *+' conftest.er1 >conftest.err
36698 rm -f conftest.er1
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } &&
36702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36705 ac_status=$?
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; } &&
36708 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36714 am_cv_lib_iconv=yes
36715 am_cv_func_iconv=yes
36716 else
36717 echo "$as_me: failed program was:" >&5
36718 sed 's/^/| /' conftest.$ac_ext >&5
36719
36720 fi
36721 rm -f conftest.err conftest.$ac_objext \
36722 conftest$ac_exeext conftest.$ac_ext
36723 LIBS="$am_save_LIBS"
36724 fi
36725
36726 fi
36727 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36728 echo "${ECHO_T}$am_cv_func_iconv" >&6
36729 if test "$am_cv_func_iconv" = yes; then
36730
36731 cat >>confdefs.h <<\_ACEOF
36732 #define HAVE_ICONV 1
36733 _ACEOF
36734
36735 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36736 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36737 if test "${wx_cv_func_iconv_const+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36739 else
36740 cat >conftest.$ac_ext <<_ACEOF
36741 /* confdefs.h. */
36742 _ACEOF
36743 cat confdefs.h >>conftest.$ac_ext
36744 cat >>conftest.$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746
36747 #include <stdlib.h>
36748 #include <iconv.h>
36749 extern
36750 #ifdef __cplusplus
36751 "C"
36752 #endif
36753 #if defined(__STDC__) || defined(__cplusplus)
36754 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36755 #else
36756 size_t iconv();
36757 #endif
36758
36759 int
36760 main ()
36761 {
36762
36763 ;
36764 return 0;
36765 }
36766 _ACEOF
36767 rm -f conftest.$ac_objext
36768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36769 (eval $ac_compile) 2>conftest.er1
36770 ac_status=$?
36771 grep -v '^ *+' conftest.er1 >conftest.err
36772 rm -f conftest.er1
36773 cat conftest.err >&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } &&
36776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778 (eval $ac_try) 2>&5
36779 ac_status=$?
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; } &&
36782 { ac_try='test -s conftest.$ac_objext'
36783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36784 (eval $ac_try) 2>&5
36785 ac_status=$?
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); }; }; then
36788 wx_cv_func_iconv_const="no"
36789 else
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 wx_cv_func_iconv_const="yes"
36794
36795 fi
36796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36797
36798 fi
36799 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36800 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36801
36802 iconv_const=
36803 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36804 iconv_const="const"
36805 fi
36806
36807
36808 cat >>confdefs.h <<_ACEOF
36809 #define ICONV_CONST $iconv_const
36810 _ACEOF
36811
36812 fi
36813 LIBICONV=
36814 if test "$am_cv_lib_iconv" = yes; then
36815 LIBICONV="-liconv"
36816 fi
36817
36818
36819 LIBS="$LIBICONV $LIBS"
36820
36821 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36822
36823 for ac_func in sigaction
36824 do
36825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36826 echo "$as_me:$LINENO: checking for $ac_func" >&5
36827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36828 if eval "test \"\${$as_ac_var+set}\" = set"; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36830 else
36831 cat >conftest.$ac_ext <<_ACEOF
36832 /* confdefs.h. */
36833 _ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36839 #define $ac_func innocuous_$ac_func
36840
36841 /* System header to define __stub macros and hopefully few prototypes,
36842 which can conflict with char $ac_func (); below.
36843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36844 <limits.h> exists even on freestanding compilers. */
36845
36846 #ifdef __STDC__
36847 # include <limits.h>
36848 #else
36849 # include <assert.h>
36850 #endif
36851
36852 #undef $ac_func
36853
36854 /* Override any gcc2 internal prototype to avoid an error. */
36855 #ifdef __cplusplus
36856 extern "C"
36857 {
36858 #endif
36859 /* We use char because int might match the return type of a gcc2
36860 builtin and then its argument prototype would still apply. */
36861 char $ac_func ();
36862 /* The GNU C library defines this for functions which it implements
36863 to always fail with ENOSYS. Some functions are actually named
36864 something starting with __ and the normal name is an alias. */
36865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36866 choke me
36867 #else
36868 char (*f) () = $ac_func;
36869 #endif
36870 #ifdef __cplusplus
36871 }
36872 #endif
36873
36874 int
36875 main ()
36876 {
36877 return f != $ac_func;
36878 ;
36879 return 0;
36880 }
36881 _ACEOF
36882 rm -f conftest.$ac_objext conftest$ac_exeext
36883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36884 (eval $ac_link) 2>conftest.er1
36885 ac_status=$?
36886 grep -v '^ *+' conftest.er1 >conftest.err
36887 rm -f conftest.er1
36888 cat conftest.err >&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } &&
36891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36893 (eval $ac_try) 2>&5
36894 ac_status=$?
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); }; } &&
36897 { ac_try='test -s conftest$ac_exeext'
36898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36899 (eval $ac_try) 2>&5
36900 ac_status=$?
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); }; }; then
36903 eval "$as_ac_var=yes"
36904 else
36905 echo "$as_me: failed program was:" >&5
36906 sed 's/^/| /' conftest.$ac_ext >&5
36907
36908 eval "$as_ac_var=no"
36909 fi
36910 rm -f conftest.err conftest.$ac_objext \
36911 conftest$ac_exeext conftest.$ac_ext
36912 fi
36913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36915 if test `eval echo '${'$as_ac_var'}'` = yes; then
36916 cat >>confdefs.h <<_ACEOF
36917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36918 _ACEOF
36919
36920 fi
36921 done
36922
36923
36924 if test "$ac_cv_func_sigaction" = "no"; then
36925 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36926 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36927 wxUSE_ON_FATAL_EXCEPTION=no
36928 fi
36929
36930 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36931 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36932 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36933 if test "${wx_cv_type_sa_handler+set}" = set; then
36934 echo $ECHO_N "(cached) $ECHO_C" >&6
36935 else
36936
36937 cat >conftest.$ac_ext <<_ACEOF
36938 /* confdefs.h. */
36939 _ACEOF
36940 cat confdefs.h >>conftest.$ac_ext
36941 cat >>conftest.$ac_ext <<_ACEOF
36942 /* end confdefs.h. */
36943 #include <signal.h>
36944 int
36945 main ()
36946 {
36947
36948 extern void testSigHandler(int);
36949
36950 struct sigaction sa;
36951 sa.sa_handler = testSigHandler;
36952
36953 ;
36954 return 0;
36955 }
36956 _ACEOF
36957 rm -f conftest.$ac_objext
36958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36959 (eval $ac_compile) 2>conftest.er1
36960 ac_status=$?
36961 grep -v '^ *+' conftest.er1 >conftest.err
36962 rm -f conftest.er1
36963 cat conftest.err >&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } &&
36966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36969 ac_status=$?
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; } &&
36972 { ac_try='test -s conftest.$ac_objext'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36975 ac_status=$?
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; }; then
36978
36979 wx_cv_type_sa_handler=int
36980
36981 else
36982 echo "$as_me: failed program was:" >&5
36983 sed 's/^/| /' conftest.$ac_ext >&5
36984
36985
36986 wx_cv_type_sa_handler=void
36987
36988 fi
36989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36990
36991 fi
36992 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36993 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36994
36995 cat >>confdefs.h <<_ACEOF
36996 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36997 _ACEOF
36998
36999 fi
37000 fi
37001
37002 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37003 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37004 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37005 if test "${wx_cv_func_backtrace+set}" = set; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 else
37008
37009 cat >conftest.$ac_ext <<_ACEOF
37010 /* confdefs.h. */
37011 _ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37015 #include <execinfo.h>
37016 int
37017 main ()
37018 {
37019
37020 void *trace[1];
37021 char **messages;
37022
37023 backtrace(trace, 1);
37024 messages = backtrace_symbols(trace, 1);
37025
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 rm -f conftest.$ac_objext
37031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37032 (eval $ac_compile) 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_cxx_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_objext'
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 wx_cv_func_backtrace=yes
37052 else
37053 echo "$as_me: failed program was:" >&5
37054 sed 's/^/| /' conftest.$ac_ext >&5
37055
37056 wx_cv_func_backtrace=no
37057
37058 fi
37059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37060
37061
37062 fi
37063 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37064 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37065
37066
37067 if test "$wx_cv_func_backtrace" = "no"; then
37068 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37069 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37070 wxUSE_STACKWALKER=no
37071 else
37072 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37073 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37074 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37075 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 else
37077
37078 cat >conftest.$ac_ext <<_ACEOF
37079 /* confdefs.h. */
37080 _ACEOF
37081 cat confdefs.h >>conftest.$ac_ext
37082 cat >>conftest.$ac_ext <<_ACEOF
37083 /* end confdefs.h. */
37084 #include <cxxabi.h>
37085 int
37086 main ()
37087 {
37088
37089 int rc;
37090 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37091
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 rm -f conftest.$ac_objext conftest$ac_exeext
37097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37098 (eval $ac_link) 2>conftest.er1
37099 ac_status=$?
37100 grep -v '^ *+' conftest.er1 >conftest.err
37101 rm -f conftest.er1
37102 cat conftest.err >&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } &&
37105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107 (eval $ac_try) 2>&5
37108 ac_status=$?
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); }; } &&
37111 { ac_try='test -s conftest$ac_exeext'
37112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37113 (eval $ac_try) 2>&5
37114 ac_status=$?
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); }; }; then
37117 wx_cv_func_cxa_demangle=yes
37118 else
37119 echo "$as_me: failed program was:" >&5
37120 sed 's/^/| /' conftest.$ac_ext >&5
37121
37122 wx_cv_func_cxa_demangle=no
37123
37124 fi
37125 rm -f conftest.err conftest.$ac_objext \
37126 conftest$ac_exeext conftest.$ac_ext
37127
37128
37129 fi
37130 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37131 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37132
37133 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37134 cat >>confdefs.h <<\_ACEOF
37135 #define HAVE_CXA_DEMANGLE 1
37136 _ACEOF
37137
37138 fi
37139 fi
37140 fi
37141
37142 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37143 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37144 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37145 wxUSE_STACKWALKER=no
37146 fi
37147
37148
37149
37150
37151 for ac_func in mkstemp mktemp
37152 do
37153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37154 echo "$as_me:$LINENO: checking for $ac_func" >&5
37155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37156 if eval "test \"\${$as_ac_var+set}\" = set"; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 else
37159 cat >conftest.$ac_ext <<_ACEOF
37160 /* confdefs.h. */
37161 _ACEOF
37162 cat confdefs.h >>conftest.$ac_ext
37163 cat >>conftest.$ac_ext <<_ACEOF
37164 /* end confdefs.h. */
37165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37167 #define $ac_func innocuous_$ac_func
37168
37169 /* System header to define __stub macros and hopefully few prototypes,
37170 which can conflict with char $ac_func (); below.
37171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37172 <limits.h> exists even on freestanding compilers. */
37173
37174 #ifdef __STDC__
37175 # include <limits.h>
37176 #else
37177 # include <assert.h>
37178 #endif
37179
37180 #undef $ac_func
37181
37182 /* Override any gcc2 internal prototype to avoid an error. */
37183 #ifdef __cplusplus
37184 extern "C"
37185 {
37186 #endif
37187 /* We use char because int might match the return type of a gcc2
37188 builtin and then its argument prototype would still apply. */
37189 char $ac_func ();
37190 /* The GNU C library defines this for functions which it implements
37191 to always fail with ENOSYS. Some functions are actually named
37192 something starting with __ and the normal name is an alias. */
37193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37194 choke me
37195 #else
37196 char (*f) () = $ac_func;
37197 #endif
37198 #ifdef __cplusplus
37199 }
37200 #endif
37201
37202 int
37203 main ()
37204 {
37205 return f != $ac_func;
37206 ;
37207 return 0;
37208 }
37209 _ACEOF
37210 rm -f conftest.$ac_objext conftest$ac_exeext
37211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37212 (eval $ac_link) 2>conftest.er1
37213 ac_status=$?
37214 grep -v '^ *+' conftest.er1 >conftest.err
37215 rm -f conftest.er1
37216 cat conftest.err >&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); } &&
37219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37221 (eval $ac_try) 2>&5
37222 ac_status=$?
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); }; } &&
37225 { ac_try='test -s conftest$ac_exeext'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37228 ac_status=$?
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; }; then
37231 eval "$as_ac_var=yes"
37232 else
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.$ac_ext >&5
37235
37236 eval "$as_ac_var=no"
37237 fi
37238 rm -f conftest.err conftest.$ac_objext \
37239 conftest$ac_exeext conftest.$ac_ext
37240 fi
37241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37243 if test `eval echo '${'$as_ac_var'}'` = yes; then
37244 cat >>confdefs.h <<_ACEOF
37245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37246 _ACEOF
37247 break
37248 fi
37249 done
37250
37251
37252 echo "$as_me:$LINENO: checking for statfs" >&5
37253 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37254 if test "${wx_cv_func_statfs+set}" = set; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 else
37257 cat >conftest.$ac_ext <<_ACEOF
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263
37264 #if defined(__BSD__)
37265 #include <sys/param.h>
37266 #include <sys/mount.h>
37267 #else
37268 #include <sys/vfs.h>
37269 #endif
37270
37271 int
37272 main ()
37273 {
37274
37275 long l;
37276 struct statfs fs;
37277 statfs("/", &fs);
37278 l = fs.f_bsize;
37279 l += fs.f_blocks;
37280 l += fs.f_bavail;
37281
37282 ;
37283 return 0;
37284 }
37285 _ACEOF
37286 rm -f conftest.$ac_objext
37287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37288 (eval $ac_compile) 2>conftest.er1
37289 ac_status=$?
37290 grep -v '^ *+' conftest.er1 >conftest.err
37291 rm -f conftest.er1
37292 cat conftest.err >&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } &&
37295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37298 ac_status=$?
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; } &&
37301 { ac_try='test -s conftest.$ac_objext'
37302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37303 (eval $ac_try) 2>&5
37304 ac_status=$?
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); }; }; then
37307 wx_cv_func_statfs=yes
37308 else
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37311
37312 wx_cv_func_statfs=no
37313
37314 fi
37315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37316
37317 fi
37318 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37319 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37320
37321 if test "$wx_cv_func_statfs" = "yes"; then
37322 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37323 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37324 if test "${wx_cv_func_statfs_decl+set}" = set; then
37325 echo $ECHO_N "(cached) $ECHO_C" >&6
37326 else
37327 cat >conftest.$ac_ext <<_ACEOF
37328 /* confdefs.h. */
37329 _ACEOF
37330 cat confdefs.h >>conftest.$ac_ext
37331 cat >>conftest.$ac_ext <<_ACEOF
37332 /* end confdefs.h. */
37333
37334 #if defined(__BSD__)
37335 #include <sys/param.h>
37336 #include <sys/mount.h>
37337 #else
37338 #include <sys/vfs.h>
37339 #endif
37340
37341 int
37342 main ()
37343 {
37344
37345 struct statfs fs;
37346 statfs("", &fs);
37347
37348 ;
37349 return 0;
37350 }
37351 _ACEOF
37352 rm -f conftest.$ac_objext
37353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37354 (eval $ac_compile) 2>conftest.er1
37355 ac_status=$?
37356 grep -v '^ *+' conftest.er1 >conftest.err
37357 rm -f conftest.er1
37358 cat conftest.err >&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); } &&
37361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37364 ac_status=$?
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; } &&
37367 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37373 wx_cv_func_statfs_decl=yes
37374 else
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.$ac_ext >&5
37377
37378 wx_cv_func_statfs_decl=no
37379
37380 fi
37381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37382
37383 fi
37384 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37385 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37386
37387 if test "$wx_cv_func_statfs_decl" = "yes"; then
37388 cat >>confdefs.h <<\_ACEOF
37389 #define HAVE_STATFS_DECL 1
37390 _ACEOF
37391
37392 fi
37393
37394 wx_cv_type_statvfs_t="struct statfs"
37395 cat >>confdefs.h <<\_ACEOF
37396 #define HAVE_STATFS 1
37397 _ACEOF
37398
37399 else
37400 echo "$as_me:$LINENO: checking for statvfs" >&5
37401 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37402 if test "${wx_cv_func_statvfs+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 #include <stddef.h>
37413 #include <sys/statvfs.h>
37414
37415 int
37416 main ()
37417 {
37418
37419 statvfs("/", NULL);
37420
37421 ;
37422 return 0;
37423 }
37424 _ACEOF
37425 rm -f conftest.$ac_objext
37426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37427 (eval $ac_compile) 2>conftest.er1
37428 ac_status=$?
37429 grep -v '^ *+' conftest.er1 >conftest.err
37430 rm -f conftest.er1
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } &&
37434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37436 (eval $ac_try) 2>&5
37437 ac_status=$?
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); }; } &&
37440 { ac_try='test -s conftest.$ac_objext'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37443 ac_status=$?
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; }; then
37446 wx_cv_func_statvfs=yes
37447 else
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.$ac_ext >&5
37450
37451 wx_cv_func_statvfs=no
37452
37453 fi
37454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37455
37456 fi
37457 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37458 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37459
37460 if test "$wx_cv_func_statvfs" = "yes"; then
37461 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37462 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37463 if test "${wx_cv_type_statvfs_t+set}" = set; then
37464 echo $ECHO_N "(cached) $ECHO_C" >&6
37465 else
37466 cat >conftest.$ac_ext <<_ACEOF
37467 /* confdefs.h. */
37468 _ACEOF
37469 cat confdefs.h >>conftest.$ac_ext
37470 cat >>conftest.$ac_ext <<_ACEOF
37471 /* end confdefs.h. */
37472
37473 #include <sys/statvfs.h>
37474
37475 int
37476 main ()
37477 {
37478
37479 long l;
37480 statvfs_t fs;
37481 statvfs("/", &fs);
37482 l = fs.f_bsize;
37483 l += fs.f_blocks;
37484 l += fs.f_bavail;
37485
37486 ;
37487 return 0;
37488 }
37489 _ACEOF
37490 rm -f conftest.$ac_objext
37491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37492 (eval $ac_compile) 2>conftest.er1
37493 ac_status=$?
37494 grep -v '^ *+' conftest.er1 >conftest.err
37495 rm -f conftest.er1
37496 cat conftest.err >&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); } &&
37499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37502 ac_status=$?
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; } &&
37505 { ac_try='test -s conftest.$ac_objext'
37506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37507 (eval $ac_try) 2>&5
37508 ac_status=$?
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); }; }; then
37511 wx_cv_type_statvfs_t=statvfs_t
37512 else
37513 echo "$as_me: failed program was:" >&5
37514 sed 's/^/| /' conftest.$ac_ext >&5
37515
37516
37517 cat >conftest.$ac_ext <<_ACEOF
37518 /* confdefs.h. */
37519 _ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37523
37524 #include <sys/statvfs.h>
37525
37526 int
37527 main ()
37528 {
37529
37530 long l;
37531 struct statvfs fs;
37532 statvfs("/", &fs);
37533 l = fs.f_bsize;
37534 l += fs.f_blocks;
37535 l += fs.f_bavail;
37536
37537 ;
37538 return 0;
37539 }
37540 _ACEOF
37541 rm -f conftest.$ac_objext
37542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37543 (eval $ac_compile) 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } &&
37550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37552 (eval $ac_try) 2>&5
37553 ac_status=$?
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); }; } &&
37556 { ac_try='test -s conftest.$ac_objext'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 wx_cv_type_statvfs_t="struct statvfs"
37563 else
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37566
37567 wx_cv_type_statvfs_t="unknown"
37568
37569 fi
37570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37571
37572
37573 fi
37574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37575
37576 fi
37577 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37578 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37579
37580 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37581 cat >>confdefs.h <<\_ACEOF
37582 #define HAVE_STATVFS 1
37583 _ACEOF
37584
37585 fi
37586 else
37587 wx_cv_type_statvfs_t="unknown"
37588 fi
37589 fi
37590
37591 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37592 cat >>confdefs.h <<_ACEOF
37593 #define WX_STATFS_T $wx_cv_type_statvfs_t
37594 _ACEOF
37595
37596 else
37597 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37598 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37599 fi
37600
37601 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37602
37603
37604 for ac_func in fcntl flock
37605 do
37606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37607 echo "$as_me:$LINENO: checking for $ac_func" >&5
37608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37609 if eval "test \"\${$as_ac_var+set}\" = set"; then
37610 echo $ECHO_N "(cached) $ECHO_C" >&6
37611 else
37612 cat >conftest.$ac_ext <<_ACEOF
37613 /* confdefs.h. */
37614 _ACEOF
37615 cat confdefs.h >>conftest.$ac_ext
37616 cat >>conftest.$ac_ext <<_ACEOF
37617 /* end confdefs.h. */
37618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37620 #define $ac_func innocuous_$ac_func
37621
37622 /* System header to define __stub macros and hopefully few prototypes,
37623 which can conflict with char $ac_func (); below.
37624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37625 <limits.h> exists even on freestanding compilers. */
37626
37627 #ifdef __STDC__
37628 # include <limits.h>
37629 #else
37630 # include <assert.h>
37631 #endif
37632
37633 #undef $ac_func
37634
37635 /* Override any gcc2 internal prototype to avoid an error. */
37636 #ifdef __cplusplus
37637 extern "C"
37638 {
37639 #endif
37640 /* We use char because int might match the return type of a gcc2
37641 builtin and then its argument prototype would still apply. */
37642 char $ac_func ();
37643 /* The GNU C library defines this for functions which it implements
37644 to always fail with ENOSYS. Some functions are actually named
37645 something starting with __ and the normal name is an alias. */
37646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37647 choke me
37648 #else
37649 char (*f) () = $ac_func;
37650 #endif
37651 #ifdef __cplusplus
37652 }
37653 #endif
37654
37655 int
37656 main ()
37657 {
37658 return f != $ac_func;
37659 ;
37660 return 0;
37661 }
37662 _ACEOF
37663 rm -f conftest.$ac_objext conftest$ac_exeext
37664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37665 (eval $ac_link) 2>conftest.er1
37666 ac_status=$?
37667 grep -v '^ *+' conftest.er1 >conftest.err
37668 rm -f conftest.er1
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } &&
37672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; } &&
37678 { ac_try='test -s conftest$ac_exeext'
37679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37680 (eval $ac_try) 2>&5
37681 ac_status=$?
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); }; }; then
37684 eval "$as_ac_var=yes"
37685 else
37686 echo "$as_me: failed program was:" >&5
37687 sed 's/^/| /' conftest.$ac_ext >&5
37688
37689 eval "$as_ac_var=no"
37690 fi
37691 rm -f conftest.err conftest.$ac_objext \
37692 conftest$ac_exeext conftest.$ac_ext
37693 fi
37694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37696 if test `eval echo '${'$as_ac_var'}'` = yes; then
37697 cat >>confdefs.h <<_ACEOF
37698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37699 _ACEOF
37700 break
37701 fi
37702 done
37703
37704
37705 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37706 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37707 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37708 wxUSE_SNGLINST_CHECKER=no
37709 fi
37710 fi
37711
37712
37713 for ac_func in timegm
37714 do
37715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37716 echo "$as_me:$LINENO: checking for $ac_func" >&5
37717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37718 if eval "test \"\${$as_ac_var+set}\" = set"; then
37719 echo $ECHO_N "(cached) $ECHO_C" >&6
37720 else
37721 cat >conftest.$ac_ext <<_ACEOF
37722 /* confdefs.h. */
37723 _ACEOF
37724 cat confdefs.h >>conftest.$ac_ext
37725 cat >>conftest.$ac_ext <<_ACEOF
37726 /* end confdefs.h. */
37727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37729 #define $ac_func innocuous_$ac_func
37730
37731 /* System header to define __stub macros and hopefully few prototypes,
37732 which can conflict with char $ac_func (); below.
37733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37734 <limits.h> exists even on freestanding compilers. */
37735
37736 #ifdef __STDC__
37737 # include <limits.h>
37738 #else
37739 # include <assert.h>
37740 #endif
37741
37742 #undef $ac_func
37743
37744 /* Override any gcc2 internal prototype to avoid an error. */
37745 #ifdef __cplusplus
37746 extern "C"
37747 {
37748 #endif
37749 /* We use char because int might match the return type of a gcc2
37750 builtin and then its argument prototype would still apply. */
37751 char $ac_func ();
37752 /* The GNU C library defines this for functions which it implements
37753 to always fail with ENOSYS. Some functions are actually named
37754 something starting with __ and the normal name is an alias. */
37755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37756 choke me
37757 #else
37758 char (*f) () = $ac_func;
37759 #endif
37760 #ifdef __cplusplus
37761 }
37762 #endif
37763
37764 int
37765 main ()
37766 {
37767 return f != $ac_func;
37768 ;
37769 return 0;
37770 }
37771 _ACEOF
37772 rm -f conftest.$ac_objext conftest$ac_exeext
37773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37774 (eval $ac_link) 2>conftest.er1
37775 ac_status=$?
37776 grep -v '^ *+' conftest.er1 >conftest.err
37777 rm -f conftest.er1
37778 cat conftest.err >&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } &&
37781 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37784 ac_status=$?
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; } &&
37787 { ac_try='test -s conftest$ac_exeext'
37788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37789 (eval $ac_try) 2>&5
37790 ac_status=$?
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); }; }; then
37793 eval "$as_ac_var=yes"
37794 else
37795 echo "$as_me: failed program was:" >&5
37796 sed 's/^/| /' conftest.$ac_ext >&5
37797
37798 eval "$as_ac_var=no"
37799 fi
37800 rm -f conftest.err conftest.$ac_objext \
37801 conftest$ac_exeext conftest.$ac_ext
37802 fi
37803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37805 if test `eval echo '${'$as_ac_var'}'` = yes; then
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37808 _ACEOF
37809
37810 fi
37811 done
37812
37813
37814
37815
37816 for ac_func in putenv setenv
37817 do
37818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37819 echo "$as_me:$LINENO: checking for $ac_func" >&5
37820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37821 if eval "test \"\${$as_ac_var+set}\" = set"; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37823 else
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define $ac_func innocuous_$ac_func
37833
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37838
37839 #ifdef __STDC__
37840 # include <limits.h>
37841 #else
37842 # include <assert.h>
37843 #endif
37844
37845 #undef $ac_func
37846
37847 /* Override any gcc2 internal prototype to avoid an error. */
37848 #ifdef __cplusplus
37849 extern "C"
37850 {
37851 #endif
37852 /* We use char because int might match the return type of a gcc2
37853 builtin and then its argument prototype would still apply. */
37854 char $ac_func ();
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37859 choke me
37860 #else
37861 char (*f) () = $ac_func;
37862 #endif
37863 #ifdef __cplusplus
37864 }
37865 #endif
37866
37867 int
37868 main ()
37869 {
37870 return f != $ac_func;
37871 ;
37872 return 0;
37873 }
37874 _ACEOF
37875 rm -f conftest.$ac_objext conftest$ac_exeext
37876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 (eval $ac_link) 2>conftest.er1
37878 ac_status=$?
37879 grep -v '^ *+' conftest.er1 >conftest.err
37880 rm -f conftest.er1
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } &&
37884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37886 (eval $ac_try) 2>&5
37887 ac_status=$?
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); }; } &&
37890 { ac_try='test -s conftest$ac_exeext'
37891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37892 (eval $ac_try) 2>&5
37893 ac_status=$?
37894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37895 (exit $ac_status); }; }; then
37896 eval "$as_ac_var=yes"
37897 else
37898 echo "$as_me: failed program was:" >&5
37899 sed 's/^/| /' conftest.$ac_ext >&5
37900
37901 eval "$as_ac_var=no"
37902 fi
37903 rm -f conftest.err conftest.$ac_objext \
37904 conftest$ac_exeext conftest.$ac_ext
37905 fi
37906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37908 if test `eval echo '${'$as_ac_var'}'` = yes; then
37909 cat >>confdefs.h <<_ACEOF
37910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37911 _ACEOF
37912 break
37913 fi
37914 done
37915
37916
37917 HAVE_SOME_SLEEP_FUNC=0
37918 if test "$USE_BEOS" = 1; then
37919 cat >>confdefs.h <<\_ACEOF
37920 #define HAVE_SLEEP 1
37921 _ACEOF
37922
37923 HAVE_SOME_SLEEP_FUNC=1
37924 fi
37925
37926 if test "$USE_DARWIN" = 1; then
37927 cat >>confdefs.h <<\_ACEOF
37928 #define HAVE_USLEEP 1
37929 _ACEOF
37930
37931 HAVE_SOME_SLEEP_FUNC=1
37932 fi
37933
37934 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37935 POSIX4_LINK=
37936
37937 for ac_func in nanosleep
37938 do
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37942 if eval "test \"\${$as_ac_var+set}\" = set"; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef $ac_func
37967
37968 /* Override any gcc2 internal prototype to avoid an error. */
37969 #ifdef __cplusplus
37970 extern "C"
37971 {
37972 #endif
37973 /* We use char because int might match the return type of a gcc2
37974 builtin and then its argument prototype would still apply. */
37975 char $ac_func ();
37976 /* The GNU C library defines this for functions which it implements
37977 to always fail with ENOSYS. Some functions are actually named
37978 something starting with __ and the normal name is an alias. */
37979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37980 choke me
37981 #else
37982 char (*f) () = $ac_func;
37983 #endif
37984 #ifdef __cplusplus
37985 }
37986 #endif
37987
37988 int
37989 main ()
37990 {
37991 return f != $ac_func;
37992 ;
37993 return 0;
37994 }
37995 _ACEOF
37996 rm -f conftest.$ac_objext conftest$ac_exeext
37997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37998 (eval $ac_link) 2>conftest.er1
37999 ac_status=$?
38000 grep -v '^ *+' conftest.er1 >conftest.err
38001 rm -f conftest.er1
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } &&
38005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38007 (eval $ac_try) 2>&5
38008 ac_status=$?
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); }; } &&
38011 { ac_try='test -s conftest$ac_exeext'
38012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38013 (eval $ac_try) 2>&5
38014 ac_status=$?
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); }; }; then
38017 eval "$as_ac_var=yes"
38018 else
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.$ac_ext >&5
38021
38022 eval "$as_ac_var=no"
38023 fi
38024 rm -f conftest.err conftest.$ac_objext \
38025 conftest$ac_exeext conftest.$ac_ext
38026 fi
38027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38029 if test `eval echo '${'$as_ac_var'}'` = yes; then
38030 cat >>confdefs.h <<_ACEOF
38031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38032 _ACEOF
38033 cat >>confdefs.h <<\_ACEOF
38034 #define HAVE_NANOSLEEP 1
38035 _ACEOF
38036
38037 else
38038
38039 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38040 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38041 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38042 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 else
38044 ac_check_lib_save_LIBS=$LIBS
38045 LIBS="-lposix4 $LIBS"
38046 cat >conftest.$ac_ext <<_ACEOF
38047 /* confdefs.h. */
38048 _ACEOF
38049 cat confdefs.h >>conftest.$ac_ext
38050 cat >>conftest.$ac_ext <<_ACEOF
38051 /* end confdefs.h. */
38052
38053 /* Override any gcc2 internal prototype to avoid an error. */
38054 #ifdef __cplusplus
38055 extern "C"
38056 #endif
38057 /* We use char because int might match the return type of a gcc2
38058 builtin and then its argument prototype would still apply. */
38059 char nanosleep ();
38060 int
38061 main ()
38062 {
38063 nanosleep ();
38064 ;
38065 return 0;
38066 }
38067 _ACEOF
38068 rm -f conftest.$ac_objext conftest$ac_exeext
38069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38070 (eval $ac_link) 2>conftest.er1
38071 ac_status=$?
38072 grep -v '^ *+' conftest.er1 >conftest.err
38073 rm -f conftest.er1
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } &&
38077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38079 (eval $ac_try) 2>&5
38080 ac_status=$?
38081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38082 (exit $ac_status); }; } &&
38083 { ac_try='test -s conftest$ac_exeext'
38084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38085 (eval $ac_try) 2>&5
38086 ac_status=$?
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); }; }; then
38089 ac_cv_lib_posix4_nanosleep=yes
38090 else
38091 echo "$as_me: failed program was:" >&5
38092 sed 's/^/| /' conftest.$ac_ext >&5
38093
38094 ac_cv_lib_posix4_nanosleep=no
38095 fi
38096 rm -f conftest.err conftest.$ac_objext \
38097 conftest$ac_exeext conftest.$ac_ext
38098 LIBS=$ac_check_lib_save_LIBS
38099 fi
38100 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38101 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38102 if test $ac_cv_lib_posix4_nanosleep = yes; then
38103
38104 cat >>confdefs.h <<\_ACEOF
38105 #define HAVE_NANOSLEEP 1
38106 _ACEOF
38107
38108 POSIX4_LINK=" -lposix4"
38109
38110 else
38111
38112
38113 for ac_func in usleep
38114 do
38115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38116 echo "$as_me:$LINENO: checking for $ac_func" >&5
38117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38118 if eval "test \"\${$as_ac_var+set}\" = set"; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 else
38121 cat >conftest.$ac_ext <<_ACEOF
38122 /* confdefs.h. */
38123 _ACEOF
38124 cat confdefs.h >>conftest.$ac_ext
38125 cat >>conftest.$ac_ext <<_ACEOF
38126 /* end confdefs.h. */
38127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38129 #define $ac_func innocuous_$ac_func
38130
38131 /* System header to define __stub macros and hopefully few prototypes,
38132 which can conflict with char $ac_func (); below.
38133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38134 <limits.h> exists even on freestanding compilers. */
38135
38136 #ifdef __STDC__
38137 # include <limits.h>
38138 #else
38139 # include <assert.h>
38140 #endif
38141
38142 #undef $ac_func
38143
38144 /* Override any gcc2 internal prototype to avoid an error. */
38145 #ifdef __cplusplus
38146 extern "C"
38147 {
38148 #endif
38149 /* We use char because int might match the return type of a gcc2
38150 builtin and then its argument prototype would still apply. */
38151 char $ac_func ();
38152 /* The GNU C library defines this for functions which it implements
38153 to always fail with ENOSYS. Some functions are actually named
38154 something starting with __ and the normal name is an alias. */
38155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38156 choke me
38157 #else
38158 char (*f) () = $ac_func;
38159 #endif
38160 #ifdef __cplusplus
38161 }
38162 #endif
38163
38164 int
38165 main ()
38166 {
38167 return f != $ac_func;
38168 ;
38169 return 0;
38170 }
38171 _ACEOF
38172 rm -f conftest.$ac_objext conftest$ac_exeext
38173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38174 (eval $ac_link) 2>conftest.er1
38175 ac_status=$?
38176 grep -v '^ *+' conftest.er1 >conftest.err
38177 rm -f conftest.er1
38178 cat conftest.err >&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } &&
38181 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38183 (eval $ac_try) 2>&5
38184 ac_status=$?
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); }; } &&
38187 { ac_try='test -s conftest$ac_exeext'
38188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38189 (eval $ac_try) 2>&5
38190 ac_status=$?
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); }; }; then
38193 eval "$as_ac_var=yes"
38194 else
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38197
38198 eval "$as_ac_var=no"
38199 fi
38200 rm -f conftest.err conftest.$ac_objext \
38201 conftest$ac_exeext conftest.$ac_ext
38202 fi
38203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38205 if test `eval echo '${'$as_ac_var'}'` = yes; then
38206 cat >>confdefs.h <<_ACEOF
38207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38208 _ACEOF
38209 cat >>confdefs.h <<\_ACEOF
38210 #define HAVE_USLEEP 1
38211 _ACEOF
38212
38213 else
38214 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38215 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38216
38217 fi
38218 done
38219
38220
38221
38222 fi
38223
38224
38225
38226 fi
38227 done
38228
38229 fi
38230
38231
38232
38233 for ac_func in uname gethostname
38234 do
38235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38236 echo "$as_me:$LINENO: checking for $ac_func" >&5
38237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38238 if eval "test \"\${$as_ac_var+set}\" = set"; then
38239 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 else
38241 cat >conftest.$ac_ext <<_ACEOF
38242 /* confdefs.h. */
38243 _ACEOF
38244 cat confdefs.h >>conftest.$ac_ext
38245 cat >>conftest.$ac_ext <<_ACEOF
38246 /* end confdefs.h. */
38247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38249 #define $ac_func innocuous_$ac_func
38250
38251 /* System header to define __stub macros and hopefully few prototypes,
38252 which can conflict with char $ac_func (); below.
38253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38254 <limits.h> exists even on freestanding compilers. */
38255
38256 #ifdef __STDC__
38257 # include <limits.h>
38258 #else
38259 # include <assert.h>
38260 #endif
38261
38262 #undef $ac_func
38263
38264 /* Override any gcc2 internal prototype to avoid an error. */
38265 #ifdef __cplusplus
38266 extern "C"
38267 {
38268 #endif
38269 /* We use char because int might match the return type of a gcc2
38270 builtin and then its argument prototype would still apply. */
38271 char $ac_func ();
38272 /* The GNU C library defines this for functions which it implements
38273 to always fail with ENOSYS. Some functions are actually named
38274 something starting with __ and the normal name is an alias. */
38275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38276 choke me
38277 #else
38278 char (*f) () = $ac_func;
38279 #endif
38280 #ifdef __cplusplus
38281 }
38282 #endif
38283
38284 int
38285 main ()
38286 {
38287 return f != $ac_func;
38288 ;
38289 return 0;
38290 }
38291 _ACEOF
38292 rm -f conftest.$ac_objext conftest$ac_exeext
38293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38294 (eval $ac_link) 2>conftest.er1
38295 ac_status=$?
38296 grep -v '^ *+' conftest.er1 >conftest.err
38297 rm -f conftest.er1
38298 cat conftest.err >&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); } &&
38301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38304 ac_status=$?
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; } &&
38307 { ac_try='test -s conftest$ac_exeext'
38308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38309 (eval $ac_try) 2>&5
38310 ac_status=$?
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); }; }; then
38313 eval "$as_ac_var=yes"
38314 else
38315 echo "$as_me: failed program was:" >&5
38316 sed 's/^/| /' conftest.$ac_ext >&5
38317
38318 eval "$as_ac_var=no"
38319 fi
38320 rm -f conftest.err conftest.$ac_objext \
38321 conftest$ac_exeext conftest.$ac_ext
38322 fi
38323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38325 if test `eval echo '${'$as_ac_var'}'` = yes; then
38326 cat >>confdefs.h <<_ACEOF
38327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38328 _ACEOF
38329 break
38330 fi
38331 done
38332
38333
38334
38335 for wx_func in strtok_r
38336 do
38337 echo "$as_me:$LINENO: checking for $wx_func" >&5
38338 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38339 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342
38343 cat >conftest.$ac_ext <<_ACEOF
38344
38345 /* confdefs.h. */
38346 _ACEOF
38347 cat confdefs.h >>conftest.$ac_ext
38348 cat >>conftest.$ac_ext <<_ACEOF
38349 /* end confdefs.h. */
38350
38351 #define _REENTRANT
38352 $ac_includes_default
38353
38354 int
38355 main ()
38356 {
38357
38358 #ifndef $wx_func
38359 &$wx_func;
38360 #endif
38361
38362
38363 ;
38364 return 0;
38365 }
38366
38367 _ACEOF
38368 rm -f conftest.$ac_objext conftest$ac_exeext
38369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38370 (eval $ac_link) 2>conftest.er1
38371 ac_status=$?
38372 grep -v '^ *+' conftest.er1 >conftest.err
38373 rm -f conftest.er1
38374 cat conftest.err >&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); } &&
38377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38379 (eval $ac_try) 2>&5
38380 ac_status=$?
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); }; } &&
38383 { ac_try='test -s conftest$ac_exeext'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38386 ac_status=$?
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; }; then
38389 eval wx_cv_func_$wx_func=yes
38390 else
38391 echo "$as_me: failed program was:" >&5
38392 sed 's/^/| /' conftest.$ac_ext >&5
38393
38394 eval wx_cv_func_$wx_func=no
38395 fi
38396 rm -f conftest.err conftest.$ac_objext \
38397 conftest$ac_exeext conftest.$ac_ext
38398
38399 fi
38400 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38401 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38402
38403 if eval test \$wx_cv_func_$wx_func = yes
38404 then
38405 cat >>confdefs.h <<_ACEOF
38406 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38407 _ACEOF
38408
38409
38410 else
38411 :
38412
38413 fi
38414 done
38415
38416
38417 INET_LINK=
38418
38419 for ac_func in inet_addr
38420 do
38421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38422 echo "$as_me:$LINENO: checking for $ac_func" >&5
38423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38424 if eval "test \"\${$as_ac_var+set}\" = set"; then
38425 echo $ECHO_N "(cached) $ECHO_C" >&6
38426 else
38427 cat >conftest.$ac_ext <<_ACEOF
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38435 #define $ac_func innocuous_$ac_func
38436
38437 /* System header to define __stub macros and hopefully few prototypes,
38438 which can conflict with char $ac_func (); below.
38439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38440 <limits.h> exists even on freestanding compilers. */
38441
38442 #ifdef __STDC__
38443 # include <limits.h>
38444 #else
38445 # include <assert.h>
38446 #endif
38447
38448 #undef $ac_func
38449
38450 /* Override any gcc2 internal prototype to avoid an error. */
38451 #ifdef __cplusplus
38452 extern "C"
38453 {
38454 #endif
38455 /* We use char because int might match the return type of a gcc2
38456 builtin and then its argument prototype would still apply. */
38457 char $ac_func ();
38458 /* The GNU C library defines this for functions which it implements
38459 to always fail with ENOSYS. Some functions are actually named
38460 something starting with __ and the normal name is an alias. */
38461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38462 choke me
38463 #else
38464 char (*f) () = $ac_func;
38465 #endif
38466 #ifdef __cplusplus
38467 }
38468 #endif
38469
38470 int
38471 main ()
38472 {
38473 return f != $ac_func;
38474 ;
38475 return 0;
38476 }
38477 _ACEOF
38478 rm -f conftest.$ac_objext conftest$ac_exeext
38479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38480 (eval $ac_link) 2>conftest.er1
38481 ac_status=$?
38482 grep -v '^ *+' conftest.er1 >conftest.err
38483 rm -f conftest.er1
38484 cat conftest.err >&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } &&
38487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
38493 { ac_try='test -s conftest$ac_exeext'
38494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38495 (eval $ac_try) 2>&5
38496 ac_status=$?
38497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498 (exit $ac_status); }; }; then
38499 eval "$as_ac_var=yes"
38500 else
38501 echo "$as_me: failed program was:" >&5
38502 sed 's/^/| /' conftest.$ac_ext >&5
38503
38504 eval "$as_ac_var=no"
38505 fi
38506 rm -f conftest.err conftest.$ac_objext \
38507 conftest$ac_exeext conftest.$ac_ext
38508 fi
38509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38511 if test `eval echo '${'$as_ac_var'}'` = yes; then
38512 cat >>confdefs.h <<_ACEOF
38513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38514 _ACEOF
38515 cat >>confdefs.h <<\_ACEOF
38516 #define HAVE_INET_ADDR 1
38517 _ACEOF
38518
38519 else
38520
38521 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38522 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38523 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38524 echo $ECHO_N "(cached) $ECHO_C" >&6
38525 else
38526 ac_check_lib_save_LIBS=$LIBS
38527 LIBS="-lnsl $LIBS"
38528 cat >conftest.$ac_ext <<_ACEOF
38529 /* confdefs.h. */
38530 _ACEOF
38531 cat confdefs.h >>conftest.$ac_ext
38532 cat >>conftest.$ac_ext <<_ACEOF
38533 /* end confdefs.h. */
38534
38535 /* Override any gcc2 internal prototype to avoid an error. */
38536 #ifdef __cplusplus
38537 extern "C"
38538 #endif
38539 /* We use char because int might match the return type of a gcc2
38540 builtin and then its argument prototype would still apply. */
38541 char inet_addr ();
38542 int
38543 main ()
38544 {
38545 inet_addr ();
38546 ;
38547 return 0;
38548 }
38549 _ACEOF
38550 rm -f conftest.$ac_objext conftest$ac_exeext
38551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38552 (eval $ac_link) 2>conftest.er1
38553 ac_status=$?
38554 grep -v '^ *+' conftest.er1 >conftest.err
38555 rm -f conftest.er1
38556 cat conftest.err >&5
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); } &&
38559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38561 (eval $ac_try) 2>&5
38562 ac_status=$?
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); }; } &&
38565 { ac_try='test -s conftest$ac_exeext'
38566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38567 (eval $ac_try) 2>&5
38568 ac_status=$?
38569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570 (exit $ac_status); }; }; then
38571 ac_cv_lib_nsl_inet_addr=yes
38572 else
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.$ac_ext >&5
38575
38576 ac_cv_lib_nsl_inet_addr=no
38577 fi
38578 rm -f conftest.err conftest.$ac_objext \
38579 conftest$ac_exeext conftest.$ac_ext
38580 LIBS=$ac_check_lib_save_LIBS
38581 fi
38582 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38583 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38584 if test $ac_cv_lib_nsl_inet_addr = yes; then
38585 INET_LINK="nsl"
38586 else
38587
38588 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38589 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38590 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38591 echo $ECHO_N "(cached) $ECHO_C" >&6
38592 else
38593 ac_check_lib_save_LIBS=$LIBS
38594 LIBS="-lresolv $LIBS"
38595 cat >conftest.$ac_ext <<_ACEOF
38596 /* confdefs.h. */
38597 _ACEOF
38598 cat confdefs.h >>conftest.$ac_ext
38599 cat >>conftest.$ac_ext <<_ACEOF
38600 /* end confdefs.h. */
38601
38602 /* Override any gcc2 internal prototype to avoid an error. */
38603 #ifdef __cplusplus
38604 extern "C"
38605 #endif
38606 /* We use char because int might match the return type of a gcc2
38607 builtin and then its argument prototype would still apply. */
38608 char inet_addr ();
38609 int
38610 main ()
38611 {
38612 inet_addr ();
38613 ;
38614 return 0;
38615 }
38616 _ACEOF
38617 rm -f conftest.$ac_objext conftest$ac_exeext
38618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38619 (eval $ac_link) 2>conftest.er1
38620 ac_status=$?
38621 grep -v '^ *+' conftest.er1 >conftest.err
38622 rm -f conftest.er1
38623 cat conftest.err >&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } &&
38626 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628 (eval $ac_try) 2>&5
38629 ac_status=$?
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); }; } &&
38632 { ac_try='test -s conftest$ac_exeext'
38633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38634 (eval $ac_try) 2>&5
38635 ac_status=$?
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); }; }; then
38638 ac_cv_lib_resolv_inet_addr=yes
38639 else
38640 echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38642
38643 ac_cv_lib_resolv_inet_addr=no
38644 fi
38645 rm -f conftest.err conftest.$ac_objext \
38646 conftest$ac_exeext conftest.$ac_ext
38647 LIBS=$ac_check_lib_save_LIBS
38648 fi
38649 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38650 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38651 if test $ac_cv_lib_resolv_inet_addr = yes; then
38652 INET_LINK="resolv"
38653 else
38654
38655 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38656 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38657 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38658 echo $ECHO_N "(cached) $ECHO_C" >&6
38659 else
38660 ac_check_lib_save_LIBS=$LIBS
38661 LIBS="-lsocket $LIBS"
38662 cat >conftest.$ac_ext <<_ACEOF
38663 /* confdefs.h. */
38664 _ACEOF
38665 cat confdefs.h >>conftest.$ac_ext
38666 cat >>conftest.$ac_ext <<_ACEOF
38667 /* end confdefs.h. */
38668
38669 /* Override any gcc2 internal prototype to avoid an error. */
38670 #ifdef __cplusplus
38671 extern "C"
38672 #endif
38673 /* We use char because int might match the return type of a gcc2
38674 builtin and then its argument prototype would still apply. */
38675 char inet_addr ();
38676 int
38677 main ()
38678 {
38679 inet_addr ();
38680 ;
38681 return 0;
38682 }
38683 _ACEOF
38684 rm -f conftest.$ac_objext conftest$ac_exeext
38685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38686 (eval $ac_link) 2>conftest.er1
38687 ac_status=$?
38688 grep -v '^ *+' conftest.er1 >conftest.err
38689 rm -f conftest.er1
38690 cat conftest.err >&5
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); } &&
38693 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38695 (eval $ac_try) 2>&5
38696 ac_status=$?
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); }; } &&
38699 { ac_try='test -s conftest$ac_exeext'
38700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38701 (eval $ac_try) 2>&5
38702 ac_status=$?
38703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38704 (exit $ac_status); }; }; then
38705 ac_cv_lib_socket_inet_addr=yes
38706 else
38707 echo "$as_me: failed program was:" >&5
38708 sed 's/^/| /' conftest.$ac_ext >&5
38709
38710 ac_cv_lib_socket_inet_addr=no
38711 fi
38712 rm -f conftest.err conftest.$ac_objext \
38713 conftest$ac_exeext conftest.$ac_ext
38714 LIBS=$ac_check_lib_save_LIBS
38715 fi
38716 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38717 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38718 if test $ac_cv_lib_socket_inet_addr = yes; then
38719 INET_LINK="socket"
38720
38721 fi
38722
38723
38724
38725 fi
38726
38727
38728
38729 fi
38730
38731
38732
38733 fi
38734 done
38735
38736
38737
38738 for ac_func in inet_aton
38739 do
38740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38741 echo "$as_me:$LINENO: checking for $ac_func" >&5
38742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38743 if eval "test \"\${$as_ac_var+set}\" = set"; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38746 cat >conftest.$ac_ext <<_ACEOF
38747 /* confdefs.h. */
38748 _ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38754 #define $ac_func innocuous_$ac_func
38755
38756 /* System header to define __stub macros and hopefully few prototypes,
38757 which can conflict with char $ac_func (); below.
38758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38759 <limits.h> exists even on freestanding compilers. */
38760
38761 #ifdef __STDC__
38762 # include <limits.h>
38763 #else
38764 # include <assert.h>
38765 #endif
38766
38767 #undef $ac_func
38768
38769 /* Override any gcc2 internal prototype to avoid an error. */
38770 #ifdef __cplusplus
38771 extern "C"
38772 {
38773 #endif
38774 /* We use char because int might match the return type of a gcc2
38775 builtin and then its argument prototype would still apply. */
38776 char $ac_func ();
38777 /* The GNU C library defines this for functions which it implements
38778 to always fail with ENOSYS. Some functions are actually named
38779 something starting with __ and the normal name is an alias. */
38780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38781 choke me
38782 #else
38783 char (*f) () = $ac_func;
38784 #endif
38785 #ifdef __cplusplus
38786 }
38787 #endif
38788
38789 int
38790 main ()
38791 {
38792 return f != $ac_func;
38793 ;
38794 return 0;
38795 }
38796 _ACEOF
38797 rm -f conftest.$ac_objext conftest$ac_exeext
38798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38799 (eval $ac_link) 2>conftest.er1
38800 ac_status=$?
38801 grep -v '^ *+' conftest.er1 >conftest.err
38802 rm -f conftest.er1
38803 cat conftest.err >&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); } &&
38806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; } &&
38812 { ac_try='test -s conftest$ac_exeext'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38815 ac_status=$?
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; }; then
38818 eval "$as_ac_var=yes"
38819 else
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.$ac_ext >&5
38822
38823 eval "$as_ac_var=no"
38824 fi
38825 rm -f conftest.err conftest.$ac_objext \
38826 conftest$ac_exeext conftest.$ac_ext
38827 fi
38828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38830 if test `eval echo '${'$as_ac_var'}'` = yes; then
38831 cat >>confdefs.h <<_ACEOF
38832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38833 _ACEOF
38834 cat >>confdefs.h <<\_ACEOF
38835 #define HAVE_INET_ATON 1
38836 _ACEOF
38837
38838 else
38839
38840 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38841 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38842 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38843 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 else
38846 ac_check_lib_save_LIBS=$LIBS
38847 LIBS="-l$INET_LINK $LIBS"
38848 cat >conftest.$ac_ext <<_ACEOF
38849 /* confdefs.h. */
38850 _ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854
38855 /* Override any gcc2 internal prototype to avoid an error. */
38856 #ifdef __cplusplus
38857 extern "C"
38858 #endif
38859 /* We use char because int might match the return type of a gcc2
38860 builtin and then its argument prototype would still apply. */
38861 char inet_aton ();
38862 int
38863 main ()
38864 {
38865 inet_aton ();
38866 ;
38867 return 0;
38868 }
38869 _ACEOF
38870 rm -f conftest.$ac_objext conftest$ac_exeext
38871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38872 (eval $ac_link) 2>conftest.er1
38873 ac_status=$?
38874 grep -v '^ *+' conftest.er1 >conftest.err
38875 rm -f conftest.er1
38876 cat conftest.err >&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } &&
38879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38881 (eval $ac_try) 2>&5
38882 ac_status=$?
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); }; } &&
38885 { ac_try='test -s conftest$ac_exeext'
38886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38887 (eval $ac_try) 2>&5
38888 ac_status=$?
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); }; }; then
38891 eval "$as_ac_Lib=yes"
38892 else
38893 echo "$as_me: failed program was:" >&5
38894 sed 's/^/| /' conftest.$ac_ext >&5
38895
38896 eval "$as_ac_Lib=no"
38897 fi
38898 rm -f conftest.err conftest.$ac_objext \
38899 conftest$ac_exeext conftest.$ac_ext
38900 LIBS=$ac_check_lib_save_LIBS
38901 fi
38902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38903 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38904 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38905 cat >>confdefs.h <<\_ACEOF
38906 #define HAVE_INET_ATON 1
38907 _ACEOF
38908
38909 fi
38910
38911
38912 fi
38913 done
38914
38915
38916 if test "x$INET_LINK" != "x"; then
38917 cat >>confdefs.h <<\_ACEOF
38918 #define HAVE_INET_ADDR 1
38919 _ACEOF
38920
38921 INET_LINK=" -l$INET_LINK"
38922 fi
38923
38924
38925 for wx_func in fdopen
38926 do
38927 echo "$as_me:$LINENO: checking for $wx_func" >&5
38928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38929 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38930 echo $ECHO_N "(cached) $ECHO_C" >&6
38931 else
38932
38933 cat >conftest.$ac_ext <<_ACEOF
38934
38935 /* confdefs.h. */
38936 _ACEOF
38937 cat confdefs.h >>conftest.$ac_ext
38938 cat >>conftest.$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940
38941
38942 $ac_includes_default
38943
38944 int
38945 main ()
38946 {
38947
38948 #ifndef $wx_func
38949 &$wx_func;
38950 #endif
38951
38952
38953 ;
38954 return 0;
38955 }
38956
38957 _ACEOF
38958 rm -f conftest.$ac_objext conftest$ac_exeext
38959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38960 (eval $ac_link) 2>conftest.er1
38961 ac_status=$?
38962 grep -v '^ *+' conftest.er1 >conftest.err
38963 rm -f conftest.er1
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } &&
38967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969 (eval $ac_try) 2>&5
38970 ac_status=$?
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); }; } &&
38973 { ac_try='test -s conftest$ac_exeext'
38974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38975 (eval $ac_try) 2>&5
38976 ac_status=$?
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); }; }; then
38979 eval wx_cv_func_$wx_func=yes
38980 else
38981 echo "$as_me: failed program was:" >&5
38982 sed 's/^/| /' conftest.$ac_ext >&5
38983
38984 eval wx_cv_func_$wx_func=no
38985 fi
38986 rm -f conftest.err conftest.$ac_objext \
38987 conftest$ac_exeext conftest.$ac_ext
38988
38989 fi
38990 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38991 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38992
38993 if eval test \$wx_cv_func_$wx_func = yes
38994 then
38995 cat >>confdefs.h <<_ACEOF
38996 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38997 _ACEOF
38998
38999
39000 else
39001 :
39002
39003 fi
39004 done
39005
39006
39007 fi
39008
39009
39010
39011
39012 EXTRALIBS_ESD=
39013 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39014 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39015 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 else
39018 ac_check_lib_save_LIBS=$LIBS
39019 LIBS="-lesd $LIBS"
39020 cat >conftest.$ac_ext <<_ACEOF
39021 /* confdefs.h. */
39022 _ACEOF
39023 cat confdefs.h >>conftest.$ac_ext
39024 cat >>conftest.$ac_ext <<_ACEOF
39025 /* end confdefs.h. */
39026
39027 /* Override any gcc2 internal prototype to avoid an error. */
39028 #ifdef __cplusplus
39029 extern "C"
39030 #endif
39031 /* We use char because int might match the return type of a gcc2
39032 builtin and then its argument prototype would still apply. */
39033 char esd_close ();
39034 int
39035 main ()
39036 {
39037 esd_close ();
39038 ;
39039 return 0;
39040 }
39041 _ACEOF
39042 rm -f conftest.$ac_objext conftest$ac_exeext
39043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39044 (eval $ac_link) 2>conftest.er1
39045 ac_status=$?
39046 grep -v '^ *+' conftest.er1 >conftest.err
39047 rm -f conftest.er1
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } &&
39051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39054 ac_status=$?
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; } &&
39057 { ac_try='test -s conftest$ac_exeext'
39058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059 (eval $ac_try) 2>&5
39060 ac_status=$?
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); }; }; then
39063 ac_cv_lib_esd_esd_close=yes
39064 else
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39067
39068 ac_cv_lib_esd_esd_close=no
39069 fi
39070 rm -f conftest.err conftest.$ac_objext \
39071 conftest$ac_exeext conftest.$ac_ext
39072 LIBS=$ac_check_lib_save_LIBS
39073 fi
39074 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39075 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39076 if test $ac_cv_lib_esd_esd_close = yes; then
39077
39078
39079 for ac_header in esd.h
39080 do
39081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39083 echo "$as_me:$LINENO: checking for $ac_header" >&5
39084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39087 fi
39088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39090 else
39091 # Is the header compilable?
39092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39094 cat >conftest.$ac_ext <<_ACEOF
39095 /* confdefs.h. */
39096 _ACEOF
39097 cat confdefs.h >>conftest.$ac_ext
39098 cat >>conftest.$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 $ac_includes_default
39101 #include <$ac_header>
39102 _ACEOF
39103 rm -f conftest.$ac_objext
39104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39105 (eval $ac_compile) 2>conftest.er1
39106 ac_status=$?
39107 grep -v '^ *+' conftest.er1 >conftest.err
39108 rm -f conftest.er1
39109 cat conftest.err >&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } &&
39112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39114 (eval $ac_try) 2>&5
39115 ac_status=$?
39116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39117 (exit $ac_status); }; } &&
39118 { ac_try='test -s conftest.$ac_objext'
39119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39120 (eval $ac_try) 2>&5
39121 ac_status=$?
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); }; }; then
39124 ac_header_compiler=yes
39125 else
39126 echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39128
39129 ac_header_compiler=no
39130 fi
39131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39133 echo "${ECHO_T}$ac_header_compiler" >&6
39134
39135 # Is the header present?
39136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h. */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 #include <$ac_header>
39145 _ACEOF
39146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39148 ac_status=$?
39149 grep -v '^ *+' conftest.er1 >conftest.err
39150 rm -f conftest.er1
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } >/dev/null; then
39154 if test -s conftest.err; then
39155 ac_cpp_err=$ac_cxx_preproc_warn_flag
39156 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39157 else
39158 ac_cpp_err=
39159 fi
39160 else
39161 ac_cpp_err=yes
39162 fi
39163 if test -z "$ac_cpp_err"; then
39164 ac_header_preproc=yes
39165 else
39166 echo "$as_me: failed program was:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39168
39169 ac_header_preproc=no
39170 fi
39171 rm -f conftest.err conftest.$ac_ext
39172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39173 echo "${ECHO_T}$ac_header_preproc" >&6
39174
39175 # So? What about this header?
39176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39177 yes:no: )
39178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39182 ac_header_preproc=yes
39183 ;;
39184 no:yes:* )
39185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39197 (
39198 cat <<\_ASBOX
39199 ## ----------------------------------------- ##
39200 ## Report this to wx-dev@lists.wxwidgets.org ##
39201 ## ----------------------------------------- ##
39202 _ASBOX
39203 ) |
39204 sed "s/^/$as_me: WARNING: /" >&2
39205 ;;
39206 esac
39207 echo "$as_me:$LINENO: checking for $ac_header" >&5
39208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39210 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 else
39212 eval "$as_ac_Header=\$ac_header_preproc"
39213 fi
39214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39216
39217 fi
39218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39219 cat >>confdefs.h <<_ACEOF
39220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39221 _ACEOF
39222
39223 EXTRALIBS_ESD="-lesd"
39224
39225 fi
39226
39227 done
39228
39229
39230 fi
39231
39232
39233
39234 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39235 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39236 cat >conftest.$ac_ext <<_ACEOF
39237 /* confdefs.h. */
39238 _ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242 #ifdef __linux__
39243 #include <linux/cdrom.h>
39244 #else
39245 /* For Solaris */
39246 #include <sys/cdio.h>
39247 #endif
39248
39249 int
39250 main ()
39251 {
39252 struct cdrom_tocentry entry, old_entry;
39253 ;
39254 return 0;
39255 }
39256 _ACEOF
39257 rm -f conftest.$ac_objext
39258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39259 (eval $ac_compile) 2>conftest.er1
39260 ac_status=$?
39261 grep -v '^ *+' conftest.er1 >conftest.err
39262 rm -f conftest.er1
39263 cat conftest.err >&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } &&
39266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268 (eval $ac_try) 2>&5
39269 ac_status=$?
39270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271 (exit $ac_status); }; } &&
39272 { ac_try='test -s conftest.$ac_objext'
39273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39274 (eval $ac_try) 2>&5
39275 ac_status=$?
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); }; }; then
39278 echo "$as_me:$LINENO: result: yes" >&5
39279 echo "${ECHO_T}yes" >&6
39280 cat >>confdefs.h <<\_ACEOF
39281 #define HAVE_KNOWN_CDROM_INTERFACE 1
39282 _ACEOF
39283
39284 else
39285 echo "$as_me: failed program was:" >&5
39286 sed 's/^/| /' conftest.$ac_ext >&5
39287
39288 echo "$as_me:$LINENO: result: no" >&5
39289 echo "${ECHO_T}no" >&6
39290 fi
39291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39292
39293
39294 cat >confcache <<\_ACEOF
39295 # This file is a shell script that caches the results of configure
39296 # tests run on this system so they can be shared between configure
39297 # scripts and configure runs, see configure's option --config-cache.
39298 # It is not useful on other systems. If it contains results you don't
39299 # want to keep, you may remove or edit it.
39300 #
39301 # config.status only pays attention to the cache file if you give it
39302 # the --recheck option to rerun configure.
39303 #
39304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39306 # following values.
39307
39308 _ACEOF
39309
39310 # The following way of writing the cache mishandles newlines in values,
39311 # but we know of no workaround that is simple, portable, and efficient.
39312 # So, don't put newlines in cache variables' values.
39313 # Ultrix sh set writes to stderr and can't be redirected directly,
39314 # and sets the high bit in the cache file unless we assign to the vars.
39315 {
39316 (set) 2>&1 |
39317 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39318 *ac_space=\ *)
39319 # `set' does not quote correctly, so add quotes (double-quote
39320 # substitution turns \\\\ into \\, and sed turns \\ into \).
39321 sed -n \
39322 "s/'/'\\\\''/g;
39323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39324 ;;
39325 *)
39326 # `set' quotes correctly as required by POSIX, so do not add quotes.
39327 sed -n \
39328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39329 ;;
39330 esac;
39331 } |
39332 sed '
39333 t clear
39334 : clear
39335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39336 t end
39337 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39338 : end' >>confcache
39339 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39340 if test -w $cache_file; then
39341 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39342 cat confcache >$cache_file
39343 else
39344 echo "not updating unwritable cache $cache_file"
39345 fi
39346 fi
39347 rm -f confcache
39348
39349
39350 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39351
39352
39353 THREADS_LINK=
39354 THREADS_CXXFLAGS=
39355
39356 if test "$wxUSE_THREADS" = "yes" ; then
39357 if test "$USE_BEOS" = 1; then
39358 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39359 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39360 wxUSE_THREADS="no"
39361 fi
39362 fi
39363
39364 if test "$wxUSE_THREADS" = "yes" ; then
39365
39366
39367 THREAD_OPTS="-pthread"
39368 case "${host}" in
39369 *-*-solaris2* | *-*-sunos4* )
39370 if test "x$GCC" = "xyes"; then
39371 THREAD_OPTS="-pthreads $THREAD_OPTS"
39372 else
39373 THREAD_OPTS="-mt $THREAD_OPTS"
39374 fi
39375 ;;
39376 *-*-freebsd*)
39377 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39378 ;;
39379 *-*-darwin* | *-*-cygwin* )
39380 THREAD_OPTS=""
39381 ;;
39382 *-*-aix*)
39383 THREAD_OPTS="pthreads"
39384 ;;
39385 *-hp-hpux* )
39386 if test "x$GCC" = "xyes"; then
39387 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39388 THREAD_OPTS=""
39389 else
39390 THREAD_OPTS="-mt"
39391 fi
39392 ;;
39393
39394 *-*-irix* )
39395 if test "x$GCC" = "xyes"; then
39396 THREAD_OPTS=""
39397 fi
39398 ;;
39399
39400 *-*-*UnixWare*)
39401 if test "x$GCC" != "xyes"; then
39402 THREAD_OPTS="-Ethread"
39403 fi
39404 ;;
39405 esac
39406
39407 THREAD_OPTS="$THREAD_OPTS pthread none"
39408
39409 THREADS_OK=no
39410 for flag in $THREAD_OPTS; do
39411 case $flag in
39412 none)
39413 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39414 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39415 ;;
39416
39417 -*)
39418 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39419 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39420 THREADS_CXXFLAGS="$flag"
39421 ;;
39422
39423 *)
39424 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39425 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39426 THREADS_LINK="-l$flag"
39427 ;;
39428 esac
39429
39430 save_LIBS="$LIBS"
39431 save_CXXFLAGS="$CXXFLAGS"
39432 LIBS="$THREADS_LINK $LIBS"
39433 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39434
39435 cat >conftest.$ac_ext <<_ACEOF
39436 /* confdefs.h. */
39437 _ACEOF
39438 cat confdefs.h >>conftest.$ac_ext
39439 cat >>conftest.$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39441 #include <pthread.h>
39442 int
39443 main ()
39444 {
39445 pthread_create(0,0,0,0);
39446 ;
39447 return 0;
39448 }
39449 _ACEOF
39450 rm -f conftest.$ac_objext conftest$ac_exeext
39451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39452 (eval $ac_link) 2>conftest.er1
39453 ac_status=$?
39454 grep -v '^ *+' conftest.er1 >conftest.err
39455 rm -f conftest.er1
39456 cat conftest.err >&5
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); } &&
39459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461 (eval $ac_try) 2>&5
39462 ac_status=$?
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); }; } &&
39465 { ac_try='test -s conftest$ac_exeext'
39466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39467 (eval $ac_try) 2>&5
39468 ac_status=$?
39469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39470 (exit $ac_status); }; }; then
39471 THREADS_OK=yes
39472 else
39473 echo "$as_me: failed program was:" >&5
39474 sed 's/^/| /' conftest.$ac_ext >&5
39475
39476 fi
39477 rm -f conftest.err conftest.$ac_objext \
39478 conftest$ac_exeext conftest.$ac_ext
39479
39480 LIBS="$save_LIBS"
39481 CXXFLAGS="$save_CXXFLAGS"
39482
39483 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39484 echo "${ECHO_T}$THREADS_OK" >&6
39485 if test "x$THREADS_OK" = "xyes"; then
39486 break;
39487 fi
39488
39489 THREADS_LINK=""
39490 THREADS_CXXFLAGS=""
39491 done
39492
39493 if test "x$THREADS_OK" != "xyes"; then
39494 wxUSE_THREADS=no
39495 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39496 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39497 else
39498 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39499 LIBS="$THREADS_LINK $LIBS"
39500
39501 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39502 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39503 flag=no
39504 case "${host}" in
39505 *-aix*)
39506 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39507 flag="-D_THREAD_SAFE"
39508 ;;
39509 *-freebsd*)
39510 flag="-D_THREAD_SAFE"
39511 ;;
39512 *-hp-hpux* )
39513 flag="-D_REENTRANT"
39514 if test "x$GCC" != "xyes"; then
39515 flag="$flag -D_RWSTD_MULTI_THREAD"
39516 fi
39517 ;;
39518 *solaris* | alpha*-osf*)
39519 flag="-D_REENTRANT"
39520 ;;
39521 esac
39522 echo "$as_me:$LINENO: result: ${flag}" >&5
39523 echo "${ECHO_T}${flag}" >&6
39524 if test "x$flag" != xno; then
39525 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39526 fi
39527
39528 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39529 fi
39530 fi
39531
39532 if test "$wxUSE_THREADS" = "yes" ; then
39533
39534 for ac_func in thr_setconcurrency
39535 do
39536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39537 echo "$as_me:$LINENO: checking for $ac_func" >&5
39538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39539 if eval "test \"\${$as_ac_var+set}\" = set"; then
39540 echo $ECHO_N "(cached) $ECHO_C" >&6
39541 else
39542 cat >conftest.$ac_ext <<_ACEOF
39543 /* confdefs.h. */
39544 _ACEOF
39545 cat confdefs.h >>conftest.$ac_ext
39546 cat >>conftest.$ac_ext <<_ACEOF
39547 /* end confdefs.h. */
39548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39550 #define $ac_func innocuous_$ac_func
39551
39552 /* System header to define __stub macros and hopefully few prototypes,
39553 which can conflict with char $ac_func (); below.
39554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39555 <limits.h> exists even on freestanding compilers. */
39556
39557 #ifdef __STDC__
39558 # include <limits.h>
39559 #else
39560 # include <assert.h>
39561 #endif
39562
39563 #undef $ac_func
39564
39565 /* Override any gcc2 internal prototype to avoid an error. */
39566 #ifdef __cplusplus
39567 extern "C"
39568 {
39569 #endif
39570 /* We use char because int might match the return type of a gcc2
39571 builtin and then its argument prototype would still apply. */
39572 char $ac_func ();
39573 /* The GNU C library defines this for functions which it implements
39574 to always fail with ENOSYS. Some functions are actually named
39575 something starting with __ and the normal name is an alias. */
39576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39577 choke me
39578 #else
39579 char (*f) () = $ac_func;
39580 #endif
39581 #ifdef __cplusplus
39582 }
39583 #endif
39584
39585 int
39586 main ()
39587 {
39588 return f != $ac_func;
39589 ;
39590 return 0;
39591 }
39592 _ACEOF
39593 rm -f conftest.$ac_objext conftest$ac_exeext
39594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39595 (eval $ac_link) 2>conftest.er1
39596 ac_status=$?
39597 grep -v '^ *+' conftest.er1 >conftest.err
39598 rm -f conftest.er1
39599 cat conftest.err >&5
39600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39601 (exit $ac_status); } &&
39602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39604 (eval $ac_try) 2>&5
39605 ac_status=$?
39606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607 (exit $ac_status); }; } &&
39608 { ac_try='test -s conftest$ac_exeext'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39611 ac_status=$?
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; }; then
39614 eval "$as_ac_var=yes"
39615 else
39616 echo "$as_me: failed program was:" >&5
39617 sed 's/^/| /' conftest.$ac_ext >&5
39618
39619 eval "$as_ac_var=no"
39620 fi
39621 rm -f conftest.err conftest.$ac_objext \
39622 conftest$ac_exeext conftest.$ac_ext
39623 fi
39624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39626 if test `eval echo '${'$as_ac_var'}'` = yes; then
39627 cat >>confdefs.h <<_ACEOF
39628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39629 _ACEOF
39630
39631 fi
39632 done
39633
39634
39635 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39636 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39637 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39638 echo $ECHO_N "(cached) $ECHO_C" >&6
39639 else
39640
39641 cat >conftest.$ac_ext <<_ACEOF
39642 /* confdefs.h. */
39643 _ACEOF
39644 cat confdefs.h >>conftest.$ac_ext
39645 cat >>conftest.$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647 #include <pthread.h>
39648 void ThreadCleanupFunc(void *p);
39649
39650 int
39651 main ()
39652 {
39653
39654 void *p;
39655 pthread_cleanup_push(ThreadCleanupFunc, p);
39656 pthread_cleanup_pop(0);
39657
39658 ;
39659 return 0;
39660 }
39661 _ACEOF
39662 rm -f conftest.$ac_objext
39663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39664 (eval $ac_compile) 2>conftest.er1
39665 ac_status=$?
39666 grep -v '^ *+' conftest.er1 >conftest.err
39667 rm -f conftest.er1
39668 cat conftest.err >&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } &&
39671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39674 ac_status=$?
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; } &&
39677 { ac_try='test -s conftest.$ac_objext'
39678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39679 (eval $ac_try) 2>&5
39680 ac_status=$?
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); }; }; then
39683
39684 wx_cv_func_pthread_cleanup=yes
39685
39686 else
39687 echo "$as_me: failed program was:" >&5
39688 sed 's/^/| /' conftest.$ac_ext >&5
39689
39690
39691 wx_cv_func_pthread_cleanup=no
39692
39693
39694 fi
39695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39696
39697 fi
39698 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39699 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39700 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39701 cat >>confdefs.h <<\_ACEOF
39702 #define wxHAVE_PTHREAD_CLEANUP 1
39703 _ACEOF
39704
39705 fi
39706
39707
39708 for ac_header in sched.h
39709 do
39710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39712 echo "$as_me:$LINENO: checking for $ac_header" >&5
39713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39715 echo $ECHO_N "(cached) $ECHO_C" >&6
39716 fi
39717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39719 else
39720 # Is the header compilable?
39721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39723 cat >conftest.$ac_ext <<_ACEOF
39724 /* confdefs.h. */
39725 _ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39729 $ac_includes_default
39730 #include <$ac_header>
39731 _ACEOF
39732 rm -f conftest.$ac_objext
39733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39734 (eval $ac_compile) 2>conftest.er1
39735 ac_status=$?
39736 grep -v '^ *+' conftest.er1 >conftest.err
39737 rm -f conftest.er1
39738 cat conftest.err >&5
39739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39740 (exit $ac_status); } &&
39741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39743 (eval $ac_try) 2>&5
39744 ac_status=$?
39745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39746 (exit $ac_status); }; } &&
39747 { ac_try='test -s conftest.$ac_objext'
39748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749 (eval $ac_try) 2>&5
39750 ac_status=$?
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); }; }; then
39753 ac_header_compiler=yes
39754 else
39755 echo "$as_me: failed program was:" >&5
39756 sed 's/^/| /' conftest.$ac_ext >&5
39757
39758 ac_header_compiler=no
39759 fi
39760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39762 echo "${ECHO_T}$ac_header_compiler" >&6
39763
39764 # Is the header present?
39765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39767 cat >conftest.$ac_ext <<_ACEOF
39768 /* confdefs.h. */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 #include <$ac_header>
39774 _ACEOF
39775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39777 ac_status=$?
39778 grep -v '^ *+' conftest.er1 >conftest.err
39779 rm -f conftest.er1
39780 cat conftest.err >&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } >/dev/null; then
39783 if test -s conftest.err; then
39784 ac_cpp_err=$ac_cxx_preproc_warn_flag
39785 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39786 else
39787 ac_cpp_err=
39788 fi
39789 else
39790 ac_cpp_err=yes
39791 fi
39792 if test -z "$ac_cpp_err"; then
39793 ac_header_preproc=yes
39794 else
39795 echo "$as_me: failed program was:" >&5
39796 sed 's/^/| /' conftest.$ac_ext >&5
39797
39798 ac_header_preproc=no
39799 fi
39800 rm -f conftest.err conftest.$ac_ext
39801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39802 echo "${ECHO_T}$ac_header_preproc" >&6
39803
39804 # So? What about this header?
39805 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39806 yes:no: )
39807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39811 ac_header_preproc=yes
39812 ;;
39813 no:yes:* )
39814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39826 (
39827 cat <<\_ASBOX
39828 ## ----------------------------------------- ##
39829 ## Report this to wx-dev@lists.wxwidgets.org ##
39830 ## ----------------------------------------- ##
39831 _ASBOX
39832 ) |
39833 sed "s/^/$as_me: WARNING: /" >&2
39834 ;;
39835 esac
39836 echo "$as_me:$LINENO: checking for $ac_header" >&5
39837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 else
39841 eval "$as_ac_Header=\$ac_header_preproc"
39842 fi
39843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39845
39846 fi
39847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39848 cat >>confdefs.h <<_ACEOF
39849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39850 _ACEOF
39851
39852 fi
39853
39854 done
39855
39856 if test "$ac_cv_header_sched_h" = "yes"; then
39857 echo "$as_me:$LINENO: checking for sched_yield" >&5
39858 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39859 if test "${ac_cv_func_sched_yield+set}" = set; then
39860 echo $ECHO_N "(cached) $ECHO_C" >&6
39861 else
39862 cat >conftest.$ac_ext <<_ACEOF
39863 /* confdefs.h. */
39864 _ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39870 #define sched_yield innocuous_sched_yield
39871
39872 /* System header to define __stub macros and hopefully few prototypes,
39873 which can conflict with char sched_yield (); below.
39874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39875 <limits.h> exists even on freestanding compilers. */
39876
39877 #ifdef __STDC__
39878 # include <limits.h>
39879 #else
39880 # include <assert.h>
39881 #endif
39882
39883 #undef sched_yield
39884
39885 /* Override any gcc2 internal prototype to avoid an error. */
39886 #ifdef __cplusplus
39887 extern "C"
39888 {
39889 #endif
39890 /* We use char because int might match the return type of a gcc2
39891 builtin and then its argument prototype would still apply. */
39892 char sched_yield ();
39893 /* The GNU C library defines this for functions which it implements
39894 to always fail with ENOSYS. Some functions are actually named
39895 something starting with __ and the normal name is an alias. */
39896 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39897 choke me
39898 #else
39899 char (*f) () = sched_yield;
39900 #endif
39901 #ifdef __cplusplus
39902 }
39903 #endif
39904
39905 int
39906 main ()
39907 {
39908 return f != sched_yield;
39909 ;
39910 return 0;
39911 }
39912 _ACEOF
39913 rm -f conftest.$ac_objext conftest$ac_exeext
39914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39915 (eval $ac_link) 2>conftest.er1
39916 ac_status=$?
39917 grep -v '^ *+' conftest.er1 >conftest.err
39918 rm -f conftest.er1
39919 cat conftest.err >&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } &&
39922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39924 (eval $ac_try) 2>&5
39925 ac_status=$?
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); }; } &&
39928 { ac_try='test -s conftest$ac_exeext'
39929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39930 (eval $ac_try) 2>&5
39931 ac_status=$?
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); }; }; then
39934 ac_cv_func_sched_yield=yes
39935 else
39936 echo "$as_me: failed program was:" >&5
39937 sed 's/^/| /' conftest.$ac_ext >&5
39938
39939 ac_cv_func_sched_yield=no
39940 fi
39941 rm -f conftest.err conftest.$ac_objext \
39942 conftest$ac_exeext conftest.$ac_ext
39943 fi
39944 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39945 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39946 if test $ac_cv_func_sched_yield = yes; then
39947 cat >>confdefs.h <<\_ACEOF
39948 #define HAVE_SCHED_YIELD 1
39949 _ACEOF
39950
39951 else
39952
39953 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39954 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39955 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39956 echo $ECHO_N "(cached) $ECHO_C" >&6
39957 else
39958 ac_check_lib_save_LIBS=$LIBS
39959 LIBS="-lposix4 $LIBS"
39960 cat >conftest.$ac_ext <<_ACEOF
39961 /* confdefs.h. */
39962 _ACEOF
39963 cat confdefs.h >>conftest.$ac_ext
39964 cat >>conftest.$ac_ext <<_ACEOF
39965 /* end confdefs.h. */
39966
39967 /* Override any gcc2 internal prototype to avoid an error. */
39968 #ifdef __cplusplus
39969 extern "C"
39970 #endif
39971 /* We use char because int might match the return type of a gcc2
39972 builtin and then its argument prototype would still apply. */
39973 char sched_yield ();
39974 int
39975 main ()
39976 {
39977 sched_yield ();
39978 ;
39979 return 0;
39980 }
39981 _ACEOF
39982 rm -f conftest.$ac_objext conftest$ac_exeext
39983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39984 (eval $ac_link) 2>conftest.er1
39985 ac_status=$?
39986 grep -v '^ *+' conftest.er1 >conftest.err
39987 rm -f conftest.er1
39988 cat conftest.err >&5
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); } &&
39991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39994 ac_status=$?
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; } &&
39997 { ac_try='test -s conftest$ac_exeext'
39998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39999 (eval $ac_try) 2>&5
40000 ac_status=$?
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); }; }; then
40003 ac_cv_lib_posix4_sched_yield=yes
40004 else
40005 echo "$as_me: failed program was:" >&5
40006 sed 's/^/| /' conftest.$ac_ext >&5
40007
40008 ac_cv_lib_posix4_sched_yield=no
40009 fi
40010 rm -f conftest.err conftest.$ac_objext \
40011 conftest$ac_exeext conftest.$ac_ext
40012 LIBS=$ac_check_lib_save_LIBS
40013 fi
40014 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40015 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40016 if test $ac_cv_lib_posix4_sched_yield = yes; then
40017 cat >>confdefs.h <<\_ACEOF
40018 #define HAVE_SCHED_YIELD 1
40019 _ACEOF
40020 POSIX4_LINK=" -lposix4"
40021 else
40022 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40023 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40024
40025 fi
40026
40027
40028
40029 fi
40030
40031 fi
40032
40033 HAVE_PRIOR_FUNCS=0
40034 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40035 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40036 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40037 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 else
40039 cat >conftest.$ac_ext <<_ACEOF
40040 /* confdefs.h. */
40041 _ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40045 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40047 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40048
40049 /* System header to define __stub macros and hopefully few prototypes,
40050 which can conflict with char pthread_attr_getschedpolicy (); below.
40051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40052 <limits.h> exists even on freestanding compilers. */
40053
40054 #ifdef __STDC__
40055 # include <limits.h>
40056 #else
40057 # include <assert.h>
40058 #endif
40059
40060 #undef pthread_attr_getschedpolicy
40061
40062 /* Override any gcc2 internal prototype to avoid an error. */
40063 #ifdef __cplusplus
40064 extern "C"
40065 {
40066 #endif
40067 /* We use char because int might match the return type of a gcc2
40068 builtin and then its argument prototype would still apply. */
40069 char pthread_attr_getschedpolicy ();
40070 /* The GNU C library defines this for functions which it implements
40071 to always fail with ENOSYS. Some functions are actually named
40072 something starting with __ and the normal name is an alias. */
40073 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40074 choke me
40075 #else
40076 char (*f) () = pthread_attr_getschedpolicy;
40077 #endif
40078 #ifdef __cplusplus
40079 }
40080 #endif
40081
40082 int
40083 main ()
40084 {
40085 return f != pthread_attr_getschedpolicy;
40086 ;
40087 return 0;
40088 }
40089 _ACEOF
40090 rm -f conftest.$ac_objext conftest$ac_exeext
40091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40092 (eval $ac_link) 2>conftest.er1
40093 ac_status=$?
40094 grep -v '^ *+' conftest.er1 >conftest.err
40095 rm -f conftest.er1
40096 cat conftest.err >&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); } &&
40099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40102 ac_status=$?
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; } &&
40105 { ac_try='test -s conftest$ac_exeext'
40106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40107 (eval $ac_try) 2>&5
40108 ac_status=$?
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); }; }; then
40111 ac_cv_func_pthread_attr_getschedpolicy=yes
40112 else
40113 echo "$as_me: failed program was:" >&5
40114 sed 's/^/| /' conftest.$ac_ext >&5
40115
40116 ac_cv_func_pthread_attr_getschedpolicy=no
40117 fi
40118 rm -f conftest.err conftest.$ac_objext \
40119 conftest$ac_exeext conftest.$ac_ext
40120 fi
40121 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40122 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40123 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40124 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40125 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40126 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40127 echo $ECHO_N "(cached) $ECHO_C" >&6
40128 else
40129 cat >conftest.$ac_ext <<_ACEOF
40130 /* confdefs.h. */
40131 _ACEOF
40132 cat confdefs.h >>conftest.$ac_ext
40133 cat >>conftest.$ac_ext <<_ACEOF
40134 /* end confdefs.h. */
40135 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40137 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40138
40139 /* System header to define __stub macros and hopefully few prototypes,
40140 which can conflict with char pthread_attr_setschedparam (); below.
40141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40142 <limits.h> exists even on freestanding compilers. */
40143
40144 #ifdef __STDC__
40145 # include <limits.h>
40146 #else
40147 # include <assert.h>
40148 #endif
40149
40150 #undef pthread_attr_setschedparam
40151
40152 /* Override any gcc2 internal prototype to avoid an error. */
40153 #ifdef __cplusplus
40154 extern "C"
40155 {
40156 #endif
40157 /* We use char because int might match the return type of a gcc2
40158 builtin and then its argument prototype would still apply. */
40159 char pthread_attr_setschedparam ();
40160 /* The GNU C library defines this for functions which it implements
40161 to always fail with ENOSYS. Some functions are actually named
40162 something starting with __ and the normal name is an alias. */
40163 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40164 choke me
40165 #else
40166 char (*f) () = pthread_attr_setschedparam;
40167 #endif
40168 #ifdef __cplusplus
40169 }
40170 #endif
40171
40172 int
40173 main ()
40174 {
40175 return f != pthread_attr_setschedparam;
40176 ;
40177 return 0;
40178 }
40179 _ACEOF
40180 rm -f conftest.$ac_objext conftest$ac_exeext
40181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40182 (eval $ac_link) 2>conftest.er1
40183 ac_status=$?
40184 grep -v '^ *+' conftest.er1 >conftest.err
40185 rm -f conftest.er1
40186 cat conftest.err >&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } &&
40189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40191 (eval $ac_try) 2>&5
40192 ac_status=$?
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); }; } &&
40195 { ac_try='test -s conftest$ac_exeext'
40196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40197 (eval $ac_try) 2>&5
40198 ac_status=$?
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); }; }; then
40201 ac_cv_func_pthread_attr_setschedparam=yes
40202 else
40203 echo "$as_me: failed program was:" >&5
40204 sed 's/^/| /' conftest.$ac_ext >&5
40205
40206 ac_cv_func_pthread_attr_setschedparam=no
40207 fi
40208 rm -f conftest.err conftest.$ac_objext \
40209 conftest$ac_exeext conftest.$ac_ext
40210 fi
40211 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40212 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40213 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40214 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40215 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40216 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40217 echo $ECHO_N "(cached) $ECHO_C" >&6
40218 else
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40227 #define sched_get_priority_max innocuous_sched_get_priority_max
40228
40229 /* System header to define __stub macros and hopefully few prototypes,
40230 which can conflict with char sched_get_priority_max (); below.
40231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40232 <limits.h> exists even on freestanding compilers. */
40233
40234 #ifdef __STDC__
40235 # include <limits.h>
40236 #else
40237 # include <assert.h>
40238 #endif
40239
40240 #undef sched_get_priority_max
40241
40242 /* Override any gcc2 internal prototype to avoid an error. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 {
40246 #endif
40247 /* We use char because int might match the return type of a gcc2
40248 builtin and then its argument prototype would still apply. */
40249 char sched_get_priority_max ();
40250 /* The GNU C library defines this for functions which it implements
40251 to always fail with ENOSYS. Some functions are actually named
40252 something starting with __ and the normal name is an alias. */
40253 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40254 choke me
40255 #else
40256 char (*f) () = sched_get_priority_max;
40257 #endif
40258 #ifdef __cplusplus
40259 }
40260 #endif
40261
40262 int
40263 main ()
40264 {
40265 return f != sched_get_priority_max;
40266 ;
40267 return 0;
40268 }
40269 _ACEOF
40270 rm -f conftest.$ac_objext conftest$ac_exeext
40271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40272 (eval $ac_link) 2>conftest.er1
40273 ac_status=$?
40274 grep -v '^ *+' conftest.er1 >conftest.err
40275 rm -f conftest.er1
40276 cat conftest.err >&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); } &&
40279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281 (eval $ac_try) 2>&5
40282 ac_status=$?
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); }; } &&
40285 { ac_try='test -s conftest$ac_exeext'
40286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287 (eval $ac_try) 2>&5
40288 ac_status=$?
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); }; }; then
40291 ac_cv_func_sched_get_priority_max=yes
40292 else
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.$ac_ext >&5
40295
40296 ac_cv_func_sched_get_priority_max=no
40297 fi
40298 rm -f conftest.err conftest.$ac_objext \
40299 conftest$ac_exeext conftest.$ac_ext
40300 fi
40301 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40302 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40303 if test $ac_cv_func_sched_get_priority_max = yes; then
40304 HAVE_PRIOR_FUNCS=1
40305 else
40306 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40307 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40308 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40310 else
40311 ac_check_lib_save_LIBS=$LIBS
40312 LIBS="-lposix4 $LIBS"
40313 cat >conftest.$ac_ext <<_ACEOF
40314 /* confdefs.h. */
40315 _ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40319
40320 /* Override any gcc2 internal prototype to avoid an error. */
40321 #ifdef __cplusplus
40322 extern "C"
40323 #endif
40324 /* We use char because int might match the return type of a gcc2
40325 builtin and then its argument prototype would still apply. */
40326 char sched_get_priority_max ();
40327 int
40328 main ()
40329 {
40330 sched_get_priority_max ();
40331 ;
40332 return 0;
40333 }
40334 _ACEOF
40335 rm -f conftest.$ac_objext conftest$ac_exeext
40336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40337 (eval $ac_link) 2>conftest.er1
40338 ac_status=$?
40339 grep -v '^ *+' conftest.er1 >conftest.err
40340 rm -f conftest.er1
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } &&
40344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40346 (eval $ac_try) 2>&5
40347 ac_status=$?
40348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349 (exit $ac_status); }; } &&
40350 { ac_try='test -s conftest$ac_exeext'
40351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40352 (eval $ac_try) 2>&5
40353 ac_status=$?
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); }; }; then
40356 ac_cv_lib_posix4_sched_get_priority_max=yes
40357 else
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40360
40361 ac_cv_lib_posix4_sched_get_priority_max=no
40362 fi
40363 rm -f conftest.err conftest.$ac_objext \
40364 conftest$ac_exeext conftest.$ac_ext
40365 LIBS=$ac_check_lib_save_LIBS
40366 fi
40367 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40368 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40369 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40370
40371 HAVE_PRIOR_FUNCS=1
40372 POSIX4_LINK=" -lposix4"
40373
40374 fi
40375
40376
40377 fi
40378
40379
40380 fi
40381
40382
40383 fi
40384
40385
40386 if test "$HAVE_PRIOR_FUNCS" = 1; then
40387 cat >>confdefs.h <<\_ACEOF
40388 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40389 _ACEOF
40390
40391 else
40392 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40393 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40394 fi
40395
40396 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40397 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40398 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40400 else
40401 cat >conftest.$ac_ext <<_ACEOF
40402 /* confdefs.h. */
40403 _ACEOF
40404 cat confdefs.h >>conftest.$ac_ext
40405 cat >>conftest.$ac_ext <<_ACEOF
40406 /* end confdefs.h. */
40407 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40409 #define pthread_cancel innocuous_pthread_cancel
40410
40411 /* System header to define __stub macros and hopefully few prototypes,
40412 which can conflict with char pthread_cancel (); below.
40413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40414 <limits.h> exists even on freestanding compilers. */
40415
40416 #ifdef __STDC__
40417 # include <limits.h>
40418 #else
40419 # include <assert.h>
40420 #endif
40421
40422 #undef pthread_cancel
40423
40424 /* Override any gcc2 internal prototype to avoid an error. */
40425 #ifdef __cplusplus
40426 extern "C"
40427 {
40428 #endif
40429 /* We use char because int might match the return type of a gcc2
40430 builtin and then its argument prototype would still apply. */
40431 char pthread_cancel ();
40432 /* The GNU C library defines this for functions which it implements
40433 to always fail with ENOSYS. Some functions are actually named
40434 something starting with __ and the normal name is an alias. */
40435 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40436 choke me
40437 #else
40438 char (*f) () = pthread_cancel;
40439 #endif
40440 #ifdef __cplusplus
40441 }
40442 #endif
40443
40444 int
40445 main ()
40446 {
40447 return f != pthread_cancel;
40448 ;
40449 return 0;
40450 }
40451 _ACEOF
40452 rm -f conftest.$ac_objext conftest$ac_exeext
40453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40454 (eval $ac_link) 2>conftest.er1
40455 ac_status=$?
40456 grep -v '^ *+' conftest.er1 >conftest.err
40457 rm -f conftest.er1
40458 cat conftest.err >&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); } &&
40461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40463 (eval $ac_try) 2>&5
40464 ac_status=$?
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); }; } &&
40467 { ac_try='test -s conftest$ac_exeext'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40470 ac_status=$?
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; }; then
40473 ac_cv_func_pthread_cancel=yes
40474 else
40475 echo "$as_me: failed program was:" >&5
40476 sed 's/^/| /' conftest.$ac_ext >&5
40477
40478 ac_cv_func_pthread_cancel=no
40479 fi
40480 rm -f conftest.err conftest.$ac_objext \
40481 conftest$ac_exeext conftest.$ac_ext
40482 fi
40483 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40484 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40485 if test $ac_cv_func_pthread_cancel = yes; then
40486 cat >>confdefs.h <<\_ACEOF
40487 #define HAVE_PTHREAD_CANCEL 1
40488 _ACEOF
40489
40490 else
40491 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40492 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40493 fi
40494
40495
40496 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40497 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40498 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40499 echo $ECHO_N "(cached) $ECHO_C" >&6
40500 else
40501 cat >conftest.$ac_ext <<_ACEOF
40502 /* confdefs.h. */
40503 _ACEOF
40504 cat confdefs.h >>conftest.$ac_ext
40505 cat >>conftest.$ac_ext <<_ACEOF
40506 /* end confdefs.h. */
40507 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40509 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40510
40511 /* System header to define __stub macros and hopefully few prototypes,
40512 which can conflict with char pthread_attr_setstacksize (); below.
40513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40514 <limits.h> exists even on freestanding compilers. */
40515
40516 #ifdef __STDC__
40517 # include <limits.h>
40518 #else
40519 # include <assert.h>
40520 #endif
40521
40522 #undef pthread_attr_setstacksize
40523
40524 /* Override any gcc2 internal prototype to avoid an error. */
40525 #ifdef __cplusplus
40526 extern "C"
40527 {
40528 #endif
40529 /* We use char because int might match the return type of a gcc2
40530 builtin and then its argument prototype would still apply. */
40531 char pthread_attr_setstacksize ();
40532 /* The GNU C library defines this for functions which it implements
40533 to always fail with ENOSYS. Some functions are actually named
40534 something starting with __ and the normal name is an alias. */
40535 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40536 choke me
40537 #else
40538 char (*f) () = pthread_attr_setstacksize;
40539 #endif
40540 #ifdef __cplusplus
40541 }
40542 #endif
40543
40544 int
40545 main ()
40546 {
40547 return f != pthread_attr_setstacksize;
40548 ;
40549 return 0;
40550 }
40551 _ACEOF
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40554 (eval $ac_link) 2>conftest.er1
40555 ac_status=$?
40556 grep -v '^ *+' conftest.er1 >conftest.err
40557 rm -f conftest.er1
40558 cat conftest.err >&5
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); } &&
40561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40563 (eval $ac_try) 2>&5
40564 ac_status=$?
40565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40566 (exit $ac_status); }; } &&
40567 { ac_try='test -s conftest$ac_exeext'
40568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40569 (eval $ac_try) 2>&5
40570 ac_status=$?
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); }; }; then
40573 ac_cv_func_pthread_attr_setstacksize=yes
40574 else
40575 echo "$as_me: failed program was:" >&5
40576 sed 's/^/| /' conftest.$ac_ext >&5
40577
40578 ac_cv_func_pthread_attr_setstacksize=no
40579 fi
40580 rm -f conftest.err conftest.$ac_objext \
40581 conftest$ac_exeext conftest.$ac_ext
40582 fi
40583 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40584 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40585 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40586 cat >>confdefs.h <<\_ACEOF
40587 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40588 _ACEOF
40589
40590 fi
40591
40592
40593
40594 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40595 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40596 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40598 else
40599
40600 cat >conftest.$ac_ext <<_ACEOF
40601 /* confdefs.h. */
40602 _ACEOF
40603 cat confdefs.h >>conftest.$ac_ext
40604 cat >>conftest.$ac_ext <<_ACEOF
40605 /* end confdefs.h. */
40606 #include <pthread.h>
40607 int
40608 main ()
40609 {
40610
40611 pthread_mutexattr_t attr;
40612 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40613
40614 ;
40615 return 0;
40616 }
40617 _ACEOF
40618 rm -f conftest.$ac_objext
40619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40620 (eval $ac_compile) 2>conftest.er1
40621 ac_status=$?
40622 grep -v '^ *+' conftest.er1 >conftest.err
40623 rm -f conftest.er1
40624 cat conftest.err >&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); } &&
40627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40629 (eval $ac_try) 2>&5
40630 ac_status=$?
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); }; } &&
40633 { ac_try='test -s conftest.$ac_objext'
40634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40635 (eval $ac_try) 2>&5
40636 ac_status=$?
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); }; }; then
40639 wx_cv_type_pthread_mutexattr_t=yes
40640 else
40641 echo "$as_me: failed program was:" >&5
40642 sed 's/^/| /' conftest.$ac_ext >&5
40643
40644 wx_cv_type_pthread_mutexattr_t=no
40645
40646 fi
40647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40648
40649 fi
40650 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40651 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40652
40653 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40654 cat >>confdefs.h <<\_ACEOF
40655 #define HAVE_PTHREAD_MUTEXATTR_T 1
40656 _ACEOF
40657
40658
40659 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40660 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40661 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40662 echo $ECHO_N "(cached) $ECHO_C" >&6
40663 else
40664
40665 cat >conftest.$ac_ext <<_ACEOF
40666 /* confdefs.h. */
40667 _ACEOF
40668 cat confdefs.h >>conftest.$ac_ext
40669 cat >>conftest.$ac_ext <<_ACEOF
40670 /* end confdefs.h. */
40671 #include <pthread.h>
40672 int
40673 main ()
40674 {
40675
40676 pthread_mutexattr_t attr;
40677 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40678
40679 ;
40680 return 0;
40681 }
40682 _ACEOF
40683 rm -f conftest.$ac_objext
40684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40685 (eval $ac_compile) 2>conftest.er1
40686 ac_status=$?
40687 grep -v '^ *+' conftest.er1 >conftest.err
40688 rm -f conftest.er1
40689 cat conftest.err >&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } &&
40692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40695 ac_status=$?
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; } &&
40698 { ac_try='test -s conftest.$ac_objext'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40701 ac_status=$?
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; }; then
40704 wx_cv_func_pthread_mutexattr_settype_decl=yes
40705 else
40706 echo "$as_me: failed program was:" >&5
40707 sed 's/^/| /' conftest.$ac_ext >&5
40708
40709 wx_cv_func_pthread_mutexattr_settype_decl=no
40710
40711 fi
40712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40713
40714 fi
40715 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40716 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40717 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40718 cat >>confdefs.h <<\_ACEOF
40719 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40720 _ACEOF
40721
40722 fi
40723 else
40724 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40725 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40726 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40727 echo $ECHO_N "(cached) $ECHO_C" >&6
40728 else
40729
40730 cat >conftest.$ac_ext <<_ACEOF
40731 /* confdefs.h. */
40732 _ACEOF
40733 cat confdefs.h >>conftest.$ac_ext
40734 cat >>conftest.$ac_ext <<_ACEOF
40735 /* end confdefs.h. */
40736 #include <pthread.h>
40737 int
40738 main ()
40739 {
40740
40741 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40742
40743 ;
40744 return 0;
40745 }
40746 _ACEOF
40747 rm -f conftest.$ac_objext
40748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40749 (eval $ac_compile) 2>conftest.er1
40750 ac_status=$?
40751 grep -v '^ *+' conftest.er1 >conftest.err
40752 rm -f conftest.er1
40753 cat conftest.err >&5
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); } &&
40756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40758 (eval $ac_try) 2>&5
40759 ac_status=$?
40760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40761 (exit $ac_status); }; } &&
40762 { ac_try='test -s conftest.$ac_objext'
40763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40764 (eval $ac_try) 2>&5
40765 ac_status=$?
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); }; }; then
40768
40769 wx_cv_type_pthread_rec_mutex_init=yes
40770
40771 else
40772 echo "$as_me: failed program was:" >&5
40773 sed 's/^/| /' conftest.$ac_ext >&5
40774
40775
40776 wx_cv_type_pthread_rec_mutex_init=no
40777
40778
40779 fi
40780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40781
40782 fi
40783 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40784 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40785 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40786 cat >>confdefs.h <<\_ACEOF
40787 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40788 _ACEOF
40789
40790 else
40791 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40792 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40793 fi
40794 fi
40795 fi
40796
40797 else
40798 if test "$wxUSE_THREADS" = "yes" ; then
40799 case "${host}" in
40800 *-*-mingw32* )
40801 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40802 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40803 if test "${wx_cv_cflags_mthread+set}" = set; then
40804 echo $ECHO_N "(cached) $ECHO_C" >&6
40805 else
40806
40807 CXXFLAGS_OLD="$CXXFLAGS"
40808 CXXFLAGS="-mthreads $CXXFLAGS"
40809 cat >conftest.$ac_ext <<_ACEOF
40810 /* confdefs.h. */
40811 _ACEOF
40812 cat confdefs.h >>conftest.$ac_ext
40813 cat >>conftest.$ac_ext <<_ACEOF
40814 /* end confdefs.h. */
40815
40816 int
40817 main ()
40818 {
40819
40820 ;
40821 return 0;
40822 }
40823 _ACEOF
40824 rm -f conftest.$ac_objext
40825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40826 (eval $ac_compile) 2>conftest.er1
40827 ac_status=$?
40828 grep -v '^ *+' conftest.er1 >conftest.err
40829 rm -f conftest.er1
40830 cat conftest.err >&5
40831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); } &&
40833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40835 (eval $ac_try) 2>&5
40836 ac_status=$?
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); }; } &&
40839 { ac_try='test -s conftest.$ac_objext'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40842 ac_status=$?
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; }; then
40845 wx_cv_cflags_mthread=yes
40846 else
40847 echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40849
40850 wx_cv_cflags_mthread=no
40851
40852 fi
40853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40854
40855
40856 fi
40857 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40858 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40859
40860 if test "$wx_cv_cflags_mthread" = "yes"; then
40861 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40862 LDFLAGS="$LDFLAGS -mthreads"
40863 else
40864 CXXFLAGS="$CXXFLAGS_OLD"
40865 fi
40866 ;;
40867 *-pc-os2*emx )
40868 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40869 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40870 LDFLAGS="$LDFLAGS -Zmt"
40871 ;;
40872 esac
40873 fi
40874 fi
40875
40876 echo "$as_me:$LINENO: checking for localtime_r" >&5
40877 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40878 if test "${ac_cv_func_localtime_r+set}" = set; then
40879 echo $ECHO_N "(cached) $ECHO_C" >&6
40880 else
40881 cat >conftest.$ac_ext <<_ACEOF
40882 /* confdefs.h. */
40883 _ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40887 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40889 #define localtime_r innocuous_localtime_r
40890
40891 /* System header to define __stub macros and hopefully few prototypes,
40892 which can conflict with char localtime_r (); below.
40893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40894 <limits.h> exists even on freestanding compilers. */
40895
40896 #ifdef __STDC__
40897 # include <limits.h>
40898 #else
40899 # include <assert.h>
40900 #endif
40901
40902 #undef localtime_r
40903
40904 /* Override any gcc2 internal prototype to avoid an error. */
40905 #ifdef __cplusplus
40906 extern "C"
40907 {
40908 #endif
40909 /* We use char because int might match the return type of a gcc2
40910 builtin and then its argument prototype would still apply. */
40911 char localtime_r ();
40912 /* The GNU C library defines this for functions which it implements
40913 to always fail with ENOSYS. Some functions are actually named
40914 something starting with __ and the normal name is an alias. */
40915 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40916 choke me
40917 #else
40918 char (*f) () = localtime_r;
40919 #endif
40920 #ifdef __cplusplus
40921 }
40922 #endif
40923
40924 int
40925 main ()
40926 {
40927 return f != localtime_r;
40928 ;
40929 return 0;
40930 }
40931 _ACEOF
40932 rm -f conftest.$ac_objext conftest$ac_exeext
40933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40934 (eval $ac_link) 2>conftest.er1
40935 ac_status=$?
40936 grep -v '^ *+' conftest.er1 >conftest.err
40937 rm -f conftest.er1
40938 cat conftest.err >&5
40939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40940 (exit $ac_status); } &&
40941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40943 (eval $ac_try) 2>&5
40944 ac_status=$?
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); }; } &&
40947 { ac_try='test -s conftest$ac_exeext'
40948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40949 (eval $ac_try) 2>&5
40950 ac_status=$?
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); }; }; then
40953 ac_cv_func_localtime_r=yes
40954 else
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40957
40958 ac_cv_func_localtime_r=no
40959 fi
40960 rm -f conftest.err conftest.$ac_objext \
40961 conftest$ac_exeext conftest.$ac_ext
40962 fi
40963 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40964 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40965 if test $ac_cv_func_localtime_r = yes; then
40966 cat >>confdefs.h <<\_ACEOF
40967 #define HAVE_LOCALTIME_R 1
40968 _ACEOF
40969
40970 fi
40971
40972 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40973 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40974 if test "${ac_cv_func_gmtime_r+set}" = set; then
40975 echo $ECHO_N "(cached) $ECHO_C" >&6
40976 else
40977 cat >conftest.$ac_ext <<_ACEOF
40978 /* confdefs.h. */
40979 _ACEOF
40980 cat confdefs.h >>conftest.$ac_ext
40981 cat >>conftest.$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define gmtime_r innocuous_gmtime_r
40986
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char gmtime_r (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40991
40992 #ifdef __STDC__
40993 # include <limits.h>
40994 #else
40995 # include <assert.h>
40996 #endif
40997
40998 #undef gmtime_r
40999
41000 /* Override any gcc2 internal prototype to avoid an error. */
41001 #ifdef __cplusplus
41002 extern "C"
41003 {
41004 #endif
41005 /* We use char because int might match the return type of a gcc2
41006 builtin and then its argument prototype would still apply. */
41007 char gmtime_r ();
41008 /* The GNU C library defines this for functions which it implements
41009 to always fail with ENOSYS. Some functions are actually named
41010 something starting with __ and the normal name is an alias. */
41011 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41012 choke me
41013 #else
41014 char (*f) () = gmtime_r;
41015 #endif
41016 #ifdef __cplusplus
41017 }
41018 #endif
41019
41020 int
41021 main ()
41022 {
41023 return f != gmtime_r;
41024 ;
41025 return 0;
41026 }
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41030 (eval $ac_link) 2>conftest.er1
41031 ac_status=$?
41032 grep -v '^ *+' conftest.er1 >conftest.err
41033 rm -f conftest.er1
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41039 (eval $ac_try) 2>&5
41040 ac_status=$?
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; } &&
41043 { ac_try='test -s conftest$ac_exeext'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41046 ac_status=$?
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; }; then
41049 ac_cv_func_gmtime_r=yes
41050 else
41051 echo "$as_me: failed program was:" >&5
41052 sed 's/^/| /' conftest.$ac_ext >&5
41053
41054 ac_cv_func_gmtime_r=no
41055 fi
41056 rm -f conftest.err conftest.$ac_objext \
41057 conftest$ac_exeext conftest.$ac_ext
41058 fi
41059 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41060 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41061 if test $ac_cv_func_gmtime_r = yes; then
41062 cat >>confdefs.h <<\_ACEOF
41063 #define HAVE_GMTIME_R 1
41064 _ACEOF
41065
41066 fi
41067
41068 echo "$as_me:$LINENO: checking for readdir_r" >&5
41069 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41070 if test "${ac_cv_func_readdir_r+set}" = set; then
41071 echo $ECHO_N "(cached) $ECHO_C" >&6
41072 else
41073 cat >conftest.$ac_ext <<_ACEOF
41074 /* confdefs.h. */
41075 _ACEOF
41076 cat confdefs.h >>conftest.$ac_ext
41077 cat >>conftest.$ac_ext <<_ACEOF
41078 /* end confdefs.h. */
41079 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41081 #define readdir_r innocuous_readdir_r
41082
41083 /* System header to define __stub macros and hopefully few prototypes,
41084 which can conflict with char readdir_r (); below.
41085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41086 <limits.h> exists even on freestanding compilers. */
41087
41088 #ifdef __STDC__
41089 # include <limits.h>
41090 #else
41091 # include <assert.h>
41092 #endif
41093
41094 #undef readdir_r
41095
41096 /* Override any gcc2 internal prototype to avoid an error. */
41097 #ifdef __cplusplus
41098 extern "C"
41099 {
41100 #endif
41101 /* We use char because int might match the return type of a gcc2
41102 builtin and then its argument prototype would still apply. */
41103 char readdir_r ();
41104 /* The GNU C library defines this for functions which it implements
41105 to always fail with ENOSYS. Some functions are actually named
41106 something starting with __ and the normal name is an alias. */
41107 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41108 choke me
41109 #else
41110 char (*f) () = readdir_r;
41111 #endif
41112 #ifdef __cplusplus
41113 }
41114 #endif
41115
41116 int
41117 main ()
41118 {
41119 return f != readdir_r;
41120 ;
41121 return 0;
41122 }
41123 _ACEOF
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41126 (eval $ac_link) 2>conftest.er1
41127 ac_status=$?
41128 grep -v '^ *+' conftest.er1 >conftest.err
41129 rm -f conftest.er1
41130 cat conftest.err >&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } &&
41133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41135 (eval $ac_try) 2>&5
41136 ac_status=$?
41137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41138 (exit $ac_status); }; } &&
41139 { ac_try='test -s conftest$ac_exeext'
41140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41141 (eval $ac_try) 2>&5
41142 ac_status=$?
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); }; }; then
41145 ac_cv_func_readdir_r=yes
41146 else
41147 echo "$as_me: failed program was:" >&5
41148 sed 's/^/| /' conftest.$ac_ext >&5
41149
41150 ac_cv_func_readdir_r=no
41151 fi
41152 rm -f conftest.err conftest.$ac_objext \
41153 conftest$ac_exeext conftest.$ac_ext
41154 fi
41155 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41156 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41157 if test $ac_cv_func_readdir_r = yes; then
41158 cat >>confdefs.h <<\_ACEOF
41159 #define HAVE_READDIR_R 1
41160 _ACEOF
41161
41162 fi
41163
41164
41165
41166
41167 ac_ext=c
41168 ac_cpp='$CPP $CPPFLAGS'
41169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41172
41173 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41174 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41175
41176 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41177 echo $ECHO_N "(cached) $ECHO_C" >&6
41178 else
41179
41180
41181 ################################################################
41182
41183 ac_cv_func_which_gethostbyname_r=unknown
41184
41185 #
41186 # ONE ARGUMENT (sanity check)
41187 #
41188
41189 # This should fail, as there is no variant of gethostbyname_r() that takes
41190 # a single argument. If it actually compiles, then we can assume that
41191 # netdb.h is not declaring the function, and the compiler is thereby
41192 # assuming an implicit prototype. In which case, we're out of luck.
41193 #
41194 cat >conftest.$ac_ext <<_ACEOF
41195 /* confdefs.h. */
41196 _ACEOF
41197 cat confdefs.h >>conftest.$ac_ext
41198 cat >>conftest.$ac_ext <<_ACEOF
41199 /* end confdefs.h. */
41200 #include <netdb.h>
41201 int
41202 main ()
41203 {
41204
41205 char *name = "www.gnu.org";
41206 (void)gethostbyname_r(name) /* ; */
41207
41208 ;
41209 return 0;
41210 }
41211 _ACEOF
41212 rm -f conftest.$ac_objext
41213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41214 (eval $ac_compile) 2>conftest.er1
41215 ac_status=$?
41216 grep -v '^ *+' conftest.er1 >conftest.err
41217 rm -f conftest.er1
41218 cat conftest.err >&5
41219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41220 (exit $ac_status); } &&
41221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41223 (eval $ac_try) 2>&5
41224 ac_status=$?
41225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226 (exit $ac_status); }; } &&
41227 { ac_try='test -s conftest.$ac_objext'
41228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41229 (eval $ac_try) 2>&5
41230 ac_status=$?
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); }; }; then
41233 ac_cv_func_which_gethostbyname_r=no
41234 else
41235 echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41237
41238 fi
41239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41240
41241 #
41242 # SIX ARGUMENTS
41243 # (e.g. Linux)
41244 #
41245
41246 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41247
41248 cat >conftest.$ac_ext <<_ACEOF
41249 /* confdefs.h. */
41250 _ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 #include <netdb.h>
41255 int
41256 main ()
41257 {
41258
41259 char *name = "www.gnu.org";
41260 struct hostent ret, *retp;
41261 char buf[1024];
41262 int buflen = 1024;
41263 int my_h_errno;
41264 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41265
41266 ;
41267 return 0;
41268 }
41269 _ACEOF
41270 rm -f conftest.$ac_objext
41271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41272 (eval $ac_compile) 2>conftest.er1
41273 ac_status=$?
41274 grep -v '^ *+' conftest.er1 >conftest.err
41275 rm -f conftest.er1
41276 cat conftest.err >&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); } &&
41279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41281 (eval $ac_try) 2>&5
41282 ac_status=$?
41283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284 (exit $ac_status); }; } &&
41285 { ac_try='test -s conftest.$ac_objext'
41286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287 (eval $ac_try) 2>&5
41288 ac_status=$?
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); }; }; then
41291 ac_cv_func_which_gethostbyname_r=six
41292 else
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41295
41296 fi
41297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41298
41299 fi
41300
41301 #
41302 # FIVE ARGUMENTS
41303 # (e.g. Solaris)
41304 #
41305
41306 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41307
41308 cat >conftest.$ac_ext <<_ACEOF
41309 /* confdefs.h. */
41310 _ACEOF
41311 cat confdefs.h >>conftest.$ac_ext
41312 cat >>conftest.$ac_ext <<_ACEOF
41313 /* end confdefs.h. */
41314 #include <netdb.h>
41315 int
41316 main ()
41317 {
41318
41319 char *name = "www.gnu.org";
41320 struct hostent ret;
41321 char buf[1024];
41322 int buflen = 1024;
41323 int my_h_errno;
41324 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41325
41326 ;
41327 return 0;
41328 }
41329 _ACEOF
41330 rm -f conftest.$ac_objext
41331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41332 (eval $ac_compile) 2>conftest.er1
41333 ac_status=$?
41334 grep -v '^ *+' conftest.er1 >conftest.err
41335 rm -f conftest.er1
41336 cat conftest.err >&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); } &&
41339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41341 (eval $ac_try) 2>&5
41342 ac_status=$?
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); }; } &&
41345 { ac_try='test -s conftest.$ac_objext'
41346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41347 (eval $ac_try) 2>&5
41348 ac_status=$?
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); }; }; then
41351 ac_cv_func_which_gethostbyname_r=five
41352 else
41353 echo "$as_me: failed program was:" >&5
41354 sed 's/^/| /' conftest.$ac_ext >&5
41355
41356 fi
41357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41358
41359 fi
41360
41361 #
41362 # THREE ARGUMENTS
41363 # (e.g. AIX, HP-UX, Tru64)
41364 #
41365
41366 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41367
41368 cat >conftest.$ac_ext <<_ACEOF
41369 /* confdefs.h. */
41370 _ACEOF
41371 cat confdefs.h >>conftest.$ac_ext
41372 cat >>conftest.$ac_ext <<_ACEOF
41373 /* end confdefs.h. */
41374 #include <netdb.h>
41375 int
41376 main ()
41377 {
41378
41379 char *name = "www.gnu.org";
41380 struct hostent ret;
41381 struct hostent_data data;
41382 (void)gethostbyname_r(name, &ret, &data) /* ; */
41383
41384 ;
41385 return 0;
41386 }
41387 _ACEOF
41388 rm -f conftest.$ac_objext
41389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41390 (eval $ac_compile) 2>conftest.er1
41391 ac_status=$?
41392 grep -v '^ *+' conftest.er1 >conftest.err
41393 rm -f conftest.er1
41394 cat conftest.err >&5
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); } &&
41397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41399 (eval $ac_try) 2>&5
41400 ac_status=$?
41401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41402 (exit $ac_status); }; } &&
41403 { ac_try='test -s conftest.$ac_objext'
41404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41405 (eval $ac_try) 2>&5
41406 ac_status=$?
41407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408 (exit $ac_status); }; }; then
41409 ac_cv_func_which_gethostbyname_r=three
41410 else
41411 echo "$as_me: failed program was:" >&5
41412 sed 's/^/| /' conftest.$ac_ext >&5
41413
41414 fi
41415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41416
41417 fi
41418
41419 ################################################################
41420
41421
41422 fi
41423
41424 case "$ac_cv_func_which_gethostbyname_r" in
41425 three)
41426 echo "$as_me:$LINENO: result: three" >&5
41427 echo "${ECHO_T}three" >&6
41428 cat >>confdefs.h <<\_ACEOF
41429 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41430 _ACEOF
41431
41432 ;;
41433
41434 five)
41435 echo "$as_me:$LINENO: result: five" >&5
41436 echo "${ECHO_T}five" >&6
41437 cat >>confdefs.h <<\_ACEOF
41438 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41439 _ACEOF
41440
41441 ;;
41442
41443 six)
41444 echo "$as_me:$LINENO: result: six" >&5
41445 echo "${ECHO_T}six" >&6
41446 cat >>confdefs.h <<\_ACEOF
41447 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41448 _ACEOF
41449
41450 ;;
41451
41452 no)
41453 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41454 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41455 ;;
41456
41457 unknown)
41458 echo "$as_me:$LINENO: result: can't tell" >&5
41459 echo "${ECHO_T}can't tell" >&6
41460 ;;
41461
41462 *)
41463 { { echo "$as_me:$LINENO: error: internal error" >&5
41464 echo "$as_me: error: internal error" >&2;}
41465 { (exit 1); exit 1; }; }
41466 ;;
41467 esac
41468
41469 ac_ext=cc
41470 ac_cpp='$CXXCPP $CPPFLAGS'
41471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41474
41475
41476
41477 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41478 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41479 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41481 if test "${ac_cv_func_gethostbyname+set}" = set; then
41482 echo $ECHO_N "(cached) $ECHO_C" >&6
41483 else
41484 cat >conftest.$ac_ext <<_ACEOF
41485 /* confdefs.h. */
41486 _ACEOF
41487 cat confdefs.h >>conftest.$ac_ext
41488 cat >>conftest.$ac_ext <<_ACEOF
41489 /* end confdefs.h. */
41490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41492 #define gethostbyname innocuous_gethostbyname
41493
41494 /* System header to define __stub macros and hopefully few prototypes,
41495 which can conflict with char gethostbyname (); below.
41496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41497 <limits.h> exists even on freestanding compilers. */
41498
41499 #ifdef __STDC__
41500 # include <limits.h>
41501 #else
41502 # include <assert.h>
41503 #endif
41504
41505 #undef gethostbyname
41506
41507 /* Override any gcc2 internal prototype to avoid an error. */
41508 #ifdef __cplusplus
41509 extern "C"
41510 {
41511 #endif
41512 /* We use char because int might match the return type of a gcc2
41513 builtin and then its argument prototype would still apply. */
41514 char gethostbyname ();
41515 /* The GNU C library defines this for functions which it implements
41516 to always fail with ENOSYS. Some functions are actually named
41517 something starting with __ and the normal name is an alias. */
41518 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41519 choke me
41520 #else
41521 char (*f) () = gethostbyname;
41522 #endif
41523 #ifdef __cplusplus
41524 }
41525 #endif
41526
41527 int
41528 main ()
41529 {
41530 return f != gethostbyname;
41531 ;
41532 return 0;
41533 }
41534 _ACEOF
41535 rm -f conftest.$ac_objext conftest$ac_exeext
41536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41537 (eval $ac_link) 2>conftest.er1
41538 ac_status=$?
41539 grep -v '^ *+' conftest.er1 >conftest.err
41540 rm -f conftest.er1
41541 cat conftest.err >&5
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); } &&
41544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41546 (eval $ac_try) 2>&5
41547 ac_status=$?
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); }; } &&
41550 { ac_try='test -s conftest$ac_exeext'
41551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41552 (eval $ac_try) 2>&5
41553 ac_status=$?
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); }; }; then
41556 ac_cv_func_gethostbyname=yes
41557 else
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.$ac_ext >&5
41560
41561 ac_cv_func_gethostbyname=no
41562 fi
41563 rm -f conftest.err conftest.$ac_objext \
41564 conftest$ac_exeext conftest.$ac_ext
41565 fi
41566 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41567 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41568 if test $ac_cv_func_gethostbyname = yes; then
41569 cat >>confdefs.h <<\_ACEOF
41570 #define HAVE_GETHOSTBYNAME 1
41571 _ACEOF
41572
41573 fi
41574
41575 fi
41576
41577 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41578 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41579 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41580 echo $ECHO_N "(cached) $ECHO_C" >&6
41581 else
41582
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 #include <netdb.h>
41590 int
41591 main ()
41592 {
41593
41594 char *name;
41595 char *proto;
41596 struct servent *se, *res;
41597 char buffer[2048];
41598 int buflen = 2048;
41599 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41600
41601 ;
41602 return 0;
41603 }
41604 _ACEOF
41605 rm -f conftest.$ac_objext
41606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41607 (eval $ac_compile) 2>conftest.er1
41608 ac_status=$?
41609 grep -v '^ *+' conftest.er1 >conftest.err
41610 rm -f conftest.er1
41611 cat conftest.err >&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); } &&
41614 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41616 (eval $ac_try) 2>&5
41617 ac_status=$?
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); }; } &&
41620 { ac_try='test -s conftest.$ac_objext'
41621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41622 (eval $ac_try) 2>&5
41623 ac_status=$?
41624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 (exit $ac_status); }; }; then
41626 ac_cv_func_which_getservbyname_r=six
41627 else
41628 echo "$as_me: failed program was:" >&5
41629 sed 's/^/| /' conftest.$ac_ext >&5
41630
41631
41632 cat >conftest.$ac_ext <<_ACEOF
41633 /* confdefs.h. */
41634 _ACEOF
41635 cat confdefs.h >>conftest.$ac_ext
41636 cat >>conftest.$ac_ext <<_ACEOF
41637 /* end confdefs.h. */
41638 #include <netdb.h>
41639 int
41640 main ()
41641 {
41642
41643 char *name;
41644 char *proto;
41645 struct servent *se;
41646 char buffer[2048];
41647 int buflen = 2048;
41648 (void) getservbyname_r(name, proto, se, buffer, buflen)
41649
41650 ;
41651 return 0;
41652 }
41653 _ACEOF
41654 rm -f conftest.$ac_objext
41655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41656 (eval $ac_compile) 2>conftest.er1
41657 ac_status=$?
41658 grep -v '^ *+' conftest.er1 >conftest.err
41659 rm -f conftest.er1
41660 cat conftest.err >&5
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); } &&
41663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41665 (eval $ac_try) 2>&5
41666 ac_status=$?
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); }; } &&
41669 { ac_try='test -s conftest.$ac_objext'
41670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41671 (eval $ac_try) 2>&5
41672 ac_status=$?
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); }; }; then
41675 ac_cv_func_which_getservbyname_r=five
41676 else
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.$ac_ext >&5
41679
41680
41681 cat >conftest.$ac_ext <<_ACEOF
41682 /* confdefs.h. */
41683 _ACEOF
41684 cat confdefs.h >>conftest.$ac_ext
41685 cat >>conftest.$ac_ext <<_ACEOF
41686 /* end confdefs.h. */
41687 #include <netdb.h>
41688 int
41689 main ()
41690 {
41691
41692 char *name;
41693 char *proto;
41694 struct servent *se;
41695 struct servent_data data;
41696 (void) getservbyname_r(name, proto, se, &data);
41697
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 rm -f conftest.$ac_objext
41703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41704 (eval $ac_compile) 2>conftest.er1
41705 ac_status=$?
41706 grep -v '^ *+' conftest.er1 >conftest.err
41707 rm -f conftest.er1
41708 cat conftest.err >&5
41709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41710 (exit $ac_status); } &&
41711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41713 (eval $ac_try) 2>&5
41714 ac_status=$?
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); }; } &&
41717 { ac_try='test -s conftest.$ac_objext'
41718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719 (eval $ac_try) 2>&5
41720 ac_status=$?
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); }; }; then
41723 ac_cv_func_which_getservbyname_r=four
41724 else
41725 echo "$as_me: failed program was:" >&5
41726 sed 's/^/| /' conftest.$ac_ext >&5
41727
41728 ac_cv_func_which_getservbyname_r=no
41729
41730 fi
41731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41732
41733
41734 fi
41735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41736
41737
41738 fi
41739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41740
41741
41742 fi
41743 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41744 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41745
41746 if test $ac_cv_func_which_getservbyname_r = six; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41749 _ACEOF
41750
41751 elif test $ac_cv_func_which_getservbyname_r = five; then
41752 cat >>confdefs.h <<\_ACEOF
41753 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41754 _ACEOF
41755
41756 elif test $ac_cv_func_which_getservbyname_r = four; then
41757 cat >>confdefs.h <<\_ACEOF
41758 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41759 _ACEOF
41760
41761 fi
41762
41763
41764 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41765 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41766
41767 for ac_func in getservbyname
41768 do
41769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41770 echo "$as_me:$LINENO: checking for $ac_func" >&5
41771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41772 if eval "test \"\${$as_ac_var+set}\" = set"; then
41773 echo $ECHO_N "(cached) $ECHO_C" >&6
41774 else
41775 cat >conftest.$ac_ext <<_ACEOF
41776 /* confdefs.h. */
41777 _ACEOF
41778 cat confdefs.h >>conftest.$ac_ext
41779 cat >>conftest.$ac_ext <<_ACEOF
41780 /* end confdefs.h. */
41781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41783 #define $ac_func innocuous_$ac_func
41784
41785 /* System header to define __stub macros and hopefully few prototypes,
41786 which can conflict with char $ac_func (); below.
41787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41788 <limits.h> exists even on freestanding compilers. */
41789
41790 #ifdef __STDC__
41791 # include <limits.h>
41792 #else
41793 # include <assert.h>
41794 #endif
41795
41796 #undef $ac_func
41797
41798 /* Override any gcc2 internal prototype to avoid an error. */
41799 #ifdef __cplusplus
41800 extern "C"
41801 {
41802 #endif
41803 /* We use char because int might match the return type of a gcc2
41804 builtin and then its argument prototype would still apply. */
41805 char $ac_func ();
41806 /* The GNU C library defines this for functions which it implements
41807 to always fail with ENOSYS. Some functions are actually named
41808 something starting with __ and the normal name is an alias. */
41809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41810 choke me
41811 #else
41812 char (*f) () = $ac_func;
41813 #endif
41814 #ifdef __cplusplus
41815 }
41816 #endif
41817
41818 int
41819 main ()
41820 {
41821 return f != $ac_func;
41822 ;
41823 return 0;
41824 }
41825 _ACEOF
41826 rm -f conftest.$ac_objext conftest$ac_exeext
41827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41828 (eval $ac_link) 2>conftest.er1
41829 ac_status=$?
41830 grep -v '^ *+' conftest.er1 >conftest.err
41831 rm -f conftest.er1
41832 cat conftest.err >&5
41833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41834 (exit $ac_status); } &&
41835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41837 (eval $ac_try) 2>&5
41838 ac_status=$?
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); }; } &&
41841 { ac_try='test -s conftest$ac_exeext'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41844 ac_status=$?
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; }; then
41847 eval "$as_ac_var=yes"
41848 else
41849 echo "$as_me: failed program was:" >&5
41850 sed 's/^/| /' conftest.$ac_ext >&5
41851
41852 eval "$as_ac_var=no"
41853 fi
41854 rm -f conftest.err conftest.$ac_objext \
41855 conftest$ac_exeext conftest.$ac_ext
41856 fi
41857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41859 if test `eval echo '${'$as_ac_var'}'` = yes; then
41860 cat >>confdefs.h <<_ACEOF
41861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41862 _ACEOF
41863 cat >>confdefs.h <<\_ACEOF
41864 #define HAVE_GETSERVBYNAME 1
41865 _ACEOF
41866
41867 fi
41868 done
41869
41870 fi
41871
41872 if test "$wxUSE_THREADS" = "yes"; then
41873 cat >>confdefs.h <<\_ACEOF
41874 #define wxUSE_THREADS 1
41875 _ACEOF
41876
41877
41878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41879 else
41880 if test "$wx_cv_func_strtok_r" = "yes"; then
41881 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41882 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41883 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41884 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41885 echo "$as_me:$LINENO: result: yes" >&5
41886 echo "${ECHO_T}yes" >&6
41887 else
41888 echo "$as_me:$LINENO: result: no" >&5
41889 echo "${ECHO_T}no" >&6
41890 fi
41891 fi
41892 fi
41893
41894 if test "$WXGTK20" = 1 ; then
41895 cat >>confdefs.h <<_ACEOF
41896 #define __WXGTK20__ $WXGTK20
41897 _ACEOF
41898
41899 WXGTK12=1
41900 fi
41901
41902 if test "$WXGTK12" = 1 ; then
41903 cat >>confdefs.h <<_ACEOF
41904 #define __WXGTK12__ $WXGTK12
41905 _ACEOF
41906
41907 fi
41908
41909 if test "$WXGTK127" = 1 ; then
41910 cat >>confdefs.h <<_ACEOF
41911 #define __WXGTK127__ $WXGTK127
41912 _ACEOF
41913
41914 fi
41915
41916 if test "$WXGPE" = 1 ; then
41917 cat >>confdefs.h <<_ACEOF
41918 #define __WXGPE__ $WXGPE
41919 _ACEOF
41920
41921 fi
41922
41923 DEBUG_CFLAGS=
41924 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41925 DEBUG_CFLAGS="-g"
41926 wxUSE_OPTIMISE=no
41927 fi
41928
41929 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41930 wxUSE_DEBUG_INFO=yes
41931 if test "$GCC" = yes; then
41932 DEBUG_CFLAGS="-ggdb"
41933 fi
41934 fi
41935
41936 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define WXDEBUG 1
41939 _ACEOF
41940
41941 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41942 else
41943 if test "$wxUSE_GTK" = 1 ; then
41944 if test "x$wxGTK_VERSION" = "x1" ; then
41945 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41946 fi
41947 fi
41948 fi
41949
41950 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_MEMORY_TRACING 1
41953 _ACEOF
41954
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41957 _ACEOF
41958
41959 cat >>confdefs.h <<\_ACEOF
41960 #define wxUSE_DEBUG_NEW_ALWAYS 1
41961 _ACEOF
41962
41963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41964 fi
41965
41966 if test "$wxUSE_DMALLOC" = "yes" ; then
41967 DMALLOC_LIBS="-ldmallocthcxx"
41968 fi
41969
41970 PROFILE_FLAGS=
41971 if test "$wxUSE_PROFILE" = "yes" ; then
41972 PROFILE_FLAGS=" -pg"
41973 fi
41974
41975 if test "$GCC" = "yes" ; then
41976 if test "$wxUSE_NO_RTTI" = "yes" ; then
41977 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41978 fi
41979 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41980 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41981 fi
41982 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41983 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41984 fi
41985
41986 case "${host}" in
41987 powerpc*-*-aix* )
41988 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41989 ;;
41990 *-hppa* )
41991 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41992 ;;
41993 esac
41994 fi
41995
41996 OPTIMISE_CFLAGS=
41997 if test "$wxUSE_OPTIMISE" = "no" ; then
41998 if test "$GCC" = yes ; then
41999 OPTIMISE_CFLAGS="-O0"
42000 fi
42001 else
42002 if test "$GCC" = yes ; then
42003 case "${host}" in
42004 *-pc-os2_emx | *-pc-os2-emx )
42005 OPTIMISE_CFLAGS="-O2"
42006 ;;
42007 *)
42008 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42009 ;;
42010 esac
42011 else
42012 OPTIMISE_CFLAGS="-O"
42013 fi
42014 fi
42015
42016
42017 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42018 cat >>confdefs.h <<\_ACEOF
42019 #define WXWIN_COMPATIBILITY_2_4 1
42020 _ACEOF
42021
42022
42023 WXWIN_COMPATIBILITY_2_6="yes"
42024 fi
42025
42026 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42027 cat >>confdefs.h <<\_ACEOF
42028 #define WXWIN_COMPATIBILITY_2_6 1
42029 _ACEOF
42030
42031 fi
42032
42033
42034 if test "$wxUSE_GUI" = "yes"; then
42035 cat >>confdefs.h <<\_ACEOF
42036 #define wxUSE_GUI 1
42037 _ACEOF
42038
42039
42040 fi
42041
42042
42043 if test "$wxUSE_UNIX" = "yes"; then
42044 cat >>confdefs.h <<\_ACEOF
42045 #define wxUSE_UNIX 1
42046 _ACEOF
42047
42048 fi
42049
42050
42051 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42052
42053 HAVE_DL_FUNCS=0
42054 HAVE_SHL_FUNCS=0
42055 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42056 if test "$USE_DARWIN" = 1; then
42057 HAVE_DL_FUNCS=1
42058 elif test "$USE_DOS" = 1; then
42059 HAVE_DL_FUNCS=0
42060 else
42061
42062 for ac_func in dlopen
42063 do
42064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42065 echo "$as_me:$LINENO: checking for $ac_func" >&5
42066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42067 if eval "test \"\${$as_ac_var+set}\" = set"; then
42068 echo $ECHO_N "(cached) $ECHO_C" >&6
42069 else
42070 cat >conftest.$ac_ext <<_ACEOF
42071 /* confdefs.h. */
42072 _ACEOF
42073 cat confdefs.h >>conftest.$ac_ext
42074 cat >>conftest.$ac_ext <<_ACEOF
42075 /* end confdefs.h. */
42076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42078 #define $ac_func innocuous_$ac_func
42079
42080 /* System header to define __stub macros and hopefully few prototypes,
42081 which can conflict with char $ac_func (); below.
42082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42083 <limits.h> exists even on freestanding compilers. */
42084
42085 #ifdef __STDC__
42086 # include <limits.h>
42087 #else
42088 # include <assert.h>
42089 #endif
42090
42091 #undef $ac_func
42092
42093 /* Override any gcc2 internal prototype to avoid an error. */
42094 #ifdef __cplusplus
42095 extern "C"
42096 {
42097 #endif
42098 /* We use char because int might match the return type of a gcc2
42099 builtin and then its argument prototype would still apply. */
42100 char $ac_func ();
42101 /* The GNU C library defines this for functions which it implements
42102 to always fail with ENOSYS. Some functions are actually named
42103 something starting with __ and the normal name is an alias. */
42104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42105 choke me
42106 #else
42107 char (*f) () = $ac_func;
42108 #endif
42109 #ifdef __cplusplus
42110 }
42111 #endif
42112
42113 int
42114 main ()
42115 {
42116 return f != $ac_func;
42117 ;
42118 return 0;
42119 }
42120 _ACEOF
42121 rm -f conftest.$ac_objext conftest$ac_exeext
42122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42123 (eval $ac_link) 2>conftest.er1
42124 ac_status=$?
42125 grep -v '^ *+' conftest.er1 >conftest.err
42126 rm -f conftest.er1
42127 cat conftest.err >&5
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); } &&
42130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42132 (eval $ac_try) 2>&5
42133 ac_status=$?
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); }; } &&
42136 { ac_try='test -s conftest$ac_exeext'
42137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42138 (eval $ac_try) 2>&5
42139 ac_status=$?
42140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42141 (exit $ac_status); }; }; then
42142 eval "$as_ac_var=yes"
42143 else
42144 echo "$as_me: failed program was:" >&5
42145 sed 's/^/| /' conftest.$ac_ext >&5
42146
42147 eval "$as_ac_var=no"
42148 fi
42149 rm -f conftest.err conftest.$ac_objext \
42150 conftest$ac_exeext conftest.$ac_ext
42151 fi
42152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42154 if test `eval echo '${'$as_ac_var'}'` = yes; then
42155 cat >>confdefs.h <<_ACEOF
42156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42157 _ACEOF
42158
42159 cat >>confdefs.h <<\_ACEOF
42160 #define HAVE_DLOPEN 1
42161 _ACEOF
42162
42163 HAVE_DL_FUNCS=1
42164
42165 else
42166
42167 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42168 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 else
42172 ac_check_lib_save_LIBS=$LIBS
42173 LIBS="-ldl $LIBS"
42174 cat >conftest.$ac_ext <<_ACEOF
42175 /* confdefs.h. */
42176 _ACEOF
42177 cat confdefs.h >>conftest.$ac_ext
42178 cat >>conftest.$ac_ext <<_ACEOF
42179 /* end confdefs.h. */
42180
42181 /* Override any gcc2 internal prototype to avoid an error. */
42182 #ifdef __cplusplus
42183 extern "C"
42184 #endif
42185 /* We use char because int might match the return type of a gcc2
42186 builtin and then its argument prototype would still apply. */
42187 char dlopen ();
42188 int
42189 main ()
42190 {
42191 dlopen ();
42192 ;
42193 return 0;
42194 }
42195 _ACEOF
42196 rm -f conftest.$ac_objext conftest$ac_exeext
42197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42198 (eval $ac_link) 2>conftest.er1
42199 ac_status=$?
42200 grep -v '^ *+' conftest.er1 >conftest.err
42201 rm -f conftest.er1
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } &&
42205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42207 (eval $ac_try) 2>&5
42208 ac_status=$?
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); }; } &&
42211 { ac_try='test -s conftest$ac_exeext'
42212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42213 (eval $ac_try) 2>&5
42214 ac_status=$?
42215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42216 (exit $ac_status); }; }; then
42217 ac_cv_lib_dl_dlopen=yes
42218 else
42219 echo "$as_me: failed program was:" >&5
42220 sed 's/^/| /' conftest.$ac_ext >&5
42221
42222 ac_cv_lib_dl_dlopen=no
42223 fi
42224 rm -f conftest.err conftest.$ac_objext \
42225 conftest$ac_exeext conftest.$ac_ext
42226 LIBS=$ac_check_lib_save_LIBS
42227 fi
42228 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42229 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42230 if test $ac_cv_lib_dl_dlopen = yes; then
42231
42232 cat >>confdefs.h <<\_ACEOF
42233 #define HAVE_DLOPEN 1
42234 _ACEOF
42235
42236 HAVE_DL_FUNCS=1
42237 DL_LINK=" -ldl$DL_LINK"
42238
42239 else
42240
42241
42242 for ac_func in shl_load
42243 do
42244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42245 echo "$as_me:$LINENO: checking for $ac_func" >&5
42246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42247 if eval "test \"\${$as_ac_var+set}\" = set"; then
42248 echo $ECHO_N "(cached) $ECHO_C" >&6
42249 else
42250 cat >conftest.$ac_ext <<_ACEOF
42251 /* confdefs.h. */
42252 _ACEOF
42253 cat confdefs.h >>conftest.$ac_ext
42254 cat >>conftest.$ac_ext <<_ACEOF
42255 /* end confdefs.h. */
42256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42258 #define $ac_func innocuous_$ac_func
42259
42260 /* System header to define __stub macros and hopefully few prototypes,
42261 which can conflict with char $ac_func (); below.
42262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42263 <limits.h> exists even on freestanding compilers. */
42264
42265 #ifdef __STDC__
42266 # include <limits.h>
42267 #else
42268 # include <assert.h>
42269 #endif
42270
42271 #undef $ac_func
42272
42273 /* Override any gcc2 internal prototype to avoid an error. */
42274 #ifdef __cplusplus
42275 extern "C"
42276 {
42277 #endif
42278 /* We use char because int might match the return type of a gcc2
42279 builtin and then its argument prototype would still apply. */
42280 char $ac_func ();
42281 /* The GNU C library defines this for functions which it implements
42282 to always fail with ENOSYS. Some functions are actually named
42283 something starting with __ and the normal name is an alias. */
42284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42285 choke me
42286 #else
42287 char (*f) () = $ac_func;
42288 #endif
42289 #ifdef __cplusplus
42290 }
42291 #endif
42292
42293 int
42294 main ()
42295 {
42296 return f != $ac_func;
42297 ;
42298 return 0;
42299 }
42300 _ACEOF
42301 rm -f conftest.$ac_objext conftest$ac_exeext
42302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42303 (eval $ac_link) 2>conftest.er1
42304 ac_status=$?
42305 grep -v '^ *+' conftest.er1 >conftest.err
42306 rm -f conftest.er1
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } &&
42310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42312 (eval $ac_try) 2>&5
42313 ac_status=$?
42314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42315 (exit $ac_status); }; } &&
42316 { ac_try='test -s conftest$ac_exeext'
42317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42318 (eval $ac_try) 2>&5
42319 ac_status=$?
42320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42321 (exit $ac_status); }; }; then
42322 eval "$as_ac_var=yes"
42323 else
42324 echo "$as_me: failed program was:" >&5
42325 sed 's/^/| /' conftest.$ac_ext >&5
42326
42327 eval "$as_ac_var=no"
42328 fi
42329 rm -f conftest.err conftest.$ac_objext \
42330 conftest$ac_exeext conftest.$ac_ext
42331 fi
42332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42334 if test `eval echo '${'$as_ac_var'}'` = yes; then
42335 cat >>confdefs.h <<_ACEOF
42336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42337 _ACEOF
42338
42339 cat >>confdefs.h <<\_ACEOF
42340 #define HAVE_SHL_LOAD 1
42341 _ACEOF
42342
42343 HAVE_SHL_FUNCS=1
42344
42345 else
42346
42347 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42348 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42349 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42350 echo $ECHO_N "(cached) $ECHO_C" >&6
42351 else
42352 ac_check_lib_save_LIBS=$LIBS
42353 LIBS="-lshl_load $LIBS"
42354 cat >conftest.$ac_ext <<_ACEOF
42355 /* confdefs.h. */
42356 _ACEOF
42357 cat confdefs.h >>conftest.$ac_ext
42358 cat >>conftest.$ac_ext <<_ACEOF
42359 /* end confdefs.h. */
42360
42361 /* Override any gcc2 internal prototype to avoid an error. */
42362 #ifdef __cplusplus
42363 extern "C"
42364 #endif
42365 /* We use char because int might match the return type of a gcc2
42366 builtin and then its argument prototype would still apply. */
42367 char dld ();
42368 int
42369 main ()
42370 {
42371 dld ();
42372 ;
42373 return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext conftest$ac_exeext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42378 (eval $ac_link) 2>conftest.er1
42379 ac_status=$?
42380 grep -v '^ *+' conftest.er1 >conftest.err
42381 rm -f conftest.er1
42382 cat conftest.err >&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } &&
42385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42388 ac_status=$?
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try='test -s conftest$ac_exeext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42394 ac_status=$?
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 ac_cv_lib_shl_load_dld=yes
42398 else
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.$ac_ext >&5
42401
42402 ac_cv_lib_shl_load_dld=no
42403 fi
42404 rm -f conftest.err conftest.$ac_objext \
42405 conftest$ac_exeext conftest.$ac_ext
42406 LIBS=$ac_check_lib_save_LIBS
42407 fi
42408 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42409 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42410 if test $ac_cv_lib_shl_load_dld = yes; then
42411
42412 HAVE_SHL_FUNCS=1
42413 DL_LINK=" -ldld$DL_LINK"
42414
42415 fi
42416
42417
42418 fi
42419 done
42420
42421
42422 fi
42423
42424
42425 fi
42426 done
42427
42428
42429 if test "$HAVE_DL_FUNCS" = 1; then
42430
42431 for ac_func in dlerror
42432 do
42433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42434 echo "$as_me:$LINENO: checking for $ac_func" >&5
42435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42436 if eval "test \"\${$as_ac_var+set}\" = set"; then
42437 echo $ECHO_N "(cached) $ECHO_C" >&6
42438 else
42439 cat >conftest.$ac_ext <<_ACEOF
42440 /* confdefs.h. */
42441 _ACEOF
42442 cat confdefs.h >>conftest.$ac_ext
42443 cat >>conftest.$ac_ext <<_ACEOF
42444 /* end confdefs.h. */
42445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42447 #define $ac_func innocuous_$ac_func
42448
42449 /* System header to define __stub macros and hopefully few prototypes,
42450 which can conflict with char $ac_func (); below.
42451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42452 <limits.h> exists even on freestanding compilers. */
42453
42454 #ifdef __STDC__
42455 # include <limits.h>
42456 #else
42457 # include <assert.h>
42458 #endif
42459
42460 #undef $ac_func
42461
42462 /* Override any gcc2 internal prototype to avoid an error. */
42463 #ifdef __cplusplus
42464 extern "C"
42465 {
42466 #endif
42467 /* We use char because int might match the return type of a gcc2
42468 builtin and then its argument prototype would still apply. */
42469 char $ac_func ();
42470 /* The GNU C library defines this for functions which it implements
42471 to always fail with ENOSYS. Some functions are actually named
42472 something starting with __ and the normal name is an alias. */
42473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42474 choke me
42475 #else
42476 char (*f) () = $ac_func;
42477 #endif
42478 #ifdef __cplusplus
42479 }
42480 #endif
42481
42482 int
42483 main ()
42484 {
42485 return f != $ac_func;
42486 ;
42487 return 0;
42488 }
42489 _ACEOF
42490 rm -f conftest.$ac_objext conftest$ac_exeext
42491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42492 (eval $ac_link) 2>conftest.er1
42493 ac_status=$?
42494 grep -v '^ *+' conftest.er1 >conftest.err
42495 rm -f conftest.er1
42496 cat conftest.err >&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); } &&
42499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42501 (eval $ac_try) 2>&5
42502 ac_status=$?
42503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42504 (exit $ac_status); }; } &&
42505 { ac_try='test -s conftest$ac_exeext'
42506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42507 (eval $ac_try) 2>&5
42508 ac_status=$?
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); }; }; then
42511 eval "$as_ac_var=yes"
42512 else
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.$ac_ext >&5
42515
42516 eval "$as_ac_var=no"
42517 fi
42518 rm -f conftest.err conftest.$ac_objext \
42519 conftest$ac_exeext conftest.$ac_ext
42520 fi
42521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42523 if test `eval echo '${'$as_ac_var'}'` = yes; then
42524 cat >>confdefs.h <<_ACEOF
42525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42526 _ACEOF
42527 cat >>confdefs.h <<\_ACEOF
42528 #define HAVE_DLERROR 1
42529 _ACEOF
42530
42531 else
42532
42533 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42534 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42535 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42536 echo $ECHO_N "(cached) $ECHO_C" >&6
42537 else
42538 ac_check_lib_save_LIBS=$LIBS
42539 LIBS="-ldl $LIBS"
42540 cat >conftest.$ac_ext <<_ACEOF
42541 /* confdefs.h. */
42542 _ACEOF
42543 cat confdefs.h >>conftest.$ac_ext
42544 cat >>conftest.$ac_ext <<_ACEOF
42545 /* end confdefs.h. */
42546
42547 /* Override any gcc2 internal prototype to avoid an error. */
42548 #ifdef __cplusplus
42549 extern "C"
42550 #endif
42551 /* We use char because int might match the return type of a gcc2
42552 builtin and then its argument prototype would still apply. */
42553 char dlerror ();
42554 int
42555 main ()
42556 {
42557 dlerror ();
42558 ;
42559 return 0;
42560 }
42561 _ACEOF
42562 rm -f conftest.$ac_objext conftest$ac_exeext
42563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42564 (eval $ac_link) 2>conftest.er1
42565 ac_status=$?
42566 grep -v '^ *+' conftest.er1 >conftest.err
42567 rm -f conftest.er1
42568 cat conftest.err >&5
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); } &&
42571 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42573 (eval $ac_try) 2>&5
42574 ac_status=$?
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); }; } &&
42577 { ac_try='test -s conftest$ac_exeext'
42578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42579 (eval $ac_try) 2>&5
42580 ac_status=$?
42581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582 (exit $ac_status); }; }; then
42583 ac_cv_lib_dl_dlerror=yes
42584 else
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42587
42588 ac_cv_lib_dl_dlerror=no
42589 fi
42590 rm -f conftest.err conftest.$ac_objext \
42591 conftest$ac_exeext conftest.$ac_ext
42592 LIBS=$ac_check_lib_save_LIBS
42593 fi
42594 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42595 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42596 if test $ac_cv_lib_dl_dlerror = yes; then
42597 cat >>confdefs.h <<\_ACEOF
42598 #define HAVE_DLERROR 1
42599 _ACEOF
42600
42601 fi
42602
42603
42604
42605 fi
42606 done
42607
42608 fi
42609 fi
42610
42611 if test "$HAVE_DL_FUNCS" = 0; then
42612 if test "$HAVE_SHL_FUNCS" = 0; then
42613 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42614 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42615 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42616 wxUSE_DYNAMIC_LOADER=no
42617 wxUSE_DYNLIB_CLASS=no
42618 else
42619 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42620 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42621 fi
42622 fi
42623 fi
42624 fi
42625 fi
42626
42627 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42628 cat >>confdefs.h <<\_ACEOF
42629 #define wxUSE_DYNAMIC_LOADER 1
42630 _ACEOF
42631
42632 fi
42633 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_DYNLIB_CLASS 1
42636 _ACEOF
42637
42638 fi
42639
42640
42641
42642 if test "$wxUSE_PLUGINS" = "yes" ; then
42643 if test "$wxUSE_SHARED" = "no" ; then
42644 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42645 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42646 wxUSE_PLUGINS=no
42647 fi
42648 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42649 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42650 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42651 wxUSE_PLUGINS=no
42652 fi
42653 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42654 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42655 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42656 wxUSE_PLUGINS=no
42657 fi
42658 if test "$wxUSE_PLUGINS" = "yes" ; then
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_PLUGINS 1
42661 _ACEOF
42662
42663 fi
42664 fi
42665
42666
42667 if test "$wxUSE_STL" = "yes"; then
42668 cat >>confdefs.h <<\_ACEOF
42669 #define wxUSE_STL 1
42670 _ACEOF
42671
42672 fi
42673
42674 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42675 cat >>confdefs.h <<\_ACEOF
42676 #define wxUSE_APPLE_IEEE 1
42677 _ACEOF
42678
42679 fi
42680
42681 if test "$wxUSE_TIMER" = "yes"; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define wxUSE_TIMER 1
42684 _ACEOF
42685
42686 fi
42687
42688 if test "$USE_UNIX" = "1" ; then
42689 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42690 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42691 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42692 echo $ECHO_N "(cached) $ECHO_C" >&6
42693 else
42694
42695 cat >conftest.$ac_ext <<_ACEOF
42696 /* confdefs.h. */
42697 _ACEOF
42698 cat confdefs.h >>conftest.$ac_ext
42699 cat >>conftest.$ac_ext <<_ACEOF
42700 /* end confdefs.h. */
42701
42702 #include <sys/ioctl.h>
42703 #include <sys/soundcard.h>
42704
42705 int
42706 main ()
42707 {
42708
42709 ioctl(0, SNDCTL_DSP_SPEED, 0);
42710
42711 ;
42712 return 0;
42713 }
42714 _ACEOF
42715 rm -f conftest.$ac_objext conftest$ac_exeext
42716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42717 (eval $ac_link) 2>conftest.er1
42718 ac_status=$?
42719 grep -v '^ *+' conftest.er1 >conftest.err
42720 rm -f conftest.er1
42721 cat conftest.err >&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } &&
42724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; } &&
42730 { ac_try='test -s conftest$ac_exeext'
42731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732 (eval $ac_try) 2>&5
42733 ac_status=$?
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); }; }; then
42736 ac_cv_header_sys_soundcard=yes
42737 else
42738 echo "$as_me: failed program was:" >&5
42739 sed 's/^/| /' conftest.$ac_ext >&5
42740
42741
42742 saveLibs="$LIBS"
42743 LIBS="$saveLibs -lossaudio"
42744 cat >conftest.$ac_ext <<_ACEOF
42745 /* confdefs.h. */
42746 _ACEOF
42747 cat confdefs.h >>conftest.$ac_ext
42748 cat >>conftest.$ac_ext <<_ACEOF
42749 /* end confdefs.h. */
42750
42751 #include <sys/ioctl.h>
42752 #include <sys/soundcard.h>
42753
42754 int
42755 main ()
42756 {
42757
42758 ioctl(0, SNDCTL_DSP_SPEED, 0);
42759
42760 ;
42761 return 0;
42762 }
42763 _ACEOF
42764 rm -f conftest.$ac_objext conftest$ac_exeext
42765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42766 (eval $ac_link) 2>conftest.er1
42767 ac_status=$?
42768 grep -v '^ *+' conftest.er1 >conftest.err
42769 rm -f conftest.er1
42770 cat conftest.err >&5
42771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42772 (exit $ac_status); } &&
42773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42775 (eval $ac_try) 2>&5
42776 ac_status=$?
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); }; } &&
42779 { ac_try='test -s conftest$ac_exeext'
42780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781 (eval $ac_try) 2>&5
42782 ac_status=$?
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; }; then
42785 ac_cv_header_sys_soundcard=yes
42786 else
42787 echo "$as_me: failed program was:" >&5
42788 sed 's/^/| /' conftest.$ac_ext >&5
42789
42790
42791 LIBS="$saveLibs"
42792 ac_cv_header_sys_soundcard=no
42793
42794
42795 fi
42796 rm -f conftest.err conftest.$ac_objext \
42797 conftest$ac_exeext conftest.$ac_ext
42798
42799
42800 fi
42801 rm -f conftest.err conftest.$ac_objext \
42802 conftest$ac_exeext conftest.$ac_ext
42803
42804 fi
42805 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42806 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42807
42808 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define HAVE_SYS_SOUNDCARD_H 1
42811 _ACEOF
42812
42813 else
42814 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42815 fi
42816 fi
42817 WITH_PLUGIN_SDL=0
42818 if test "$wxUSE_SOUND" = "yes"; then
42819 if test "$USE_UNIX" = "1" ; then
42820 if test "$wxUSE_LIBSDL" != "no"; then
42821
42822 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42823 if test "${with_sdl_prefix+set}" = set; then
42824 withval="$with_sdl_prefix"
42825 sdl_prefix="$withval"
42826 else
42827 sdl_prefix=""
42828 fi;
42829
42830 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42831 if test "${with_sdl_exec_prefix+set}" = set; then
42832 withval="$with_sdl_exec_prefix"
42833 sdl_exec_prefix="$withval"
42834 else
42835 sdl_exec_prefix=""
42836 fi;
42837 # Check whether --enable-sdltest or --disable-sdltest was given.
42838 if test "${enable_sdltest+set}" = set; then
42839 enableval="$enable_sdltest"
42840
42841 else
42842 enable_sdltest=yes
42843 fi;
42844
42845 if test x$sdl_exec_prefix != x ; then
42846 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42847 if test x${SDL_CONFIG+set} != xset ; then
42848 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42849 fi
42850 fi
42851 if test x$sdl_prefix != x ; then
42852 sdl_args="$sdl_args --prefix=$sdl_prefix"
42853 if test x${SDL_CONFIG+set} != xset ; then
42854 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42855 fi
42856 fi
42857
42858 if test "x$prefix" != xNONE; then
42859 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42860 fi
42861 # Extract the first word of "sdl-config", so it can be a program name with args.
42862 set dummy sdl-config; ac_word=$2
42863 echo "$as_me:$LINENO: checking for $ac_word" >&5
42864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42865 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42866 echo $ECHO_N "(cached) $ECHO_C" >&6
42867 else
42868 case $SDL_CONFIG in
42869 [\\/]* | ?:[\\/]*)
42870 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42871 ;;
42872 *)
42873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42874 for as_dir in $PATH
42875 do
42876 IFS=$as_save_IFS
42877 test -z "$as_dir" && as_dir=.
42878 for ac_exec_ext in '' $ac_executable_extensions; do
42879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42880 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42882 break 2
42883 fi
42884 done
42885 done
42886
42887 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42888 ;;
42889 esac
42890 fi
42891 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42892
42893 if test -n "$SDL_CONFIG"; then
42894 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42895 echo "${ECHO_T}$SDL_CONFIG" >&6
42896 else
42897 echo "$as_me:$LINENO: result: no" >&5
42898 echo "${ECHO_T}no" >&6
42899 fi
42900
42901 min_sdl_version=1.2.0
42902 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42903 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42904 no_sdl=""
42905 if test "$SDL_CONFIG" = "no" ; then
42906 no_sdl=yes
42907 else
42908 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42909 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42910
42911 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42913 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42915 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42917 if test "x$enable_sdltest" = "xyes" ; then
42918 ac_save_CFLAGS="$CFLAGS"
42919 ac_save_CXXFLAGS="$CXXFLAGS"
42920 ac_save_LIBS="$LIBS"
42921 CFLAGS="$CFLAGS $SDL_CFLAGS"
42922 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42923 LIBS="$LIBS $SDL_LIBS"
42924 rm -f conf.sdltest
42925 if test "$cross_compiling" = yes; then
42926 echo $ac_n "cross compiling; assumed OK... $ac_c"
42927 else
42928 cat >conftest.$ac_ext <<_ACEOF
42929 /* confdefs.h. */
42930 _ACEOF
42931 cat confdefs.h >>conftest.$ac_ext
42932 cat >>conftest.$ac_ext <<_ACEOF
42933 /* end confdefs.h. */
42934
42935 #include <stdio.h>
42936 #include <stdlib.h>
42937 #include <string.h>
42938 #include "SDL.h"
42939
42940 char*
42941 my_strdup (char *str)
42942 {
42943 char *new_str;
42944
42945 if (str)
42946 {
42947 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42948 strcpy (new_str, str);
42949 }
42950 else
42951 new_str = NULL;
42952
42953 return new_str;
42954 }
42955
42956 int main (int argc, char *argv[])
42957 {
42958 int major, minor, micro;
42959 char *tmp_version;
42960
42961 /* This hangs on some systems (?)
42962 system ("touch conf.sdltest");
42963 */
42964 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42965
42966 /* HP/UX 9 (%@#!) writes to sscanf strings */
42967 tmp_version = my_strdup("$min_sdl_version");
42968 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42969 printf("%s, bad version string\n", "$min_sdl_version");
42970 exit(1);
42971 }
42972
42973 if (($sdl_major_version > major) ||
42974 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42975 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42976 {
42977 return 0;
42978 }
42979 else
42980 {
42981 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42982 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42983 printf("*** best to upgrade to the required version.\n");
42984 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42985 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42986 printf("*** config.cache before re-running configure\n");
42987 return 1;
42988 }
42989 }
42990
42991
42992 _ACEOF
42993 rm -f conftest$ac_exeext
42994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42995 (eval $ac_link) 2>&5
42996 ac_status=$?
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43000 (eval $ac_try) 2>&5
43001 ac_status=$?
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); }; }; then
43004 :
43005 else
43006 echo "$as_me: program exited with status $ac_status" >&5
43007 echo "$as_me: failed program was:" >&5
43008 sed 's/^/| /' conftest.$ac_ext >&5
43009
43010 ( exit $ac_status )
43011 no_sdl=yes
43012 fi
43013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43014 fi
43015 CFLAGS="$ac_save_CFLAGS"
43016 CXXFLAGS="$ac_save_CXXFLAGS"
43017 LIBS="$ac_save_LIBS"
43018 fi
43019 fi
43020 if test "x$no_sdl" = x ; then
43021 echo "$as_me:$LINENO: result: yes" >&5
43022 echo "${ECHO_T}yes" >&6
43023
43024 EXTRALIBS_SDL="$SDL_LIBS"
43025 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43026 cat >>confdefs.h <<\_ACEOF
43027 #define wxUSE_LIBSDL 1
43028 _ACEOF
43029
43030
43031 else
43032 echo "$as_me:$LINENO: result: no" >&5
43033 echo "${ECHO_T}no" >&6
43034 if test "$SDL_CONFIG" = "no" ; then
43035 echo "*** The sdl-config script installed by SDL could not be found"
43036 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43037 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43038 echo "*** full path to sdl-config."
43039 else
43040 if test -f conf.sdltest ; then
43041 :
43042 else
43043 echo "*** Could not run SDL test program, checking why..."
43044 CFLAGS="$CFLAGS $SDL_CFLAGS"
43045 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43046 LIBS="$LIBS $SDL_LIBS"
43047 cat >conftest.$ac_ext <<_ACEOF
43048 /* confdefs.h. */
43049 _ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053
43054 #include <stdio.h>
43055 #include "SDL.h"
43056
43057 int main(int argc, char *argv[])
43058 { return 0; }
43059 #undef main
43060 #define main K_and_R_C_main
43061
43062 int
43063 main ()
43064 {
43065 return 0;
43066 ;
43067 return 0;
43068 }
43069 _ACEOF
43070 rm -f conftest.$ac_objext conftest$ac_exeext
43071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43072 (eval $ac_link) 2>conftest.er1
43073 ac_status=$?
43074 grep -v '^ *+' conftest.er1 >conftest.err
43075 rm -f conftest.er1
43076 cat conftest.err >&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); } &&
43079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43081 (eval $ac_try) 2>&5
43082 ac_status=$?
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); }; } &&
43085 { ac_try='test -s conftest$ac_exeext'
43086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43087 (eval $ac_try) 2>&5
43088 ac_status=$?
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; }; then
43091 echo "*** The test program compiled, but did not run. This usually means"
43092 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43093 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43094 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43095 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43096 echo "*** is required on your system"
43097 echo "***"
43098 echo "*** If you have an old version installed, it is best to remove it, although"
43099 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43100 else
43101 echo "$as_me: failed program was:" >&5
43102 sed 's/^/| /' conftest.$ac_ext >&5
43103
43104 echo "*** The test program failed to compile or link. See the file config.log for the"
43105 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43106 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43107 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43108 fi
43109 rm -f conftest.err conftest.$ac_objext \
43110 conftest$ac_exeext conftest.$ac_ext
43111 CFLAGS="$ac_save_CFLAGS"
43112 CXXFLAGS="$ac_save_CXXFLAGS"
43113 LIBS="$ac_save_LIBS"
43114 fi
43115 fi
43116 SDL_CFLAGS=""
43117 SDL_LIBS=""
43118 wxUSE_LIBSDL="no"
43119 fi
43120
43121
43122 rm -f conf.sdltest
43123
43124 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43125 WITH_PLUGIN_SDL=1
43126 fi
43127 fi
43128 fi
43129
43130 cat >>confdefs.h <<\_ACEOF
43131 #define wxUSE_SOUND 1
43132 _ACEOF
43133
43134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43135 fi
43136
43137 if test "$WXGTK20" = 1; then
43138 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43139 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43140
43141
43142 pkg_failed=no
43143 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43144 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43145
43146 if test -n "$PKG_CONFIG"; then
43147 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43148 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43149 else
43150 if test -n "$PKG_CONFIG" && \
43151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43152 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43153 ac_status=$?
43154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43155 (exit $ac_status); }; then
43156 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43157 else
43158 pkg_failed=yes
43159 fi
43160 fi
43161 else
43162 pkg_failed=untried
43163 fi
43164 if test -n "$PKG_CONFIG"; then
43165 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43166 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43167 else
43168 if test -n "$PKG_CONFIG" && \
43169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43170 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43171 ac_status=$?
43172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173 (exit $ac_status); }; then
43174 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43175 else
43176 pkg_failed=yes
43177 fi
43178 fi
43179 else
43180 pkg_failed=untried
43181 fi
43182
43183
43184
43185 if test $pkg_failed = yes; then
43186
43187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43188 _pkg_short_errors_supported=yes
43189 else
43190 _pkg_short_errors_supported=no
43191 fi
43192 if test $_pkg_short_errors_supported = yes; then
43193 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43194 else
43195 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43196 fi
43197 # Put the nasty error message in config.log where it belongs
43198 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43199
43200
43201 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43202 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43203 wxUSE_LIBGNOMEPRINT="no"
43204
43205
43206 elif test $pkg_failed = untried; then
43207
43208 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43209 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43210 wxUSE_LIBGNOMEPRINT="no"
43211
43212
43213 else
43214 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43215 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43216 echo "$as_me:$LINENO: result: yes" >&5
43217 echo "${ECHO_T}yes" >&6
43218
43219 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43220 cat >>confdefs.h <<\_ACEOF
43221 #define wxUSE_LIBGNOMEPRINT 1
43222 _ACEOF
43223
43224
43225 fi
43226 fi
43227 fi
43228 fi
43229
43230 if test "$WXGTK20" = 1; then
43231 if test "$wxUSE_MIMETYPE" = "yes" ; then
43232 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43233
43234
43235 pkg_failed=no
43236 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43237 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43238
43239 if test -n "$PKG_CONFIG"; then
43240 if test -n "$GNOMEVFS_CFLAGS"; then
43241 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43242 else
43243 if test -n "$PKG_CONFIG" && \
43244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43245 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43246 ac_status=$?
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); }; then
43249 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43250 else
43251 pkg_failed=yes
43252 fi
43253 fi
43254 else
43255 pkg_failed=untried
43256 fi
43257 if test -n "$PKG_CONFIG"; then
43258 if test -n "$GNOMEVFS_LIBS"; then
43259 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43260 else
43261 if test -n "$PKG_CONFIG" && \
43262 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43263 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43264 ac_status=$?
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; then
43267 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43268 else
43269 pkg_failed=yes
43270 fi
43271 fi
43272 else
43273 pkg_failed=untried
43274 fi
43275
43276
43277
43278 if test $pkg_failed = yes; then
43279
43280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43281 _pkg_short_errors_supported=yes
43282 else
43283 _pkg_short_errors_supported=no
43284 fi
43285 if test $_pkg_short_errors_supported = yes; then
43286 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43287 else
43288 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43289 fi
43290 # Put the nasty error message in config.log where it belongs
43291 echo "$GNOMEVFS_PKG_ERRORS" >&5
43292
43293
43294 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43295 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43296 wxUSE_LIBGNOMEVFS="no"
43297
43298
43299 elif test $pkg_failed = untried; then
43300
43301 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43302 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43303 wxUSE_LIBGNOMEVFS="no"
43304
43305
43306 else
43307 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43308 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43309 echo "$as_me:$LINENO: result: yes" >&5
43310 echo "${ECHO_T}yes" >&6
43311
43312 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43313 cat >>confdefs.h <<\_ACEOF
43314 #define wxUSE_LIBGNOMEVFS 1
43315 _ACEOF
43316
43317
43318 fi
43319 fi
43320 fi
43321 fi
43322
43323 if test "$WXGTK20" = 1; then
43324 if test "$wxUSE_LIBHILDON" = "yes" ; then
43325
43326 pkg_failed=no
43327 echo "$as_me:$LINENO: checking for HILDON" >&5
43328 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43329
43330 if test -n "$PKG_CONFIG"; then
43331 if test -n "$HILDON_CFLAGS"; then
43332 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43333 else
43334 if test -n "$PKG_CONFIG" && \
43335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43336 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43337 ac_status=$?
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); }; then
43340 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43341 else
43342 pkg_failed=yes
43343 fi
43344 fi
43345 else
43346 pkg_failed=untried
43347 fi
43348 if test -n "$PKG_CONFIG"; then
43349 if test -n "$HILDON_LIBS"; then
43350 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43351 else
43352 if test -n "$PKG_CONFIG" && \
43353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43354 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43355 ac_status=$?
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); }; then
43358 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43359 else
43360 pkg_failed=yes
43361 fi
43362 fi
43363 else
43364 pkg_failed=untried
43365 fi
43366
43367
43368
43369 if test $pkg_failed = yes; then
43370
43371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43372 _pkg_short_errors_supported=yes
43373 else
43374 _pkg_short_errors_supported=no
43375 fi
43376 if test $_pkg_short_errors_supported = yes; then
43377 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43378 else
43379 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43380 fi
43381 # Put the nasty error message in config.log where it belongs
43382 echo "$HILDON_PKG_ERRORS" >&5
43383
43384
43385 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43386 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43387 wxUSE_LIBHILDON="no"
43388
43389
43390 elif test $pkg_failed = untried; then
43391
43392 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43393 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43394 wxUSE_LIBHILDON="no"
43395
43396
43397 else
43398 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43399 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43400 echo "$as_me:$LINENO: result: yes" >&5
43401 echo "${ECHO_T}yes" >&6
43402
43403 EXTRALIBS_HILDON="$HILDON_LIBS"
43404 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_LIBHILDON 1
43407 _ACEOF
43408
43409
43410 fi
43411 fi
43412 fi
43413
43414 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_CMDLINE_PARSER 1
43417 _ACEOF
43418
43419 fi
43420
43421 if test "$wxUSE_STOPWATCH" = "yes"; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_STOPWATCH 1
43424 _ACEOF
43425
43426 fi
43427
43428 if test "$wxUSE_DATETIME" = "yes"; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define wxUSE_DATETIME 1
43431 _ACEOF
43432
43433 fi
43434
43435 if test "$wxUSE_FILE" = "yes"; then
43436 cat >>confdefs.h <<\_ACEOF
43437 #define wxUSE_FILE 1
43438 _ACEOF
43439
43440 fi
43441
43442 if test "$wxUSE_FFILE" = "yes"; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_FFILE 1
43445 _ACEOF
43446
43447 fi
43448
43449 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43450 if test "$wxUSE_STREAMS" != yes; then
43451 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43452 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43453 wxUSE_ARCHIVE_STREAMS=no
43454 else
43455 cat >>confdefs.h <<\_ACEOF
43456 #define wxUSE_ARCHIVE_STREAMS 1
43457 _ACEOF
43458
43459 fi
43460 fi
43461
43462 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43463 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43464 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43465 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43466 elif test "$wxUSE_ZLIB" = "no"; then
43467 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43468 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43469 else
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_ZIPSTREAM 1
43472 _ACEOF
43473
43474 fi
43475 fi
43476
43477 if test "$wxUSE_TARSTREAM" = "yes"; then
43478 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43479 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43480 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43481 else
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_TARSTREAM 1
43484 _ACEOF
43485
43486 fi
43487 fi
43488
43489 if test "$wxUSE_FILESYSTEM" = "yes"; then
43490 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43491 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43492 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43493 wxUSE_FILESYSTEM=no
43494 else
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_FILESYSTEM 1
43497 _ACEOF
43498
43499 fi
43500 fi
43501
43502 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43503 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43504 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43505 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43506 else
43507 cat >>confdefs.h <<\_ACEOF
43508 #define wxUSE_FS_ARCHIVE 1
43509 _ACEOF
43510
43511 fi
43512 fi
43513
43514 if test "$wxUSE_FS_ZIP" = "yes"; then
43515 if test "$wxUSE_FS_ARCHIVE" != yes; then
43516 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43517 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43518 else
43519 cat >>confdefs.h <<\_ACEOF
43520 #define wxUSE_FS_ZIP 1
43521 _ACEOF
43522
43523 fi
43524 fi
43525
43526 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43527 if test "$USE_UNIX" != 1; then
43528 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43529 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43530 wxUSE_ON_FATAL_EXCEPTION=no
43531 else
43532 cat >>confdefs.h <<\_ACEOF
43533 #define wxUSE_ON_FATAL_EXCEPTION 1
43534 _ACEOF
43535
43536 fi
43537 fi
43538
43539 if test "$wxUSE_STACKWALKER" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_STACKWALKER 1
43542 _ACEOF
43543
43544 fi
43545
43546 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43547 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43548 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43549 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43550 wxUSE_DEBUGREPORT=no
43551 else
43552 cat >>confdefs.h <<\_ACEOF
43553 #define wxUSE_DEBUGREPORT 1
43554 _ACEOF
43555
43556 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43558 fi
43559 fi
43560 fi
43561
43562 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43563 cat >>confdefs.h <<\_ACEOF
43564 #define wxUSE_SNGLINST_CHECKER 1
43565 _ACEOF
43566
43567 fi
43568
43569 if test "$wxUSE_BUSYINFO" = "yes"; then
43570 cat >>confdefs.h <<\_ACEOF
43571 #define wxUSE_BUSYINFO 1
43572 _ACEOF
43573
43574 fi
43575
43576 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_STD_IOSTREAM 1
43579 _ACEOF
43580
43581 fi
43582
43583 if test "$wxUSE_STD_STRING" = "yes"; then
43584 cat >>confdefs.h <<\_ACEOF
43585 #define wxUSE_STD_STRING 1
43586 _ACEOF
43587
43588 fi
43589
43590 if test "$wxUSE_STDPATHS" = "yes"; then
43591 cat >>confdefs.h <<\_ACEOF
43592 #define wxUSE_STDPATHS 1
43593 _ACEOF
43594
43595 fi
43596
43597 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define wxUSE_TEXTBUFFER 1
43600 _ACEOF
43601
43602 fi
43603
43604 if test "$wxUSE_TEXTFILE" = "yes"; then
43605 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43606 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43607 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43608 else
43609 cat >>confdefs.h <<\_ACEOF
43610 #define wxUSE_TEXTFILE 1
43611 _ACEOF
43612
43613 fi
43614 fi
43615
43616 if test "$wxUSE_CONFIG" = "yes" ; then
43617 if test "$wxUSE_TEXTFILE" != "yes"; then
43618 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43619 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43620 else
43621 cat >>confdefs.h <<\_ACEOF
43622 #define wxUSE_CONFIG 1
43623 _ACEOF
43624
43625 cat >>confdefs.h <<\_ACEOF
43626 #define wxUSE_CONFIG_NATIVE 1
43627 _ACEOF
43628
43629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43630 fi
43631 fi
43632
43633 if test "$wxUSE_INTL" = "yes" ; then
43634 if test "$wxUSE_FILE" != "yes"; then
43635 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43636 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43637 else
43638 cat >>confdefs.h <<\_ACEOF
43639 #define wxUSE_INTL 1
43640 _ACEOF
43641
43642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43643 GUIDIST="$GUIDIST INTL_DIST"
43644 fi
43645 fi
43646
43647 if test "$wxUSE_LOG" = "yes"; then
43648 cat >>confdefs.h <<\_ACEOF
43649 #define wxUSE_LOG 1
43650 _ACEOF
43651
43652
43653 if test "$wxUSE_LOGGUI" = "yes"; then
43654 cat >>confdefs.h <<\_ACEOF
43655 #define wxUSE_LOGGUI 1
43656 _ACEOF
43657
43658 fi
43659
43660 if test "$wxUSE_LOGWINDOW" = "yes"; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define wxUSE_LOGWINDOW 1
43663 _ACEOF
43664
43665 fi
43666
43667 if test "$wxUSE_LOGDIALOG" = "yes"; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define wxUSE_LOG_DIALOG 1
43670 _ACEOF
43671
43672 fi
43673
43674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43675 fi
43676
43677 if test "$wxUSE_LONGLONG" = "yes"; then
43678 cat >>confdefs.h <<\_ACEOF
43679 #define wxUSE_LONGLONG 1
43680 _ACEOF
43681
43682 fi
43683
43684 if test "$wxUSE_GEOMETRY" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_GEOMETRY 1
43687 _ACEOF
43688
43689 fi
43690
43691 if test "$wxUSE_STREAMS" = "yes" ; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_STREAMS 1
43694 _ACEOF
43695
43696 fi
43697
43698 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_PRINTF_POS_PARAMS 1
43701 _ACEOF
43702
43703 fi
43704
43705
43706
43707 if test "$wxUSE_DATETIME" = "yes"; then
43708
43709 for ac_func in strptime
43710 do
43711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43712 echo "$as_me:$LINENO: checking for $ac_func" >&5
43713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43714 if eval "test \"\${$as_ac_var+set}\" = set"; then
43715 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 else
43717 cat >conftest.$ac_ext <<_ACEOF
43718 /* confdefs.h. */
43719 _ACEOF
43720 cat confdefs.h >>conftest.$ac_ext
43721 cat >>conftest.$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43725 #define $ac_func innocuous_$ac_func
43726
43727 /* System header to define __stub macros and hopefully few prototypes,
43728 which can conflict with char $ac_func (); below.
43729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43730 <limits.h> exists even on freestanding compilers. */
43731
43732 #ifdef __STDC__
43733 # include <limits.h>
43734 #else
43735 # include <assert.h>
43736 #endif
43737
43738 #undef $ac_func
43739
43740 /* Override any gcc2 internal prototype to avoid an error. */
43741 #ifdef __cplusplus
43742 extern "C"
43743 {
43744 #endif
43745 /* We use char because int might match the return type of a gcc2
43746 builtin and then its argument prototype would still apply. */
43747 char $ac_func ();
43748 /* The GNU C library defines this for functions which it implements
43749 to always fail with ENOSYS. Some functions are actually named
43750 something starting with __ and the normal name is an alias. */
43751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43752 choke me
43753 #else
43754 char (*f) () = $ac_func;
43755 #endif
43756 #ifdef __cplusplus
43757 }
43758 #endif
43759
43760 int
43761 main ()
43762 {
43763 return f != $ac_func;
43764 ;
43765 return 0;
43766 }
43767 _ACEOF
43768 rm -f conftest.$ac_objext conftest$ac_exeext
43769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43770 (eval $ac_link) 2>conftest.er1
43771 ac_status=$?
43772 grep -v '^ *+' conftest.er1 >conftest.err
43773 rm -f conftest.er1
43774 cat conftest.err >&5
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); } &&
43777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try='test -s conftest$ac_exeext'
43784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43785 (eval $ac_try) 2>&5
43786 ac_status=$?
43787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788 (exit $ac_status); }; }; then
43789 eval "$as_ac_var=yes"
43790 else
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.$ac_ext >&5
43793
43794 eval "$as_ac_var=no"
43795 fi
43796 rm -f conftest.err conftest.$ac_objext \
43797 conftest$ac_exeext conftest.$ac_ext
43798 fi
43799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43801 if test `eval echo '${'$as_ac_var'}'` = yes; then
43802 cat >>confdefs.h <<_ACEOF
43803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43804 _ACEOF
43805
43806 fi
43807 done
43808
43809 if test "$ac_cv_func_strptime" = "yes"; then
43810 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43811 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43812 if test "${wx_cv_func_strptime_decl+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43815
43816 cat >conftest.$ac_ext <<_ACEOF
43817 /* confdefs.h. */
43818 _ACEOF
43819 cat confdefs.h >>conftest.$ac_ext
43820 cat >>conftest.$ac_ext <<_ACEOF
43821 /* end confdefs.h. */
43822
43823 #include <time.h>
43824
43825 int
43826 main ()
43827 {
43828
43829 struct tm t;
43830 strptime("foo", "bar", &t);
43831
43832 ;
43833 return 0;
43834 }
43835 _ACEOF
43836 rm -f conftest.$ac_objext
43837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43838 (eval $ac_compile) 2>conftest.er1
43839 ac_status=$?
43840 grep -v '^ *+' conftest.er1 >conftest.err
43841 rm -f conftest.er1
43842 cat conftest.err >&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); } &&
43845 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43847 (eval $ac_try) 2>&5
43848 ac_status=$?
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); }; } &&
43851 { ac_try='test -s conftest.$ac_objext'
43852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43853 (eval $ac_try) 2>&5
43854 ac_status=$?
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); }; }; then
43857 wx_cv_func_strptime_decl=yes
43858 else
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43861
43862 wx_cv_func_strptime_decl=no
43863
43864 fi
43865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43866
43867
43868 fi
43869 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43870 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43871 fi
43872 if test "$wx_cv_func_strptime_decl" = "yes"; then
43873 cat >>confdefs.h <<\_ACEOF
43874 #define HAVE_STRPTIME_DECL 1
43875 _ACEOF
43876
43877 fi
43878
43879 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43880 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43881 if test "${wx_cv_var_timezone+set}" = set; then
43882 echo $ECHO_N "(cached) $ECHO_C" >&6
43883 else
43884
43885 cat >conftest.$ac_ext <<_ACEOF
43886 /* confdefs.h. */
43887 _ACEOF
43888 cat confdefs.h >>conftest.$ac_ext
43889 cat >>conftest.$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43891
43892 #include <time.h>
43893
43894 int
43895 main ()
43896 {
43897
43898 int tz;
43899 tz = timezone;
43900
43901 ;
43902 return 0;
43903 }
43904 _ACEOF
43905 rm -f conftest.$ac_objext
43906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43907 (eval $ac_compile) 2>conftest.er1
43908 ac_status=$?
43909 grep -v '^ *+' conftest.er1 >conftest.err
43910 rm -f conftest.er1
43911 cat conftest.err >&5
43912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43913 (exit $ac_status); } &&
43914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43916 (eval $ac_try) 2>&5
43917 ac_status=$?
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); }; } &&
43920 { ac_try='test -s conftest.$ac_objext'
43921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43922 (eval $ac_try) 2>&5
43923 ac_status=$?
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); }; }; then
43926
43927 wx_cv_var_timezone=timezone
43928
43929 else
43930 echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43932
43933
43934 cat >conftest.$ac_ext <<_ACEOF
43935 /* confdefs.h. */
43936 _ACEOF
43937 cat confdefs.h >>conftest.$ac_ext
43938 cat >>conftest.$ac_ext <<_ACEOF
43939 /* end confdefs.h. */
43940
43941 #include <time.h>
43942
43943 int
43944 main ()
43945 {
43946
43947 int tz;
43948 tz = _timezone;
43949
43950 ;
43951 return 0;
43952 }
43953 _ACEOF
43954 rm -f conftest.$ac_objext
43955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43956 (eval $ac_compile) 2>conftest.er1
43957 ac_status=$?
43958 grep -v '^ *+' conftest.er1 >conftest.err
43959 rm -f conftest.er1
43960 cat conftest.err >&5
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); } &&
43963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43965 (eval $ac_try) 2>&5
43966 ac_status=$?
43967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43968 (exit $ac_status); }; } &&
43969 { ac_try='test -s conftest.$ac_objext'
43970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43971 (eval $ac_try) 2>&5
43972 ac_status=$?
43973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43974 (exit $ac_status); }; }; then
43975
43976 wx_cv_var_timezone=_timezone
43977
43978 else
43979 echo "$as_me: failed program was:" >&5
43980 sed 's/^/| /' conftest.$ac_ext >&5
43981
43982
43983 cat >conftest.$ac_ext <<_ACEOF
43984 /* confdefs.h. */
43985 _ACEOF
43986 cat confdefs.h >>conftest.$ac_ext
43987 cat >>conftest.$ac_ext <<_ACEOF
43988 /* end confdefs.h. */
43989
43990 #include <time.h>
43991
43992 int
43993 main ()
43994 {
43995
43996 int tz;
43997 tz = __timezone;
43998
43999 ;
44000 return 0;
44001 }
44002 _ACEOF
44003 rm -f conftest.$ac_objext
44004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44005 (eval $ac_compile) 2>conftest.er1
44006 ac_status=$?
44007 grep -v '^ *+' conftest.er1 >conftest.err
44008 rm -f conftest.er1
44009 cat conftest.err >&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); } &&
44012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44014 (eval $ac_try) 2>&5
44015 ac_status=$?
44016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44017 (exit $ac_status); }; } &&
44018 { ac_try='test -s conftest.$ac_objext'
44019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44020 (eval $ac_try) 2>&5
44021 ac_status=$?
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); }; }; then
44024
44025 wx_cv_var_timezone=__timezone
44026
44027 else
44028 echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.$ac_ext >&5
44030
44031
44032 if test "$USE_DOS" = 0 ; then
44033 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44034 echo "$as_me: WARNING: no timezone variable" >&2;}
44035 fi
44036
44037
44038 fi
44039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44040
44041
44042 fi
44043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44044
44045
44046 fi
44047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44048
44049
44050 fi
44051 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44052 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44053
44054 if test "x$wx_cv_var_timezone" != x ; then
44055 cat >>confdefs.h <<_ACEOF
44056 #define WX_TIMEZONE $wx_cv_var_timezone
44057 _ACEOF
44058
44059 fi
44060
44061
44062 for ac_func in localtime
44063 do
44064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44065 echo "$as_me:$LINENO: checking for $ac_func" >&5
44066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44067 if eval "test \"\${$as_ac_var+set}\" = set"; then
44068 echo $ECHO_N "(cached) $ECHO_C" >&6
44069 else
44070 cat >conftest.$ac_ext <<_ACEOF
44071 /* confdefs.h. */
44072 _ACEOF
44073 cat confdefs.h >>conftest.$ac_ext
44074 cat >>conftest.$ac_ext <<_ACEOF
44075 /* end confdefs.h. */
44076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44078 #define $ac_func innocuous_$ac_func
44079
44080 /* System header to define __stub macros and hopefully few prototypes,
44081 which can conflict with char $ac_func (); below.
44082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44083 <limits.h> exists even on freestanding compilers. */
44084
44085 #ifdef __STDC__
44086 # include <limits.h>
44087 #else
44088 # include <assert.h>
44089 #endif
44090
44091 #undef $ac_func
44092
44093 /* Override any gcc2 internal prototype to avoid an error. */
44094 #ifdef __cplusplus
44095 extern "C"
44096 {
44097 #endif
44098 /* We use char because int might match the return type of a gcc2
44099 builtin and then its argument prototype would still apply. */
44100 char $ac_func ();
44101 /* The GNU C library defines this for functions which it implements
44102 to always fail with ENOSYS. Some functions are actually named
44103 something starting with __ and the normal name is an alias. */
44104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44105 choke me
44106 #else
44107 char (*f) () = $ac_func;
44108 #endif
44109 #ifdef __cplusplus
44110 }
44111 #endif
44112
44113 int
44114 main ()
44115 {
44116 return f != $ac_func;
44117 ;
44118 return 0;
44119 }
44120 _ACEOF
44121 rm -f conftest.$ac_objext conftest$ac_exeext
44122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44123 (eval $ac_link) 2>conftest.er1
44124 ac_status=$?
44125 grep -v '^ *+' conftest.er1 >conftest.err
44126 rm -f conftest.er1
44127 cat conftest.err >&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } &&
44130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44132 (eval $ac_try) 2>&5
44133 ac_status=$?
44134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44135 (exit $ac_status); }; } &&
44136 { ac_try='test -s conftest$ac_exeext'
44137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44138 (eval $ac_try) 2>&5
44139 ac_status=$?
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); }; }; then
44142 eval "$as_ac_var=yes"
44143 else
44144 echo "$as_me: failed program was:" >&5
44145 sed 's/^/| /' conftest.$ac_ext >&5
44146
44147 eval "$as_ac_var=no"
44148 fi
44149 rm -f conftest.err conftest.$ac_objext \
44150 conftest$ac_exeext conftest.$ac_ext
44151 fi
44152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44154 if test `eval echo '${'$as_ac_var'}'` = yes; then
44155 cat >>confdefs.h <<_ACEOF
44156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44157 _ACEOF
44158
44159 fi
44160 done
44161
44162
44163 if test "$ac_cv_func_localtime" = "yes"; then
44164 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44165 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44166 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44167 echo $ECHO_N "(cached) $ECHO_C" >&6
44168 else
44169
44170 cat >conftest.$ac_ext <<_ACEOF
44171 /* confdefs.h. */
44172 _ACEOF
44173 cat confdefs.h >>conftest.$ac_ext
44174 cat >>conftest.$ac_ext <<_ACEOF
44175 /* end confdefs.h. */
44176
44177 #include <time.h>
44178
44179 int
44180 main ()
44181 {
44182
44183 struct tm tm;
44184 tm.tm_gmtoff++;
44185
44186 ;
44187 return 0;
44188 }
44189 _ACEOF
44190 rm -f conftest.$ac_objext
44191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44192 (eval $ac_compile) 2>conftest.er1
44193 ac_status=$?
44194 grep -v '^ *+' conftest.er1 >conftest.err
44195 rm -f conftest.er1
44196 cat conftest.err >&5
44197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44198 (exit $ac_status); } &&
44199 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44201 (eval $ac_try) 2>&5
44202 ac_status=$?
44203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204 (exit $ac_status); }; } &&
44205 { ac_try='test -s conftest.$ac_objext'
44206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44207 (eval $ac_try) 2>&5
44208 ac_status=$?
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); }; }; then
44211
44212 wx_cv_struct_tm_has_gmtoff=yes
44213
44214 else
44215 echo "$as_me: failed program was:" >&5
44216 sed 's/^/| /' conftest.$ac_ext >&5
44217
44218 wx_cv_struct_tm_has_gmtoff=no
44219
44220 fi
44221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44222
44223 fi
44224 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44225 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44226 fi
44227
44228 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44229 cat >>confdefs.h <<\_ACEOF
44230 #define WX_GMTOFF_IN_TM 1
44231 _ACEOF
44232
44233 fi
44234
44235
44236
44237 for ac_func in gettimeofday ftime
44238 do
44239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44240 echo "$as_me:$LINENO: checking for $ac_func" >&5
44241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44242 if eval "test \"\${$as_ac_var+set}\" = set"; then
44243 echo $ECHO_N "(cached) $ECHO_C" >&6
44244 else
44245 cat >conftest.$ac_ext <<_ACEOF
44246 /* confdefs.h. */
44247 _ACEOF
44248 cat confdefs.h >>conftest.$ac_ext
44249 cat >>conftest.$ac_ext <<_ACEOF
44250 /* end confdefs.h. */
44251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44253 #define $ac_func innocuous_$ac_func
44254
44255 /* System header to define __stub macros and hopefully few prototypes,
44256 which can conflict with char $ac_func (); below.
44257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44258 <limits.h> exists even on freestanding compilers. */
44259
44260 #ifdef __STDC__
44261 # include <limits.h>
44262 #else
44263 # include <assert.h>
44264 #endif
44265
44266 #undef $ac_func
44267
44268 /* Override any gcc2 internal prototype to avoid an error. */
44269 #ifdef __cplusplus
44270 extern "C"
44271 {
44272 #endif
44273 /* We use char because int might match the return type of a gcc2
44274 builtin and then its argument prototype would still apply. */
44275 char $ac_func ();
44276 /* The GNU C library defines this for functions which it implements
44277 to always fail with ENOSYS. Some functions are actually named
44278 something starting with __ and the normal name is an alias. */
44279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44280 choke me
44281 #else
44282 char (*f) () = $ac_func;
44283 #endif
44284 #ifdef __cplusplus
44285 }
44286 #endif
44287
44288 int
44289 main ()
44290 {
44291 return f != $ac_func;
44292 ;
44293 return 0;
44294 }
44295 _ACEOF
44296 rm -f conftest.$ac_objext conftest$ac_exeext
44297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44298 (eval $ac_link) 2>conftest.er1
44299 ac_status=$?
44300 grep -v '^ *+' conftest.er1 >conftest.err
44301 rm -f conftest.er1
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } &&
44305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; } &&
44311 { ac_try='test -s conftest$ac_exeext'
44312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44313 (eval $ac_try) 2>&5
44314 ac_status=$?
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); }; }; then
44317 eval "$as_ac_var=yes"
44318 else
44319 echo "$as_me: failed program was:" >&5
44320 sed 's/^/| /' conftest.$ac_ext >&5
44321
44322 eval "$as_ac_var=no"
44323 fi
44324 rm -f conftest.err conftest.$ac_objext \
44325 conftest$ac_exeext conftest.$ac_ext
44326 fi
44327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44329 if test `eval echo '${'$as_ac_var'}'` = yes; then
44330 cat >>confdefs.h <<_ACEOF
44331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44332 _ACEOF
44333 break
44334 fi
44335 done
44336
44337
44338 if test "$ac_cv_func_gettimeofday" = "yes"; then
44339 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44340 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44341 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44342 echo $ECHO_N "(cached) $ECHO_C" >&6
44343 else
44344
44345 cat >conftest.$ac_ext <<_ACEOF
44346 /* confdefs.h. */
44347 _ACEOF
44348 cat confdefs.h >>conftest.$ac_ext
44349 cat >>conftest.$ac_ext <<_ACEOF
44350 /* end confdefs.h. */
44351
44352 #include <sys/time.h>
44353 #include <unistd.h>
44354
44355 int
44356 main ()
44357 {
44358
44359 struct timeval tv;
44360 gettimeofday(&tv, NULL);
44361
44362 ;
44363 return 0;
44364 }
44365 _ACEOF
44366 rm -f conftest.$ac_objext
44367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44368 (eval $ac_compile) 2>conftest.er1
44369 ac_status=$?
44370 grep -v '^ *+' conftest.er1 >conftest.err
44371 rm -f conftest.er1
44372 cat conftest.err >&5
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); } &&
44375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44377 (eval $ac_try) 2>&5
44378 ac_status=$?
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); }; } &&
44381 { ac_try='test -s conftest.$ac_objext'
44382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44383 (eval $ac_try) 2>&5
44384 ac_status=$?
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; }; then
44387 wx_cv_func_gettimeofday_has_2_args=yes
44388 else
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.$ac_ext >&5
44391
44392 cat >conftest.$ac_ext <<_ACEOF
44393 /* confdefs.h. */
44394 _ACEOF
44395 cat confdefs.h >>conftest.$ac_ext
44396 cat >>conftest.$ac_ext <<_ACEOF
44397 /* end confdefs.h. */
44398
44399 #include <sys/time.h>
44400 #include <unistd.h>
44401
44402 int
44403 main ()
44404 {
44405
44406 struct timeval tv;
44407 gettimeofday(&tv);
44408
44409 ;
44410 return 0;
44411 }
44412 _ACEOF
44413 rm -f conftest.$ac_objext
44414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44415 (eval $ac_compile) 2>conftest.er1
44416 ac_status=$?
44417 grep -v '^ *+' conftest.er1 >conftest.err
44418 rm -f conftest.er1
44419 cat conftest.err >&5
44420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44421 (exit $ac_status); } &&
44422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44424 (eval $ac_try) 2>&5
44425 ac_status=$?
44426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44427 (exit $ac_status); }; } &&
44428 { ac_try='test -s conftest.$ac_objext'
44429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44430 (eval $ac_try) 2>&5
44431 ac_status=$?
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); }; }; then
44434 wx_cv_func_gettimeofday_has_2_args=no
44435 else
44436 echo "$as_me: failed program was:" >&5
44437 sed 's/^/| /' conftest.$ac_ext >&5
44438
44439
44440 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44441 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44442 wx_cv_func_gettimeofday_has_2_args=unknown
44443
44444
44445 fi
44446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44447
44448 fi
44449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44450
44451 fi
44452 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44453 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44454
44455 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define WX_GETTIMEOFDAY_NO_TZ 1
44458 _ACEOF
44459
44460 fi
44461 fi
44462
44463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44464 fi
44465
44466
44467 if test "$wxUSE_SOCKETS" = "yes"; then
44468 if test "$wxUSE_MGL" = "1"; then
44469 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44470 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44471 wxUSE_SOCKETS="no"
44472 fi
44473 fi
44474
44475 if test "$wxUSE_SOCKETS" = "yes"; then
44476 if test "$TOOLKIT" != "MSW"; then
44477 echo "$as_me:$LINENO: checking for socket" >&5
44478 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44479 if test "${ac_cv_func_socket+set}" = set; then
44480 echo $ECHO_N "(cached) $ECHO_C" >&6
44481 else
44482 cat >conftest.$ac_ext <<_ACEOF
44483 /* confdefs.h. */
44484 _ACEOF
44485 cat confdefs.h >>conftest.$ac_ext
44486 cat >>conftest.$ac_ext <<_ACEOF
44487 /* end confdefs.h. */
44488 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44490 #define socket innocuous_socket
44491
44492 /* System header to define __stub macros and hopefully few prototypes,
44493 which can conflict with char socket (); below.
44494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44495 <limits.h> exists even on freestanding compilers. */
44496
44497 #ifdef __STDC__
44498 # include <limits.h>
44499 #else
44500 # include <assert.h>
44501 #endif
44502
44503 #undef socket
44504
44505 /* Override any gcc2 internal prototype to avoid an error. */
44506 #ifdef __cplusplus
44507 extern "C"
44508 {
44509 #endif
44510 /* We use char because int might match the return type of a gcc2
44511 builtin and then its argument prototype would still apply. */
44512 char socket ();
44513 /* The GNU C library defines this for functions which it implements
44514 to always fail with ENOSYS. Some functions are actually named
44515 something starting with __ and the normal name is an alias. */
44516 #if defined (__stub_socket) || defined (__stub___socket)
44517 choke me
44518 #else
44519 char (*f) () = socket;
44520 #endif
44521 #ifdef __cplusplus
44522 }
44523 #endif
44524
44525 int
44526 main ()
44527 {
44528 return f != socket;
44529 ;
44530 return 0;
44531 }
44532 _ACEOF
44533 rm -f conftest.$ac_objext conftest$ac_exeext
44534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44535 (eval $ac_link) 2>conftest.er1
44536 ac_status=$?
44537 grep -v '^ *+' conftest.er1 >conftest.err
44538 rm -f conftest.er1
44539 cat conftest.err >&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); } &&
44542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44545 ac_status=$?
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; } &&
44548 { ac_try='test -s conftest$ac_exeext'
44549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44550 (eval $ac_try) 2>&5
44551 ac_status=$?
44552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44553 (exit $ac_status); }; }; then
44554 ac_cv_func_socket=yes
44555 else
44556 echo "$as_me: failed program was:" >&5
44557 sed 's/^/| /' conftest.$ac_ext >&5
44558
44559 ac_cv_func_socket=no
44560 fi
44561 rm -f conftest.err conftest.$ac_objext \
44562 conftest$ac_exeext conftest.$ac_ext
44563 fi
44564 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44565 echo "${ECHO_T}$ac_cv_func_socket" >&6
44566 if test $ac_cv_func_socket = yes; then
44567 :
44568 else
44569
44570 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44571 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44572 if test "${ac_cv_lib_socket_socket+set}" = set; then
44573 echo $ECHO_N "(cached) $ECHO_C" >&6
44574 else
44575 ac_check_lib_save_LIBS=$LIBS
44576 LIBS="-lsocket $LIBS"
44577 cat >conftest.$ac_ext <<_ACEOF
44578 /* confdefs.h. */
44579 _ACEOF
44580 cat confdefs.h >>conftest.$ac_ext
44581 cat >>conftest.$ac_ext <<_ACEOF
44582 /* end confdefs.h. */
44583
44584 /* Override any gcc2 internal prototype to avoid an error. */
44585 #ifdef __cplusplus
44586 extern "C"
44587 #endif
44588 /* We use char because int might match the return type of a gcc2
44589 builtin and then its argument prototype would still apply. */
44590 char socket ();
44591 int
44592 main ()
44593 {
44594 socket ();
44595 ;
44596 return 0;
44597 }
44598 _ACEOF
44599 rm -f conftest.$ac_objext conftest$ac_exeext
44600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44601 (eval $ac_link) 2>conftest.er1
44602 ac_status=$?
44603 grep -v '^ *+' conftest.er1 >conftest.err
44604 rm -f conftest.er1
44605 cat conftest.err >&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } &&
44608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
44614 { ac_try='test -s conftest$ac_exeext'
44615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616 (eval $ac_try) 2>&5
44617 ac_status=$?
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; }; then
44620 ac_cv_lib_socket_socket=yes
44621 else
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.$ac_ext >&5
44624
44625 ac_cv_lib_socket_socket=no
44626 fi
44627 rm -f conftest.err conftest.$ac_objext \
44628 conftest$ac_exeext conftest.$ac_ext
44629 LIBS=$ac_check_lib_save_LIBS
44630 fi
44631 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44632 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44633 if test $ac_cv_lib_socket_socket = yes; then
44634 if test "$INET_LINK" != " -lsocket"; then
44635 INET_LINK="$INET_LINK -lsocket"
44636 fi
44637 else
44638
44639 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44640 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44641 wxUSE_SOCKETS=no
44642
44643
44644 fi
44645
44646
44647
44648 fi
44649
44650 fi
44651 fi
44652
44653 if test "$wxUSE_SOCKETS" = "yes" ; then
44654 if test "$TOOLKIT" != "MSW"; then
44655 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44656 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44657 if test "${wx_cv_type_getsockname3+set}" = set; then
44658 echo $ECHO_N "(cached) $ECHO_C" >&6
44659 else
44660
44661 cat >conftest.$ac_ext <<_ACEOF
44662 /* confdefs.h. */
44663 _ACEOF
44664 cat confdefs.h >>conftest.$ac_ext
44665 cat >>conftest.$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44667
44668 #include <sys/types.h>
44669 #include <sys/socket.h>
44670
44671 int
44672 main ()
44673 {
44674
44675 socklen_t len;
44676 getsockname(0, 0, &len);
44677
44678 ;
44679 return 0;
44680 }
44681 _ACEOF
44682 rm -f conftest.$ac_objext
44683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44684 (eval $ac_compile) 2>conftest.er1
44685 ac_status=$?
44686 grep -v '^ *+' conftest.er1 >conftest.err
44687 rm -f conftest.er1
44688 cat conftest.err >&5
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); } &&
44691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44693 (eval $ac_try) 2>&5
44694 ac_status=$?
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); }; } &&
44697 { ac_try='test -s conftest.$ac_objext'
44698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44699 (eval $ac_try) 2>&5
44700 ac_status=$?
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); }; }; then
44703 wx_cv_type_getsockname3=socklen_t
44704 else
44705 echo "$as_me: failed program was:" >&5
44706 sed 's/^/| /' conftest.$ac_ext >&5
44707
44708
44709 CXXFLAGS_OLD="$CXXFLAGS"
44710 if test "$GCC" = yes ; then
44711 CXXFLAGS="-Werror $CXXFLAGS"
44712 fi
44713
44714 cat >conftest.$ac_ext <<_ACEOF
44715 /* confdefs.h. */
44716 _ACEOF
44717 cat confdefs.h >>conftest.$ac_ext
44718 cat >>conftest.$ac_ext <<_ACEOF
44719 /* end confdefs.h. */
44720
44721 #include <sys/types.h>
44722 #include <sys/socket.h>
44723
44724 int
44725 main ()
44726 {
44727
44728 size_t len;
44729 getsockname(0, 0, &len);
44730
44731 ;
44732 return 0;
44733 }
44734 _ACEOF
44735 rm -f conftest.$ac_objext
44736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44737 (eval $ac_compile) 2>conftest.er1
44738 ac_status=$?
44739 grep -v '^ *+' conftest.er1 >conftest.err
44740 rm -f conftest.er1
44741 cat conftest.err >&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } &&
44744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44746 (eval $ac_try) 2>&5
44747 ac_status=$?
44748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44749 (exit $ac_status); }; } &&
44750 { ac_try='test -s conftest.$ac_objext'
44751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752 (eval $ac_try) 2>&5
44753 ac_status=$?
44754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755 (exit $ac_status); }; }; then
44756 wx_cv_type_getsockname3=size_t
44757 else
44758 echo "$as_me: failed program was:" >&5
44759 sed 's/^/| /' conftest.$ac_ext >&5
44760
44761 cat >conftest.$ac_ext <<_ACEOF
44762 /* confdefs.h. */
44763 _ACEOF
44764 cat confdefs.h >>conftest.$ac_ext
44765 cat >>conftest.$ac_ext <<_ACEOF
44766 /* end confdefs.h. */
44767
44768 #include <sys/types.h>
44769 #include <sys/socket.h>
44770
44771 int
44772 main ()
44773 {
44774
44775 int len;
44776 getsockname(0, 0, &len);
44777
44778 ;
44779 return 0;
44780 }
44781 _ACEOF
44782 rm -f conftest.$ac_objext
44783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44784 (eval $ac_compile) 2>conftest.er1
44785 ac_status=$?
44786 grep -v '^ *+' conftest.er1 >conftest.err
44787 rm -f conftest.er1
44788 cat conftest.err >&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } &&
44791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44793 (eval $ac_try) 2>&5
44794 ac_status=$?
44795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44796 (exit $ac_status); }; } &&
44797 { ac_try='test -s conftest.$ac_objext'
44798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44799 (eval $ac_try) 2>&5
44800 ac_status=$?
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); }; }; then
44803 wx_cv_type_getsockname3=int
44804 else
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.$ac_ext >&5
44807
44808 wx_cv_type_getsockname3=unknown
44809
44810 fi
44811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44812
44813 fi
44814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44815
44816 CXXFLAGS="$CXXFLAGS_OLD"
44817
44818
44819 fi
44820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44821
44822 fi
44823 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44824 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44825
44826 if test "$wx_cv_type_getsockname3" = "unknown"; then
44827 wxUSE_SOCKETS=no
44828 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44829 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44830 else
44831 cat >>confdefs.h <<_ACEOF
44832 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44833 _ACEOF
44834
44835 fi
44836 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44837 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44838 if test "${wx_cv_type_getsockopt5+set}" = set; then
44839 echo $ECHO_N "(cached) $ECHO_C" >&6
44840 else
44841
44842 cat >conftest.$ac_ext <<_ACEOF
44843 /* confdefs.h. */
44844 _ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44848
44849 #include <sys/types.h>
44850 #include <sys/socket.h>
44851
44852 int
44853 main ()
44854 {
44855
44856 socklen_t len;
44857 getsockopt(0, 0, 0, 0, &len);
44858
44859 ;
44860 return 0;
44861 }
44862 _ACEOF
44863 rm -f conftest.$ac_objext
44864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44865 (eval $ac_compile) 2>conftest.er1
44866 ac_status=$?
44867 grep -v '^ *+' conftest.er1 >conftest.err
44868 rm -f conftest.er1
44869 cat conftest.err >&5
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); } &&
44872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; } &&
44878 { ac_try='test -s conftest.$ac_objext'
44879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44880 (eval $ac_try) 2>&5
44881 ac_status=$?
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); }; }; then
44884 wx_cv_type_getsockopt5=socklen_t
44885 else
44886 echo "$as_me: failed program was:" >&5
44887 sed 's/^/| /' conftest.$ac_ext >&5
44888
44889
44890 CXXFLAGS_OLD="$CXXFLAGS"
44891 if test "$GCC" = yes ; then
44892 CXXFLAGS="-Werror $CXXFLAGS"
44893 fi
44894
44895 cat >conftest.$ac_ext <<_ACEOF
44896 /* confdefs.h. */
44897 _ACEOF
44898 cat confdefs.h >>conftest.$ac_ext
44899 cat >>conftest.$ac_ext <<_ACEOF
44900 /* end confdefs.h. */
44901
44902 #include <sys/types.h>
44903 #include <sys/socket.h>
44904
44905 int
44906 main ()
44907 {
44908
44909 size_t len;
44910 getsockopt(0, 0, 0, 0, &len);
44911
44912 ;
44913 return 0;
44914 }
44915 _ACEOF
44916 rm -f conftest.$ac_objext
44917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44918 (eval $ac_compile) 2>conftest.er1
44919 ac_status=$?
44920 grep -v '^ *+' conftest.er1 >conftest.err
44921 rm -f conftest.er1
44922 cat conftest.err >&5
44923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44924 (exit $ac_status); } &&
44925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44927 (eval $ac_try) 2>&5
44928 ac_status=$?
44929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44930 (exit $ac_status); }; } &&
44931 { ac_try='test -s conftest.$ac_objext'
44932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44933 (eval $ac_try) 2>&5
44934 ac_status=$?
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); }; }; then
44937 wx_cv_type_getsockopt5=size_t
44938 else
44939 echo "$as_me: failed program was:" >&5
44940 sed 's/^/| /' conftest.$ac_ext >&5
44941
44942 cat >conftest.$ac_ext <<_ACEOF
44943 /* confdefs.h. */
44944 _ACEOF
44945 cat confdefs.h >>conftest.$ac_ext
44946 cat >>conftest.$ac_ext <<_ACEOF
44947 /* end confdefs.h. */
44948
44949 #include <sys/types.h>
44950 #include <sys/socket.h>
44951
44952 int
44953 main ()
44954 {
44955
44956 int len;
44957 getsockopt(0, 0, 0, 0, &len);
44958
44959 ;
44960 return 0;
44961 }
44962 _ACEOF
44963 rm -f conftest.$ac_objext
44964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44965 (eval $ac_compile) 2>conftest.er1
44966 ac_status=$?
44967 grep -v '^ *+' conftest.er1 >conftest.err
44968 rm -f conftest.er1
44969 cat conftest.err >&5
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); } &&
44972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44974 (eval $ac_try) 2>&5
44975 ac_status=$?
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; } &&
44978 { ac_try='test -s conftest.$ac_objext'
44979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44980 (eval $ac_try) 2>&5
44981 ac_status=$?
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); }; }; then
44984 wx_cv_type_getsockopt5=int
44985 else
44986 echo "$as_me: failed program was:" >&5
44987 sed 's/^/| /' conftest.$ac_ext >&5
44988
44989 wx_cv_type_getsockopt5=unknown
44990
44991 fi
44992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44993
44994 fi
44995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44996
44997 CXXFLAGS="$CXXFLAGS_OLD"
44998
44999
45000 fi
45001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45002
45003 fi
45004 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45005 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45006
45007 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45008 wxUSE_SOCKETS=no
45009 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45010 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45011 else
45012 cat >>confdefs.h <<_ACEOF
45013 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45014 _ACEOF
45015
45016 fi
45017 fi
45018 fi
45019
45020 if test "$wxUSE_SOCKETS" = "yes" ; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_SOCKETS 1
45023 _ACEOF
45024
45025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45026 fi
45027
45028 if test "$wxUSE_PROTOCOL" = "yes"; then
45029 if test "$wxUSE_SOCKETS" != "yes"; then
45030 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45031 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45032 wxUSE_PROTOCOL=no
45033 fi
45034 fi
45035
45036 if test "$wxUSE_PROTOCOL" = "yes"; then
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_PROTOCOL 1
45039 _ACEOF
45040
45041
45042 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_PROTOCOL_HTTP 1
45045 _ACEOF
45046
45047 fi
45048 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_PROTOCOL_FTP 1
45051 _ACEOF
45052
45053 fi
45054 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_PROTOCOL_FILE 1
45057 _ACEOF
45058
45059 fi
45060 else
45061 if test "$wxUSE_FS_INET" = "yes"; then
45062 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45063 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45064 wxUSE_FS_INET="no"
45065 fi
45066 fi
45067
45068 if test "$wxUSE_URL" = "yes"; then
45069 if test "$wxUSE_PROTOCOL" != "yes"; then
45070 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45071 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45072 wxUSE_URL=no
45073 fi
45074 if test "$wxUSE_URL" = "yes"; then
45075 cat >>confdefs.h <<\_ACEOF
45076 #define wxUSE_URL 1
45077 _ACEOF
45078
45079 fi
45080 fi
45081
45082 if test "$wxUSE_VARIANT" = "yes"; then
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_VARIANT 1
45085 _ACEOF
45086
45087 fi
45088
45089 if test "$wxUSE_FS_INET" = "yes"; then
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_FS_INET 1
45092 _ACEOF
45093
45094 fi
45095
45096
45097 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45098 wxUSE_JOYSTICK=no
45099
45100 if test "$TOOLKIT" = "MSW"; then
45101 wxUSE_JOYSTICK=yes
45102
45103 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45104 if test "$USE_DARWIN" = 1; then
45105 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45106 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45107 cat >conftest.$ac_ext <<_ACEOF
45108 /* confdefs.h. */
45109 _ACEOF
45110 cat confdefs.h >>conftest.$ac_ext
45111 cat >>conftest.$ac_ext <<_ACEOF
45112 /* end confdefs.h. */
45113 #include <IOKit/hid/IOHIDLib.h>
45114 int
45115 main ()
45116 {
45117 IOHIDQueueInterface *qi = NULL;
45118 IOHIDCallbackFunction cb = NULL;
45119 qi->setEventCallout(NULL, cb, NULL, NULL);
45120 ;
45121 return 0;
45122 }
45123 _ACEOF
45124 rm -f conftest.$ac_objext
45125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45126 (eval $ac_compile) 2>conftest.er1
45127 ac_status=$?
45128 grep -v '^ *+' conftest.er1 >conftest.err
45129 rm -f conftest.er1
45130 cat conftest.err >&5
45131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45132 (exit $ac_status); } &&
45133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45135 (eval $ac_try) 2>&5
45136 ac_status=$?
45137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45138 (exit $ac_status); }; } &&
45139 { ac_try='test -s conftest.$ac_objext'
45140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45141 (eval $ac_try) 2>&5
45142 ac_status=$?
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); }; }; then
45145 wxUSE_JOYSTICK=yes
45146
45147 else
45148 echo "$as_me: failed program was:" >&5
45149 sed 's/^/| /' conftest.$ac_ext >&5
45150
45151 fi
45152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45153 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45154 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45155 fi
45156
45157 else
45158
45159 for ac_header in linux/joystick.h
45160 do
45161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45163 echo "$as_me:$LINENO: checking for $ac_header" >&5
45164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45166 echo $ECHO_N "(cached) $ECHO_C" >&6
45167 fi
45168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45170 else
45171 # Is the header compilable?
45172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45174 cat >conftest.$ac_ext <<_ACEOF
45175 /* confdefs.h. */
45176 _ACEOF
45177 cat confdefs.h >>conftest.$ac_ext
45178 cat >>conftest.$ac_ext <<_ACEOF
45179 /* end confdefs.h. */
45180 $ac_includes_default
45181 #include <$ac_header>
45182 _ACEOF
45183 rm -f conftest.$ac_objext
45184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45185 (eval $ac_compile) 2>conftest.er1
45186 ac_status=$?
45187 grep -v '^ *+' conftest.er1 >conftest.err
45188 rm -f conftest.er1
45189 cat conftest.err >&5
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); } &&
45192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194 (eval $ac_try) 2>&5
45195 ac_status=$?
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; } &&
45198 { ac_try='test -s conftest.$ac_objext'
45199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45200 (eval $ac_try) 2>&5
45201 ac_status=$?
45202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45203 (exit $ac_status); }; }; then
45204 ac_header_compiler=yes
45205 else
45206 echo "$as_me: failed program was:" >&5
45207 sed 's/^/| /' conftest.$ac_ext >&5
45208
45209 ac_header_compiler=no
45210 fi
45211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45213 echo "${ECHO_T}$ac_header_compiler" >&6
45214
45215 # Is the header present?
45216 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45217 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45218 cat >conftest.$ac_ext <<_ACEOF
45219 /* confdefs.h. */
45220 _ACEOF
45221 cat confdefs.h >>conftest.$ac_ext
45222 cat >>conftest.$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45224 #include <$ac_header>
45225 _ACEOF
45226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45228 ac_status=$?
45229 grep -v '^ *+' conftest.er1 >conftest.err
45230 rm -f conftest.er1
45231 cat conftest.err >&5
45232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45233 (exit $ac_status); } >/dev/null; then
45234 if test -s conftest.err; then
45235 ac_cpp_err=$ac_cxx_preproc_warn_flag
45236 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45237 else
45238 ac_cpp_err=
45239 fi
45240 else
45241 ac_cpp_err=yes
45242 fi
45243 if test -z "$ac_cpp_err"; then
45244 ac_header_preproc=yes
45245 else
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45248
45249 ac_header_preproc=no
45250 fi
45251 rm -f conftest.err conftest.$ac_ext
45252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45253 echo "${ECHO_T}$ac_header_preproc" >&6
45254
45255 # So? What about this header?
45256 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45257 yes:no: )
45258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45262 ac_header_preproc=yes
45263 ;;
45264 no:yes:* )
45265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45277 (
45278 cat <<\_ASBOX
45279 ## ----------------------------------------- ##
45280 ## Report this to wx-dev@lists.wxwidgets.org ##
45281 ## ----------------------------------------- ##
45282 _ASBOX
45283 ) |
45284 sed "s/^/$as_me: WARNING: /" >&2
45285 ;;
45286 esac
45287 echo "$as_me:$LINENO: checking for $ac_header" >&5
45288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45290 echo $ECHO_N "(cached) $ECHO_C" >&6
45291 else
45292 eval "$as_ac_Header=\$ac_header_preproc"
45293 fi
45294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45296
45297 fi
45298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45299 cat >>confdefs.h <<_ACEOF
45300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45301 _ACEOF
45302 wxUSE_JOYSTICK=yes
45303 fi
45304
45305 done
45306
45307 fi
45308
45309 if test "$wxUSE_JOYSTICK" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_JOYSTICK 1
45312 _ACEOF
45313
45314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45315 else
45316 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45317 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45318 fi
45319 fi
45320
45321
45322
45323 if test "$wxUSE_FONTMAP" = "yes" ; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_FONTMAP 1
45326 _ACEOF
45327
45328 fi
45329
45330 if test "$wxUSE_UNICODE" = "yes" ; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_UNICODE 1
45333 _ACEOF
45334
45335
45336 if test "$USE_WIN32" != 1; then
45337 wxUSE_UNICODE_MSLU=no
45338 fi
45339
45340 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45341 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45342 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45343 if test "${ac_cv_lib_unicows_main+set}" = set; then
45344 echo $ECHO_N "(cached) $ECHO_C" >&6
45345 else
45346 ac_check_lib_save_LIBS=$LIBS
45347 LIBS="-lunicows $LIBS"
45348 cat >conftest.$ac_ext <<_ACEOF
45349 /* confdefs.h. */
45350 _ACEOF
45351 cat confdefs.h >>conftest.$ac_ext
45352 cat >>conftest.$ac_ext <<_ACEOF
45353 /* end confdefs.h. */
45354
45355
45356 int
45357 main ()
45358 {
45359 main ();
45360 ;
45361 return 0;
45362 }
45363 _ACEOF
45364 rm -f conftest.$ac_objext conftest$ac_exeext
45365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45366 (eval $ac_link) 2>conftest.er1
45367 ac_status=$?
45368 grep -v '^ *+' conftest.er1 >conftest.err
45369 rm -f conftest.er1
45370 cat conftest.err >&5
45371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45372 (exit $ac_status); } &&
45373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45375 (eval $ac_try) 2>&5
45376 ac_status=$?
45377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45378 (exit $ac_status); }; } &&
45379 { ac_try='test -s conftest$ac_exeext'
45380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45381 (eval $ac_try) 2>&5
45382 ac_status=$?
45383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384 (exit $ac_status); }; }; then
45385 ac_cv_lib_unicows_main=yes
45386 else
45387 echo "$as_me: failed program was:" >&5
45388 sed 's/^/| /' conftest.$ac_ext >&5
45389
45390 ac_cv_lib_unicows_main=no
45391 fi
45392 rm -f conftest.err conftest.$ac_objext \
45393 conftest$ac_exeext conftest.$ac_ext
45394 LIBS=$ac_check_lib_save_LIBS
45395 fi
45396 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45397 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45398 if test $ac_cv_lib_unicows_main = yes; then
45399
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_UNICODE_MSLU 1
45402 _ACEOF
45403
45404
45405 else
45406
45407 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45408 Applications will only run on Windows NT/2000/XP!" >&5
45409 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45410 Applications will only run on Windows NT/2000/XP!" >&2;}
45411 wxUSE_UNICODE_MSLU=no
45412
45413 fi
45414
45415 fi
45416 fi
45417
45418 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_EXPERIMENTAL_PRINTF 1
45421 _ACEOF
45422
45423 fi
45424
45425
45426 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_POSTSCRIPT 1
45429 _ACEOF
45430
45431 fi
45432
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45435 _ACEOF
45436
45437
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_NORMALIZED_PS_FONTS 1
45440 _ACEOF
45441
45442
45443
45444 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45445 cat >>confdefs.h <<\_ACEOF
45446 #define wxUSE_CONSTRAINTS 1
45447 _ACEOF
45448
45449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45450 fi
45451
45452 if test "$wxUSE_MDI" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_MDI 1
45455 _ACEOF
45456
45457
45458 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_MDI_ARCHITECTURE 1
45461 _ACEOF
45462
45463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45464 fi
45465 fi
45466
45467 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45470 _ACEOF
45471
45472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45473 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45475 fi
45476 fi
45477
45478 if test "$wxUSE_HELP" = "yes"; then
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_HELP 1
45481 _ACEOF
45482
45483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45484
45485 if test "$wxUSE_MSW" = 1; then
45486 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_MS_HTML_HELP 1
45489 _ACEOF
45490
45491 fi
45492 fi
45493
45494 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45495 if test "$wxUSE_HTML" = "yes"; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_WXHTML_HELP 1
45498 _ACEOF
45499
45500 else
45501 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45502 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45503 wxUSE_WXHTML_HELP=no
45504 fi
45505 fi
45506 fi
45507
45508 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45509 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45510 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45511 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45512 else
45513 cat >>confdefs.h <<\_ACEOF
45514 #define wxUSE_PRINTING_ARCHITECTURE 1
45515 _ACEOF
45516
45517 fi
45518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45519 fi
45520
45521 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45522 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45523 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45524 { (exit 1); exit 1; }; }
45525 fi
45526
45527
45528 if test "$wxUSE_METAFILE" = "yes"; then
45529 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45530 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45531 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45532 wxUSE_METAFILE=no
45533 fi
45534 fi
45535
45536
45537 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45538 -o "$wxUSE_CLIPBOARD" = "yes" \
45539 -o "$wxUSE_OLE" = "yes" \
45540 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45541
45542 for ac_header in ole2.h
45543 do
45544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45546 echo "$as_me:$LINENO: checking for $ac_header" >&5
45547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45549 echo $ECHO_N "(cached) $ECHO_C" >&6
45550 fi
45551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45553 else
45554 # Is the header compilable?
45555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45557 cat >conftest.$ac_ext <<_ACEOF
45558 /* confdefs.h. */
45559 _ACEOF
45560 cat confdefs.h >>conftest.$ac_ext
45561 cat >>conftest.$ac_ext <<_ACEOF
45562 /* end confdefs.h. */
45563 $ac_includes_default
45564 #include <$ac_header>
45565 _ACEOF
45566 rm -f conftest.$ac_objext
45567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45568 (eval $ac_compile) 2>conftest.er1
45569 ac_status=$?
45570 grep -v '^ *+' conftest.er1 >conftest.err
45571 rm -f conftest.er1
45572 cat conftest.err >&5
45573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45574 (exit $ac_status); } &&
45575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45577 (eval $ac_try) 2>&5
45578 ac_status=$?
45579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580 (exit $ac_status); }; } &&
45581 { ac_try='test -s conftest.$ac_objext'
45582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45583 (eval $ac_try) 2>&5
45584 ac_status=$?
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); }; }; then
45587 ac_header_compiler=yes
45588 else
45589 echo "$as_me: failed program was:" >&5
45590 sed 's/^/| /' conftest.$ac_ext >&5
45591
45592 ac_header_compiler=no
45593 fi
45594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45596 echo "${ECHO_T}$ac_header_compiler" >&6
45597
45598 # Is the header present?
45599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45601 cat >conftest.$ac_ext <<_ACEOF
45602 /* confdefs.h. */
45603 _ACEOF
45604 cat confdefs.h >>conftest.$ac_ext
45605 cat >>conftest.$ac_ext <<_ACEOF
45606 /* end confdefs.h. */
45607 #include <$ac_header>
45608 _ACEOF
45609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45611 ac_status=$?
45612 grep -v '^ *+' conftest.er1 >conftest.err
45613 rm -f conftest.er1
45614 cat conftest.err >&5
45615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45616 (exit $ac_status); } >/dev/null; then
45617 if test -s conftest.err; then
45618 ac_cpp_err=$ac_cxx_preproc_warn_flag
45619 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45620 else
45621 ac_cpp_err=
45622 fi
45623 else
45624 ac_cpp_err=yes
45625 fi
45626 if test -z "$ac_cpp_err"; then
45627 ac_header_preproc=yes
45628 else
45629 echo "$as_me: failed program was:" >&5
45630 sed 's/^/| /' conftest.$ac_ext >&5
45631
45632 ac_header_preproc=no
45633 fi
45634 rm -f conftest.err conftest.$ac_ext
45635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45636 echo "${ECHO_T}$ac_header_preproc" >&6
45637
45638 # So? What about this header?
45639 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45640 yes:no: )
45641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45645 ac_header_preproc=yes
45646 ;;
45647 no:yes:* )
45648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45660 (
45661 cat <<\_ASBOX
45662 ## ----------------------------------------- ##
45663 ## Report this to wx-dev@lists.wxwidgets.org ##
45664 ## ----------------------------------------- ##
45665 _ASBOX
45666 ) |
45667 sed "s/^/$as_me: WARNING: /" >&2
45668 ;;
45669 esac
45670 echo "$as_me:$LINENO: checking for $ac_header" >&5
45671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45673 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 else
45675 eval "$as_ac_Header=\$ac_header_preproc"
45676 fi
45677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45679
45680 fi
45681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45682 cat >>confdefs.h <<_ACEOF
45683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45684 _ACEOF
45685
45686 fi
45687
45688 done
45689
45690
45691 if test "$ac_cv_header_ole2_h" = "yes" ; then
45692 if test "$GCC" = yes ; then
45693 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45694 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45695 cat >conftest.$ac_ext <<_ACEOF
45696 /* confdefs.h. */
45697 _ACEOF
45698 cat confdefs.h >>conftest.$ac_ext
45699 cat >>conftest.$ac_ext <<_ACEOF
45700 /* end confdefs.h. */
45701 #include <windows.h>
45702 #include <ole2.h>
45703 int
45704 main ()
45705 {
45706
45707 ;
45708 return 0;
45709 }
45710 _ACEOF
45711 rm -f conftest.$ac_objext
45712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45713 (eval $ac_compile) 2>conftest.er1
45714 ac_status=$?
45715 grep -v '^ *+' conftest.er1 >conftest.err
45716 rm -f conftest.er1
45717 cat conftest.err >&5
45718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45719 (exit $ac_status); } &&
45720 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45722 (eval $ac_try) 2>&5
45723 ac_status=$?
45724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725 (exit $ac_status); }; } &&
45726 { ac_try='test -s conftest.$ac_objext'
45727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45728 (eval $ac_try) 2>&5
45729 ac_status=$?
45730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45731 (exit $ac_status); }; }; then
45732 echo "$as_me:$LINENO: result: no" >&5
45733 echo "${ECHO_T}no" >&6
45734 else
45735 echo "$as_me: failed program was:" >&5
45736 sed 's/^/| /' conftest.$ac_ext >&5
45737
45738 echo "$as_me:$LINENO: result: yes" >&5
45739 echo "${ECHO_T}yes" >&6
45740 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45741 fi
45742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45743 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45744 if test "$wxUSE_OLE" = "yes" ; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_OLE 1
45747 _ACEOF
45748
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_OLE_AUTOMATION 1
45751 _ACEOF
45752
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_OLE_ACTIVEX 1
45755 _ACEOF
45756
45757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45758 fi
45759 fi
45760
45761 if test "$wxUSE_DATAOBJ" = "yes" ; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_DATAOBJ 1
45764 _ACEOF
45765
45766 fi
45767 else
45768 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45769 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45770
45771 wxUSE_CLIPBOARD=no
45772 wxUSE_DRAG_AND_DROP=no
45773 wxUSE_DATAOBJ=no
45774 wxUSE_OLE=no
45775 fi
45776
45777 if test "$wxUSE_METAFILE" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_METAFILE 1
45780 _ACEOF
45781
45782
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_ENH_METAFILE 1
45785 _ACEOF
45786
45787 fi
45788 fi
45789
45790 if test "$wxUSE_IPC" = "yes"; then
45791 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45792 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45793 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45794 wxUSE_IPC=no
45795 fi
45796
45797 if test "$wxUSE_IPC" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_IPC 1
45800 _ACEOF
45801
45802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45803 fi
45804 fi
45805
45806 if test "$wxUSE_DATAOBJ" = "yes"; then
45807 if test "$wxUSE_MGL" = 1; then
45808 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45809 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45810 wxUSE_DATAOBJ=no
45811 else
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_DATAOBJ 1
45814 _ACEOF
45815
45816 fi
45817 else
45818 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45819 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45820 wxUSE_CLIPBOARD=no
45821 wxUSE_DRAG_AND_DROP=no
45822 fi
45823
45824 if test "$wxUSE_CLIPBOARD" = "yes"; then
45825 if test "$wxUSE_MGL" = 1; then
45826 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45827 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45828 wxUSE_CLIPBOARD=no
45829 fi
45830
45831 if test "$wxUSE_CLIPBOARD" = "yes"; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_CLIPBOARD 1
45834 _ACEOF
45835
45836 fi
45837 fi
45838
45839 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45840 if test "$wxUSE_GTK" = 1; then
45841 if test "$WXGTK12" != 1; then
45842 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45843 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45844 wxUSE_DRAG_AND_DROP=no
45845 fi
45846 fi
45847
45848 if test "$wxUSE_MOTIF" = 1; then
45849 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45850 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45851 wxUSE_DRAG_AND_DROP=no
45852 fi
45853
45854 if test "$wxUSE_X11" = 1; then
45855 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45856 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45857 wxUSE_DRAG_AND_DROP=no
45858 fi
45859
45860 if test "$wxUSE_MGL" = 1; then
45861 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45862 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45863 wxUSE_DRAG_AND_DROP=no
45864 fi
45865
45866 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_DRAG_AND_DROP 1
45869 _ACEOF
45870
45871 fi
45872
45873 fi
45874
45875 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45877 fi
45878
45879 if test "$wxUSE_SPLINES" = "yes" ; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_SPLINES 1
45882 _ACEOF
45883
45884 fi
45885
45886 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_MOUSEWHEEL 1
45889 _ACEOF
45890
45891 fi
45892
45893
45894 USES_CONTROLS=0
45895 if test "$wxUSE_CONTROLS" = "yes"; then
45896 USES_CONTROLS=1
45897 fi
45898
45899 if test "$wxUSE_ACCEL" = "yes"; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_ACCEL 1
45902 _ACEOF
45903
45904 USES_CONTROLS=1
45905 fi
45906
45907 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_ANIMATIONCTRL 1
45910 _ACEOF
45911
45912 USES_CONTROLS=1
45913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45914 fi
45915
45916 if test "$wxUSE_BUTTON" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_BUTTON 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 fi
45923
45924 if test "$wxUSE_BMPBUTTON" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_BMPBUTTON 1
45927 _ACEOF
45928
45929 USES_CONTROLS=1
45930 fi
45931
45932 if test "$wxUSE_CALCTRL" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_CALENDARCTRL 1
45935 _ACEOF
45936
45937 USES_CONTROLS=1
45938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45939 fi
45940
45941 if test "$wxUSE_CARET" = "yes"; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define wxUSE_CARET 1
45944 _ACEOF
45945
45946 USES_CONTROLS=1
45947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45948 fi
45949
45950 if test "$wxUSE_COLLPANE" = "yes"; then
45951 cat >>confdefs.h <<\_ACEOF
45952 #define wxUSE_COLLPANE 1
45953 _ACEOF
45954
45955 USES_CONTROLS=1
45956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45957 fi
45958
45959 if test "$wxUSE_COMBOBOX" = "yes"; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_COMBOBOX 1
45962 _ACEOF
45963
45964 USES_CONTROLS=1
45965 fi
45966
45967 if test "$wxUSE_COMBOCTRL" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_COMBOCTRL 1
45970 _ACEOF
45971
45972 USES_CONTROLS=1
45973 fi
45974
45975 if test "$wxUSE_CHOICE" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_CHOICE 1
45978 _ACEOF
45979
45980 USES_CONTROLS=1
45981 fi
45982
45983 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_CHOICEBOOK 1
45986 _ACEOF
45987
45988 USES_CONTROLS=1
45989 fi
45990
45991 if test "$wxUSE_CHECKBOX" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_CHECKBOX 1
45994 _ACEOF
45995
45996 USES_CONTROLS=1
45997 fi
45998
45999 if test "$wxUSE_CHECKLST" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_CHECKLISTBOX 1
46002 _ACEOF
46003
46004 USES_CONTROLS=1
46005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46006 fi
46007
46008 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_COLOURPICKERCTRL 1
46011 _ACEOF
46012
46013 USES_CONTROLS=1
46014 fi
46015
46016 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_DATEPICKCTRL 1
46019 _ACEOF
46020
46021 USES_CONTROLS=1
46022 fi
46023
46024 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_DIRPICKERCTRL 1
46027 _ACEOF
46028
46029 USES_CONTROLS=1
46030 fi
46031
46032 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_FILEPICKERCTRL 1
46035 _ACEOF
46036
46037 USES_CONTROLS=1
46038 fi
46039
46040 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_FONTPICKERCTRL 1
46043 _ACEOF
46044
46045 USES_CONTROLS=1
46046 fi
46047
46048 if test "$wxUSE_DISPLAY" = "yes"; then
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_DISPLAY 1
46051 _ACEOF
46052
46053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46054 fi
46055
46056 if test "$wxUSE_DETECT_SM" = "yes"; then
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_DETECT_SM 1
46059 _ACEOF
46060
46061 fi
46062
46063 if test "$wxUSE_GAUGE" = "yes"; then
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_GAUGE 1
46066 _ACEOF
46067
46068 USES_CONTROLS=1
46069 fi
46070
46071 if test "$wxUSE_GRID" = "yes"; then
46072 cat >>confdefs.h <<\_ACEOF
46073 #define wxUSE_GRID 1
46074 _ACEOF
46075
46076 USES_CONTROLS=1
46077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46078 fi
46079
46080 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_HYPERLINKCTRL 1
46083 _ACEOF
46084
46085 USES_CONTROLS=1
46086 fi
46087
46088 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define wxUSE_BITMAPCOMBOBOX 1
46091 _ACEOF
46092
46093 USES_CONTROLS=1
46094 fi
46095
46096 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_DATAVIEWCTRL 1
46099 _ACEOF
46100
46101 USES_CONTROLS=1
46102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46103 fi
46104
46105 if test "$wxUSE_IMAGLIST" = "yes"; then
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_IMAGLIST 1
46108 _ACEOF
46109
46110 fi
46111
46112 if test "$wxUSE_LISTBOOK" = "yes"; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_LISTBOOK 1
46115 _ACEOF
46116
46117 USES_CONTROLS=1
46118 fi
46119
46120 if test "$wxUSE_LISTBOX" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_LISTBOX 1
46123 _ACEOF
46124
46125 USES_CONTROLS=1
46126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46127 fi
46128
46129 if test "$wxUSE_LISTCTRL" = "yes"; then
46130 if test "$wxUSE_IMAGLIST" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_LISTCTRL 1
46133 _ACEOF
46134
46135 USES_CONTROLS=1
46136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46137 else
46138 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46139 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46140 fi
46141 fi
46142
46143 if test "$wxUSE_NOTEBOOK" = "yes"; then
46144 cat >>confdefs.h <<\_ACEOF
46145 #define wxUSE_NOTEBOOK 1
46146 _ACEOF
46147
46148 USES_CONTROLS=1
46149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46150 fi
46151
46152 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46153 cat >>confdefs.h <<\_ACEOF
46154 #define wxUSE_ODCOMBOBOX 1
46155 _ACEOF
46156
46157 USES_CONTROLS=1
46158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46159 fi
46160
46161
46162 if test "$wxUSE_RADIOBOX" = "yes"; then
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_RADIOBOX 1
46165 _ACEOF
46166
46167 USES_CONTROLS=1
46168 fi
46169
46170 if test "$wxUSE_RADIOBTN" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_RADIOBTN 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 fi
46177
46178 if test "$wxUSE_SASH" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_SASH 1
46181 _ACEOF
46182
46183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46184 fi
46185
46186 if test "$wxUSE_SCROLLBAR" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_SCROLLBAR 1
46189 _ACEOF
46190
46191 USES_CONTROLS=1
46192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46193 fi
46194
46195 if test "$wxUSE_SLIDER" = "yes"; then
46196 cat >>confdefs.h <<\_ACEOF
46197 #define wxUSE_SLIDER 1
46198 _ACEOF
46199
46200 USES_CONTROLS=1
46201 fi
46202
46203 if test "$wxUSE_SPINBTN" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_SPINBTN 1
46206 _ACEOF
46207
46208 USES_CONTROLS=1
46209 fi
46210
46211 if test "$wxUSE_SPINCTRL" = "yes"; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_SPINCTRL 1
46214 _ACEOF
46215
46216 USES_CONTROLS=1
46217 fi
46218
46219 if test "$wxUSE_SPLITTER" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_SPLITTER 1
46222 _ACEOF
46223
46224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46225 fi
46226
46227 if test "$wxUSE_STATBMP" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_STATBMP 1
46230 _ACEOF
46231
46232 USES_CONTROLS=1
46233 fi
46234
46235 if test "$wxUSE_STATBOX" = "yes"; then
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_STATBOX 1
46238 _ACEOF
46239
46240 USES_CONTROLS=1
46241 fi
46242
46243 if test "$wxUSE_STATTEXT" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_STATTEXT 1
46246 _ACEOF
46247
46248 USES_CONTROLS=1
46249 fi
46250
46251 if test "$wxUSE_STATLINE" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_STATLINE 1
46254 _ACEOF
46255
46256 USES_CONTROLS=1
46257 fi
46258
46259 if test "$wxUSE_STATUSBAR" = "yes"; then
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_NATIVE_STATUSBAR 1
46262 _ACEOF
46263
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_STATUSBAR 1
46266 _ACEOF
46267
46268 USES_CONTROLS=1
46269
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46271 fi
46272
46273 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_TAB_DIALOG 1
46276 _ACEOF
46277
46278 fi
46279
46280 if test "$wxUSE_TEXTCTRL" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_TEXTCTRL 1
46283 _ACEOF
46284
46285 USES_CONTROLS=1
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46287 fi
46288
46289 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46290 if test "$wxUSE_COCOA" = 1 ; then
46291 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46292 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46293 wxUSE_TOGGLEBTN=no
46294 fi
46295
46296 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46297 cat >>confdefs.h <<\_ACEOF
46298 #define wxUSE_TOGGLEBTN 1
46299 _ACEOF
46300
46301 USES_CONTROLS=1
46302 fi
46303 fi
46304
46305 if test "$wxUSE_TOOLBAR" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_TOOLBAR 1
46308 _ACEOF
46309
46310 USES_CONTROLS=1
46311
46312 if test "$wxUSE_UNIVERSAL" = "yes"; then
46313 wxUSE_TOOLBAR_NATIVE="no"
46314 else
46315 wxUSE_TOOLBAR_NATIVE="yes"
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_TOOLBAR_NATIVE 1
46318 _ACEOF
46319
46320 fi
46321
46322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46323 fi
46324
46325 if test "$wxUSE_TOOLTIPS" = "yes"; then
46326 if test "$wxUSE_MOTIF" = 1; then
46327 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46328 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46329 else
46330 if test "$wxUSE_UNIVERSAL" = "yes"; then
46331 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46332 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46333 else
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_TOOLTIPS 1
46336 _ACEOF
46337
46338 fi
46339 fi
46340 fi
46341
46342 if test "$wxUSE_TREEBOOK" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_TREEBOOK 1
46345 _ACEOF
46346
46347 USES_CONTROLS=1
46348 fi
46349
46350 if test "$wxUSE_TOOLBOOK" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_TOOLBOOK 1
46353 _ACEOF
46354
46355 USES_CONTROLS=1
46356 fi
46357
46358 if test "$wxUSE_TREECTRL" = "yes"; then
46359 if test "$wxUSE_IMAGLIST" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_TREECTRL 1
46362 _ACEOF
46363
46364 USES_CONTROLS=1
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46366 else
46367 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46368 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46369 fi
46370 fi
46371
46372 if test "$wxUSE_POPUPWIN" = "yes"; then
46373 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46374 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46375 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46376 else
46377 if test "$wxUSE_PM" = 1; then
46378 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46379 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46380 else
46381 cat >>confdefs.h <<\_ACEOF
46382 #define wxUSE_POPUPWIN 1
46383 _ACEOF
46384
46385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46386
46387 USES_CONTROLS=1
46388 fi
46389 fi
46390 fi
46391
46392 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46394 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46395 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46396 else
46397 cat >>confdefs.h <<\_ACEOF
46398 #define wxUSE_DIALUP_MANAGER 1
46399 _ACEOF
46400
46401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46402 fi
46403 fi
46404
46405 if test "$wxUSE_TIPWINDOW" = "yes"; then
46406 if test "$wxUSE_PM" = 1; then
46407 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46408 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46409 else
46410 cat >>confdefs.h <<\_ACEOF
46411 #define wxUSE_TIPWINDOW 1
46412 _ACEOF
46413
46414 fi
46415 fi
46416
46417 if test "$USES_CONTROLS" = 1; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_CONTROLS 1
46420 _ACEOF
46421
46422 fi
46423
46424
46425 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_ACCESSIBILITY 1
46428 _ACEOF
46429
46430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46431 fi
46432
46433 if test "$wxUSE_DC_CACHEING" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_DC_CACHEING 1
46436 _ACEOF
46437
46438 fi
46439
46440 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_DRAGIMAGE 1
46443 _ACEOF
46444
46445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46446 fi
46447
46448 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46449 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46450 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46451 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46452 else
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_EXCEPTIONS 1
46455 _ACEOF
46456
46457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46458 fi
46459 fi
46460
46461 USE_HTML=0
46462 if test "$wxUSE_HTML" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_HTML 1
46465 _ACEOF
46466
46467 USE_HTML=1
46468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46469 if test "$wxUSE_MAC" = 1; then
46470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46471 fi
46472 fi
46473 if test "$wxUSE_WEBKIT" = "yes"; then
46474 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46475 old_CPPFLAGS="$CPPFLAGS"
46476 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46477 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46478 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46479 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46480 echo $ECHO_N "(cached) $ECHO_C" >&6
46481 else
46482 cat >conftest.$ac_ext <<_ACEOF
46483 /* confdefs.h. */
46484 _ACEOF
46485 cat confdefs.h >>conftest.$ac_ext
46486 cat >>conftest.$ac_ext <<_ACEOF
46487 /* end confdefs.h. */
46488 #include <Carbon/Carbon.h>
46489
46490 #include <WebKit/HIWebView.h>
46491 _ACEOF
46492 rm -f conftest.$ac_objext
46493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46494 (eval $ac_compile) 2>conftest.er1
46495 ac_status=$?
46496 grep -v '^ *+' conftest.er1 >conftest.err
46497 rm -f conftest.er1
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } &&
46501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46503 (eval $ac_try) 2>&5
46504 ac_status=$?
46505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46506 (exit $ac_status); }; } &&
46507 { ac_try='test -s conftest.$ac_objext'
46508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46509 (eval $ac_try) 2>&5
46510 ac_status=$?
46511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512 (exit $ac_status); }; }; then
46513 ac_cv_header_WebKit_HIWebView_h=yes
46514 else
46515 echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.$ac_ext >&5
46517
46518 ac_cv_header_WebKit_HIWebView_h=no
46519 fi
46520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46521 fi
46522 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46523 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46524 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46525
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_WEBKIT 1
46528 _ACEOF
46529
46530 WEBKIT_LINK="-framework WebKit"
46531
46532 else
46533
46534 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46535 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46536 wxUSE_WEBKIT=no
46537
46538 fi
46539
46540
46541 CPPFLAGS="$old_CPPFLAGS"
46542 elif test "$wxUSE_COCOA" = 1; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_WEBKIT 1
46545 _ACEOF
46546
46547 else
46548 wxUSE_WEBKIT=no
46549 fi
46550 fi
46551
46552 USE_XRC=0
46553 if test "$wxUSE_XRC" = "yes"; then
46554 if test "$wxUSE_XML" != "yes"; then
46555 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46556 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46557 wxUSE_XRC=no
46558 else
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_XRC 1
46561 _ACEOF
46562
46563 USE_XRC=1
46564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46565 fi
46566 fi
46567
46568 USE_AUI=0
46569 if test "$wxUSE_AUI" = "yes"; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_AUI 1
46572 _ACEOF
46573
46574 USE_AUI=1
46575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46576 fi
46577
46578 if test "$wxUSE_MENUS" = "yes"; then
46579 cat >>confdefs.h <<\_ACEOF
46580 #define wxUSE_MENUS 1
46581 _ACEOF
46582
46583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46584 fi
46585
46586 if test "$wxUSE_METAFILE" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_METAFILE 1
46589 _ACEOF
46590
46591 fi
46592
46593 if test "$wxUSE_MIMETYPE" = "yes"; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_MIMETYPE 1
46596 _ACEOF
46597
46598 fi
46599
46600 if test "$wxUSE_MINIFRAME" = "yes"; then
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_MINIFRAME 1
46603 _ACEOF
46604
46605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46606 fi
46607
46608 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_SYSTEM_OPTIONS 1
46611 _ACEOF
46612
46613 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46614 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46616 fi
46617 fi
46618
46619
46620 if test "$wxUSE_VALIDATORS" = "yes"; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_VALIDATORS 1
46623 _ACEOF
46624
46625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46626 fi
46627
46628 if test "$wxUSE_PALETTE" = "yes" ; then
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_PALETTE 1
46631 _ACEOF
46632
46633 fi
46634
46635 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46636 LIBS=" -lunicows $LIBS"
46637 fi
46638
46639 USE_RICHTEXT=0
46640 if test "$wxUSE_RICHTEXT" = "yes"; then
46641 cat >>confdefs.h <<\_ACEOF
46642 #define wxUSE_RICHTEXT 1
46643 _ACEOF
46644
46645 USE_RICHTEXT=1
46646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46647 fi
46648
46649
46650 if test "$wxUSE_IMAGE" = "yes" ; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_IMAGE 1
46653 _ACEOF
46654
46655
46656 if test "$wxUSE_GIF" = "yes" ; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_GIF 1
46659 _ACEOF
46660
46661 fi
46662
46663 if test "$wxUSE_PCX" = "yes" ; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_PCX 1
46666 _ACEOF
46667
46668 fi
46669
46670 if test "$wxUSE_TGA" = "yes" ; then
46671 cat >>confdefs.h <<\_ACEOF
46672 #define wxUSE_TGA 1
46673 _ACEOF
46674
46675 fi
46676
46677 if test "$wxUSE_IFF" = "yes" ; then
46678 cat >>confdefs.h <<\_ACEOF
46679 #define wxUSE_IFF 1
46680 _ACEOF
46681
46682 fi
46683
46684 if test "$wxUSE_PNM" = "yes" ; then
46685 cat >>confdefs.h <<\_ACEOF
46686 #define wxUSE_PNM 1
46687 _ACEOF
46688
46689 fi
46690
46691 if test "$wxUSE_XPM" = "yes" ; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_XPM 1
46694 _ACEOF
46695
46696 fi
46697
46698 if test "$wxUSE_ICO_CUR" = "yes" ; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_ICO_CUR 1
46701 _ACEOF
46702
46703 fi
46704 fi
46705
46706
46707 if test "$wxUSE_ABOUTDLG" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_ABOUTDLG 1
46710 _ACEOF
46711
46712 fi
46713
46714 if test "$wxUSE_CHOICEDLG" = "yes"; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_CHOICEDLG 1
46717 _ACEOF
46718
46719 fi
46720
46721 if test "$wxUSE_COLOURDLG" = "yes"; then
46722 cat >>confdefs.h <<\_ACEOF
46723 #define wxUSE_COLOURDLG 1
46724 _ACEOF
46725
46726 fi
46727
46728 if test "$wxUSE_FILEDLG" = "yes"; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_FILEDLG 1
46731 _ACEOF
46732
46733 fi
46734
46735 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46736 cat >>confdefs.h <<\_ACEOF
46737 #define wxUSE_FINDREPLDLG 1
46738 _ACEOF
46739
46740 fi
46741
46742 if test "$wxUSE_FONTDLG" = "yes"; then
46743 cat >>confdefs.h <<\_ACEOF
46744 #define wxUSE_FONTDLG 1
46745 _ACEOF
46746
46747 fi
46748
46749 if test "$wxUSE_DIRDLG" = "yes"; then
46750 if test "$wxUSE_TREECTRL" != "yes"; then
46751 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46752 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46753 else
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_DIRDLG 1
46756 _ACEOF
46757
46758 fi
46759 fi
46760
46761 if test "$wxUSE_MSGDLG" = "yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_MSGDLG 1
46764 _ACEOF
46765
46766 fi
46767
46768 if test "$wxUSE_NUMBERDLG" = "yes"; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_NUMBERDLG 1
46771 _ACEOF
46772
46773 fi
46774
46775 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46776 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46777 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46778 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46779 else
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_PROGRESSDLG 1
46782 _ACEOF
46783
46784 fi
46785 fi
46786
46787 if test "$wxUSE_SPLASH" = "yes"; then
46788 cat >>confdefs.h <<\_ACEOF
46789 #define wxUSE_SPLASH 1
46790 _ACEOF
46791
46792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46793 fi
46794
46795 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46796 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46797 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46798 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46799 else
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_STARTUP_TIPS 1
46802 _ACEOF
46803
46804 fi
46805 fi
46806
46807 if test "$wxUSE_TEXTDLG" = "yes"; then
46808 cat >>confdefs.h <<\_ACEOF
46809 #define wxUSE_TEXTDLG 1
46810 _ACEOF
46811
46812 fi
46813
46814 if test "$wxUSE_WIZARDDLG" = "yes"; then
46815 cat >>confdefs.h <<\_ACEOF
46816 #define wxUSE_WIZARDDLG 1
46817 _ACEOF
46818
46819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46820 fi
46821
46822
46823 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46824 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_GRAPHICS_CONTEXT 1
46827 _ACEOF
46828
46829 elif test "$wxUSE_GTK" != 1; then
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_GRAPHICS_CONTEXT 1
46832 _ACEOF
46833
46834 else
46835
46836 pkg_failed=no
46837 echo "$as_me:$LINENO: checking for CAIRO" >&5
46838 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46839
46840 if test -n "$PKG_CONFIG"; then
46841 if test -n "$CAIRO_CFLAGS"; then
46842 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46843 else
46844 if test -n "$PKG_CONFIG" && \
46845 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46846 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46847 ac_status=$?
46848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46849 (exit $ac_status); }; then
46850 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46851 else
46852 pkg_failed=yes
46853 fi
46854 fi
46855 else
46856 pkg_failed=untried
46857 fi
46858 if test -n "$PKG_CONFIG"; then
46859 if test -n "$CAIRO_LIBS"; then
46860 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46861 else
46862 if test -n "$PKG_CONFIG" && \
46863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46864 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46865 ac_status=$?
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); }; then
46868 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46869 else
46870 pkg_failed=yes
46871 fi
46872 fi
46873 else
46874 pkg_failed=untried
46875 fi
46876
46877
46878
46879 if test $pkg_failed = yes; then
46880
46881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46882 _pkg_short_errors_supported=yes
46883 else
46884 _pkg_short_errors_supported=no
46885 fi
46886 if test $_pkg_short_errors_supported = yes; then
46887 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46888 else
46889 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46890 fi
46891 # Put the nasty error message in config.log where it belongs
46892 echo "$CAIRO_PKG_ERRORS" >&5
46893
46894 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46895 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46896
46897 elif test $pkg_failed = untried; then
46898 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46899 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46900
46901 else
46902 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46903 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46904 echo "$as_me:$LINENO: result: yes" >&5
46905 echo "${ECHO_T}yes" >&6
46906 cat >>confdefs.h <<\_ACEOF
46907 #define wxUSE_GRAPHICS_CONTEXT 1
46908 _ACEOF
46909
46910 fi
46911 fi
46912 fi
46913
46914
46915 USE_MEDIA=0
46916
46917 if test "$wxUSE_MEDIACTRL" = "yes"; then
46918 USE_MEDIA=1
46919
46920 if test "$wxUSE_GTK" = 1; then
46921 wxUSE_GSTREAMER="no"
46922
46923 GST_VERSION_MAJOR=0
46924 GST_VERSION_MINOR=10
46925 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46926
46927 if test "$wxUSE_GSTREAMER8" = "no"; then
46928
46929 pkg_failed=no
46930 echo "$as_me:$LINENO: checking for GST" >&5
46931 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46932
46933 if test -n "$PKG_CONFIG"; then
46934 if test -n "$GST_CFLAGS"; then
46935 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46936 else
46937 if test -n "$PKG_CONFIG" && \
46938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46939 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46940 ac_status=$?
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); }; then
46943 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46944 else
46945 pkg_failed=yes
46946 fi
46947 fi
46948 else
46949 pkg_failed=untried
46950 fi
46951 if test -n "$PKG_CONFIG"; then
46952 if test -n "$GST_LIBS"; then
46953 pkg_cv_GST_LIBS="$GST_LIBS"
46954 else
46955 if test -n "$PKG_CONFIG" && \
46956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46957 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46958 ac_status=$?
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); }; then
46961 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46962 else
46963 pkg_failed=yes
46964 fi
46965 fi
46966 else
46967 pkg_failed=untried
46968 fi
46969
46970
46971
46972 if test $pkg_failed = yes; then
46973
46974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46975 _pkg_short_errors_supported=yes
46976 else
46977 _pkg_short_errors_supported=no
46978 fi
46979 if test $_pkg_short_errors_supported = yes; then
46980 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46981 else
46982 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46983 fi
46984 # Put the nasty error message in config.log where it belongs
46985 echo "$GST_PKG_ERRORS" >&5
46986
46987
46988 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46989 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46990 GST_VERSION_MINOR=8
46991
46992
46993 elif test $pkg_failed = untried; then
46994
46995 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46996 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46997 GST_VERSION_MINOR=8
46998
46999
47000 else
47001 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47002 GST_LIBS=$pkg_cv_GST_LIBS
47003 echo "$as_me:$LINENO: result: yes" >&5
47004 echo "${ECHO_T}yes" >&6
47005
47006 wxUSE_GSTREAMER="yes"
47007 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47008
47009 fi
47010 else
47011 GST_VERSION_MINOR=8
47012 fi
47013
47014 if test $GST_VERSION_MINOR = "8"; then
47015 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47016
47017 pkg_failed=no
47018 echo "$as_me:$LINENO: checking for GST" >&5
47019 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47020
47021 if test -n "$PKG_CONFIG"; then
47022 if test -n "$GST_CFLAGS"; then
47023 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47024 else
47025 if test -n "$PKG_CONFIG" && \
47026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47027 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47028 ac_status=$?
47029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47030 (exit $ac_status); }; then
47031 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47032 else
47033 pkg_failed=yes
47034 fi
47035 fi
47036 else
47037 pkg_failed=untried
47038 fi
47039 if test -n "$PKG_CONFIG"; then
47040 if test -n "$GST_LIBS"; then
47041 pkg_cv_GST_LIBS="$GST_LIBS"
47042 else
47043 if test -n "$PKG_CONFIG" && \
47044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47045 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47046 ac_status=$?
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); }; then
47049 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47050 else
47051 pkg_failed=yes
47052 fi
47053 fi
47054 else
47055 pkg_failed=untried
47056 fi
47057
47058
47059
47060 if test $pkg_failed = yes; then
47061
47062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47063 _pkg_short_errors_supported=yes
47064 else
47065 _pkg_short_errors_supported=no
47066 fi
47067 if test $_pkg_short_errors_supported = yes; then
47068 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47069 else
47070 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47071 fi
47072 # Put the nasty error message in config.log where it belongs
47073 echo "$GST_PKG_ERRORS" >&5
47074
47075
47076 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47077 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47078
47079 elif test $pkg_failed = untried; then
47080
47081 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47082 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47083
47084 else
47085 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47086 GST_LIBS=$pkg_cv_GST_LIBS
47087 echo "$as_me:$LINENO: result: yes" >&5
47088 echo "${ECHO_T}yes" >&6
47089 wxUSE_GSTREAMER="yes"
47090 fi
47091 fi
47092
47093
47094 if test "$wxUSE_GSTREAMER" = "yes"; then
47095 case "${host}" in
47096 *-*-solaris2* )
47097 if "$GCC" = yes; then
47098 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47099 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47100 fi
47101 esac
47102
47103 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47104 LIBS="$GST_LIBS $LIBS"
47105
47106 cat >>confdefs.h <<\_ACEOF
47107 #define wxUSE_GSTREAMER 1
47108 _ACEOF
47109
47110 else
47111 USE_MEDIA=0
47112 fi
47113 fi
47114
47115 if test $USE_MEDIA = 1; then
47116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_MEDIACTRL 1
47119 _ACEOF
47120
47121 fi
47122 fi
47123
47124
47125 if test "$cross_compiling" = "yes"; then
47126 OSINFO="\"$host\""
47127 else
47128 OSINFO=`uname -s -r -m`
47129 OSINFO="\"$OSINFO\""
47130 fi
47131
47132 cat >>confdefs.h <<_ACEOF
47133 #define WXWIN_OS_DESCRIPTION $OSINFO
47134 _ACEOF
47135
47136
47137
47138 if test "x$prefix" != "xNONE"; then
47139 wxPREFIX=$prefix
47140 else
47141 wxPREFIX=$ac_default_prefix
47142 fi
47143
47144 cat >>confdefs.h <<_ACEOF
47145 #define wxINSTALL_PREFIX "$wxPREFIX"
47146 _ACEOF
47147
47148
47149
47150
47151 CORE_BASE_LIBS="net base"
47152 CORE_GUI_LIBS="adv core"
47153
47154 if test "$wxUSE_XML" = "yes" ; then
47155 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47156 fi
47157 if test "$wxUSE_ODBC" != "no" ; then
47158 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47159 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47160 fi
47161 if test "$wxUSE_HTML" = "yes" ; then
47162 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47163 fi
47164 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47165 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47166 fi
47167 if test "$wxUSE_XRC" = "yes" ; then
47168 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47169 fi
47170 if test "$wxUSE_AUI" = "yes" ; then
47171 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47172 fi
47173
47174 if test "$wxUSE_GUI" != "yes"; then
47175 CORE_GUI_LIBS=""
47176 fi
47177
47178
47179
47180
47181
47182 ac_ext=c
47183 ac_cpp='$CPP $CPPFLAGS'
47184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47187
47188
47189
47190 if test "$wxUSE_MAC" = 1 ; then
47191 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47192 if test "$USE_DARWIN" = 1; then
47193 LDFLAGS="$LDFLAGS -framework QuickTime"
47194 else
47195 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47196 fi
47197 fi
47198 if test "$USE_DARWIN" = 1; then
47199 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47200 else
47201 LDFLAGS="$LDFLAGS -lCarbonLib"
47202 fi
47203 fi
47204 if test "$wxUSE_COCOA" = 1 ; then
47205 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47206 if test "$wxUSE_MEDIACTRL" = "yes"; then
47207 LDFLAGS="$LDFLAGS -framework QuickTime"
47208 fi
47209 fi
47210 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47211 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47212 fi
47213
47214 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47215
47216 if test "$wxUSE_GUI" = "yes"; then
47217
47218
47219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47220 dynamic erase event exec font image minimal mobile \
47221 mobile/wxedit mobile/styles propsize render \
47222 rotate shaped vscroll widgets"
47223
47224 if test "$wxUSE_MONOLITHIC" != "yes"; then
47225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47226 fi
47227 if test "$TOOLKIT" = "MSW"; then
47228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47229 if test "$wxUSE_UNIVERSAL" != "yes"; then
47230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47231 fi
47232 fi
47233 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47235 fi
47236 else
47237 SAMPLES_SUBDIRS="console"
47238 fi
47239
47240
47241 if test "x$INTELCC" = "xyes" ; then
47242 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47243 elif test "$GCC" = yes ; then
47244 CWARNINGS="-Wall -Wundef"
47245 fi
47246
47247 if test "x$INTELCXX" = "xyes" ; then
47248 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47249 elif test "$GXX" = yes ; then
47250 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47251 fi
47252
47253
47254 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47255 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47256
47257
47258 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47259 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47260 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47261 $CPPFLAGS `
47262
47263 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47264 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47265 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47266
47267 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47268
47269
47270 if test "x$MWCC" = "xyes"; then
47271
47272 CC="$CC -cwd source -I-"
47273 CXX="$CXX -cwd source -I-"
47274 fi
47275
47276
47277 LIBS=`echo $LIBS`
47278 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47279 EXTRALIBS_XML="$EXPAT_LINK"
47280 EXTRALIBS_HTML="$MSPACK_LINK"
47281 EXTRALIBS_ODBC="$ODBC_LINK"
47282 if test "$wxUSE_GUI" = "yes"; then
47283 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47284 fi
47285 if test "$wxUSE_OPENGL" = "yes"; then
47286 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47287 fi
47288
47289 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47290
47291 WXCONFIG_LIBS="$LIBS"
47292
47293 if test "$wxUSE_REGEX" = "builtin" ; then
47294 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47295 fi
47296 if test "$wxUSE_EXPAT" = "builtin" ; then
47297 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47298 fi
47299 if test "$wxUSE_ODBC" = "builtin" ; then
47300 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47301 fi
47302 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47303 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47304 fi
47305 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47306 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47307 fi
47308 if test "$wxUSE_LIBPNG" = "builtin" ; then
47309 wxconfig_3rdparty="png $wxconfig_3rdparty"
47310 fi
47311 if test "$wxUSE_ZLIB" = "builtin" ; then
47312 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47313 fi
47314
47315 for i in $wxconfig_3rdparty ; do
47316 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47317 done
47318
47319
47320 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47321 WXUNIV=1
47322
47323 case "$wxUNIV_THEMES" in
47324 ''|all)
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_ALL_THEMES 1
47327 _ACEOF
47328
47329 ;;
47330
47331 *)
47332 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47333 cat >>confdefs.h <<_ACEOF
47334 #define wxUSE_THEME_$t 1
47335 _ACEOF
47336
47337 done
47338 esac
47339 else
47340 WXUNIV=0
47341 fi
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351 if test $wxUSE_MONOLITHIC = "yes" ; then
47352 MONOLITHIC=1
47353 else
47354 MONOLITHIC=0
47355 fi
47356
47357 if test $wxUSE_PLUGINS = "yes" ; then
47358 USE_PLUGINS=1
47359 else
47360 USE_PLUGINS=0
47361 fi
47362
47363 if test $wxUSE_ODBC != "no" ; then
47364 USE_ODBC=1
47365 else
47366 USE_ODBC=0
47367 fi
47368
47369 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47370 USE_QA=1
47371 else
47372 USE_QA=0
47373 fi
47374
47375 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47376 OFFICIAL_BUILD=1
47377 else
47378 OFFICIAL_BUILD=0
47379 fi
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47406
47407
47408
47409
47410
47411
47412
47413
47414 case "$TOOLKIT" in
47415 GTK)
47416 TOOLKIT_DESC="GTK+"
47417 if test "$WXGTK20" = 1; then
47418 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47419 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47420 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47421 fi
47422 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47423 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47424 fi
47425 if test "$wxUSE_LIBHILDON" = "yes"; then
47426 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47427 fi
47428
47429 if test "$TOOLKIT_EXTRA" != ""; then
47430 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47431 fi
47432 fi
47433 ;;
47434
47435 ?*)
47436 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47437 ;;
47438
47439 *)
47440 TOOLKIT_DESC="base only"
47441 ;;
47442 esac
47443
47444 if test "$wxUSE_WINE" = "yes"; then
47445 BAKEFILE_FORCE_PLATFORM=win32
47446 fi
47447
47448 if test "$wxUSE_MAC" = 1 ; then
47449 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47450 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47451 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47452 else
47453 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47454 fi
47455 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47456 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47457 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47458 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47459 bk_use_pch=no
47460 fi
47461 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47462 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47463 fi
47464
47465 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47466 then
47467 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47468 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47469 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47470 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 else
47472
47473 echo '#include <stdio.h>
47474 const wchar_t test_var[] = L"awidetest";' > conftest.h
47475
47476 echo '#include "conftest.h"
47477 int main()
47478 {
47479 printf("%ls", test_var);
47480 return 0;
47481 }' > conftest.cpp
47482
47483 wx_cv_gcc_pch_bug="pch not supported"
47484
47485 if $CXX conftest.h >/dev/null 2>&1
47486 then
47487 wx_cv_gcc_pch_bug=
47488
47489 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47490 then
47491 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47492 grep awidetest >/dev/null
47493 then
47494 wx_cv_gcc_pch_bug=no
47495 else
47496 wx_cv_gcc_pch_bug=yes
47497 fi
47498 fi
47499 fi
47500
47501 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47502
47503 fi
47504 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47505 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47506
47507 if test "$wx_cv_gcc_pch_bug" = yes; then
47508 bk_use_pch=no
47509 fi
47510 fi
47511
47512
47513
47514
47515 if test "x$BAKEFILE_HOST" = "x"; then
47516 if test "x${host}" = "x" ; then
47517 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47518 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47519 { (exit 1); exit 1; }; }
47520 fi
47521
47522 BAKEFILE_HOST="${host}"
47523 fi
47524
47525 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47526
47527 if test -n "$ac_tool_prefix"; then
47528 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47529 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47530 echo "$as_me:$LINENO: checking for $ac_word" >&5
47531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47532 if test "${ac_cv_prog_RANLIB+set}" = set; then
47533 echo $ECHO_N "(cached) $ECHO_C" >&6
47534 else
47535 if test -n "$RANLIB"; then
47536 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47537 else
47538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47539 for as_dir in $PATH
47540 do
47541 IFS=$as_save_IFS
47542 test -z "$as_dir" && as_dir=.
47543 for ac_exec_ext in '' $ac_executable_extensions; do
47544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47545 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47547 break 2
47548 fi
47549 done
47550 done
47551
47552 fi
47553 fi
47554 RANLIB=$ac_cv_prog_RANLIB
47555 if test -n "$RANLIB"; then
47556 echo "$as_me:$LINENO: result: $RANLIB" >&5
47557 echo "${ECHO_T}$RANLIB" >&6
47558 else
47559 echo "$as_me:$LINENO: result: no" >&5
47560 echo "${ECHO_T}no" >&6
47561 fi
47562
47563 fi
47564 if test -z "$ac_cv_prog_RANLIB"; then
47565 ac_ct_RANLIB=$RANLIB
47566 # Extract the first word of "ranlib", so it can be a program name with args.
47567 set dummy ranlib; ac_word=$2
47568 echo "$as_me:$LINENO: checking for $ac_word" >&5
47569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47570 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47571 echo $ECHO_N "(cached) $ECHO_C" >&6
47572 else
47573 if test -n "$ac_ct_RANLIB"; then
47574 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47575 else
47576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47577 for as_dir in $PATH
47578 do
47579 IFS=$as_save_IFS
47580 test -z "$as_dir" && as_dir=.
47581 for ac_exec_ext in '' $ac_executable_extensions; do
47582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47583 ac_cv_prog_ac_ct_RANLIB="ranlib"
47584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47585 break 2
47586 fi
47587 done
47588 done
47589
47590 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47591 fi
47592 fi
47593 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47594 if test -n "$ac_ct_RANLIB"; then
47595 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47596 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47597 else
47598 echo "$as_me:$LINENO: result: no" >&5
47599 echo "${ECHO_T}no" >&6
47600 fi
47601
47602 RANLIB=$ac_ct_RANLIB
47603 else
47604 RANLIB="$ac_cv_prog_RANLIB"
47605 fi
47606
47607 # Find a good install program. We prefer a C program (faster),
47608 # so one script is as good as another. But avoid the broken or
47609 # incompatible versions:
47610 # SysV /etc/install, /usr/sbin/install
47611 # SunOS /usr/etc/install
47612 # IRIX /sbin/install
47613 # AIX /bin/install
47614 # AmigaOS /C/install, which installs bootblocks on floppy discs
47615 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47616 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47617 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47618 # OS/2's system install, which has a completely different semantic
47619 # ./install, which can be erroneously created by make from ./install.sh.
47620 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47621 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47622 if test -z "$INSTALL"; then
47623 if test "${ac_cv_path_install+set}" = set; then
47624 echo $ECHO_N "(cached) $ECHO_C" >&6
47625 else
47626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47627 for as_dir in $PATH
47628 do
47629 IFS=$as_save_IFS
47630 test -z "$as_dir" && as_dir=.
47631 # Account for people who put trailing slashes in PATH elements.
47632 case $as_dir/ in
47633 ./ | .// | /cC/* | \
47634 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47635 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47636 /usr/ucb/* ) ;;
47637 *)
47638 # OSF1 and SCO ODT 3.0 have their own names for install.
47639 # Don't use installbsd from OSF since it installs stuff as root
47640 # by default.
47641 for ac_prog in ginstall scoinst install; do
47642 for ac_exec_ext in '' $ac_executable_extensions; do
47643 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47644 if test $ac_prog = install &&
47645 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47646 # AIX install. It has an incompatible calling convention.
47647 :
47648 elif test $ac_prog = install &&
47649 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47650 # program-specific install script used by HP pwplus--don't use.
47651 :
47652 else
47653 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47654 break 3
47655 fi
47656 fi
47657 done
47658 done
47659 ;;
47660 esac
47661 done
47662
47663
47664 fi
47665 if test "${ac_cv_path_install+set}" = set; then
47666 INSTALL=$ac_cv_path_install
47667 else
47668 # As a last resort, use the slow shell script. We don't cache a
47669 # path for INSTALL within a source directory, because that will
47670 # break other packages using the cache if that directory is
47671 # removed, or if the path is relative.
47672 INSTALL=$ac_install_sh
47673 fi
47674 fi
47675 echo "$as_me:$LINENO: result: $INSTALL" >&5
47676 echo "${ECHO_T}$INSTALL" >&6
47677
47678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47679 # It thinks the first close brace ends the variable substitution.
47680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47681
47682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47683
47684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47685
47686 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47687 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47688 LN_S=$as_ln_s
47689 if test "$LN_S" = "ln -s"; then
47690 echo "$as_me:$LINENO: result: yes" >&5
47691 echo "${ECHO_T}yes" >&6
47692 else
47693 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47694 echo "${ECHO_T}no, using $LN_S" >&6
47695 fi
47696
47697
47698 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47699 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47700 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47701 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47702 echo $ECHO_N "(cached) $ECHO_C" >&6
47703 else
47704 cat >conftest.make <<\_ACEOF
47705 all:
47706 @echo 'ac_maketemp="$(MAKE)"'
47707 _ACEOF
47708 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47709 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47710 if test -n "$ac_maketemp"; then
47711 eval ac_cv_prog_make_${ac_make}_set=yes
47712 else
47713 eval ac_cv_prog_make_${ac_make}_set=no
47714 fi
47715 rm -f conftest.make
47716 fi
47717 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47718 echo "$as_me:$LINENO: result: yes" >&5
47719 echo "${ECHO_T}yes" >&6
47720 SET_MAKE=
47721 else
47722 echo "$as_me:$LINENO: result: no" >&5
47723 echo "${ECHO_T}no" >&6
47724 SET_MAKE="MAKE=${MAKE-make}"
47725 fi
47726
47727
47728
47729 if test -n "$ac_tool_prefix"; then
47730 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47731 set dummy ${ac_tool_prefix}ar; ac_word=$2
47732 echo "$as_me:$LINENO: checking for $ac_word" >&5
47733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47734 if test "${ac_cv_prog_AR+set}" = set; then
47735 echo $ECHO_N "(cached) $ECHO_C" >&6
47736 else
47737 if test -n "$AR"; then
47738 ac_cv_prog_AR="$AR" # Let the user override the test.
47739 else
47740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47741 for as_dir in $PATH
47742 do
47743 IFS=$as_save_IFS
47744 test -z "$as_dir" && as_dir=.
47745 for ac_exec_ext in '' $ac_executable_extensions; do
47746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47747 ac_cv_prog_AR="${ac_tool_prefix}ar"
47748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47749 break 2
47750 fi
47751 done
47752 done
47753
47754 fi
47755 fi
47756 AR=$ac_cv_prog_AR
47757 if test -n "$AR"; then
47758 echo "$as_me:$LINENO: result: $AR" >&5
47759 echo "${ECHO_T}$AR" >&6
47760 else
47761 echo "$as_me:$LINENO: result: no" >&5
47762 echo "${ECHO_T}no" >&6
47763 fi
47764
47765 fi
47766 if test -z "$ac_cv_prog_AR"; then
47767 ac_ct_AR=$AR
47768 # Extract the first word of "ar", so it can be a program name with args.
47769 set dummy ar; ac_word=$2
47770 echo "$as_me:$LINENO: checking for $ac_word" >&5
47771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47772 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47773 echo $ECHO_N "(cached) $ECHO_C" >&6
47774 else
47775 if test -n "$ac_ct_AR"; then
47776 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47777 else
47778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47779 for as_dir in $PATH
47780 do
47781 IFS=$as_save_IFS
47782 test -z "$as_dir" && as_dir=.
47783 for ac_exec_ext in '' $ac_executable_extensions; do
47784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47785 ac_cv_prog_ac_ct_AR="ar"
47786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47787 break 2
47788 fi
47789 done
47790 done
47791
47792 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47793 fi
47794 fi
47795 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47796 if test -n "$ac_ct_AR"; then
47797 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47798 echo "${ECHO_T}$ac_ct_AR" >&6
47799 else
47800 echo "$as_me:$LINENO: result: no" >&5
47801 echo "${ECHO_T}no" >&6
47802 fi
47803
47804 AR=$ac_ct_AR
47805 else
47806 AR="$ac_cv_prog_AR"
47807 fi
47808
47809 if test -n "$ac_tool_prefix"; then
47810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47811 set dummy ${ac_tool_prefix}strip; ac_word=$2
47812 echo "$as_me:$LINENO: checking for $ac_word" >&5
47813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47814 if test "${ac_cv_prog_STRIP+set}" = set; then
47815 echo $ECHO_N "(cached) $ECHO_C" >&6
47816 else
47817 if test -n "$STRIP"; then
47818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47819 else
47820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47821 for as_dir in $PATH
47822 do
47823 IFS=$as_save_IFS
47824 test -z "$as_dir" && as_dir=.
47825 for ac_exec_ext in '' $ac_executable_extensions; do
47826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47827 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47829 break 2
47830 fi
47831 done
47832 done
47833
47834 fi
47835 fi
47836 STRIP=$ac_cv_prog_STRIP
47837 if test -n "$STRIP"; then
47838 echo "$as_me:$LINENO: result: $STRIP" >&5
47839 echo "${ECHO_T}$STRIP" >&6
47840 else
47841 echo "$as_me:$LINENO: result: no" >&5
47842 echo "${ECHO_T}no" >&6
47843 fi
47844
47845 fi
47846 if test -z "$ac_cv_prog_STRIP"; then
47847 ac_ct_STRIP=$STRIP
47848 # Extract the first word of "strip", so it can be a program name with args.
47849 set dummy strip; ac_word=$2
47850 echo "$as_me:$LINENO: checking for $ac_word" >&5
47851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47852 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47853 echo $ECHO_N "(cached) $ECHO_C" >&6
47854 else
47855 if test -n "$ac_ct_STRIP"; then
47856 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47857 else
47858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47859 for as_dir in $PATH
47860 do
47861 IFS=$as_save_IFS
47862 test -z "$as_dir" && as_dir=.
47863 for ac_exec_ext in '' $ac_executable_extensions; do
47864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47865 ac_cv_prog_ac_ct_STRIP="strip"
47866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47867 break 2
47868 fi
47869 done
47870 done
47871
47872 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47873 fi
47874 fi
47875 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47876 if test -n "$ac_ct_STRIP"; then
47877 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47878 echo "${ECHO_T}$ac_ct_STRIP" >&6
47879 else
47880 echo "$as_me:$LINENO: result: no" >&5
47881 echo "${ECHO_T}no" >&6
47882 fi
47883
47884 STRIP=$ac_ct_STRIP
47885 else
47886 STRIP="$ac_cv_prog_STRIP"
47887 fi
47888
47889 if test -n "$ac_tool_prefix"; then
47890 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47891 set dummy ${ac_tool_prefix}nm; ac_word=$2
47892 echo "$as_me:$LINENO: checking for $ac_word" >&5
47893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47894 if test "${ac_cv_prog_NM+set}" = set; then
47895 echo $ECHO_N "(cached) $ECHO_C" >&6
47896 else
47897 if test -n "$NM"; then
47898 ac_cv_prog_NM="$NM" # Let the user override the test.
47899 else
47900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47901 for as_dir in $PATH
47902 do
47903 IFS=$as_save_IFS
47904 test -z "$as_dir" && as_dir=.
47905 for ac_exec_ext in '' $ac_executable_extensions; do
47906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47907 ac_cv_prog_NM="${ac_tool_prefix}nm"
47908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47909 break 2
47910 fi
47911 done
47912 done
47913
47914 fi
47915 fi
47916 NM=$ac_cv_prog_NM
47917 if test -n "$NM"; then
47918 echo "$as_me:$LINENO: result: $NM" >&5
47919 echo "${ECHO_T}$NM" >&6
47920 else
47921 echo "$as_me:$LINENO: result: no" >&5
47922 echo "${ECHO_T}no" >&6
47923 fi
47924
47925 fi
47926 if test -z "$ac_cv_prog_NM"; then
47927 ac_ct_NM=$NM
47928 # Extract the first word of "nm", so it can be a program name with args.
47929 set dummy nm; ac_word=$2
47930 echo "$as_me:$LINENO: checking for $ac_word" >&5
47931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47932 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47933 echo $ECHO_N "(cached) $ECHO_C" >&6
47934 else
47935 if test -n "$ac_ct_NM"; then
47936 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47937 else
47938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47939 for as_dir in $PATH
47940 do
47941 IFS=$as_save_IFS
47942 test -z "$as_dir" && as_dir=.
47943 for ac_exec_ext in '' $ac_executable_extensions; do
47944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47945 ac_cv_prog_ac_ct_NM="nm"
47946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47947 break 2
47948 fi
47949 done
47950 done
47951
47952 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47953 fi
47954 fi
47955 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47956 if test -n "$ac_ct_NM"; then
47957 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47958 echo "${ECHO_T}$ac_ct_NM" >&6
47959 else
47960 echo "$as_me:$LINENO: result: no" >&5
47961 echo "${ECHO_T}no" >&6
47962 fi
47963
47964 NM=$ac_ct_NM
47965 else
47966 NM="$ac_cv_prog_NM"
47967 fi
47968
47969
47970 case ${BAKEFILE_HOST} in
47971 *-hp-hpux* )
47972 INSTALL_DIR="mkdir -p"
47973 ;;
47974 *) INSTALL_DIR="$INSTALL -d"
47975 ;;
47976 esac
47977
47978
47979 LDFLAGS_GUI=
47980 case ${BAKEFILE_HOST} in
47981 *-*-cygwin* | *-*-mingw32* )
47982 LDFLAGS_GUI="-mwindows"
47983 esac
47984
47985
47986 fi
47987
47988 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47989 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47990 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47991 echo $ECHO_N "(cached) $ECHO_C" >&6
47992 else
47993
47994 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47995 egrep -s GNU > /dev/null); then
47996 bakefile_cv_prog_makeisgnu="yes"
47997 else
47998 bakefile_cv_prog_makeisgnu="no"
47999 fi
48000
48001 fi
48002 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48003 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48004
48005 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48006 IF_GNU_MAKE=""
48007 else
48008 IF_GNU_MAKE="#"
48009 fi
48010
48011
48012
48013 PLATFORM_UNIX=0
48014 PLATFORM_WIN32=0
48015 PLATFORM_MSDOS=0
48016 PLATFORM_MAC=0
48017 PLATFORM_MACOS=0
48018 PLATFORM_MACOSX=0
48019 PLATFORM_OS2=0
48020 PLATFORM_BEOS=0
48021
48022 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48023 case "${BAKEFILE_HOST}" in
48024 *-*-mingw32* )
48025 PLATFORM_WIN32=1
48026 ;;
48027 *-pc-msdosdjgpp )
48028 PLATFORM_MSDOS=1
48029 ;;
48030 *-pc-os2_emx | *-pc-os2-emx )
48031 PLATFORM_OS2=1
48032 ;;
48033 *-*-darwin* )
48034 PLATFORM_MAC=1
48035 PLATFORM_MACOSX=1
48036 ;;
48037 *-*-beos* )
48038 PLATFORM_BEOS=1
48039 ;;
48040 powerpc-apple-macos* )
48041 PLATFORM_MAC=1
48042 PLATFORM_MACOS=1
48043 ;;
48044 * )
48045 PLATFORM_UNIX=1
48046 ;;
48047 esac
48048 else
48049 case "$BAKEFILE_FORCE_PLATFORM" in
48050 win32 )
48051 PLATFORM_WIN32=1
48052 ;;
48053 msdos )
48054 PLATFORM_MSDOS=1
48055 ;;
48056 os2 )
48057 PLATFORM_OS2=1
48058 ;;
48059 darwin )
48060 PLATFORM_MAC=1
48061 PLATFORM_MACOSX=1
48062 ;;
48063 unix )
48064 PLATFORM_UNIX=1
48065 ;;
48066 beos )
48067 PLATFORM_BEOS=1
48068 ;;
48069 * )
48070 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48071 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48072 { (exit 1); exit 1; }; }
48073 ;;
48074 esac
48075 fi
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087 # Check whether --enable-omf or --disable-omf was given.
48088 if test "${enable_omf+set}" = set; then
48089 enableval="$enable_omf"
48090 bk_os2_use_omf="$enableval"
48091 fi;
48092
48093 case "${BAKEFILE_HOST}" in
48094 *-*-darwin* )
48095 if test "x$GCC" = "xyes"; then
48096 CFLAGS="$CFLAGS -fno-common"
48097 CXXFLAGS="$CXXFLAGS -fno-common"
48098 fi
48099 if test "x$XLCC" = "xyes"; then
48100 CFLAGS="$CFLAGS -qnocommon"
48101 CXXFLAGS="$CXXFLAGS -qnocommon"
48102 fi
48103 ;;
48104
48105 *-pc-os2_emx | *-pc-os2-emx )
48106 if test "x$bk_os2_use_omf" = "xyes" ; then
48107 AR=emxomfar
48108 RANLIB=:
48109 LDFLAGS="-Zomf $LDFLAGS"
48110 CFLAGS="-Zomf $CFLAGS"
48111 CXXFLAGS="-Zomf $CXXFLAGS"
48112 OS2_LIBEXT="lib"
48113 else
48114 OS2_LIBEXT="a"
48115 fi
48116 ;;
48117
48118 i*86-*-beos* )
48119 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48120 ;;
48121 esac
48122
48123
48124 SO_SUFFIX="so"
48125 SO_SUFFIX_MODULE="so"
48126 EXEEXT=""
48127 LIBPREFIX="lib"
48128 LIBEXT=".a"
48129 DLLPREFIX="lib"
48130 DLLPREFIX_MODULE=""
48131 DLLIMP_SUFFIX=""
48132 dlldir="$libdir"
48133
48134 case "${BAKEFILE_HOST}" in
48135 *-hp-hpux* )
48136 SO_SUFFIX="sl"
48137 SO_SUFFIX_MODULE="sl"
48138 ;;
48139 *-*-aix* )
48140 SO_SUFFIX="a"
48141 SO_SUFFIX_MODULE="a"
48142 ;;
48143 *-*-cygwin* )
48144 SO_SUFFIX="dll"
48145 SO_SUFFIX_MODULE="dll"
48146 DLLIMP_SUFFIX="dll.a"
48147 EXEEXT=".exe"
48148 DLLPREFIX="cyg"
48149 dlldir="$bindir"
48150 ;;
48151 *-*-mingw32* )
48152 SO_SUFFIX="dll"
48153 SO_SUFFIX_MODULE="dll"
48154 DLLIMP_SUFFIX="dll.a"
48155 EXEEXT=".exe"
48156 DLLPREFIX=""
48157 dlldir="$bindir"
48158 ;;
48159 *-pc-msdosdjgpp )
48160 EXEEXT=".exe"
48161 DLLPREFIX=""
48162 dlldir="$bindir"
48163 ;;
48164 *-pc-os2_emx | *-pc-os2-emx )
48165 SO_SUFFIX="dll"
48166 SO_SUFFIX_MODULE="dll"
48167 DLLIMP_SUFFIX=$OS2_LIBEXT
48168 EXEEXT=".exe"
48169 DLLPREFIX=""
48170 LIBPREFIX=""
48171 LIBEXT=".$OS2_LIBEXT"
48172 dlldir="$bindir"
48173 ;;
48174 *-*-darwin* )
48175 SO_SUFFIX="dylib"
48176 SO_SUFFIX_MODULE="bundle"
48177 ;;
48178 esac
48179
48180 if test "x$DLLIMP_SUFFIX" = "x" ; then
48181 DLLIMP_SUFFIX="$SO_SUFFIX"
48182 fi
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195 PIC_FLAG=""
48196 if test "x$GCC" = "xyes"; then
48197 PIC_FLAG="-fPIC"
48198 fi
48199
48200 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48201 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48202 WINDOWS_IMPLIB=0
48203
48204 case "${BAKEFILE_HOST}" in
48205 *-hp-hpux* )
48206 if test "x$GCC" != "xyes"; then
48207 LDFLAGS="$LDFLAGS -L/usr/lib"
48208
48209 SHARED_LD_CC="${CC} -b -o"
48210 SHARED_LD_CXX="${CXX} -b -o"
48211 PIC_FLAG="+Z"
48212 fi
48213 ;;
48214
48215 *-*-linux* )
48216 if test "x$GCC" != "xyes"; then
48217 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48218 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48219 if test "${bakefile_cv_prog_icc+set}" = set; then
48220 echo $ECHO_N "(cached) $ECHO_C" >&6
48221 else
48222
48223 cat >conftest.$ac_ext <<_ACEOF
48224 /* confdefs.h. */
48225 _ACEOF
48226 cat confdefs.h >>conftest.$ac_ext
48227 cat >>conftest.$ac_ext <<_ACEOF
48228 /* end confdefs.h. */
48229
48230 int
48231 main ()
48232 {
48233
48234 #ifndef __INTEL_COMPILER
48235 This is not ICC
48236 #endif
48237
48238 ;
48239 return 0;
48240 }
48241 _ACEOF
48242 rm -f conftest.$ac_objext
48243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48244 (eval $ac_compile) 2>conftest.er1
48245 ac_status=$?
48246 grep -v '^ *+' conftest.er1 >conftest.err
48247 rm -f conftest.er1
48248 cat conftest.err >&5
48249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48250 (exit $ac_status); } &&
48251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48253 (eval $ac_try) 2>&5
48254 ac_status=$?
48255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48256 (exit $ac_status); }; } &&
48257 { ac_try='test -s conftest.$ac_objext'
48258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259 (eval $ac_try) 2>&5
48260 ac_status=$?
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); }; }; then
48263 bakefile_cv_prog_icc=yes
48264 else
48265 echo "$as_me: failed program was:" >&5
48266 sed 's/^/| /' conftest.$ac_ext >&5
48267
48268 bakefile_cv_prog_icc=no
48269
48270 fi
48271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48272
48273 fi
48274 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48275 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48276 if test "$bakefile_cv_prog_icc" = "yes"; then
48277 PIC_FLAG="-KPIC"
48278 fi
48279 fi
48280 ;;
48281
48282 *-*-solaris2* )
48283 if test "x$GCC" != xyes ; then
48284 SHARED_LD_CC="${CC} -G -o"
48285 SHARED_LD_CXX="${CXX} -G -o"
48286 PIC_FLAG="-KPIC"
48287 fi
48288 ;;
48289
48290 *-*-darwin* )
48291
48292 D='$'
48293 cat <<EOF >shared-ld-sh
48294 #!/bin/sh
48295 #-----------------------------------------------------------------------------
48296 #-- Name: distrib/mac/shared-ld-sh
48297 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48298 #-- Author: Gilles Depeyrot
48299 #-- Copyright: (c) 2002 Gilles Depeyrot
48300 #-- Licence: any use permitted
48301 #-----------------------------------------------------------------------------
48302
48303 verbose=0
48304 args=""
48305 objects=""
48306 linking_flag="-dynamiclib"
48307 ldargs="-r -keep_private_externs -nostdlib"
48308
48309 while test ${D}# -gt 0; do
48310 case ${D}1 in
48311
48312 -v)
48313 verbose=1
48314 ;;
48315
48316 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48317 # collect these options and values
48318 args="${D}{args} ${D}1 ${D}2"
48319 shift
48320 ;;
48321
48322 -s|-Wl,*)
48323 # collect these load args
48324 ldargs="${D}{ldargs} ${D}1"
48325 ;;
48326
48327 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48328 # collect these options
48329 args="${D}{args} ${D}1"
48330 ;;
48331
48332 -dynamiclib|-bundle)
48333 linking_flag="${D}1"
48334 ;;
48335
48336 -*)
48337 echo "shared-ld: unhandled option '${D}1'"
48338 exit 1
48339 ;;
48340
48341 *.o | *.a | *.dylib)
48342 # collect object files
48343 objects="${D}{objects} ${D}1"
48344 ;;
48345
48346 *)
48347 echo "shared-ld: unhandled argument '${D}1'"
48348 exit 1
48349 ;;
48350
48351 esac
48352 shift
48353 done
48354
48355 status=0
48356
48357 #
48358 # Link one module containing all the others
48359 #
48360 if test ${D}{verbose} = 1; then
48361 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48362 fi
48363 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48364 status=${D}?
48365
48366 #
48367 # Link the shared library from the single module created, but only if the
48368 # previous command didn't fail:
48369 #
48370 if test ${D}{status} = 0; then
48371 if test ${D}{verbose} = 1; then
48372 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48373 fi
48374 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48375 status=${D}?
48376 fi
48377
48378 #
48379 # Remove intermediate module
48380 #
48381 rm -f master.${D}${D}.o
48382
48383 exit ${D}status
48384 EOF
48385
48386 chmod +x shared-ld-sh
48387
48388 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48389 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48390
48391
48392 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48393 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48394 if test "${bakefile_cv_gcc31+set}" = set; then
48395 echo $ECHO_N "(cached) $ECHO_C" >&6
48396 else
48397
48398 cat >conftest.$ac_ext <<_ACEOF
48399 /* confdefs.h. */
48400 _ACEOF
48401 cat confdefs.h >>conftest.$ac_ext
48402 cat >>conftest.$ac_ext <<_ACEOF
48403 /* end confdefs.h. */
48404
48405 int
48406 main ()
48407 {
48408
48409 #if (__GNUC__ < 3) || \
48410 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48411 This is old gcc
48412 #endif
48413
48414 ;
48415 return 0;
48416 }
48417 _ACEOF
48418 rm -f conftest.$ac_objext
48419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48420 (eval $ac_compile) 2>conftest.er1
48421 ac_status=$?
48422 grep -v '^ *+' conftest.er1 >conftest.err
48423 rm -f conftest.er1
48424 cat conftest.err >&5
48425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48426 (exit $ac_status); } &&
48427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48429 (eval $ac_try) 2>&5
48430 ac_status=$?
48431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48432 (exit $ac_status); }; } &&
48433 { ac_try='test -s conftest.$ac_objext'
48434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48435 (eval $ac_try) 2>&5
48436 ac_status=$?
48437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438 (exit $ac_status); }; }; then
48439
48440 bakefile_cv_gcc31=yes
48441
48442 else
48443 echo "$as_me: failed program was:" >&5
48444 sed 's/^/| /' conftest.$ac_ext >&5
48445
48446
48447 bakefile_cv_gcc31=no
48448
48449
48450 fi
48451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48452
48453 fi
48454 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48455 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48456 if test "$bakefile_cv_gcc31" = "no"; then
48457 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48458 SHARED_LD_CXX="$SHARED_LD_CC"
48459 else
48460 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48461 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48462 fi
48463
48464 if test "x$GCC" == "xyes"; then
48465 PIC_FLAG="-dynamic -fPIC"
48466 fi
48467 if test "x$XLCC" = "xyes"; then
48468 PIC_FLAG="-dynamic -DPIC"
48469 fi
48470 ;;
48471
48472 *-*-aix* )
48473 if test "x$GCC" = "xyes"; then
48474 PIC_FLAG=""
48475
48476 case "${BAKEFILE_HOST}" in
48477 *-*-aix5* )
48478 LD_EXPFULL="-Wl,-bexpfull"
48479 ;;
48480 esac
48481
48482 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48483 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48484 else
48485 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48486 set dummy makeC++SharedLib; ac_word=$2
48487 echo "$as_me:$LINENO: checking for $ac_word" >&5
48488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48489 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48490 echo $ECHO_N "(cached) $ECHO_C" >&6
48491 else
48492 if test -n "$AIX_CXX_LD"; then
48493 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48494 else
48495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48496 for as_dir in $PATH
48497 do
48498 IFS=$as_save_IFS
48499 test -z "$as_dir" && as_dir=.
48500 for ac_exec_ext in '' $ac_executable_extensions; do
48501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48502 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48504 break 2
48505 fi
48506 done
48507 done
48508
48509 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48510 fi
48511 fi
48512 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48513 if test -n "$AIX_CXX_LD"; then
48514 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48515 echo "${ECHO_T}$AIX_CXX_LD" >&6
48516 else
48517 echo "$as_me:$LINENO: result: no" >&5
48518 echo "${ECHO_T}no" >&6
48519 fi
48520
48521 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48522 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48523 fi
48524 ;;
48525
48526 *-*-beos* )
48527 SHARED_LD_CC="${LD} -nostart -o"
48528 SHARED_LD_CXX="${LD} -nostart -o"
48529 ;;
48530
48531 *-*-irix* )
48532 if test "x$GCC" != "xyes"; then
48533 PIC_FLAG="-KPIC"
48534 fi
48535 ;;
48536
48537 *-*-cygwin* | *-*-mingw32* )
48538 PIC_FLAG=""
48539 SHARED_LD_CC="\$(CC) -shared -o"
48540 SHARED_LD_CXX="\$(CXX) -shared -o"
48541 WINDOWS_IMPLIB=1
48542 ;;
48543
48544 *-pc-os2_emx | *-pc-os2-emx )
48545 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48546 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48547 PIC_FLAG=""
48548
48549 D='$'
48550 cat <<EOF >dllar.sh
48551 #!/bin/sh
48552 #
48553 # dllar - a tool to build both a .dll and an .a file
48554 # from a set of object (.o) files for EMX/OS2.
48555 #
48556 # Written by Andrew Zabolotny, bit@freya.etu.ru
48557 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48558 #
48559 # This script will accept a set of files on the command line.
48560 # All the public symbols from the .o files will be exported into
48561 # a .DEF file, then linker will be run (through gcc) against them to
48562 # build a shared library consisting of all given .o files. All libraries
48563 # (.a) will be first decompressed into component .o files then act as
48564 # described above. You can optionally give a description (-d "description")
48565 # which will be put into .DLL. To see the list of accepted options (as well
48566 # as command-line format) simply run this program without options. The .DLL
48567 # is built to be imported by name (there is no guarantee that new versions
48568 # of the library you build will have same ordinals for same symbols).
48569 #
48570 # dllar is free software; you can redistribute it and/or modify
48571 # it under the terms of the GNU General Public License as published by
48572 # the Free Software Foundation; either version 2, or (at your option)
48573 # any later version.
48574 #
48575 # dllar is distributed in the hope that it will be useful,
48576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48578 # GNU General Public License for more details.
48579 #
48580 # You should have received a copy of the GNU General Public License
48581 # along with dllar; see the file COPYING. If not, write to the Free
48582 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48583 # 02111-1307, USA.
48584
48585 # To successfuly run this program you will need:
48586 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48587 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48588 # - gcc
48589 # (used to build the .dll)
48590 # - emxexp
48591 # (used to create .def file from .o files)
48592 # - emximp
48593 # (used to create .a file from .def file)
48594 # - GNU text utilites (cat, sort, uniq)
48595 # used to process emxexp output
48596 # - GNU file utilities (mv, rm)
48597 # - GNU sed
48598 # - lxlite (optional, see flag below)
48599 # (used for general .dll cleanup)
48600 #
48601
48602 flag_USE_LXLITE=1;
48603
48604 #
48605 # helper functions
48606 # basnam, variant of basename, which does _not_ remove the path, _iff_
48607 # second argument (suffix to remove) is given
48608 basnam(){
48609 case ${D}# in
48610 1)
48611 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48612 ;;
48613 2)
48614 echo ${D}1 | sed 's/'${D}2'${D}//'
48615 ;;
48616 *)
48617 echo "error in basnam ${D}*"
48618 exit 8
48619 ;;
48620 esac
48621 }
48622
48623 # Cleanup temporary files and output
48624 CleanUp() {
48625 cd ${D}curDir
48626 for i in ${D}inputFiles ; do
48627 case ${D}i in
48628 *!)
48629 rm -rf \`basnam ${D}i !\`
48630 ;;
48631 *)
48632 ;;
48633 esac
48634 done
48635
48636 # Kill result in case of failure as there is just to many stupid make/nmake
48637 # things out there which doesn't do this.
48638 if [ ${D}# -eq 0 ]; then
48639 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48640 fi
48641 }
48642
48643 # Print usage and exit script with rc=1.
48644 PrintHelp() {
48645 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48646 echo ' [-name-mangler-script script.sh]'
48647 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48648 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48649 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48650 echo ' [*.o] [*.a]'
48651 echo '*> "output_file" should have no extension.'
48652 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48653 echo ' The import library name is derived from this and is set to "name".a,'
48654 echo ' unless overridden by -import'
48655 echo '*> "importlib_name" should have no extension.'
48656 echo ' If it has the .o, or .a extension, it is automatically removed.'
48657 echo ' This name is used as the import library name and may be longer and'
48658 echo ' more descriptive than the DLL name which has to follow the old '
48659 echo ' 8.3 convention of FAT.'
48660 echo '*> "script.sh may be given to override the output_file name by a'
48661 echo ' different name. It is mainly useful if the regular make process'
48662 echo ' of some package does not take into account OS/2 restriction of'
48663 echo ' DLL name lengths. It takes the importlib name as input and is'
48664 echo ' supposed to procude a shorter name as output. The script should'
48665 echo ' expect to get importlib_name without extension and should produce'
48666 echo ' a (max.) 8 letter name without extension.'
48667 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48668 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48669 echo ' These flags will be put at the start of GCC command line.'
48670 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48671 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48672 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48673 echo ' If the last character of a symbol is "*", all symbols beginning'
48674 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48675 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48676 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48677 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48678 echo ' C runtime DLLs.'
48679 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48680 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48681 echo ' unchanged to GCC at the end of command line.'
48682 echo '*> If you create a DLL from a library and you do not specify -o,'
48683 echo ' the basename for DLL and import library will be set to library name,'
48684 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48685 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48686 echo ' library will be renamed into gcc_s.a.'
48687 echo '--------'
48688 echo 'Example:'
48689 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48690 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48691 CleanUp
48692 exit 1
48693 }
48694
48695 # Execute a command.
48696 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48697 # @Uses Whatever CleanUp() uses.
48698 doCommand() {
48699 echo "${D}*"
48700 eval ${D}*
48701 rcCmd=${D}?
48702
48703 if [ ${D}rcCmd -ne 0 ]; then
48704 echo "command failed, exit code="${D}rcCmd
48705 CleanUp
48706 exit ${D}rcCmd
48707 fi
48708 }
48709
48710 # main routine
48711 # setup globals
48712 cmdLine=${D}*
48713 outFile=""
48714 outimpFile=""
48715 inputFiles=""
48716 renameScript=""
48717 description=""
48718 CC=gcc.exe
48719 CFLAGS="-s -Zcrtdll"
48720 EXTRA_CFLAGS=""
48721 EXPORT_BY_ORDINALS=0
48722 exclude_symbols=""
48723 library_flags=""
48724 curDir=\`pwd\`
48725 curDirS=curDir
48726 case ${D}curDirS in
48727 */)
48728 ;;
48729 *)
48730 curDirS=${D}{curDirS}"/"
48731 ;;
48732 esac
48733 # Parse commandline
48734 libsToLink=0
48735 omfLinking=0
48736 while [ ${D}1 ]; do
48737 case ${D}1 in
48738 -ord*)
48739 EXPORT_BY_ORDINALS=1;
48740 ;;
48741 -o*)
48742 shift
48743 outFile=${D}1
48744 ;;
48745 -i*)
48746 shift
48747 outimpFile=${D}1
48748 ;;
48749 -name-mangler-script)
48750 shift
48751 renameScript=${D}1
48752 ;;
48753 -d*)
48754 shift
48755 description=${D}1
48756 ;;
48757 -f*)
48758 shift
48759 CFLAGS=${D}1
48760 ;;
48761 -c*)
48762 shift
48763 CC=${D}1
48764 ;;
48765 -h*)
48766 PrintHelp
48767 ;;
48768 -ex*)
48769 shift
48770 exclude_symbols=${D}{exclude_symbols}${D}1" "
48771 ;;
48772 -libf*)
48773 shift
48774 library_flags=${D}{library_flags}${D}1" "
48775 ;;
48776 -nocrt*)
48777 CFLAGS="-s"
48778 ;;
48779 -nolxl*)
48780 flag_USE_LXLITE=0
48781 ;;
48782 -* | /*)
48783 case ${D}1 in
48784 -L* | -l*)
48785 libsToLink=1
48786 ;;
48787 -Zomf)
48788 omfLinking=1
48789 ;;
48790 *)
48791 ;;
48792 esac
48793 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48794 ;;
48795 *.dll)
48796 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48797 if [ ${D}omfLinking -eq 1 ]; then
48798 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48799 else
48800 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48801 fi
48802 ;;
48803 *)
48804 found=0;
48805 if [ ${D}libsToLink -ne 0 ]; then
48806 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48807 else
48808 for file in ${D}1 ; do
48809 if [ -f ${D}file ]; then
48810 inputFiles="${D}{inputFiles} ${D}file"
48811 found=1
48812 fi
48813 done
48814 if [ ${D}found -eq 0 ]; then
48815 echo "ERROR: No file(s) found: "${D}1
48816 exit 8
48817 fi
48818 fi
48819 ;;
48820 esac
48821 shift
48822 done # iterate cmdline words
48823
48824 #
48825 if [ -z "${D}inputFiles" ]; then
48826 echo "dllar: no input files"
48827 PrintHelp
48828 fi
48829
48830 # Now extract all .o files from .a files
48831 newInputFiles=""
48832 for file in ${D}inputFiles ; do
48833 case ${D}file in
48834 *.a | *.lib)
48835 case ${D}file in
48836 *.a)
48837 suffix=".a"
48838 AR="ar"
48839 ;;
48840 *.lib)
48841 suffix=".lib"
48842 AR="emxomfar"
48843 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48844 ;;
48845 *)
48846 ;;
48847 esac
48848 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48849 mkdir ${D}dirname
48850 if [ ${D}? -ne 0 ]; then
48851 echo "Failed to create subdirectory ./${D}dirname"
48852 CleanUp
48853 exit 8;
48854 fi
48855 # Append '!' to indicate archive
48856 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48857 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48858 cd ${D}curDir
48859 found=0;
48860 for subfile in ${D}dirname/*.o* ; do
48861 if [ -f ${D}subfile ]; then
48862 found=1
48863 if [ -s ${D}subfile ]; then
48864 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48865 newInputFiles="${D}newInputFiles ${D}subfile"
48866 fi
48867 fi
48868 done
48869 if [ ${D}found -eq 0 ]; then
48870 echo "WARNING: there are no files in archive \\'${D}file\\'"
48871 fi
48872 ;;
48873 *)
48874 newInputFiles="${D}{newInputFiles} ${D}file"
48875 ;;
48876 esac
48877 done
48878 inputFiles="${D}newInputFiles"
48879
48880 # Output filename(s).
48881 do_backup=0;
48882 if [ -z ${D}outFile ]; then
48883 do_backup=1;
48884 set outFile ${D}inputFiles; outFile=${D}2
48885 fi
48886
48887 # If it is an archive, remove the '!' and the '_%' suffixes
48888 case ${D}outFile in
48889 *_%!)
48890 outFile=\`basnam ${D}outFile _%!\`
48891 ;;
48892 *)
48893 ;;
48894 esac
48895 case ${D}outFile in
48896 *.dll)
48897 outFile=\`basnam ${D}outFile .dll\`
48898 ;;
48899 *.DLL)
48900 outFile=\`basnam ${D}outFile .DLL\`
48901 ;;
48902 *.o)
48903 outFile=\`basnam ${D}outFile .o\`
48904 ;;
48905 *.obj)
48906 outFile=\`basnam ${D}outFile .obj\`
48907 ;;
48908 *.a)
48909 outFile=\`basnam ${D}outFile .a\`
48910 ;;
48911 *.lib)
48912 outFile=\`basnam ${D}outFile .lib\`
48913 ;;
48914 *)
48915 ;;
48916 esac
48917 case ${D}outimpFile in
48918 *.a)
48919 outimpFile=\`basnam ${D}outimpFile .a\`
48920 ;;
48921 *.lib)
48922 outimpFile=\`basnam ${D}outimpFile .lib\`
48923 ;;
48924 *)
48925 ;;
48926 esac
48927 if [ -z ${D}outimpFile ]; then
48928 outimpFile=${D}outFile
48929 fi
48930 defFile="${D}{outFile}.def"
48931 arcFile="${D}{outimpFile}.a"
48932 arcFile2="${D}{outimpFile}.lib"
48933
48934 #create ${D}dllFile as something matching 8.3 restrictions,
48935 if [ -z ${D}renameScript ] ; then
48936 dllFile="${D}outFile"
48937 else
48938 dllFile=\`${D}renameScript ${D}outimpFile\`
48939 fi
48940
48941 if [ ${D}do_backup -ne 0 ] ; then
48942 if [ -f ${D}arcFile ] ; then
48943 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48944 fi
48945 if [ -f ${D}arcFile2 ] ; then
48946 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48947 fi
48948 fi
48949
48950 # Extract public symbols from all the object files.
48951 tmpdefFile=${D}{defFile}_%
48952 rm -f ${D}tmpdefFile
48953 for file in ${D}inputFiles ; do
48954 case ${D}file in
48955 *!)
48956 ;;
48957 *)
48958 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48959 ;;
48960 esac
48961 done
48962
48963 # Create the def file.
48964 rm -f ${D}defFile
48965 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48966 dllFile="${D}{dllFile}.dll"
48967 if [ ! -z ${D}description ]; then
48968 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48969 fi
48970 echo "EXPORTS" >> ${D}defFile
48971
48972 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48973 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48974
48975 # Checks if the export is ok or not.
48976 for word in ${D}exclude_symbols; do
48977 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48978 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48979 done
48980
48981
48982 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48983 sed "=" < ${D}tmpdefFile | \\
48984 sed '
48985 N
48986 : loop
48987 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48988 t loop
48989 ' > ${D}{tmpdefFile}%
48990 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48991 else
48992 rm -f ${D}{tmpdefFile}%
48993 fi
48994 cat ${D}tmpdefFile >> ${D}defFile
48995 rm -f ${D}tmpdefFile
48996
48997 # Do linking, create implib, and apply lxlite.
48998 gccCmdl="";
48999 for file in ${D}inputFiles ; do
49000 case ${D}file in
49001 *!)
49002 ;;
49003 *)
49004 gccCmdl="${D}gccCmdl ${D}file"
49005 ;;
49006 esac
49007 done
49008 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49009 touch "${D}{outFile}.dll"
49010
49011 doCommand "emximp -o ${D}arcFile ${D}defFile"
49012 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49013 add_flags="";
49014 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49015 add_flags="-ynd"
49016 fi
49017 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49018 fi
49019 doCommand "emxomf -s -l ${D}arcFile"
49020
49021 # Successful exit.
49022 CleanUp 1
49023 exit 0
49024 EOF
49025
49026 chmod +x dllar.sh
49027 ;;
49028
49029 powerpc-apple-macos* | \
49030 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49031 *-*-sunos4* | \
49032 *-*-osf* | \
49033 *-*-dgux5* | \
49034 *-*-sysv5* | \
49035 *-pc-msdosdjgpp )
49036 ;;
49037
49038 *)
49039 esac
49040
49041 if test "x$PIC_FLAG" != "x" ; then
49042 PIC_FLAG="$PIC_FLAG -DPIC"
49043 fi
49044
49045 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49046 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49047 fi
49048 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49049 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49050 fi
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060 USE_SOVERSION=0
49061 USE_SOVERLINUX=0
49062 USE_SOVERSOLARIS=0
49063 USE_SOVERCYGWIN=0
49064 USE_SOSYMLINKS=0
49065 USE_MACVERSION=0
49066 SONAME_FLAG=
49067
49068 case "${BAKEFILE_HOST}" in
49069 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49070 SONAME_FLAG="-Wl,-soname,"
49071 USE_SOVERSION=1
49072 USE_SOVERLINUX=1
49073 USE_SOSYMLINKS=1
49074 ;;
49075
49076 *-*-solaris2* )
49077 SONAME_FLAG="-h "
49078 USE_SOVERSION=1
49079 USE_SOVERSOLARIS=1
49080 USE_SOSYMLINKS=1
49081 ;;
49082
49083 *-*-darwin* )
49084 USE_MACVERSION=1
49085 USE_SOVERSION=1
49086 USE_SOSYMLINKS=1
49087 ;;
49088
49089 *-*-cygwin* )
49090 USE_SOVERSION=1
49091 USE_SOVERCYGWIN=1
49092 ;;
49093 esac
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49105 if test "${enable_dependency_tracking+set}" = set; then
49106 enableval="$enable_dependency_tracking"
49107 bk_use_trackdeps="$enableval"
49108 fi;
49109
49110 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49111 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49112
49113 if test "x$bk_use_trackdeps" = "xno" ; then
49114 DEPS_TRACKING=0
49115 echo "$as_me:$LINENO: result: disabled" >&5
49116 echo "${ECHO_T}disabled" >&6
49117 else
49118 DEPS_TRACKING=1
49119
49120 if test "x$GCC" = "xyes"; then
49121 DEPSMODE=gcc
49122 case "${BAKEFILE_HOST}" in
49123 *-*-darwin* )
49124 DEPSFLAG="-no-cpp-precomp -MMD"
49125 ;;
49126 * )
49127 DEPSFLAG="-MMD"
49128 ;;
49129 esac
49130 echo "$as_me:$LINENO: result: gcc" >&5
49131 echo "${ECHO_T}gcc" >&6
49132 elif test "x$MWCC" = "xyes"; then
49133 DEPSMODE=mwcc
49134 DEPSFLAG="-MM"
49135 echo "$as_me:$LINENO: result: mwcc" >&5
49136 echo "${ECHO_T}mwcc" >&6
49137 elif test "x$SUNCC" = "xyes"; then
49138 DEPSMODE=unixcc
49139 DEPSFLAG="-xM1"
49140 echo "$as_me:$LINENO: result: Sun cc" >&5
49141 echo "${ECHO_T}Sun cc" >&6
49142 elif test "x$SGICC" = "xyes"; then
49143 DEPSMODE=unixcc
49144 DEPSFLAG="-M"
49145 echo "$as_me:$LINENO: result: SGI cc" >&5
49146 echo "${ECHO_T}SGI cc" >&6
49147 elif test "x$HPCC" = "xyes"; then
49148 DEPSMODE=unixcc
49149 DEPSFLAG="+make"
49150 echo "$as_me:$LINENO: result: HP cc" >&5
49151 echo "${ECHO_T}HP cc" >&6
49152 elif test "x$COMPAQCC" = "xyes"; then
49153 DEPSMODE=gcc
49154 DEPSFLAG="-MD"
49155 echo "$as_me:$LINENO: result: Compaq cc" >&5
49156 echo "${ECHO_T}Compaq cc" >&6
49157 else
49158 DEPS_TRACKING=0
49159 echo "$as_me:$LINENO: result: none" >&5
49160 echo "${ECHO_T}none" >&6
49161 fi
49162
49163 if test $DEPS_TRACKING = 1 ; then
49164
49165 D='$'
49166 cat <<EOF >bk-deps
49167 #!/bin/sh
49168
49169 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49170 # script. It is used to track C/C++ files dependencies in portable way.
49171 #
49172 # Permission is given to use this file in any way.
49173
49174 DEPSMODE=${DEPSMODE}
49175 DEPSDIR=.deps
49176 DEPSFLAG="${DEPSFLAG}"
49177
49178 mkdir -p ${D}DEPSDIR
49179
49180 if test ${D}DEPSMODE = gcc ; then
49181 ${D}* ${D}{DEPSFLAG}
49182 status=${D}?
49183 if test ${D}{status} != 0 ; then
49184 exit ${D}{status}
49185 fi
49186 # move created file to the location we want it in:
49187 while test ${D}# -gt 0; do
49188 case "${D}1" in
49189 -o )
49190 shift
49191 objfile=${D}1
49192 ;;
49193 -* )
49194 ;;
49195 * )
49196 srcfile=${D}1
49197 ;;
49198 esac
49199 shift
49200 done
49201 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49202 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49203 if test -f ${D}depfile ; then
49204 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49205 rm -f ${D}depfile
49206 else
49207 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49208 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49209 if test ! -f ${D}depfile ; then
49210 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49211 depfile="${D}objfile.d"
49212 fi
49213 if test -f ${D}depfile ; then
49214 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49215 rm -f ${D}depfile
49216 fi
49217 fi
49218 exit 0
49219 elif test ${D}DEPSMODE = mwcc ; then
49220 ${D}* || exit ${D}?
49221 # Run mwcc again with -MM and redirect into the dep file we want
49222 # NOTE: We can't use shift here because we need ${D}* to be valid
49223 prevarg=
49224 for arg in ${D}* ; do
49225 if test "${D}prevarg" = "-o"; then
49226 objfile=${D}arg
49227 else
49228 case "${D}arg" in
49229 -* )
49230 ;;
49231 * )
49232 srcfile=${D}arg
49233 ;;
49234 esac
49235 fi
49236 prevarg="${D}arg"
49237 done
49238 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49239 exit 0
49240 elif test ${D}DEPSMODE = unixcc; then
49241 ${D}* || exit ${D}?
49242 # Run compiler again with deps flag and redirect into the dep file.
49243 # It doesn't work if the '-o FILE' option is used, but without it the
49244 # dependency file will contain the wrong name for the object. So it is
49245 # removed from the command line, and the dep file is fixed with sed.
49246 cmd=""
49247 while test ${D}# -gt 0; do
49248 case "${D}1" in
49249 -o )
49250 shift
49251 objfile=${D}1
49252 ;;
49253 * )
49254 eval arg${D}#=\\${D}1
49255 cmd="${D}cmd \\${D}arg${D}#"
49256 ;;
49257 esac
49258 shift
49259 done
49260 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49261 exit 0
49262 else
49263 ${D}*
49264 exit ${D}?
49265 fi
49266 EOF
49267
49268 chmod +x bk-deps
49269 fi
49270 fi
49271
49272
49273
49274
49275 case ${BAKEFILE_HOST} in
49276 *-*-cygwin* | *-*-mingw32* )
49277 if test -n "$ac_tool_prefix"; then
49278 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49279 set dummy ${ac_tool_prefix}windres; ac_word=$2
49280 echo "$as_me:$LINENO: checking for $ac_word" >&5
49281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49282 if test "${ac_cv_prog_WINDRES+set}" = set; then
49283 echo $ECHO_N "(cached) $ECHO_C" >&6
49284 else
49285 if test -n "$WINDRES"; then
49286 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49287 else
49288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49289 for as_dir in $PATH
49290 do
49291 IFS=$as_save_IFS
49292 test -z "$as_dir" && as_dir=.
49293 for ac_exec_ext in '' $ac_executable_extensions; do
49294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49295 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49297 break 2
49298 fi
49299 done
49300 done
49301
49302 fi
49303 fi
49304 WINDRES=$ac_cv_prog_WINDRES
49305 if test -n "$WINDRES"; then
49306 echo "$as_me:$LINENO: result: $WINDRES" >&5
49307 echo "${ECHO_T}$WINDRES" >&6
49308 else
49309 echo "$as_me:$LINENO: result: no" >&5
49310 echo "${ECHO_T}no" >&6
49311 fi
49312
49313 fi
49314 if test -z "$ac_cv_prog_WINDRES"; then
49315 ac_ct_WINDRES=$WINDRES
49316 # Extract the first word of "windres", so it can be a program name with args.
49317 set dummy windres; ac_word=$2
49318 echo "$as_me:$LINENO: checking for $ac_word" >&5
49319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49320 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49321 echo $ECHO_N "(cached) $ECHO_C" >&6
49322 else
49323 if test -n "$ac_ct_WINDRES"; then
49324 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49325 else
49326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49327 for as_dir in $PATH
49328 do
49329 IFS=$as_save_IFS
49330 test -z "$as_dir" && as_dir=.
49331 for ac_exec_ext in '' $ac_executable_extensions; do
49332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49333 ac_cv_prog_ac_ct_WINDRES="windres"
49334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49335 break 2
49336 fi
49337 done
49338 done
49339
49340 fi
49341 fi
49342 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49343 if test -n "$ac_ct_WINDRES"; then
49344 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49345 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49346 else
49347 echo "$as_me:$LINENO: result: no" >&5
49348 echo "${ECHO_T}no" >&6
49349 fi
49350
49351 WINDRES=$ac_ct_WINDRES
49352 else
49353 WINDRES="$ac_cv_prog_WINDRES"
49354 fi
49355
49356 ;;
49357
49358 *-*-darwin* | powerpc-apple-macos* )
49359 # Extract the first word of "Rez", so it can be a program name with args.
49360 set dummy Rez; ac_word=$2
49361 echo "$as_me:$LINENO: checking for $ac_word" >&5
49362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49363 if test "${ac_cv_prog_REZ+set}" = set; then
49364 echo $ECHO_N "(cached) $ECHO_C" >&6
49365 else
49366 if test -n "$REZ"; then
49367 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49368 else
49369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49370 for as_dir in $PATH
49371 do
49372 IFS=$as_save_IFS
49373 test -z "$as_dir" && as_dir=.
49374 for ac_exec_ext in '' $ac_executable_extensions; do
49375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49376 ac_cv_prog_REZ="Rez"
49377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49378 break 2
49379 fi
49380 done
49381 done
49382
49383 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49384 fi
49385 fi
49386 REZ=$ac_cv_prog_REZ
49387 if test -n "$REZ"; then
49388 echo "$as_me:$LINENO: result: $REZ" >&5
49389 echo "${ECHO_T}$REZ" >&6
49390 else
49391 echo "$as_me:$LINENO: result: no" >&5
49392 echo "${ECHO_T}no" >&6
49393 fi
49394
49395 # Extract the first word of "SetFile", so it can be a program name with args.
49396 set dummy SetFile; ac_word=$2
49397 echo "$as_me:$LINENO: checking for $ac_word" >&5
49398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49399 if test "${ac_cv_prog_SETFILE+set}" = set; then
49400 echo $ECHO_N "(cached) $ECHO_C" >&6
49401 else
49402 if test -n "$SETFILE"; then
49403 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49404 else
49405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49406 for as_dir in $PATH
49407 do
49408 IFS=$as_save_IFS
49409 test -z "$as_dir" && as_dir=.
49410 for ac_exec_ext in '' $ac_executable_extensions; do
49411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49412 ac_cv_prog_SETFILE="SetFile"
49413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49414 break 2
49415 fi
49416 done
49417 done
49418
49419 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49420 fi
49421 fi
49422 SETFILE=$ac_cv_prog_SETFILE
49423 if test -n "$SETFILE"; then
49424 echo "$as_me:$LINENO: result: $SETFILE" >&5
49425 echo "${ECHO_T}$SETFILE" >&6
49426 else
49427 echo "$as_me:$LINENO: result: no" >&5
49428 echo "${ECHO_T}no" >&6
49429 fi
49430
49431 ;;
49432 esac
49433
49434
49435
49436
49437
49438
49439 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49440
49441
49442 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49443
49444
49445
49446 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49447 if test "${enable_precomp_headers+set}" = set; then
49448 enableval="$enable_precomp_headers"
49449 bk_use_pch="$enableval"
49450 fi;
49451
49452 GCC_PCH=0
49453 ICC_PCH=0
49454 USE_PCH=0
49455
49456 case ${BAKEFILE_HOST} in
49457 *-*-cygwin* )
49458 bk_use_pch="no"
49459 ;;
49460 esac
49461
49462 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49463 if test "x$GCC" = "xyes"; then
49464 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49465 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49466 cat >conftest.$ac_ext <<_ACEOF
49467 /* confdefs.h. */
49468 _ACEOF
49469 cat confdefs.h >>conftest.$ac_ext
49470 cat >>conftest.$ac_ext <<_ACEOF
49471 /* end confdefs.h. */
49472
49473 int
49474 main ()
49475 {
49476
49477 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49478 There is no PCH support
49479 #endif
49480 #if (__GNUC__ < 3)
49481 There is no PCH support
49482 #endif
49483 #if (__GNUC__ == 3) && \
49484 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49485 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49486 ( defined(__INTEL_COMPILER) )
49487 There is no PCH support
49488 #endif
49489
49490 ;
49491 return 0;
49492 }
49493 _ACEOF
49494 rm -f conftest.$ac_objext
49495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49496 (eval $ac_compile) 2>conftest.er1
49497 ac_status=$?
49498 grep -v '^ *+' conftest.er1 >conftest.err
49499 rm -f conftest.er1
49500 cat conftest.err >&5
49501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49502 (exit $ac_status); } &&
49503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49505 (eval $ac_try) 2>&5
49506 ac_status=$?
49507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49508 (exit $ac_status); }; } &&
49509 { ac_try='test -s conftest.$ac_objext'
49510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49511 (eval $ac_try) 2>&5
49512 ac_status=$?
49513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49514 (exit $ac_status); }; }; then
49515
49516 echo "$as_me:$LINENO: result: yes" >&5
49517 echo "${ECHO_T}yes" >&6
49518 GCC_PCH=1
49519
49520 else
49521 echo "$as_me: failed program was:" >&5
49522 sed 's/^/| /' conftest.$ac_ext >&5
49523
49524
49525 cat >conftest.$ac_ext <<_ACEOF
49526 /* confdefs.h. */
49527 _ACEOF
49528 cat confdefs.h >>conftest.$ac_ext
49529 cat >>conftest.$ac_ext <<_ACEOF
49530 /* end confdefs.h. */
49531
49532 int
49533 main ()
49534 {
49535
49536 #if !defined(__INTEL_COMPILER) || \
49537 (__INTEL_COMPILER < 800)
49538 There is no PCH support
49539 #endif
49540
49541 ;
49542 return 0;
49543 }
49544 _ACEOF
49545 rm -f conftest.$ac_objext
49546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49547 (eval $ac_compile) 2>conftest.er1
49548 ac_status=$?
49549 grep -v '^ *+' conftest.er1 >conftest.err
49550 rm -f conftest.er1
49551 cat conftest.err >&5
49552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49553 (exit $ac_status); } &&
49554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49556 (eval $ac_try) 2>&5
49557 ac_status=$?
49558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49559 (exit $ac_status); }; } &&
49560 { ac_try='test -s conftest.$ac_objext'
49561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49562 (eval $ac_try) 2>&5
49563 ac_status=$?
49564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49565 (exit $ac_status); }; }; then
49566
49567 echo "$as_me:$LINENO: result: yes" >&5
49568 echo "${ECHO_T}yes" >&6
49569 ICC_PCH=1
49570
49571 else
49572 echo "$as_me: failed program was:" >&5
49573 sed 's/^/| /' conftest.$ac_ext >&5
49574
49575
49576 echo "$as_me:$LINENO: result: no" >&5
49577 echo "${ECHO_T}no" >&6
49578
49579 fi
49580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49581
49582 fi
49583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49584 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49585 USE_PCH=1
49586
49587 D='$'
49588 cat <<EOF >bk-make-pch
49589 #!/bin/sh
49590
49591 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49592 # script. It is used to generated precompiled headers.
49593 #
49594 # Permission is given to use this file in any way.
49595
49596 outfile="${D}{1}"
49597 header="${D}{2}"
49598 shift
49599 shift
49600
49601 compiler=""
49602 headerfile=""
49603
49604 while test ${D}{#} -gt 0; do
49605 add_to_cmdline=1
49606 case "${D}{1}" in
49607 -I* )
49608 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49609 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49610 headerfile="${D}{incdir}/${D}{header}"
49611 fi
49612 ;;
49613 -use-pch|-use_pch )
49614 shift
49615 add_to_cmdline=0
49616 ;;
49617 esac
49618 if test ${D}add_to_cmdline = 1 ; then
49619 compiler="${D}{compiler} ${D}{1}"
49620 fi
49621 shift
49622 done
49623
49624 if test "x${D}{headerfile}" = "x" ; then
49625 echo "error: can't find header ${D}{header} in include paths" >&2
49626 else
49627 if test -f ${D}{outfile} ; then
49628 rm -f ${D}{outfile}
49629 else
49630 mkdir -p \`dirname ${D}{outfile}\`
49631 fi
49632 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49633 mkdir -p .deps
49634 if test "x${GCC_PCH}" = "x1" ; then
49635 # can do this because gcc is >= 3.4:
49636 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49637 elif test "x${ICC_PCH}" = "x1" ; then
49638 filename=pch_gen-${D}${D}
49639 file=${D}{filename}.c
49640 dfile=${D}{filename}.d
49641 cat > ${D}file <<EOT
49642 #include "${D}header"
49643 EOT
49644 # using -MF icc complains about differing command lines in creation/use
49645 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49646 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49647 rm -f ${D}file ${D}dfile ${D}{filename}.o
49648 fi
49649 exit ${D}{?}
49650 fi
49651 EOF
49652
49653 chmod +x bk-make-pch
49654 fi
49655 fi
49656 fi
49657
49658
49659
49660
49661 COND_BUILD_DEBUG="#"
49662 if test "x$BUILD" = "xdebug" ; then
49663 COND_BUILD_DEBUG=""
49664 fi
49665
49666 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49667 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49668 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49669 fi
49670
49671 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49672 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49673 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49674 fi
49675
49676 COND_BUILD_DEBUG_UNICODE_0="#"
49677 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49678 COND_BUILD_DEBUG_UNICODE_0=""
49679 fi
49680
49681 COND_BUILD_DEBUG_UNICODE_1="#"
49682 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49683 COND_BUILD_DEBUG_UNICODE_1=""
49684 fi
49685
49686 COND_BUILD_RELEASE="#"
49687 if test "x$BUILD" = "xrelease" ; then
49688 COND_BUILD_RELEASE=""
49689 fi
49690
49691 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49692 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49693 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49694 fi
49695
49696 COND_BUILD_RELEASE_UNICODE_0="#"
49697 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49698 COND_BUILD_RELEASE_UNICODE_0=""
49699 fi
49700
49701 COND_BUILD_RELEASE_UNICODE_1="#"
49702 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49703 COND_BUILD_RELEASE_UNICODE_1=""
49704 fi
49705
49706 COND_DEBUG_FLAG_1="#"
49707 if test "x$DEBUG_FLAG" = "x1" ; then
49708 COND_DEBUG_FLAG_1=""
49709 fi
49710
49711 COND_DEBUG_INFO_0="#"
49712 if test "x$DEBUG_INFO" = "x0" ; then
49713 COND_DEBUG_INFO_0=""
49714 fi
49715
49716 COND_DEBUG_INFO_1="#"
49717 if test "x$DEBUG_INFO" = "x1" ; then
49718 COND_DEBUG_INFO_1=""
49719 fi
49720
49721 COND_DEPS_TRACKING_0="#"
49722 if test "x$DEPS_TRACKING" = "x0" ; then
49723 COND_DEPS_TRACKING_0=""
49724 fi
49725
49726 COND_DEPS_TRACKING_1="#"
49727 if test "x$DEPS_TRACKING" = "x1" ; then
49728 COND_DEPS_TRACKING_1=""
49729 fi
49730
49731 COND_GCC_PCH_1="#"
49732 if test "x$GCC_PCH" = "x1" ; then
49733 COND_GCC_PCH_1=""
49734 fi
49735
49736 COND_ICC_PCH_1="#"
49737 if test "x$ICC_PCH" = "x1" ; then
49738 COND_ICC_PCH_1=""
49739 fi
49740
49741 COND_MONOLITHIC_0="#"
49742 if test "x$MONOLITHIC" = "x0" ; then
49743 COND_MONOLITHIC_0=""
49744 fi
49745
49746 COND_MONOLITHIC_0_SHARED_0="#"
49747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49748 COND_MONOLITHIC_0_SHARED_0=""
49749 fi
49750
49751 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49753 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49754 fi
49755
49756 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49758 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49759 fi
49760
49761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49763 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49764 fi
49765
49766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49769 fi
49770
49771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49774 fi
49775
49776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49779 fi
49780
49781 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49783 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49784 fi
49785
49786 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49788 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49789 fi
49790
49791 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49793 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49794 fi
49795
49796 COND_MONOLITHIC_0_SHARED_1="#"
49797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49798 COND_MONOLITHIC_0_SHARED_1=""
49799 fi
49800
49801 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49803 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49804 fi
49805
49806 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49809 fi
49810
49811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49813 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49814 fi
49815
49816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49818 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49819 fi
49820
49821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49824 fi
49825
49826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49829 fi
49830
49831 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49834 fi
49835
49836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49839 fi
49840
49841 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49844 fi
49845
49846 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49848 COND_MONOLITHIC_0_USE_MEDIA_1=""
49849 fi
49850
49851 COND_MONOLITHIC_0_USE_ODBC_1="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49853 COND_MONOLITHIC_0_USE_ODBC_1=""
49854 fi
49855
49856 COND_MONOLITHIC_1="#"
49857 if test "x$MONOLITHIC" = "x1" ; then
49858 COND_MONOLITHIC_1=""
49859 fi
49860
49861 COND_MONOLITHIC_1_SHARED_0="#"
49862 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49863 COND_MONOLITHIC_1_SHARED_0=""
49864 fi
49865
49866 COND_MONOLITHIC_1_SHARED_1="#"
49867 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49868 COND_MONOLITHIC_1_SHARED_1=""
49869 fi
49870
49871 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49872 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49873 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49874 fi
49875
49876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49877 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49878 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49879 fi
49880
49881 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49882 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49884 fi
49885
49886 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49887 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49888 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49889 fi
49890
49891 COND_PLATFORM_MACOSX_1="#"
49892 if test "x$PLATFORM_MACOSX" = "x1" ; then
49893 COND_PLATFORM_MACOSX_1=""
49894 fi
49895
49896 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49897 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49898 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49899 fi
49900
49901 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49902 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49903 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49904 fi
49905
49906 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49907 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49908 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49909 fi
49910
49911 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49913 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49914 fi
49915
49916 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49918 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49919 fi
49920
49921 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49923 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49924 fi
49925
49926 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49928 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49929 fi
49930
49931 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49933 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49934 fi
49935
49936 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49938 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49939 fi
49940
49941 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49943 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49944 fi
49945
49946 COND_PLATFORM_MACOS_1="#"
49947 if test "x$PLATFORM_MACOS" = "x1" ; then
49948 COND_PLATFORM_MACOS_1=""
49949 fi
49950
49951 COND_PLATFORM_MAC_1="#"
49952 if test "x$PLATFORM_MAC" = "x1" ; then
49953 COND_PLATFORM_MAC_1=""
49954 fi
49955
49956 COND_PLATFORM_MSDOS_0="#"
49957 if test "x$PLATFORM_MSDOS" = "x0" ; then
49958 COND_PLATFORM_MSDOS_0=""
49959 fi
49960
49961 COND_PLATFORM_MSDOS_1="#"
49962 if test "x$PLATFORM_MSDOS" = "x1" ; then
49963 COND_PLATFORM_MSDOS_1=""
49964 fi
49965
49966 COND_PLATFORM_OS2_1="#"
49967 if test "x$PLATFORM_OS2" = "x1" ; then
49968 COND_PLATFORM_OS2_1=""
49969 fi
49970
49971 COND_PLATFORM_UNIX_0="#"
49972 if test "x$PLATFORM_UNIX" = "x0" ; then
49973 COND_PLATFORM_UNIX_0=""
49974 fi
49975
49976 COND_PLATFORM_UNIX_1="#"
49977 if test "x$PLATFORM_UNIX" = "x1" ; then
49978 COND_PLATFORM_UNIX_1=""
49979 fi
49980
49981 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49982 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49983 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49984 fi
49985
49986 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49987 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49988 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49989 fi
49990
49991 COND_PLATFORM_WIN32_0="#"
49992 if test "x$PLATFORM_WIN32" = "x0" ; then
49993 COND_PLATFORM_WIN32_0=""
49994 fi
49995
49996 COND_PLATFORM_WIN32_1="#"
49997 if test "x$PLATFORM_WIN32" = "x1" ; then
49998 COND_PLATFORM_WIN32_1=""
49999 fi
50000
50001 COND_SHARED_0="#"
50002 if test "x$SHARED" = "x0" ; then
50003 COND_SHARED_0=""
50004 fi
50005
50006 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50007 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50008 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50009 fi
50010
50011 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50012 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50013 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50014 fi
50015
50016 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50017 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50018 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50019 fi
50020
50021 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50022 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50023 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50024 fi
50025
50026 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50027 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50028 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50029 fi
50030
50031 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50032 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50033 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50034 fi
50035
50036 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50037 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50038 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50039 fi
50040
50041 COND_SHARED_0_USE_XRC_1="#"
50042 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50043 COND_SHARED_0_USE_XRC_1=""
50044 fi
50045
50046 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50047 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50048 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50049 fi
50050
50051 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50052 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50053 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50054 fi
50055
50056 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50057 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50058 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50059 fi
50060
50061 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50062 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50063 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50064 fi
50065
50066 COND_SHARED_1="#"
50067 if test "x$SHARED" = "x1" ; then
50068 COND_SHARED_1=""
50069 fi
50070
50071 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50072 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50073 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50074 fi
50075
50076 COND_SHARED_1_USE_XRC_1="#"
50077 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50078 COND_SHARED_1_USE_XRC_1=""
50079 fi
50080
50081 COND_TOOLKIT_="#"
50082 if test "x$TOOLKIT" = "x" ; then
50083 COND_TOOLKIT_=""
50084 fi
50085
50086 COND_TOOLKIT_COCOA="#"
50087 if test "x$TOOLKIT" = "xCOCOA" ; then
50088 COND_TOOLKIT_COCOA=""
50089 fi
50090
50091 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50092 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50093 COND_TOOLKIT_COCOA_USE_GUI_1=""
50094 fi
50095
50096 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50097 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50098 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50099 fi
50100
50101 COND_TOOLKIT_DFB="#"
50102 if test "x$TOOLKIT" = "xDFB" ; then
50103 COND_TOOLKIT_DFB=""
50104 fi
50105
50106 COND_TOOLKIT_DFB_USE_GUI_1="#"
50107 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50108 COND_TOOLKIT_DFB_USE_GUI_1=""
50109 fi
50110
50111 COND_TOOLKIT_GTK="#"
50112 if test "x$TOOLKIT" = "xGTK" ; then
50113 COND_TOOLKIT_GTK=""
50114 fi
50115
50116 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50117 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50118 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50119 fi
50120
50121 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50122 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50123 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50124 fi
50125
50126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50127 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50129 fi
50130
50131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50132 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50133 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50134 fi
50135
50136 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50137 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50138 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50139 fi
50140
50141 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50142 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50143 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50144 fi
50145
50146 COND_TOOLKIT_GTK_USE_GUI_1="#"
50147 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50148 COND_TOOLKIT_GTK_USE_GUI_1=""
50149 fi
50150
50151 COND_TOOLKIT_MAC="#"
50152 if test "x$TOOLKIT" = "xMAC" ; then
50153 COND_TOOLKIT_MAC=""
50154 fi
50155
50156 COND_TOOLKIT_MAC_USE_GUI_1="#"
50157 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50158 COND_TOOLKIT_MAC_USE_GUI_1=""
50159 fi
50160
50161 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50162 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50163 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50164 fi
50165
50166 COND_TOOLKIT_MGL="#"
50167 if test "x$TOOLKIT" = "xMGL" ; then
50168 COND_TOOLKIT_MGL=""
50169 fi
50170
50171 COND_TOOLKIT_MGL_USE_GUI_1="#"
50172 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50173 COND_TOOLKIT_MGL_USE_GUI_1=""
50174 fi
50175
50176 COND_TOOLKIT_MOTIF="#"
50177 if test "x$TOOLKIT" = "xMOTIF" ; then
50178 COND_TOOLKIT_MOTIF=""
50179 fi
50180
50181 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50182 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50183 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50184 fi
50185
50186 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50187 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50188 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50189 fi
50190
50191 COND_TOOLKIT_MSW="#"
50192 if test "x$TOOLKIT" = "xMSW" ; then
50193 COND_TOOLKIT_MSW=""
50194 fi
50195
50196 COND_TOOLKIT_MSW_USE_GUI_1="#"
50197 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50198 COND_TOOLKIT_MSW_USE_GUI_1=""
50199 fi
50200
50201 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50202 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50203 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50204 fi
50205
50206 COND_TOOLKIT_MSW_WXUNIV_0="#"
50207 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50208 COND_TOOLKIT_MSW_WXUNIV_0=""
50209 fi
50210
50211 COND_TOOLKIT_PM="#"
50212 if test "x$TOOLKIT" = "xPM" ; then
50213 COND_TOOLKIT_PM=""
50214 fi
50215
50216 COND_TOOLKIT_PM_USE_GUI_1="#"
50217 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50218 COND_TOOLKIT_PM_USE_GUI_1=""
50219 fi
50220
50221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50222 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50223 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50224 fi
50225
50226 COND_TOOLKIT_WINCE="#"
50227 if test "x$TOOLKIT" = "xWINCE" ; then
50228 COND_TOOLKIT_WINCE=""
50229 fi
50230
50231 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50232 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50233 COND_TOOLKIT_WINCE_USE_GUI_1=""
50234 fi
50235
50236 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50237 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50238 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50239 fi
50240
50241 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50242 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50243 COND_TOOLKIT_WINCE_WXUNIV_0=""
50244 fi
50245
50246 COND_TOOLKIT_X11="#"
50247 if test "x$TOOLKIT" = "xX11" ; then
50248 COND_TOOLKIT_X11=""
50249 fi
50250
50251 COND_TOOLKIT_X11_USE_GUI_1="#"
50252 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50253 COND_TOOLKIT_X11_USE_GUI_1=""
50254 fi
50255
50256 COND_UNICODE_1="#"
50257 if test "x$UNICODE" = "x1" ; then
50258 COND_UNICODE_1=""
50259 fi
50260
50261 COND_USE_EXCEPTIONS_0="#"
50262 if test "x$USE_EXCEPTIONS" = "x0" ; then
50263 COND_USE_EXCEPTIONS_0=""
50264 fi
50265
50266 COND_USE_EXCEPTIONS_1="#"
50267 if test "x$USE_EXCEPTIONS" = "x1" ; then
50268 COND_USE_EXCEPTIONS_1=""
50269 fi
50270
50271 COND_USE_GUI_0="#"
50272 if test "x$USE_GUI" = "x0" ; then
50273 COND_USE_GUI_0=""
50274 fi
50275
50276 COND_USE_GUI_1="#"
50277 if test "x$USE_GUI" = "x1" ; then
50278 COND_USE_GUI_1=""
50279 fi
50280
50281 COND_USE_GUI_1_WXUNIV_0="#"
50282 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50283 COND_USE_GUI_1_WXUNIV_0=""
50284 fi
50285
50286 COND_USE_GUI_1_WXUNIV_1="#"
50287 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50288 COND_USE_GUI_1_WXUNIV_1=""
50289 fi
50290
50291 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50292 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50293 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50294 fi
50295
50296 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50297 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50298 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50299 fi
50300
50301 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50302 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50303 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50304 fi
50305
50306 COND_USE_ODBC_1="#"
50307 if test "x$USE_ODBC" = "x1" ; then
50308 COND_USE_ODBC_1=""
50309 fi
50310
50311 COND_USE_OPENGL_1="#"
50312 if test "x$USE_OPENGL" = "x1" ; then
50313 COND_USE_OPENGL_1=""
50314 fi
50315
50316 COND_USE_PCH_1="#"
50317 if test "x$USE_PCH" = "x1" ; then
50318 COND_USE_PCH_1=""
50319 fi
50320
50321 COND_USE_PLUGINS_0="#"
50322 if test "x$USE_PLUGINS" = "x0" ; then
50323 COND_USE_PLUGINS_0=""
50324 fi
50325
50326 COND_USE_RTTI_0="#"
50327 if test "x$USE_RTTI" = "x0" ; then
50328 COND_USE_RTTI_0=""
50329 fi
50330
50331 COND_USE_RTTI_1="#"
50332 if test "x$USE_RTTI" = "x1" ; then
50333 COND_USE_RTTI_1=""
50334 fi
50335
50336 COND_USE_SOSYMLINKS_1="#"
50337 if test "x$USE_SOSYMLINKS" = "x1" ; then
50338 COND_USE_SOSYMLINKS_1=""
50339 fi
50340
50341 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50342 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50343 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50344 fi
50345
50346 COND_USE_SOVERLINUX_1="#"
50347 if test "x$USE_SOVERLINUX" = "x1" ; then
50348 COND_USE_SOVERLINUX_1=""
50349 fi
50350
50351 COND_USE_SOVERSION_0="#"
50352 if test "x$USE_SOVERSION" = "x0" ; then
50353 COND_USE_SOVERSION_0=""
50354 fi
50355
50356 COND_USE_SOVERSOLARIS_1="#"
50357 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50358 COND_USE_SOVERSOLARIS_1=""
50359 fi
50360
50361 COND_USE_THREADS_0="#"
50362 if test "x$USE_THREADS" = "x0" ; then
50363 COND_USE_THREADS_0=""
50364 fi
50365
50366 COND_USE_THREADS_1="#"
50367 if test "x$USE_THREADS" = "x1" ; then
50368 COND_USE_THREADS_1=""
50369 fi
50370
50371 COND_USE_XRC_1="#"
50372 if test "x$USE_XRC" = "x1" ; then
50373 COND_USE_XRC_1=""
50374 fi
50375
50376 COND_WINDOWS_IMPLIB_1="#"
50377 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50378 COND_WINDOWS_IMPLIB_1=""
50379 fi
50380
50381 COND_WITH_PLUGIN_SDL_1="#"
50382 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50383 COND_WITH_PLUGIN_SDL_1=""
50384 fi
50385
50386 COND_WXUNIV_0="#"
50387 if test "x$WXUNIV" = "x0" ; then
50388 COND_WXUNIV_0=""
50389 fi
50390
50391 COND_WXUNIV_1="#"
50392 if test "x$WXUNIV" = "x1" ; then
50393 COND_WXUNIV_1=""
50394 fi
50395
50396 COND_WXUSE_EXPAT_BUILTIN="#"
50397 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50398 COND_WXUSE_EXPAT_BUILTIN=""
50399 fi
50400
50401 COND_WXUSE_LIBJPEG_BUILTIN="#"
50402 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50403 COND_WXUSE_LIBJPEG_BUILTIN=""
50404 fi
50405
50406 COND_WXUSE_LIBPNG_BUILTIN="#"
50407 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50408 COND_WXUSE_LIBPNG_BUILTIN=""
50409 fi
50410
50411 COND_WXUSE_LIBTIFF_BUILTIN="#"
50412 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50413 COND_WXUSE_LIBTIFF_BUILTIN=""
50414 fi
50415
50416 COND_WXUSE_ODBC_BUILTIN="#"
50417 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50418 COND_WXUSE_ODBC_BUILTIN=""
50419 fi
50420
50421 COND_WXUSE_REGEX_BUILTIN="#"
50422 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50423 COND_WXUSE_REGEX_BUILTIN=""
50424 fi
50425
50426 COND_WXUSE_ZLIB_BUILTIN="#"
50427 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50428 COND_WXUSE_ZLIB_BUILTIN=""
50429 fi
50430
50431
50432
50433 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50434 { { 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
50435 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;}
50436 { (exit 1); exit 1; }; }
50437 fi
50438
50439 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50440 { { 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
50441 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;}
50442 { (exit 1); exit 1; }; }
50443 fi
50444
50445
50446 if test $GCC_PCH = 1
50447 then
50448 if test "$wx_cv_gcc_pch_bug" = yes; then
50449 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50450 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50451 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50452 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50453 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50454 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50455 fi
50456
50457 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50458 fi
50459
50460
50461 if test "$wxUSE_MAC" = 1 ; then
50462 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50463 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50464 mv temp bk-deps
50465 chmod +x bk-deps
50466 fi
50467 fi
50468
50469 if test "$wxUSE_SHARED" = "yes"; then
50470
50471 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50472 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50473
50474 case "${host}" in
50475 *-pc-os2_emx | *-pc-os2-emx )
50476 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50477 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50478 cp -p ${srcdir}/src/os2/dllnames.sh .
50479 cp -p ${srcdir}/src/os2/dllar.sh .
50480 ;;
50481 esac
50482 else
50483
50484 EXE_LINKER="$CXX -o"
50485
50486 fi
50487 if test "$wxUSE_OMF" = "yes"; then
50488 case "${host}" in
50489 *-pc-os2_emx | *-pc-os2-emx )
50490 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50491 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50492 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50493 ;;
50494 esac
50495 fi
50496
50497 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50498
50499 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524
50525
50526
50527
50528
50529
50530
50531
50532
50533
50534
50535
50536
50537
50538
50539
50540
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554
50555
50556
50557
50558
50559
50560
50561 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50562 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50563 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50564 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50565 echo $ECHO_N "(cached) $ECHO_C" >&6
50566 else
50567 cat >conftest.make <<\_ACEOF
50568 all:
50569 @echo 'ac_maketemp="$(MAKE)"'
50570 _ACEOF
50571 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50572 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50573 if test -n "$ac_maketemp"; then
50574 eval ac_cv_prog_make_${ac_make}_set=yes
50575 else
50576 eval ac_cv_prog_make_${ac_make}_set=no
50577 fi
50578 rm -f conftest.make
50579 fi
50580 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50581 echo "$as_me:$LINENO: result: yes" >&5
50582 echo "${ECHO_T}yes" >&6
50583 SET_MAKE=
50584 else
50585 echo "$as_me:$LINENO: result: no" >&5
50586 echo "${ECHO_T}no" >&6
50587 SET_MAKE="MAKE=${MAKE-make}"
50588 fi
50589
50590
50591
50592 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50593
50594
50595 if test "$USE_WIN32" = 1; then
50596 ac_config_commands="$ac_config_commands
50597 rcdefs.h
50598 "
50599
50600 fi
50601
50602 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50603
50604
50605 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50606
50607
50608 ac_config_files="$ac_config_files version-script Makefile"
50609
50610
50611 ac_config_commands="$ac_config_commands wx-config"
50612
50613
50614
50615 if test "$wxWITH_SUBDIRS" != "no"; then
50616 if test "$wxUSE_GUI" = "yes"; then
50617 SUBDIRS="samples demos utils contrib"
50618 else SUBDIRS="samples utils"
50619 fi
50620
50621
50622
50623 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50624 if test "${with_cppunit_prefix+set}" = set; then
50625 withval="$with_cppunit_prefix"
50626 cppunit_config_prefix="$withval"
50627 else
50628 cppunit_config_prefix=""
50629 fi;
50630
50631 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50632 if test "${with_cppunit_exec_prefix+set}" = set; then
50633 withval="$with_cppunit_exec_prefix"
50634 cppunit_config_exec_prefix="$withval"
50635 else
50636 cppunit_config_exec_prefix=""
50637 fi;
50638
50639 if test x$cppunit_config_exec_prefix != x ; then
50640 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50641 if test x${CPPUNIT_CONFIG+set} != xset ; then
50642 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50643 fi
50644 fi
50645 if test x$cppunit_config_prefix != x ; then
50646 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50647 if test x${CPPUNIT_CONFIG+set} != xset ; then
50648 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50649 fi
50650 fi
50651
50652 # Extract the first word of "cppunit-config", so it can be a program name with args.
50653 set dummy cppunit-config; ac_word=$2
50654 echo "$as_me:$LINENO: checking for $ac_word" >&5
50655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50656 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50657 echo $ECHO_N "(cached) $ECHO_C" >&6
50658 else
50659 case $CPPUNIT_CONFIG in
50660 [\\/]* | ?:[\\/]*)
50661 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50662 ;;
50663 *)
50664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50665 for as_dir in $PATH
50666 do
50667 IFS=$as_save_IFS
50668 test -z "$as_dir" && as_dir=.
50669 for ac_exec_ext in '' $ac_executable_extensions; do
50670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50671 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50673 break 2
50674 fi
50675 done
50676 done
50677
50678 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50679 ;;
50680 esac
50681 fi
50682 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50683
50684 if test -n "$CPPUNIT_CONFIG"; then
50685 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50686 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50687 else
50688 echo "$as_me:$LINENO: result: no" >&5
50689 echo "${ECHO_T}no" >&6
50690 fi
50691
50692 cppunit_version_min=1.8.0
50693
50694 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50695 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50696 no_cppunit=""
50697 if test "$CPPUNIT_CONFIG" = "no" ; then
50698 echo "$as_me:$LINENO: result: no" >&5
50699 echo "${ECHO_T}no" >&6
50700 no_cppunit=yes
50701 else
50702 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50703 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50704 cppunit_version=`$CPPUNIT_CONFIG --version`
50705
50706 cppunit_major_version=`echo $cppunit_version | \
50707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50708 cppunit_minor_version=`echo $cppunit_version | \
50709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50710 cppunit_micro_version=`echo $cppunit_version | \
50711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50712
50713 cppunit_major_min=`echo $cppunit_version_min | \
50714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50715 cppunit_minor_min=`echo $cppunit_version_min | \
50716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50717 cppunit_micro_min=`echo $cppunit_version_min | \
50718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50719
50720 cppunit_version_proper=`expr \
50721 $cppunit_major_version \> $cppunit_major_min \| \
50722 $cppunit_major_version \= $cppunit_major_min \& \
50723 $cppunit_minor_version \> $cppunit_minor_min \| \
50724 $cppunit_major_version \= $cppunit_major_min \& \
50725 $cppunit_minor_version \= $cppunit_minor_min \& \
50726 $cppunit_micro_version \>= $cppunit_micro_min `
50727
50728 if test "$cppunit_version_proper" = "1" ; then
50729 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50730 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50731 else
50732 echo "$as_me:$LINENO: result: no" >&5
50733 echo "${ECHO_T}no" >&6
50734 no_cppunit=yes
50735 fi
50736 fi
50737
50738 if test "x$no_cppunit" = x ; then
50739 SUBDIRS="$SUBDIRS tests"
50740 else
50741 CPPUNIT_CFLAGS=""
50742 CPPUNIT_LIBS=""
50743 :
50744 fi
50745
50746
50747
50748
50749
50750 for subdir in `echo $SUBDIRS`; do
50751 if test -d ${srcdir}/${subdir} ; then
50752 if test "$wxUSE_GUI" = "yes"; then
50753 if test ${subdir} = "samples"; then
50754 makefiles="samples/Makefile.in $makefiles"
50755 for sample in `echo $SAMPLES_SUBDIRS`; do
50756 if test -d $srcdir/samples/$sample; then
50757 makefiles="samples/$sample/Makefile.in $makefiles"
50758 fi
50759 done
50760 else
50761 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50762 eval "disabled=\$$disabled_var"
50763 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50764 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50765 fi
50766 else if test ${subdir} = "samples"; then
50767 makefiles="samples/Makefile.in samples/console/Makefile.in"
50768 elif test ${subdir} = "utils"; then
50769 makefiles=""
50770 for util in HelpGen tex2rtf ; do
50771 if test -d $srcdir/utils/$util ; then
50772 makefiles="utils/$util/Makefile.in \
50773 utils/$util/src/Makefile.in \
50774 $makefiles"
50775 fi
50776 done
50777 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50778 fi
50779 fi
50780
50781 for mkin in $makefiles ; do
50782 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50783 ac_config_files="$ac_config_files $mk"
50784
50785 done
50786 fi
50787 done
50788 fi
50789 cat >confcache <<\_ACEOF
50790 # This file is a shell script that caches the results of configure
50791 # tests run on this system so they can be shared between configure
50792 # scripts and configure runs, see configure's option --config-cache.
50793 # It is not useful on other systems. If it contains results you don't
50794 # want to keep, you may remove or edit it.
50795 #
50796 # config.status only pays attention to the cache file if you give it
50797 # the --recheck option to rerun configure.
50798 #
50799 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50800 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50801 # following values.
50802
50803 _ACEOF
50804
50805 # The following way of writing the cache mishandles newlines in values,
50806 # but we know of no workaround that is simple, portable, and efficient.
50807 # So, don't put newlines in cache variables' values.
50808 # Ultrix sh set writes to stderr and can't be redirected directly,
50809 # and sets the high bit in the cache file unless we assign to the vars.
50810 {
50811 (set) 2>&1 |
50812 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50813 *ac_space=\ *)
50814 # `set' does not quote correctly, so add quotes (double-quote
50815 # substitution turns \\\\ into \\, and sed turns \\ into \).
50816 sed -n \
50817 "s/'/'\\\\''/g;
50818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50819 ;;
50820 *)
50821 # `set' quotes correctly as required by POSIX, so do not add quotes.
50822 sed -n \
50823 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50824 ;;
50825 esac;
50826 } |
50827 sed '
50828 t clear
50829 : clear
50830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50831 t end
50832 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50833 : end' >>confcache
50834 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50835 if test -w $cache_file; then
50836 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50837 cat confcache >$cache_file
50838 else
50839 echo "not updating unwritable cache $cache_file"
50840 fi
50841 fi
50842 rm -f confcache
50843
50844 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50845 # Let make expand exec_prefix.
50846 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50847
50848 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50849 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50850 # trailing colons and then remove the whole line if VPATH becomes empty
50851 # (actually we leave an empty line to preserve line numbers).
50852 if test "x$srcdir" = x.; then
50853 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50854 s/:*\$(srcdir):*/:/;
50855 s/:*\${srcdir}:*/:/;
50856 s/:*@srcdir@:*/:/;
50857 s/^\([^=]*=[ ]*\):*/\1/;
50858 s/:*$//;
50859 s/^[^=]*=[ ]*$//;
50860 }'
50861 fi
50862
50863 DEFS=-DHAVE_CONFIG_H
50864
50865 ac_libobjs=
50866 ac_ltlibobjs=
50867 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50868 # 1. Remove the extension, and $U if already installed.
50869 ac_i=`echo "$ac_i" |
50870 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50871 # 2. Add them.
50872 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50873 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50874 done
50875 LIBOBJS=$ac_libobjs
50876
50877 LTLIBOBJS=$ac_ltlibobjs
50878
50879
50880
50881 : ${CONFIG_STATUS=./config.status}
50882 ac_clean_files_save=$ac_clean_files
50883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50884 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50885 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50886 cat >$CONFIG_STATUS <<_ACEOF
50887 #! $SHELL
50888 # Generated by $as_me.
50889 # Run this file to recreate the current configuration.
50890 # Compiler output produced by configure, useful for debugging
50891 # configure, is in config.log if it exists.
50892
50893 debug=false
50894 ac_cs_recheck=false
50895 ac_cs_silent=false
50896 SHELL=\${CONFIG_SHELL-$SHELL}
50897 _ACEOF
50898
50899 cat >>$CONFIG_STATUS <<\_ACEOF
50900 ## --------------------- ##
50901 ## M4sh Initialization. ##
50902 ## --------------------- ##
50903
50904 # Be Bourne compatible
50905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50906 emulate sh
50907 NULLCMD=:
50908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50909 # is contrary to our usage. Disable this feature.
50910 alias -g '${1+"$@"}'='"$@"'
50911 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50912 set -o posix
50913 fi
50914 DUALCASE=1; export DUALCASE # for MKS sh
50915
50916 # Support unset when possible.
50917 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50918 as_unset=unset
50919 else
50920 as_unset=false
50921 fi
50922
50923
50924 # Work around bugs in pre-3.0 UWIN ksh.
50925 $as_unset ENV MAIL MAILPATH
50926 PS1='$ '
50927 PS2='> '
50928 PS4='+ '
50929
50930 # NLS nuisances.
50931 for as_var in \
50932 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50933 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50934 LC_TELEPHONE LC_TIME
50935 do
50936 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50937 eval $as_var=C; export $as_var
50938 else
50939 $as_unset $as_var
50940 fi
50941 done
50942
50943 # Required to use basename.
50944 if expr a : '\(a\)' >/dev/null 2>&1; then
50945 as_expr=expr
50946 else
50947 as_expr=false
50948 fi
50949
50950 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50951 as_basename=basename
50952 else
50953 as_basename=false
50954 fi
50955
50956
50957 # Name of the executable.
50958 as_me=`$as_basename "$0" ||
50959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50960 X"$0" : 'X\(//\)$' \| \
50961 X"$0" : 'X\(/\)$' \| \
50962 . : '\(.\)' 2>/dev/null ||
50963 echo X/"$0" |
50964 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50965 /^X\/\(\/\/\)$/{ s//\1/; q; }
50966 /^X\/\(\/\).*/{ s//\1/; q; }
50967 s/.*/./; q'`
50968
50969
50970 # PATH needs CR, and LINENO needs CR and PATH.
50971 # Avoid depending upon Character Ranges.
50972 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50973 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50974 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50975 as_cr_digits='0123456789'
50976 as_cr_alnum=$as_cr_Letters$as_cr_digits
50977
50978 # The user is always right.
50979 if test "${PATH_SEPARATOR+set}" != set; then
50980 echo "#! /bin/sh" >conf$$.sh
50981 echo "exit 0" >>conf$$.sh
50982 chmod +x conf$$.sh
50983 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50984 PATH_SEPARATOR=';'
50985 else
50986 PATH_SEPARATOR=:
50987 fi
50988 rm -f conf$$.sh
50989 fi
50990
50991
50992 as_lineno_1=$LINENO
50993 as_lineno_2=$LINENO
50994 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50995 test "x$as_lineno_1" != "x$as_lineno_2" &&
50996 test "x$as_lineno_3" = "x$as_lineno_2" || {
50997 # Find who we are. Look in the path if we contain no path at all
50998 # relative or not.
50999 case $0 in
51000 *[\\/]* ) as_myself=$0 ;;
51001 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51002 for as_dir in $PATH
51003 do
51004 IFS=$as_save_IFS
51005 test -z "$as_dir" && as_dir=.
51006 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51007 done
51008
51009 ;;
51010 esac
51011 # We did not find ourselves, most probably we were run as `sh COMMAND'
51012 # in which case we are not to be found in the path.
51013 if test "x$as_myself" = x; then
51014 as_myself=$0
51015 fi
51016 if test ! -f "$as_myself"; then
51017 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51018 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51019 { (exit 1); exit 1; }; }
51020 fi
51021 case $CONFIG_SHELL in
51022 '')
51023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51024 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51025 do
51026 IFS=$as_save_IFS
51027 test -z "$as_dir" && as_dir=.
51028 for as_base in sh bash ksh sh5; do
51029 case $as_dir in
51030 /*)
51031 if ("$as_dir/$as_base" -c '
51032 as_lineno_1=$LINENO
51033 as_lineno_2=$LINENO
51034 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51035 test "x$as_lineno_1" != "x$as_lineno_2" &&
51036 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51037 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51038 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51039 CONFIG_SHELL=$as_dir/$as_base
51040 export CONFIG_SHELL
51041 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51042 fi;;
51043 esac
51044 done
51045 done
51046 ;;
51047 esac
51048
51049 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51050 # uniformly replaced by the line number. The first 'sed' inserts a
51051 # line-number line before each line; the second 'sed' does the real
51052 # work. The second script uses 'N' to pair each line-number line
51053 # with the numbered line, and appends trailing '-' during
51054 # substitution so that $LINENO is not a special case at line end.
51055 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51056 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51057 sed '=' <$as_myself |
51058 sed '
51059 N
51060 s,$,-,
51061 : loop
51062 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51063 t loop
51064 s,-$,,
51065 s,^['$as_cr_digits']*\n,,
51066 ' >$as_me.lineno &&
51067 chmod +x $as_me.lineno ||
51068 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51069 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51070 { (exit 1); exit 1; }; }
51071
51072 # Don't try to exec as it changes $[0], causing all sort of problems
51073 # (the dirname of $[0] is not the place where we might find the
51074 # original and so on. Autoconf is especially sensible to this).
51075 . ./$as_me.lineno
51076 # Exit status is that of the last command.
51077 exit
51078 }
51079
51080
51081 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51082 *c*,-n*) ECHO_N= ECHO_C='
51083 ' ECHO_T=' ' ;;
51084 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51085 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51086 esac
51087
51088 if expr a : '\(a\)' >/dev/null 2>&1; then
51089 as_expr=expr
51090 else
51091 as_expr=false
51092 fi
51093
51094 rm -f conf$$ conf$$.exe conf$$.file
51095 echo >conf$$.file
51096 if ln -s conf$$.file conf$$ 2>/dev/null; then
51097 # We could just check for DJGPP; but this test a) works b) is more generic
51098 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51099 if test -f conf$$.exe; then
51100 # Don't use ln at all; we don't have any links
51101 as_ln_s='cp -p'
51102 else
51103 as_ln_s='ln -s'
51104 fi
51105 elif ln conf$$.file conf$$ 2>/dev/null; then
51106 as_ln_s=ln
51107 else
51108 as_ln_s='cp -p'
51109 fi
51110 rm -f conf$$ conf$$.exe conf$$.file
51111
51112 if mkdir -p . 2>/dev/null; then
51113 as_mkdir_p=:
51114 else
51115 test -d ./-p && rmdir ./-p
51116 as_mkdir_p=false
51117 fi
51118
51119 as_executable_p="test -f"
51120
51121 # Sed expression to map a string onto a valid CPP name.
51122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51123
51124 # Sed expression to map a string onto a valid variable name.
51125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51126
51127
51128 # IFS
51129 # We need space, tab and new line, in precisely that order.
51130 as_nl='
51131 '
51132 IFS=" $as_nl"
51133
51134 # CDPATH.
51135 $as_unset CDPATH
51136
51137 exec 6>&1
51138
51139 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51140 # report actual input values of CONFIG_FILES etc. instead of their
51141 # values after options handling. Logging --version etc. is OK.
51142 exec 5>>config.log
51143 {
51144 echo
51145 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51146 ## Running $as_me. ##
51147 _ASBOX
51148 } >&5
51149 cat >&5 <<_CSEOF
51150
51151 This file was extended by wxWidgets $as_me 2.7.1, which was
51152 generated by GNU Autoconf 2.59. Invocation command line was
51153
51154 CONFIG_FILES = $CONFIG_FILES
51155 CONFIG_HEADERS = $CONFIG_HEADERS
51156 CONFIG_LINKS = $CONFIG_LINKS
51157 CONFIG_COMMANDS = $CONFIG_COMMANDS
51158 $ $0 $@
51159
51160 _CSEOF
51161 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51162 echo >&5
51163 _ACEOF
51164
51165 # Files that config.status was made for.
51166 if test -n "$ac_config_files"; then
51167 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51168 fi
51169
51170 if test -n "$ac_config_headers"; then
51171 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51172 fi
51173
51174 if test -n "$ac_config_links"; then
51175 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51176 fi
51177
51178 if test -n "$ac_config_commands"; then
51179 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51180 fi
51181
51182 cat >>$CONFIG_STATUS <<\_ACEOF
51183
51184 ac_cs_usage="\
51185 \`$as_me' instantiates files from templates according to the
51186 current configuration.
51187
51188 Usage: $0 [OPTIONS] [FILE]...
51189
51190 -h, --help print this help, then exit
51191 -V, --version print version number, then exit
51192 -q, --quiet do not print progress messages
51193 -d, --debug don't remove temporary files
51194 --recheck update $as_me by reconfiguring in the same conditions
51195 --file=FILE[:TEMPLATE]
51196 instantiate the configuration file FILE
51197 --header=FILE[:TEMPLATE]
51198 instantiate the configuration header FILE
51199
51200 Configuration files:
51201 $config_files
51202
51203 Configuration headers:
51204 $config_headers
51205
51206 Configuration commands:
51207 $config_commands
51208
51209 Report bugs to <bug-autoconf@gnu.org>."
51210 _ACEOF
51211
51212 cat >>$CONFIG_STATUS <<_ACEOF
51213 ac_cs_version="\\
51214 wxWidgets config.status 2.7.1
51215 configured by $0, generated by GNU Autoconf 2.59,
51216 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51217
51218 Copyright (C) 2003 Free Software Foundation, Inc.
51219 This config.status script is free software; the Free Software Foundation
51220 gives unlimited permission to copy, distribute and modify it."
51221 srcdir=$srcdir
51222 INSTALL="$INSTALL"
51223 _ACEOF
51224
51225 cat >>$CONFIG_STATUS <<\_ACEOF
51226 # If no file are specified by the user, then we need to provide default
51227 # value. By we need to know if files were specified by the user.
51228 ac_need_defaults=:
51229 while test $# != 0
51230 do
51231 case $1 in
51232 --*=*)
51233 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51234 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51235 ac_shift=:
51236 ;;
51237 -*)
51238 ac_option=$1
51239 ac_optarg=$2
51240 ac_shift=shift
51241 ;;
51242 *) # This is not an option, so the user has probably given explicit
51243 # arguments.
51244 ac_option=$1
51245 ac_need_defaults=false;;
51246 esac
51247
51248 case $ac_option in
51249 # Handling of the options.
51250 _ACEOF
51251 cat >>$CONFIG_STATUS <<\_ACEOF
51252 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51253 ac_cs_recheck=: ;;
51254 --version | --vers* | -V )
51255 echo "$ac_cs_version"; exit 0 ;;
51256 --he | --h)
51257 # Conflict between --help and --header
51258 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51259 Try \`$0 --help' for more information." >&5
51260 echo "$as_me: error: ambiguous option: $1
51261 Try \`$0 --help' for more information." >&2;}
51262 { (exit 1); exit 1; }; };;
51263 --help | --hel | -h )
51264 echo "$ac_cs_usage"; exit 0 ;;
51265 --debug | --d* | -d )
51266 debug=: ;;
51267 --file | --fil | --fi | --f )
51268 $ac_shift
51269 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51270 ac_need_defaults=false;;
51271 --header | --heade | --head | --hea )
51272 $ac_shift
51273 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51274 ac_need_defaults=false;;
51275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51276 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51277 ac_cs_silent=: ;;
51278
51279 # This is an error.
51280 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51281 Try \`$0 --help' for more information." >&5
51282 echo "$as_me: error: unrecognized option: $1
51283 Try \`$0 --help' for more information." >&2;}
51284 { (exit 1); exit 1; }; } ;;
51285
51286 *) ac_config_targets="$ac_config_targets $1" ;;
51287
51288 esac
51289 shift
51290 done
51291
51292 ac_configure_extra_args=
51293
51294 if $ac_cs_silent; then
51295 exec 6>/dev/null
51296 ac_configure_extra_args="$ac_configure_extra_args --silent"
51297 fi
51298
51299 _ACEOF
51300 cat >>$CONFIG_STATUS <<_ACEOF
51301 if \$ac_cs_recheck; then
51302 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51303 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51304 fi
51305
51306 _ACEOF
51307
51308 cat >>$CONFIG_STATUS <<_ACEOF
51309 #
51310 # INIT-COMMANDS section.
51311 #
51312
51313
51314 CPP="$CPP"
51315 infile="$srcdir/include/wx/msw/genrcdefs.h"
51316 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51317
51318
51319 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51320 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51321 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51322 LN_S="${LN_S}"
51323
51324
51325 _ACEOF
51326
51327
51328
51329 cat >>$CONFIG_STATUS <<\_ACEOF
51330 for ac_config_target in $ac_config_targets
51331 do
51332 case "$ac_config_target" in
51333 # Handling of arguments.
51334 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51335 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51336 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51337 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51338 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51339 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51340 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51341 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51342 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51343 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51344 { (exit 1); exit 1; }; };;
51345 esac
51346 done
51347
51348 # If the user did not use the arguments to specify the items to instantiate,
51349 # then the envvar interface is used. Set only those that are not.
51350 # We use the long form for the default assignment because of an extremely
51351 # bizarre bug on SunOS 4.1.3.
51352 if $ac_need_defaults; then
51353 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51354 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51355 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51356 fi
51357
51358 # Have a temporary directory for convenience. Make it in the build tree
51359 # simply because there is no reason to put it here, and in addition,
51360 # creating and moving files from /tmp can sometimes cause problems.
51361 # Create a temporary directory, and hook for its removal unless debugging.
51362 $debug ||
51363 {
51364 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51365 trap '{ (exit 1); exit 1; }' 1 2 13 15
51366 }
51367
51368 # Create a (secure) tmp directory for tmp files.
51369
51370 {
51371 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51372 test -n "$tmp" && test -d "$tmp"
51373 } ||
51374 {
51375 tmp=./confstat$$-$RANDOM
51376 (umask 077 && mkdir $tmp)
51377 } ||
51378 {
51379 echo "$me: cannot create a temporary directory in ." >&2
51380 { (exit 1); exit 1; }
51381 }
51382
51383 _ACEOF
51384
51385 cat >>$CONFIG_STATUS <<_ACEOF
51386
51387 #
51388 # CONFIG_FILES section.
51389 #
51390
51391 # No need to generate the scripts if there are no CONFIG_FILES.
51392 # This happens for instance when ./config.status config.h
51393 if test -n "\$CONFIG_FILES"; then
51394 # Protect against being on the right side of a sed subst in config.status.
51395 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51396 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51397 s,@SHELL@,$SHELL,;t t
51398 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51399 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51400 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51401 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51402 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51403 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51404 s,@exec_prefix@,$exec_prefix,;t t
51405 s,@prefix@,$prefix,;t t
51406 s,@program_transform_name@,$program_transform_name,;t t
51407 s,@bindir@,$bindir,;t t
51408 s,@sbindir@,$sbindir,;t t
51409 s,@libexecdir@,$libexecdir,;t t
51410 s,@datadir@,$datadir,;t t
51411 s,@sysconfdir@,$sysconfdir,;t t
51412 s,@sharedstatedir@,$sharedstatedir,;t t
51413 s,@localstatedir@,$localstatedir,;t t
51414 s,@libdir@,$libdir,;t t
51415 s,@includedir@,$includedir,;t t
51416 s,@oldincludedir@,$oldincludedir,;t t
51417 s,@infodir@,$infodir,;t t
51418 s,@mandir@,$mandir,;t t
51419 s,@build_alias@,$build_alias,;t t
51420 s,@host_alias@,$host_alias,;t t
51421 s,@target_alias@,$target_alias,;t t
51422 s,@DEFS@,$DEFS,;t t
51423 s,@ECHO_C@,$ECHO_C,;t t
51424 s,@ECHO_N@,$ECHO_N,;t t
51425 s,@ECHO_T@,$ECHO_T,;t t
51426 s,@LIBS@,$LIBS,;t t
51427 s,@build@,$build,;t t
51428 s,@build_cpu@,$build_cpu,;t t
51429 s,@build_vendor@,$build_vendor,;t t
51430 s,@build_os@,$build_os,;t t
51431 s,@host@,$host,;t t
51432 s,@host_cpu@,$host_cpu,;t t
51433 s,@host_vendor@,$host_vendor,;t t
51434 s,@host_os@,$host_os,;t t
51435 s,@target@,$target,;t t
51436 s,@target_cpu@,$target_cpu,;t t
51437 s,@target_vendor@,$target_vendor,;t t
51438 s,@target_os@,$target_os,;t t
51439 s,@CC@,$CC,;t t
51440 s,@CFLAGS@,$CFLAGS,;t t
51441 s,@LDFLAGS@,$LDFLAGS,;t t
51442 s,@CPPFLAGS@,$CPPFLAGS,;t t
51443 s,@ac_ct_CC@,$ac_ct_CC,;t t
51444 s,@EXEEXT@,$EXEEXT,;t t
51445 s,@OBJEXT@,$OBJEXT,;t t
51446 s,@CPP@,$CPP,;t t
51447 s,@EGREP@,$EGREP,;t t
51448 s,@CXX@,$CXX,;t t
51449 s,@CXXFLAGS@,$CXXFLAGS,;t t
51450 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51451 s,@RANLIB@,$RANLIB,;t t
51452 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51453 s,@AR@,$AR,;t t
51454 s,@ac_ct_AR@,$ac_ct_AR,;t t
51455 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51456 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51457 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51458 s,@STRIP@,$STRIP,;t t
51459 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51460 s,@WINDRES@,$WINDRES,;t t
51461 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51462 s,@DLLTOOL@,$DLLTOOL,;t t
51463 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51464 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51465 s,@LN_S@,$LN_S,;t t
51466 s,@CXXCPP@,$CXXCPP,;t t
51467 s,@subdirs@,$subdirs,;t t
51468 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51469 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51470 s,@GTK_LIBS@,$GTK_LIBS,;t t
51471 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51472 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51473 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51474 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51475 s,@X_CFLAGS@,$X_CFLAGS,;t t
51476 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51477 s,@X_LIBS@,$X_LIBS,;t t
51478 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51479 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51480 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51481 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51482 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51483 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51484 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51485 s,@REZ@,$REZ,;t t
51486 s,@DEREZ@,$DEREZ,;t t
51487 s,@SETFILE@,$SETFILE,;t t
51488 s,@LIBICONV@,$LIBICONV,;t t
51489 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51490 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51491 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51492 s,@SDL_LIBS@,$SDL_LIBS,;t t
51493 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51494 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51495 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51496 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51497 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51498 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51499 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51500 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51501 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51502 s,@GST_LIBS@,$GST_LIBS,;t t
51503 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51504 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51505 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51506 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51507 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51508 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51509 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51510 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51511 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51512 s,@VENDOR@,$VENDOR,;t t
51513 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51514 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51515 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51516 s,@WXUNIV@,$WXUNIV,;t t
51517 s,@MONOLITHIC@,$MONOLITHIC,;t t
51518 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51519 s,@EXTRALIBS@,$EXTRALIBS,;t t
51520 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51521 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51522 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51523 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51524 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51525 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51526 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51527 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51528 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51529 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51530 s,@UNICODE@,$UNICODE,;t t
51531 s,@BUILD@,$BUILD,;t t
51532 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51533 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51534 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51535 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51536 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51537 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51538 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51539 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51540 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51541 s,@SET_MAKE@,$SET_MAKE,;t t
51542 s,@MAKE_SET@,$MAKE_SET,;t t
51543 s,@NM@,$NM,;t t
51544 s,@ac_ct_NM@,$ac_ct_NM,;t t
51545 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51546 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51547 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51548 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51549 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51550 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51551 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51552 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51553 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51554 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51555 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51556 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51557 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51558 s,@LIBPREFIX@,$LIBPREFIX,;t t
51559 s,@LIBEXT@,$LIBEXT,;t t
51560 s,@DLLPREFIX@,$DLLPREFIX,;t t
51561 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51562 s,@dlldir@,$dlldir,;t t
51563 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51564 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51565 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51566 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51567 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51568 s,@PIC_FLAG@,$PIC_FLAG,;t t
51569 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51570 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51571 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51572 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51573 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51574 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51575 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51576 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51577 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51578 s,@GCC_PCH@,$GCC_PCH,;t t
51579 s,@ICC_PCH@,$ICC_PCH,;t t
51580 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51581 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51582 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51583 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51584 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51585 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51586 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51587 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51588 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51589 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51590 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51591 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51592 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51593 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51594 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51595 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51596 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51597 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51598 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51599 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51600 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
51601 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
51602 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
51603 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
51604 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51605 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51606 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51607 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51608 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51609 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51610 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
51611 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
51612 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
51613 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
51614 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51615 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51616 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51617 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51618 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51619 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51620 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51621 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51622 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51623 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51624 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51625 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51626 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51627 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51628 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51629 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51630 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51631 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51632 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51633 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51634 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51635 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51636 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51637 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51638 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51639 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51640 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51641 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51642 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51643 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51644 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51645 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51646 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51647 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51648 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51649 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51650 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51651 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51652 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51653 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51654 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51655 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51656 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51657 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51658 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51659 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51660 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51661 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51662 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51663 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51664 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51665 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51666 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51667 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51668 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51669 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51670 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51671 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51672 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51673 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51674 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
51675 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51676 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51677 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51678 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51679 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51680 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51681 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51682 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51683 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51684 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51685 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51686 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51687 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51688 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51689 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51690 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51691 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51692 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51693 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51694 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51695 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51696 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51697 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51698 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51699 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51700 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51701 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51702 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51703 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51704 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51705 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51706 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51707 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51708 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51709 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51710 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51711 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51712 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51713 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51714 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51715 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51716 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51717 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51718 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51719 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51720 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51721 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51722 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51723 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51724 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51725 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51726 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51727 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51728 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51729 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51730 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51731 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51732 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51733 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51734 s,@SHARED@,$SHARED,;t t
51735 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51736 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51737 s,@USE_GUI@,$USE_GUI,;t t
51738 s,@AFMINSTALL@,$AFMINSTALL,;t t
51739 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51740 s,@TOOLKIT@,$TOOLKIT,;t t
51741 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51742 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51743 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51744 s,@cross_compiling@,$cross_compiling,;t t
51745 s,@WIDGET_SET@,$WIDGET_SET,;t t
51746 s,@WX_RELEASE@,$WX_RELEASE,;t t
51747 s,@WX_VERSION@,$WX_VERSION,;t t
51748 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51749 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51750 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51751 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51752 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51753 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51754 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51755 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51756 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51757 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51758 s,@EXE_LINKER@,$EXE_LINKER,;t t
51759 s,@GUIDIST@,$GUIDIST,;t t
51760 s,@DISTDIR@,$DISTDIR,;t t
51761 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51762 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51763 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51764 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51765 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51766 s,@RESCOMP@,$RESCOMP,;t t
51767 s,@RESFLAGS@,$RESFLAGS,;t t
51768 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51769 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51770 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51771 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51772 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51773 s,@MACSETFILE@,$MACSETFILE,;t t
51774 s,@GCC@,$GCC,;t t
51775 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51776 s,@LIBOBJS@,$LIBOBJS,;t t
51777 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51778 CEOF
51779
51780 _ACEOF
51781
51782 cat >>$CONFIG_STATUS <<\_ACEOF
51783 # Split the substitutions into bite-sized pieces for seds with
51784 # small command number limits, like on Digital OSF/1 and HP-UX.
51785 ac_max_sed_lines=48
51786 ac_sed_frag=1 # Number of current file.
51787 ac_beg=1 # First line for current file.
51788 ac_end=$ac_max_sed_lines # Line after last line for current file.
51789 ac_more_lines=:
51790 ac_sed_cmds=
51791 while $ac_more_lines; do
51792 if test $ac_beg -gt 1; then
51793 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51794 else
51795 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51796 fi
51797 if test ! -s $tmp/subs.frag; then
51798 ac_more_lines=false
51799 else
51800 # The purpose of the label and of the branching condition is to
51801 # speed up the sed processing (if there are no `@' at all, there
51802 # is no need to browse any of the substitutions).
51803 # These are the two extra sed commands mentioned above.
51804 (echo ':t
51805 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51806 if test -z "$ac_sed_cmds"; then
51807 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51808 else
51809 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51810 fi
51811 ac_sed_frag=`expr $ac_sed_frag + 1`
51812 ac_beg=$ac_end
51813 ac_end=`expr $ac_end + $ac_max_sed_lines`
51814 fi
51815 done
51816 if test -z "$ac_sed_cmds"; then
51817 ac_sed_cmds=cat
51818 fi
51819 fi # test -n "$CONFIG_FILES"
51820
51821 _ACEOF
51822 cat >>$CONFIG_STATUS <<\_ACEOF
51823 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51824 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51825 case $ac_file in
51826 - | *:- | *:-:* ) # input from stdin
51827 cat >$tmp/stdin
51828 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51829 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51830 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51831 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51832 * ) ac_file_in=$ac_file.in ;;
51833 esac
51834
51835 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51836 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51838 X"$ac_file" : 'X\(//\)[^/]' \| \
51839 X"$ac_file" : 'X\(//\)$' \| \
51840 X"$ac_file" : 'X\(/\)' \| \
51841 . : '\(.\)' 2>/dev/null ||
51842 echo X"$ac_file" |
51843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51845 /^X\(\/\/\)$/{ s//\1/; q; }
51846 /^X\(\/\).*/{ s//\1/; q; }
51847 s/.*/./; q'`
51848 { if $as_mkdir_p; then
51849 mkdir -p "$ac_dir"
51850 else
51851 as_dir="$ac_dir"
51852 as_dirs=
51853 while test ! -d "$as_dir"; do
51854 as_dirs="$as_dir $as_dirs"
51855 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51857 X"$as_dir" : 'X\(//\)[^/]' \| \
51858 X"$as_dir" : 'X\(//\)$' \| \
51859 X"$as_dir" : 'X\(/\)' \| \
51860 . : '\(.\)' 2>/dev/null ||
51861 echo X"$as_dir" |
51862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51864 /^X\(\/\/\)$/{ s//\1/; q; }
51865 /^X\(\/\).*/{ s//\1/; q; }
51866 s/.*/./; q'`
51867 done
51868 test ! -n "$as_dirs" || mkdir $as_dirs
51869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51871 { (exit 1); exit 1; }; }; }
51872
51873 ac_builddir=.
51874
51875 if test "$ac_dir" != .; then
51876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51877 # A "../" for each directory in $ac_dir_suffix.
51878 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51879 else
51880 ac_dir_suffix= ac_top_builddir=
51881 fi
51882
51883 case $srcdir in
51884 .) # No --srcdir option. We are building in place.
51885 ac_srcdir=.
51886 if test -z "$ac_top_builddir"; then
51887 ac_top_srcdir=.
51888 else
51889 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51890 fi ;;
51891 [\\/]* | ?:[\\/]* ) # Absolute path.
51892 ac_srcdir=$srcdir$ac_dir_suffix;
51893 ac_top_srcdir=$srcdir ;;
51894 *) # Relative path.
51895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51897 esac
51898
51899 # Do not use `cd foo && pwd` to compute absolute paths, because
51900 # the directories may not exist.
51901 case `pwd` in
51902 .) ac_abs_builddir="$ac_dir";;
51903 *)
51904 case "$ac_dir" in
51905 .) ac_abs_builddir=`pwd`;;
51906 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51907 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51908 esac;;
51909 esac
51910 case $ac_abs_builddir in
51911 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51912 *)
51913 case ${ac_top_builddir}. in
51914 .) ac_abs_top_builddir=$ac_abs_builddir;;
51915 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51916 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51917 esac;;
51918 esac
51919 case $ac_abs_builddir in
51920 .) ac_abs_srcdir=$ac_srcdir;;
51921 *)
51922 case $ac_srcdir in
51923 .) ac_abs_srcdir=$ac_abs_builddir;;
51924 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51925 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51926 esac;;
51927 esac
51928 case $ac_abs_builddir in
51929 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51930 *)
51931 case $ac_top_srcdir in
51932 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51933 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51934 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51935 esac;;
51936 esac
51937
51938
51939 case $INSTALL in
51940 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51941 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51942 esac
51943
51944 # Let's still pretend it is `configure' which instantiates (i.e., don't
51945 # use $as_me), people would be surprised to read:
51946 # /* config.h. Generated by config.status. */
51947 if test x"$ac_file" = x-; then
51948 configure_input=
51949 else
51950 configure_input="$ac_file. "
51951 fi
51952 configure_input=$configure_input"Generated from `echo $ac_file_in |
51953 sed 's,.*/,,'` by configure."
51954
51955 # First look for the input files in the build tree, otherwise in the
51956 # src tree.
51957 ac_file_inputs=`IFS=:
51958 for f in $ac_file_in; do
51959 case $f in
51960 -) echo $tmp/stdin ;;
51961 [\\/$]*)
51962 # Absolute (can't be DOS-style, as IFS=:)
51963 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51964 echo "$as_me: error: cannot find input file: $f" >&2;}
51965 { (exit 1); exit 1; }; }
51966 echo "$f";;
51967 *) # Relative
51968 if test -f "$f"; then
51969 # Build tree
51970 echo "$f"
51971 elif test -f "$srcdir/$f"; then
51972 # Source tree
51973 echo "$srcdir/$f"
51974 else
51975 # /dev/null tree
51976 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51977 echo "$as_me: error: cannot find input file: $f" >&2;}
51978 { (exit 1); exit 1; }; }
51979 fi;;
51980 esac
51981 done` || { (exit 1); exit 1; }
51982
51983 if test x"$ac_file" != x-; then
51984 { echo "$as_me:$LINENO: creating $ac_file" >&5
51985 echo "$as_me: creating $ac_file" >&6;}
51986 rm -f "$ac_file"
51987 fi
51988 _ACEOF
51989 cat >>$CONFIG_STATUS <<_ACEOF
51990 sed "$ac_vpsub
51991 $extrasub
51992 _ACEOF
51993 cat >>$CONFIG_STATUS <<\_ACEOF
51994 :t
51995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51996 s,@configure_input@,$configure_input,;t t
51997 s,@srcdir@,$ac_srcdir,;t t
51998 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51999 s,@top_srcdir@,$ac_top_srcdir,;t t
52000 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52001 s,@builddir@,$ac_builddir,;t t
52002 s,@abs_builddir@,$ac_abs_builddir,;t t
52003 s,@top_builddir@,$ac_top_builddir,;t t
52004 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52005 s,@INSTALL@,$ac_INSTALL,;t t
52006 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52007 rm -f $tmp/stdin
52008 if test x"$ac_file" != x-; then
52009 mv $tmp/out $ac_file
52010 else
52011 cat $tmp/out
52012 rm -f $tmp/out
52013 fi
52014
52015 # Run the commands associated with the file.
52016 case $ac_file in
52017 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52018 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52019 esac
52020 done
52021 _ACEOF
52022 cat >>$CONFIG_STATUS <<\_ACEOF
52023
52024 #
52025 # CONFIG_HEADER section.
52026 #
52027
52028 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52029 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52030 #
52031 # ac_d sets the value in "#define NAME VALUE" lines.
52032 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52033 ac_dB='[ ].*$,\1#\2'
52034 ac_dC=' '
52035 ac_dD=',;t'
52036 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52037 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52038 ac_uB='$,\1#\2define\3'
52039 ac_uC=' '
52040 ac_uD=',;t'
52041
52042 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52043 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52044 case $ac_file in
52045 - | *:- | *:-:* ) # input from stdin
52046 cat >$tmp/stdin
52047 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52048 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52049 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52050 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52051 * ) ac_file_in=$ac_file.in ;;
52052 esac
52053
52054 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52055 echo "$as_me: creating $ac_file" >&6;}
52056
52057 # First look for the input files in the build tree, otherwise in the
52058 # src tree.
52059 ac_file_inputs=`IFS=:
52060 for f in $ac_file_in; do
52061 case $f in
52062 -) echo $tmp/stdin ;;
52063 [\\/$]*)
52064 # Absolute (can't be DOS-style, as IFS=:)
52065 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52066 echo "$as_me: error: cannot find input file: $f" >&2;}
52067 { (exit 1); exit 1; }; }
52068 # Do quote $f, to prevent DOS paths from being IFS'd.
52069 echo "$f";;
52070 *) # Relative
52071 if test -f "$f"; then
52072 # Build tree
52073 echo "$f"
52074 elif test -f "$srcdir/$f"; then
52075 # Source tree
52076 echo "$srcdir/$f"
52077 else
52078 # /dev/null tree
52079 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52080 echo "$as_me: error: cannot find input file: $f" >&2;}
52081 { (exit 1); exit 1; }; }
52082 fi;;
52083 esac
52084 done` || { (exit 1); exit 1; }
52085 # Remove the trailing spaces.
52086 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52087
52088 _ACEOF
52089
52090 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52091 # `conftest.undefs', that substitutes the proper values into
52092 # config.h.in to produce config.h. The first handles `#define'
52093 # templates, and the second `#undef' templates.
52094 # And first: Protect against being on the right side of a sed subst in
52095 # config.status. Protect against being in an unquoted here document
52096 # in config.status.
52097 rm -f conftest.defines conftest.undefs
52098 # Using a here document instead of a string reduces the quoting nightmare.
52099 # Putting comments in sed scripts is not portable.
52100 #
52101 # `end' is used to avoid that the second main sed command (meant for
52102 # 0-ary CPP macros) applies to n-ary macro definitions.
52103 # See the Autoconf documentation for `clear'.
52104 cat >confdef2sed.sed <<\_ACEOF
52105 s/[\\&,]/\\&/g
52106 s,[\\$`],\\&,g
52107 t clear
52108 : clear
52109 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52110 t end
52111 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52112 : end
52113 _ACEOF
52114 # If some macros were called several times there might be several times
52115 # the same #defines, which is useless. Nevertheless, we may not want to
52116 # sort them, since we want the *last* AC-DEFINE to be honored.
52117 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52118 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52119 rm -f confdef2sed.sed
52120
52121 # This sed command replaces #undef with comments. This is necessary, for
52122 # example, in the case of _POSIX_SOURCE, which is predefined and required
52123 # on some systems where configure will not decide to define it.
52124 cat >>conftest.undefs <<\_ACEOF
52125 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52126 _ACEOF
52127
52128 # Break up conftest.defines because some shells have a limit on the size
52129 # of here documents, and old seds have small limits too (100 cmds).
52130 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52131 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52132 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52133 echo ' :' >>$CONFIG_STATUS
52134 rm -f conftest.tail
52135 while grep . conftest.defines >/dev/null
52136 do
52137 # Write a limited-size here document to $tmp/defines.sed.
52138 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52139 # Speed up: don't consider the non `#define' lines.
52140 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52141 # Work around the forget-to-reset-the-flag bug.
52142 echo 't clr' >>$CONFIG_STATUS
52143 echo ': clr' >>$CONFIG_STATUS
52144 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52145 echo 'CEOF
52146 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52147 rm -f $tmp/in
52148 mv $tmp/out $tmp/in
52149 ' >>$CONFIG_STATUS
52150 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52151 rm -f conftest.defines
52152 mv conftest.tail conftest.defines
52153 done
52154 rm -f conftest.defines
52155 echo ' fi # grep' >>$CONFIG_STATUS
52156 echo >>$CONFIG_STATUS
52157
52158 # Break up conftest.undefs because some shells have a limit on the size
52159 # of here documents, and old seds have small limits too (100 cmds).
52160 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52161 rm -f conftest.tail
52162 while grep . conftest.undefs >/dev/null
52163 do
52164 # Write a limited-size here document to $tmp/undefs.sed.
52165 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52166 # Speed up: don't consider the non `#undef'
52167 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52168 # Work around the forget-to-reset-the-flag bug.
52169 echo 't clr' >>$CONFIG_STATUS
52170 echo ': clr' >>$CONFIG_STATUS
52171 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52172 echo 'CEOF
52173 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52174 rm -f $tmp/in
52175 mv $tmp/out $tmp/in
52176 ' >>$CONFIG_STATUS
52177 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52178 rm -f conftest.undefs
52179 mv conftest.tail conftest.undefs
52180 done
52181 rm -f conftest.undefs
52182
52183 cat >>$CONFIG_STATUS <<\_ACEOF
52184 # Let's still pretend it is `configure' which instantiates (i.e., don't
52185 # use $as_me), people would be surprised to read:
52186 # /* config.h. Generated by config.status. */
52187 if test x"$ac_file" = x-; then
52188 echo "/* Generated by configure. */" >$tmp/config.h
52189 else
52190 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52191 fi
52192 cat $tmp/in >>$tmp/config.h
52193 rm -f $tmp/in
52194 if test x"$ac_file" != x-; then
52195 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52196 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52197 echo "$as_me: $ac_file is unchanged" >&6;}
52198 else
52199 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52200 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52201 X"$ac_file" : 'X\(//\)[^/]' \| \
52202 X"$ac_file" : 'X\(//\)$' \| \
52203 X"$ac_file" : 'X\(/\)' \| \
52204 . : '\(.\)' 2>/dev/null ||
52205 echo X"$ac_file" |
52206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52207 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52208 /^X\(\/\/\)$/{ s//\1/; q; }
52209 /^X\(\/\).*/{ s//\1/; q; }
52210 s/.*/./; q'`
52211 { if $as_mkdir_p; then
52212 mkdir -p "$ac_dir"
52213 else
52214 as_dir="$ac_dir"
52215 as_dirs=
52216 while test ! -d "$as_dir"; do
52217 as_dirs="$as_dir $as_dirs"
52218 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52219 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52220 X"$as_dir" : 'X\(//\)[^/]' \| \
52221 X"$as_dir" : 'X\(//\)$' \| \
52222 X"$as_dir" : 'X\(/\)' \| \
52223 . : '\(.\)' 2>/dev/null ||
52224 echo X"$as_dir" |
52225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52227 /^X\(\/\/\)$/{ s//\1/; q; }
52228 /^X\(\/\).*/{ s//\1/; q; }
52229 s/.*/./; q'`
52230 done
52231 test ! -n "$as_dirs" || mkdir $as_dirs
52232 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52233 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52234 { (exit 1); exit 1; }; }; }
52235
52236 rm -f $ac_file
52237 mv $tmp/config.h $ac_file
52238 fi
52239 else
52240 cat $tmp/config.h
52241 rm -f $tmp/config.h
52242 fi
52243 done
52244 _ACEOF
52245 cat >>$CONFIG_STATUS <<\_ACEOF
52246
52247 #
52248 # CONFIG_COMMANDS section.
52249 #
52250 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52251 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52252 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52253 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52254 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52255 X"$ac_dest" : 'X\(//\)[^/]' \| \
52256 X"$ac_dest" : 'X\(//\)$' \| \
52257 X"$ac_dest" : 'X\(/\)' \| \
52258 . : '\(.\)' 2>/dev/null ||
52259 echo X"$ac_dest" |
52260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52262 /^X\(\/\/\)$/{ s//\1/; q; }
52263 /^X\(\/\).*/{ s//\1/; q; }
52264 s/.*/./; q'`
52265 { if $as_mkdir_p; then
52266 mkdir -p "$ac_dir"
52267 else
52268 as_dir="$ac_dir"
52269 as_dirs=
52270 while test ! -d "$as_dir"; do
52271 as_dirs="$as_dir $as_dirs"
52272 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52274 X"$as_dir" : 'X\(//\)[^/]' \| \
52275 X"$as_dir" : 'X\(//\)$' \| \
52276 X"$as_dir" : 'X\(/\)' \| \
52277 . : '\(.\)' 2>/dev/null ||
52278 echo X"$as_dir" |
52279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52281 /^X\(\/\/\)$/{ s//\1/; q; }
52282 /^X\(\/\).*/{ s//\1/; q; }
52283 s/.*/./; q'`
52284 done
52285 test ! -n "$as_dirs" || mkdir $as_dirs
52286 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52287 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52288 { (exit 1); exit 1; }; }; }
52289
52290 ac_builddir=.
52291
52292 if test "$ac_dir" != .; then
52293 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52294 # A "../" for each directory in $ac_dir_suffix.
52295 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52296 else
52297 ac_dir_suffix= ac_top_builddir=
52298 fi
52299
52300 case $srcdir in
52301 .) # No --srcdir option. We are building in place.
52302 ac_srcdir=.
52303 if test -z "$ac_top_builddir"; then
52304 ac_top_srcdir=.
52305 else
52306 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52307 fi ;;
52308 [\\/]* | ?:[\\/]* ) # Absolute path.
52309 ac_srcdir=$srcdir$ac_dir_suffix;
52310 ac_top_srcdir=$srcdir ;;
52311 *) # Relative path.
52312 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52313 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52314 esac
52315
52316 # Do not use `cd foo && pwd` to compute absolute paths, because
52317 # the directories may not exist.
52318 case `pwd` in
52319 .) ac_abs_builddir="$ac_dir";;
52320 *)
52321 case "$ac_dir" in
52322 .) ac_abs_builddir=`pwd`;;
52323 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52324 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52325 esac;;
52326 esac
52327 case $ac_abs_builddir in
52328 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52329 *)
52330 case ${ac_top_builddir}. in
52331 .) ac_abs_top_builddir=$ac_abs_builddir;;
52332 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52333 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52334 esac;;
52335 esac
52336 case $ac_abs_builddir in
52337 .) ac_abs_srcdir=$ac_srcdir;;
52338 *)
52339 case $ac_srcdir in
52340 .) ac_abs_srcdir=$ac_abs_builddir;;
52341 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52342 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52343 esac;;
52344 esac
52345 case $ac_abs_builddir in
52346 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52347 *)
52348 case $ac_top_srcdir in
52349 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52350 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52351 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52352 esac;;
52353 esac
52354
52355
52356 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52357 echo "$as_me: executing $ac_dest commands" >&6;}
52358 case $ac_dest in
52359 rcdefs.h )
52360 mkdir -p $outdir &&
52361 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52362 ;;
52363 wx-config ) rm -f wx-config
52364 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52365 ;;
52366 esac
52367 done
52368 _ACEOF
52369
52370 cat >>$CONFIG_STATUS <<\_ACEOF
52371
52372 { (exit 0); exit 0; }
52373 _ACEOF
52374 chmod +x $CONFIG_STATUS
52375 ac_clean_files=$ac_clean_files_save
52376
52377
52378 # configure is writing to config.log, and then calls config.status.
52379 # config.status does its own redirection, appending to config.log.
52380 # Unfortunately, on DOS this fails, as config.log is still kept open
52381 # by configure, so config.status won't be able to write to it; its
52382 # output is simply discarded. So we exec the FD to /dev/null,
52383 # effectively closing config.log, so it can be properly (re)opened and
52384 # appended to by config.status. When coming back to configure, we
52385 # need to make the FD available again.
52386 if test "$no_create" != yes; then
52387 ac_cs_success=:
52388 ac_config_status_args=
52389 test "$silent" = yes &&
52390 ac_config_status_args="$ac_config_status_args --quiet"
52391 exec 5>/dev/null
52392 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52393 exec 5>>config.log
52394 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52395 # would make configure fail if this is the last instruction.
52396 $ac_cs_success || { (exit 1); exit 1; }
52397 fi
52398
52399 #
52400 # CONFIG_SUBDIRS section.
52401 #
52402 if test "$no_recursion" != yes; then
52403
52404 # Remove --cache-file and --srcdir arguments so they do not pile up.
52405 ac_sub_configure_args=
52406 ac_prev=
52407 for ac_arg in $ac_configure_args; do
52408 if test -n "$ac_prev"; then
52409 ac_prev=
52410 continue
52411 fi
52412 case $ac_arg in
52413 -cache-file | --cache-file | --cache-fil | --cache-fi \
52414 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52415 ac_prev=cache_file ;;
52416 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52417 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52418 | --c=*)
52419 ;;
52420 --config-cache | -C)
52421 ;;
52422 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52423 ac_prev=srcdir ;;
52424 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52425 ;;
52426 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52427 ac_prev=prefix ;;
52428 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52429 ;;
52430 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52431 esac
52432 done
52433
52434 # Always prepend --prefix to ensure using the same prefix
52435 # in subdir configurations.
52436 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52437
52438 ac_popdir=`pwd`
52439 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52440
52441 # Do not complain, so a configure script can configure whichever
52442 # parts of a large source tree are present.
52443 test -d $srcdir/$ac_dir || continue
52444
52445 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52446 echo "$as_me: configuring in $ac_dir" >&6;}
52447 { if $as_mkdir_p; then
52448 mkdir -p "$ac_dir"
52449 else
52450 as_dir="$ac_dir"
52451 as_dirs=
52452 while test ! -d "$as_dir"; do
52453 as_dirs="$as_dir $as_dirs"
52454 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52456 X"$as_dir" : 'X\(//\)[^/]' \| \
52457 X"$as_dir" : 'X\(//\)$' \| \
52458 X"$as_dir" : 'X\(/\)' \| \
52459 . : '\(.\)' 2>/dev/null ||
52460 echo X"$as_dir" |
52461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52462 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52463 /^X\(\/\/\)$/{ s//\1/; q; }
52464 /^X\(\/\).*/{ s//\1/; q; }
52465 s/.*/./; q'`
52466 done
52467 test ! -n "$as_dirs" || mkdir $as_dirs
52468 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52469 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52470 { (exit 1); exit 1; }; }; }
52471
52472 ac_builddir=.
52473
52474 if test "$ac_dir" != .; then
52475 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52476 # A "../" for each directory in $ac_dir_suffix.
52477 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52478 else
52479 ac_dir_suffix= ac_top_builddir=
52480 fi
52481
52482 case $srcdir in
52483 .) # No --srcdir option. We are building in place.
52484 ac_srcdir=.
52485 if test -z "$ac_top_builddir"; then
52486 ac_top_srcdir=.
52487 else
52488 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52489 fi ;;
52490 [\\/]* | ?:[\\/]* ) # Absolute path.
52491 ac_srcdir=$srcdir$ac_dir_suffix;
52492 ac_top_srcdir=$srcdir ;;
52493 *) # Relative path.
52494 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52495 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52496 esac
52497
52498 # Do not use `cd foo && pwd` to compute absolute paths, because
52499 # the directories may not exist.
52500 case `pwd` in
52501 .) ac_abs_builddir="$ac_dir";;
52502 *)
52503 case "$ac_dir" in
52504 .) ac_abs_builddir=`pwd`;;
52505 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52506 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52507 esac;;
52508 esac
52509 case $ac_abs_builddir in
52510 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52511 *)
52512 case ${ac_top_builddir}. in
52513 .) ac_abs_top_builddir=$ac_abs_builddir;;
52514 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52515 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52516 esac;;
52517 esac
52518 case $ac_abs_builddir in
52519 .) ac_abs_srcdir=$ac_srcdir;;
52520 *)
52521 case $ac_srcdir in
52522 .) ac_abs_srcdir=$ac_abs_builddir;;
52523 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52524 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52525 esac;;
52526 esac
52527 case $ac_abs_builddir in
52528 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52529 *)
52530 case $ac_top_srcdir in
52531 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52532 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52533 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52534 esac;;
52535 esac
52536
52537
52538 cd $ac_dir
52539
52540 # Check for guested configure; otherwise get Cygnus style configure.
52541 if test -f $ac_srcdir/configure.gnu; then
52542 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52543 elif test -f $ac_srcdir/configure; then
52544 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52545 elif test -f $ac_srcdir/configure.in; then
52546 ac_sub_configure=$ac_configure
52547 else
52548 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52549 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52550 ac_sub_configure=
52551 fi
52552
52553 # The recursion is here.
52554 if test -n "$ac_sub_configure"; then
52555 # Make the cache file name correct relative to the subdirectory.
52556 case $cache_file in
52557 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52558 *) # Relative path.
52559 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52560 esac
52561
52562 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52563 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52564 # The eval makes quoting arguments work.
52565 eval $ac_sub_configure $ac_sub_configure_args \
52566 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52567 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52568 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52569 { (exit 1); exit 1; }; }
52570 fi
52571
52572 cd "$ac_popdir"
52573 done
52574 fi
52575
52576
52577 echo
52578 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52579 echo ""
52580 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52581 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52582
52583 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52584 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52585 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52586
52587 echo " What level of wxWidgets compatibility should be enabled?"
52588 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52589 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52590
52591 echo " Which libraries should wxWidgets use?"
52592 echo " jpeg ${wxUSE_LIBJPEG-none}"
52593 echo " png ${wxUSE_LIBPNG-none}"
52594 echo " regex ${wxUSE_REGEX}"
52595 echo " tiff ${wxUSE_LIBTIFF-none}"
52596 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52597 echo " xpm ${wxUSE_LIBXPM-none}"
52598 fi
52599 echo " zlib ${wxUSE_ZLIB}"
52600 echo " odbc ${wxUSE_ODBC}"
52601 echo " expat ${wxUSE_EXPAT}"
52602 echo " libmspack ${wxUSE_LIBMSPACK}"
52603 echo " sdl ${wxUSE_LIBSDL}"
52604
52605 echo ""
52606