]> git.saurik.com Git - wxWidgets.git/blob - configure
regenerated after last fix
[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}-richtext" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-richtext or --disable-richtext was given.
7546 if test "${enable_richtext+set}" = set; then
7547 enableval="$enable_richtext"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7551 else
7552 ac_cv_use_richtext='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_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7565
7566 fi;
7567
7568 eval "$ac_cv_use_richtext"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_richtext >> ${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
11905 cat >confcache <<\_ACEOF
11906 # This file is a shell script that caches the results of configure
11907 # tests run on this system so they can be shared between configure
11908 # scripts and configure runs, see configure's option --config-cache.
11909 # It is not useful on other systems. If it contains results you don't
11910 # want to keep, you may remove or edit it.
11911 #
11912 # config.status only pays attention to the cache file if you give it
11913 # the --recheck option to rerun configure.
11914 #
11915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11917 # following values.
11918
11919 _ACEOF
11920
11921 # The following way of writing the cache mishandles newlines in values,
11922 # but we know of no workaround that is simple, portable, and efficient.
11923 # So, don't put newlines in cache variables' values.
11924 # Ultrix sh set writes to stderr and can't be redirected directly,
11925 # and sets the high bit in the cache file unless we assign to the vars.
11926 {
11927 (set) 2>&1 |
11928 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11929 *ac_space=\ *)
11930 # `set' does not quote correctly, so add quotes (double-quote
11931 # substitution turns \\\\ into \\, and sed turns \\ into \).
11932 sed -n \
11933 "s/'/'\\\\''/g;
11934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11935 ;;
11936 *)
11937 # `set' quotes correctly as required by POSIX, so do not add quotes.
11938 sed -n \
11939 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11940 ;;
11941 esac;
11942 } |
11943 sed '
11944 t clear
11945 : clear
11946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11947 t end
11948 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11949 : end' >>confcache
11950 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11951 if test -w $cache_file; then
11952 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11953 cat confcache >$cache_file
11954 else
11955 echo "not updating unwritable cache $cache_file"
11956 fi
11957 fi
11958 rm -f confcache
11959
11960 CFLAGS=${CFLAGS:=}
11961
11962
11963
11964 ac_ext=c
11965 ac_cpp='$CPP $CPPFLAGS'
11966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11969 if test -n "$ac_tool_prefix"; then
11970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11972 echo "$as_me:$LINENO: checking for $ac_word" >&5
11973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11974 if test "${ac_cv_prog_CC+set}" = set; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11976 else
11977 if test -n "$CC"; then
11978 ac_cv_prog_CC="$CC" # Let the user override the test.
11979 else
11980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $PATH
11982 do
11983 IFS=$as_save_IFS
11984 test -z "$as_dir" && as_dir=.
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11989 break 2
11990 fi
11991 done
11992 done
11993
11994 fi
11995 fi
11996 CC=$ac_cv_prog_CC
11997 if test -n "$CC"; then
11998 echo "$as_me:$LINENO: result: $CC" >&5
11999 echo "${ECHO_T}$CC" >&6
12000 else
12001 echo "$as_me:$LINENO: result: no" >&5
12002 echo "${ECHO_T}no" >&6
12003 fi
12004
12005 fi
12006 if test -z "$ac_cv_prog_CC"; then
12007 ac_ct_CC=$CC
12008 # Extract the first word of "gcc", so it can be a program name with args.
12009 set dummy gcc; ac_word=$2
12010 echo "$as_me:$LINENO: checking for $ac_word" >&5
12011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12014 else
12015 if test -n "$ac_ct_CC"; then
12016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12017 else
12018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12019 for as_dir in $PATH
12020 do
12021 IFS=$as_save_IFS
12022 test -z "$as_dir" && as_dir=.
12023 for ac_exec_ext in '' $ac_executable_extensions; do
12024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12025 ac_cv_prog_ac_ct_CC="gcc"
12026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12027 break 2
12028 fi
12029 done
12030 done
12031
12032 fi
12033 fi
12034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12035 if test -n "$ac_ct_CC"; then
12036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12037 echo "${ECHO_T}$ac_ct_CC" >&6
12038 else
12039 echo "$as_me:$LINENO: result: no" >&5
12040 echo "${ECHO_T}no" >&6
12041 fi
12042
12043 CC=$ac_ct_CC
12044 else
12045 CC="$ac_cv_prog_CC"
12046 fi
12047
12048 if test -z "$CC"; then
12049 if test -n "$ac_tool_prefix"; then
12050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12051 set dummy ${ac_tool_prefix}cc; ac_word=$2
12052 echo "$as_me:$LINENO: checking for $ac_word" >&5
12053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12054 if test "${ac_cv_prog_CC+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 else
12057 if test -n "$CC"; then
12058 ac_cv_prog_CC="$CC" # Let the user override the test.
12059 else
12060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12061 for as_dir in $PATH
12062 do
12063 IFS=$as_save_IFS
12064 test -z "$as_dir" && as_dir=.
12065 for ac_exec_ext in '' $ac_executable_extensions; do
12066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067 ac_cv_prog_CC="${ac_tool_prefix}cc"
12068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12069 break 2
12070 fi
12071 done
12072 done
12073
12074 fi
12075 fi
12076 CC=$ac_cv_prog_CC
12077 if test -n "$CC"; then
12078 echo "$as_me:$LINENO: result: $CC" >&5
12079 echo "${ECHO_T}$CC" >&6
12080 else
12081 echo "$as_me:$LINENO: result: no" >&5
12082 echo "${ECHO_T}no" >&6
12083 fi
12084
12085 fi
12086 if test -z "$ac_cv_prog_CC"; then
12087 ac_ct_CC=$CC
12088 # Extract the first word of "cc", so it can be a program name with args.
12089 set dummy cc; ac_word=$2
12090 echo "$as_me:$LINENO: checking for $ac_word" >&5
12091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 else
12095 if test -n "$ac_ct_CC"; then
12096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12097 else
12098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12099 for as_dir in $PATH
12100 do
12101 IFS=$as_save_IFS
12102 test -z "$as_dir" && as_dir=.
12103 for ac_exec_ext in '' $ac_executable_extensions; do
12104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12105 ac_cv_prog_ac_ct_CC="cc"
12106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12107 break 2
12108 fi
12109 done
12110 done
12111
12112 fi
12113 fi
12114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12115 if test -n "$ac_ct_CC"; then
12116 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12117 echo "${ECHO_T}$ac_ct_CC" >&6
12118 else
12119 echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6
12121 fi
12122
12123 CC=$ac_ct_CC
12124 else
12125 CC="$ac_cv_prog_CC"
12126 fi
12127
12128 fi
12129 if test -z "$CC"; then
12130 # Extract the first word of "cc", so it can be a program name with args.
12131 set dummy cc; ac_word=$2
12132 echo "$as_me:$LINENO: checking for $ac_word" >&5
12133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12134 if test "${ac_cv_prog_CC+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 else
12137 if test -n "$CC"; then
12138 ac_cv_prog_CC="$CC" # Let the user override the test.
12139 else
12140 ac_prog_rejected=no
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12143 do
12144 IFS=$as_save_IFS
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12149 ac_prog_rejected=yes
12150 continue
12151 fi
12152 ac_cv_prog_CC="cc"
12153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12154 break 2
12155 fi
12156 done
12157 done
12158
12159 if test $ac_prog_rejected = yes; then
12160 # We found a bogon in the path, so make sure we never use it.
12161 set dummy $ac_cv_prog_CC
12162 shift
12163 if test $# != 0; then
12164 # We chose a different compiler from the bogus one.
12165 # However, it has the same basename, so the bogon will be chosen
12166 # first if we set CC to just the basename; use the full file name.
12167 shift
12168 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12169 fi
12170 fi
12171 fi
12172 fi
12173 CC=$ac_cv_prog_CC
12174 if test -n "$CC"; then
12175 echo "$as_me:$LINENO: result: $CC" >&5
12176 echo "${ECHO_T}$CC" >&6
12177 else
12178 echo "$as_me:$LINENO: result: no" >&5
12179 echo "${ECHO_T}no" >&6
12180 fi
12181
12182 fi
12183 if test -z "$CC"; then
12184 if test -n "$ac_tool_prefix"; then
12185 for ac_prog in cl
12186 do
12187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12189 echo "$as_me:$LINENO: checking for $ac_word" >&5
12190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12191 if test "${ac_cv_prog_CC+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 else
12194 if test -n "$CC"; then
12195 ac_cv_prog_CC="$CC" # Let the user override the test.
12196 else
12197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12198 for as_dir in $PATH
12199 do
12200 IFS=$as_save_IFS
12201 test -z "$as_dir" && as_dir=.
12202 for ac_exec_ext in '' $ac_executable_extensions; do
12203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12206 break 2
12207 fi
12208 done
12209 done
12210
12211 fi
12212 fi
12213 CC=$ac_cv_prog_CC
12214 if test -n "$CC"; then
12215 echo "$as_me:$LINENO: result: $CC" >&5
12216 echo "${ECHO_T}$CC" >&6
12217 else
12218 echo "$as_me:$LINENO: result: no" >&5
12219 echo "${ECHO_T}no" >&6
12220 fi
12221
12222 test -n "$CC" && break
12223 done
12224 fi
12225 if test -z "$CC"; then
12226 ac_ct_CC=$CC
12227 for ac_prog in cl
12228 do
12229 # Extract the first word of "$ac_prog", so it can be a program name with args.
12230 set dummy $ac_prog; ac_word=$2
12231 echo "$as_me:$LINENO: checking for $ac_word" >&5
12232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 else
12236 if test -n "$ac_ct_CC"; then
12237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12238 else
12239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12240 for as_dir in $PATH
12241 do
12242 IFS=$as_save_IFS
12243 test -z "$as_dir" && as_dir=.
12244 for ac_exec_ext in '' $ac_executable_extensions; do
12245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12246 ac_cv_prog_ac_ct_CC="$ac_prog"
12247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12248 break 2
12249 fi
12250 done
12251 done
12252
12253 fi
12254 fi
12255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12256 if test -n "$ac_ct_CC"; then
12257 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12258 echo "${ECHO_T}$ac_ct_CC" >&6
12259 else
12260 echo "$as_me:$LINENO: result: no" >&5
12261 echo "${ECHO_T}no" >&6
12262 fi
12263
12264 test -n "$ac_ct_CC" && break
12265 done
12266
12267 CC=$ac_ct_CC
12268 fi
12269
12270 fi
12271
12272
12273 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12274 See \`config.log' for more details." >&5
12275 echo "$as_me: error: no acceptable C compiler found in \$PATH
12276 See \`config.log' for more details." >&2;}
12277 { (exit 1); exit 1; }; }
12278
12279 # Provide some information about the compiler.
12280 echo "$as_me:$LINENO:" \
12281 "checking for C compiler version" >&5
12282 ac_compiler=`set X $ac_compile; echo $2`
12283 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12284 (eval $ac_compiler --version </dev/null >&5) 2>&5
12285 ac_status=$?
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }
12288 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12289 (eval $ac_compiler -v </dev/null >&5) 2>&5
12290 ac_status=$?
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }
12293 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12294 (eval $ac_compiler -V </dev/null >&5) 2>&5
12295 ac_status=$?
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }
12298
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305
12306 int
12307 main ()
12308 {
12309
12310 ;
12311 return 0;
12312 }
12313 _ACEOF
12314 ac_clean_files_save=$ac_clean_files
12315 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12316 # Try to create an executable without -o first, disregard a.out.
12317 # It will help us diagnose broken compilers, and finding out an intuition
12318 # of exeext.
12319 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12320 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12321 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12322 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12323 (eval $ac_link_default) 2>&5
12324 ac_status=$?
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; then
12327 # Find the output, starting from the most likely. This scheme is
12328 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12329 # resort.
12330
12331 # Be careful to initialize this variable, since it used to be cached.
12332 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12333 ac_cv_exeext=
12334 # b.out is created by i960 compilers.
12335 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12336 do
12337 test -f "$ac_file" || continue
12338 case $ac_file in
12339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12340 ;;
12341 conftest.$ac_ext )
12342 # This is the source file.
12343 ;;
12344 [ab].out )
12345 # We found the default executable, but exeext='' is most
12346 # certainly right.
12347 break;;
12348 *.* )
12349 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12350 # FIXME: I believe we export ac_cv_exeext for Libtool,
12351 # but it would be cool to find out if it's true. Does anybody
12352 # maintain Libtool? --akim.
12353 export ac_cv_exeext
12354 break;;
12355 * )
12356 break;;
12357 esac
12358 done
12359 else
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.$ac_ext >&5
12362
12363 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12364 See \`config.log' for more details." >&5
12365 echo "$as_me: error: C compiler cannot create executables
12366 See \`config.log' for more details." >&2;}
12367 { (exit 77); exit 77; }; }
12368 fi
12369
12370 ac_exeext=$ac_cv_exeext
12371 echo "$as_me:$LINENO: result: $ac_file" >&5
12372 echo "${ECHO_T}$ac_file" >&6
12373
12374 # Check the compiler produces executables we can run. If not, either
12375 # the compiler is broken, or we cross compile.
12376 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12377 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12378 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12379 # If not cross compiling, check that we can run a simple program.
12380 if test "$cross_compiling" != yes; then
12381 if { ac_try='./$ac_file'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 cross_compiling=no
12388 else
12389 if test "$cross_compiling" = maybe; then
12390 cross_compiling=yes
12391 else
12392 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12393 If you meant to cross compile, use \`--host'.
12394 See \`config.log' for more details." >&5
12395 echo "$as_me: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&2;}
12398 { (exit 1); exit 1; }; }
12399 fi
12400 fi
12401 fi
12402 echo "$as_me:$LINENO: result: yes" >&5
12403 echo "${ECHO_T}yes" >&6
12404
12405 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12406 ac_clean_files=$ac_clean_files_save
12407 # Check the compiler produces executables we can run. If not, either
12408 # the compiler is broken, or we cross compile.
12409 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12410 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12411 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12412 echo "${ECHO_T}$cross_compiling" >&6
12413
12414 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12415 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12417 (eval $ac_link) 2>&5
12418 ac_status=$?
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; then
12421 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12422 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12423 # work properly (i.e., refer to `conftest.exe'), while it won't with
12424 # `rm'.
12425 for ac_file in conftest.exe conftest conftest.*; do
12426 test -f "$ac_file" || continue
12427 case $ac_file in
12428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12429 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12430 export ac_cv_exeext
12431 break;;
12432 * ) break;;
12433 esac
12434 done
12435 else
12436 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12437 See \`config.log' for more details." >&5
12438 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12439 See \`config.log' for more details." >&2;}
12440 { (exit 1); exit 1; }; }
12441 fi
12442
12443 rm -f conftest$ac_cv_exeext
12444 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12445 echo "${ECHO_T}$ac_cv_exeext" >&6
12446
12447 rm -f conftest.$ac_ext
12448 EXEEXT=$ac_cv_exeext
12449 ac_exeext=$EXEEXT
12450 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12451 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12452 if test "${ac_cv_objext+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 else
12455 cat >conftest.$ac_ext <<_ACEOF
12456 /* confdefs.h. */
12457 _ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461
12462 int
12463 main ()
12464 {
12465
12466 ;
12467 return 0;
12468 }
12469 _ACEOF
12470 rm -f conftest.o conftest.obj
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>&5
12473 ac_status=$?
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; then
12476 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12477 case $ac_file in
12478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12479 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12480 break;;
12481 esac
12482 done
12483 else
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.$ac_ext >&5
12486
12487 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12488 See \`config.log' for more details." >&5
12489 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12490 See \`config.log' for more details." >&2;}
12491 { (exit 1); exit 1; }; }
12492 fi
12493
12494 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12495 fi
12496 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12497 echo "${ECHO_T}$ac_cv_objext" >&6
12498 OBJEXT=$ac_cv_objext
12499 ac_objext=$OBJEXT
12500 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12501 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12502 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 else
12505 cat >conftest.$ac_ext <<_ACEOF
12506 /* confdefs.h. */
12507 _ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12511
12512 int
12513 main ()
12514 {
12515 #ifndef __GNUC__
12516 choke me
12517 #endif
12518
12519 ;
12520 return 0;
12521 }
12522 _ACEOF
12523 rm -f conftest.$ac_objext
12524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12525 (eval $ac_compile) 2>conftest.er1
12526 ac_status=$?
12527 grep -v '^ *+' conftest.er1 >conftest.err
12528 rm -f conftest.er1
12529 cat conftest.err >&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); } &&
12532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12535 ac_status=$?
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; } &&
12538 { ac_try='test -s conftest.$ac_objext'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12541 ac_status=$?
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; }; then
12544 ac_compiler_gnu=yes
12545 else
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.$ac_ext >&5
12548
12549 ac_compiler_gnu=no
12550 fi
12551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12552 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12553
12554 fi
12555 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12556 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12557 GCC=`test $ac_compiler_gnu = yes && echo yes`
12558 ac_test_CFLAGS=${CFLAGS+set}
12559 ac_save_CFLAGS=$CFLAGS
12560 CFLAGS="-g"
12561 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12562 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12563 if test "${ac_cv_prog_cc_g+set}" = set; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12565 else
12566 cat >conftest.$ac_ext <<_ACEOF
12567 /* confdefs.h. */
12568 _ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572
12573 int
12574 main ()
12575 {
12576
12577 ;
12578 return 0;
12579 }
12580 _ACEOF
12581 rm -f conftest.$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583 (eval $ac_compile) 2>conftest.er1
12584 ac_status=$?
12585 grep -v '^ *+' conftest.er1 >conftest.err
12586 rm -f conftest.er1
12587 cat conftest.err >&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12593 ac_status=$?
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12602 ac_cv_prog_cc_g=yes
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12606
12607 ac_cv_prog_cc_g=no
12608 fi
12609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12610 fi
12611 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12612 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12613 if test "$ac_test_CFLAGS" = set; then
12614 CFLAGS=$ac_save_CFLAGS
12615 elif test $ac_cv_prog_cc_g = yes; then
12616 if test "$GCC" = yes; then
12617 CFLAGS="-g -O2"
12618 else
12619 CFLAGS="-g"
12620 fi
12621 else
12622 if test "$GCC" = yes; then
12623 CFLAGS="-O2"
12624 else
12625 CFLAGS=
12626 fi
12627 fi
12628 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12629 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12630 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 ac_cv_prog_cc_stdc=no
12634 ac_save_CC=$CC
12635 cat >conftest.$ac_ext <<_ACEOF
12636 /* confdefs.h. */
12637 _ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12641 #include <stdarg.h>
12642 #include <stdio.h>
12643 #include <sys/types.h>
12644 #include <sys/stat.h>
12645 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12646 struct buf { int x; };
12647 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12648 static char *e (p, i)
12649 char **p;
12650 int i;
12651 {
12652 return p[i];
12653 }
12654 static char *f (char * (*g) (char **, int), char **p, ...)
12655 {
12656 char *s;
12657 va_list v;
12658 va_start (v,p);
12659 s = g (p, va_arg (v,int));
12660 va_end (v);
12661 return s;
12662 }
12663
12664 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12665 function prototypes and stuff, but not '\xHH' hex character constants.
12666 These don't provoke an error unfortunately, instead are silently treated
12667 as 'x'. The following induces an error, until -std1 is added to get
12668 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12669 array size at least. It's necessary to write '\x00'==0 to get something
12670 that's true only with -std1. */
12671 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12672
12673 int test (int i, double x);
12674 struct s1 {int (*f) (int a);};
12675 struct s2 {int (*f) (double a);};
12676 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12677 int argc;
12678 char **argv;
12679 int
12680 main ()
12681 {
12682 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12683 ;
12684 return 0;
12685 }
12686 _ACEOF
12687 # Don't try gcc -ansi; that turns off useful extensions and
12688 # breaks some systems' header files.
12689 # AIX -qlanglvl=ansi
12690 # Ultrix and OSF/1 -std1
12691 # HP-UX 10.20 and later -Ae
12692 # HP-UX older versions -Aa -D_HPUX_SOURCE
12693 # SVR4 -Xc -D__EXTENSIONS__
12694 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12695 do
12696 CC="$ac_save_CC $ac_arg"
12697 rm -f conftest.$ac_objext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>conftest.er1
12700 ac_status=$?
12701 grep -v '^ *+' conftest.er1 >conftest.err
12702 rm -f conftest.er1
12703 cat conftest.err >&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; } &&
12712 { ac_try='test -s conftest.$ac_objext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 ac_cv_prog_cc_stdc=$ac_arg
12719 break
12720 else
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.$ac_ext >&5
12723
12724 fi
12725 rm -f conftest.err conftest.$ac_objext
12726 done
12727 rm -f conftest.$ac_ext conftest.$ac_objext
12728 CC=$ac_save_CC
12729
12730 fi
12731
12732 case "x$ac_cv_prog_cc_stdc" in
12733 x|xno)
12734 echo "$as_me:$LINENO: result: none needed" >&5
12735 echo "${ECHO_T}none needed" >&6 ;;
12736 *)
12737 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12738 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12739 CC="$CC $ac_cv_prog_cc_stdc" ;;
12740 esac
12741
12742 # Some people use a C++ compiler to compile C. Since we use `exit',
12743 # in C++ we need to declare it. In case someone uses the same compiler
12744 # for both compiling C and C++ we need to have the C++ compiler decide
12745 # the declaration of exit, since it's the most demanding environment.
12746 cat >conftest.$ac_ext <<_ACEOF
12747 #ifndef __cplusplus
12748 choke me
12749 #endif
12750 _ACEOF
12751 rm -f conftest.$ac_objext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12753 (eval $ac_compile) 2>conftest.er1
12754 ac_status=$?
12755 grep -v '^ *+' conftest.er1 >conftest.err
12756 rm -f conftest.er1
12757 cat conftest.err >&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } &&
12760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12763 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try='test -s conftest.$ac_objext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12769 ac_status=$?
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 for ac_declaration in \
12773 '' \
12774 'extern "C" void std::exit (int) throw (); using std::exit;' \
12775 'extern "C" void std::exit (int); using std::exit;' \
12776 'extern "C" void exit (int) throw ();' \
12777 'extern "C" void exit (int);' \
12778 'void exit (int);'
12779 do
12780 cat >conftest.$ac_ext <<_ACEOF
12781 /* confdefs.h. */
12782 _ACEOF
12783 cat confdefs.h >>conftest.$ac_ext
12784 cat >>conftest.$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786 $ac_declaration
12787 #include <stdlib.h>
12788 int
12789 main ()
12790 {
12791 exit (42);
12792 ;
12793 return 0;
12794 }
12795 _ACEOF
12796 rm -f conftest.$ac_objext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12798 (eval $ac_compile) 2>conftest.er1
12799 ac_status=$?
12800 grep -v '^ *+' conftest.er1 >conftest.err
12801 rm -f conftest.er1
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } &&
12805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12808 ac_status=$?
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; } &&
12811 { ac_try='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12814 ac_status=$?
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 :
12818 else
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12821
12822 continue
12823 fi
12824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12825 cat >conftest.$ac_ext <<_ACEOF
12826 /* confdefs.h. */
12827 _ACEOF
12828 cat confdefs.h >>conftest.$ac_ext
12829 cat >>conftest.$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 $ac_declaration
12832 int
12833 main ()
12834 {
12835 exit (42);
12836 ;
12837 return 0;
12838 }
12839 _ACEOF
12840 rm -f conftest.$ac_objext
12841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12842 (eval $ac_compile) 2>conftest.er1
12843 ac_status=$?
12844 grep -v '^ *+' conftest.er1 >conftest.err
12845 rm -f conftest.er1
12846 cat conftest.err >&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } &&
12849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12852 ac_status=$?
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; } &&
12855 { ac_try='test -s conftest.$ac_objext'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12858 ac_status=$?
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 break
12862 else
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12865
12866 fi
12867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12868 done
12869 rm -f conftest*
12870 if test -n "$ac_declaration"; then
12871 echo '#ifdef __cplusplus' >>confdefs.h
12872 echo $ac_declaration >>confdefs.h
12873 echo '#endif' >>confdefs.h
12874 fi
12875
12876 else
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12879
12880 fi
12881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12882 ac_ext=c
12883 ac_cpp='$CPP $CPPFLAGS'
12884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12887
12888
12889
12890 ac_ext=c
12891 ac_cpp='$CPP $CPPFLAGS'
12892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12895
12896 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12897 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12898 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 else
12901 cat >conftest.$ac_ext <<_ACEOF
12902 /* confdefs.h. */
12903 _ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907
12908 int
12909 main ()
12910 {
12911
12912 #ifndef __INTEL_COMPILER
12913 choke me
12914 #endif
12915
12916 ;
12917 return 0;
12918 }
12919 _ACEOF
12920 rm -f conftest.$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12938 ac_status=$?
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12942 else
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.$ac_ext >&5
12945
12946 bakefile_cv_c_compiler___INTEL_COMPILER=no
12947
12948 fi
12949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12950
12951
12952 fi
12953 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12954 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12955 ac_ext=c
12956 ac_cpp='$CPP $CPPFLAGS'
12957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12960
12961 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12962 :; INTELCC=yes
12963 else
12964 :;
12965 fi
12966
12967
12968 if test "x$GCC" != "xyes"; then
12969 if test "xCC" = "xC"; then
12970 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12971 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12972 if test "${bakefile_cv_c_exto+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 else
12975 cat >conftest.$ac_ext <<_ACEOF
12976 /* confdefs.h. */
12977 _ACEOF
12978 cat confdefs.h >>conftest.$ac_ext
12979 cat >>conftest.$ac_ext <<_ACEOF
12980 /* end confdefs.h. */
12981
12982 int
12983 main ()
12984 {
12985
12986 ;
12987 return 0;
12988 }
12989 _ACEOF
12990 rm -f conftest.$ac_objext conftest.$ac_ext.o
12991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12992 (eval $ac_compile) 2>&5
12993 ac_status=$?
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; then
12996 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12997 case $ac_file in
12998 conftest.$ac_ext.o)
12999 bakefile_cv_c_exto="-ext o"
13000 ;;
13001 *)
13002 ;;
13003 esac
13004 done
13005 else
13006 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13007 See \`config.log' for more details." >&5
13008 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13009 See \`config.log' for more details." >&2;}
13010 { (exit 1); exit 1; }; }
13011
13012 fi
13013
13014 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13015
13016 fi
13017 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13018 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13019 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13020 if test "c" = "c"; then
13021 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13022 fi
13023 if test "c" = "cxx"; then
13024 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13025 fi
13026 fi
13027
13028 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13029 unset ac_cv_prog_cc_g
13030 ac_test_CFLAGS=${CFLAGS+set}
13031 ac_save_CFLAGS=$CFLAGS
13032 CFLAGS="-g"
13033 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13035 if test "${ac_cv_prog_cc_g+set}" = set; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13037 else
13038 cat >conftest.$ac_ext <<_ACEOF
13039 /* confdefs.h. */
13040 _ACEOF
13041 cat confdefs.h >>conftest.$ac_ext
13042 cat >>conftest.$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044
13045 int
13046 main ()
13047 {
13048
13049 ;
13050 return 0;
13051 }
13052 _ACEOF
13053 rm -f conftest.$ac_objext
13054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13055 (eval $ac_compile) 2>conftest.er1
13056 ac_status=$?
13057 grep -v '^ *+' conftest.er1 >conftest.err
13058 rm -f conftest.er1
13059 cat conftest.err >&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13065 ac_status=$?
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; } &&
13068 { ac_try='test -s conftest.$ac_objext'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13071 ac_status=$?
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; }; then
13074 ac_cv_prog_cc_g=yes
13075 else
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.$ac_ext >&5
13078
13079 ac_cv_prog_cc_g=no
13080 fi
13081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13082 fi
13083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13085 if test "$ac_test_CFLAGS" = set; then
13086 CFLAGS=$ac_save_CFLAGS
13087 elif test $ac_cv_prog_cc_g = yes; then
13088 if test "$GCC" = yes; then
13089 CFLAGS="-g -O2"
13090 else
13091 CFLAGS="-g"
13092 fi
13093 else
13094 if test "$GCC" = yes; then
13095 CFLAGS="-O2"
13096 else
13097 CFLAGS=
13098 fi
13099 fi
13100 fi
13101 fi
13102
13103 case `uname -s` in
13104 AIX*)
13105 ac_ext=c
13106 ac_cpp='$CPP $CPPFLAGS'
13107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13110
13111 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13112 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13113 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 else
13116 cat >conftest.$ac_ext <<_ACEOF
13117 /* confdefs.h. */
13118 _ACEOF
13119 cat confdefs.h >>conftest.$ac_ext
13120 cat >>conftest.$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122
13123 int
13124 main ()
13125 {
13126 #ifndef __xlC__
13127 choke me
13128 #endif
13129
13130 ;
13131 return 0;
13132 }
13133 _ACEOF
13134 rm -f conftest.$ac_objext
13135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13136 (eval $ac_compile) 2>conftest.er1
13137 ac_status=$?
13138 grep -v '^ *+' conftest.er1 >conftest.err
13139 rm -f conftest.er1
13140 cat conftest.err >&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } &&
13143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13146 ac_status=$?
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; } &&
13149 { ac_try='test -s conftest.$ac_objext'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13152 ac_status=$?
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; }; then
13155 bakefile_compiler_xlc=yes
13156 else
13157 echo "$as_me: failed program was:" >&5
13158 sed 's/^/| /' conftest.$ac_ext >&5
13159
13160 bakefile_compiler_xlc=no
13161 fi
13162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13163 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13164
13165 fi
13166 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13167 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13168
13169 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13170 ac_ext=c
13171 ac_cpp='$CPP $CPPFLAGS'
13172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13175
13176
13177 ;;
13178
13179 Darwin)
13180 ac_ext=c
13181 ac_cpp='$CPP $CPPFLAGS'
13182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13185
13186 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13187 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13188 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 else
13191 cat >conftest.$ac_ext <<_ACEOF
13192 /* confdefs.h. */
13193 _ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197
13198 int
13199 main ()
13200 {
13201 #ifndef __MWERKS__
13202 choke me
13203 #endif
13204
13205 ;
13206 return 0;
13207 }
13208 _ACEOF
13209 rm -f conftest.$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13212 ac_status=$?
13213 grep -v '^ *+' conftest.er1 >conftest.err
13214 rm -f conftest.er1
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13221 ac_status=$?
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13227 ac_status=$?
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 bakefile_compiler_mwerks=yes
13231 else
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.$ac_ext >&5
13234
13235 bakefile_compiler_mwerks=no
13236 fi
13237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13238 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13239
13240 fi
13241 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13242 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13243
13244 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13245 ac_ext=c
13246 ac_cpp='$CPP $CPPFLAGS'
13247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13250
13251
13252 ac_ext=c
13253 ac_cpp='$CPP $CPPFLAGS'
13254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13257
13258 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13259 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13260 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13262 else
13263 cat >conftest.$ac_ext <<_ACEOF
13264 /* confdefs.h. */
13265 _ACEOF
13266 cat confdefs.h >>conftest.$ac_ext
13267 cat >>conftest.$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13269
13270 int
13271 main ()
13272 {
13273 #ifndef __xlC__
13274 choke me
13275 #endif
13276
13277 ;
13278 return 0;
13279 }
13280 _ACEOF
13281 rm -f conftest.$ac_objext
13282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13283 (eval $ac_compile) 2>conftest.er1
13284 ac_status=$?
13285 grep -v '^ *+' conftest.er1 >conftest.err
13286 rm -f conftest.er1
13287 cat conftest.err >&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13293 ac_status=$?
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try='test -s conftest.$ac_objext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13299 ac_status=$?
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 bakefile_compiler_xlc=yes
13303 else
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13306
13307 bakefile_compiler_xlc=no
13308 fi
13309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13310 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13311
13312 fi
13313 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13314 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13315
13316 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13317 ac_ext=c
13318 ac_cpp='$CPP $CPPFLAGS'
13319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13322
13323
13324 ;;
13325
13326 IRIX*)
13327
13328
13329 ac_ext=c
13330 ac_cpp='$CPP $CPPFLAGS'
13331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13334
13335 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13336 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13337 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13338 echo $ECHO_N "(cached) $ECHO_C" >&6
13339 else
13340 cat >conftest.$ac_ext <<_ACEOF
13341 /* confdefs.h. */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346
13347 int
13348 main ()
13349 {
13350
13351 #ifndef _SGI_COMPILER_VERSION
13352 choke me
13353 #endif
13354
13355 ;
13356 return 0;
13357 }
13358 _ACEOF
13359 rm -f conftest.$ac_objext
13360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13361 (eval $ac_compile) 2>conftest.er1
13362 ac_status=$?
13363 grep -v '^ *+' conftest.er1 >conftest.err
13364 rm -f conftest.er1
13365 cat conftest.err >&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13371 ac_status=$?
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try='test -s conftest.$ac_objext'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; }; then
13380 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13381 else
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.$ac_ext >&5
13384
13385 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13386
13387 fi
13388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13389
13390
13391 fi
13392 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13393 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13394 ac_ext=c
13395 ac_cpp='$CPP $CPPFLAGS'
13396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13399
13400 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13401 :; SGICC=yes
13402 else
13403 :;
13404 fi
13405
13406
13407 ;;
13408
13409 HP-UX*)
13410
13411
13412 ac_ext=c
13413 ac_cpp='$CPP $CPPFLAGS'
13414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13417
13418 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13419 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13420 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13422 else
13423 cat >conftest.$ac_ext <<_ACEOF
13424 /* confdefs.h. */
13425 _ACEOF
13426 cat confdefs.h >>conftest.$ac_ext
13427 cat >>conftest.$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13429
13430 int
13431 main ()
13432 {
13433
13434 #ifndef __HP_cc
13435 choke me
13436 #endif
13437
13438 ;
13439 return 0;
13440 }
13441 _ACEOF
13442 rm -f conftest.$ac_objext
13443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444 (eval $ac_compile) 2>conftest.er1
13445 ac_status=$?
13446 grep -v '^ *+' conftest.er1 >conftest.err
13447 rm -f conftest.er1
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13454 ac_status=$?
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try='test -s conftest.$ac_objext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13460 ac_status=$?
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 bakefile_cv_c_compiler___HP_cc=yes
13464 else
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13467
13468 bakefile_cv_c_compiler___HP_cc=no
13469
13470 fi
13471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13472
13473
13474 fi
13475 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13476 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13477 ac_ext=c
13478 ac_cpp='$CPP $CPPFLAGS'
13479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13482
13483 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13484 :; HPCC=yes
13485 else
13486 :;
13487 fi
13488
13489
13490 ;;
13491
13492 OSF1)
13493
13494
13495 ac_ext=c
13496 ac_cpp='$CPP $CPPFLAGS'
13497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13500
13501 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13502 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13503 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13504 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 else
13506 cat >conftest.$ac_ext <<_ACEOF
13507 /* confdefs.h. */
13508 _ACEOF
13509 cat confdefs.h >>conftest.$ac_ext
13510 cat >>conftest.$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13512
13513 int
13514 main ()
13515 {
13516
13517 #ifndef __DECC
13518 choke me
13519 #endif
13520
13521 ;
13522 return 0;
13523 }
13524 _ACEOF
13525 rm -f conftest.$ac_objext
13526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13527 (eval $ac_compile) 2>conftest.er1
13528 ac_status=$?
13529 grep -v '^ *+' conftest.er1 >conftest.err
13530 rm -f conftest.er1
13531 cat conftest.err >&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); } &&
13534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13536 (eval $ac_try) 2>&5
13537 ac_status=$?
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); }; } &&
13540 { ac_try='test -s conftest.$ac_objext'
13541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13542 (eval $ac_try) 2>&5
13543 ac_status=$?
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); }; }; then
13546 bakefile_cv_c_compiler___DECC=yes
13547 else
13548 echo "$as_me: failed program was:" >&5
13549 sed 's/^/| /' conftest.$ac_ext >&5
13550
13551 bakefile_cv_c_compiler___DECC=no
13552
13553 fi
13554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13555
13556
13557 fi
13558 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13559 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13560 ac_ext=c
13561 ac_cpp='$CPP $CPPFLAGS'
13562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13565
13566 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13567 :; COMPAQCC=yes
13568 else
13569 :;
13570 fi
13571
13572
13573 ;;
13574
13575 SunOS)
13576
13577
13578 ac_ext=c
13579 ac_cpp='$CPP $CPPFLAGS'
13580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13583
13584 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13585 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13586 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 cat >conftest.$ac_ext <<_ACEOF
13590 /* confdefs.h. */
13591 _ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13595
13596 int
13597 main ()
13598 {
13599
13600 #ifndef __SUNPRO_C
13601 choke me
13602 #endif
13603
13604 ;
13605 return 0;
13606 }
13607 _ACEOF
13608 rm -f conftest.$ac_objext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>conftest.er1
13611 ac_status=$?
13612 grep -v '^ *+' conftest.er1 >conftest.err
13613 rm -f conftest.er1
13614 cat conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13620 ac_status=$?
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; } &&
13623 { ac_try='test -s conftest.$ac_objext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13626 ac_status=$?
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 bakefile_cv_c_compiler___SUNPRO_C=yes
13630 else
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13633
13634 bakefile_cv_c_compiler___SUNPRO_C=no
13635
13636 fi
13637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13638
13639
13640 fi
13641 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13642 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13643 ac_ext=c
13644 ac_cpp='$CPP $CPPFLAGS'
13645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13648
13649 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13650 :; SUNCC=yes
13651 else
13652 :;
13653 fi
13654
13655
13656 ;;
13657 esac
13658 fi
13659
13660
13661
13662 ac_ext=c
13663 ac_cpp='$CPP $CPPFLAGS'
13664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13667 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13668 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13669 # On Suns, sometimes $CPP names a directory.
13670 if test -n "$CPP" && test -d "$CPP"; then
13671 CPP=
13672 fi
13673 if test -z "$CPP"; then
13674 if test "${ac_cv_prog_CPP+set}" = set; then
13675 echo $ECHO_N "(cached) $ECHO_C" >&6
13676 else
13677 # Double quotes because CPP needs to be expanded
13678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13679 do
13680 ac_preproc_ok=false
13681 for ac_c_preproc_warn_flag in '' yes
13682 do
13683 # Use a header file that comes with gcc, so configuring glibc
13684 # with a fresh cross-compiler works.
13685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13686 # <limits.h> exists even on freestanding compilers.
13687 # On the NeXT, cc -E runs the code through the compiler's parser,
13688 # not just through cpp. "Syntax error" is here to catch this case.
13689 cat >conftest.$ac_ext <<_ACEOF
13690 /* confdefs.h. */
13691 _ACEOF
13692 cat confdefs.h >>conftest.$ac_ext
13693 cat >>conftest.$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13695 #ifdef __STDC__
13696 # include <limits.h>
13697 #else
13698 # include <assert.h>
13699 #endif
13700 Syntax error
13701 _ACEOF
13702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13704 ac_status=$?
13705 grep -v '^ *+' conftest.er1 >conftest.err
13706 rm -f conftest.er1
13707 cat conftest.err >&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } >/dev/null; then
13710 if test -s conftest.err; then
13711 ac_cpp_err=$ac_c_preproc_warn_flag
13712 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13713 else
13714 ac_cpp_err=
13715 fi
13716 else
13717 ac_cpp_err=yes
13718 fi
13719 if test -z "$ac_cpp_err"; then
13720 :
13721 else
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13724
13725 # Broken: fails on valid input.
13726 continue
13727 fi
13728 rm -f conftest.err conftest.$ac_ext
13729
13730 # OK, works on sane cases. Now check whether non-existent headers
13731 # can be detected and how.
13732 cat >conftest.$ac_ext <<_ACEOF
13733 /* confdefs.h. */
13734 _ACEOF
13735 cat confdefs.h >>conftest.$ac_ext
13736 cat >>conftest.$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13738 #include <ac_nonexistent.h>
13739 _ACEOF
13740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } >/dev/null; then
13748 if test -s conftest.err; then
13749 ac_cpp_err=$ac_c_preproc_warn_flag
13750 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13751 else
13752 ac_cpp_err=
13753 fi
13754 else
13755 ac_cpp_err=yes
13756 fi
13757 if test -z "$ac_cpp_err"; then
13758 # Broken: success on invalid input.
13759 continue
13760 else
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13763
13764 # Passes both tests.
13765 ac_preproc_ok=:
13766 break
13767 fi
13768 rm -f conftest.err conftest.$ac_ext
13769
13770 done
13771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13772 rm -f conftest.err conftest.$ac_ext
13773 if $ac_preproc_ok; then
13774 break
13775 fi
13776
13777 done
13778 ac_cv_prog_CPP=$CPP
13779
13780 fi
13781 CPP=$ac_cv_prog_CPP
13782 else
13783 ac_cv_prog_CPP=$CPP
13784 fi
13785 echo "$as_me:$LINENO: result: $CPP" >&5
13786 echo "${ECHO_T}$CPP" >&6
13787 ac_preproc_ok=false
13788 for ac_c_preproc_warn_flag in '' yes
13789 do
13790 # Use a header file that comes with gcc, so configuring glibc
13791 # with a fresh cross-compiler works.
13792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13793 # <limits.h> exists even on freestanding compilers.
13794 # On the NeXT, cc -E runs the code through the compiler's parser,
13795 # not just through cpp. "Syntax error" is here to catch this case.
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 #ifdef __STDC__
13803 # include <limits.h>
13804 #else
13805 # include <assert.h>
13806 #endif
13807 Syntax error
13808 _ACEOF
13809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13811 ac_status=$?
13812 grep -v '^ *+' conftest.er1 >conftest.err
13813 rm -f conftest.er1
13814 cat conftest.err >&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } >/dev/null; then
13817 if test -s conftest.err; then
13818 ac_cpp_err=$ac_c_preproc_warn_flag
13819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13820 else
13821 ac_cpp_err=
13822 fi
13823 else
13824 ac_cpp_err=yes
13825 fi
13826 if test -z "$ac_cpp_err"; then
13827 :
13828 else
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.$ac_ext >&5
13831
13832 # Broken: fails on valid input.
13833 continue
13834 fi
13835 rm -f conftest.err conftest.$ac_ext
13836
13837 # OK, works on sane cases. Now check whether non-existent headers
13838 # can be detected and how.
13839 cat >conftest.$ac_ext <<_ACEOF
13840 /* confdefs.h. */
13841 _ACEOF
13842 cat confdefs.h >>conftest.$ac_ext
13843 cat >>conftest.$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13845 #include <ac_nonexistent.h>
13846 _ACEOF
13847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13849 ac_status=$?
13850 grep -v '^ *+' conftest.er1 >conftest.err
13851 rm -f conftest.er1
13852 cat conftest.err >&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } >/dev/null; then
13855 if test -s conftest.err; then
13856 ac_cpp_err=$ac_c_preproc_warn_flag
13857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13858 else
13859 ac_cpp_err=
13860 fi
13861 else
13862 ac_cpp_err=yes
13863 fi
13864 if test -z "$ac_cpp_err"; then
13865 # Broken: success on invalid input.
13866 continue
13867 else
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.$ac_ext >&5
13870
13871 # Passes both tests.
13872 ac_preproc_ok=:
13873 break
13874 fi
13875 rm -f conftest.err conftest.$ac_ext
13876
13877 done
13878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13879 rm -f conftest.err conftest.$ac_ext
13880 if $ac_preproc_ok; then
13881 :
13882 else
13883 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13884 See \`config.log' for more details." >&5
13885 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13886 See \`config.log' for more details." >&2;}
13887 { (exit 1); exit 1; }; }
13888 fi
13889
13890 ac_ext=c
13891 ac_cpp='$CPP $CPPFLAGS'
13892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13895
13896
13897 echo "$as_me:$LINENO: checking for egrep" >&5
13898 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13899 if test "${ac_cv_prog_egrep+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 else
13902 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13903 then ac_cv_prog_egrep='grep -E'
13904 else ac_cv_prog_egrep='egrep'
13905 fi
13906 fi
13907 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13908 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13909 EGREP=$ac_cv_prog_egrep
13910
13911
13912 if test $ac_cv_c_compiler_gnu = yes; then
13913 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13914 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13915 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13917 else
13918 ac_pattern="Autoconf.*'x'"
13919 cat >conftest.$ac_ext <<_ACEOF
13920 /* confdefs.h. */
13921 _ACEOF
13922 cat confdefs.h >>conftest.$ac_ext
13923 cat >>conftest.$ac_ext <<_ACEOF
13924 /* end confdefs.h. */
13925 #include <sgtty.h>
13926 Autoconf TIOCGETP
13927 _ACEOF
13928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13929 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13930 ac_cv_prog_gcc_traditional=yes
13931 else
13932 ac_cv_prog_gcc_traditional=no
13933 fi
13934 rm -f conftest*
13935
13936
13937 if test $ac_cv_prog_gcc_traditional = no; then
13938 cat >conftest.$ac_ext <<_ACEOF
13939 /* confdefs.h. */
13940 _ACEOF
13941 cat confdefs.h >>conftest.$ac_ext
13942 cat >>conftest.$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944 #include <termio.h>
13945 Autoconf TCGETA
13946 _ACEOF
13947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13948 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13949 ac_cv_prog_gcc_traditional=yes
13950 fi
13951 rm -f conftest*
13952
13953 fi
13954 fi
13955 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13956 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13957 if test $ac_cv_prog_gcc_traditional = yes; then
13958 CC="$CC -traditional"
13959 fi
13960 fi
13961
13962
13963 ac_ext=cc
13964 ac_cpp='$CXXCPP $CPPFLAGS'
13965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13968
13969
13970 CXXFLAGS=${CXXFLAGS:=}
13971
13972
13973
13974 ac_ext=cc
13975 ac_cpp='$CXXCPP $CPPFLAGS'
13976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13979 if test -n "$ac_tool_prefix"; then
13980 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13981 do
13982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13984 echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13986 if test "${ac_cv_prog_CXX+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 else
13989 if test -n "$CXX"; then
13990 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13991 else
13992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13993 for as_dir in $PATH
13994 do
13995 IFS=$as_save_IFS
13996 test -z "$as_dir" && as_dir=.
13997 for ac_exec_ext in '' $ac_executable_extensions; do
13998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13999 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14001 break 2
14002 fi
14003 done
14004 done
14005
14006 fi
14007 fi
14008 CXX=$ac_cv_prog_CXX
14009 if test -n "$CXX"; then
14010 echo "$as_me:$LINENO: result: $CXX" >&5
14011 echo "${ECHO_T}$CXX" >&6
14012 else
14013 echo "$as_me:$LINENO: result: no" >&5
14014 echo "${ECHO_T}no" >&6
14015 fi
14016
14017 test -n "$CXX" && break
14018 done
14019 fi
14020 if test -z "$CXX"; then
14021 ac_ct_CXX=$CXX
14022 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14023 do
14024 # Extract the first word of "$ac_prog", so it can be a program name with args.
14025 set dummy $ac_prog; ac_word=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 if test -n "$ac_ct_CXX"; then
14032 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14033 else
14034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14035 for as_dir in $PATH
14036 do
14037 IFS=$as_save_IFS
14038 test -z "$as_dir" && as_dir=.
14039 for ac_exec_ext in '' $ac_executable_extensions; do
14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_ac_ct_CXX="$ac_prog"
14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14043 break 2
14044 fi
14045 done
14046 done
14047
14048 fi
14049 fi
14050 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14051 if test -n "$ac_ct_CXX"; then
14052 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14053 echo "${ECHO_T}$ac_ct_CXX" >&6
14054 else
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14057 fi
14058
14059 test -n "$ac_ct_CXX" && break
14060 done
14061 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14062
14063 CXX=$ac_ct_CXX
14064 fi
14065
14066
14067 # Provide some information about the compiler.
14068 echo "$as_me:$LINENO:" \
14069 "checking for C++ compiler version" >&5
14070 ac_compiler=`set X $ac_compile; echo $2`
14071 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14072 (eval $ac_compiler --version </dev/null >&5) 2>&5
14073 ac_status=$?
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }
14076 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14077 (eval $ac_compiler -v </dev/null >&5) 2>&5
14078 ac_status=$?
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }
14081 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14082 (eval $ac_compiler -V </dev/null >&5) 2>&5
14083 ac_status=$?
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }
14086
14087 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14088 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14089 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 else
14092 cat >conftest.$ac_ext <<_ACEOF
14093 /* confdefs.h. */
14094 _ACEOF
14095 cat confdefs.h >>conftest.$ac_ext
14096 cat >>conftest.$ac_ext <<_ACEOF
14097 /* end confdefs.h. */
14098
14099 int
14100 main ()
14101 {
14102 #ifndef __GNUC__
14103 choke me
14104 #endif
14105
14106 ;
14107 return 0;
14108 }
14109 _ACEOF
14110 rm -f conftest.$ac_objext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112 (eval $ac_compile) 2>conftest.er1
14113 ac_status=$?
14114 grep -v '^ *+' conftest.er1 >conftest.err
14115 rm -f conftest.er1
14116 cat conftest.err >&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14122 ac_status=$?
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14128 ac_status=$?
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_compiler_gnu=yes
14132 else
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.$ac_ext >&5
14135
14136 ac_compiler_gnu=no
14137 fi
14138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14139 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14140
14141 fi
14142 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14143 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14144 GXX=`test $ac_compiler_gnu = yes && echo yes`
14145 ac_test_CXXFLAGS=${CXXFLAGS+set}
14146 ac_save_CXXFLAGS=$CXXFLAGS
14147 CXXFLAGS="-g"
14148 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14149 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14150 if test "${ac_cv_prog_cxx_g+set}" = set; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 else
14153 cat >conftest.$ac_ext <<_ACEOF
14154 /* confdefs.h. */
14155 _ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159
14160 int
14161 main ()
14162 {
14163
14164 ;
14165 return 0;
14166 }
14167 _ACEOF
14168 rm -f conftest.$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>conftest.er1
14171 ac_status=$?
14172 grep -v '^ *+' conftest.er1 >conftest.err
14173 rm -f conftest.er1
14174 cat conftest.err >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14180 ac_status=$?
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; } &&
14183 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14189 ac_cv_prog_cxx_g=yes
14190 else
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.$ac_ext >&5
14193
14194 ac_cv_prog_cxx_g=no
14195 fi
14196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14197 fi
14198 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14199 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14200 if test "$ac_test_CXXFLAGS" = set; then
14201 CXXFLAGS=$ac_save_CXXFLAGS
14202 elif test $ac_cv_prog_cxx_g = yes; then
14203 if test "$GXX" = yes; then
14204 CXXFLAGS="-g -O2"
14205 else
14206 CXXFLAGS="-g"
14207 fi
14208 else
14209 if test "$GXX" = yes; then
14210 CXXFLAGS="-O2"
14211 else
14212 CXXFLAGS=
14213 fi
14214 fi
14215 for ac_declaration in \
14216 '' \
14217 'extern "C" void std::exit (int) throw (); using std::exit;' \
14218 'extern "C" void std::exit (int); using std::exit;' \
14219 'extern "C" void exit (int) throw ();' \
14220 'extern "C" void exit (int);' \
14221 'void exit (int);'
14222 do
14223 cat >conftest.$ac_ext <<_ACEOF
14224 /* confdefs.h. */
14225 _ACEOF
14226 cat confdefs.h >>conftest.$ac_ext
14227 cat >>conftest.$ac_ext <<_ACEOF
14228 /* end confdefs.h. */
14229 $ac_declaration
14230 #include <stdlib.h>
14231 int
14232 main ()
14233 {
14234 exit (42);
14235 ;
14236 return 0;
14237 }
14238 _ACEOF
14239 rm -f conftest.$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>conftest.er1
14242 ac_status=$?
14243 grep -v '^ *+' conftest.er1 >conftest.err
14244 rm -f conftest.er1
14245 cat conftest.err >&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } &&
14248 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14250 (eval $ac_try) 2>&5
14251 ac_status=$?
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }; } &&
14254 { ac_try='test -s conftest.$ac_objext'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14257 ac_status=$?
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; }; then
14260 :
14261 else
14262 echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.$ac_ext >&5
14264
14265 continue
14266 fi
14267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 $ac_declaration
14275 int
14276 main ()
14277 {
14278 exit (42);
14279 ;
14280 return 0;
14281 }
14282 _ACEOF
14283 rm -f conftest.$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>conftest.er1
14286 ac_status=$?
14287 grep -v '^ *+' conftest.er1 >conftest.err
14288 rm -f conftest.er1
14289 cat conftest.err >&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14295 ac_status=$?
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; } &&
14298 { ac_try='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14304 break
14305 else
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.$ac_ext >&5
14308
14309 fi
14310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14311 done
14312 rm -f conftest*
14313 if test -n "$ac_declaration"; then
14314 echo '#ifdef __cplusplus' >>confdefs.h
14315 echo $ac_declaration >>confdefs.h
14316 echo '#endif' >>confdefs.h
14317 fi
14318
14319 ac_ext=cc
14320 ac_cpp='$CXXCPP $CPPFLAGS'
14321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14324
14325
14326
14327 ac_ext=cc
14328 ac_cpp='$CXXCPP $CPPFLAGS'
14329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14332
14333 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14334 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14335 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338 cat >conftest.$ac_ext <<_ACEOF
14339 /* confdefs.h. */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344
14345 int
14346 main ()
14347 {
14348
14349 #ifndef __INTEL_COMPILER
14350 choke me
14351 #endif
14352
14353 ;
14354 return 0;
14355 }
14356 _ACEOF
14357 rm -f conftest.$ac_objext
14358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14359 (eval $ac_compile) 2>conftest.er1
14360 ac_status=$?
14361 grep -v '^ *+' conftest.er1 >conftest.err
14362 rm -f conftest.er1
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; } &&
14372 { ac_try='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14379 else
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.$ac_ext >&5
14382
14383 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14384
14385 fi
14386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14387
14388
14389 fi
14390 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14391 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14392 ac_ext=cc
14393 ac_cpp='$CXXCPP $CPPFLAGS'
14394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14397
14398 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14399 :; INTELCXX=yes
14400 else
14401 :;
14402 fi
14403
14404
14405 if test "x$GCXX" != "xyes"; then
14406 if test "xCXX" = "xC"; then
14407 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14408 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14409 if test "${bakefile_cv_cxx_exto+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 cat >conftest.$ac_ext <<_ACEOF
14413 /* confdefs.h. */
14414 _ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14418
14419 int
14420 main ()
14421 {
14422
14423 ;
14424 return 0;
14425 }
14426 _ACEOF
14427 rm -f conftest.$ac_objext conftest.$ac_ext.o
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>&5
14430 ac_status=$?
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; then
14433 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14434 case $ac_file in
14435 conftest.$ac_ext.o)
14436 bakefile_cv_cxx_exto="-ext o"
14437 ;;
14438 *)
14439 ;;
14440 esac
14441 done
14442 else
14443 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14444 See \`config.log' for more details." >&5
14445 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14446 See \`config.log' for more details." >&2;}
14447 { (exit 1); exit 1; }; }
14448
14449 fi
14450
14451 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14452
14453 fi
14454 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14455 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14456 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14457 if test "cxx" = "c"; then
14458 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14459 fi
14460 if test "cxx" = "cxx"; then
14461 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14462 fi
14463 fi
14464
14465 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14466 unset ac_cv_prog_cc_g
14467 ac_test_CFLAGS=${CFLAGS+set}
14468 ac_save_CFLAGS=$CFLAGS
14469 CFLAGS="-g"
14470 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14471 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14472 if test "${ac_cv_prog_cc_g+set}" = set; then
14473 echo $ECHO_N "(cached) $ECHO_C" >&6
14474 else
14475 cat >conftest.$ac_ext <<_ACEOF
14476 /* confdefs.h. */
14477 _ACEOF
14478 cat confdefs.h >>conftest.$ac_ext
14479 cat >>conftest.$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481
14482 int
14483 main ()
14484 {
14485
14486 ;
14487 return 0;
14488 }
14489 _ACEOF
14490 rm -f conftest.$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14502 ac_status=$?
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_prog_cc_g=yes
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14515
14516 ac_cv_prog_cc_g=no
14517 fi
14518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14519 fi
14520 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14521 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14522 if test "$ac_test_CFLAGS" = set; then
14523 CFLAGS=$ac_save_CFLAGS
14524 elif test $ac_cv_prog_cc_g = yes; then
14525 if test "$GCC" = yes; then
14526 CFLAGS="-g -O2"
14527 else
14528 CFLAGS="-g"
14529 fi
14530 else
14531 if test "$GCC" = yes; then
14532 CFLAGS="-O2"
14533 else
14534 CFLAGS=
14535 fi
14536 fi
14537 fi
14538 fi
14539
14540 case `uname -s` in
14541 AIX*)
14542 ac_ext=cc
14543 ac_cpp='$CXXCPP $CPPFLAGS'
14544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14547
14548 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14549 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14550 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 else
14553 cat >conftest.$ac_ext <<_ACEOF
14554 /* confdefs.h. */
14555 _ACEOF
14556 cat confdefs.h >>conftest.$ac_ext
14557 cat >>conftest.$ac_ext <<_ACEOF
14558 /* end confdefs.h. */
14559
14560 int
14561 main ()
14562 {
14563 #ifndef __xlC__
14564 choke me
14565 #endif
14566
14567 ;
14568 return 0;
14569 }
14570 _ACEOF
14571 rm -f conftest.$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573 (eval $ac_compile) 2>conftest.er1
14574 ac_status=$?
14575 grep -v '^ *+' conftest.er1 >conftest.err
14576 rm -f conftest.er1
14577 cat conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
14580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try='test -s conftest.$ac_objext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 bakefile_compiler_xlc=yes
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14596
14597 bakefile_compiler_xlc=no
14598 fi
14599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14600 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14601
14602 fi
14603 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14604 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14605
14606 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14607 ac_ext=cc
14608 ac_cpp='$CXXCPP $CPPFLAGS'
14609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14612
14613
14614 ;;
14615
14616 Darwin)
14617 ac_ext=cc
14618 ac_cpp='$CXXCPP $CPPFLAGS'
14619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14622
14623 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14624 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14625 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14626 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 else
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634
14635 int
14636 main ()
14637 {
14638 #ifndef __MWERKS__
14639 choke me
14640 #endif
14641
14642 ;
14643 return 0;
14644 }
14645 _ACEOF
14646 rm -f conftest.$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>conftest.er1
14649 ac_status=$?
14650 grep -v '^ *+' conftest.er1 >conftest.err
14651 rm -f conftest.er1
14652 cat conftest.err >&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } &&
14655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14658 ac_status=$?
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; } &&
14661 { ac_try='test -s conftest.$ac_objext'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; }; then
14667 bakefile_compiler_mwerks=yes
14668 else
14669 echo "$as_me: failed program was:" >&5
14670 sed 's/^/| /' conftest.$ac_ext >&5
14671
14672 bakefile_compiler_mwerks=no
14673 fi
14674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14675 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14676
14677 fi
14678 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14679 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14680
14681 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14682 ac_ext=cc
14683 ac_cpp='$CXXCPP $CPPFLAGS'
14684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14687
14688
14689 ac_ext=cc
14690 ac_cpp='$CXXCPP $CPPFLAGS'
14691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14694
14695 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14696 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14697 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 else
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706
14707 int
14708 main ()
14709 {
14710 #ifndef __xlC__
14711 choke me
14712 #endif
14713
14714 ;
14715 return 0;
14716 }
14717 _ACEOF
14718 rm -f conftest.$ac_objext
14719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14720 (eval $ac_compile) 2>conftest.er1
14721 ac_status=$?
14722 grep -v '^ *+' conftest.er1 >conftest.err
14723 rm -f conftest.er1
14724 cat conftest.err >&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14730 ac_status=$?
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; } &&
14733 { ac_try='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14736 ac_status=$?
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 bakefile_compiler_xlc=yes
14740 else
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.$ac_ext >&5
14743
14744 bakefile_compiler_xlc=no
14745 fi
14746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14747 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14748
14749 fi
14750 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14751 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14752
14753 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14754 ac_ext=cc
14755 ac_cpp='$CXXCPP $CPPFLAGS'
14756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14759
14760
14761 ;;
14762
14763 IRIX*)
14764
14765
14766 ac_ext=cc
14767 ac_cpp='$CXXCPP $CPPFLAGS'
14768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14771
14772 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14773 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14774 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 else
14777 cat >conftest.$ac_ext <<_ACEOF
14778 /* confdefs.h. */
14779 _ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14783
14784 int
14785 main ()
14786 {
14787
14788 #ifndef _SGI_COMPILER_VERSION
14789 choke me
14790 #endif
14791
14792 ;
14793 return 0;
14794 }
14795 _ACEOF
14796 rm -f conftest.$ac_objext
14797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14798 (eval $ac_compile) 2>conftest.er1
14799 ac_status=$?
14800 grep -v '^ *+' conftest.er1 >conftest.err
14801 rm -f conftest.er1
14802 cat conftest.err >&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try='test -s conftest.$ac_objext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14818 else
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14821
14822 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14823
14824 fi
14825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14826
14827
14828 fi
14829 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14830 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14831 ac_ext=cc
14832 ac_cpp='$CXXCPP $CPPFLAGS'
14833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14836
14837 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14838 :; SGICXX=yes
14839 else
14840 :;
14841 fi
14842
14843
14844 ;;
14845
14846 HP-UX*)
14847
14848
14849 ac_ext=cc
14850 ac_cpp='$CXXCPP $CPPFLAGS'
14851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14854
14855 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14856 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14857 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 cat >conftest.$ac_ext <<_ACEOF
14861 /* confdefs.h. */
14862 _ACEOF
14863 cat confdefs.h >>conftest.$ac_ext
14864 cat >>conftest.$ac_ext <<_ACEOF
14865 /* end confdefs.h. */
14866
14867 int
14868 main ()
14869 {
14870
14871 #ifndef __HP_aCC
14872 choke me
14873 #endif
14874
14875 ;
14876 return 0;
14877 }
14878 _ACEOF
14879 rm -f conftest.$ac_objext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14881 (eval $ac_compile) 2>conftest.er1
14882 ac_status=$?
14883 grep -v '^ *+' conftest.er1 >conftest.err
14884 rm -f conftest.er1
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } &&
14888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14891 ac_status=$?
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try='test -s conftest.$ac_objext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14897 ac_status=$?
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 bakefile_cv_cxx_compiler___HP_aCC=yes
14901 else
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14904
14905 bakefile_cv_cxx_compiler___HP_aCC=no
14906
14907 fi
14908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14909
14910
14911 fi
14912 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14913 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14914 ac_ext=cc
14915 ac_cpp='$CXXCPP $CPPFLAGS'
14916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14919
14920 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14921 :; HPCXX=yes
14922 else
14923 :;
14924 fi
14925
14926
14927 ;;
14928
14929 OSF1)
14930
14931
14932 ac_ext=cc
14933 ac_cpp='$CXXCPP $CPPFLAGS'
14934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14937
14938 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14939 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14940 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 cat >conftest.$ac_ext <<_ACEOF
14944 /* confdefs.h. */
14945 _ACEOF
14946 cat confdefs.h >>conftest.$ac_ext
14947 cat >>conftest.$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949
14950 int
14951 main ()
14952 {
14953
14954 #ifndef __DECCXX
14955 choke me
14956 #endif
14957
14958 ;
14959 return 0;
14960 }
14961 _ACEOF
14962 rm -f conftest.$ac_objext
14963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14964 (eval $ac_compile) 2>conftest.er1
14965 ac_status=$?
14966 grep -v '^ *+' conftest.er1 >conftest.err
14967 rm -f conftest.er1
14968 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } &&
14971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14974 ac_status=$?
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 bakefile_cv_cxx_compiler___DECCXX=yes
14984 else
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14987
14988 bakefile_cv_cxx_compiler___DECCXX=no
14989
14990 fi
14991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14992
14993
14994 fi
14995 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14996 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14997 ac_ext=cc
14998 ac_cpp='$CXXCPP $CPPFLAGS'
14999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15002
15003 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15004 :; COMPAQCXX=yes
15005 else
15006 :;
15007 fi
15008
15009
15010 ;;
15011
15012 SunOS)
15013
15014
15015 ac_ext=cc
15016 ac_cpp='$CXXCPP $CPPFLAGS'
15017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15020
15021 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15022 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15023 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 else
15026 cat >conftest.$ac_ext <<_ACEOF
15027 /* confdefs.h. */
15028 _ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032
15033 int
15034 main ()
15035 {
15036
15037 #ifndef __SUNPRO_CC
15038 choke me
15039 #endif
15040
15041 ;
15042 return 0;
15043 }
15044 _ACEOF
15045 rm -f conftest.$ac_objext
15046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15047 (eval $ac_compile) 2>conftest.er1
15048 ac_status=$?
15049 grep -v '^ *+' conftest.er1 >conftest.err
15050 rm -f conftest.er1
15051 cat conftest.err >&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); } &&
15054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; } &&
15060 { ac_try='test -s conftest.$ac_objext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15063 ac_status=$?
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15072
15073 fi
15074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15075
15076
15077 fi
15078 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15079 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15080 ac_ext=cc
15081 ac_cpp='$CXXCPP $CPPFLAGS'
15082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15085
15086 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15087 :; SUNCXX=yes
15088 else
15089 :;
15090 fi
15091
15092
15093 ;;
15094 esac
15095 fi
15096
15097
15098
15099 if test -n "$ac_tool_prefix"; then
15100 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15101 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15102 echo "$as_me:$LINENO: checking for $ac_word" >&5
15103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15104 if test "${ac_cv_prog_RANLIB+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 else
15107 if test -n "$RANLIB"; then
15108 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15109 else
15110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15111 for as_dir in $PATH
15112 do
15113 IFS=$as_save_IFS
15114 test -z "$as_dir" && as_dir=.
15115 for ac_exec_ext in '' $ac_executable_extensions; do
15116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15117 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15119 break 2
15120 fi
15121 done
15122 done
15123
15124 fi
15125 fi
15126 RANLIB=$ac_cv_prog_RANLIB
15127 if test -n "$RANLIB"; then
15128 echo "$as_me:$LINENO: result: $RANLIB" >&5
15129 echo "${ECHO_T}$RANLIB" >&6
15130 else
15131 echo "$as_me:$LINENO: result: no" >&5
15132 echo "${ECHO_T}no" >&6
15133 fi
15134
15135 fi
15136 if test -z "$ac_cv_prog_RANLIB"; then
15137 ac_ct_RANLIB=$RANLIB
15138 # Extract the first word of "ranlib", so it can be a program name with args.
15139 set dummy ranlib; ac_word=$2
15140 echo "$as_me:$LINENO: checking for $ac_word" >&5
15141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 else
15145 if test -n "$ac_ct_RANLIB"; then
15146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15147 else
15148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15149 for as_dir in $PATH
15150 do
15151 IFS=$as_save_IFS
15152 test -z "$as_dir" && as_dir=.
15153 for ac_exec_ext in '' $ac_executable_extensions; do
15154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15155 ac_cv_prog_ac_ct_RANLIB="ranlib"
15156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15157 break 2
15158 fi
15159 done
15160 done
15161
15162 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15163 fi
15164 fi
15165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15166 if test -n "$ac_ct_RANLIB"; then
15167 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15168 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15169 else
15170 echo "$as_me:$LINENO: result: no" >&5
15171 echo "${ECHO_T}no" >&6
15172 fi
15173
15174 RANLIB=$ac_ct_RANLIB
15175 else
15176 RANLIB="$ac_cv_prog_RANLIB"
15177 fi
15178
15179
15180 if test -n "$ac_tool_prefix"; then
15181 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15182 set dummy ${ac_tool_prefix}ar; ac_word=$2
15183 echo "$as_me:$LINENO: checking for $ac_word" >&5
15184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15185 if test "${ac_cv_prog_AR+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 if test -n "$AR"; then
15189 ac_cv_prog_AR="$AR" # Let the user override the test.
15190 else
15191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15192 for as_dir in $PATH
15193 do
15194 IFS=$as_save_IFS
15195 test -z "$as_dir" && as_dir=.
15196 for ac_exec_ext in '' $ac_executable_extensions; do
15197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15198 ac_cv_prog_AR="${ac_tool_prefix}ar"
15199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15200 break 2
15201 fi
15202 done
15203 done
15204
15205 fi
15206 fi
15207 AR=$ac_cv_prog_AR
15208 if test -n "$AR"; then
15209 echo "$as_me:$LINENO: result: $AR" >&5
15210 echo "${ECHO_T}$AR" >&6
15211 else
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15214 fi
15215
15216 fi
15217 if test -z "$ac_cv_prog_AR"; then
15218 ac_ct_AR=$AR
15219 # Extract the first word of "ar", so it can be a program name with args.
15220 set dummy ar; ac_word=$2
15221 echo "$as_me:$LINENO: checking for $ac_word" >&5
15222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15223 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 else
15226 if test -n "$ac_ct_AR"; then
15227 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15228 else
15229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15230 for as_dir in $PATH
15231 do
15232 IFS=$as_save_IFS
15233 test -z "$as_dir" && as_dir=.
15234 for ac_exec_ext in '' $ac_executable_extensions; do
15235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15236 ac_cv_prog_ac_ct_AR="ar"
15237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15238 break 2
15239 fi
15240 done
15241 done
15242
15243 fi
15244 fi
15245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15246 if test -n "$ac_ct_AR"; then
15247 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15248 echo "${ECHO_T}$ac_ct_AR" >&6
15249 else
15250 echo "$as_me:$LINENO: result: no" >&5
15251 echo "${ECHO_T}no" >&6
15252 fi
15253
15254 AR=$ac_ct_AR
15255 else
15256 AR="$ac_cv_prog_AR"
15257 fi
15258
15259 if test "x$AR" = "x" ; then
15260 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15261 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15262 { (exit 1); exit 1; }; }
15263 fi
15264
15265 # Find a good install program. We prefer a C program (faster),
15266 # so one script is as good as another. But avoid the broken or
15267 # incompatible versions:
15268 # SysV /etc/install, /usr/sbin/install
15269 # SunOS /usr/etc/install
15270 # IRIX /sbin/install
15271 # AIX /bin/install
15272 # AmigaOS /C/install, which installs bootblocks on floppy discs
15273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15276 # OS/2's system install, which has a completely different semantic
15277 # ./install, which can be erroneously created by make from ./install.sh.
15278 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15279 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15280 if test -z "$INSTALL"; then
15281 if test "${ac_cv_path_install+set}" = set; then
15282 echo $ECHO_N "(cached) $ECHO_C" >&6
15283 else
15284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15285 for as_dir in $PATH
15286 do
15287 IFS=$as_save_IFS
15288 test -z "$as_dir" && as_dir=.
15289 # Account for people who put trailing slashes in PATH elements.
15290 case $as_dir/ in
15291 ./ | .// | /cC/* | \
15292 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15293 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15294 /usr/ucb/* ) ;;
15295 *)
15296 # OSF1 and SCO ODT 3.0 have their own names for install.
15297 # Don't use installbsd from OSF since it installs stuff as root
15298 # by default.
15299 for ac_prog in ginstall scoinst install; do
15300 for ac_exec_ext in '' $ac_executable_extensions; do
15301 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15302 if test $ac_prog = install &&
15303 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15304 # AIX install. It has an incompatible calling convention.
15305 :
15306 elif test $ac_prog = install &&
15307 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15308 # program-specific install script used by HP pwplus--don't use.
15309 :
15310 else
15311 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15312 break 3
15313 fi
15314 fi
15315 done
15316 done
15317 ;;
15318 esac
15319 done
15320
15321
15322 fi
15323 if test "${ac_cv_path_install+set}" = set; then
15324 INSTALL=$ac_cv_path_install
15325 else
15326 # As a last resort, use the slow shell script. We don't cache a
15327 # path for INSTALL within a source directory, because that will
15328 # break other packages using the cache if that directory is
15329 # removed, or if the path is relative.
15330 INSTALL=$ac_install_sh
15331 fi
15332 fi
15333 echo "$as_me:$LINENO: result: $INSTALL" >&5
15334 echo "${ECHO_T}$INSTALL" >&6
15335
15336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15337 # It thinks the first close brace ends the variable substitution.
15338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15339
15340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15341
15342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15343
15344
15345 case ${INSTALL} in
15346 /* ) # Absolute
15347 ;;
15348 ?:* ) # Drive letter, considered as absolute.
15349 ;;
15350 *)
15351 INSTALL=`pwd`/${INSTALL} ;;
15352 esac
15353
15354
15355 case "${host}" in
15356
15357 *-*-darwin* )
15358 INSTALL_PROGRAM="cp -fp"
15359 INSTALL_DATA="cp -fp"
15360 ;;
15361 *)
15362 ;;
15363 esac
15364
15365 if test -n "$ac_tool_prefix"; then
15366 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15367 set dummy ${ac_tool_prefix}strip; ac_word=$2
15368 echo "$as_me:$LINENO: checking for $ac_word" >&5
15369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15370 if test "${ac_cv_prog_STRIP+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15373 if test -n "$STRIP"; then
15374 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15375 else
15376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15377 for as_dir in $PATH
15378 do
15379 IFS=$as_save_IFS
15380 test -z "$as_dir" && as_dir=.
15381 for ac_exec_ext in '' $ac_executable_extensions; do
15382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15383 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15385 break 2
15386 fi
15387 done
15388 done
15389
15390 fi
15391 fi
15392 STRIP=$ac_cv_prog_STRIP
15393 if test -n "$STRIP"; then
15394 echo "$as_me:$LINENO: result: $STRIP" >&5
15395 echo "${ECHO_T}$STRIP" >&6
15396 else
15397 echo "$as_me:$LINENO: result: no" >&5
15398 echo "${ECHO_T}no" >&6
15399 fi
15400
15401 fi
15402 if test -z "$ac_cv_prog_STRIP"; then
15403 ac_ct_STRIP=$STRIP
15404 # Extract the first word of "strip", so it can be a program name with args.
15405 set dummy strip; ac_word=$2
15406 echo "$as_me:$LINENO: checking for $ac_word" >&5
15407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15408 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 else
15411 if test -n "$ac_ct_STRIP"; then
15412 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15413 else
15414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15415 for as_dir in $PATH
15416 do
15417 IFS=$as_save_IFS
15418 test -z "$as_dir" && as_dir=.
15419 for ac_exec_ext in '' $ac_executable_extensions; do
15420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15421 ac_cv_prog_ac_ct_STRIP="strip"
15422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15423 break 2
15424 fi
15425 done
15426 done
15427
15428 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15429 fi
15430 fi
15431 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15432 if test -n "$ac_ct_STRIP"; then
15433 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15434 echo "${ECHO_T}$ac_ct_STRIP" >&6
15435 else
15436 echo "$as_me:$LINENO: result: no" >&5
15437 echo "${ECHO_T}no" >&6
15438 fi
15439
15440 STRIP=$ac_ct_STRIP
15441 else
15442 STRIP="$ac_cv_prog_STRIP"
15443 fi
15444
15445
15446 if test "$wxUSE_WINE" = "yes"; then
15447 if test -n "$ac_tool_prefix"; then
15448 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15449 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15450 echo "$as_me:$LINENO: checking for $ac_word" >&5
15451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15452 if test "${ac_cv_prog_WINDRES+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 if test -n "$WINDRES"; then
15456 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15457 else
15458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15459 for as_dir in $PATH
15460 do
15461 IFS=$as_save_IFS
15462 test -z "$as_dir" && as_dir=.
15463 for ac_exec_ext in '' $ac_executable_extensions; do
15464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15465 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15467 break 2
15468 fi
15469 done
15470 done
15471
15472 fi
15473 fi
15474 WINDRES=$ac_cv_prog_WINDRES
15475 if test -n "$WINDRES"; then
15476 echo "$as_me:$LINENO: result: $WINDRES" >&5
15477 echo "${ECHO_T}$WINDRES" >&6
15478 else
15479 echo "$as_me:$LINENO: result: no" >&5
15480 echo "${ECHO_T}no" >&6
15481 fi
15482
15483 fi
15484 if test -z "$ac_cv_prog_WINDRES"; then
15485 ac_ct_WINDRES=$WINDRES
15486 # Extract the first word of "wrc", so it can be a program name with args.
15487 set dummy wrc; ac_word=$2
15488 echo "$as_me:$LINENO: checking for $ac_word" >&5
15489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15490 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 if test -n "$ac_ct_WINDRES"; then
15494 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15495 else
15496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15497 for as_dir in $PATH
15498 do
15499 IFS=$as_save_IFS
15500 test -z "$as_dir" && as_dir=.
15501 for ac_exec_ext in '' $ac_executable_extensions; do
15502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15503 ac_cv_prog_ac_ct_WINDRES="wrc"
15504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15505 break 2
15506 fi
15507 done
15508 done
15509
15510 fi
15511 fi
15512 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15513 if test -n "$ac_ct_WINDRES"; then
15514 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15515 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15516 else
15517 echo "$as_me:$LINENO: result: no" >&5
15518 echo "${ECHO_T}no" >&6
15519 fi
15520
15521 WINDRES=$ac_ct_WINDRES
15522 else
15523 WINDRES="$ac_cv_prog_WINDRES"
15524 fi
15525
15526 RESCOMP="$WINDRES"
15527 else
15528 case "${host}" in
15529 *-*-cygwin* | *-*-mingw32* )
15530 if test -n "$ac_tool_prefix"; then
15531 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15532 set dummy ${ac_tool_prefix}windres; ac_word=$2
15533 echo "$as_me:$LINENO: checking for $ac_word" >&5
15534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15535 if test "${ac_cv_prog_WINDRES+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 else
15538 if test -n "$WINDRES"; then
15539 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15540 else
15541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15542 for as_dir in $PATH
15543 do
15544 IFS=$as_save_IFS
15545 test -z "$as_dir" && as_dir=.
15546 for ac_exec_ext in '' $ac_executable_extensions; do
15547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15548 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15550 break 2
15551 fi
15552 done
15553 done
15554
15555 fi
15556 fi
15557 WINDRES=$ac_cv_prog_WINDRES
15558 if test -n "$WINDRES"; then
15559 echo "$as_me:$LINENO: result: $WINDRES" >&5
15560 echo "${ECHO_T}$WINDRES" >&6
15561 else
15562 echo "$as_me:$LINENO: result: no" >&5
15563 echo "${ECHO_T}no" >&6
15564 fi
15565
15566 fi
15567 if test -z "$ac_cv_prog_WINDRES"; then
15568 ac_ct_WINDRES=$WINDRES
15569 # Extract the first word of "windres", so it can be a program name with args.
15570 set dummy windres; ac_word=$2
15571 echo "$as_me:$LINENO: checking for $ac_word" >&5
15572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15573 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 else
15576 if test -n "$ac_ct_WINDRES"; then
15577 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15578 else
15579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15580 for as_dir in $PATH
15581 do
15582 IFS=$as_save_IFS
15583 test -z "$as_dir" && as_dir=.
15584 for ac_exec_ext in '' $ac_executable_extensions; do
15585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15586 ac_cv_prog_ac_ct_WINDRES="windres"
15587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15588 break 2
15589 fi
15590 done
15591 done
15592
15593 fi
15594 fi
15595 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15596 if test -n "$ac_ct_WINDRES"; then
15597 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15598 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15599 else
15600 echo "$as_me:$LINENO: result: no" >&5
15601 echo "${ECHO_T}no" >&6
15602 fi
15603
15604 WINDRES=$ac_ct_WINDRES
15605 else
15606 WINDRES="$ac_cv_prog_WINDRES"
15607 fi
15608
15609 RESCOMP="$WINDRES"
15610 if test -n "$ac_tool_prefix"; then
15611 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15612 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 if test -n "$DLLTOOL"; then
15619 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15620 else
15621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15622 for as_dir in $PATH
15623 do
15624 IFS=$as_save_IFS
15625 test -z "$as_dir" && as_dir=.
15626 for ac_exec_ext in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15630 break 2
15631 fi
15632 done
15633 done
15634
15635 fi
15636 fi
15637 DLLTOOL=$ac_cv_prog_DLLTOOL
15638 if test -n "$DLLTOOL"; then
15639 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15640 echo "${ECHO_T}$DLLTOOL" >&6
15641 else
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15644 fi
15645
15646 fi
15647 if test -z "$ac_cv_prog_DLLTOOL"; then
15648 ac_ct_DLLTOOL=$DLLTOOL
15649 # Extract the first word of "dlltool", so it can be a program name with args.
15650 set dummy dlltool; ac_word=$2
15651 echo "$as_me:$LINENO: checking for $ac_word" >&5
15652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15653 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 else
15656 if test -n "$ac_ct_DLLTOOL"; then
15657 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15658 else
15659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15660 for as_dir in $PATH
15661 do
15662 IFS=$as_save_IFS
15663 test -z "$as_dir" && as_dir=.
15664 for ac_exec_ext in '' $ac_executable_extensions; do
15665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15666 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15668 break 2
15669 fi
15670 done
15671 done
15672
15673 fi
15674 fi
15675 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15676 if test -n "$ac_ct_DLLTOOL"; then
15677 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15678 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15679 else
15680 echo "$as_me:$LINENO: result: no" >&5
15681 echo "${ECHO_T}no" >&6
15682 fi
15683
15684 DLLTOOL=$ac_ct_DLLTOOL
15685 else
15686 DLLTOOL="$ac_cv_prog_DLLTOOL"
15687 fi
15688
15689 ;;
15690 esac
15691 fi
15692
15693 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15694 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15695 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 else
15698
15699 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15700 egrep -s GNU > /dev/null); then
15701 wx_cv_prog_makeisgnu="yes"
15702 else
15703 wx_cv_prog_makeisgnu="no"
15704 fi
15705
15706 fi
15707 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15708 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15709
15710 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15711 IF_GNU_MAKE=""
15712 else
15713 IF_GNU_MAKE="#"
15714 fi
15715
15716
15717
15718 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15719 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15720 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15721 if test "${wx_cv_prog_makevpath+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15724
15725 cat - << EOF > confMake
15726 check : file
15727 cp \$? \$@
15728 cp \$? final_file
15729 EOF
15730
15731 if test ! -d sub ; then
15732 mkdir sub
15733 fi
15734 echo dummy > sub/file
15735 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15736 RESULT=$?
15737 rm -f sub/file check final_file confMake
15738 rmdir sub
15739 if test "$RESULT" = 0; then
15740 wx_cv_prog_makevpath="yes"
15741 else
15742 wx_cv_prog_makevpath="no"
15743 fi
15744
15745 fi
15746 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15747 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15748
15749 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15750 { { echo "$as_me:$LINENO: error:
15751 You need a make-utility that is able to use the variable
15752 VPATH correctly.
15753 If your version of make does not support VPATH correctly,
15754 please install GNU-make (possibly as gmake), and start
15755 configure with the following command:
15756 export MAKE=gmake; ./configure for sh-type shells
15757 setenv MAKE gmake; ./configure for csh-type shells
15758 Also please do remember to use gmake in this case every time
15759 you are trying to compile.
15760 " >&5
15761 echo "$as_me: error:
15762 You need a make-utility that is able to use the variable
15763 VPATH correctly.
15764 If your version of make does not support VPATH correctly,
15765 please install GNU-make (possibly as gmake), and start
15766 configure with the following command:
15767 export MAKE=gmake; ./configure for sh-type shells
15768 setenv MAKE gmake; ./configure for csh-type shells
15769 Also please do remember to use gmake in this case every time
15770 you are trying to compile.
15771 " >&2;}
15772 { (exit 1); exit 1; }; }
15773 fi fi
15774 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15775 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15776 LN_S=$as_ln_s
15777 if test "$LN_S" = "ln -s"; then
15778 echo "$as_me:$LINENO: result: yes" >&5
15779 echo "${ECHO_T}yes" >&6
15780 else
15781 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15782 echo "${ECHO_T}no, using $LN_S" >&6
15783 fi
15784
15785
15786
15787
15788 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15789 CXXFLAGS="-qunique $CXXFLAGS"
15790 fi
15791
15792 case "${host}" in
15793 powerpc-*-darwin* )
15794 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15795 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15796 cat >conftest.$ac_ext <<_ACEOF
15797 /* confdefs.h. */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802
15803 int
15804 main ()
15805 {
15806 #ifndef __POWERPC__
15807 choke me for lack of PowerPC
15808 #endif
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15826 ac_status=$?
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; } &&
15829 { ac_try='test -s conftest.$ac_objext'
15830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831 (eval $ac_try) 2>&5
15832 ac_status=$?
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); }; }; then
15835 echo "$as_me:$LINENO: result: yes" >&5
15836 echo "${ECHO_T}yes" >&6
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 echo "$as_me:$LINENO: result: no" >&5
15842 echo "${ECHO_T}no" >&6
15843 cat >>confdefs.h <<\_ACEOF
15844 #define __POWERPC__ 1
15845 _ACEOF
15846
15847
15848 fi
15849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15850 ;;
15851 esac
15852
15853 case "${host}" in
15854 *-*-darwin* )
15855 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15856 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15857 cat >conftest.$ac_ext <<_ACEOF
15858 /* confdefs.h. */
15859 _ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863 #include <CoreFoundation/CFBase.h>
15864
15865 int
15866 main ()
15867 {
15868
15869 ;
15870 return 0;
15871 }
15872 _ACEOF
15873 rm -f conftest.$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15885 ac_status=$?
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try='test -s conftest.$ac_objext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 echo "$as_me:$LINENO: result: yes" >&5
15895 echo "${ECHO_T}yes" >&6
15896 else
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15899
15900 echo "$as_me:$LINENO: result: no" >&5
15901 echo "${ECHO_T}no" >&6
15902 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15903 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15904 cat >conftest.$ac_ext <<_ACEOF
15905 /* confdefs.h. */
15906 _ACEOF
15907 cat confdefs.h >>conftest.$ac_ext
15908 cat >>conftest.$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15910 #define __CF_USE_FRAMEWORK_INCLUDES__
15911 #include <CoreFoundation/CFBase.h>
15912
15913 int
15914 main ()
15915 {
15916
15917 ;
15918 return 0;
15919 }
15920 _ACEOF
15921 rm -f conftest.$ac_objext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15923 (eval $ac_compile) 2>conftest.er1
15924 ac_status=$?
15925 grep -v '^ *+' conftest.er1 >conftest.err
15926 rm -f conftest.er1
15927 cat conftest.err >&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; } &&
15936 { ac_try='test -s conftest.$ac_objext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15939 ac_status=$?
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15942 echo "$as_me:$LINENO: result: yes" >&5
15943 echo "${ECHO_T}yes" >&6
15944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15945 else
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.$ac_ext >&5
15948
15949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: no. CoreFoundation not available.
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15954
15955 fi
15956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15957
15958
15959 fi
15960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15961 ;;
15962 esac
15963
15964 wants_win32=0
15965 doesnt_want_win32=0
15966 case "${host}" in
15967 *-*-cygwin*)
15968 if test "$wxUSE_MSW" = 1 ; then
15969 wants_win32=1
15970 else
15971 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15972 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15973 if test "${wx_cv_nocygwin+set}" = set; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 else
15976
15977 cat >conftest.$ac_ext <<_ACEOF
15978 /* confdefs.h. */
15979 _ACEOF
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15983
15984 int
15985 main ()
15986 {
15987
15988 #ifdef __MINGW32__
15989 choke me
15990 #endif
15991
15992 ;
15993 return 0;
15994 }
15995 _ACEOF
15996 rm -f conftest.$ac_objext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 (eval $ac_compile) 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try='test -s conftest.$ac_objext'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16014 ac_status=$?
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; }; then
16017 wx_cv_nocygwin=no
16018 else
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.$ac_ext >&5
16021
16022 wx_cv_nocygwin=yes
16023
16024 fi
16025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16026
16027
16028 fi
16029 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16030 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16031
16032 if test "$wx_cv_nocygwin" = "yes"; then
16033 wants_win32=1
16034 else
16035 doesnt_want_win32=1
16036 fi
16037 fi
16038 if test "$wants_win32" = 1 ; then
16039 BAKEFILE_FORCE_PLATFORM=win32
16040 fi
16041 ;;
16042 *-*-mingw*)
16043 wants_win32=1
16044 ;;
16045 esac
16046
16047 if test "$wxUSE_WINE" = "yes"; then
16048 wants_win32=1
16049 CC=winegcc
16050 CXX=wineg++
16051 LDFLAGS_GUI="-mwindows"
16052 fi
16053
16054 if test "$wants_win32" = 1 ; then
16055 USE_UNIX=0
16056 USE_WIN32=1
16057 cat >>confdefs.h <<\_ACEOF
16058 #define __WIN32__ 1
16059 _ACEOF
16060
16061 cat >>confdefs.h <<\_ACEOF
16062 #define __WIN95__ 1
16063 _ACEOF
16064
16065 cat >>confdefs.h <<\_ACEOF
16066 #define __WINDOWS__ 1
16067 _ACEOF
16068
16069 cat >>confdefs.h <<\_ACEOF
16070 #define __GNUWIN32__ 1
16071 _ACEOF
16072
16073 cat >>confdefs.h <<\_ACEOF
16074 #define STRICT 1
16075 _ACEOF
16076
16077 fi
16078 if test "$doesnt_want_win32" = 1 ; then
16079 USE_UNIX=1
16080 USE_WIN32=0
16081 fi
16082
16083 if test "$USE_UNIX" = 1 ; then
16084 wxUSE_UNIX=yes
16085 cat >>confdefs.h <<\_ACEOF
16086 #define __UNIX__ 1
16087 _ACEOF
16088
16089 fi
16090
16091 case "${host}" in
16092 *-pc-os2_emx | *-pc-os2-emx )
16093 ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16098
16099 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16100 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16101 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16102 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 else
16105 ac_check_lib_save_LIBS=$LIBS
16106 LIBS="-lcExt $LIBS"
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113
16114 /* Override any gcc2 internal prototype to avoid an error. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16120 char drand48 ();
16121 int
16122 main ()
16123 {
16124 drand48 ();
16125 ;
16126 return 0;
16127 }
16128 _ACEOF
16129 rm -f conftest.$ac_objext conftest$ac_exeext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16131 (eval $ac_link) 2>conftest.er1
16132 ac_status=$?
16133 grep -v '^ *+' conftest.er1 >conftest.err
16134 rm -f conftest.er1
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try='test -s conftest$ac_exeext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16147 ac_status=$?
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 ac_cv_lib_cExt_drand48=yes
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 ac_cv_lib_cExt_drand48=no
16156 fi
16157 rm -f conftest.err conftest.$ac_objext \
16158 conftest$ac_exeext conftest.$ac_ext
16159 LIBS=$ac_check_lib_save_LIBS
16160 fi
16161 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16162 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16163 if test $ac_cv_lib_cExt_drand48 = yes; then
16164 LIBS="$LIBS -lcExt"
16165 fi
16166
16167 else
16168 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16169 fi
16170 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16171 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16172 if test "${wx_cv_gccversion+set}" = set; then
16173 echo $ECHO_N "(cached) $ECHO_C" >&6
16174 else
16175
16176 if test "$cross_compiling" = yes; then
16177 wx_cv_gccversion="EMX2"
16178
16179 else
16180 cat >conftest.$ac_ext <<_ACEOF
16181 /* confdefs.h. */
16182 _ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16186
16187 #include <stdio.h>
16188
16189 int main()
16190 {
16191 FILE *f=fopen("conftestval", "w");
16192 if (!f) exit(1);
16193 fprintf(f,
16194 #if (__GNUC__ < 3)
16195 "EMX2"
16196 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16197 "EMX3"
16198 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16199 "Innotek5"
16200 #else
16201 "Innotek6"
16202 #endif
16203 );
16204 exit(0);
16205 }
16206
16207 _ACEOF
16208 rm -f conftest$ac_exeext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16210 (eval $ac_link) 2>&5
16211 ac_status=$?
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16216 ac_status=$?
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; }; then
16219 wx_cv_gccversion=`cat conftestval`
16220 else
16221 echo "$as_me: program exited with status $ac_status" >&5
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.$ac_ext >&5
16224
16225 ( exit $ac_status )
16226 wx_cv_gccversion="EMX2"
16227 fi
16228 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16229 fi
16230
16231 fi
16232 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16233 echo "${ECHO_T}$wx_cv_gccversion" >&6
16234 ac_ext=cc
16235 ac_cpp='$CXXCPP $CPPFLAGS'
16236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16239
16240 if test "$wx_cv_gccversion" = "EMX2"; then
16241 LIBS="$LIBS -lstdcpp"
16242 LDFLAGS="$LDFLAGS -Zsysv-signals"
16243 else
16244 if test "$wx_cv_gccversion" = "EMX3"; then
16245 LIBS="$LIBS -lstdcxx -lgcc"
16246 LDFLAGS="$LDFLAGS -Zsysv-signals"
16247 else
16248 LIBS="$LIBS -lstdc++"
16249 fi
16250 fi
16251 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16252 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16253 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16254 wxUSE_OMF=yes
16255 enable_omf=yes
16256 fi
16257 ;;
16258 *)
16259
16260 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16261 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16262 if test "${ac_cv_string_strcasecmp+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272
16273 #include <string.h>
16274
16275 int
16276 main ()
16277 {
16278
16279 strcasecmp("foo", "bar");
16280
16281 ;
16282 return 0;
16283 }
16284 _ACEOF
16285 rm -f conftest.$ac_objext conftest$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_cv_string_strcasecmp=yes
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 ac_cv_string_strcasecmp=no
16312
16313 fi
16314 rm -f conftest.err conftest.$ac_objext \
16315 conftest$ac_exeext conftest.$ac_ext
16316
16317 fi
16318 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16319 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16320
16321 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16322 cat >>confdefs.h <<\_ACEOF
16323 #define HAVE_STRCASECMP_IN_STRING_H 1
16324 _ACEOF
16325
16326 else
16327 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16328 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16329 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16332
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339
16340 #include <strings.h>
16341
16342 int
16343 main ()
16344 {
16345
16346 strcasecmp("foo", "bar");
16347
16348 ;
16349 return 0;
16350 }
16351 _ACEOF
16352 rm -f conftest.$ac_objext conftest$ac_exeext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16354 (eval $ac_link) 2>conftest.er1
16355 ac_status=$?
16356 grep -v '^ *+' conftest.er1 >conftest.err
16357 rm -f conftest.er1
16358 cat conftest.err >&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } &&
16361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16364 ac_status=$?
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; } &&
16367 { ac_try='test -s conftest$ac_exeext'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; }; then
16373 ac_cv_strings_strcasecmp=yes
16374 else
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16377
16378 ac_cv_strings_strcasecmp=no
16379
16380 fi
16381 rm -f conftest.err conftest.$ac_objext \
16382 conftest$ac_exeext conftest.$ac_ext
16383
16384 fi
16385 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16386 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16387
16388 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16389 cat >>confdefs.h <<\_ACEOF
16390 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16391 _ACEOF
16392
16393 else
16394 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16395 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16396 { (exit 1); exit 1; }; }
16397 fi
16398 fi
16399
16400 ;;
16401 esac
16402
16403
16404 ac_ext=cc
16405 ac_cpp='$CXXCPP $CPPFLAGS'
16406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16409 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16410 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16411 if test -z "$CXXCPP"; then
16412 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 else
16415 # Double quotes because CXXCPP needs to be expanded
16416 for CXXCPP in "$CXX -E" "/lib/cpp"
16417 do
16418 ac_preproc_ok=false
16419 for ac_cxx_preproc_warn_flag in '' yes
16420 do
16421 # Use a header file that comes with gcc, so configuring glibc
16422 # with a fresh cross-compiler works.
16423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16424 # <limits.h> exists even on freestanding compilers.
16425 # On the NeXT, cc -E runs the code through the compiler's parser,
16426 # not just through cpp. "Syntax error" is here to catch this case.
16427 cat >conftest.$ac_ext <<_ACEOF
16428 /* confdefs.h. */
16429 _ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 #ifdef __STDC__
16434 # include <limits.h>
16435 #else
16436 # include <assert.h>
16437 #endif
16438 Syntax error
16439 _ACEOF
16440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16442 ac_status=$?
16443 grep -v '^ *+' conftest.er1 >conftest.err
16444 rm -f conftest.er1
16445 cat conftest.err >&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } >/dev/null; then
16448 if test -s conftest.err; then
16449 ac_cpp_err=$ac_cxx_preproc_warn_flag
16450 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16451 else
16452 ac_cpp_err=
16453 fi
16454 else
16455 ac_cpp_err=yes
16456 fi
16457 if test -z "$ac_cpp_err"; then
16458 :
16459 else
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.$ac_ext >&5
16462
16463 # Broken: fails on valid input.
16464 continue
16465 fi
16466 rm -f conftest.err conftest.$ac_ext
16467
16468 # OK, works on sane cases. Now check whether non-existent headers
16469 # can be detected and how.
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 #include <ac_nonexistent.h>
16477 _ACEOF
16478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } >/dev/null; then
16486 if test -s conftest.err; then
16487 ac_cpp_err=$ac_cxx_preproc_warn_flag
16488 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16489 else
16490 ac_cpp_err=
16491 fi
16492 else
16493 ac_cpp_err=yes
16494 fi
16495 if test -z "$ac_cpp_err"; then
16496 # Broken: success on invalid input.
16497 continue
16498 else
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16501
16502 # Passes both tests.
16503 ac_preproc_ok=:
16504 break
16505 fi
16506 rm -f conftest.err conftest.$ac_ext
16507
16508 done
16509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16510 rm -f conftest.err conftest.$ac_ext
16511 if $ac_preproc_ok; then
16512 break
16513 fi
16514
16515 done
16516 ac_cv_prog_CXXCPP=$CXXCPP
16517
16518 fi
16519 CXXCPP=$ac_cv_prog_CXXCPP
16520 else
16521 ac_cv_prog_CXXCPP=$CXXCPP
16522 fi
16523 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16524 echo "${ECHO_T}$CXXCPP" >&6
16525 ac_preproc_ok=false
16526 for ac_cxx_preproc_warn_flag in '' yes
16527 do
16528 # Use a header file that comes with gcc, so configuring glibc
16529 # with a fresh cross-compiler works.
16530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16531 # <limits.h> exists even on freestanding compilers.
16532 # On the NeXT, cc -E runs the code through the compiler's parser,
16533 # not just through cpp. "Syntax error" is here to catch this case.
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 #ifdef __STDC__
16541 # include <limits.h>
16542 #else
16543 # include <assert.h>
16544 #endif
16545 Syntax error
16546 _ACEOF
16547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16549 ac_status=$?
16550 grep -v '^ *+' conftest.er1 >conftest.err
16551 rm -f conftest.er1
16552 cat conftest.err >&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } >/dev/null; then
16555 if test -s conftest.err; then
16556 ac_cpp_err=$ac_cxx_preproc_warn_flag
16557 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16558 else
16559 ac_cpp_err=
16560 fi
16561 else
16562 ac_cpp_err=yes
16563 fi
16564 if test -z "$ac_cpp_err"; then
16565 :
16566 else
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16569
16570 # Broken: fails on valid input.
16571 continue
16572 fi
16573 rm -f conftest.err conftest.$ac_ext
16574
16575 # OK, works on sane cases. Now check whether non-existent headers
16576 # can be detected and how.
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 <ac_nonexistent.h>
16584 _ACEOF
16585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16587 ac_status=$?
16588 grep -v '^ *+' conftest.er1 >conftest.err
16589 rm -f conftest.er1
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } >/dev/null; then
16593 if test -s conftest.err; then
16594 ac_cpp_err=$ac_cxx_preproc_warn_flag
16595 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16596 else
16597 ac_cpp_err=
16598 fi
16599 else
16600 ac_cpp_err=yes
16601 fi
16602 if test -z "$ac_cpp_err"; then
16603 # Broken: success on invalid input.
16604 continue
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 # Passes both tests.
16610 ac_preproc_ok=:
16611 break
16612 fi
16613 rm -f conftest.err conftest.$ac_ext
16614
16615 done
16616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16617 rm -f conftest.err conftest.$ac_ext
16618 if $ac_preproc_ok; then
16619 :
16620 else
16621 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16622 See \`config.log' for more details." >&5
16623 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16624 See \`config.log' for more details." >&2;}
16625 { (exit 1); exit 1; }; }
16626 fi
16627
16628 ac_ext=cc
16629 ac_cpp='$CXXCPP $CPPFLAGS'
16630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16633
16634
16635 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16636 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16637 if test "${ac_cv_header_stdc+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 #include <stdlib.h>
16647 #include <stdarg.h>
16648 #include <string.h>
16649 #include <float.h>
16650
16651 int
16652 main ()
16653 {
16654
16655 ;
16656 return 0;
16657 }
16658 _ACEOF
16659 rm -f conftest.$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16662 ac_status=$?
16663 grep -v '^ *+' conftest.er1 >conftest.err
16664 rm -f conftest.er1
16665 cat conftest.err >&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_cv_header_stdc=yes
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16684
16685 ac_cv_header_stdc=no
16686 fi
16687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16688
16689 if test $ac_cv_header_stdc = yes; then
16690 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #include <string.h>
16698
16699 _ACEOF
16700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16701 $EGREP "memchr" >/dev/null 2>&1; then
16702 :
16703 else
16704 ac_cv_header_stdc=no
16705 fi
16706 rm -f conftest*
16707
16708 fi
16709
16710 if test $ac_cv_header_stdc = yes; then
16711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16712 cat >conftest.$ac_ext <<_ACEOF
16713 /* confdefs.h. */
16714 _ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 #include <stdlib.h>
16719
16720 _ACEOF
16721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16722 $EGREP "free" >/dev/null 2>&1; then
16723 :
16724 else
16725 ac_cv_header_stdc=no
16726 fi
16727 rm -f conftest*
16728
16729 fi
16730
16731 if test $ac_cv_header_stdc = yes; then
16732 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16733 if test "$cross_compiling" = yes; then
16734 :
16735 else
16736 cat >conftest.$ac_ext <<_ACEOF
16737 /* confdefs.h. */
16738 _ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 #include <ctype.h>
16743 #if ((' ' & 0x0FF) == 0x020)
16744 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16745 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16746 #else
16747 # define ISLOWER(c) \
16748 (('a' <= (c) && (c) <= 'i') \
16749 || ('j' <= (c) && (c) <= 'r') \
16750 || ('s' <= (c) && (c) <= 'z'))
16751 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16752 #endif
16753
16754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16755 int
16756 main ()
16757 {
16758 int i;
16759 for (i = 0; i < 256; i++)
16760 if (XOR (islower (i), ISLOWER (i))
16761 || toupper (i) != TOUPPER (i))
16762 exit(2);
16763 exit (0);
16764 }
16765 _ACEOF
16766 rm -f conftest$ac_exeext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16768 (eval $ac_link) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 :
16778 else
16779 echo "$as_me: program exited with status $ac_status" >&5
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16782
16783 ( exit $ac_status )
16784 ac_cv_header_stdc=no
16785 fi
16786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16787 fi
16788 fi
16789 fi
16790 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16791 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16792 if test $ac_cv_header_stdc = yes; then
16793
16794 cat >>confdefs.h <<\_ACEOF
16795 #define STDC_HEADERS 1
16796 _ACEOF
16797
16798 fi
16799
16800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16811 inttypes.h stdint.h unistd.h
16812 do
16813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16814 echo "$as_me:$LINENO: checking for $ac_header" >&5
16815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819 cat >conftest.$ac_ext <<_ACEOF
16820 /* confdefs.h. */
16821 _ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16826
16827 #include <$ac_header>
16828 _ACEOF
16829 rm -f conftest.$ac_objext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16831 (eval $ac_compile) 2>conftest.er1
16832 ac_status=$?
16833 grep -v '^ *+' conftest.er1 >conftest.err
16834 rm -f conftest.er1
16835 cat conftest.err >&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16841 ac_status=$?
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 eval "$as_ac_Header=yes"
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 eval "$as_ac_Header=no"
16856 fi
16857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16858 fi
16859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16862 cat >>confdefs.h <<_ACEOF
16863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16864 _ACEOF
16865
16866 fi
16867
16868 done
16869
16870
16871
16872 for ac_header in stdlib.h
16873 do
16874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16876 echo "$as_me:$LINENO: checking for $ac_header" >&5
16877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 fi
16881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16883 else
16884 # Is the header compilable?
16885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16894 #include <$ac_header>
16895 _ACEOF
16896 rm -f conftest.$ac_objext
16897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16898 (eval $ac_compile) 2>conftest.er1
16899 ac_status=$?
16900 grep -v '^ *+' conftest.er1 >conftest.err
16901 rm -f conftest.er1
16902 cat conftest.err >&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 ac_header_compiler=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16921
16922 ac_header_compiler=no
16923 fi
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16926 echo "${ECHO_T}$ac_header_compiler" >&6
16927
16928 # Is the header present?
16929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16931 cat >conftest.$ac_ext <<_ACEOF
16932 /* confdefs.h. */
16933 _ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 #include <$ac_header>
16938 _ACEOF
16939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16941 ac_status=$?
16942 grep -v '^ *+' conftest.er1 >conftest.err
16943 rm -f conftest.er1
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } >/dev/null; then
16947 if test -s conftest.err; then
16948 ac_cpp_err=$ac_cxx_preproc_warn_flag
16949 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16950 else
16951 ac_cpp_err=
16952 fi
16953 else
16954 ac_cpp_err=yes
16955 fi
16956 if test -z "$ac_cpp_err"; then
16957 ac_header_preproc=yes
16958 else
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16961
16962 ac_header_preproc=no
16963 fi
16964 rm -f conftest.err conftest.$ac_ext
16965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16966 echo "${ECHO_T}$ac_header_preproc" >&6
16967
16968 # So? What about this header?
16969 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16970 yes:no: )
16971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16975 ac_header_preproc=yes
16976 ;;
16977 no:yes:* )
16978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16990 (
16991 cat <<\_ASBOX
16992 ## ----------------------------------------- ##
16993 ## Report this to wx-dev@lists.wxwidgets.org ##
16994 ## ----------------------------------------- ##
16995 _ASBOX
16996 ) |
16997 sed "s/^/$as_me: WARNING: /" >&2
16998 ;;
16999 esac
17000 echo "$as_me:$LINENO: checking for $ac_header" >&5
17001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 else
17005 eval "$as_ac_Header=\$ac_header_preproc"
17006 fi
17007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17009
17010 fi
17011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17012 cat >>confdefs.h <<_ACEOF
17013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17014 _ACEOF
17015
17016 fi
17017
17018 done
17019
17020
17021 for ac_header in malloc.h
17022 do
17023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17025 echo "$as_me:$LINENO: checking for $ac_header" >&5
17026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 fi
17030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17032 else
17033 # Is the header compilable?
17034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17043 #include <$ac_header>
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17063 ac_status=$?
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_header_compiler=yes
17067 else
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.$ac_ext >&5
17070
17071 ac_header_compiler=no
17072 fi
17073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17075 echo "${ECHO_T}$ac_header_compiler" >&6
17076
17077 # Is the header present?
17078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17080 cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h. */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 #include <$ac_header>
17087 _ACEOF
17088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } >/dev/null; then
17096 if test -s conftest.err; then
17097 ac_cpp_err=$ac_cxx_preproc_warn_flag
17098 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17099 else
17100 ac_cpp_err=
17101 fi
17102 else
17103 ac_cpp_err=yes
17104 fi
17105 if test -z "$ac_cpp_err"; then
17106 ac_header_preproc=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 ac_header_preproc=no
17112 fi
17113 rm -f conftest.err conftest.$ac_ext
17114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17115 echo "${ECHO_T}$ac_header_preproc" >&6
17116
17117 # So? What about this header?
17118 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17119 yes:no: )
17120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17124 ac_header_preproc=yes
17125 ;;
17126 no:yes:* )
17127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17139 (
17140 cat <<\_ASBOX
17141 ## ----------------------------------------- ##
17142 ## Report this to wx-dev@lists.wxwidgets.org ##
17143 ## ----------------------------------------- ##
17144 _ASBOX
17145 ) |
17146 sed "s/^/$as_me: WARNING: /" >&2
17147 ;;
17148 esac
17149 echo "$as_me:$LINENO: checking for $ac_header" >&5
17150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17154 eval "$as_ac_Header=\$ac_header_preproc"
17155 fi
17156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17158
17159 fi
17160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17161 cat >>confdefs.h <<_ACEOF
17162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17163 _ACEOF
17164
17165 fi
17166
17167 done
17168
17169
17170 for ac_header in unistd.h
17171 do
17172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17174 echo "$as_me:$LINENO: checking for $ac_header" >&5
17175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 fi
17179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17181 else
17182 # Is the header compilable?
17183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17185 cat >conftest.$ac_ext <<_ACEOF
17186 /* confdefs.h. */
17187 _ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17192 #include <$ac_header>
17193 _ACEOF
17194 rm -f conftest.$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196 (eval $ac_compile) 2>conftest.er1
17197 ac_status=$?
17198 grep -v '^ *+' conftest.er1 >conftest.err
17199 rm -f conftest.er1
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } &&
17203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; } &&
17209 { ac_try='test -s conftest.$ac_objext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17212 ac_status=$?
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 ac_header_compiler=yes
17216 else
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17219
17220 ac_header_compiler=no
17221 fi
17222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17224 echo "${ECHO_T}$ac_header_compiler" >&6
17225
17226 # Is the header present?
17227 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17229 cat >conftest.$ac_ext <<_ACEOF
17230 /* confdefs.h. */
17231 _ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 #include <$ac_header>
17236 _ACEOF
17237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17239 ac_status=$?
17240 grep -v '^ *+' conftest.er1 >conftest.err
17241 rm -f conftest.er1
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } >/dev/null; then
17245 if test -s conftest.err; then
17246 ac_cpp_err=$ac_cxx_preproc_warn_flag
17247 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17248 else
17249 ac_cpp_err=
17250 fi
17251 else
17252 ac_cpp_err=yes
17253 fi
17254 if test -z "$ac_cpp_err"; then
17255 ac_header_preproc=yes
17256 else
17257 echo "$as_me: failed program was:" >&5
17258 sed 's/^/| /' conftest.$ac_ext >&5
17259
17260 ac_header_preproc=no
17261 fi
17262 rm -f conftest.err conftest.$ac_ext
17263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17264 echo "${ECHO_T}$ac_header_preproc" >&6
17265
17266 # So? What about this header?
17267 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17268 yes:no: )
17269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17273 ac_header_preproc=yes
17274 ;;
17275 no:yes:* )
17276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17288 (
17289 cat <<\_ASBOX
17290 ## ----------------------------------------- ##
17291 ## Report this to wx-dev@lists.wxwidgets.org ##
17292 ## ----------------------------------------- ##
17293 _ASBOX
17294 ) |
17295 sed "s/^/$as_me: WARNING: /" >&2
17296 ;;
17297 esac
17298 echo "$as_me:$LINENO: checking for $ac_header" >&5
17299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17301 echo $ECHO_N "(cached) $ECHO_C" >&6
17302 else
17303 eval "$as_ac_Header=\$ac_header_preproc"
17304 fi
17305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17307
17308 fi
17309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17310 cat >>confdefs.h <<_ACEOF
17311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17312 _ACEOF
17313
17314 fi
17315
17316 done
17317
17318
17319 for ac_header in wchar.h
17320 do
17321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17323 echo "$as_me:$LINENO: checking for $ac_header" >&5
17324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 fi
17328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17330 else
17331 # Is the header compilable?
17332 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17334 cat >conftest.$ac_ext <<_ACEOF
17335 /* confdefs.h. */
17336 _ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 $ac_includes_default
17341 #include <$ac_header>
17342 _ACEOF
17343 rm -f conftest.$ac_objext
17344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17345 (eval $ac_compile) 2>conftest.er1
17346 ac_status=$?
17347 grep -v '^ *+' conftest.er1 >conftest.err
17348 rm -f conftest.er1
17349 cat conftest.err >&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } &&
17352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17354 (eval $ac_try) 2>&5
17355 ac_status=$?
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; } &&
17358 { ac_try='test -s conftest.$ac_objext'
17359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17360 (eval $ac_try) 2>&5
17361 ac_status=$?
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); }; }; then
17364 ac_header_compiler=yes
17365 else
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.$ac_ext >&5
17368
17369 ac_header_compiler=no
17370 fi
17371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17373 echo "${ECHO_T}$ac_header_compiler" >&6
17374
17375 # Is the header present?
17376 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17377 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17378 cat >conftest.$ac_ext <<_ACEOF
17379 /* confdefs.h. */
17380 _ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 #include <$ac_header>
17385 _ACEOF
17386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } >/dev/null; then
17394 if test -s conftest.err; then
17395 ac_cpp_err=$ac_cxx_preproc_warn_flag
17396 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17397 else
17398 ac_cpp_err=
17399 fi
17400 else
17401 ac_cpp_err=yes
17402 fi
17403 if test -z "$ac_cpp_err"; then
17404 ac_header_preproc=yes
17405 else
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17408
17409 ac_header_preproc=no
17410 fi
17411 rm -f conftest.err conftest.$ac_ext
17412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17413 echo "${ECHO_T}$ac_header_preproc" >&6
17414
17415 # So? What about this header?
17416 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17417 yes:no: )
17418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17422 ac_header_preproc=yes
17423 ;;
17424 no:yes:* )
17425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17437 (
17438 cat <<\_ASBOX
17439 ## ----------------------------------------- ##
17440 ## Report this to wx-dev@lists.wxwidgets.org ##
17441 ## ----------------------------------------- ##
17442 _ASBOX
17443 ) |
17444 sed "s/^/$as_me: WARNING: /" >&2
17445 ;;
17446 esac
17447 echo "$as_me:$LINENO: checking for $ac_header" >&5
17448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 eval "$as_ac_Header=\$ac_header_preproc"
17453 fi
17454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17456
17457 fi
17458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17459 cat >>confdefs.h <<_ACEOF
17460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17461 _ACEOF
17462
17463 fi
17464
17465 done
17466
17467
17468 if test "$ac_cv_header_wchar_h" != "yes"; then
17469
17470 for ac_header in wcstr.h
17471 do
17472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17474 echo "$as_me:$LINENO: checking for $ac_header" >&5
17475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 fi
17479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17481 else
17482 # Is the header compilable?
17483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17485 cat >conftest.$ac_ext <<_ACEOF
17486 /* confdefs.h. */
17487 _ACEOF
17488 cat confdefs.h >>conftest.$ac_ext
17489 cat >>conftest.$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17492 #include <$ac_header>
17493 _ACEOF
17494 rm -f conftest.$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_header_compiler=yes
17516 else
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17519
17520 ac_header_compiler=no
17521 fi
17522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17524 echo "${ECHO_T}$ac_header_compiler" >&6
17525
17526 # Is the header present?
17527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17529 cat >conftest.$ac_ext <<_ACEOF
17530 /* confdefs.h. */
17531 _ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 #include <$ac_header>
17536 _ACEOF
17537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17539 ac_status=$?
17540 grep -v '^ *+' conftest.er1 >conftest.err
17541 rm -f conftest.er1
17542 cat conftest.err >&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } >/dev/null; then
17545 if test -s conftest.err; then
17546 ac_cpp_err=$ac_cxx_preproc_warn_flag
17547 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17548 else
17549 ac_cpp_err=
17550 fi
17551 else
17552 ac_cpp_err=yes
17553 fi
17554 if test -z "$ac_cpp_err"; then
17555 ac_header_preproc=yes
17556 else
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.$ac_ext >&5
17559
17560 ac_header_preproc=no
17561 fi
17562 rm -f conftest.err conftest.$ac_ext
17563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17564 echo "${ECHO_T}$ac_header_preproc" >&6
17565
17566 # So? What about this header?
17567 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17568 yes:no: )
17569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17573 ac_header_preproc=yes
17574 ;;
17575 no:yes:* )
17576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17588 (
17589 cat <<\_ASBOX
17590 ## ----------------------------------------- ##
17591 ## Report this to wx-dev@lists.wxwidgets.org ##
17592 ## ----------------------------------------- ##
17593 _ASBOX
17594 ) |
17595 sed "s/^/$as_me: WARNING: /" >&2
17596 ;;
17597 esac
17598 echo "$as_me:$LINENO: checking for $ac_header" >&5
17599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 eval "$as_ac_Header=\$ac_header_preproc"
17604 fi
17605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17607
17608 fi
17609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17612 _ACEOF
17613
17614 fi
17615
17616 done
17617
17618 fi
17619
17620
17621 for ac_header in fnmatch.h
17622 do
17623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17625 echo "$as_me:$LINENO: checking for $ac_header" >&5
17626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 fi
17630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17632 else
17633 # Is the header compilable?
17634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17643 #include <$ac_header>
17644 _ACEOF
17645 rm -f conftest.$ac_objext
17646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17647 (eval $ac_compile) 2>conftest.er1
17648 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17657 ac_status=$?
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try='test -s conftest.$ac_objext'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17663 ac_status=$?
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; }; then
17666 ac_header_compiler=yes
17667 else
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17670
17671 ac_header_compiler=no
17672 fi
17673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17675 echo "${ECHO_T}$ac_header_compiler" >&6
17676
17677 # Is the header present?
17678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17680 cat >conftest.$ac_ext <<_ACEOF
17681 /* confdefs.h. */
17682 _ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686 #include <$ac_header>
17687 _ACEOF
17688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } >/dev/null; then
17696 if test -s conftest.err; then
17697 ac_cpp_err=$ac_cxx_preproc_warn_flag
17698 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17699 else
17700 ac_cpp_err=
17701 fi
17702 else
17703 ac_cpp_err=yes
17704 fi
17705 if test -z "$ac_cpp_err"; then
17706 ac_header_preproc=yes
17707 else
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17710
17711 ac_header_preproc=no
17712 fi
17713 rm -f conftest.err conftest.$ac_ext
17714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17715 echo "${ECHO_T}$ac_header_preproc" >&6
17716
17717 # So? What about this header?
17718 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17719 yes:no: )
17720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17724 ac_header_preproc=yes
17725 ;;
17726 no:yes:* )
17727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17739 (
17740 cat <<\_ASBOX
17741 ## ----------------------------------------- ##
17742 ## Report this to wx-dev@lists.wxwidgets.org ##
17743 ## ----------------------------------------- ##
17744 _ASBOX
17745 ) |
17746 sed "s/^/$as_me: WARNING: /" >&2
17747 ;;
17748 esac
17749 echo "$as_me:$LINENO: checking for $ac_header" >&5
17750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17752 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 else
17754 eval "$as_ac_Header=\$ac_header_preproc"
17755 fi
17756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17758
17759 fi
17760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17761 cat >>confdefs.h <<_ACEOF
17762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17763 _ACEOF
17764
17765 fi
17766
17767 done
17768
17769
17770
17771 for ac_header in langinfo.h
17772 do
17773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17775 echo "$as_me:$LINENO: checking for $ac_header" >&5
17776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17779 fi
17780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17782 else
17783 # Is the header compilable?
17784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 #include <$ac_header>
17794 _ACEOF
17795 rm -f conftest.$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_header_compiler=yes
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17820
17821 ac_header_compiler=no
17822 fi
17823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17825 echo "${ECHO_T}$ac_header_compiler" >&6
17826
17827 # Is the header present?
17828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17830 cat >conftest.$ac_ext <<_ACEOF
17831 /* confdefs.h. */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 #include <$ac_header>
17837 _ACEOF
17838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17840 ac_status=$?
17841 grep -v '^ *+' conftest.er1 >conftest.err
17842 rm -f conftest.er1
17843 cat conftest.err >&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } >/dev/null; then
17846 if test -s conftest.err; then
17847 ac_cpp_err=$ac_cxx_preproc_warn_flag
17848 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17849 else
17850 ac_cpp_err=
17851 fi
17852 else
17853 ac_cpp_err=yes
17854 fi
17855 if test -z "$ac_cpp_err"; then
17856 ac_header_preproc=yes
17857 else
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17860
17861 ac_header_preproc=no
17862 fi
17863 rm -f conftest.err conftest.$ac_ext
17864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17865 echo "${ECHO_T}$ac_header_preproc" >&6
17866
17867 # So? What about this header?
17868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17869 yes:no: )
17870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17874 ac_header_preproc=yes
17875 ;;
17876 no:yes:* )
17877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17889 (
17890 cat <<\_ASBOX
17891 ## ----------------------------------------- ##
17892 ## Report this to wx-dev@lists.wxwidgets.org ##
17893 ## ----------------------------------------- ##
17894 _ASBOX
17895 ) |
17896 sed "s/^/$as_me: WARNING: /" >&2
17897 ;;
17898 esac
17899 echo "$as_me:$LINENO: checking for $ac_header" >&5
17900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17903 else
17904 eval "$as_ac_Header=\$ac_header_preproc"
17905 fi
17906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17908
17909 fi
17910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17911 cat >>confdefs.h <<_ACEOF
17912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17913 _ACEOF
17914
17915 fi
17916
17917 done
17918
17919
17920 case "${host}" in
17921 *-pc-os2_emx | *-pc-os2-emx )
17922 if test $ac_cv_header_langinfo_h = "yes" \
17923 -a \( "$wx_cv_gccversion" = "EMX2" \
17924 -o "$wx_cv_gccversion" = "EMX3" \
17925 -o "$wx_cv_gccversion" = "Innotek5" \); then
17926 LIBS="$LIBS -lintl"
17927 fi
17928 ;;
17929 esac
17930
17931 if test "$USE_UNIX" = 1 ; then
17932
17933 for ac_header in sys/select.h
17934 do
17935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17937 echo "$as_me:$LINENO: checking for $ac_header" >&5
17938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 fi
17942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17944 else
17945 # Is the header compilable?
17946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17948 cat >conftest.$ac_ext <<_ACEOF
17949 /* confdefs.h. */
17950 _ACEOF
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17954 $ac_includes_default
17955 #include <$ac_header>
17956 _ACEOF
17957 rm -f conftest.$ac_objext
17958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17959 (eval $ac_compile) 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } &&
17966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; } &&
17972 { ac_try='test -s conftest.$ac_objext'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; }; then
17978 ac_header_compiler=yes
17979 else
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17982
17983 ac_header_compiler=no
17984 fi
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17987 echo "${ECHO_T}$ac_header_compiler" >&6
17988
17989 # Is the header present?
17990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 #include <$ac_header>
17999 _ACEOF
18000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18002 ac_status=$?
18003 grep -v '^ *+' conftest.er1 >conftest.err
18004 rm -f conftest.er1
18005 cat conftest.err >&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } >/dev/null; then
18008 if test -s conftest.err; then
18009 ac_cpp_err=$ac_cxx_preproc_warn_flag
18010 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18011 else
18012 ac_cpp_err=
18013 fi
18014 else
18015 ac_cpp_err=yes
18016 fi
18017 if test -z "$ac_cpp_err"; then
18018 ac_header_preproc=yes
18019 else
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18022
18023 ac_header_preproc=no
18024 fi
18025 rm -f conftest.err conftest.$ac_ext
18026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18027 echo "${ECHO_T}$ac_header_preproc" >&6
18028
18029 # So? What about this header?
18030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18031 yes:no: )
18032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18036 ac_header_preproc=yes
18037 ;;
18038 no:yes:* )
18039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18051 (
18052 cat <<\_ASBOX
18053 ## ----------------------------------------- ##
18054 ## Report this to wx-dev@lists.wxwidgets.org ##
18055 ## ----------------------------------------- ##
18056 _ASBOX
18057 ) |
18058 sed "s/^/$as_me: WARNING: /" >&2
18059 ;;
18060 esac
18061 echo "$as_me:$LINENO: checking for $ac_header" >&5
18062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 eval "$as_ac_Header=\$ac_header_preproc"
18067 fi
18068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18070
18071 fi
18072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18073 cat >>confdefs.h <<_ACEOF
18074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18075 _ACEOF
18076
18077 fi
18078
18079 done
18080
18081 fi
18082
18083
18084 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18085 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18086 if test "${ac_cv_c_const+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095
18096 int
18097 main ()
18098 {
18099 /* FIXME: Include the comments suggested by Paul. */
18100 #ifndef __cplusplus
18101 /* Ultrix mips cc rejects this. */
18102 typedef int charset[2];
18103 const charset x;
18104 /* SunOS 4.1.1 cc rejects this. */
18105 char const *const *ccp;
18106 char **p;
18107 /* NEC SVR4.0.2 mips cc rejects this. */
18108 struct point {int x, y;};
18109 static struct point const zero = {0,0};
18110 /* AIX XL C 1.02.0.0 rejects this.
18111 It does not let you subtract one const X* pointer from another in
18112 an arm of an if-expression whose if-part is not a constant
18113 expression */
18114 const char *g = "string";
18115 ccp = &g + (g ? g-g : 0);
18116 /* HPUX 7.0 cc rejects these. */
18117 ++ccp;
18118 p = (char**) ccp;
18119 ccp = (char const *const *) p;
18120 { /* SCO 3.2v4 cc rejects this. */
18121 char *t;
18122 char const *s = 0 ? (char *) 0 : (char const *) 0;
18123
18124 *t++ = 0;
18125 }
18126 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18127 int x[] = {25, 17};
18128 const int *foo = &x[0];
18129 ++foo;
18130 }
18131 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18132 typedef const int *iptr;
18133 iptr p = 0;
18134 ++p;
18135 }
18136 { /* AIX XL C 1.02.0.0 rejects this saying
18137 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18138 struct s { int j; const int *ap[3]; };
18139 struct s *b; b->j = 5;
18140 }
18141 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18142 const int foo = 10;
18143 }
18144 #endif
18145
18146 ;
18147 return 0;
18148 }
18149 _ACEOF
18150 rm -f conftest.$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18162 ac_status=$?
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_cv_c_const=yes
18172 else
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18175
18176 ac_cv_c_const=no
18177 fi
18178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18179 fi
18180 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18181 echo "${ECHO_T}$ac_cv_c_const" >&6
18182 if test $ac_cv_c_const = no; then
18183
18184 cat >>confdefs.h <<\_ACEOF
18185 #define const
18186 _ACEOF
18187
18188 fi
18189
18190 echo "$as_me:$LINENO: checking for inline" >&5
18191 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18192 if test "${ac_cv_c_inline+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 else
18195 ac_cv_c_inline=no
18196 for ac_kw in inline __inline__ __inline; do
18197 cat >conftest.$ac_ext <<_ACEOF
18198 /* confdefs.h. */
18199 _ACEOF
18200 cat confdefs.h >>conftest.$ac_ext
18201 cat >>conftest.$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 #ifndef __cplusplus
18204 typedef int foo_t;
18205 static $ac_kw foo_t static_foo () {return 0; }
18206 $ac_kw foo_t foo () {return 0; }
18207 #endif
18208
18209 _ACEOF
18210 rm -f conftest.$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18213 ac_status=$?
18214 grep -v '^ *+' conftest.er1 >conftest.err
18215 rm -f conftest.er1
18216 cat conftest.err >&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18222 ac_status=$?
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_cv_c_inline=$ac_kw; break
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 fi
18237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238 done
18239
18240 fi
18241 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18242 echo "${ECHO_T}$ac_cv_c_inline" >&6
18243
18244
18245 case $ac_cv_c_inline in
18246 inline | yes) ;;
18247 *)
18248 case $ac_cv_c_inline in
18249 no) ac_val=;;
18250 *) ac_val=$ac_cv_c_inline;;
18251 esac
18252 cat >>confdefs.h <<_ACEOF
18253 #ifndef __cplusplus
18254 #define inline $ac_val
18255 #endif
18256 _ACEOF
18257 ;;
18258 esac
18259
18260
18261 echo "$as_me:$LINENO: checking for char" >&5
18262 echo $ECHO_N "checking for char... $ECHO_C" >&6
18263 if test "${ac_cv_type_char+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
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 if ((char *) 0)
18277 return 0;
18278 if (sizeof (char))
18279 return 0;
18280 ;
18281 return 0;
18282 }
18283 _ACEOF
18284 rm -f conftest.$ac_objext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18286 (eval $ac_compile) 2>conftest.er1
18287 ac_status=$?
18288 grep -v '^ *+' conftest.er1 >conftest.err
18289 rm -f conftest.er1
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18296 ac_status=$?
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; } &&
18299 { ac_try='test -s conftest.$ac_objext'
18300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18301 (eval $ac_try) 2>&5
18302 ac_status=$?
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; }; then
18305 ac_cv_type_char=yes
18306 else
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.$ac_ext >&5
18309
18310 ac_cv_type_char=no
18311 fi
18312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18313 fi
18314 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18315 echo "${ECHO_T}$ac_cv_type_char" >&6
18316
18317 echo "$as_me:$LINENO: checking size of char" >&5
18318 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18319 if test "${ac_cv_sizeof_char+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322 if test "$ac_cv_type_char" = yes; then
18323 # The cast to unsigned long works around a bug in the HP C Compiler
18324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18326 # This bug is HP SR number 8606223364.
18327 if test "$cross_compiling" = yes; then
18328 # Depending upon the size, compute the lo and hi bounds.
18329 cat >conftest.$ac_ext <<_ACEOF
18330 /* confdefs.h. */
18331 _ACEOF
18332 cat confdefs.h >>conftest.$ac_ext
18333 cat >>conftest.$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18335 $ac_includes_default
18336 int
18337 main ()
18338 {
18339 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18340 test_array [0] = 0
18341
18342 ;
18343 return 0;
18344 }
18345 _ACEOF
18346 rm -f conftest.$ac_objext
18347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18348 (eval $ac_compile) 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } &&
18355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; } &&
18361 { ac_try='test -s conftest.$ac_objext'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18367 ac_lo=0 ac_mid=0
18368 while :; do
18369 cat >conftest.$ac_ext <<_ACEOF
18370 /* confdefs.h. */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 $ac_includes_default
18376 int
18377 main ()
18378 {
18379 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18380 test_array [0] = 0
18381
18382 ;
18383 return 0;
18384 }
18385 _ACEOF
18386 rm -f conftest.$ac_objext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18388 (eval $ac_compile) 2>conftest.er1
18389 ac_status=$?
18390 grep -v '^ *+' conftest.er1 >conftest.err
18391 rm -f conftest.er1
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } &&
18395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18398 ac_status=$?
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try='test -s conftest.$ac_objext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18404 ac_status=$?
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_hi=$ac_mid; break
18408 else
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.$ac_ext >&5
18411
18412 ac_lo=`expr $ac_mid + 1`
18413 if test $ac_lo -le $ac_mid; then
18414 ac_lo= ac_hi=
18415 break
18416 fi
18417 ac_mid=`expr 2 '*' $ac_mid + 1`
18418 fi
18419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18420 done
18421 else
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18424
18425 cat >conftest.$ac_ext <<_ACEOF
18426 /* confdefs.h. */
18427 _ACEOF
18428 cat confdefs.h >>conftest.$ac_ext
18429 cat >>conftest.$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 $ac_includes_default
18432 int
18433 main ()
18434 {
18435 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18436 test_array [0] = 0
18437
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 rm -f conftest.$ac_objext
18443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18444 (eval $ac_compile) 2>conftest.er1
18445 ac_status=$?
18446 grep -v '^ *+' conftest.er1 >conftest.err
18447 rm -f conftest.er1
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; } &&
18457 { ac_try='test -s conftest.$ac_objext'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18460 ac_status=$?
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; }; then
18463 ac_hi=-1 ac_mid=-1
18464 while :; do
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 $ac_includes_default
18472 int
18473 main ()
18474 {
18475 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18476 test_array [0] = 0
18477
18478 ;
18479 return 0;
18480 }
18481 _ACEOF
18482 rm -f conftest.$ac_objext
18483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18484 (eval $ac_compile) 2>conftest.er1
18485 ac_status=$?
18486 grep -v '^ *+' conftest.er1 >conftest.err
18487 rm -f conftest.er1
18488 cat conftest.err >&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } &&
18491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18494 ac_status=$?
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try='test -s conftest.$ac_objext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 ac_lo=$ac_mid; break
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18507
18508 ac_hi=`expr '(' $ac_mid ')' - 1`
18509 if test $ac_mid -le $ac_hi; then
18510 ac_lo= ac_hi=
18511 break
18512 fi
18513 ac_mid=`expr 2 '*' $ac_mid`
18514 fi
18515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18516 done
18517 else
18518 echo "$as_me: failed program was:" >&5
18519 sed 's/^/| /' conftest.$ac_ext >&5
18520
18521 ac_lo= ac_hi=
18522 fi
18523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18524 fi
18525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18526 # Binary search between lo and hi bounds.
18527 while test "x$ac_lo" != "x$ac_hi"; do
18528 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 $ac_includes_default
18536 int
18537 main ()
18538 {
18539 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18540 test_array [0] = 0
18541
18542 ;
18543 return 0;
18544 }
18545 _ACEOF
18546 rm -f conftest.$ac_objext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>conftest.er1
18549 ac_status=$?
18550 grep -v '^ *+' conftest.er1 >conftest.err
18551 rm -f conftest.er1
18552 cat conftest.err >&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18558 ac_status=$?
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try='test -s conftest.$ac_objext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then
18567 ac_hi=$ac_mid
18568 else
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18571
18572 ac_lo=`expr '(' $ac_mid ')' + 1`
18573 fi
18574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18575 done
18576 case $ac_lo in
18577 ?*) ac_cv_sizeof_char=$ac_lo;;
18578 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18579 See \`config.log' for more details." >&5
18580 echo "$as_me: error: cannot compute sizeof (char), 77
18581 See \`config.log' for more details." >&2;}
18582 { (exit 1); exit 1; }; } ;;
18583 esac
18584 else
18585 if test "$cross_compiling" = yes; then
18586 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18587 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18588 { (exit 1); exit 1; }; }
18589 else
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18597 long longval () { return (long) (sizeof (char)); }
18598 unsigned long ulongval () { return (long) (sizeof (char)); }
18599 #include <stdio.h>
18600 #include <stdlib.h>
18601 int
18602 main ()
18603 {
18604
18605 FILE *f = fopen ("conftest.val", "w");
18606 if (! f)
18607 exit (1);
18608 if (((long) (sizeof (char))) < 0)
18609 {
18610 long i = longval ();
18611 if (i != ((long) (sizeof (char))))
18612 exit (1);
18613 fprintf (f, "%ld\n", i);
18614 }
18615 else
18616 {
18617 unsigned long i = ulongval ();
18618 if (i != ((long) (sizeof (char))))
18619 exit (1);
18620 fprintf (f, "%lu\n", i);
18621 }
18622 exit (ferror (f) || fclose (f) != 0);
18623
18624 ;
18625 return 0;
18626 }
18627 _ACEOF
18628 rm -f conftest$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630 (eval $ac_link) 2>&5
18631 ac_status=$?
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18636 ac_status=$?
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_cv_sizeof_char=`cat conftest.val`
18640 else
18641 echo "$as_me: program exited with status $ac_status" >&5
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18644
18645 ( exit $ac_status )
18646 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18647 See \`config.log' for more details." >&5
18648 echo "$as_me: error: cannot compute sizeof (char), 77
18649 See \`config.log' for more details." >&2;}
18650 { (exit 1); exit 1; }; }
18651 fi
18652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18653 fi
18654 fi
18655 rm -f conftest.val
18656 else
18657 ac_cv_sizeof_char=0
18658 fi
18659 fi
18660 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18661 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18662 cat >>confdefs.h <<_ACEOF
18663 #define SIZEOF_CHAR $ac_cv_sizeof_char
18664 _ACEOF
18665
18666
18667 echo "$as_me:$LINENO: checking for short" >&5
18668 echo $ECHO_N "checking for short... $ECHO_C" >&6
18669 if test "${ac_cv_type_short+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 else
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 if ((short *) 0)
18683 return 0;
18684 if (sizeof (short))
18685 return 0;
18686 ;
18687 return 0;
18688 }
18689 _ACEOF
18690 rm -f conftest.$ac_objext
18691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18692 (eval $ac_compile) 2>conftest.er1
18693 ac_status=$?
18694 grep -v '^ *+' conftest.er1 >conftest.err
18695 rm -f conftest.er1
18696 cat conftest.err >&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); } &&
18699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 ac_cv_type_short=yes
18712 else
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18715
18716 ac_cv_type_short=no
18717 fi
18718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18719 fi
18720 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18721 echo "${ECHO_T}$ac_cv_type_short" >&6
18722
18723 echo "$as_me:$LINENO: checking size of short" >&5
18724 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18725 if test "${ac_cv_sizeof_short+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 else
18728 if test "$ac_cv_type_short" = yes; then
18729 # The cast to unsigned long works around a bug in the HP C Compiler
18730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18732 # This bug is HP SR number 8606223364.
18733 if test "$cross_compiling" = yes; then
18734 # Depending upon the size, compute the lo and hi bounds.
18735 cat >conftest.$ac_ext <<_ACEOF
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 $ac_includes_default
18742 int
18743 main ()
18744 {
18745 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18746 test_array [0] = 0
18747
18748 ;
18749 return 0;
18750 }
18751 _ACEOF
18752 rm -f conftest.$ac_objext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754 (eval $ac_compile) 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; } &&
18767 { ac_try='test -s conftest.$ac_objext'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18770 ac_status=$?
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; }; then
18773 ac_lo=0 ac_mid=0
18774 while :; do
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782 int
18783 main ()
18784 {
18785 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18786 test_array [0] = 0
18787
18788 ;
18789 return 0;
18790 }
18791 _ACEOF
18792 rm -f conftest.$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18810 ac_status=$?
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_hi=$ac_mid; break
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18817
18818 ac_lo=`expr $ac_mid + 1`
18819 if test $ac_lo -le $ac_mid; then
18820 ac_lo= ac_hi=
18821 break
18822 fi
18823 ac_mid=`expr 2 '*' $ac_mid + 1`
18824 fi
18825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18826 done
18827 else
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18830
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 $ac_includes_default
18838 int
18839 main ()
18840 {
18841 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18842 test_array [0] = 0
18843
18844 ;
18845 return 0;
18846 }
18847 _ACEOF
18848 rm -f conftest.$ac_objext
18849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18850 (eval $ac_compile) 2>conftest.er1
18851 ac_status=$?
18852 grep -v '^ *+' conftest.er1 >conftest.err
18853 rm -f conftest.er1
18854 cat conftest.err >&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; } &&
18863 { ac_try='test -s conftest.$ac_objext'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 ac_hi=-1 ac_mid=-1
18870 while :; do
18871 cat >conftest.$ac_ext <<_ACEOF
18872 /* confdefs.h. */
18873 _ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 $ac_includes_default
18878 int
18879 main ()
18880 {
18881 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18882 test_array [0] = 0
18883
18884 ;
18885 return 0;
18886 }
18887 _ACEOF
18888 rm -f conftest.$ac_objext
18889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18890 (eval $ac_compile) 2>conftest.er1
18891 ac_status=$?
18892 grep -v '^ *+' conftest.er1 >conftest.err
18893 rm -f conftest.er1
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18900 ac_status=$?
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; } &&
18903 { ac_try='test -s conftest.$ac_objext'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18906 ac_status=$?
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_lo=$ac_mid; break
18910 else
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.$ac_ext >&5
18913
18914 ac_hi=`expr '(' $ac_mid ')' - 1`
18915 if test $ac_mid -le $ac_hi; then
18916 ac_lo= ac_hi=
18917 break
18918 fi
18919 ac_mid=`expr 2 '*' $ac_mid`
18920 fi
18921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18922 done
18923 else
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18926
18927 ac_lo= ac_hi=
18928 fi
18929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18930 fi
18931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18932 # Binary search between lo and hi bounds.
18933 while test "x$ac_lo" != "x$ac_hi"; do
18934 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18935 cat >conftest.$ac_ext <<_ACEOF
18936 /* confdefs.h. */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18942 int
18943 main ()
18944 {
18945 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18946 test_array [0] = 0
18947
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_hi=$ac_mid
18974 else
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18977
18978 ac_lo=`expr '(' $ac_mid ')' + 1`
18979 fi
18980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18981 done
18982 case $ac_lo in
18983 ?*) ac_cv_sizeof_short=$ac_lo;;
18984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18985 See \`config.log' for more details." >&5
18986 echo "$as_me: error: cannot compute sizeof (short), 77
18987 See \`config.log' for more details." >&2;}
18988 { (exit 1); exit 1; }; } ;;
18989 esac
18990 else
18991 if test "$cross_compiling" = yes; then
18992 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18993 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18994 { (exit 1); exit 1; }; }
18995 else
18996 cat >conftest.$ac_ext <<_ACEOF
18997 /* confdefs.h. */
18998 _ACEOF
18999 cat confdefs.h >>conftest.$ac_ext
19000 cat >>conftest.$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 $ac_includes_default
19003 long longval () { return (long) (sizeof (short)); }
19004 unsigned long ulongval () { return (long) (sizeof (short)); }
19005 #include <stdio.h>
19006 #include <stdlib.h>
19007 int
19008 main ()
19009 {
19010
19011 FILE *f = fopen ("conftest.val", "w");
19012 if (! f)
19013 exit (1);
19014 if (((long) (sizeof (short))) < 0)
19015 {
19016 long i = longval ();
19017 if (i != ((long) (sizeof (short))))
19018 exit (1);
19019 fprintf (f, "%ld\n", i);
19020 }
19021 else
19022 {
19023 unsigned long i = ulongval ();
19024 if (i != ((long) (sizeof (short))))
19025 exit (1);
19026 fprintf (f, "%lu\n", i);
19027 }
19028 exit (ferror (f) || fclose (f) != 0);
19029
19030 ;
19031 return 0;
19032 }
19033 _ACEOF
19034 rm -f conftest$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036 (eval $ac_link) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_cv_sizeof_short=`cat conftest.val`
19046 else
19047 echo "$as_me: program exited with status $ac_status" >&5
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19050
19051 ( exit $ac_status )
19052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19053 See \`config.log' for more details." >&5
19054 echo "$as_me: error: cannot compute sizeof (short), 77
19055 See \`config.log' for more details." >&2;}
19056 { (exit 1); exit 1; }; }
19057 fi
19058 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19059 fi
19060 fi
19061 rm -f conftest.val
19062 else
19063 ac_cv_sizeof_short=0
19064 fi
19065 fi
19066 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19067 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19068 cat >>confdefs.h <<_ACEOF
19069 #define SIZEOF_SHORT $ac_cv_sizeof_short
19070 _ACEOF
19071
19072
19073 echo "$as_me:$LINENO: checking for void *" >&5
19074 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19075 if test "${ac_cv_type_void_p+set}" = set; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19077 else
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 if ((void * *) 0)
19089 return 0;
19090 if (sizeof (void *))
19091 return 0;
19092 ;
19093 return 0;
19094 }
19095 _ACEOF
19096 rm -f conftest.$ac_objext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19098 (eval $ac_compile) 2>conftest.er1
19099 ac_status=$?
19100 grep -v '^ *+' conftest.er1 >conftest.err
19101 rm -f conftest.er1
19102 cat conftest.err >&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try='test -s conftest.$ac_objext'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 ac_cv_type_void_p=yes
19118 else
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19121
19122 ac_cv_type_void_p=no
19123 fi
19124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19125 fi
19126 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19127 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19128
19129 echo "$as_me:$LINENO: checking size of void *" >&5
19130 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19131 if test "${ac_cv_sizeof_void_p+set}" = set; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 else
19134 if test "$ac_cv_type_void_p" = yes; then
19135 # The cast to unsigned long works around a bug in the HP C Compiler
19136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19138 # This bug is HP SR number 8606223364.
19139 if test "$cross_compiling" = yes; then
19140 # Depending upon the size, compute the lo and hi bounds.
19141 cat >conftest.$ac_ext <<_ACEOF
19142 /* confdefs.h. */
19143 _ACEOF
19144 cat confdefs.h >>conftest.$ac_ext
19145 cat >>conftest.$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19147 $ac_includes_default
19148 int
19149 main ()
19150 {
19151 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19152 test_array [0] = 0
19153
19154 ;
19155 return 0;
19156 }
19157 _ACEOF
19158 rm -f conftest.$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_lo=0 ac_mid=0
19180 while :; do
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 int
19189 main ()
19190 {
19191 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19192 test_array [0] = 0
19193
19194 ;
19195 return 0;
19196 }
19197 _ACEOF
19198 rm -f conftest.$ac_objext
19199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19200 (eval $ac_compile) 2>conftest.er1
19201 ac_status=$?
19202 grep -v '^ *+' conftest.er1 >conftest.err
19203 rm -f conftest.er1
19204 cat conftest.err >&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19210 ac_status=$?
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); }; } &&
19213 { ac_try='test -s conftest.$ac_objext'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19216 ac_status=$?
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; }; then
19219 ac_hi=$ac_mid; break
19220 else
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.$ac_ext >&5
19223
19224 ac_lo=`expr $ac_mid + 1`
19225 if test $ac_lo -le $ac_mid; then
19226 ac_lo= ac_hi=
19227 break
19228 fi
19229 ac_mid=`expr 2 '*' $ac_mid + 1`
19230 fi
19231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19232 done
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19236
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 int
19245 main ()
19246 {
19247 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19248 test_array [0] = 0
19249
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 rm -f conftest.$ac_objext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19256 (eval $ac_compile) 2>conftest.er1
19257 ac_status=$?
19258 grep -v '^ *+' conftest.er1 >conftest.err
19259 rm -f conftest.er1
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; } &&
19269 { ac_try='test -s conftest.$ac_objext'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19272 ac_status=$?
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; }; then
19275 ac_hi=-1 ac_mid=-1
19276 while :; do
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19284 int
19285 main ()
19286 {
19287 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19288 test_array [0] = 0
19289
19290 ;
19291 return 0;
19292 }
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19296 (eval $ac_compile) 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } &&
19303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19306 ac_status=$?
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try='test -s conftest.$ac_objext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_lo=$ac_mid; break
19316 else
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19319
19320 ac_hi=`expr '(' $ac_mid ')' - 1`
19321 if test $ac_mid -le $ac_hi; then
19322 ac_lo= ac_hi=
19323 break
19324 fi
19325 ac_mid=`expr 2 '*' $ac_mid`
19326 fi
19327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19328 done
19329 else
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19332
19333 ac_lo= ac_hi=
19334 fi
19335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19336 fi
19337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19338 # Binary search between lo and hi bounds.
19339 while test "x$ac_lo" != "x$ac_hi"; do
19340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19341 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h. */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348 int
19349 main ()
19350 {
19351 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19352 test_array [0] = 0
19353
19354 ;
19355 return 0;
19356 }
19357 _ACEOF
19358 rm -f conftest.$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19361 ac_status=$?
19362 grep -v '^ *+' conftest.er1 >conftest.err
19363 rm -f conftest.er1
19364 cat conftest.err >&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19370 ac_status=$?
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_hi=$ac_mid
19380 else
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19383
19384 ac_lo=`expr '(' $ac_mid ')' + 1`
19385 fi
19386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19387 done
19388 case $ac_lo in
19389 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19390 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19391 See \`config.log' for more details." >&5
19392 echo "$as_me: error: cannot compute sizeof (void *), 77
19393 See \`config.log' for more details." >&2;}
19394 { (exit 1); exit 1; }; } ;;
19395 esac
19396 else
19397 if test "$cross_compiling" = yes; then
19398 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19399 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19400 { (exit 1); exit 1; }; }
19401 else
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 long longval () { return (long) (sizeof (void *)); }
19410 unsigned long ulongval () { return (long) (sizeof (void *)); }
19411 #include <stdio.h>
19412 #include <stdlib.h>
19413 int
19414 main ()
19415 {
19416
19417 FILE *f = fopen ("conftest.val", "w");
19418 if (! f)
19419 exit (1);
19420 if (((long) (sizeof (void *))) < 0)
19421 {
19422 long i = longval ();
19423 if (i != ((long) (sizeof (void *))))
19424 exit (1);
19425 fprintf (f, "%ld\n", i);
19426 }
19427 else
19428 {
19429 unsigned long i = ulongval ();
19430 if (i != ((long) (sizeof (void *))))
19431 exit (1);
19432 fprintf (f, "%lu\n", i);
19433 }
19434 exit (ferror (f) || fclose (f) != 0);
19435
19436 ;
19437 return 0;
19438 }
19439 _ACEOF
19440 rm -f conftest$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442 (eval $ac_link) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19448 ac_status=$?
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 ac_cv_sizeof_void_p=`cat conftest.val`
19452 else
19453 echo "$as_me: program exited with status $ac_status" >&5
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19456
19457 ( exit $ac_status )
19458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19459 See \`config.log' for more details." >&5
19460 echo "$as_me: error: cannot compute sizeof (void *), 77
19461 See \`config.log' for more details." >&2;}
19462 { (exit 1); exit 1; }; }
19463 fi
19464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19465 fi
19466 fi
19467 rm -f conftest.val
19468 else
19469 ac_cv_sizeof_void_p=0
19470 fi
19471 fi
19472 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19473 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19474 cat >>confdefs.h <<_ACEOF
19475 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19476 _ACEOF
19477
19478
19479 echo "$as_me:$LINENO: checking for int" >&5
19480 echo $ECHO_N "checking for int... $ECHO_C" >&6
19481 if test "${ac_cv_type_int+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 else
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 if ((int *) 0)
19495 return 0;
19496 if (sizeof (int))
19497 return 0;
19498 ;
19499 return 0;
19500 }
19501 _ACEOF
19502 rm -f conftest.$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19520 ac_status=$?
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_type_int=yes
19524 else
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.$ac_ext >&5
19527
19528 ac_cv_type_int=no
19529 fi
19530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19531 fi
19532 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19533 echo "${ECHO_T}$ac_cv_type_int" >&6
19534
19535 echo "$as_me:$LINENO: checking size of int" >&5
19536 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19537 if test "${ac_cv_sizeof_int+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 else
19540 if test "$ac_cv_type_int" = yes; then
19541 # The cast to unsigned long works around a bug in the HP C Compiler
19542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19544 # This bug is HP SR number 8606223364.
19545 if test "$cross_compiling" = yes; then
19546 # Depending upon the size, compute the lo and hi bounds.
19547 cat >conftest.$ac_ext <<_ACEOF
19548 /* confdefs.h. */
19549 _ACEOF
19550 cat confdefs.h >>conftest.$ac_ext
19551 cat >>conftest.$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 $ac_includes_default
19554 int
19555 main ()
19556 {
19557 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19558 test_array [0] = 0
19559
19560 ;
19561 return 0;
19562 }
19563 _ACEOF
19564 rm -f conftest.$ac_objext
19565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19566 (eval $ac_compile) 2>conftest.er1
19567 ac_status=$?
19568 grep -v '^ *+' conftest.er1 >conftest.err
19569 rm -f conftest.er1
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } &&
19573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19576 ac_status=$?
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; } &&
19579 { ac_try='test -s conftest.$ac_objext'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19582 ac_status=$?
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; }; then
19585 ac_lo=0 ac_mid=0
19586 while :; do
19587 cat >conftest.$ac_ext <<_ACEOF
19588 /* confdefs.h. */
19589 _ACEOF
19590 cat confdefs.h >>conftest.$ac_ext
19591 cat >>conftest.$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593 $ac_includes_default
19594 int
19595 main ()
19596 {
19597 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19598 test_array [0] = 0
19599
19600 ;
19601 return 0;
19602 }
19603 _ACEOF
19604 rm -f conftest.$ac_objext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19606 (eval $ac_compile) 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19615 (eval $ac_try) 2>&5
19616 ac_status=$?
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); }; } &&
19619 { ac_try='test -s conftest.$ac_objext'
19620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19621 (eval $ac_try) 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; }; then
19625 ac_hi=$ac_mid; break
19626 else
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19629
19630 ac_lo=`expr $ac_mid + 1`
19631 if test $ac_lo -le $ac_mid; then
19632 ac_lo= ac_hi=
19633 break
19634 fi
19635 ac_mid=`expr 2 '*' $ac_mid + 1`
19636 fi
19637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19638 done
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 int
19651 main ()
19652 {
19653 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19654 test_array [0] = 0
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; } &&
19675 { ac_try='test -s conftest.$ac_objext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19678 ac_status=$?
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19681 ac_hi=-1 ac_mid=-1
19682 while :; do
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19690 int
19691 main ()
19692 {
19693 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19694 test_array [0] = 0
19695
19696 ;
19697 return 0;
19698 }
19699 _ACEOF
19700 rm -f conftest.$ac_objext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 ac_lo=$ac_mid; break
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ac_hi=`expr '(' $ac_mid ')' - 1`
19727 if test $ac_mid -le $ac_hi; then
19728 ac_lo= ac_hi=
19729 break
19730 fi
19731 ac_mid=`expr 2 '*' $ac_mid`
19732 fi
19733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19734 done
19735 else
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19738
19739 ac_lo= ac_hi=
19740 fi
19741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19742 fi
19743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19744 # Binary search between lo and hi bounds.
19745 while test "x$ac_lo" != "x$ac_hi"; do
19746 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19747 cat >conftest.$ac_ext <<_ACEOF
19748 /* confdefs.h. */
19749 _ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19754 int
19755 main ()
19756 {
19757 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19758 test_array [0] = 0
19759
19760 ;
19761 return 0;
19762 }
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>conftest.er1
19767 ac_status=$?
19768 grep -v '^ *+' conftest.er1 >conftest.err
19769 rm -f conftest.er1
19770 cat conftest.err >&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19776 ac_status=$?
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; } &&
19779 { ac_try='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19782 ac_status=$?
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785 ac_hi=$ac_mid
19786 else
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19789
19790 ac_lo=`expr '(' $ac_mid ')' + 1`
19791 fi
19792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19793 done
19794 case $ac_lo in
19795 ?*) ac_cv_sizeof_int=$ac_lo;;
19796 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19797 See \`config.log' for more details." >&5
19798 echo "$as_me: error: cannot compute sizeof (int), 77
19799 See \`config.log' for more details." >&2;}
19800 { (exit 1); exit 1; }; } ;;
19801 esac
19802 else
19803 if test "$cross_compiling" = yes; then
19804 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19805 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19806 { (exit 1); exit 1; }; }
19807 else
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19815 long longval () { return (long) (sizeof (int)); }
19816 unsigned long ulongval () { return (long) (sizeof (int)); }
19817 #include <stdio.h>
19818 #include <stdlib.h>
19819 int
19820 main ()
19821 {
19822
19823 FILE *f = fopen ("conftest.val", "w");
19824 if (! f)
19825 exit (1);
19826 if (((long) (sizeof (int))) < 0)
19827 {
19828 long i = longval ();
19829 if (i != ((long) (sizeof (int))))
19830 exit (1);
19831 fprintf (f, "%ld\n", i);
19832 }
19833 else
19834 {
19835 unsigned long i = ulongval ();
19836 if (i != ((long) (sizeof (int))))
19837 exit (1);
19838 fprintf (f, "%lu\n", i);
19839 }
19840 exit (ferror (f) || fclose (f) != 0);
19841
19842 ;
19843 return 0;
19844 }
19845 _ACEOF
19846 rm -f conftest$ac_exeext
19847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19848 (eval $ac_link) 2>&5
19849 ac_status=$?
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_cv_sizeof_int=`cat conftest.val`
19858 else
19859 echo "$as_me: program exited with status $ac_status" >&5
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19862
19863 ( exit $ac_status )
19864 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19865 See \`config.log' for more details." >&5
19866 echo "$as_me: error: cannot compute sizeof (int), 77
19867 See \`config.log' for more details." >&2;}
19868 { (exit 1); exit 1; }; }
19869 fi
19870 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19871 fi
19872 fi
19873 rm -f conftest.val
19874 else
19875 ac_cv_sizeof_int=0
19876 fi
19877 fi
19878 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19879 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19880 cat >>confdefs.h <<_ACEOF
19881 #define SIZEOF_INT $ac_cv_sizeof_int
19882 _ACEOF
19883
19884
19885 echo "$as_me:$LINENO: checking for long" >&5
19886 echo $ECHO_N "checking for long... $ECHO_C" >&6
19887 if test "${ac_cv_type_long+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19889 else
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 if ((long *) 0)
19901 return 0;
19902 if (sizeof (long))
19903 return 0;
19904 ;
19905 return 0;
19906 }
19907 _ACEOF
19908 rm -f conftest.$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19911 ac_status=$?
19912 grep -v '^ *+' conftest.er1 >conftest.err
19913 rm -f conftest.er1
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; } &&
19923 { ac_try='test -s conftest.$ac_objext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_cv_type_long=yes
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19933
19934 ac_cv_type_long=no
19935 fi
19936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19937 fi
19938 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19939 echo "${ECHO_T}$ac_cv_type_long" >&6
19940
19941 echo "$as_me:$LINENO: checking size of long" >&5
19942 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19943 if test "${ac_cv_sizeof_long+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 else
19946 if test "$ac_cv_type_long" = yes; then
19947 # The cast to unsigned long works around a bug in the HP C Compiler
19948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19950 # This bug is HP SR number 8606223364.
19951 if test "$cross_compiling" = yes; then
19952 # Depending upon the size, compute the lo and hi bounds.
19953 cat >conftest.$ac_ext <<_ACEOF
19954 /* confdefs.h. */
19955 _ACEOF
19956 cat confdefs.h >>conftest.$ac_ext
19957 cat >>conftest.$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 $ac_includes_default
19960 int
19961 main ()
19962 {
19963 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19964 test_array [0] = 0
19965
19966 ;
19967 return 0;
19968 }
19969 _ACEOF
19970 rm -f conftest.$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>conftest.er1
19973 ac_status=$?
19974 grep -v '^ *+' conftest.er1 >conftest.err
19975 rm -f conftest.er1
19976 cat conftest.err >&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19988 ac_status=$?
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 ac_lo=0 ac_mid=0
19992 while :; do
19993 cat >conftest.$ac_ext <<_ACEOF
19994 /* confdefs.h. */
19995 _ACEOF
19996 cat confdefs.h >>conftest.$ac_ext
19997 cat >>conftest.$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 $ac_includes_default
20000 int
20001 main ()
20002 {
20003 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20004 test_array [0] = 0
20005
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20012 (eval $ac_compile) 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20022 ac_status=$?
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; } &&
20025 { ac_try='test -s conftest.$ac_objext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_hi=$ac_mid; break
20032 else
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20035
20036 ac_lo=`expr $ac_mid + 1`
20037 if test $ac_lo -le $ac_mid; then
20038 ac_lo= ac_hi=
20039 break
20040 fi
20041 ac_mid=`expr 2 '*' $ac_mid + 1`
20042 fi
20043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20044 done
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20048
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20056 int
20057 main ()
20058 {
20059 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20060 test_array [0] = 0
20061
20062 ;
20063 return 0;
20064 }
20065 _ACEOF
20066 rm -f conftest.$ac_objext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20068 (eval $ac_compile) 2>conftest.er1
20069 ac_status=$?
20070 grep -v '^ *+' conftest.er1 >conftest.err
20071 rm -f conftest.er1
20072 cat conftest.err >&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077 (eval $ac_try) 2>&5
20078 ac_status=$?
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; } &&
20081 { ac_try='test -s conftest.$ac_objext'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20084 ac_status=$?
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; }; then
20087 ac_hi=-1 ac_mid=-1
20088 while :; do
20089 cat >conftest.$ac_ext <<_ACEOF
20090 /* confdefs.h. */
20091 _ACEOF
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 $ac_includes_default
20096 int
20097 main ()
20098 {
20099 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20100 test_array [0] = 0
20101
20102 ;
20103 return 0;
20104 }
20105 _ACEOF
20106 rm -f conftest.$ac_objext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20108 (eval $ac_compile) 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20118 ac_status=$?
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; } &&
20121 { ac_try='test -s conftest.$ac_objext'
20122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123 (eval $ac_try) 2>&5
20124 ac_status=$?
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); }; }; then
20127 ac_lo=$ac_mid; break
20128 else
20129 echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.$ac_ext >&5
20131
20132 ac_hi=`expr '(' $ac_mid ')' - 1`
20133 if test $ac_mid -le $ac_hi; then
20134 ac_lo= ac_hi=
20135 break
20136 fi
20137 ac_mid=`expr 2 '*' $ac_mid`
20138 fi
20139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20140 done
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 ac_lo= ac_hi=
20146 fi
20147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20148 fi
20149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20150 # Binary search between lo and hi bounds.
20151 while test "x$ac_lo" != "x$ac_hi"; do
20152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20160 int
20161 main ()
20162 {
20163 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20164 test_array [0] = 0
20165
20166 ;
20167 return 0;
20168 }
20169 _ACEOF
20170 rm -f conftest.$ac_objext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20172 (eval $ac_compile) 2>conftest.er1
20173 ac_status=$?
20174 grep -v '^ *+' conftest.er1 >conftest.err
20175 rm -f conftest.er1
20176 cat conftest.err >&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20182 ac_status=$?
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; } &&
20185 { ac_try='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_hi=$ac_mid
20192 else
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.$ac_ext >&5
20195
20196 ac_lo=`expr '(' $ac_mid ')' + 1`
20197 fi
20198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20199 done
20200 case $ac_lo in
20201 ?*) ac_cv_sizeof_long=$ac_lo;;
20202 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20203 See \`config.log' for more details." >&5
20204 echo "$as_me: error: cannot compute sizeof (long), 77
20205 See \`config.log' for more details." >&2;}
20206 { (exit 1); exit 1; }; } ;;
20207 esac
20208 else
20209 if test "$cross_compiling" = yes; then
20210 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20211 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20212 { (exit 1); exit 1; }; }
20213 else
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 $ac_includes_default
20221 long longval () { return (long) (sizeof (long)); }
20222 unsigned long ulongval () { return (long) (sizeof (long)); }
20223 #include <stdio.h>
20224 #include <stdlib.h>
20225 int
20226 main ()
20227 {
20228
20229 FILE *f = fopen ("conftest.val", "w");
20230 if (! f)
20231 exit (1);
20232 if (((long) (sizeof (long))) < 0)
20233 {
20234 long i = longval ();
20235 if (i != ((long) (sizeof (long))))
20236 exit (1);
20237 fprintf (f, "%ld\n", i);
20238 }
20239 else
20240 {
20241 unsigned long i = ulongval ();
20242 if (i != ((long) (sizeof (long))))
20243 exit (1);
20244 fprintf (f, "%lu\n", i);
20245 }
20246 exit (ferror (f) || fclose (f) != 0);
20247
20248 ;
20249 return 0;
20250 }
20251 _ACEOF
20252 rm -f conftest$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254 (eval $ac_link) 2>&5
20255 ac_status=$?
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20260 ac_status=$?
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; }; then
20263 ac_cv_sizeof_long=`cat conftest.val`
20264 else
20265 echo "$as_me: program exited with status $ac_status" >&5
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.$ac_ext >&5
20268
20269 ( exit $ac_status )
20270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20271 See \`config.log' for more details." >&5
20272 echo "$as_me: error: cannot compute sizeof (long), 77
20273 See \`config.log' for more details." >&2;}
20274 { (exit 1); exit 1; }; }
20275 fi
20276 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20277 fi
20278 fi
20279 rm -f conftest.val
20280 else
20281 ac_cv_sizeof_long=0
20282 fi
20283 fi
20284 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20285 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20286 cat >>confdefs.h <<_ACEOF
20287 #define SIZEOF_LONG $ac_cv_sizeof_long
20288 _ACEOF
20289
20290
20291 echo "$as_me:$LINENO: checking for size_t" >&5
20292 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20293 if test "${ac_cv_type_size_t+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 else
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 if ((size_t *) 0)
20307 return 0;
20308 if (sizeof (size_t))
20309 return 0;
20310 ;
20311 return 0;
20312 }
20313 _ACEOF
20314 rm -f conftest.$ac_objext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20316 (eval $ac_compile) 2>conftest.er1
20317 ac_status=$?
20318 grep -v '^ *+' conftest.er1 >conftest.err
20319 rm -f conftest.er1
20320 cat conftest.err >&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; } &&
20329 { ac_try='test -s conftest.$ac_objext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20332 ac_status=$?
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 ac_cv_type_size_t=yes
20336 else
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20339
20340 ac_cv_type_size_t=no
20341 fi
20342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20343 fi
20344 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20345 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20346
20347 echo "$as_me:$LINENO: checking size of size_t" >&5
20348 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20349 if test "${ac_cv_sizeof_size_t+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352 if test "$ac_cv_type_size_t" = yes; then
20353 # The cast to unsigned long works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 if test "$cross_compiling" = yes; then
20358 # Depending upon the size, compute the lo and hi bounds.
20359 cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h. */
20361 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20365 $ac_includes_default
20366 int
20367 main ()
20368 {
20369 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20370 test_array [0] = 0
20371
20372 ;
20373 return 0;
20374 }
20375 _ACEOF
20376 rm -f conftest.$ac_objext
20377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20378 (eval $ac_compile) 2>conftest.er1
20379 ac_status=$?
20380 grep -v '^ *+' conftest.er1 >conftest.err
20381 rm -f conftest.er1
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } &&
20385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try='test -s conftest.$ac_objext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20394 ac_status=$?
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 ac_lo=0 ac_mid=0
20398 while :; do
20399 cat >conftest.$ac_ext <<_ACEOF
20400 /* confdefs.h. */
20401 _ACEOF
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 $ac_includes_default
20406 int
20407 main ()
20408 {
20409 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20410 test_array [0] = 0
20411
20412 ;
20413 return 0;
20414 }
20415 _ACEOF
20416 rm -f conftest.$ac_objext
20417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20418 (eval $ac_compile) 2>conftest.er1
20419 ac_status=$?
20420 grep -v '^ *+' conftest.er1 >conftest.err
20421 rm -f conftest.er1
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } &&
20425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20427 (eval $ac_try) 2>&5
20428 ac_status=$?
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; } &&
20431 { ac_try='test -s conftest.$ac_objext'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20434 ac_status=$?
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20437 ac_hi=$ac_mid; break
20438 else
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.$ac_ext >&5
20441
20442 ac_lo=`expr $ac_mid + 1`
20443 if test $ac_lo -le $ac_mid; then
20444 ac_lo= ac_hi=
20445 break
20446 fi
20447 ac_mid=`expr 2 '*' $ac_mid + 1`
20448 fi
20449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20450 done
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 cat >conftest.$ac_ext <<_ACEOF
20456 /* confdefs.h. */
20457 _ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 int
20463 main ()
20464 {
20465 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20466 test_array [0] = 0
20467
20468 ;
20469 return 0;
20470 }
20471 _ACEOF
20472 rm -f conftest.$ac_objext
20473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20474 (eval $ac_compile) 2>conftest.er1
20475 ac_status=$?
20476 grep -v '^ *+' conftest.er1 >conftest.err
20477 rm -f conftest.er1
20478 cat conftest.err >&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } &&
20481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20484 ac_status=$?
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; } &&
20487 { ac_try='test -s conftest.$ac_objext'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20490 ac_status=$?
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; }; then
20493 ac_hi=-1 ac_mid=-1
20494 while :; do
20495 cat >conftest.$ac_ext <<_ACEOF
20496 /* confdefs.h. */
20497 _ACEOF
20498 cat confdefs.h >>conftest.$ac_ext
20499 cat >>conftest.$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 $ac_includes_default
20502 int
20503 main ()
20504 {
20505 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20506 test_array [0] = 0
20507
20508 ;
20509 return 0;
20510 }
20511 _ACEOF
20512 rm -f conftest.$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514 (eval $ac_compile) 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try='test -s conftest.$ac_objext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_lo=$ac_mid; break
20534 else
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20537
20538 ac_hi=`expr '(' $ac_mid ')' - 1`
20539 if test $ac_mid -le $ac_hi; then
20540 ac_lo= ac_hi=
20541 break
20542 fi
20543 ac_mid=`expr 2 '*' $ac_mid`
20544 fi
20545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20546 done
20547 else
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20550
20551 ac_lo= ac_hi=
20552 fi
20553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20554 fi
20555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20556 # Binary search between lo and hi bounds.
20557 while test "x$ac_lo" != "x$ac_hi"; do
20558 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20559 cat >conftest.$ac_ext <<_ACEOF
20560 /* confdefs.h. */
20561 _ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 $ac_includes_default
20566 int
20567 main ()
20568 {
20569 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20570 test_array [0] = 0
20571
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>conftest.er1
20579 ac_status=$?
20580 grep -v '^ *+' conftest.er1 >conftest.err
20581 rm -f conftest.er1
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20588 ac_status=$?
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20594 ac_status=$?
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20597 ac_hi=$ac_mid
20598 else
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 ac_lo=`expr '(' $ac_mid ')' + 1`
20603 fi
20604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20605 done
20606 case $ac_lo in
20607 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20609 See \`config.log' for more details." >&5
20610 echo "$as_me: error: cannot compute sizeof (size_t), 77
20611 See \`config.log' for more details." >&2;}
20612 { (exit 1); exit 1; }; } ;;
20613 esac
20614 else
20615 if test "$cross_compiling" = yes; then
20616 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20617 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20618 { (exit 1); exit 1; }; }
20619 else
20620 cat >conftest.$ac_ext <<_ACEOF
20621 /* confdefs.h. */
20622 _ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20626 $ac_includes_default
20627 long longval () { return (long) (sizeof (size_t)); }
20628 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20629 #include <stdio.h>
20630 #include <stdlib.h>
20631 int
20632 main ()
20633 {
20634
20635 FILE *f = fopen ("conftest.val", "w");
20636 if (! f)
20637 exit (1);
20638 if (((long) (sizeof (size_t))) < 0)
20639 {
20640 long i = longval ();
20641 if (i != ((long) (sizeof (size_t))))
20642 exit (1);
20643 fprintf (f, "%ld\n", i);
20644 }
20645 else
20646 {
20647 unsigned long i = ulongval ();
20648 if (i != ((long) (sizeof (size_t))))
20649 exit (1);
20650 fprintf (f, "%lu\n", i);
20651 }
20652 exit (ferror (f) || fclose (f) != 0);
20653
20654 ;
20655 return 0;
20656 }
20657 _ACEOF
20658 rm -f conftest$ac_exeext
20659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20660 (eval $ac_link) 2>&5
20661 ac_status=$?
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 ac_cv_sizeof_size_t=`cat conftest.val`
20670 else
20671 echo "$as_me: program exited with status $ac_status" >&5
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20674
20675 ( exit $ac_status )
20676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20677 See \`config.log' for more details." >&5
20678 echo "$as_me: error: cannot compute sizeof (size_t), 77
20679 See \`config.log' for more details." >&2;}
20680 { (exit 1); exit 1; }; }
20681 fi
20682 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20683 fi
20684 fi
20685 rm -f conftest.val
20686 else
20687 ac_cv_sizeof_size_t=0
20688 fi
20689 fi
20690 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20691 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20692 cat >>confdefs.h <<_ACEOF
20693 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20694 _ACEOF
20695
20696
20697
20698 case "${host}" in
20699 arm-*-linux* )
20700 echo "$as_me:$LINENO: checking for long long" >&5
20701 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20702 if test "${ac_cv_type_long_long+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 else
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 if ((long long *) 0)
20716 return 0;
20717 if (sizeof (long long))
20718 return 0;
20719 ;
20720 return 0;
20721 }
20722 _ACEOF
20723 rm -f conftest.$ac_objext
20724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20725 (eval $ac_compile) 2>conftest.er1
20726 ac_status=$?
20727 grep -v '^ *+' conftest.er1 >conftest.err
20728 rm -f conftest.er1
20729 cat conftest.err >&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } &&
20732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20735 ac_status=$?
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; } &&
20738 { ac_try='test -s conftest.$ac_objext'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20741 ac_status=$?
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20744 ac_cv_type_long_long=yes
20745 else
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20748
20749 ac_cv_type_long_long=no
20750 fi
20751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20752 fi
20753 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20754 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20755
20756 echo "$as_me:$LINENO: checking size of long long" >&5
20757 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20758 if test "${ac_cv_sizeof_long_long+set}" = set; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 else
20761 if test "$ac_cv_type_long_long" = yes; then
20762 # The cast to unsigned long works around a bug in the HP C Compiler
20763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20765 # This bug is HP SR number 8606223364.
20766 if test "$cross_compiling" = yes; then
20767 # Depending upon the size, compute the lo and hi bounds.
20768 cat >conftest.$ac_ext <<_ACEOF
20769 /* confdefs.h. */
20770 _ACEOF
20771 cat confdefs.h >>conftest.$ac_ext
20772 cat >>conftest.$ac_ext <<_ACEOF
20773 /* end confdefs.h. */
20774 $ac_includes_default
20775 int
20776 main ()
20777 {
20778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20779 test_array [0] = 0
20780
20781 ;
20782 return 0;
20783 }
20784 _ACEOF
20785 rm -f conftest.$ac_objext
20786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20787 (eval $ac_compile) 2>conftest.er1
20788 ac_status=$?
20789 grep -v '^ *+' conftest.er1 >conftest.err
20790 rm -f conftest.er1
20791 cat conftest.err >&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } &&
20794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20796 (eval $ac_try) 2>&5
20797 ac_status=$?
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); }; } &&
20800 { ac_try='test -s conftest.$ac_objext'
20801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20802 (eval $ac_try) 2>&5
20803 ac_status=$?
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); }; }; then
20806 ac_lo=0 ac_mid=0
20807 while :; do
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815 int
20816 main ()
20817 {
20818 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20819 test_array [0] = 0
20820
20821 ;
20822 return 0;
20823 }
20824 _ACEOF
20825 rm -f conftest.$ac_objext
20826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20827 (eval $ac_compile) 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } &&
20834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; } &&
20840 { ac_try='test -s conftest.$ac_objext'
20841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20842 (eval $ac_try) 2>&5
20843 ac_status=$?
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); }; }; then
20846 ac_hi=$ac_mid; break
20847 else
20848 echo "$as_me: failed program was:" >&5
20849 sed 's/^/| /' conftest.$ac_ext >&5
20850
20851 ac_lo=`expr $ac_mid + 1`
20852 if test $ac_lo -le $ac_mid; then
20853 ac_lo= ac_hi=
20854 break
20855 fi
20856 ac_mid=`expr 2 '*' $ac_mid + 1`
20857 fi
20858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20859 done
20860 else
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20863
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h. */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20871 int
20872 main ()
20873 {
20874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20875 test_array [0] = 0
20876
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 rm -f conftest.$ac_objext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 (eval $ac_compile) 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20893 ac_status=$?
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try='test -s conftest.$ac_objext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20899 ac_status=$?
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_hi=-1 ac_mid=-1
20903 while :; do
20904 cat >conftest.$ac_ext <<_ACEOF
20905 /* confdefs.h. */
20906 _ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 $ac_includes_default
20911 int
20912 main ()
20913 {
20914 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20915 test_array [0] = 0
20916
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 rm -f conftest.$ac_objext
20922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20923 (eval $ac_compile) 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } &&
20930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20933 ac_status=$?
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; } &&
20936 { ac_try='test -s conftest.$ac_objext'
20937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938 (eval $ac_try) 2>&5
20939 ac_status=$?
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; }; then
20942 ac_lo=$ac_mid; break
20943 else
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20946
20947 ac_hi=`expr '(' $ac_mid ')' - 1`
20948 if test $ac_mid -le $ac_hi; then
20949 ac_lo= ac_hi=
20950 break
20951 fi
20952 ac_mid=`expr 2 '*' $ac_mid`
20953 fi
20954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20955 done
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ac_lo= ac_hi=
20961 fi
20962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20963 fi
20964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20965 # Binary search between lo and hi bounds.
20966 while test "x$ac_lo" != "x$ac_hi"; do
20967 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20968 cat >conftest.$ac_ext <<_ACEOF
20969 /* confdefs.h. */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 $ac_includes_default
20975 int
20976 main ()
20977 {
20978 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20979 test_array [0] = 0
20980
20981 ;
20982 return 0;
20983 }
20984 _ACEOF
20985 rm -f conftest.$ac_objext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20987 (eval $ac_compile) 2>conftest.er1
20988 ac_status=$?
20989 grep -v '^ *+' conftest.er1 >conftest.err
20990 rm -f conftest.er1
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } &&
20994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20997 ac_status=$?
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; } &&
21000 { ac_try='test -s conftest.$ac_objext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21003 ac_status=$?
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 ac_hi=$ac_mid
21007 else
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21010
21011 ac_lo=`expr '(' $ac_mid ')' + 1`
21012 fi
21013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21014 done
21015 case $ac_lo in
21016 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21017 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21018 See \`config.log' for more details." >&5
21019 echo "$as_me: error: cannot compute sizeof (long long), 77
21020 See \`config.log' for more details." >&2;}
21021 { (exit 1); exit 1; }; } ;;
21022 esac
21023 else
21024 if test "$cross_compiling" = yes; then
21025 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21026 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21027 { (exit 1); exit 1; }; }
21028 else
21029 cat >conftest.$ac_ext <<_ACEOF
21030 /* confdefs.h. */
21031 _ACEOF
21032 cat confdefs.h >>conftest.$ac_ext
21033 cat >>conftest.$ac_ext <<_ACEOF
21034 /* end confdefs.h. */
21035 $ac_includes_default
21036 long longval () { return (long) (sizeof (long long)); }
21037 unsigned long ulongval () { return (long) (sizeof (long long)); }
21038 #include <stdio.h>
21039 #include <stdlib.h>
21040 int
21041 main ()
21042 {
21043
21044 FILE *f = fopen ("conftest.val", "w");
21045 if (! f)
21046 exit (1);
21047 if (((long) (sizeof (long long))) < 0)
21048 {
21049 long i = longval ();
21050 if (i != ((long) (sizeof (long long))))
21051 exit (1);
21052 fprintf (f, "%ld\n", i);
21053 }
21054 else
21055 {
21056 unsigned long i = ulongval ();
21057 if (i != ((long) (sizeof (long long))))
21058 exit (1);
21059 fprintf (f, "%lu\n", i);
21060 }
21061 exit (ferror (f) || fclose (f) != 0);
21062
21063 ;
21064 return 0;
21065 }
21066 _ACEOF
21067 rm -f conftest$ac_exeext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21069 (eval $ac_link) 2>&5
21070 ac_status=$?
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_cv_sizeof_long_long=`cat conftest.val`
21079 else
21080 echo "$as_me: program exited with status $ac_status" >&5
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21083
21084 ( exit $ac_status )
21085 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21086 See \`config.log' for more details." >&5
21087 echo "$as_me: error: cannot compute sizeof (long long), 77
21088 See \`config.log' for more details." >&2;}
21089 { (exit 1); exit 1; }; }
21090 fi
21091 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21092 fi
21093 fi
21094 rm -f conftest.val
21095 else
21096 ac_cv_sizeof_long_long=0
21097 fi
21098 fi
21099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21100 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21101 cat >>confdefs.h <<_ACEOF
21102 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21103 _ACEOF
21104
21105
21106 ;;
21107 *-hp-hpux* )
21108 echo "$as_me:$LINENO: checking for long long" >&5
21109 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21110 if test "${ac_cv_type_long_long+set}" = set; then
21111 echo $ECHO_N "(cached) $ECHO_C" >&6
21112 else
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 if ((long long *) 0)
21124 return 0;
21125 if (sizeof (long long))
21126 return 0;
21127 ;
21128 return 0;
21129 }
21130 _ACEOF
21131 rm -f conftest.$ac_objext
21132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21133 (eval $ac_compile) 2>conftest.er1
21134 ac_status=$?
21135 grep -v '^ *+' conftest.er1 >conftest.err
21136 rm -f conftest.er1
21137 cat conftest.err >&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } &&
21140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; } &&
21146 { ac_try='test -s conftest.$ac_objext'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21149 ac_status=$?
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; }; then
21152 ac_cv_type_long_long=yes
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 ac_cv_type_long_long=no
21158 fi
21159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21160 fi
21161 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21162 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21163
21164 echo "$as_me:$LINENO: checking size of long long" >&5
21165 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21166 if test "${ac_cv_sizeof_long_long+set}" = set; then
21167 echo $ECHO_N "(cached) $ECHO_C" >&6
21168 else
21169 if test "$ac_cv_type_long_long" = yes; then
21170 # The cast to unsigned long works around a bug in the HP C Compiler
21171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21173 # This bug is HP SR number 8606223364.
21174 if test "$cross_compiling" = yes; then
21175 # Depending upon the size, compute the lo and hi bounds.
21176 cat >conftest.$ac_ext <<_ACEOF
21177 /* confdefs.h. */
21178 _ACEOF
21179 cat confdefs.h >>conftest.$ac_ext
21180 cat >>conftest.$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 $ac_includes_default
21183 int
21184 main ()
21185 {
21186 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21187 test_array [0] = 0
21188
21189 ;
21190 return 0;
21191 }
21192 _ACEOF
21193 rm -f conftest.$ac_objext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21195 (eval $ac_compile) 2>conftest.er1
21196 ac_status=$?
21197 grep -v '^ *+' conftest.er1 >conftest.err
21198 rm -f conftest.er1
21199 cat conftest.err >&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try='test -s conftest.$ac_objext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21211 ac_status=$?
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 ac_lo=0 ac_mid=0
21215 while :; do
21216 cat >conftest.$ac_ext <<_ACEOF
21217 /* confdefs.h. */
21218 _ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 $ac_includes_default
21223 int
21224 main ()
21225 {
21226 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21227 test_array [0] = 0
21228
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21235 (eval $ac_compile) 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; } &&
21248 { ac_try='test -s conftest.$ac_objext'
21249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 (eval $ac_try) 2>&5
21251 ac_status=$?
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_hi=$ac_mid; break
21255 else
21256 echo "$as_me: failed program was:" >&5
21257 sed 's/^/| /' conftest.$ac_ext >&5
21258
21259 ac_lo=`expr $ac_mid + 1`
21260 if test $ac_lo -le $ac_mid; then
21261 ac_lo= ac_hi=
21262 break
21263 fi
21264 ac_mid=`expr 2 '*' $ac_mid + 1`
21265 fi
21266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21267 done
21268 else
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21271
21272 cat >conftest.$ac_ext <<_ACEOF
21273 /* confdefs.h. */
21274 _ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 $ac_includes_default
21279 int
21280 main ()
21281 {
21282 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21283 test_array [0] = 0
21284
21285 ;
21286 return 0;
21287 }
21288 _ACEOF
21289 rm -f conftest.$ac_objext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21291 (eval $ac_compile) 2>conftest.er1
21292 ac_status=$?
21293 grep -v '^ *+' conftest.er1 >conftest.err
21294 rm -f conftest.er1
21295 cat conftest.err >&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } &&
21298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; } &&
21304 { ac_try='test -s conftest.$ac_objext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21307 ac_status=$?
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21310 ac_hi=-1 ac_mid=-1
21311 while :; do
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21319 int
21320 main ()
21321 {
21322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21323 test_array [0] = 0
21324
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 rm -f conftest.$ac_objext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21331 (eval $ac_compile) 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21341 ac_status=$?
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; } &&
21344 { ac_try='test -s conftest.$ac_objext'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21347 ac_status=$?
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_lo=$ac_mid; break
21351 else
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21354
21355 ac_hi=`expr '(' $ac_mid ')' - 1`
21356 if test $ac_mid -le $ac_hi; then
21357 ac_lo= ac_hi=
21358 break
21359 fi
21360 ac_mid=`expr 2 '*' $ac_mid`
21361 fi
21362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21363 done
21364 else
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.$ac_ext >&5
21367
21368 ac_lo= ac_hi=
21369 fi
21370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21371 fi
21372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21373 # Binary search between lo and hi bounds.
21374 while test "x$ac_lo" != "x$ac_hi"; do
21375 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21376 cat >conftest.$ac_ext <<_ACEOF
21377 /* confdefs.h. */
21378 _ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382 $ac_includes_default
21383 int
21384 main ()
21385 {
21386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21387 test_array [0] = 0
21388
21389 ;
21390 return 0;
21391 }
21392 _ACEOF
21393 rm -f conftest.$ac_objext
21394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21395 (eval $ac_compile) 2>conftest.er1
21396 ac_status=$?
21397 grep -v '^ *+' conftest.er1 >conftest.err
21398 rm -f conftest.er1
21399 cat conftest.err >&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21405 ac_status=$?
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; } &&
21408 { ac_try='test -s conftest.$ac_objext'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21411 ac_status=$?
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_hi=$ac_mid
21415 else
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21418
21419 ac_lo=`expr '(' $ac_mid ')' + 1`
21420 fi
21421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21422 done
21423 case $ac_lo in
21424 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21425 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21426 See \`config.log' for more details." >&5
21427 echo "$as_me: error: cannot compute sizeof (long long), 77
21428 See \`config.log' for more details." >&2;}
21429 { (exit 1); exit 1; }; } ;;
21430 esac
21431 else
21432 if test "$cross_compiling" = yes; then
21433 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21434 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21435 { (exit 1); exit 1; }; }
21436 else
21437 cat >conftest.$ac_ext <<_ACEOF
21438 /* confdefs.h. */
21439 _ACEOF
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443 $ac_includes_default
21444 long longval () { return (long) (sizeof (long long)); }
21445 unsigned long ulongval () { return (long) (sizeof (long long)); }
21446 #include <stdio.h>
21447 #include <stdlib.h>
21448 int
21449 main ()
21450 {
21451
21452 FILE *f = fopen ("conftest.val", "w");
21453 if (! f)
21454 exit (1);
21455 if (((long) (sizeof (long long))) < 0)
21456 {
21457 long i = longval ();
21458 if (i != ((long) (sizeof (long long))))
21459 exit (1);
21460 fprintf (f, "%ld\n", i);
21461 }
21462 else
21463 {
21464 unsigned long i = ulongval ();
21465 if (i != ((long) (sizeof (long long))))
21466 exit (1);
21467 fprintf (f, "%lu\n", i);
21468 }
21469 exit (ferror (f) || fclose (f) != 0);
21470
21471 ;
21472 return 0;
21473 }
21474 _ACEOF
21475 rm -f conftest$ac_exeext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21477 (eval $ac_link) 2>&5
21478 ac_status=$?
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 ac_cv_sizeof_long_long=`cat conftest.val`
21487 else
21488 echo "$as_me: program exited with status $ac_status" >&5
21489 echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.$ac_ext >&5
21491
21492 ( exit $ac_status )
21493 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21494 See \`config.log' for more details." >&5
21495 echo "$as_me: error: cannot compute sizeof (long long), 77
21496 See \`config.log' for more details." >&2;}
21497 { (exit 1); exit 1; }; }
21498 fi
21499 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21500 fi
21501 fi
21502 rm -f conftest.val
21503 else
21504 ac_cv_sizeof_long_long=0
21505 fi
21506 fi
21507 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21508 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21509 cat >>confdefs.h <<_ACEOF
21510 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21511 _ACEOF
21512
21513
21514 if test "$ac_cv_sizeof_long_long" != "0"; then
21515 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21516 fi
21517 ;;
21518 * )
21519 echo "$as_me:$LINENO: checking for long long" >&5
21520 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21521 if test "${ac_cv_type_long_long+set}" = set; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 else
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 if ((long long *) 0)
21535 return 0;
21536 if (sizeof (long long))
21537 return 0;
21538 ;
21539 return 0;
21540 }
21541 _ACEOF
21542 rm -f conftest.$ac_objext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21544 (eval $ac_compile) 2>conftest.er1
21545 ac_status=$?
21546 grep -v '^ *+' conftest.er1 >conftest.err
21547 rm -f conftest.er1
21548 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try='test -s conftest.$ac_objext'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 ac_cv_type_long_long=yes
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 ac_cv_type_long_long=no
21569 fi
21570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21571 fi
21572 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21573 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21574
21575 echo "$as_me:$LINENO: checking size of long long" >&5
21576 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21577 if test "${ac_cv_sizeof_long_long+set}" = set; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6
21579 else
21580 if test "$ac_cv_type_long_long" = yes; then
21581 # The cast to unsigned long works around a bug in the HP C Compiler
21582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21584 # This bug is HP SR number 8606223364.
21585 if test "$cross_compiling" = yes; then
21586 # Depending upon the size, compute the lo and hi bounds.
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 $ac_includes_default
21594 int
21595 main ()
21596 {
21597 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21598 test_array [0] = 0
21599
21600 ;
21601 return 0;
21602 }
21603 _ACEOF
21604 rm -f conftest.$ac_objext
21605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 (eval $ac_compile) 2>conftest.er1
21607 ac_status=$?
21608 grep -v '^ *+' conftest.er1 >conftest.err
21609 rm -f conftest.er1
21610 cat conftest.err >&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } &&
21613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21616 ac_status=$?
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try='test -s conftest.$ac_objext'
21620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21622 ac_status=$?
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 ac_lo=0 ac_mid=0
21626 while :; do
21627 cat >conftest.$ac_ext <<_ACEOF
21628 /* confdefs.h. */
21629 _ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 int
21635 main ()
21636 {
21637 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21638 test_array [0] = 0
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646 (eval $ac_compile) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try='test -s conftest.$ac_objext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21662 ac_status=$?
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_hi=$ac_mid; break
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ac_lo=`expr $ac_mid + 1`
21671 if test $ac_lo -le $ac_mid; then
21672 ac_lo= ac_hi=
21673 break
21674 fi
21675 ac_mid=`expr 2 '*' $ac_mid + 1`
21676 fi
21677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21678 done
21679 else
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 cat >conftest.$ac_ext <<_ACEOF
21684 /* confdefs.h. */
21685 _ACEOF
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 $ac_includes_default
21690 int
21691 main ()
21692 {
21693 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21694 test_array [0] = 0
21695
21696 ;
21697 return 0;
21698 }
21699 _ACEOF
21700 rm -f conftest.$ac_objext
21701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21702 (eval $ac_compile) 2>conftest.er1
21703 ac_status=$?
21704 grep -v '^ *+' conftest.er1 >conftest.err
21705 rm -f conftest.er1
21706 cat conftest.err >&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); } &&
21709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21712 ac_status=$?
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try='test -s conftest.$ac_objext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21718 ac_status=$?
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 ac_hi=-1 ac_mid=-1
21722 while :; do
21723 cat >conftest.$ac_ext <<_ACEOF
21724 /* confdefs.h. */
21725 _ACEOF
21726 cat confdefs.h >>conftest.$ac_ext
21727 cat >>conftest.$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21729 $ac_includes_default
21730 int
21731 main ()
21732 {
21733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21734 test_array [0] = 0
21735
21736 ;
21737 return 0;
21738 }
21739 _ACEOF
21740 rm -f conftest.$ac_objext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21742 (eval $ac_compile) 2>conftest.er1
21743 ac_status=$?
21744 grep -v '^ *+' conftest.er1 >conftest.err
21745 rm -f conftest.er1
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_lo=$ac_mid; break
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_hi=`expr '(' $ac_mid ')' - 1`
21767 if test $ac_mid -le $ac_hi; then
21768 ac_lo= ac_hi=
21769 break
21770 fi
21771 ac_mid=`expr 2 '*' $ac_mid`
21772 fi
21773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21774 done
21775 else
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21778
21779 ac_lo= ac_hi=
21780 fi
21781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21782 fi
21783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21784 # Binary search between lo and hi bounds.
21785 while test "x$ac_lo" != "x$ac_hi"; do
21786 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21787 cat >conftest.$ac_ext <<_ACEOF
21788 /* confdefs.h. */
21789 _ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 int
21795 main ()
21796 {
21797 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21798 test_array [0] = 0
21799
21800 ;
21801 return 0;
21802 }
21803 _ACEOF
21804 rm -f conftest.$ac_objext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21806 (eval $ac_compile) 2>conftest.er1
21807 ac_status=$?
21808 grep -v '^ *+' conftest.er1 >conftest.err
21809 rm -f conftest.er1
21810 cat conftest.err >&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } &&
21813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815 (eval $ac_try) 2>&5
21816 ac_status=$?
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; } &&
21819 { ac_try='test -s conftest.$ac_objext'
21820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21821 (eval $ac_try) 2>&5
21822 ac_status=$?
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; }; then
21825 ac_hi=$ac_mid
21826 else
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.$ac_ext >&5
21829
21830 ac_lo=`expr '(' $ac_mid ')' + 1`
21831 fi
21832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21833 done
21834 case $ac_lo in
21835 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21837 See \`config.log' for more details." >&5
21838 echo "$as_me: error: cannot compute sizeof (long long), 77
21839 See \`config.log' for more details." >&2;}
21840 { (exit 1); exit 1; }; } ;;
21841 esac
21842 else
21843 if test "$cross_compiling" = yes; then
21844 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21845 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21846 { (exit 1); exit 1; }; }
21847 else
21848 cat >conftest.$ac_ext <<_ACEOF
21849 /* confdefs.h. */
21850 _ACEOF
21851 cat confdefs.h >>conftest.$ac_ext
21852 cat >>conftest.$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 $ac_includes_default
21855 long longval () { return (long) (sizeof (long long)); }
21856 unsigned long ulongval () { return (long) (sizeof (long long)); }
21857 #include <stdio.h>
21858 #include <stdlib.h>
21859 int
21860 main ()
21861 {
21862
21863 FILE *f = fopen ("conftest.val", "w");
21864 if (! f)
21865 exit (1);
21866 if (((long) (sizeof (long long))) < 0)
21867 {
21868 long i = longval ();
21869 if (i != ((long) (sizeof (long long))))
21870 exit (1);
21871 fprintf (f, "%ld\n", i);
21872 }
21873 else
21874 {
21875 unsigned long i = ulongval ();
21876 if (i != ((long) (sizeof (long long))))
21877 exit (1);
21878 fprintf (f, "%lu\n", i);
21879 }
21880 exit (ferror (f) || fclose (f) != 0);
21881
21882 ;
21883 return 0;
21884 }
21885 _ACEOF
21886 rm -f conftest$ac_exeext
21887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21888 (eval $ac_link) 2>&5
21889 ac_status=$?
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21894 ac_status=$?
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; }; then
21897 ac_cv_sizeof_long_long=`cat conftest.val`
21898 else
21899 echo "$as_me: program exited with status $ac_status" >&5
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 ( exit $ac_status )
21904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21905 See \`config.log' for more details." >&5
21906 echo "$as_me: error: cannot compute sizeof (long long), 77
21907 See \`config.log' for more details." >&2;}
21908 { (exit 1); exit 1; }; }
21909 fi
21910 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21911 fi
21912 fi
21913 rm -f conftest.val
21914 else
21915 ac_cv_sizeof_long_long=0
21916 fi
21917 fi
21918 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21919 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21920 cat >>confdefs.h <<_ACEOF
21921 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21922 _ACEOF
21923
21924
21925 esac
21926
21927 echo "$as_me:$LINENO: checking for wchar_t" >&5
21928 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21929 if test "${ac_cv_type_wchar_t+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 else
21932 cat >conftest.$ac_ext <<_ACEOF
21933 /* confdefs.h. */
21934 _ACEOF
21935 cat confdefs.h >>conftest.$ac_ext
21936 cat >>conftest.$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938
21939 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21940 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21941 # error "fake wchar_t"
21942 #endif
21943 #ifdef HAVE_WCHAR_H
21944 # ifdef __CYGWIN__
21945 # include <stddef.h>
21946 # endif
21947 # include <wchar.h>
21948 #endif
21949 #ifdef HAVE_STDLIB_H
21950 # include <stdlib.h>
21951 #endif
21952 #include <stdio.h>
21953
21954
21955
21956 int
21957 main ()
21958 {
21959 if ((wchar_t *) 0)
21960 return 0;
21961 if (sizeof (wchar_t))
21962 return 0;
21963 ;
21964 return 0;
21965 }
21966 _ACEOF
21967 rm -f conftest.$ac_objext
21968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21969 (eval $ac_compile) 2>conftest.er1
21970 ac_status=$?
21971 grep -v '^ *+' conftest.er1 >conftest.err
21972 rm -f conftest.er1
21973 cat conftest.err >&5
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); } &&
21976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978 (eval $ac_try) 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; } &&
21982 { ac_try='test -s conftest.$ac_objext'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21985 ac_status=$?
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; }; then
21988 ac_cv_type_wchar_t=yes
21989 else
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21992
21993 ac_cv_type_wchar_t=no
21994 fi
21995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21996 fi
21997 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21998 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21999
22000 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22001 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22002 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22003 echo $ECHO_N "(cached) $ECHO_C" >&6
22004 else
22005 if test "$ac_cv_type_wchar_t" = yes; then
22006 # The cast to unsigned long works around a bug in the HP C Compiler
22007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22009 # This bug is HP SR number 8606223364.
22010 if test "$cross_compiling" = yes; then
22011 # Depending upon the size, compute the lo and hi bounds.
22012 cat >conftest.$ac_ext <<_ACEOF
22013 /* confdefs.h. */
22014 _ACEOF
22015 cat confdefs.h >>conftest.$ac_ext
22016 cat >>conftest.$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018
22019 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22020 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22021 # error "fake wchar_t"
22022 #endif
22023 #ifdef HAVE_WCHAR_H
22024 # ifdef __CYGWIN__
22025 # include <stddef.h>
22026 # endif
22027 # include <wchar.h>
22028 #endif
22029 #ifdef HAVE_STDLIB_H
22030 # include <stdlib.h>
22031 #endif
22032 #include <stdio.h>
22033
22034
22035
22036 int
22037 main ()
22038 {
22039 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22040 test_array [0] = 0
22041
22042 ;
22043 return 0;
22044 }
22045 _ACEOF
22046 rm -f conftest.$ac_objext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22048 (eval $ac_compile) 2>conftest.er1
22049 ac_status=$?
22050 grep -v '^ *+' conftest.er1 >conftest.err
22051 rm -f conftest.er1
22052 cat conftest.err >&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } &&
22055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; } &&
22061 { ac_try='test -s conftest.$ac_objext'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22064 ac_status=$?
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; }; then
22067 ac_lo=0 ac_mid=0
22068 while :; do
22069 cat >conftest.$ac_ext <<_ACEOF
22070 /* confdefs.h. */
22071 _ACEOF
22072 cat confdefs.h >>conftest.$ac_ext
22073 cat >>conftest.$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075
22076 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22077 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22078 # error "fake wchar_t"
22079 #endif
22080 #ifdef HAVE_WCHAR_H
22081 # ifdef __CYGWIN__
22082 # include <stddef.h>
22083 # endif
22084 # include <wchar.h>
22085 #endif
22086 #ifdef HAVE_STDLIB_H
22087 # include <stdlib.h>
22088 #endif
22089 #include <stdio.h>
22090
22091
22092
22093 int
22094 main ()
22095 {
22096 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22097 test_array [0] = 0
22098
22099 ;
22100 return 0;
22101 }
22102 _ACEOF
22103 rm -f conftest.$ac_objext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22105 (eval $ac_compile) 2>conftest.er1
22106 ac_status=$?
22107 grep -v '^ *+' conftest.er1 >conftest.err
22108 rm -f conftest.er1
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; } &&
22118 { ac_try='test -s conftest.$ac_objext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 ac_hi=$ac_mid; break
22125 else
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.$ac_ext >&5
22128
22129 ac_lo=`expr $ac_mid + 1`
22130 if test $ac_lo -le $ac_mid; then
22131 ac_lo= ac_hi=
22132 break
22133 fi
22134 ac_mid=`expr 2 '*' $ac_mid + 1`
22135 fi
22136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22137 done
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 cat >conftest.$ac_ext <<_ACEOF
22143 /* confdefs.h. */
22144 _ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148
22149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22151 # error "fake wchar_t"
22152 #endif
22153 #ifdef HAVE_WCHAR_H
22154 # ifdef __CYGWIN__
22155 # include <stddef.h>
22156 # endif
22157 # include <wchar.h>
22158 #endif
22159 #ifdef HAVE_STDLIB_H
22160 # include <stdlib.h>
22161 #endif
22162 #include <stdio.h>
22163
22164
22165
22166 int
22167 main ()
22168 {
22169 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22170 test_array [0] = 0
22171
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest.$ac_objext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22178 (eval $ac_compile) 2>conftest.er1
22179 ac_status=$?
22180 grep -v '^ *+' conftest.er1 >conftest.err
22181 rm -f conftest.er1
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } &&
22185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22191 { ac_try='test -s conftest.$ac_objext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22194 ac_status=$?
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22197 ac_hi=-1 ac_mid=-1
22198 while :; do
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205
22206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22208 # error "fake wchar_t"
22209 #endif
22210 #ifdef HAVE_WCHAR_H
22211 # ifdef __CYGWIN__
22212 # include <stddef.h>
22213 # endif
22214 # include <wchar.h>
22215 #endif
22216 #ifdef HAVE_STDLIB_H
22217 # include <stdlib.h>
22218 #endif
22219 #include <stdio.h>
22220
22221
22222
22223 int
22224 main ()
22225 {
22226 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22227 test_array [0] = 0
22228
22229 ;
22230 return 0;
22231 }
22232 _ACEOF
22233 rm -f conftest.$ac_objext
22234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22235 (eval $ac_compile) 2>conftest.er1
22236 ac_status=$?
22237 grep -v '^ *+' conftest.er1 >conftest.err
22238 rm -f conftest.er1
22239 cat conftest.err >&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; } &&
22248 { ac_try='test -s conftest.$ac_objext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22251 ac_status=$?
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_lo=$ac_mid; break
22255 else
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22258
22259 ac_hi=`expr '(' $ac_mid ')' - 1`
22260 if test $ac_mid -le $ac_hi; then
22261 ac_lo= ac_hi=
22262 break
22263 fi
22264 ac_mid=`expr 2 '*' $ac_mid`
22265 fi
22266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22267 done
22268 else
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ac_lo= ac_hi=
22273 fi
22274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22275 fi
22276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22277 # Binary search between lo and hi bounds.
22278 while test "x$ac_lo" != "x$ac_hi"; do
22279 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22280 cat >conftest.$ac_ext <<_ACEOF
22281 /* confdefs.h. */
22282 _ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286
22287 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22288 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22289 # error "fake wchar_t"
22290 #endif
22291 #ifdef HAVE_WCHAR_H
22292 # ifdef __CYGWIN__
22293 # include <stddef.h>
22294 # endif
22295 # include <wchar.h>
22296 #endif
22297 #ifdef HAVE_STDLIB_H
22298 # include <stdlib.h>
22299 #endif
22300 #include <stdio.h>
22301
22302
22303
22304 int
22305 main ()
22306 {
22307 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22308 test_array [0] = 0
22309
22310 ;
22311 return 0;
22312 }
22313 _ACEOF
22314 rm -f conftest.$ac_objext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22316 (eval $ac_compile) 2>conftest.er1
22317 ac_status=$?
22318 grep -v '^ *+' conftest.er1 >conftest.err
22319 rm -f conftest.er1
22320 cat conftest.err >&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; } &&
22329 { ac_try='test -s conftest.$ac_objext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22332 ac_status=$?
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 ac_hi=$ac_mid
22336 else
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22339
22340 ac_lo=`expr '(' $ac_mid ')' + 1`
22341 fi
22342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22343 done
22344 case $ac_lo in
22345 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22346 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22347 See \`config.log' for more details." >&5
22348 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22349 See \`config.log' for more details." >&2;}
22350 { (exit 1); exit 1; }; } ;;
22351 esac
22352 else
22353 if test "$cross_compiling" = yes; then
22354 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22355 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22356 { (exit 1); exit 1; }; }
22357 else
22358 cat >conftest.$ac_ext <<_ACEOF
22359 /* confdefs.h. */
22360 _ACEOF
22361 cat confdefs.h >>conftest.$ac_ext
22362 cat >>conftest.$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364
22365 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22366 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22367 # error "fake wchar_t"
22368 #endif
22369 #ifdef HAVE_WCHAR_H
22370 # ifdef __CYGWIN__
22371 # include <stddef.h>
22372 # endif
22373 # include <wchar.h>
22374 #endif
22375 #ifdef HAVE_STDLIB_H
22376 # include <stdlib.h>
22377 #endif
22378 #include <stdio.h>
22379
22380
22381
22382 long longval () { return (long) (sizeof (wchar_t)); }
22383 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22384 #include <stdio.h>
22385 #include <stdlib.h>
22386 int
22387 main ()
22388 {
22389
22390 FILE *f = fopen ("conftest.val", "w");
22391 if (! f)
22392 exit (1);
22393 if (((long) (sizeof (wchar_t))) < 0)
22394 {
22395 long i = longval ();
22396 if (i != ((long) (sizeof (wchar_t))))
22397 exit (1);
22398 fprintf (f, "%ld\n", i);
22399 }
22400 else
22401 {
22402 unsigned long i = ulongval ();
22403 if (i != ((long) (sizeof (wchar_t))))
22404 exit (1);
22405 fprintf (f, "%lu\n", i);
22406 }
22407 exit (ferror (f) || fclose (f) != 0);
22408
22409 ;
22410 return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22421 ac_status=$?
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; }; then
22424 ac_cv_sizeof_wchar_t=`cat conftest.val`
22425 else
22426 echo "$as_me: program exited with status $ac_status" >&5
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22429
22430 ( exit $ac_status )
22431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22432 See \`config.log' for more details." >&5
22433 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22434 See \`config.log' for more details." >&2;}
22435 { (exit 1); exit 1; }; }
22436 fi
22437 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22438 fi
22439 fi
22440 rm -f conftest.val
22441 else
22442 ac_cv_sizeof_wchar_t=0
22443 fi
22444 fi
22445 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22446 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22447 cat >>confdefs.h <<_ACEOF
22448 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22449 _ACEOF
22450
22451
22452 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22453 wxUSE_WCHAR_T=yes
22454 else
22455 wxUSE_WCHAR_T=no
22456 fi
22457
22458 echo "$as_me:$LINENO: checking for va_copy" >&5
22459 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22460 if test "${wx_cv_func_va_copy+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22462 else
22463
22464 cat >conftest.$ac_ext <<_ACEOF
22465
22466 #include <stdarg.h>
22467 void foo(char *f, ...)
22468 {
22469 va_list ap1, ap2;
22470 va_start(ap1, f);
22471 va_copy(ap2, ap1);
22472 va_end(ap2);
22473 va_end(ap1);
22474 }
22475 int main()
22476 {
22477 foo("hi", 17);
22478 return 0;
22479 }
22480 _ACEOF
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>conftest.er1
22484 ac_status=$?
22485 grep -v '^ *+' conftest.er1 >conftest.err
22486 rm -f conftest.er1
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492 (eval $ac_try) 2>&5
22493 ac_status=$?
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; } &&
22496 { ac_try='test -s conftest$ac_exeext'
22497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498 (eval $ac_try) 2>&5
22499 ac_status=$?
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); }; }; then
22502 wx_cv_func_va_copy=yes
22503 else
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.$ac_ext >&5
22506
22507 wx_cv_func_va_copy=no
22508
22509 fi
22510 rm -f conftest.err conftest.$ac_objext \
22511 conftest$ac_exeext conftest.$ac_ext
22512
22513
22514 fi
22515 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22516 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22517
22518 if test $wx_cv_func_va_copy = "yes"; then
22519 cat >>confdefs.h <<\_ACEOF
22520 #define HAVE_VA_COPY 1
22521 _ACEOF
22522
22523 else
22524 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22525 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22526 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22528 else
22529
22530 if test "$cross_compiling" = yes; then
22531 wx_cv_type_va_list_lvalue=yes
22532
22533 else
22534 cat >conftest.$ac_ext <<_ACEOF
22535
22536 #include <stdarg.h>
22537 int foo(char *f, ...)
22538 {
22539 va_list ap1, ap2;
22540 va_start(ap1, f);
22541 ap2 = ap1;
22542 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22543 return 1;
22544 va_end(ap2);
22545 va_end(ap1);
22546 return 0;
22547 }
22548 int main()
22549 {
22550 return foo("hi", 17);
22551 }
22552 _ACEOF
22553 rm -f conftest$ac_exeext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22555 (eval $ac_link) 2>&5
22556 ac_status=$?
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 wx_cv_type_va_list_lvalue=yes
22565 else
22566 echo "$as_me: program exited with status $ac_status" >&5
22567 echo "$as_me: failed program was:" >&5
22568 sed 's/^/| /' conftest.$ac_ext >&5
22569
22570 ( exit $ac_status )
22571 wx_cv_type_va_list_lvalue=no
22572 fi
22573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22574 fi
22575
22576
22577 fi
22578 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22579 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22580
22581 if test $wx_cv_type_va_list_lvalue != "yes"; then
22582 cat >>confdefs.h <<\_ACEOF
22583 #define VA_LIST_IS_ARRAY 1
22584 _ACEOF
22585
22586 fi
22587 fi
22588
22589 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22590 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22591 if test "${wx_cv_have_variadic_macros+set}" = set; then
22592 echo $ECHO_N "(cached) $ECHO_C" >&6
22593 else
22594
22595 cat >conftest.$ac_ext <<_ACEOF
22596 /* confdefs.h. */
22597 _ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601
22602 #include <stdio.h>
22603 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22604
22605 int
22606 main ()
22607 {
22608
22609 test("%s %d %p", "test", 1, 0);
22610
22611
22612 ;
22613 return 0;
22614 }
22615 _ACEOF
22616 rm -f conftest.$ac_objext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22618 (eval $ac_compile) 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try='test -s conftest.$ac_objext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22634 ac_status=$?
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 wx_cv_have_variadic_macros=yes
22638 else
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22641
22642 wx_cv_have_variadic_macros=no
22643
22644 fi
22645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22646
22647
22648 fi
22649 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22650 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22651
22652 if test $wx_cv_have_variadic_macros = "yes"; then
22653 cat >>confdefs.h <<\_ACEOF
22654 #define HAVE_VARIADIC_MACROS 1
22655 _ACEOF
22656
22657 fi
22658
22659 # Check whether --enable-largefile or --disable-largefile was given.
22660 if test "${enable_largefile+set}" = set; then
22661 enableval="$enable_largefile"
22662
22663 fi;
22664 if test "$enable_largefile" != no; then
22665 wx_largefile=no
22666
22667 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22668 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22669 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22671 else
22672
22673 cat >conftest.$ac_ext <<_ACEOF
22674 /* confdefs.h. */
22675 _ACEOF
22676 cat confdefs.h >>conftest.$ac_ext
22677 cat >>conftest.$ac_ext <<_ACEOF
22678 /* end confdefs.h. */
22679 #define _FILE_OFFSET_BITS 64
22680 #include <sys/types.h>
22681 int
22682 main ()
22683 {
22684 typedef struct {
22685 unsigned int field: sizeof(off_t) == 8;
22686 } wxlf;
22687
22688 ;
22689 return 0;
22690 }
22691 _ACEOF
22692 rm -f conftest.$ac_objext
22693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22694 (eval $ac_compile) 2>conftest.er1
22695 ac_status=$?
22696 grep -v '^ *+' conftest.er1 >conftest.err
22697 rm -f conftest.er1
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22703 (eval $ac_try) 2>&5
22704 ac_status=$?
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); }; } &&
22707 { ac_try='test -s conftest.$ac_objext'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22710 ac_status=$?
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; }; then
22713 ac_cv_sys_file_offset_bits=64
22714 else
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.$ac_ext >&5
22717
22718 ac_cv_sys_file_offset_bits=no
22719 fi
22720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22721
22722
22723 fi
22724 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22725 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22726
22727 if test "$ac_cv_sys_file_offset_bits" != no; then
22728 wx_largefile=yes
22729 cat >>confdefs.h <<_ACEOF
22730 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22731 _ACEOF
22732
22733 fi
22734
22735 if test "x$wx_largefile" != "xyes"; then
22736
22737 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22738 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22739 if test "${ac_cv_sys_large_files+set}" = set; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22741 else
22742
22743 cat >conftest.$ac_ext <<_ACEOF
22744 /* confdefs.h. */
22745 _ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 #define _LARGE_FILES 1
22750 #include <sys/types.h>
22751 int
22752 main ()
22753 {
22754 typedef struct {
22755 unsigned int field: sizeof(off_t) == 8;
22756 } wxlf;
22757
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22764 (eval $ac_compile) 2>conftest.er1
22765 ac_status=$?
22766 grep -v '^ *+' conftest.er1 >conftest.err
22767 rm -f conftest.er1
22768 cat conftest.err >&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_sys_large_files=1
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 ac_cv_sys_large_files=no
22789 fi
22790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22791
22792
22793 fi
22794 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22795 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22796
22797 if test "$ac_cv_sys_large_files" != no; then
22798 wx_largefile=yes
22799 cat >>confdefs.h <<_ACEOF
22800 #define _LARGE_FILES $ac_cv_sys_large_files
22801 _ACEOF
22802
22803 fi
22804
22805 fi
22806
22807 echo "$as_me:$LINENO: checking if large file support is available" >&5
22808 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22809 if test "x$wx_largefile" = "xyes"; then
22810 cat >>confdefs.h <<\_ACEOF
22811 #define HAVE_LARGEFILE_SUPPORT 1
22812 _ACEOF
22813
22814 fi
22815 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22816 echo "${ECHO_T}$wx_largefile" >&6
22817 fi
22818
22819
22820 if test "x$wx_largefile" = "xyes"; then
22821 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22822 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22823
22824 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22825 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22826 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22827 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 else
22830
22831 cat >conftest.$ac_ext <<_ACEOF
22832 /* confdefs.h. */
22833 _ACEOF
22834 cat confdefs.h >>conftest.$ac_ext
22835 cat >>conftest.$ac_ext <<_ACEOF
22836 /* end confdefs.h. */
22837
22838 int
22839 main ()
22840 {
22841
22842 #ifndef __STDC_EXT__
22843 choke me
22844 #endif
22845
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22862 ac_status=$?
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; } &&
22865 { ac_try='test -s conftest.$ac_objext'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22868 ac_status=$?
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; }; then
22871 wx_cv_STDC_EXT_required=no
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 wx_cv_STDC_EXT_required=yes
22877
22878 fi
22879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22880
22881
22882 fi
22883 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22884 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22885 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22886 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22887 fi
22888 fi
22889 else
22890 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22891 fi
22892 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22893 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22894 if test "${ac_cv_sys_largefile_source+set}" = set; then
22895 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 else
22897 while :; do
22898 ac_cv_sys_largefile_source=no
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 #include <stdio.h>
22906 int
22907 main ()
22908 {
22909 return !fseeko;
22910 ;
22911 return 0;
22912 }
22913 _ACEOF
22914 rm -f conftest.$ac_objext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22916 (eval $ac_compile) 2>conftest.er1
22917 ac_status=$?
22918 grep -v '^ *+' conftest.er1 >conftest.err
22919 rm -f conftest.er1
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22926 ac_status=$?
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22935 break
22936 else
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.$ac_ext >&5
22939
22940 fi
22941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22942 cat >conftest.$ac_ext <<_ACEOF
22943 /* confdefs.h. */
22944 _ACEOF
22945 cat confdefs.h >>conftest.$ac_ext
22946 cat >>conftest.$ac_ext <<_ACEOF
22947 /* end confdefs.h. */
22948 #define _LARGEFILE_SOURCE 1
22949 #include <stdio.h>
22950 int
22951 main ()
22952 {
22953 return !fseeko;
22954 ;
22955 return 0;
22956 }
22957 _ACEOF
22958 rm -f conftest.$ac_objext
22959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22960 (eval $ac_compile) 2>conftest.er1
22961 ac_status=$?
22962 grep -v '^ *+' conftest.er1 >conftest.err
22963 rm -f conftest.er1
22964 cat conftest.err >&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } &&
22967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22969 (eval $ac_try) 2>&5
22970 ac_status=$?
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); }; } &&
22973 { ac_try='test -s conftest.$ac_objext'
22974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975 (eval $ac_try) 2>&5
22976 ac_status=$?
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; }; then
22979 ac_cv_sys_largefile_source=1; break
22980 else
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22983
22984 fi
22985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22986 break
22987 done
22988 fi
22989 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22990 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22991 if test "$ac_cv_sys_largefile_source" != no; then
22992
22993 cat >>confdefs.h <<_ACEOF
22994 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22995 _ACEOF
22996
22997 fi
22998 rm -f conftest*
22999
23000 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23001 # in glibc 2.1.3, but that breaks too many other things.
23002 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23003 echo "$as_me:$LINENO: checking for fseeko" >&5
23004 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23005 if test "${ac_cv_func_fseeko+set}" = set; then
23006 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 else
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 #include <stdio.h>
23015 int
23016 main ()
23017 {
23018 return fseeko && fseeko (stdin, 0, 0);
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext conftest$ac_exeext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23025 (eval $ac_link) 2>conftest.er1
23026 ac_status=$?
23027 grep -v '^ *+' conftest.er1 >conftest.err
23028 rm -f conftest.er1
23029 cat conftest.err >&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; } &&
23038 { ac_try='test -s conftest$ac_exeext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23041 ac_status=$?
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_func_fseeko=yes
23045 else
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049 ac_cv_func_fseeko=no
23050 fi
23051 rm -f conftest.err conftest.$ac_objext \
23052 conftest$ac_exeext conftest.$ac_ext
23053 fi
23054 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23055 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23056 if test $ac_cv_func_fseeko = yes; then
23057
23058 cat >>confdefs.h <<\_ACEOF
23059 #define HAVE_FSEEKO 1
23060 _ACEOF
23061
23062 fi
23063
23064 if test "$ac_cv_sys_largefile_source" != no; then
23065 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23066 fi
23067 fi
23068
23069 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23070 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23071 if test "${ac_cv_c_bigendian+set}" = set; then
23072 echo $ECHO_N "(cached) $ECHO_C" >&6
23073 else
23074 ac_cv_c_bigendian=unknown
23075 # See if sys/param.h defines the BYTE_ORDER macro.
23076 cat >conftest.$ac_ext <<_ACEOF
23077 /* confdefs.h. */
23078 _ACEOF
23079 cat confdefs.h >>conftest.$ac_ext
23080 cat >>conftest.$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23082 #include <sys/types.h>
23083 #include <sys/param.h>
23084 int
23085 main ()
23086 {
23087
23088 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23089 bogus endian macros
23090 #endif
23091 ;
23092 return 0;
23093 }
23094 _ACEOF
23095 rm -f conftest.$ac_objext
23096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23097 (eval $ac_compile) 2>conftest.er1
23098 ac_status=$?
23099 grep -v '^ *+' conftest.er1 >conftest.err
23100 rm -f conftest.er1
23101 cat conftest.err >&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } &&
23104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; } &&
23110 { ac_try='test -s conftest.$ac_objext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 # It does; now see whether it defined to BIG_ENDIAN or not.
23117 cat >conftest.$ac_ext <<_ACEOF
23118 /* confdefs.h. */
23119 _ACEOF
23120 cat confdefs.h >>conftest.$ac_ext
23121 cat >>conftest.$ac_ext <<_ACEOF
23122 /* end confdefs.h. */
23123 #include <sys/types.h>
23124 #include <sys/param.h>
23125 int
23126 main ()
23127 {
23128
23129 #if BYTE_ORDER != BIG_ENDIAN
23130 not big endian
23131 #endif
23132 ;
23133 return 0;
23134 }
23135 _ACEOF
23136 rm -f conftest.$ac_objext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23138 (eval $ac_compile) 2>conftest.er1
23139 ac_status=$?
23140 grep -v '^ *+' conftest.er1 >conftest.err
23141 rm -f conftest.er1
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } &&
23145 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23147 (eval $ac_try) 2>&5
23148 ac_status=$?
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); }; } &&
23151 { ac_try='test -s conftest.$ac_objext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 ac_cv_c_bigendian=yes
23158 else
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.$ac_ext >&5
23161
23162 ac_cv_c_bigendian=no
23163 fi
23164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23165 else
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23168
23169 fi
23170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23171 if test $ac_cv_c_bigendian = unknown; then
23172 if test "$cross_compiling" = yes; then
23173 ac_cv_c_bigendian=unknown
23174 else
23175 cat >conftest.$ac_ext <<_ACEOF
23176 /* confdefs.h. */
23177 _ACEOF
23178 cat confdefs.h >>conftest.$ac_ext
23179 cat >>conftest.$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23181 main () {
23182 /* Are we little or big endian? From Harbison&Steele. */
23183 union
23184 {
23185 long l;
23186 char c[sizeof (long)];
23187 } u;
23188 u.l = 1;
23189 exit (u.c[sizeof (long) - 1] == 1);
23190 }
23191 _ACEOF
23192 rm -f conftest$ac_exeext
23193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23194 (eval $ac_link) 2>&5
23195 ac_status=$?
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23200 ac_status=$?
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_c_bigendian=no
23204 else
23205 echo "$as_me: program exited with status $ac_status" >&5
23206 echo "$as_me: failed program was:" >&5
23207 sed 's/^/| /' conftest.$ac_ext >&5
23208
23209 ( exit $ac_status )
23210 ac_cv_c_bigendian=yes
23211 fi
23212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23213 fi
23214 fi
23215 fi
23216 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23217 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23218 if test $ac_cv_c_bigendian = unknown; then
23219 { 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
23220 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;}
23221 fi
23222 if test $ac_cv_c_bigendian = yes; then
23223 cat >>confdefs.h <<\_ACEOF
23224 #define WORDS_BIGENDIAN 1
23225 _ACEOF
23226
23227 fi
23228
23229
23230
23231
23232
23233 ac_ext=cc
23234 ac_cpp='$CXXCPP $CPPFLAGS'
23235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23238
23239
23240
23241 for ac_header in iostream
23242 do
23243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23245 echo "$as_me:$LINENO: checking for $ac_header" >&5
23246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23249 fi
23250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23252 else
23253 # Is the header compilable?
23254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23256 cat >conftest.$ac_ext <<_ACEOF
23257 /* confdefs.h. */
23258 _ACEOF
23259 cat confdefs.h >>conftest.$ac_ext
23260 cat >>conftest.$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 $ac_includes_default
23263 #include <$ac_header>
23264 _ACEOF
23265 rm -f conftest.$ac_objext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23267 (eval $ac_compile) 2>conftest.er1
23268 ac_status=$?
23269 grep -v '^ *+' conftest.er1 >conftest.err
23270 rm -f conftest.er1
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; } &&
23280 { ac_try='test -s conftest.$ac_objext'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; }; then
23286 ac_header_compiler=yes
23287 else
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23290
23291 ac_header_compiler=no
23292 fi
23293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23295 echo "${ECHO_T}$ac_header_compiler" >&6
23296
23297 # Is the header present?
23298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23300 cat >conftest.$ac_ext <<_ACEOF
23301 /* confdefs.h. */
23302 _ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306 #include <$ac_header>
23307 _ACEOF
23308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23310 ac_status=$?
23311 grep -v '^ *+' conftest.er1 >conftest.err
23312 rm -f conftest.er1
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } >/dev/null; then
23316 if test -s conftest.err; then
23317 ac_cpp_err=$ac_cxx_preproc_warn_flag
23318 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23319 else
23320 ac_cpp_err=
23321 fi
23322 else
23323 ac_cpp_err=yes
23324 fi
23325 if test -z "$ac_cpp_err"; then
23326 ac_header_preproc=yes
23327 else
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23330
23331 ac_header_preproc=no
23332 fi
23333 rm -f conftest.err conftest.$ac_ext
23334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23335 echo "${ECHO_T}$ac_header_preproc" >&6
23336
23337 # So? What about this header?
23338 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23339 yes:no: )
23340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23344 ac_header_preproc=yes
23345 ;;
23346 no:yes:* )
23347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23359 (
23360 cat <<\_ASBOX
23361 ## ----------------------------------------- ##
23362 ## Report this to wx-dev@lists.wxwidgets.org ##
23363 ## ----------------------------------------- ##
23364 _ASBOX
23365 ) |
23366 sed "s/^/$as_me: WARNING: /" >&2
23367 ;;
23368 esac
23369 echo "$as_me:$LINENO: checking for $ac_header" >&5
23370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23372 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 else
23374 eval "$as_ac_Header=\$ac_header_preproc"
23375 fi
23376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23378
23379 fi
23380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23381 cat >>confdefs.h <<_ACEOF
23382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23383 _ACEOF
23384
23385 fi
23386
23387 done
23388
23389
23390 if test "$ac_cv_header_iostream" = "yes" ; then
23391 :
23392 else
23393 cat >>confdefs.h <<\_ACEOF
23394 #define wxUSE_IOSTREAMH 1
23395 _ACEOF
23396
23397 fi
23398
23399 ac_ext=cc
23400 ac_cpp='$CXXCPP $CPPFLAGS'
23401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23404
23405
23406
23407
23408 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23409 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23410 if test "${wx_cv_cpp_bool+set}" = set; then
23411 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 else
23413
23414
23415
23416 ac_ext=cc
23417 ac_cpp='$CXXCPP $CPPFLAGS'
23418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23421
23422
23423 cat >conftest.$ac_ext <<_ACEOF
23424 /* confdefs.h. */
23425 _ACEOF
23426 cat confdefs.h >>conftest.$ac_ext
23427 cat >>conftest.$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23429
23430
23431 int
23432 main ()
23433 {
23434
23435 bool b = true;
23436
23437 return 0;
23438
23439 ;
23440 return 0;
23441 }
23442 _ACEOF
23443 rm -f conftest.$ac_objext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23445 (eval $ac_compile) 2>conftest.er1
23446 ac_status=$?
23447 grep -v '^ *+' conftest.er1 >conftest.err
23448 rm -f conftest.er1
23449 cat conftest.err >&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } &&
23452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23455 ac_status=$?
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try='test -s conftest.$ac_objext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23461 ac_status=$?
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464
23465 wx_cv_cpp_bool=yes
23466
23467 else
23468 echo "$as_me: failed program was:" >&5
23469 sed 's/^/| /' conftest.$ac_ext >&5
23470
23471
23472 wx_cv_cpp_bool=no
23473
23474
23475 fi
23476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23477
23478 ac_ext=cc
23479 ac_cpp='$CXXCPP $CPPFLAGS'
23480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23483
23484
23485 fi
23486 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23487 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23488
23489 if test "$wx_cv_cpp_bool" = "yes"; then
23490 cat >>confdefs.h <<\_ACEOF
23491 #define HAVE_BOOL 1
23492 _ACEOF
23493
23494 fi
23495
23496
23497
23498 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23499 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23500 if test "${wx_cv_explicit+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23502 else
23503
23504
23505
23506 ac_ext=cc
23507 ac_cpp='$CXXCPP $CPPFLAGS'
23508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23511
23512
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519
23520 class Foo { public: explicit Foo(int) {} };
23521
23522 int
23523 main ()
23524 {
23525
23526 return 0;
23527
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23534 (eval $ac_compile) 2>conftest.er1
23535 ac_status=$?
23536 grep -v '^ *+' conftest.er1 >conftest.err
23537 rm -f conftest.er1
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543 (eval $ac_try) 2>&5
23544 ac_status=$?
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); }; } &&
23547 { ac_try='test -s conftest.$ac_objext'
23548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549 (eval $ac_try) 2>&5
23550 ac_status=$?
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); }; }; then
23553
23554 cat >conftest.$ac_ext <<_ACEOF
23555 /* confdefs.h. */
23556 _ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560
23561 class Foo { public: explicit Foo(int) {} };
23562 static void TakeFoo(const Foo& foo) { }
23563
23564 int
23565 main ()
23566 {
23567
23568 TakeFoo(17);
23569 return 0;
23570
23571 ;
23572 return 0;
23573 }
23574 _ACEOF
23575 rm -f conftest.$ac_objext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23577 (eval $ac_compile) 2>conftest.er1
23578 ac_status=$?
23579 grep -v '^ *+' conftest.er1 >conftest.err
23580 rm -f conftest.er1
23581 cat conftest.err >&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
23584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; } &&
23590 { ac_try='test -s conftest.$ac_objext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 wx_cv_explicit=no
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 wx_cv_explicit=yes
23602
23603 fi
23604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23605
23606 else
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23609
23610 wx_cv_explicit=no
23611
23612 fi
23613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23614
23615 ac_ext=cc
23616 ac_cpp='$CXXCPP $CPPFLAGS'
23617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23620
23621
23622 fi
23623 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23624 echo "${ECHO_T}$wx_cv_explicit" >&6
23625
23626 if test "$wx_cv_explicit" = "yes"; then
23627 cat >>confdefs.h <<\_ACEOF
23628 #define HAVE_EXPLICIT 1
23629 _ACEOF
23630
23631 fi
23632
23633
23634 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23635 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23636 if test "${ac_cv_cxx_const_cast+set}" = set; then
23637 echo $ECHO_N "(cached) $ECHO_C" >&6
23638 else
23639
23640
23641 ac_ext=cc
23642 ac_cpp='$CXXCPP $CPPFLAGS'
23643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23646
23647 cat >conftest.$ac_ext <<_ACEOF
23648 /* confdefs.h. */
23649 _ACEOF
23650 cat confdefs.h >>conftest.$ac_ext
23651 cat >>conftest.$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23653
23654 int
23655 main ()
23656 {
23657 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23658 ;
23659 return 0;
23660 }
23661 _ACEOF
23662 rm -f conftest.$ac_objext
23663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23664 (eval $ac_compile) 2>conftest.er1
23665 ac_status=$?
23666 grep -v '^ *+' conftest.er1 >conftest.err
23667 rm -f conftest.er1
23668 cat conftest.err >&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } &&
23671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23674 ac_status=$?
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try='test -s conftest.$ac_objext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 ac_cv_cxx_const_cast=yes
23684 else
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23687
23688 ac_cv_cxx_const_cast=no
23689 fi
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691 ac_ext=cc
23692 ac_cpp='$CXXCPP $CPPFLAGS'
23693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23696
23697
23698 fi
23699 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23700 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23701 if test "$ac_cv_cxx_const_cast" = yes; then
23702
23703 cat >>confdefs.h <<\_ACEOF
23704 #define HAVE_CONST_CAST
23705 _ACEOF
23706
23707 fi
23708
23709 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23710 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23711 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714
23715
23716 ac_ext=cc
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23721
23722 cat >conftest.$ac_ext <<_ACEOF
23723 /* confdefs.h. */
23724 _ACEOF
23725 cat confdefs.h >>conftest.$ac_ext
23726 cat >>conftest.$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728 #include <typeinfo>
23729 class Base { public : Base () {} virtual void f () = 0;};
23730 class Derived : public Base { public : Derived () {} virtual void f () {} };
23731 class Unrelated { public : Unrelated () {} };
23732 int g (Unrelated&) { return 0; }
23733 int
23734 main ()
23735 {
23736
23737 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23738 ;
23739 return 0;
23740 }
23741 _ACEOF
23742 rm -f conftest.$ac_objext
23743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23744 (eval $ac_compile) 2>conftest.er1
23745 ac_status=$?
23746 grep -v '^ *+' conftest.er1 >conftest.err
23747 rm -f conftest.er1
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } &&
23751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23754 ac_status=$?
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; } &&
23757 { ac_try='test -s conftest.$ac_objext'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23760 ac_status=$?
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; }; then
23763 ac_cv_cxx_reinterpret_cast=yes
23764 else
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23767
23768 ac_cv_cxx_reinterpret_cast=no
23769 fi
23770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23771 ac_ext=cc
23772 ac_cpp='$CXXCPP $CPPFLAGS'
23773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23776
23777
23778 fi
23779 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23780 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23781 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23782
23783 cat >>confdefs.h <<\_ACEOF
23784 #define HAVE_REINTERPRET_CAST
23785 _ACEOF
23786
23787 fi
23788
23789 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23790 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23791 if test "${ac_cv_cxx_static_cast+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 else
23794
23795
23796 ac_ext=cc
23797 ac_cpp='$CXXCPP $CPPFLAGS'
23798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23801
23802 cat >conftest.$ac_ext <<_ACEOF
23803 /* confdefs.h. */
23804 _ACEOF
23805 cat confdefs.h >>conftest.$ac_ext
23806 cat >>conftest.$ac_ext <<_ACEOF
23807 /* end confdefs.h. */
23808 #include <typeinfo>
23809 class Base { public : Base () {} virtual void f () = 0; };
23810 class Derived : public Base { public : Derived () {} virtual void f () {} };
23811 int g (Derived&) { return 0; }
23812 int
23813 main ()
23814 {
23815
23816 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23817 ;
23818 return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23824 ac_status=$?
23825 grep -v '^ *+' conftest.er1 >conftest.err
23826 rm -f conftest.er1
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23839 ac_status=$?
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 ac_cv_cxx_static_cast=yes
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23846
23847 ac_cv_cxx_static_cast=no
23848 fi
23849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=cc
23851 ac_cpp='$CXXCPP $CPPFLAGS'
23852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23855
23856
23857 fi
23858 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23859 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23860 if test "$ac_cv_cxx_static_cast" = yes; then
23861
23862 cat >>confdefs.h <<\_ACEOF
23863 #define HAVE_STATIC_CAST
23864 _ACEOF
23865
23866 fi
23867
23868
23869 if test "x$SUNCXX" = xyes; then
23870 CXXFLAGS="-features=tmplife $CXXFLAGS"
23871 fi
23872
23873 if test "x$SUNCC" = xyes; then
23874 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23875 fi
23876
23877 if test "x$SGICC" = "xyes"; then
23878 CFLAGS="-woff 3970 $CFLAGS"
23879 fi
23880 if test "x$SGICXX" = "xyes"; then
23881 CXXFLAGS="-woff 3970 $CXXFLAGS"
23882 fi
23883
23884 if test "x$HPCC" = "xyes"; then
23885 CFLAGS="+W 2011,2450 $CFLAGS"
23886 fi
23887 if test "x$HPCXX" = "xyes"; then
23888 CXXFLAGS="+W 2340 $CXXFLAGS"
23889 fi
23890
23891 if test "x$COMPAQCXX" = "xyes"; then
23892 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23893 fi
23894
23895 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23896 if test "$wxUSE_UNICODE" = "yes"; then
23897 std_string="std::wstring"
23898 char_type="wchar_t"
23899 else
23900 std_string="std::string"
23901 char_type="char"
23902 fi
23903
23904 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23905 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23906 cat >conftest.$ac_ext <<_ACEOF
23907 /* confdefs.h. */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912 #include <string>
23913 int
23914 main ()
23915 {
23916 $std_string foo;
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 cat >>confdefs.h <<\_ACEOF
23945 #define HAVE_STD_WSTRING 1
23946 _ACEOF
23947
23948 else
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.$ac_ext >&5
23951
23952 echo "$as_me:$LINENO: result: no" >&5
23953 echo "${ECHO_T}no" >&6
23954 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23955 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23956 cat >conftest.$ac_ext <<_ACEOF
23957 /* confdefs.h. */
23958 _ACEOF
23959 cat confdefs.h >>conftest.$ac_ext
23960 cat >>conftest.$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23962
23963 #ifdef HAVE_WCHAR_H
23964 # ifdef __CYGWIN__
23965 # include <stddef.h>
23966 # endif
23967 # include <wchar.h>
23968 #endif
23969 #ifdef HAVE_STDLIB_H
23970 # include <stdlib.h>
23971 #endif
23972 #include <stdio.h>
23973 #include <string>
23974
23975 int
23976 main ()
23977 {
23978 std::basic_string<$char_type> foo;
23979 const $char_type* dummy = foo.c_str();
23980 ;
23981 return 0;
23982 }
23983 _ACEOF
23984 rm -f conftest.$ac_objext
23985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23986 (eval $ac_compile) 2>conftest.er1
23987 ac_status=$?
23988 grep -v '^ *+' conftest.er1 >conftest.err
23989 rm -f conftest.er1
23990 cat conftest.err >&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); } &&
23993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; } &&
23999 { ac_try='test -s conftest.$ac_objext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 echo "$as_me:$LINENO: result: yes" >&5
24006 echo "${ECHO_T}yes" >&6
24007 else
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24010
24011 echo "$as_me:$LINENO: result: no" >&5
24012 echo "${ECHO_T}no" >&6
24013 if test "$wxUSE_STL" = "yes"; then
24014 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24015 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24016 { (exit 1); exit 1; }; }
24017 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24018 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24019 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24020 { (exit 1); exit 1; }; }
24021 else
24022 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24023 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24024 wxUSE_STD_STRING=no
24025 fi
24026
24027
24028 fi
24029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24030
24031 fi
24032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24033 fi
24034
24035 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24036 echo "$as_me:$LINENO: checking for std::istream" >&5
24037 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24038 if test "${ac_cv_type_std__istream+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 else
24041 cat >conftest.$ac_ext <<_ACEOF
24042 /* confdefs.h. */
24043 _ACEOF
24044 cat confdefs.h >>conftest.$ac_ext
24045 cat >>conftest.$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24047 #include <iostream>
24048
24049 int
24050 main ()
24051 {
24052 if ((std::istream *) 0)
24053 return 0;
24054 if (sizeof (std::istream))
24055 return 0;
24056 ;
24057 return 0;
24058 }
24059 _ACEOF
24060 rm -f conftest.$ac_objext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24062 (eval $ac_compile) 2>conftest.er1
24063 ac_status=$?
24064 grep -v '^ *+' conftest.er1 >conftest.err
24065 rm -f conftest.er1
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 ac_cv_type_std__istream=yes
24082 else
24083 echo "$as_me: failed program was:" >&5
24084 sed 's/^/| /' conftest.$ac_ext >&5
24085
24086 ac_cv_type_std__istream=no
24087 fi
24088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24089 fi
24090 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24091 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24092 if test $ac_cv_type_std__istream = yes; then
24093
24094 cat >>confdefs.h <<_ACEOF
24095 #define HAVE_STD__ISTREAM 1
24096 _ACEOF
24097
24098
24099 else
24100 wxUSE_STD_IOSTREAM=no
24101 fi
24102 echo "$as_me:$LINENO: checking for std::ostream" >&5
24103 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24104 if test "${ac_cv_type_std__ostream+set}" = set; then
24105 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 else
24107 cat >conftest.$ac_ext <<_ACEOF
24108 /* confdefs.h. */
24109 _ACEOF
24110 cat confdefs.h >>conftest.$ac_ext
24111 cat >>conftest.$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 #include <iostream>
24114
24115 int
24116 main ()
24117 {
24118 if ((std::ostream *) 0)
24119 return 0;
24120 if (sizeof (std::ostream))
24121 return 0;
24122 ;
24123 return 0;
24124 }
24125 _ACEOF
24126 rm -f conftest.$ac_objext
24127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24128 (eval $ac_compile) 2>conftest.er1
24129 ac_status=$?
24130 grep -v '^ *+' conftest.er1 >conftest.err
24131 rm -f conftest.er1
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } &&
24135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24138 ac_status=$?
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; } &&
24141 { ac_try='test -s conftest.$ac_objext'
24142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24143 (eval $ac_try) 2>&5
24144 ac_status=$?
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); }; }; then
24147 ac_cv_type_std__ostream=yes
24148 else
24149 echo "$as_me: failed program was:" >&5
24150 sed 's/^/| /' conftest.$ac_ext >&5
24151
24152 ac_cv_type_std__ostream=no
24153 fi
24154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24155 fi
24156 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24157 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24158 if test $ac_cv_type_std__ostream = yes; then
24159
24160 cat >>confdefs.h <<_ACEOF
24161 #define HAVE_STD__OSTREAM 1
24162 _ACEOF
24163
24164
24165 else
24166 wxUSE_STD_IOSTREAM=no
24167 fi
24168
24169
24170 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24171 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24172 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24173 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24174 { (exit 1); exit 1; }; }
24175 else
24176 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24177 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24178 fi
24179 fi
24180 fi
24181
24182 if test "$wxUSE_STL" = "yes"; then
24183 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24184 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24185 cat >conftest.$ac_ext <<_ACEOF
24186 /* confdefs.h. */
24187 _ACEOF
24188 cat confdefs.h >>conftest.$ac_ext
24189 cat >>conftest.$ac_ext <<_ACEOF
24190 /* end confdefs.h. */
24191 #include <string>
24192 #include <functional>
24193 #include <algorithm>
24194 #include <vector>
24195 #include <list>
24196 int
24197 main ()
24198 {
24199 std::vector<int> moo;
24200 std::list<int> foo;
24201 std::vector<int>::iterator it =
24202 std::find_if(moo.begin(), moo.end(),
24203 std::bind2nd(std::less<int>(), 3));
24204 ;
24205 return 0;
24206 }
24207 _ACEOF
24208 rm -f conftest.$ac_objext
24209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24210 (eval $ac_compile) 2>conftest.er1
24211 ac_status=$?
24212 grep -v '^ *+' conftest.er1 >conftest.err
24213 rm -f conftest.er1
24214 cat conftest.err >&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } &&
24217 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24220 ac_status=$?
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; } &&
24223 { ac_try='test -s conftest.$ac_objext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24226 ac_status=$?
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229 echo "$as_me:$LINENO: result: yes" >&5
24230 echo "${ECHO_T}yes" >&6
24231 else
24232 echo "$as_me: failed program was:" >&5
24233 sed 's/^/| /' conftest.$ac_ext >&5
24234
24235 echo "$as_me:$LINENO: result: no" >&5
24236 echo "${ECHO_T}no" >&6
24237 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24238 echo "$as_me: error: Basic STL functionality missing" >&2;}
24239 { (exit 1); exit 1; }; }
24240 fi
24241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24242
24243 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24244 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 #include <string>
24252 int
24253 main ()
24254 {
24255 std::string foo, bar;
24256 foo.compare(bar);
24257 foo.compare(1, 1, bar);
24258 foo.compare(1, 1, bar, 1, 1);
24259 foo.compare("");
24260 foo.compare(1, 1, "");
24261 foo.compare(1, 1, "", 2);
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>conftest.er1
24269 ac_status=$?
24270 grep -v '^ *+' conftest.er1 >conftest.err
24271 rm -f conftest.er1
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
24281 { ac_try='test -s conftest.$ac_objext'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; }; then
24287 echo "$as_me:$LINENO: result: yes" >&5
24288 echo "${ECHO_T}yes" >&6
24289 cat >>confdefs.h <<\_ACEOF
24290 #define HAVE_STD_STRING_COMPARE 1
24291 _ACEOF
24292
24293 else
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.$ac_ext >&5
24296
24297 echo "$as_me:$LINENO: result: no" >&5
24298 echo "${ECHO_T}no" >&6
24299 fi
24300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24301
24302 if test "${ac_cv_header_hash_map+set}" = set; then
24303 echo "$as_me:$LINENO: checking for hash_map" >&5
24304 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24305 if test "${ac_cv_header_hash_map+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24307 fi
24308 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24309 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24310 else
24311 # Is the header compilable?
24312 echo "$as_me:$LINENO: checking hash_map usability" >&5
24313 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24314 cat >conftest.$ac_ext <<_ACEOF
24315 /* confdefs.h. */
24316 _ACEOF
24317 cat confdefs.h >>conftest.$ac_ext
24318 cat >>conftest.$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 $ac_includes_default
24321 #include <hash_map>
24322 _ACEOF
24323 rm -f conftest.$ac_objext
24324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24325 (eval $ac_compile) 2>conftest.er1
24326 ac_status=$?
24327 grep -v '^ *+' conftest.er1 >conftest.err
24328 rm -f conftest.er1
24329 cat conftest.err >&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); } &&
24332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24335 ac_status=$?
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; } &&
24338 { ac_try='test -s conftest.$ac_objext'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24341 ac_status=$?
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 ac_header_compiler=yes
24345 else
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24348
24349 ac_header_compiler=no
24350 fi
24351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24353 echo "${ECHO_T}$ac_header_compiler" >&6
24354
24355 # Is the header present?
24356 echo "$as_me:$LINENO: checking hash_map presence" >&5
24357 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24358 cat >conftest.$ac_ext <<_ACEOF
24359 /* confdefs.h. */
24360 _ACEOF
24361 cat confdefs.h >>conftest.$ac_ext
24362 cat >>conftest.$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364 #include <hash_map>
24365 _ACEOF
24366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24368 ac_status=$?
24369 grep -v '^ *+' conftest.er1 >conftest.err
24370 rm -f conftest.er1
24371 cat conftest.err >&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } >/dev/null; then
24374 if test -s conftest.err; then
24375 ac_cpp_err=$ac_cxx_preproc_warn_flag
24376 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24377 else
24378 ac_cpp_err=
24379 fi
24380 else
24381 ac_cpp_err=yes
24382 fi
24383 if test -z "$ac_cpp_err"; then
24384 ac_header_preproc=yes
24385 else
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 ac_header_preproc=no
24390 fi
24391 rm -f conftest.err conftest.$ac_ext
24392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24393 echo "${ECHO_T}$ac_header_preproc" >&6
24394
24395 # So? What about this header?
24396 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24397 yes:no: )
24398 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24399 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24400 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24401 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24402 ac_header_preproc=yes
24403 ;;
24404 no:yes:* )
24405 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24406 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24407 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24408 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24409 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24410 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24411 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24412 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24413 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24414 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24416 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24417 (
24418 cat <<\_ASBOX
24419 ## ----------------------------------------- ##
24420 ## Report this to wx-dev@lists.wxwidgets.org ##
24421 ## ----------------------------------------- ##
24422 _ASBOX
24423 ) |
24424 sed "s/^/$as_me: WARNING: /" >&2
24425 ;;
24426 esac
24427 echo "$as_me:$LINENO: checking for hash_map" >&5
24428 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24429 if test "${ac_cv_header_hash_map+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 else
24432 ac_cv_header_hash_map=$ac_header_preproc
24433 fi
24434 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24435 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24436
24437 fi
24438 if test $ac_cv_header_hash_map = yes; then
24439 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24440 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24441 cat >conftest.$ac_ext <<_ACEOF
24442 /* confdefs.h. */
24443 _ACEOF
24444 cat confdefs.h >>conftest.$ac_ext
24445 cat >>conftest.$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 #include <hash_map>
24448 #include <hash_set>
24449 int
24450 main ()
24451 {
24452 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24453 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24454 ;
24455 return 0;
24456 }
24457 _ACEOF
24458 rm -f conftest.$ac_objext
24459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24460 (eval $ac_compile) 2>conftest.er1
24461 ac_status=$?
24462 grep -v '^ *+' conftest.er1 >conftest.err
24463 rm -f conftest.er1
24464 cat conftest.err >&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24470 ac_status=$?
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; } &&
24473 { ac_try='test -s conftest.$ac_objext'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24476 ac_status=$?
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; }; then
24479 echo "$as_me:$LINENO: result: yes" >&5
24480 echo "${ECHO_T}yes" >&6
24481 cat >>confdefs.h <<\_ACEOF
24482 #define HAVE_HASH_MAP 1
24483 _ACEOF
24484
24485 cat >>confdefs.h <<\_ACEOF
24486 #define HAVE_STD_HASH_MAP 1
24487 _ACEOF
24488
24489 else
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.$ac_ext >&5
24492
24493 echo "$as_me:$LINENO: result: no" >&5
24494 echo "${ECHO_T}no" >&6
24495 fi
24496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24497
24498 fi
24499
24500
24501
24502 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24503 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24504 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24505 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 fi
24508 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24509 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24510 else
24511 # Is the header compilable?
24512 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24513 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24514 cat >conftest.$ac_ext <<_ACEOF
24515 /* confdefs.h. */
24516 _ACEOF
24517 cat confdefs.h >>conftest.$ac_ext
24518 cat >>conftest.$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24520 $ac_includes_default
24521 #include <ext/hash_map>
24522 _ACEOF
24523 rm -f conftest.$ac_objext
24524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24525 (eval $ac_compile) 2>conftest.er1
24526 ac_status=$?
24527 grep -v '^ *+' conftest.er1 >conftest.err
24528 rm -f conftest.er1
24529 cat conftest.err >&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); } &&
24532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24535 ac_status=$?
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; } &&
24538 { ac_try='test -s conftest.$ac_objext'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24541 ac_status=$?
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 ac_header_compiler=yes
24545 else
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.$ac_ext >&5
24548
24549 ac_header_compiler=no
24550 fi
24551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24553 echo "${ECHO_T}$ac_header_compiler" >&6
24554
24555 # Is the header present?
24556 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24557 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #include <ext/hash_map>
24565 _ACEOF
24566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24568 ac_status=$?
24569 grep -v '^ *+' conftest.er1 >conftest.err
24570 rm -f conftest.er1
24571 cat conftest.err >&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } >/dev/null; then
24574 if test -s conftest.err; then
24575 ac_cpp_err=$ac_cxx_preproc_warn_flag
24576 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24577 else
24578 ac_cpp_err=
24579 fi
24580 else
24581 ac_cpp_err=yes
24582 fi
24583 if test -z "$ac_cpp_err"; then
24584 ac_header_preproc=yes
24585 else
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.$ac_ext >&5
24588
24589 ac_header_preproc=no
24590 fi
24591 rm -f conftest.err conftest.$ac_ext
24592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24593 echo "${ECHO_T}$ac_header_preproc" >&6
24594
24595 # So? What about this header?
24596 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24597 yes:no: )
24598 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24599 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24600 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24601 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24602 ac_header_preproc=yes
24603 ;;
24604 no:yes:* )
24605 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24606 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24607 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24608 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24609 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24610 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24611 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24612 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24613 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24614 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24615 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24616 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24617 (
24618 cat <<\_ASBOX
24619 ## ----------------------------------------- ##
24620 ## Report this to wx-dev@lists.wxwidgets.org ##
24621 ## ----------------------------------------- ##
24622 _ASBOX
24623 ) |
24624 sed "s/^/$as_me: WARNING: /" >&2
24625 ;;
24626 esac
24627 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24628 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24629 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24631 else
24632 ac_cv_header_ext_hash_map=$ac_header_preproc
24633 fi
24634 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24635 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24636
24637 fi
24638 if test $ac_cv_header_ext_hash_map = yes; then
24639 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24640 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24641 cat >conftest.$ac_ext <<_ACEOF
24642 /* confdefs.h. */
24643 _ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647 #include <ext/hash_map>
24648 #include <ext/hash_set>
24649 int
24650 main ()
24651 {
24652 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24653 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24654 ;
24655 return 0;
24656 }
24657 _ACEOF
24658 rm -f conftest.$ac_objext
24659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24660 (eval $ac_compile) 2>conftest.er1
24661 ac_status=$?
24662 grep -v '^ *+' conftest.er1 >conftest.err
24663 rm -f conftest.er1
24664 cat conftest.err >&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } &&
24667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24670 ac_status=$?
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; } &&
24673 { ac_try='test -s conftest.$ac_objext'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24676 ac_status=$?
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; }; then
24679 echo "$as_me:$LINENO: result: yes" >&5
24680 echo "${ECHO_T}yes" >&6
24681 cat >>confdefs.h <<\_ACEOF
24682 #define HAVE_EXT_HASH_MAP 1
24683 _ACEOF
24684
24685 cat >>confdefs.h <<\_ACEOF
24686 #define HAVE_GNU_CXX_HASH_MAP 1
24687 _ACEOF
24688
24689 else
24690 echo "$as_me: failed program was:" >&5
24691 sed 's/^/| /' conftest.$ac_ext >&5
24692
24693 echo "$as_me:$LINENO: result: no" >&5
24694 echo "${ECHO_T}no" >&6
24695 fi
24696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24697
24698 fi
24699
24700
24701 fi
24702
24703
24704 SEARCH_INCLUDE="\
24705 /usr/local/include \
24706 \
24707 /usr/Motif-2.1/include \
24708 /usr/Motif-1.2/include \
24709 /usr/include/Motif1.2 \
24710 \
24711 /usr/dt/include \
24712 /usr/openwin/include \
24713 \
24714 /usr/include/Xm \
24715 \
24716 /usr/X11R6/include \
24717 /usr/X11R6.4/include \
24718 /usr/X11R5/include \
24719 /usr/X11R4/include \
24720 \
24721 /usr/include/X11R6 \
24722 /usr/include/X11R5 \
24723 /usr/include/X11R4 \
24724 \
24725 /usr/local/X11R6/include \
24726 /usr/local/X11R5/include \
24727 /usr/local/X11R4/include \
24728 \
24729 /usr/local/include/X11R6 \
24730 /usr/local/include/X11R5 \
24731 /usr/local/include/X11R4 \
24732 \
24733 /usr/X11/include \
24734 /usr/include/X11 \
24735 /usr/local/X11/include \
24736 /usr/local/include/X11 \
24737 \
24738 /usr/XFree86/include/X11 \
24739 /usr/pkg/include \
24740 \
24741 /usr/openwin/share/include"
24742
24743 echo "$as_me:$LINENO: checking for libraries directory" >&5
24744 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24745
24746 case "${host}" in
24747 *-*-irix6* )
24748 if test "${wx_cv_std_libpath+set}" = set; then
24749 echo $ECHO_N "(cached) $ECHO_C" >&6
24750 else
24751
24752 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24753 for e in a so sl dylib dll.a; do
24754 libc="$d/libc.$e"
24755 if test -f $libc; then
24756 save_LIBS="$LIBS"
24757 LIBS="$libc"
24758 cat >conftest.$ac_ext <<_ACEOF
24759 int main() { return 0; }
24760 _ACEOF
24761 rm -f conftest.$ac_objext conftest$ac_exeext
24762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24763 (eval $ac_link) 2>conftest.er1
24764 ac_status=$?
24765 grep -v '^ *+' conftest.er1 >conftest.err
24766 rm -f conftest.er1
24767 cat conftest.err >&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } &&
24770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; } &&
24776 { ac_try='test -s conftest$ac_exeext'
24777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778 (eval $ac_try) 2>&5
24779 ac_status=$?
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; }; then
24782 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24783 else
24784 echo "$as_me: failed program was:" >&5
24785 sed 's/^/| /' conftest.$ac_ext >&5
24786
24787 fi
24788 rm -f conftest.err conftest.$ac_objext \
24789 conftest$ac_exeext conftest.$ac_ext
24790 LIBS="$save_LIBS"
24791 if test "x$wx_cv_std_libpath" != "x"; then
24792 break 2
24793 fi
24794 fi
24795 done
24796 done
24797 if test "x$wx_cv_std_libpath" = "x"; then
24798 wx_cv_std_libpath="lib"
24799 fi
24800
24801
24802 fi
24803
24804 ;;
24805
24806 *-*-solaris2* )
24807 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24808 wx_cv_std_libpath="lib/64"
24809 else
24810 wx_cv_std_libpath="lib"
24811 fi
24812 ;;
24813
24814 *-*-linux* )
24815 if test "$ac_cv_sizeof_void_p" = 8 -a \
24816 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24817 wx_cv_std_libpath="lib64"
24818 else
24819 wx_cv_std_libpath="lib"
24820 fi
24821 ;;
24822
24823 *)
24824 wx_cv_std_libpath="lib";
24825 ;;
24826 esac
24827
24828 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24829 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24830
24831 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24832
24833 if test "$build" != "$host" -a "$GCC" = yes; then
24834 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24835 cross_root=`dirname $cross_root`
24836 cross_root=`dirname $cross_root`
24837
24838 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24839 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24840 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24841
24842 if test -z "$PKG_CONFIG_PATH"; then
24843 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24844 export PKG_CONFIG_PATH
24845 fi
24846
24847 if test -z "$x_includes" -o "$x_includes" = NONE; then
24848
24849 ac_find_includes=
24850 for ac_dir in $SEARCH_INCLUDE /usr/include;
24851 do
24852 if test -f "$ac_dir/X11/Intrinsic.h"; then
24853 ac_find_includes=$ac_dir
24854 break
24855 fi
24856 done
24857
24858 x_includes=$ac_find_includes
24859 fi
24860 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24861
24862 ac_find_libraries=
24863 for ac_dir in $SEARCH_LIB;
24864 do
24865 for ac_extension in a so sl dylib dll.a; do
24866 if test -f "$ac_dir/libXt.$ac_extension"; then
24867 ac_find_libraries=$ac_dir
24868 break 2
24869 fi
24870 done
24871 done
24872
24873 x_libraries=$ac_find_libraries
24874 fi
24875 fi
24876 fi
24877
24878
24879 cat >confcache <<\_ACEOF
24880 # This file is a shell script that caches the results of configure
24881 # tests run on this system so they can be shared between configure
24882 # scripts and configure runs, see configure's option --config-cache.
24883 # It is not useful on other systems. If it contains results you don't
24884 # want to keep, you may remove or edit it.
24885 #
24886 # config.status only pays attention to the cache file if you give it
24887 # the --recheck option to rerun configure.
24888 #
24889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24891 # following values.
24892
24893 _ACEOF
24894
24895 # The following way of writing the cache mishandles newlines in values,
24896 # but we know of no workaround that is simple, portable, and efficient.
24897 # So, don't put newlines in cache variables' values.
24898 # Ultrix sh set writes to stderr and can't be redirected directly,
24899 # and sets the high bit in the cache file unless we assign to the vars.
24900 {
24901 (set) 2>&1 |
24902 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24903 *ac_space=\ *)
24904 # `set' does not quote correctly, so add quotes (double-quote
24905 # substitution turns \\\\ into \\, and sed turns \\ into \).
24906 sed -n \
24907 "s/'/'\\\\''/g;
24908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24909 ;;
24910 *)
24911 # `set' quotes correctly as required by POSIX, so do not add quotes.
24912 sed -n \
24913 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24914 ;;
24915 esac;
24916 } |
24917 sed '
24918 t clear
24919 : clear
24920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24921 t end
24922 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24923 : end' >>confcache
24924 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24925 if test -w $cache_file; then
24926 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24927 cat confcache >$cache_file
24928 else
24929 echo "not updating unwritable cache $cache_file"
24930 fi
24931 fi
24932 rm -f confcache
24933
24934 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24935 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24936 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24937 if test "${wx_cv_lib_glibc21+set}" = set; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24939 else
24940
24941 cat >conftest.$ac_ext <<_ACEOF
24942 /* confdefs.h. */
24943 _ACEOF
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 #include <features.h>
24948 int
24949 main ()
24950 {
24951
24952 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24953 not glibc 2.1
24954 #endif
24955
24956 ;
24957 return 0;
24958 }
24959 _ACEOF
24960 rm -f conftest.$ac_objext
24961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24962 (eval $ac_compile) 2>conftest.er1
24963 ac_status=$?
24964 grep -v '^ *+' conftest.er1 >conftest.err
24965 rm -f conftest.er1
24966 cat conftest.err >&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24972 ac_status=$?
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; } &&
24975 { ac_try='test -s conftest.$ac_objext'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24978 ac_status=$?
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24981
24982 wx_cv_lib_glibc21=yes
24983
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24987
24988
24989 wx_cv_lib_glibc21=no
24990
24991
24992 fi
24993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24994
24995 fi
24996 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24997 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24998 if test "$wx_cv_lib_glibc21" = "yes"; then
24999 cat >>confdefs.h <<\_ACEOF
25000 #define wxHAVE_GLIBC2 1
25001 _ACEOF
25002
25003 fi
25004 fi
25005
25006 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25007 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25008 cat >>confdefs.h <<\_ACEOF
25009 #define _GNU_SOURCE 1
25010 _ACEOF
25011
25012 fi
25013 fi
25014
25015 have_cos=0
25016 have_floor=0
25017
25018 for ac_func in cos
25019 do
25020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25021 echo "$as_me:$LINENO: checking for $ac_func" >&5
25022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25023 if eval "test \"\${$as_ac_var+set}\" = set"; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 else
25026 cat >conftest.$ac_ext <<_ACEOF
25027 /* confdefs.h. */
25028 _ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25034 #define $ac_func innocuous_$ac_func
25035
25036 /* System header to define __stub macros and hopefully few prototypes,
25037 which can conflict with char $ac_func (); below.
25038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25039 <limits.h> exists even on freestanding compilers. */
25040
25041 #ifdef __STDC__
25042 # include <limits.h>
25043 #else
25044 # include <assert.h>
25045 #endif
25046
25047 #undef $ac_func
25048
25049 /* Override any gcc2 internal prototype to avoid an error. */
25050 #ifdef __cplusplus
25051 extern "C"
25052 {
25053 #endif
25054 /* We use char because int might match the return type of a gcc2
25055 builtin and then its argument prototype would still apply. */
25056 char $ac_func ();
25057 /* The GNU C library defines this for functions which it implements
25058 to always fail with ENOSYS. Some functions are actually named
25059 something starting with __ and the normal name is an alias. */
25060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25061 choke me
25062 #else
25063 char (*f) () = $ac_func;
25064 #endif
25065 #ifdef __cplusplus
25066 }
25067 #endif
25068
25069 int
25070 main ()
25071 {
25072 return f != $ac_func;
25073 ;
25074 return 0;
25075 }
25076 _ACEOF
25077 rm -f conftest.$ac_objext conftest$ac_exeext
25078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25079 (eval $ac_link) 2>conftest.er1
25080 ac_status=$?
25081 grep -v '^ *+' conftest.er1 >conftest.err
25082 rm -f conftest.er1
25083 cat conftest.err >&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); } &&
25086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25088 (eval $ac_try) 2>&5
25089 ac_status=$?
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); }; } &&
25092 { ac_try='test -s conftest$ac_exeext'
25093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25094 (eval $ac_try) 2>&5
25095 ac_status=$?
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; }; then
25098 eval "$as_ac_var=yes"
25099 else
25100 echo "$as_me: failed program was:" >&5
25101 sed 's/^/| /' conftest.$ac_ext >&5
25102
25103 eval "$as_ac_var=no"
25104 fi
25105 rm -f conftest.err conftest.$ac_objext \
25106 conftest$ac_exeext conftest.$ac_ext
25107 fi
25108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25110 if test `eval echo '${'$as_ac_var'}'` = yes; then
25111 cat >>confdefs.h <<_ACEOF
25112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25113 _ACEOF
25114 have_cos=1
25115 fi
25116 done
25117
25118
25119 for ac_func in floor
25120 do
25121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25122 echo "$as_me:$LINENO: checking for $ac_func" >&5
25123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25124 if eval "test \"\${$as_ac_var+set}\" = set"; then
25125 echo $ECHO_N "(cached) $ECHO_C" >&6
25126 else
25127 cat >conftest.$ac_ext <<_ACEOF
25128 /* confdefs.h. */
25129 _ACEOF
25130 cat confdefs.h >>conftest.$ac_ext
25131 cat >>conftest.$ac_ext <<_ACEOF
25132 /* end confdefs.h. */
25133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25135 #define $ac_func innocuous_$ac_func
25136
25137 /* System header to define __stub macros and hopefully few prototypes,
25138 which can conflict with char $ac_func (); below.
25139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25140 <limits.h> exists even on freestanding compilers. */
25141
25142 #ifdef __STDC__
25143 # include <limits.h>
25144 #else
25145 # include <assert.h>
25146 #endif
25147
25148 #undef $ac_func
25149
25150 /* Override any gcc2 internal prototype to avoid an error. */
25151 #ifdef __cplusplus
25152 extern "C"
25153 {
25154 #endif
25155 /* We use char because int might match the return type of a gcc2
25156 builtin and then its argument prototype would still apply. */
25157 char $ac_func ();
25158 /* The GNU C library defines this for functions which it implements
25159 to always fail with ENOSYS. Some functions are actually named
25160 something starting with __ and the normal name is an alias. */
25161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25162 choke me
25163 #else
25164 char (*f) () = $ac_func;
25165 #endif
25166 #ifdef __cplusplus
25167 }
25168 #endif
25169
25170 int
25171 main ()
25172 {
25173 return f != $ac_func;
25174 ;
25175 return 0;
25176 }
25177 _ACEOF
25178 rm -f conftest.$ac_objext conftest$ac_exeext
25179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25180 (eval $ac_link) 2>conftest.er1
25181 ac_status=$?
25182 grep -v '^ *+' conftest.er1 >conftest.err
25183 rm -f conftest.er1
25184 cat conftest.err >&5
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); } &&
25187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25190 ac_status=$?
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; } &&
25193 { ac_try='test -s conftest$ac_exeext'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; }; then
25199 eval "$as_ac_var=yes"
25200 else
25201 echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25203
25204 eval "$as_ac_var=no"
25205 fi
25206 rm -f conftest.err conftest.$ac_objext \
25207 conftest$ac_exeext conftest.$ac_ext
25208 fi
25209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25211 if test `eval echo '${'$as_ac_var'}'` = yes; then
25212 cat >>confdefs.h <<_ACEOF
25213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25214 _ACEOF
25215 have_floor=1
25216 fi
25217 done
25218
25219 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25220 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25221 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25222 echo "$as_me:$LINENO: result: yes" >&5
25223 echo "${ECHO_T}yes" >&6
25224 else
25225 echo "$as_me:$LINENO: result: no" >&5
25226 echo "${ECHO_T}no" >&6
25227 LIBS="$LIBS -lm"
25228 # use different functions to avoid configure caching
25229 have_sin=0
25230 have_ceil=0
25231
25232 for ac_func in sin
25233 do
25234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25235 echo "$as_me:$LINENO: checking for $ac_func" >&5
25236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25237 if eval "test \"\${$as_ac_var+set}\" = set"; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25240 cat >conftest.$ac_ext <<_ACEOF
25241 /* confdefs.h. */
25242 _ACEOF
25243 cat confdefs.h >>conftest.$ac_ext
25244 cat >>conftest.$ac_ext <<_ACEOF
25245 /* end confdefs.h. */
25246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25248 #define $ac_func innocuous_$ac_func
25249
25250 /* System header to define __stub macros and hopefully few prototypes,
25251 which can conflict with char $ac_func (); below.
25252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25253 <limits.h> exists even on freestanding compilers. */
25254
25255 #ifdef __STDC__
25256 # include <limits.h>
25257 #else
25258 # include <assert.h>
25259 #endif
25260
25261 #undef $ac_func
25262
25263 /* Override any gcc2 internal prototype to avoid an error. */
25264 #ifdef __cplusplus
25265 extern "C"
25266 {
25267 #endif
25268 /* We use char because int might match the return type of a gcc2
25269 builtin and then its argument prototype would still apply. */
25270 char $ac_func ();
25271 /* The GNU C library defines this for functions which it implements
25272 to always fail with ENOSYS. Some functions are actually named
25273 something starting with __ and the normal name is an alias. */
25274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25275 choke me
25276 #else
25277 char (*f) () = $ac_func;
25278 #endif
25279 #ifdef __cplusplus
25280 }
25281 #endif
25282
25283 int
25284 main ()
25285 {
25286 return f != $ac_func;
25287 ;
25288 return 0;
25289 }
25290 _ACEOF
25291 rm -f conftest.$ac_objext conftest$ac_exeext
25292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25293 (eval $ac_link) 2>conftest.er1
25294 ac_status=$?
25295 grep -v '^ *+' conftest.er1 >conftest.err
25296 rm -f conftest.er1
25297 cat conftest.err >&5
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); } &&
25300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; } &&
25306 { ac_try='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 eval "$as_ac_var=yes"
25313 else
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25316
25317 eval "$as_ac_var=no"
25318 fi
25319 rm -f conftest.err conftest.$ac_objext \
25320 conftest$ac_exeext conftest.$ac_ext
25321 fi
25322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325 cat >>confdefs.h <<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25327 _ACEOF
25328 have_sin=1
25329 fi
25330 done
25331
25332
25333 for ac_func in ceil
25334 do
25335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25336 echo "$as_me:$LINENO: checking for $ac_func" >&5
25337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25338 if eval "test \"\${$as_ac_var+set}\" = set"; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 else
25341 cat >conftest.$ac_ext <<_ACEOF
25342 /* confdefs.h. */
25343 _ACEOF
25344 cat confdefs.h >>conftest.$ac_ext
25345 cat >>conftest.$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25349 #define $ac_func innocuous_$ac_func
25350
25351 /* System header to define __stub macros and hopefully few prototypes,
25352 which can conflict with char $ac_func (); below.
25353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25354 <limits.h> exists even on freestanding compilers. */
25355
25356 #ifdef __STDC__
25357 # include <limits.h>
25358 #else
25359 # include <assert.h>
25360 #endif
25361
25362 #undef $ac_func
25363
25364 /* Override any gcc2 internal prototype to avoid an error. */
25365 #ifdef __cplusplus
25366 extern "C"
25367 {
25368 #endif
25369 /* We use char because int might match the return type of a gcc2
25370 builtin and then its argument prototype would still apply. */
25371 char $ac_func ();
25372 /* The GNU C library defines this for functions which it implements
25373 to always fail with ENOSYS. Some functions are actually named
25374 something starting with __ and the normal name is an alias. */
25375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25376 choke me
25377 #else
25378 char (*f) () = $ac_func;
25379 #endif
25380 #ifdef __cplusplus
25381 }
25382 #endif
25383
25384 int
25385 main ()
25386 {
25387 return f != $ac_func;
25388 ;
25389 return 0;
25390 }
25391 _ACEOF
25392 rm -f conftest.$ac_objext conftest$ac_exeext
25393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25394 (eval $ac_link) 2>conftest.er1
25395 ac_status=$?
25396 grep -v '^ *+' conftest.er1 >conftest.err
25397 rm -f conftest.er1
25398 cat conftest.err >&5
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); } &&
25401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; } &&
25407 { ac_try='test -s conftest$ac_exeext'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25410 ac_status=$?
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; }; then
25413 eval "$as_ac_var=yes"
25414 else
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25417
25418 eval "$as_ac_var=no"
25419 fi
25420 rm -f conftest.err conftest.$ac_objext \
25421 conftest$ac_exeext conftest.$ac_ext
25422 fi
25423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25425 if test `eval echo '${'$as_ac_var'}'` = yes; then
25426 cat >>confdefs.h <<_ACEOF
25427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25428 _ACEOF
25429 have_ceil=1
25430 fi
25431 done
25432
25433 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25434 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25435 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25436 echo "$as_me:$LINENO: result: yes" >&5
25437 echo "${ECHO_T}yes" >&6
25438 else
25439 echo "$as_me:$LINENO: result: no" >&5
25440 echo "${ECHO_T}no" >&6
25441 # not sure we should warn the user, crash, etc.
25442 fi
25443 fi
25444
25445 if test "wxUSE_UNICODE" = "yes"; then
25446
25447 for ac_func in wcstoull
25448 do
25449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25450 echo "$as_me:$LINENO: checking for $ac_func" >&5
25451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25452 if eval "test \"\${$as_ac_var+set}\" = set"; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 else
25455 cat >conftest.$ac_ext <<_ACEOF
25456 /* confdefs.h. */
25457 _ACEOF
25458 cat confdefs.h >>conftest.$ac_ext
25459 cat >>conftest.$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25463 #define $ac_func innocuous_$ac_func
25464
25465 /* System header to define __stub macros and hopefully few prototypes,
25466 which can conflict with char $ac_func (); below.
25467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25468 <limits.h> exists even on freestanding compilers. */
25469
25470 #ifdef __STDC__
25471 # include <limits.h>
25472 #else
25473 # include <assert.h>
25474 #endif
25475
25476 #undef $ac_func
25477
25478 /* Override any gcc2 internal prototype to avoid an error. */
25479 #ifdef __cplusplus
25480 extern "C"
25481 {
25482 #endif
25483 /* We use char because int might match the return type of a gcc2
25484 builtin and then its argument prototype would still apply. */
25485 char $ac_func ();
25486 /* The GNU C library defines this for functions which it implements
25487 to always fail with ENOSYS. Some functions are actually named
25488 something starting with __ and the normal name is an alias. */
25489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25490 choke me
25491 #else
25492 char (*f) () = $ac_func;
25493 #endif
25494 #ifdef __cplusplus
25495 }
25496 #endif
25497
25498 int
25499 main ()
25500 {
25501 return f != $ac_func;
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25509 ac_status=$?
25510 grep -v '^ *+' conftest.er1 >conftest.err
25511 rm -f conftest.er1
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25518 ac_status=$?
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; } &&
25521 { ac_try='test -s conftest$ac_exeext'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25524 ac_status=$?
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; }; then
25527 eval "$as_ac_var=yes"
25528 else
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25531
25532 eval "$as_ac_var=no"
25533 fi
25534 rm -f conftest.err conftest.$ac_objext \
25535 conftest$ac_exeext conftest.$ac_ext
25536 fi
25537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25539 if test `eval echo '${'$as_ac_var'}'` = yes; then
25540 cat >>confdefs.h <<_ACEOF
25541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25542 _ACEOF
25543
25544 fi
25545 done
25546
25547 else
25548
25549 for ac_func in strtoull
25550 do
25551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25552 echo "$as_me:$LINENO: checking for $ac_func" >&5
25553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25554 if eval "test \"\${$as_ac_var+set}\" = set"; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 else
25557 cat >conftest.$ac_ext <<_ACEOF
25558 /* confdefs.h. */
25559 _ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25565 #define $ac_func innocuous_$ac_func
25566
25567 /* System header to define __stub macros and hopefully few prototypes,
25568 which can conflict with char $ac_func (); below.
25569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25570 <limits.h> exists even on freestanding compilers. */
25571
25572 #ifdef __STDC__
25573 # include <limits.h>
25574 #else
25575 # include <assert.h>
25576 #endif
25577
25578 #undef $ac_func
25579
25580 /* Override any gcc2 internal prototype to avoid an error. */
25581 #ifdef __cplusplus
25582 extern "C"
25583 {
25584 #endif
25585 /* We use char because int might match the return type of a gcc2
25586 builtin and then its argument prototype would still apply. */
25587 char $ac_func ();
25588 /* The GNU C library defines this for functions which it implements
25589 to always fail with ENOSYS. Some functions are actually named
25590 something starting with __ and the normal name is an alias. */
25591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25592 choke me
25593 #else
25594 char (*f) () = $ac_func;
25595 #endif
25596 #ifdef __cplusplus
25597 }
25598 #endif
25599
25600 int
25601 main ()
25602 {
25603 return f != $ac_func;
25604 ;
25605 return 0;
25606 }
25607 _ACEOF
25608 rm -f conftest.$ac_objext conftest$ac_exeext
25609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25610 (eval $ac_link) 2>conftest.er1
25611 ac_status=$?
25612 grep -v '^ *+' conftest.er1 >conftest.err
25613 rm -f conftest.er1
25614 cat conftest.err >&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); } &&
25617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25619 (eval $ac_try) 2>&5
25620 ac_status=$?
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); }; } &&
25623 { ac_try='test -s conftest$ac_exeext'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25626 ac_status=$?
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 eval "$as_ac_var=yes"
25630 else
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 eval "$as_ac_var=no"
25635 fi
25636 rm -f conftest.err conftest.$ac_objext \
25637 conftest$ac_exeext conftest.$ac_ext
25638 fi
25639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25641 if test `eval echo '${'$as_ac_var'}'` = yes; then
25642 cat >>confdefs.h <<_ACEOF
25643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25644 _ACEOF
25645
25646 fi
25647 done
25648
25649 fi
25650
25651
25652
25653 if test "$wxUSE_REGEX" != "no"; then
25654 cat >>confdefs.h <<\_ACEOF
25655 #define wxUSE_REGEX 1
25656 _ACEOF
25657
25658
25659 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25660 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25661 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25662 wxUSE_REGEX=builtin
25663 fi
25664
25665 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25666 if test "${ac_cv_header_regex_h+set}" = set; then
25667 echo "$as_me:$LINENO: checking for regex.h" >&5
25668 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25669 if test "${ac_cv_header_regex_h+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 fi
25672 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25673 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25674 else
25675 # Is the header compilable?
25676 echo "$as_me:$LINENO: checking regex.h usability" >&5
25677 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25678 cat >conftest.$ac_ext <<_ACEOF
25679 /* confdefs.h. */
25680 _ACEOF
25681 cat confdefs.h >>conftest.$ac_ext
25682 cat >>conftest.$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684 $ac_includes_default
25685 #include <regex.h>
25686 _ACEOF
25687 rm -f conftest.$ac_objext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25689 (eval $ac_compile) 2>conftest.er1
25690 ac_status=$?
25691 grep -v '^ *+' conftest.er1 >conftest.err
25692 rm -f conftest.er1
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } &&
25696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try='test -s conftest.$ac_objext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25705 ac_status=$?
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 ac_header_compiler=yes
25709 else
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.$ac_ext >&5
25712
25713 ac_header_compiler=no
25714 fi
25715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25717 echo "${ECHO_T}$ac_header_compiler" >&6
25718
25719 # Is the header present?
25720 echo "$as_me:$LINENO: checking regex.h presence" >&5
25721 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25722 cat >conftest.$ac_ext <<_ACEOF
25723 /* confdefs.h. */
25724 _ACEOF
25725 cat confdefs.h >>conftest.$ac_ext
25726 cat >>conftest.$ac_ext <<_ACEOF
25727 /* end confdefs.h. */
25728 #include <regex.h>
25729 _ACEOF
25730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25732 ac_status=$?
25733 grep -v '^ *+' conftest.er1 >conftest.err
25734 rm -f conftest.er1
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } >/dev/null; then
25738 if test -s conftest.err; then
25739 ac_cpp_err=$ac_cxx_preproc_warn_flag
25740 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25741 else
25742 ac_cpp_err=
25743 fi
25744 else
25745 ac_cpp_err=yes
25746 fi
25747 if test -z "$ac_cpp_err"; then
25748 ac_header_preproc=yes
25749 else
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.$ac_ext >&5
25752
25753 ac_header_preproc=no
25754 fi
25755 rm -f conftest.err conftest.$ac_ext
25756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25757 echo "${ECHO_T}$ac_header_preproc" >&6
25758
25759 # So? What about this header?
25760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25761 yes:no: )
25762 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25763 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25765 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25766 ac_header_preproc=yes
25767 ;;
25768 no:yes:* )
25769 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25770 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25771 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25772 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25773 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25774 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25775 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25776 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25777 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25778 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25779 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25780 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25781 (
25782 cat <<\_ASBOX
25783 ## ----------------------------------------- ##
25784 ## Report this to wx-dev@lists.wxwidgets.org ##
25785 ## ----------------------------------------- ##
25786 _ASBOX
25787 ) |
25788 sed "s/^/$as_me: WARNING: /" >&2
25789 ;;
25790 esac
25791 echo "$as_me:$LINENO: checking for regex.h" >&5
25792 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25793 if test "${ac_cv_header_regex_h+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 else
25796 ac_cv_header_regex_h=$ac_header_preproc
25797 fi
25798 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25799 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25800
25801 fi
25802 if test $ac_cv_header_regex_h = yes; then
25803
25804
25805 for ac_func in regcomp re_search
25806 do
25807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25808 echo "$as_me:$LINENO: checking for $ac_func" >&5
25809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25810 if eval "test \"\${$as_ac_var+set}\" = set"; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25813 cat >conftest.$ac_ext <<_ACEOF
25814 /* confdefs.h. */
25815 _ACEOF
25816 cat confdefs.h >>conftest.$ac_ext
25817 cat >>conftest.$ac_ext <<_ACEOF
25818 /* end confdefs.h. */
25819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25821 #define $ac_func innocuous_$ac_func
25822
25823 /* System header to define __stub macros and hopefully few prototypes,
25824 which can conflict with char $ac_func (); below.
25825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25826 <limits.h> exists even on freestanding compilers. */
25827
25828 #ifdef __STDC__
25829 # include <limits.h>
25830 #else
25831 # include <assert.h>
25832 #endif
25833
25834 #undef $ac_func
25835
25836 /* Override any gcc2 internal prototype to avoid an error. */
25837 #ifdef __cplusplus
25838 extern "C"
25839 {
25840 #endif
25841 /* We use char because int might match the return type of a gcc2
25842 builtin and then its argument prototype would still apply. */
25843 char $ac_func ();
25844 /* The GNU C library defines this for functions which it implements
25845 to always fail with ENOSYS. Some functions are actually named
25846 something starting with __ and the normal name is an alias. */
25847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25848 choke me
25849 #else
25850 char (*f) () = $ac_func;
25851 #endif
25852 #ifdef __cplusplus
25853 }
25854 #endif
25855
25856 int
25857 main ()
25858 {
25859 return f != $ac_func;
25860 ;
25861 return 0;
25862 }
25863 _ACEOF
25864 rm -f conftest.$ac_objext conftest$ac_exeext
25865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25866 (eval $ac_link) 2>conftest.er1
25867 ac_status=$?
25868 grep -v '^ *+' conftest.er1 >conftest.err
25869 rm -f conftest.er1
25870 cat conftest.err >&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } &&
25873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25876 ac_status=$?
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; } &&
25879 { ac_try='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25882 ac_status=$?
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25885 eval "$as_ac_var=yes"
25886 else
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.$ac_ext >&5
25889
25890 eval "$as_ac_var=no"
25891 fi
25892 rm -f conftest.err conftest.$ac_objext \
25893 conftest$ac_exeext conftest.$ac_ext
25894 fi
25895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25897 if test `eval echo '${'$as_ac_var'}'` = yes; then
25898 cat >>confdefs.h <<_ACEOF
25899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25900 _ACEOF
25901
25902 fi
25903 done
25904
25905 fi
25906
25907
25908
25909 if test "x$ac_cv_func_regcomp" != "xyes"; then
25910 if test "$wxUSE_REGEX" = "sys" ; then
25911 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25912 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25913 { (exit 1); exit 1; }; }
25914 else
25915 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25916 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25917 wxUSE_REGEX=builtin
25918 fi
25919 else
25920 wxUSE_REGEX=sys
25921 cat >>confdefs.h <<\_ACEOF
25922 #define WX_NO_REGEX_ADVANCED 1
25923 _ACEOF
25924
25925 fi
25926 fi
25927 fi
25928
25929
25930 ZLIB_LINK=
25931 if test "$wxUSE_ZLIB" != "no" ; then
25932 cat >>confdefs.h <<\_ACEOF
25933 #define wxUSE_ZLIB 1
25934 _ACEOF
25935
25936
25937 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25938 if test "$USE_DARWIN" = 1; then
25939 system_zlib_h_ok="yes"
25940 else
25941 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25942 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25943 if test "${ac_cv_header_zlib_h+set}" = set; then
25944 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 else
25946 if test "$cross_compiling" = yes; then
25947 unset ac_cv_header_zlib_h
25948
25949 else
25950 cat >conftest.$ac_ext <<_ACEOF
25951 /* confdefs.h. */
25952 _ACEOF
25953 cat confdefs.h >>conftest.$ac_ext
25954 cat >>conftest.$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25956
25957 #include <zlib.h>
25958 #include <stdio.h>
25959
25960 int main()
25961 {
25962 FILE *f=fopen("conftestval", "w");
25963 if (!f) exit(1);
25964 fprintf(f, "%s",
25965 ZLIB_VERSION[0] == '1' &&
25966 (ZLIB_VERSION[2] > '1' ||
25967 (ZLIB_VERSION[2] == '1' &&
25968 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25969 exit(0);
25970 }
25971
25972 _ACEOF
25973 rm -f conftest$ac_exeext
25974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25975 (eval $ac_link) 2>&5
25976 ac_status=$?
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25981 ac_status=$?
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25984 ac_cv_header_zlib_h=`cat conftestval`
25985 else
25986 echo "$as_me: program exited with status $ac_status" >&5
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.$ac_ext >&5
25989
25990 ( exit $ac_status )
25991 ac_cv_header_zlib_h=no
25992 fi
25993 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25994 fi
25995
25996 fi
25997 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25998 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25999 if test "${ac_cv_header_zlib_h+set}" = set; then
26000 echo "$as_me:$LINENO: checking for zlib.h" >&5
26001 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26002 if test "${ac_cv_header_zlib_h+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 fi
26005 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26006 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26007 else
26008 # Is the header compilable?
26009 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26010 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26011 cat >conftest.$ac_ext <<_ACEOF
26012 /* confdefs.h. */
26013 _ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017 $ac_includes_default
26018 #include <zlib.h>
26019 _ACEOF
26020 rm -f conftest.$ac_objext
26021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26022 (eval $ac_compile) 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } &&
26029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; } &&
26035 { ac_try='test -s conftest.$ac_objext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041 ac_header_compiler=yes
26042 else
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.$ac_ext >&5
26045
26046 ac_header_compiler=no
26047 fi
26048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26050 echo "${ECHO_T}$ac_header_compiler" >&6
26051
26052 # Is the header present?
26053 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26054 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26055 cat >conftest.$ac_ext <<_ACEOF
26056 /* confdefs.h. */
26057 _ACEOF
26058 cat confdefs.h >>conftest.$ac_ext
26059 cat >>conftest.$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26061 #include <zlib.h>
26062 _ACEOF
26063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26065 ac_status=$?
26066 grep -v '^ *+' conftest.er1 >conftest.err
26067 rm -f conftest.er1
26068 cat conftest.err >&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); } >/dev/null; then
26071 if test -s conftest.err; then
26072 ac_cpp_err=$ac_cxx_preproc_warn_flag
26073 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26074 else
26075 ac_cpp_err=
26076 fi
26077 else
26078 ac_cpp_err=yes
26079 fi
26080 if test -z "$ac_cpp_err"; then
26081 ac_header_preproc=yes
26082 else
26083 echo "$as_me: failed program was:" >&5
26084 sed 's/^/| /' conftest.$ac_ext >&5
26085
26086 ac_header_preproc=no
26087 fi
26088 rm -f conftest.err conftest.$ac_ext
26089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26090 echo "${ECHO_T}$ac_header_preproc" >&6
26091
26092 # So? What about this header?
26093 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26094 yes:no: )
26095 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26096 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26097 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26098 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26099 ac_header_preproc=yes
26100 ;;
26101 no:yes:* )
26102 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26103 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26104 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26105 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26106 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26107 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26108 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26109 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26110 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26111 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26112 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26113 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26114 (
26115 cat <<\_ASBOX
26116 ## ----------------------------------------- ##
26117 ## Report this to wx-dev@lists.wxwidgets.org ##
26118 ## ----------------------------------------- ##
26119 _ASBOX
26120 ) |
26121 sed "s/^/$as_me: WARNING: /" >&2
26122 ;;
26123 esac
26124 echo "$as_me:$LINENO: checking for zlib.h" >&5
26125 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26126 if test "${ac_cv_header_zlib_h+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26128 else
26129 ac_cv_header_zlib_h=$ac_header_preproc
26130 fi
26131 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26132 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26133
26134 fi
26135
26136
26137
26138 system_zlib_h_ok=$ac_cv_header_zlib_h
26139 fi
26140
26141 if test "$system_zlib_h_ok" = "yes"; then
26142 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26143 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26144 if test "${ac_cv_lib_z_deflate+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147 ac_check_lib_save_LIBS=$LIBS
26148 LIBS="-lz $LIBS"
26149 cat >conftest.$ac_ext <<_ACEOF
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155
26156 /* Override any gcc2 internal prototype to avoid an error. */
26157 #ifdef __cplusplus
26158 extern "C"
26159 #endif
26160 /* We use char because int might match the return type of a gcc2
26161 builtin and then its argument prototype would still apply. */
26162 char deflate ();
26163 int
26164 main ()
26165 {
26166 deflate ();
26167 ;
26168 return 0;
26169 }
26170 _ACEOF
26171 rm -f conftest.$ac_objext conftest$ac_exeext
26172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26173 (eval $ac_link) 2>conftest.er1
26174 ac_status=$?
26175 grep -v '^ *+' conftest.er1 >conftest.err
26176 rm -f conftest.er1
26177 cat conftest.err >&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26183 ac_status=$?
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; } &&
26186 { ac_try='test -s conftest$ac_exeext'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 ac_cv_lib_z_deflate=yes
26193 else
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.$ac_ext >&5
26196
26197 ac_cv_lib_z_deflate=no
26198 fi
26199 rm -f conftest.err conftest.$ac_objext \
26200 conftest$ac_exeext conftest.$ac_ext
26201 LIBS=$ac_check_lib_save_LIBS
26202 fi
26203 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26204 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26205 if test $ac_cv_lib_z_deflate = yes; then
26206 ZLIB_LINK=" -lz"
26207 fi
26208
26209 fi
26210
26211 if test "x$ZLIB_LINK" = "x" ; then
26212 if test "$wxUSE_ZLIB" = "sys" ; then
26213 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26214 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26215 { (exit 1); exit 1; }; }
26216 else
26217 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26218 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26219 wxUSE_ZLIB=builtin
26220 fi
26221 else
26222 wxUSE_ZLIB=sys
26223 fi
26224 fi
26225 fi
26226
26227
26228 PNG_LINK=
26229 if test "$wxUSE_LIBPNG" != "no" ; then
26230 cat >>confdefs.h <<\_ACEOF
26231 #define wxUSE_LIBPNG 1
26232 _ACEOF
26233
26234
26235 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26236 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26237 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26238 wxUSE_LIBPNG=sys
26239 fi
26240
26241 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26242 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26243 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26244 wxUSE_LIBPNG=builtin
26245 fi
26246
26247 if test "$wxUSE_MGL" != 1 ; then
26248 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26249 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26250 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26251 if test "${ac_cv_header_png_h+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 else
26254 if test "$cross_compiling" = yes; then
26255 unset ac_cv_header_png_h
26256
26257 else
26258 cat >conftest.$ac_ext <<_ACEOF
26259 /* confdefs.h. */
26260 _ACEOF
26261 cat confdefs.h >>conftest.$ac_ext
26262 cat >>conftest.$ac_ext <<_ACEOF
26263 /* end confdefs.h. */
26264
26265 #include <png.h>
26266 #include <stdio.h>
26267
26268 int main()
26269 {
26270 FILE *f=fopen("conftestval", "w");
26271 if (!f) exit(1);
26272 fprintf(f, "%s",
26273 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26274 exit(0);
26275 }
26276
26277 _ACEOF
26278 rm -f conftest$ac_exeext
26279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26280 (eval $ac_link) 2>&5
26281 ac_status=$?
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285 (eval $ac_try) 2>&5
26286 ac_status=$?
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); }; }; then
26289 ac_cv_header_png_h=`cat conftestval`
26290 else
26291 echo "$as_me: program exited with status $ac_status" >&5
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.$ac_ext >&5
26294
26295 ( exit $ac_status )
26296 ac_cv_header_png_h=no
26297 fi
26298 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26299 fi
26300
26301 fi
26302 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26303 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26304 if test "${ac_cv_header_png_h+set}" = set; then
26305 echo "$as_me:$LINENO: checking for png.h" >&5
26306 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26307 if test "${ac_cv_header_png_h+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 fi
26310 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26311 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26312 else
26313 # Is the header compilable?
26314 echo "$as_me:$LINENO: checking png.h usability" >&5
26315 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26316 cat >conftest.$ac_ext <<_ACEOF
26317 /* confdefs.h. */
26318 _ACEOF
26319 cat confdefs.h >>conftest.$ac_ext
26320 cat >>conftest.$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322 $ac_includes_default
26323 #include <png.h>
26324 _ACEOF
26325 rm -f conftest.$ac_objext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26327 (eval $ac_compile) 2>conftest.er1
26328 ac_status=$?
26329 grep -v '^ *+' conftest.er1 >conftest.err
26330 rm -f conftest.er1
26331 cat conftest.err >&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try='test -s conftest.$ac_objext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346 ac_header_compiler=yes
26347 else
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.$ac_ext >&5
26350
26351 ac_header_compiler=no
26352 fi
26353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26355 echo "${ECHO_T}$ac_header_compiler" >&6
26356
26357 # Is the header present?
26358 echo "$as_me:$LINENO: checking png.h presence" >&5
26359 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26360 cat >conftest.$ac_ext <<_ACEOF
26361 /* confdefs.h. */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366 #include <png.h>
26367 _ACEOF
26368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26370 ac_status=$?
26371 grep -v '^ *+' conftest.er1 >conftest.err
26372 rm -f conftest.er1
26373 cat conftest.err >&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } >/dev/null; then
26376 if test -s conftest.err; then
26377 ac_cpp_err=$ac_cxx_preproc_warn_flag
26378 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26379 else
26380 ac_cpp_err=
26381 fi
26382 else
26383 ac_cpp_err=yes
26384 fi
26385 if test -z "$ac_cpp_err"; then
26386 ac_header_preproc=yes
26387 else
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.$ac_ext >&5
26390
26391 ac_header_preproc=no
26392 fi
26393 rm -f conftest.err conftest.$ac_ext
26394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26395 echo "${ECHO_T}$ac_header_preproc" >&6
26396
26397 # So? What about this header?
26398 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26399 yes:no: )
26400 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26401 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26402 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26403 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26404 ac_header_preproc=yes
26405 ;;
26406 no:yes:* )
26407 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26408 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26409 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26410 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26411 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26412 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26413 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26414 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26415 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26416 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26418 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26419 (
26420 cat <<\_ASBOX
26421 ## ----------------------------------------- ##
26422 ## Report this to wx-dev@lists.wxwidgets.org ##
26423 ## ----------------------------------------- ##
26424 _ASBOX
26425 ) |
26426 sed "s/^/$as_me: WARNING: /" >&2
26427 ;;
26428 esac
26429 echo "$as_me:$LINENO: checking for png.h" >&5
26430 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26431 if test "${ac_cv_header_png_h+set}" = set; then
26432 echo $ECHO_N "(cached) $ECHO_C" >&6
26433 else
26434 ac_cv_header_png_h=$ac_header_preproc
26435 fi
26436 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26437 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26438
26439 fi
26440
26441
26442
26443 if test "$ac_cv_header_png_h" = "yes"; then
26444 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26445 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26446 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 ac_check_lib_save_LIBS=$LIBS
26450 LIBS="-lpng -lz -lm $LIBS"
26451 cat >conftest.$ac_ext <<_ACEOF
26452 /* confdefs.h. */
26453 _ACEOF
26454 cat confdefs.h >>conftest.$ac_ext
26455 cat >>conftest.$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26457
26458 /* Override any gcc2 internal prototype to avoid an error. */
26459 #ifdef __cplusplus
26460 extern "C"
26461 #endif
26462 /* We use char because int might match the return type of a gcc2
26463 builtin and then its argument prototype would still apply. */
26464 char png_check_sig ();
26465 int
26466 main ()
26467 {
26468 png_check_sig ();
26469 ;
26470 return 0;
26471 }
26472 _ACEOF
26473 rm -f conftest.$ac_objext conftest$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>conftest.er1
26476 ac_status=$?
26477 grep -v '^ *+' conftest.er1 >conftest.err
26478 rm -f conftest.er1
26479 cat conftest.err >&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26485 ac_status=$?
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26491 ac_status=$?
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_lib_png_png_check_sig=yes
26495 else
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.$ac_ext >&5
26498
26499 ac_cv_lib_png_png_check_sig=no
26500 fi
26501 rm -f conftest.err conftest.$ac_objext \
26502 conftest$ac_exeext conftest.$ac_ext
26503 LIBS=$ac_check_lib_save_LIBS
26504 fi
26505 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26506 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26507 if test $ac_cv_lib_png_png_check_sig = yes; then
26508 PNG_LINK=" -lpng -lz"
26509 fi
26510
26511 fi
26512
26513 if test "x$PNG_LINK" = "x" ; then
26514 if test "$wxUSE_LIBPNG" = "sys" ; then
26515 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26516 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26517 { (exit 1); exit 1; }; }
26518 else
26519 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26520 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26521 wxUSE_LIBPNG=builtin
26522 fi
26523 else
26524 wxUSE_LIBPNG=sys
26525 fi
26526 fi
26527 fi
26528
26529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26530 fi
26531
26532
26533 JPEG_LINK=
26534 if test "$wxUSE_LIBJPEG" != "no" ; then
26535 cat >>confdefs.h <<\_ACEOF
26536 #define wxUSE_LIBJPEG 1
26537 _ACEOF
26538
26539
26540 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26541 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26542 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26543 wxUSE_LIBJPEG=sys
26544 fi
26545
26546 if test "$wxUSE_MGL" != 1 ; then
26547 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26548 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26549 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26550 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 else
26553 cat >conftest.$ac_ext <<_ACEOF
26554 /* confdefs.h. */
26555 _ACEOF
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559
26560 #undef HAVE_STDLIB_H
26561 #include <stdio.h>
26562 #include <jpeglib.h>
26563
26564 int
26565 main ()
26566 {
26567
26568
26569 ;
26570 return 0;
26571 }
26572 _ACEOF
26573 rm -f conftest.$ac_objext
26574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26575 (eval $ac_compile) 2>conftest.er1
26576 ac_status=$?
26577 grep -v '^ *+' conftest.er1 >conftest.err
26578 rm -f conftest.er1
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } &&
26582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26585 ac_status=$?
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; } &&
26588 { ac_try='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 ac_cv_header_jpeglib_h=yes
26595 else
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26598
26599 ac_cv_header_jpeglib_h=no
26600
26601 fi
26602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26603
26604 fi
26605
26606 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26607 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26608
26609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26610 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26611 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26612 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26613 echo $ECHO_N "(cached) $ECHO_C" >&6
26614 else
26615 ac_check_lib_save_LIBS=$LIBS
26616 LIBS="-ljpeg $LIBS"
26617 cat >conftest.$ac_ext <<_ACEOF
26618 /* confdefs.h. */
26619 _ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26623
26624 /* Override any gcc2 internal prototype to avoid an error. */
26625 #ifdef __cplusplus
26626 extern "C"
26627 #endif
26628 /* We use char because int might match the return type of a gcc2
26629 builtin and then its argument prototype would still apply. */
26630 char jpeg_read_header ();
26631 int
26632 main ()
26633 {
26634 jpeg_read_header ();
26635 ;
26636 return 0;
26637 }
26638 _ACEOF
26639 rm -f conftest.$ac_objext conftest$ac_exeext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26641 (eval $ac_link) 2>conftest.er1
26642 ac_status=$?
26643 grep -v '^ *+' conftest.er1 >conftest.err
26644 rm -f conftest.er1
26645 cat conftest.err >&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } &&
26648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26651 ac_status=$?
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; } &&
26654 { ac_try='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26657 ac_status=$?
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 ac_cv_lib_jpeg_jpeg_read_header=yes
26661 else
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.$ac_ext >&5
26664
26665 ac_cv_lib_jpeg_jpeg_read_header=no
26666 fi
26667 rm -f conftest.err conftest.$ac_objext \
26668 conftest$ac_exeext conftest.$ac_ext
26669 LIBS=$ac_check_lib_save_LIBS
26670 fi
26671 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26672 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26673 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26674 JPEG_LINK=" -ljpeg"
26675 fi
26676
26677 fi
26678
26679 if test "x$JPEG_LINK" = "x" ; then
26680 if test "$wxUSE_LIBJPEG" = "sys" ; then
26681 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26682 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26683 { (exit 1); exit 1; }; }
26684 else
26685 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26686 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26687 wxUSE_LIBJPEG=builtin
26688 fi
26689 else
26690 wxUSE_LIBJPEG=sys
26691 fi
26692 fi
26693 fi
26694 fi
26695
26696
26697 TIFF_LINK=
26698 TIFF_PREREQ_LINKS=-lm
26699 if test "$wxUSE_LIBTIFF" != "no" ; then
26700 cat >>confdefs.h <<\_ACEOF
26701 #define wxUSE_LIBTIFF 1
26702 _ACEOF
26703
26704
26705 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26706 if test "$wxUSE_LIBJPEG" = "sys"; then
26707 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26708 fi
26709 if test "$wxUSE_ZLIB" = "sys"; then
26710 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26711 fi
26712 if test "${ac_cv_header_tiffio_h+set}" = set; then
26713 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26714 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26715 if test "${ac_cv_header_tiffio_h+set}" = set; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 fi
26718 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26719 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26720 else
26721 # Is the header compilable?
26722 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26723 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h. */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 $ac_includes_default
26731 #include <tiffio.h>
26732 _ACEOF
26733 rm -f conftest.$ac_objext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26735 (eval $ac_compile) 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 ac_header_compiler=yes
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 ac_header_compiler=no
26760 fi
26761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26763 echo "${ECHO_T}$ac_header_compiler" >&6
26764
26765 # Is the header present?
26766 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26767 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26768 cat >conftest.$ac_ext <<_ACEOF
26769 /* confdefs.h. */
26770 _ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 #include <tiffio.h>
26775 _ACEOF
26776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26778 ac_status=$?
26779 grep -v '^ *+' conftest.er1 >conftest.err
26780 rm -f conftest.er1
26781 cat conftest.err >&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } >/dev/null; then
26784 if test -s conftest.err; then
26785 ac_cpp_err=$ac_cxx_preproc_warn_flag
26786 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26787 else
26788 ac_cpp_err=
26789 fi
26790 else
26791 ac_cpp_err=yes
26792 fi
26793 if test -z "$ac_cpp_err"; then
26794 ac_header_preproc=yes
26795 else
26796 echo "$as_me: failed program was:" >&5
26797 sed 's/^/| /' conftest.$ac_ext >&5
26798
26799 ac_header_preproc=no
26800 fi
26801 rm -f conftest.err conftest.$ac_ext
26802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26803 echo "${ECHO_T}$ac_header_preproc" >&6
26804
26805 # So? What about this header?
26806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26807 yes:no: )
26808 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26809 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26810 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26811 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26812 ac_header_preproc=yes
26813 ;;
26814 no:yes:* )
26815 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26816 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26818 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26820 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26822 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26824 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26825 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26826 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26827 (
26828 cat <<\_ASBOX
26829 ## ----------------------------------------- ##
26830 ## Report this to wx-dev@lists.wxwidgets.org ##
26831 ## ----------------------------------------- ##
26832 _ASBOX
26833 ) |
26834 sed "s/^/$as_me: WARNING: /" >&2
26835 ;;
26836 esac
26837 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26838 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26839 if test "${ac_cv_header_tiffio_h+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 else
26842 ac_cv_header_tiffio_h=$ac_header_preproc
26843 fi
26844 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26845 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26846
26847 fi
26848 if test $ac_cv_header_tiffio_h = yes; then
26849
26850 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26851 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26852 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 else
26855 ac_check_lib_save_LIBS=$LIBS
26856 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26857 cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h. */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863
26864 /* Override any gcc2 internal prototype to avoid an error. */
26865 #ifdef __cplusplus
26866 extern "C"
26867 #endif
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26870 char TIFFError ();
26871 int
26872 main ()
26873 {
26874 TIFFError ();
26875 ;
26876 return 0;
26877 }
26878 _ACEOF
26879 rm -f conftest.$ac_objext conftest$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26882 ac_status=$?
26883 grep -v '^ *+' conftest.er1 >conftest.err
26884 rm -f conftest.er1
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; } &&
26894 { ac_try='test -s conftest$ac_exeext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 ac_cv_lib_tiff_TIFFError=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_cv_lib_tiff_TIFFError=no
26906 fi
26907 rm -f conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26909 LIBS=$ac_check_lib_save_LIBS
26910 fi
26911 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26912 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26913 if test $ac_cv_lib_tiff_TIFFError = yes; then
26914 TIFF_LINK=" -ltiff"
26915 fi
26916
26917
26918
26919 fi
26920
26921
26922
26923 if test "x$TIFF_LINK" = "x" ; then
26924 if test "$wxUSE_LIBTIFF" = "sys" ; then
26925 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26926 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26927 { (exit 1); exit 1; }; }
26928 else
26929 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26930 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26931 wxUSE_LIBTIFF=builtin
26932 fi
26933 else
26934 wxUSE_LIBTIFF=sys
26935 fi
26936 fi
26937 fi
26938
26939
26940 if test "$wxUSE_WCHAR_T" != "yes"; then
26941 if test "$wxUSE_EXPAT" != "no"; then
26942 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26943 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26944 wxUSE_EXPAT=no
26945 fi
26946 if test "$wxUSE_XML" != "no"; then
26947 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26948 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26949 wxUSE_XML=no
26950 fi
26951 fi
26952
26953 if test "$wxUSE_EXPAT" != "no"; then
26954 wxUSE_XML=yes
26955 cat >>confdefs.h <<\_ACEOF
26956 #define wxUSE_EXPAT 1
26957 _ACEOF
26958
26959 cat >>confdefs.h <<\_ACEOF
26960 #define wxUSE_XML 1
26961 _ACEOF
26962
26963
26964 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26965 if test "${ac_cv_header_expat_h+set}" = set; then
26966 echo "$as_me:$LINENO: checking for expat.h" >&5
26967 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26968 if test "${ac_cv_header_expat_h+set}" = set; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26970 fi
26971 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26972 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26973 else
26974 # Is the header compilable?
26975 echo "$as_me:$LINENO: checking expat.h usability" >&5
26976 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26977 cat >conftest.$ac_ext <<_ACEOF
26978 /* confdefs.h. */
26979 _ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 $ac_includes_default
26984 #include <expat.h>
26985 _ACEOF
26986 rm -f conftest.$ac_objext
26987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26988 (eval $ac_compile) 2>conftest.er1
26989 ac_status=$?
26990 grep -v '^ *+' conftest.er1 >conftest.err
26991 rm -f conftest.er1
26992 cat conftest.err >&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } &&
26995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26998 ac_status=$?
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; } &&
27001 { ac_try='test -s conftest.$ac_objext'
27002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27003 (eval $ac_try) 2>&5
27004 ac_status=$?
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); }; }; then
27007 ac_header_compiler=yes
27008 else
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27011
27012 ac_header_compiler=no
27013 fi
27014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27016 echo "${ECHO_T}$ac_header_compiler" >&6
27017
27018 # Is the header present?
27019 echo "$as_me:$LINENO: checking expat.h presence" >&5
27020 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27021 cat >conftest.$ac_ext <<_ACEOF
27022 /* confdefs.h. */
27023 _ACEOF
27024 cat confdefs.h >>conftest.$ac_ext
27025 cat >>conftest.$ac_ext <<_ACEOF
27026 /* end confdefs.h. */
27027 #include <expat.h>
27028 _ACEOF
27029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27031 ac_status=$?
27032 grep -v '^ *+' conftest.er1 >conftest.err
27033 rm -f conftest.er1
27034 cat conftest.err >&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } >/dev/null; then
27037 if test -s conftest.err; then
27038 ac_cpp_err=$ac_cxx_preproc_warn_flag
27039 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27040 else
27041 ac_cpp_err=
27042 fi
27043 else
27044 ac_cpp_err=yes
27045 fi
27046 if test -z "$ac_cpp_err"; then
27047 ac_header_preproc=yes
27048 else
27049 echo "$as_me: failed program was:" >&5
27050 sed 's/^/| /' conftest.$ac_ext >&5
27051
27052 ac_header_preproc=no
27053 fi
27054 rm -f conftest.err conftest.$ac_ext
27055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27056 echo "${ECHO_T}$ac_header_preproc" >&6
27057
27058 # So? What about this header?
27059 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27060 yes:no: )
27061 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27062 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27063 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27064 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27065 ac_header_preproc=yes
27066 ;;
27067 no:yes:* )
27068 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27069 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27070 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27071 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27072 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27073 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27074 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27075 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27076 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27077 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27078 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27079 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27080 (
27081 cat <<\_ASBOX
27082 ## ----------------------------------------- ##
27083 ## Report this to wx-dev@lists.wxwidgets.org ##
27084 ## ----------------------------------------- ##
27085 _ASBOX
27086 ) |
27087 sed "s/^/$as_me: WARNING: /" >&2
27088 ;;
27089 esac
27090 echo "$as_me:$LINENO: checking for expat.h" >&5
27091 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27092 if test "${ac_cv_header_expat_h+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27095 ac_cv_header_expat_h=$ac_header_preproc
27096 fi
27097 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27099
27100 fi
27101 if test $ac_cv_header_expat_h = yes; then
27102 found_expat_h=1
27103 fi
27104
27105
27106 if test "x$found_expat_h" = "x1"; then
27107 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27108 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27109 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27110 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 else
27112
27113 cat >conftest.$ac_ext <<_ACEOF
27114 /* confdefs.h. */
27115 _ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27119 #include <expat.h>
27120 int
27121 main ()
27122 {
27123
27124 ;
27125 return 0;
27126 }
27127 _ACEOF
27128 rm -f conftest.$ac_objext
27129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27130 (eval $ac_compile) 2>conftest.er1
27131 ac_status=$?
27132 grep -v '^ *+' conftest.er1 >conftest.err
27133 rm -f conftest.er1
27134 cat conftest.err >&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); } &&
27137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27140 ac_status=$?
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; } &&
27143 { ac_try='test -s conftest.$ac_objext'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27146 ac_status=$?
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; }; then
27149 wx_cv_expat_is_not_broken=yes
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27153
27154 wx_cv_expat_is_not_broken=no
27155
27156 fi
27157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27158
27159
27160 fi
27161 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27162 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27163 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27164 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27165 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27166 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27167 echo $ECHO_N "(cached) $ECHO_C" >&6
27168 else
27169 ac_check_lib_save_LIBS=$LIBS
27170 LIBS="-lexpat $LIBS"
27171 cat >conftest.$ac_ext <<_ACEOF
27172 /* confdefs.h. */
27173 _ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27177
27178 /* Override any gcc2 internal prototype to avoid an error. */
27179 #ifdef __cplusplus
27180 extern "C"
27181 #endif
27182 /* We use char because int might match the return type of a gcc2
27183 builtin and then its argument prototype would still apply. */
27184 char XML_ParserCreate ();
27185 int
27186 main ()
27187 {
27188 XML_ParserCreate ();
27189 ;
27190 return 0;
27191 }
27192 _ACEOF
27193 rm -f conftest.$ac_objext conftest$ac_exeext
27194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27195 (eval $ac_link) 2>conftest.er1
27196 ac_status=$?
27197 grep -v '^ *+' conftest.er1 >conftest.err
27198 rm -f conftest.er1
27199 cat conftest.err >&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } &&
27202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } &&
27208 { ac_try='test -s conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 ac_cv_lib_expat_XML_ParserCreate=yes
27215 else
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.$ac_ext >&5
27218
27219 ac_cv_lib_expat_XML_ParserCreate=no
27220 fi
27221 rm -f conftest.err conftest.$ac_objext \
27222 conftest$ac_exeext conftest.$ac_ext
27223 LIBS=$ac_check_lib_save_LIBS
27224 fi
27225 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27226 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27227 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27228 EXPAT_LINK=" -lexpat"
27229 fi
27230
27231 fi
27232 fi
27233 if test "x$EXPAT_LINK" = "x" ; then
27234 if test "$wxUSE_EXPAT" = "sys" ; then
27235 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27236 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27237 { (exit 1); exit 1; }; }
27238 else
27239 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27240 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27241 wxUSE_EXPAT=builtin
27242 fi
27243 else
27244 wxUSE_EXPAT=sys
27245 fi
27246 fi
27247 if test "$wxUSE_EXPAT" = "builtin" ; then
27248
27249
27250 subdirs="$subdirs src/expat"
27251
27252 fi
27253 fi
27254
27255
27256
27257 if test "$wxUSE_LIBMSPACK" != "no"; then
27258 if test "${ac_cv_header_mspack_h+set}" = set; then
27259 echo "$as_me:$LINENO: checking for mspack.h" >&5
27260 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27261 if test "${ac_cv_header_mspack_h+set}" = set; then
27262 echo $ECHO_N "(cached) $ECHO_C" >&6
27263 fi
27264 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27265 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27266 else
27267 # Is the header compilable?
27268 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27269 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 $ac_includes_default
27277 #include <mspack.h>
27278 _ACEOF
27279 rm -f conftest.$ac_objext
27280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27281 (eval $ac_compile) 2>conftest.er1
27282 ac_status=$?
27283 grep -v '^ *+' conftest.er1 >conftest.err
27284 rm -f conftest.er1
27285 cat conftest.err >&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); } &&
27288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290 (eval $ac_try) 2>&5
27291 ac_status=$?
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); }; } &&
27294 { ac_try='test -s conftest.$ac_objext'
27295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27296 (eval $ac_try) 2>&5
27297 ac_status=$?
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); }; }; then
27300 ac_header_compiler=yes
27301 else
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.$ac_ext >&5
27304
27305 ac_header_compiler=no
27306 fi
27307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27309 echo "${ECHO_T}$ac_header_compiler" >&6
27310
27311 # Is the header present?
27312 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27313 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27314 cat >conftest.$ac_ext <<_ACEOF
27315 /* confdefs.h. */
27316 _ACEOF
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 #include <mspack.h>
27321 _ACEOF
27322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27324 ac_status=$?
27325 grep -v '^ *+' conftest.er1 >conftest.err
27326 rm -f conftest.er1
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } >/dev/null; then
27330 if test -s conftest.err; then
27331 ac_cpp_err=$ac_cxx_preproc_warn_flag
27332 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27333 else
27334 ac_cpp_err=
27335 fi
27336 else
27337 ac_cpp_err=yes
27338 fi
27339 if test -z "$ac_cpp_err"; then
27340 ac_header_preproc=yes
27341 else
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.$ac_ext >&5
27344
27345 ac_header_preproc=no
27346 fi
27347 rm -f conftest.err conftest.$ac_ext
27348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27349 echo "${ECHO_T}$ac_header_preproc" >&6
27350
27351 # So? What about this header?
27352 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27353 yes:no: )
27354 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27355 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27356 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27357 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27358 ac_header_preproc=yes
27359 ;;
27360 no:yes:* )
27361 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27362 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27363 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27364 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27365 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27366 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27367 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27368 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27370 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27372 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27373 (
27374 cat <<\_ASBOX
27375 ## ----------------------------------------- ##
27376 ## Report this to wx-dev@lists.wxwidgets.org ##
27377 ## ----------------------------------------- ##
27378 _ASBOX
27379 ) |
27380 sed "s/^/$as_me: WARNING: /" >&2
27381 ;;
27382 esac
27383 echo "$as_me:$LINENO: checking for mspack.h" >&5
27384 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27385 if test "${ac_cv_header_mspack_h+set}" = set; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 else
27388 ac_cv_header_mspack_h=$ac_header_preproc
27389 fi
27390 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27391 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27392
27393 fi
27394 if test $ac_cv_header_mspack_h = yes; then
27395 found_mspack_h=1
27396 fi
27397
27398
27399 if test "x$found_mspack_h" = "x1"; then
27400 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27401 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27402 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6
27404 else
27405 ac_check_lib_save_LIBS=$LIBS
27406 LIBS="-lmspack $LIBS"
27407 cat >conftest.$ac_ext <<_ACEOF
27408 /* confdefs.h. */
27409 _ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27413
27414 /* Override any gcc2 internal prototype to avoid an error. */
27415 #ifdef __cplusplus
27416 extern "C"
27417 #endif
27418 /* We use char because int might match the return type of a gcc2
27419 builtin and then its argument prototype would still apply. */
27420 char mspack_create_chm_decompressor ();
27421 int
27422 main ()
27423 {
27424 mspack_create_chm_decompressor ();
27425 ;
27426 return 0;
27427 }
27428 _ACEOF
27429 rm -f conftest.$ac_objext conftest$ac_exeext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27431 (eval $ac_link) 2>conftest.er1
27432 ac_status=$?
27433 grep -v '^ *+' conftest.er1 >conftest.err
27434 rm -f conftest.er1
27435 cat conftest.err >&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27440 (eval $ac_try) 2>&5
27441 ac_status=$?
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; } &&
27444 { ac_try='test -s conftest$ac_exeext'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27447 ac_status=$?
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; }; then
27450 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27451 else
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.$ac_ext >&5
27454
27455 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27456 fi
27457 rm -f conftest.err conftest.$ac_objext \
27458 conftest$ac_exeext conftest.$ac_ext
27459 LIBS=$ac_check_lib_save_LIBS
27460 fi
27461 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27462 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27463 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27464 MSPACK_LINK=" -lmspack"
27465 fi
27466
27467 fi
27468 if test "x$MSPACK_LINK" = "x" ; then
27469 wxUSE_LIBMSPACK=no
27470 fi
27471 fi
27472
27473 if test "$wxUSE_LIBMSPACK" != "no"; then
27474 cat >>confdefs.h <<\_ACEOF
27475 #define wxUSE_LIBMSPACK 1
27476 _ACEOF
27477
27478 fi
27479
27480
27481
27482 AFMINSTALL=
27483 WIN32INSTALL=
27484
27485 TOOLKIT=
27486 TOOLKIT_INCLUDE=
27487 WIDGET_SET=
27488
27489 if test "$USE_WIN32" = 1 ; then
27490
27491 for ac_header in w32api.h
27492 do
27493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27495 echo "$as_me:$LINENO: checking for $ac_header" >&5
27496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27499 fi
27500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27502 else
27503 # Is the header compilable?
27504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27506 cat >conftest.$ac_ext <<_ACEOF
27507 /* confdefs.h. */
27508 _ACEOF
27509 cat confdefs.h >>conftest.$ac_ext
27510 cat >>conftest.$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27512 $ac_includes_default
27513 #include <$ac_header>
27514 _ACEOF
27515 rm -f conftest.$ac_objext
27516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27517 (eval $ac_compile) 2>conftest.er1
27518 ac_status=$?
27519 grep -v '^ *+' conftest.er1 >conftest.err
27520 rm -f conftest.er1
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } &&
27524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27527 ac_status=$?
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); }; } &&
27530 { ac_try='test -s conftest.$ac_objext'
27531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532 (eval $ac_try) 2>&5
27533 ac_status=$?
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); }; }; then
27536 ac_header_compiler=yes
27537 else
27538 echo "$as_me: failed program was:" >&5
27539 sed 's/^/| /' conftest.$ac_ext >&5
27540
27541 ac_header_compiler=no
27542 fi
27543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27545 echo "${ECHO_T}$ac_header_compiler" >&6
27546
27547 # Is the header present?
27548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h. */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27556 #include <$ac_header>
27557 _ACEOF
27558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27560 ac_status=$?
27561 grep -v '^ *+' conftest.er1 >conftest.err
27562 rm -f conftest.er1
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } >/dev/null; then
27566 if test -s conftest.err; then
27567 ac_cpp_err=$ac_cxx_preproc_warn_flag
27568 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27569 else
27570 ac_cpp_err=
27571 fi
27572 else
27573 ac_cpp_err=yes
27574 fi
27575 if test -z "$ac_cpp_err"; then
27576 ac_header_preproc=yes
27577 else
27578 echo "$as_me: failed program was:" >&5
27579 sed 's/^/| /' conftest.$ac_ext >&5
27580
27581 ac_header_preproc=no
27582 fi
27583 rm -f conftest.err conftest.$ac_ext
27584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27585 echo "${ECHO_T}$ac_header_preproc" >&6
27586
27587 # So? What about this header?
27588 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27589 yes:no: )
27590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27594 ac_header_preproc=yes
27595 ;;
27596 no:yes:* )
27597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27609 (
27610 cat <<\_ASBOX
27611 ## ----------------------------------------- ##
27612 ## Report this to wx-dev@lists.wxwidgets.org ##
27613 ## ----------------------------------------- ##
27614 _ASBOX
27615 ) |
27616 sed "s/^/$as_me: WARNING: /" >&2
27617 ;;
27618 esac
27619 echo "$as_me:$LINENO: checking for $ac_header" >&5
27620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 else
27624 eval "$as_ac_Header=\$ac_header_preproc"
27625 fi
27626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27628
27629 fi
27630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27631 cat >>confdefs.h <<_ACEOF
27632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27633 _ACEOF
27634
27635 fi
27636
27637 done
27638
27639 if test "${ac_cv_header_windows_h+set}" = set; then
27640 echo "$as_me:$LINENO: checking for windows.h" >&5
27641 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27642 if test "${ac_cv_header_windows_h+set}" = set; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27644 fi
27645 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27646 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27647 else
27648 # Is the header compilable?
27649 echo "$as_me:$LINENO: checking windows.h usability" >&5
27650 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27651 cat >conftest.$ac_ext <<_ACEOF
27652 /* confdefs.h. */
27653 _ACEOF
27654 cat confdefs.h >>conftest.$ac_ext
27655 cat >>conftest.$ac_ext <<_ACEOF
27656 /* end confdefs.h. */
27657 $ac_includes_default
27658 #include <windows.h>
27659 _ACEOF
27660 rm -f conftest.$ac_objext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27662 (eval $ac_compile) 2>conftest.er1
27663 ac_status=$?
27664 grep -v '^ *+' conftest.er1 >conftest.err
27665 rm -f conftest.er1
27666 cat conftest.err >&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27672 ac_status=$?
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; } &&
27675 { ac_try='test -s conftest.$ac_objext'
27676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677 (eval $ac_try) 2>&5
27678 ac_status=$?
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); }; }; then
27681 ac_header_compiler=yes
27682 else
27683 echo "$as_me: failed program was:" >&5
27684 sed 's/^/| /' conftest.$ac_ext >&5
27685
27686 ac_header_compiler=no
27687 fi
27688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27690 echo "${ECHO_T}$ac_header_compiler" >&6
27691
27692 # Is the header present?
27693 echo "$as_me:$LINENO: checking windows.h presence" >&5
27694 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27695 cat >conftest.$ac_ext <<_ACEOF
27696 /* confdefs.h. */
27697 _ACEOF
27698 cat confdefs.h >>conftest.$ac_ext
27699 cat >>conftest.$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27701 #include <windows.h>
27702 _ACEOF
27703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27705 ac_status=$?
27706 grep -v '^ *+' conftest.er1 >conftest.err
27707 rm -f conftest.er1
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } >/dev/null; then
27711 if test -s conftest.err; then
27712 ac_cpp_err=$ac_cxx_preproc_warn_flag
27713 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27714 else
27715 ac_cpp_err=
27716 fi
27717 else
27718 ac_cpp_err=yes
27719 fi
27720 if test -z "$ac_cpp_err"; then
27721 ac_header_preproc=yes
27722 else
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27725
27726 ac_header_preproc=no
27727 fi
27728 rm -f conftest.err conftest.$ac_ext
27729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27730 echo "${ECHO_T}$ac_header_preproc" >&6
27731
27732 # So? What about this header?
27733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27734 yes:no: )
27735 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27736 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27737 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27738 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27739 ac_header_preproc=yes
27740 ;;
27741 no:yes:* )
27742 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27743 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27744 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27745 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27746 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27747 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27748 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27749 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27750 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27751 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27752 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27753 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27754 (
27755 cat <<\_ASBOX
27756 ## ----------------------------------------- ##
27757 ## Report this to wx-dev@lists.wxwidgets.org ##
27758 ## ----------------------------------------- ##
27759 _ASBOX
27760 ) |
27761 sed "s/^/$as_me: WARNING: /" >&2
27762 ;;
27763 esac
27764 echo "$as_me:$LINENO: checking for windows.h" >&5
27765 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27766 if test "${ac_cv_header_windows_h+set}" = set; then
27767 echo $ECHO_N "(cached) $ECHO_C" >&6
27768 else
27769 ac_cv_header_windows_h=$ac_header_preproc
27770 fi
27771 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27772 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27773
27774 fi
27775 if test $ac_cv_header_windows_h = yes; then
27776 :
27777 else
27778
27779 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27780 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27781 { (exit 1); exit 1; }; }
27782
27783 fi
27784
27785
27786
27787 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27788
27789 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27790 LIBS="$LIBS -loleacc"
27791 fi
27792
27793 case "${host}" in
27794 *-*-cygwin* )
27795 LIBS="$LIBS -lkernel32 -luser32"
27796 esac
27797
27798 if test "$wxUSE_ODBC" = "sys" ; then
27799 wxUSE_ODBC = "yes"
27800 fi
27801 if test "$wxUSE_ODBC" = "yes" ; then
27802 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27803 cat >>confdefs.h <<\_ACEOF
27804 #define wxUSE_ODBC 1
27805 _ACEOF
27806
27807 fi
27808
27809 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27810 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27811
27812 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27813
27814 WIN32INSTALL=win32install
27815
27816 echo "$as_me:$LINENO: checking for boolean" >&5
27817 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27818 if test "${ac_cv_type_boolean+set}" = set; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 else
27821 cat >conftest.$ac_ext <<_ACEOF
27822 /* confdefs.h. */
27823 _ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 #include <windows.h>
27828
27829 int
27830 main ()
27831 {
27832 if ((boolean *) 0)
27833 return 0;
27834 if (sizeof (boolean))
27835 return 0;
27836 ;
27837 return 0;
27838 }
27839 _ACEOF
27840 rm -f conftest.$ac_objext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27842 (eval $ac_compile) 2>conftest.er1
27843 ac_status=$?
27844 grep -v '^ *+' conftest.er1 >conftest.err
27845 rm -f conftest.er1
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27852 ac_status=$?
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try='test -s conftest.$ac_objext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_cv_type_boolean=yes
27862 else
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.$ac_ext >&5
27865
27866 ac_cv_type_boolean=no
27867 fi
27868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27869 fi
27870 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27871 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27872 if test $ac_cv_type_boolean = yes; then
27873
27874 cat >>confdefs.h <<_ACEOF
27875 #define HAVE_BOOLEAN 1
27876 _ACEOF
27877
27878
27879 fi
27880
27881
27882
27883 for ac_header in pbt.h
27884 do
27885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27887 echo "$as_me:$LINENO: checking for $ac_header" >&5
27888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 fi
27892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27894 else
27895 # Is the header compilable?
27896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27898 cat >conftest.$ac_ext <<_ACEOF
27899 /* confdefs.h. */
27900 _ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27904 $ac_includes_default
27905 #include <$ac_header>
27906 _ACEOF
27907 rm -f conftest.$ac_objext
27908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27909 (eval $ac_compile) 2>conftest.er1
27910 ac_status=$?
27911 grep -v '^ *+' conftest.er1 >conftest.err
27912 rm -f conftest.er1
27913 cat conftest.err >&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); } &&
27916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27919 ac_status=$?
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; } &&
27922 { ac_try='test -s conftest.$ac_objext'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27925 ac_status=$?
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; }; then
27928 ac_header_compiler=yes
27929 else
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27932
27933 ac_header_compiler=no
27934 fi
27935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27937 echo "${ECHO_T}$ac_header_compiler" >&6
27938
27939 # Is the header present?
27940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27942 cat >conftest.$ac_ext <<_ACEOF
27943 /* confdefs.h. */
27944 _ACEOF
27945 cat confdefs.h >>conftest.$ac_ext
27946 cat >>conftest.$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27948 #include <$ac_header>
27949 _ACEOF
27950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27952 ac_status=$?
27953 grep -v '^ *+' conftest.er1 >conftest.err
27954 rm -f conftest.er1
27955 cat conftest.err >&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } >/dev/null; then
27958 if test -s conftest.err; then
27959 ac_cpp_err=$ac_cxx_preproc_warn_flag
27960 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27961 else
27962 ac_cpp_err=
27963 fi
27964 else
27965 ac_cpp_err=yes
27966 fi
27967 if test -z "$ac_cpp_err"; then
27968 ac_header_preproc=yes
27969 else
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27972
27973 ac_header_preproc=no
27974 fi
27975 rm -f conftest.err conftest.$ac_ext
27976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27977 echo "${ECHO_T}$ac_header_preproc" >&6
27978
27979 # So? What about this header?
27980 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27981 yes:no: )
27982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27986 ac_header_preproc=yes
27987 ;;
27988 no:yes:* )
27989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28001 (
28002 cat <<\_ASBOX
28003 ## ----------------------------------------- ##
28004 ## Report this to wx-dev@lists.wxwidgets.org ##
28005 ## ----------------------------------------- ##
28006 _ASBOX
28007 ) |
28008 sed "s/^/$as_me: WARNING: /" >&2
28009 ;;
28010 esac
28011 echo "$as_me:$LINENO: checking for $ac_header" >&5
28012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28014 echo $ECHO_N "(cached) $ECHO_C" >&6
28015 else
28016 eval "$as_ac_Header=\$ac_header_preproc"
28017 fi
28018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28020
28021 fi
28022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28023 cat >>confdefs.h <<_ACEOF
28024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28025 _ACEOF
28026
28027 else
28028 cat >>confdefs.h <<\_ACEOF
28029 #define NEED_PBT_H 1
28030 _ACEOF
28031
28032 fi
28033
28034 done
28035
28036 fi
28037
28038 if test "$wxUSE_GUI" = "yes"; then
28039 USE_GUI=1
28040
28041 GUI_TK_LIBRARY=
28042
28043 WXGTK12=
28044 WXGTK127=
28045 WXGTK20=
28046 WXGPE=
28047
28048 if test "$wxUSE_COCOA" = 1 ; then
28049 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28050 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28051 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28052 wxUSE_PRINTING_ARCHITECTURE=no
28053 fi
28054 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28055 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28056 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28057 wxUSE_DRAG_AND_DROP=no
28058 fi
28059 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28060 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28061 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28062 wxUSE_DRAGIMAGE=no
28063 fi
28064 fi
28065
28066 if test "$wxUSE_MSW" = 1 ; then
28067 TOOLKIT=MSW
28068 GUIDIST=MSW_DIST
28069
28070 case "${host}" in
28071 *-*-mingw32* )
28072 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28073 esac
28074 fi
28075
28076 if test "$wxUSE_GTK" = 1; then
28077 ac_ext=c
28078 ac_cpp='$CPP $CPPFLAGS'
28079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28082
28083
28084 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28085 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28086
28087 gtk_version_cached=1
28088 if test "${wx_cv_lib_gtk+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091
28092 gtk_version_cached=0
28093 echo "$as_me:$LINENO: result: " >&5
28094 echo "${ECHO_T}" >&6
28095
28096 GTK_MODULES=
28097 if test "$wxUSE_THREADS" = "yes"; then
28098 GTK_MODULES=gthread
28099 fi
28100
28101 wx_cv_lib_gtk=
28102 if test "x$wxGTK_VERSION" != "x1"
28103 then
28104 case "${host}" in
28105 *-*-solaris2* )
28106 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28107 enable_gtktest=no
28108 fi
28109 esac
28110
28111 # Check whether --enable-gtktest or --disable-gtktest was given.
28112 if test "${enable_gtktest+set}" = set; then
28113 enableval="$enable_gtktest"
28114
28115 else
28116 enable_gtktest=yes
28117 fi;
28118
28119 pkg_config_args=gtk+-2.0
28120 for module in . $GTK_MODULES
28121 do
28122 case "$module" in
28123 gthread)
28124 pkg_config_args="$pkg_config_args gthread-2.0"
28125 ;;
28126 esac
28127 done
28128
28129 no_gtk=""
28130
28131 # Extract the first word of "pkg-config", so it can be a program name with args.
28132 set dummy pkg-config; ac_word=$2
28133 echo "$as_me:$LINENO: checking for $ac_word" >&5
28134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28135 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28136 echo $ECHO_N "(cached) $ECHO_C" >&6
28137 else
28138 case $PKG_CONFIG in
28139 [\\/]* | ?:[\\/]*)
28140 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28141 ;;
28142 *)
28143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28144 for as_dir in $PATH
28145 do
28146 IFS=$as_save_IFS
28147 test -z "$as_dir" && as_dir=.
28148 for ac_exec_ext in '' $ac_executable_extensions; do
28149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28150 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28152 break 2
28153 fi
28154 done
28155 done
28156
28157 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28158 ;;
28159 esac
28160 fi
28161 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28162
28163 if test -n "$PKG_CONFIG"; then
28164 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28165 echo "${ECHO_T}$PKG_CONFIG" >&6
28166 else
28167 echo "$as_me:$LINENO: result: no" >&5
28168 echo "${ECHO_T}no" >&6
28169 fi
28170
28171
28172 if test x$PKG_CONFIG != xno ; then
28173 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28174 :
28175 else
28176 echo "*** pkg-config too old; version 0.7 or better required."
28177 no_gtk=yes
28178 PKG_CONFIG=no
28179 fi
28180 else
28181 no_gtk=yes
28182 fi
28183
28184 min_gtk_version=2.0.0
28185 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28186 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28187
28188 if test x$PKG_CONFIG != xno ; then
28189 ## don't try to run the test against uninstalled libtool libs
28190 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28191 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28192 enable_gtktest=no
28193 fi
28194
28195 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28196 :
28197 else
28198 no_gtk=yes
28199 fi
28200 fi
28201
28202 if test x"$no_gtk" = x ; then
28203 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28204 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28205 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28206 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28207 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28209 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28211 if test "x$enable_gtktest" = "xyes" ; then
28212 ac_save_CFLAGS="$CFLAGS"
28213 ac_save_LIBS="$LIBS"
28214 CFLAGS="$CFLAGS $GTK_CFLAGS"
28215 LIBS="$GTK_LIBS $LIBS"
28216 rm -f conf.gtktest
28217 if test "$cross_compiling" = yes; then
28218 echo $ac_n "cross compiling; assumed OK... $ac_c"
28219 else
28220 cat >conftest.$ac_ext <<_ACEOF
28221 /* confdefs.h. */
28222 _ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226
28227 #include <gtk/gtk.h>
28228 #include <stdio.h>
28229 #include <stdlib.h>
28230
28231 int
28232 main ()
28233 {
28234 int major, minor, micro;
28235 char *tmp_version;
28236
28237 system ("touch conf.gtktest");
28238
28239 /* HP/UX 9 (%@#!) writes to sscanf strings */
28240 tmp_version = g_strdup("$min_gtk_version");
28241 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28242 printf("%s, bad version string\n", "$min_gtk_version");
28243 exit(1);
28244 }
28245
28246 if ((gtk_major_version != $gtk_config_major_version) ||
28247 (gtk_minor_version != $gtk_config_minor_version) ||
28248 (gtk_micro_version != $gtk_config_micro_version))
28249 {
28250 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28251 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28252 gtk_major_version, gtk_minor_version, gtk_micro_version);
28253 printf ("*** was found! If pkg-config was correct, then it is best\n");
28254 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28255 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28256 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28257 printf("*** required on your system.\n");
28258 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28259 printf("*** to point to the correct configuration files\n");
28260 }
28261 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28262 (gtk_minor_version != GTK_MINOR_VERSION) ||
28263 (gtk_micro_version != GTK_MICRO_VERSION))
28264 {
28265 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28266 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28267 printf("*** library (version %d.%d.%d)\n",
28268 gtk_major_version, gtk_minor_version, gtk_micro_version);
28269 }
28270 else
28271 {
28272 if ((gtk_major_version > major) ||
28273 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28274 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28275 {
28276 return 0;
28277 }
28278 else
28279 {
28280 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28281 gtk_major_version, gtk_minor_version, gtk_micro_version);
28282 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28283 major, minor, micro);
28284 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28285 printf("***\n");
28286 printf("*** If you have already installed a sufficiently new version, this error\n");
28287 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28288 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28289 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28290 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28291 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28292 printf("*** so that the correct libraries are found at run-time))\n");
28293 }
28294 }
28295 return 1;
28296 }
28297
28298 _ACEOF
28299 rm -f conftest$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; }; then
28310 :
28311 else
28312 echo "$as_me: program exited with status $ac_status" >&5
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316 ( exit $ac_status )
28317 no_gtk=yes
28318 fi
28319 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28320 fi
28321 CFLAGS="$ac_save_CFLAGS"
28322 LIBS="$ac_save_LIBS"
28323 fi
28324 fi
28325 if test "x$no_gtk" = x ; then
28326 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28327 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28328 wx_cv_lib_gtk=2.0
28329 else
28330 echo "$as_me:$LINENO: result: no" >&5
28331 echo "${ECHO_T}no" >&6
28332 if test "$PKG_CONFIG" = "no" ; then
28333 echo "*** A new enough version of pkg-config was not found."
28334 echo "*** See http://pkgconfig.sourceforge.net"
28335 else
28336 if test -f conf.gtktest ; then
28337 :
28338 else
28339 echo "*** Could not run GTK+ test program, checking why..."
28340 ac_save_CFLAGS="$CFLAGS"
28341 ac_save_LIBS="$LIBS"
28342 CFLAGS="$CFLAGS $GTK_CFLAGS"
28343 LIBS="$LIBS $GTK_LIBS"
28344 cat >conftest.$ac_ext <<_ACEOF
28345 /* confdefs.h. */
28346 _ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350
28351 #include <gtk/gtk.h>
28352 #include <stdio.h>
28353
28354 int
28355 main ()
28356 {
28357 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28358 ;
28359 return 0;
28360 }
28361 _ACEOF
28362 rm -f conftest.$ac_objext conftest$ac_exeext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28364 (eval $ac_link) 2>conftest.er1
28365 ac_status=$?
28366 grep -v '^ *+' conftest.er1 >conftest.err
28367 rm -f conftest.er1
28368 cat conftest.err >&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28374 ac_status=$?
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; } &&
28377 { ac_try='test -s conftest$ac_exeext'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28380 ac_status=$?
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; }; then
28383 echo "*** The test program compiled, but did not run. This usually means"
28384 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28385 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28386 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28387 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28388 echo "*** is required on your system"
28389 echo "***"
28390 echo "*** If you have an old version installed, it is best to remove it, although"
28391 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28392 else
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.$ac_ext >&5
28395
28396 echo "*** The test program failed to compile or link. See the file config.log for the"
28397 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28398 fi
28399 rm -f conftest.err conftest.$ac_objext \
28400 conftest$ac_exeext conftest.$ac_ext
28401 CFLAGS="$ac_save_CFLAGS"
28402 LIBS="$ac_save_LIBS"
28403 fi
28404 fi
28405 GTK_CFLAGS=""
28406 GTK_LIBS=""
28407 :
28408 fi
28409
28410
28411 rm -f conf.gtktest
28412
28413
28414 case "${host}" in
28415 *-*-solaris2* )
28416 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28417 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28418 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28419 fi
28420 if test "$wxUSE_SHARED" != "yes"; then
28421 GTK_LIBS="$GTK_LIBS -lX11"
28422 fi
28423 esac
28424 fi
28425
28426 if test -z "$wx_cv_lib_gtk"; then
28427 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28428
28429 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28430 if test "${with_gtk_prefix+set}" = set; then
28431 withval="$with_gtk_prefix"
28432 gtk_config_prefix="$withval"
28433 else
28434 gtk_config_prefix=""
28435 fi;
28436
28437 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28438 if test "${with_gtk_exec_prefix+set}" = set; then
28439 withval="$with_gtk_exec_prefix"
28440 gtk_config_exec_prefix="$withval"
28441 else
28442 gtk_config_exec_prefix=""
28443 fi;
28444 # Check whether --enable-gtktest or --disable-gtktest was given.
28445 if test "${enable_gtktest+set}" = set; then
28446 enableval="$enable_gtktest"
28447
28448 else
28449 enable_gtktest=yes
28450 fi;
28451
28452 for module in . $GTK_MODULES
28453 do
28454 case "$module" in
28455 gthread)
28456 gtk_config_args="$gtk_config_args gthread"
28457 ;;
28458 esac
28459 done
28460
28461 if test x$gtk_config_exec_prefix != x ; then
28462 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28463 if test x${GTK_CONFIG+set} != xset ; then
28464 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28465 fi
28466 fi
28467 if test x$gtk_config_prefix != x ; then
28468 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28469 if test x${GTK_CONFIG+set} != xset ; then
28470 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28471 fi
28472 fi
28473
28474 # Extract the first word of "gtk-config", so it can be a program name with args.
28475 set dummy gtk-config; ac_word=$2
28476 echo "$as_me:$LINENO: checking for $ac_word" >&5
28477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28478 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28479 echo $ECHO_N "(cached) $ECHO_C" >&6
28480 else
28481 case $GTK_CONFIG in
28482 [\\/]* | ?:[\\/]*)
28483 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28484 ;;
28485 *)
28486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28487 for as_dir in $PATH
28488 do
28489 IFS=$as_save_IFS
28490 test -z "$as_dir" && as_dir=.
28491 for ac_exec_ext in '' $ac_executable_extensions; do
28492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28493 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28495 break 2
28496 fi
28497 done
28498 done
28499
28500 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28501 ;;
28502 esac
28503 fi
28504 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28505
28506 if test -n "$GTK_CONFIG"; then
28507 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28508 echo "${ECHO_T}$GTK_CONFIG" >&6
28509 else
28510 echo "$as_me:$LINENO: result: no" >&5
28511 echo "${ECHO_T}no" >&6
28512 fi
28513
28514 min_gtk_version=1.2.7
28515 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28516 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28517 no_gtk=""
28518 if test "$GTK_CONFIG" = "no" ; then
28519 no_gtk=yes
28520 else
28521 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28522 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28523 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28525 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28527 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28529 if test "x$enable_gtktest" = "xyes" ; then
28530 ac_save_CFLAGS="$CFLAGS"
28531 ac_save_LIBS="$LIBS"
28532 CFLAGS="$CFLAGS $GTK_CFLAGS"
28533 LIBS="$GTK_LIBS $LIBS"
28534 rm -f conf.gtktest
28535 if test "$cross_compiling" = yes; then
28536 echo $ac_n "cross compiling; assumed OK... $ac_c"
28537 else
28538 cat >conftest.$ac_ext <<_ACEOF
28539 /* confdefs.h. */
28540 _ACEOF
28541 cat confdefs.h >>conftest.$ac_ext
28542 cat >>conftest.$ac_ext <<_ACEOF
28543 /* end confdefs.h. */
28544
28545 #include <gtk/gtk.h>
28546 #include <stdio.h>
28547 #include <stdlib.h>
28548
28549 int
28550 main ()
28551 {
28552 int major, minor, micro;
28553 char *tmp_version;
28554
28555 system ("touch conf.gtktest");
28556
28557 /* HP/UX 9 (%@#!) writes to sscanf strings */
28558 tmp_version = g_strdup("$min_gtk_version");
28559 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28560 printf("%s, bad version string\n", "$min_gtk_version");
28561 exit(1);
28562 }
28563
28564 if ((gtk_major_version != $gtk_config_major_version) ||
28565 (gtk_minor_version != $gtk_config_minor_version) ||
28566 (gtk_micro_version != $gtk_config_micro_version))
28567 {
28568 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28569 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28570 gtk_major_version, gtk_minor_version, gtk_micro_version);
28571 printf ("*** was found! If gtk-config was correct, then it is best\n");
28572 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28573 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28574 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28575 printf("*** required on your system.\n");
28576 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28577 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28578 printf("*** before re-running configure\n");
28579 }
28580 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28581 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28582 (gtk_minor_version != GTK_MINOR_VERSION) ||
28583 (gtk_micro_version != GTK_MICRO_VERSION))
28584 {
28585 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28586 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28587 printf("*** library (version %d.%d.%d)\n",
28588 gtk_major_version, gtk_minor_version, gtk_micro_version);
28589 }
28590 #endif /* defined (GTK_MAJOR_VERSION) ... */
28591 else
28592 {
28593 if ((gtk_major_version > major) ||
28594 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28595 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28596 {
28597 return 0;
28598 }
28599 else
28600 {
28601 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28602 gtk_major_version, gtk_minor_version, gtk_micro_version);
28603 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28604 major, minor, micro);
28605 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28606 printf("***\n");
28607 printf("*** If you have already installed a sufficiently new version, this error\n");
28608 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28609 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28610 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28611 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28612 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28613 printf("*** so that the correct libraries are found at run-time))\n");
28614 }
28615 }
28616 return 1;
28617 }
28618
28619 _ACEOF
28620 rm -f conftest$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622 (eval $ac_link) 2>&5
28623 ac_status=$?
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 :
28632 else
28633 echo "$as_me: program exited with status $ac_status" >&5
28634 echo "$as_me: failed program was:" >&5
28635 sed 's/^/| /' conftest.$ac_ext >&5
28636
28637 ( exit $ac_status )
28638 no_gtk=yes
28639 fi
28640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28641 fi
28642 CFLAGS="$ac_save_CFLAGS"
28643 LIBS="$ac_save_LIBS"
28644 fi
28645 fi
28646 if test "x$no_gtk" = x ; then
28647 echo "$as_me:$LINENO: result: yes" >&5
28648 echo "${ECHO_T}yes" >&6
28649 wx_cv_lib_gtk=1.2.7
28650 else
28651 echo "$as_me:$LINENO: result: no" >&5
28652 echo "${ECHO_T}no" >&6
28653 if test "$GTK_CONFIG" = "no" ; then
28654 echo "*** The gtk-config script installed by GTK could not be found"
28655 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28656 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28657 echo "*** full path to gtk-config."
28658 else
28659 if test -f conf.gtktest ; then
28660 :
28661 else
28662 echo "*** Could not run GTK test program, checking why..."
28663 CFLAGS="$CFLAGS $GTK_CFLAGS"
28664 LIBS="$LIBS $GTK_LIBS"
28665 cat >conftest.$ac_ext <<_ACEOF
28666 /* confdefs.h. */
28667 _ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671
28672 #include <gtk/gtk.h>
28673 #include <stdio.h>
28674
28675 int
28676 main ()
28677 {
28678 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28679 ;
28680 return 0;
28681 }
28682 _ACEOF
28683 rm -f conftest.$ac_objext conftest$ac_exeext
28684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28685 (eval $ac_link) 2>conftest.er1
28686 ac_status=$?
28687 grep -v '^ *+' conftest.er1 >conftest.err
28688 rm -f conftest.er1
28689 cat conftest.err >&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); } &&
28692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28695 ac_status=$?
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; } &&
28698 { ac_try='test -s conftest$ac_exeext'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28701 ac_status=$?
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; }; then
28704 echo "*** The test program compiled, but did not run. This usually means"
28705 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28706 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28707 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28708 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28709 echo "*** is required on your system"
28710 echo "***"
28711 echo "*** If you have an old version installed, it is best to remove it, although"
28712 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28713 echo "***"
28714 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28715 echo "*** came with the system with the command"
28716 echo "***"
28717 echo "*** rpm --erase --nodeps gtk gtk-devel"
28718 else
28719 echo "$as_me: failed program was:" >&5
28720 sed 's/^/| /' conftest.$ac_ext >&5
28721
28722 echo "*** The test program failed to compile or link. See the file config.log for the"
28723 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28724 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28725 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28726 fi
28727 rm -f conftest.err conftest.$ac_objext \
28728 conftest$ac_exeext conftest.$ac_ext
28729 CFLAGS="$ac_save_CFLAGS"
28730 LIBS="$ac_save_LIBS"
28731 fi
28732 fi
28733 GTK_CFLAGS=""
28734 GTK_LIBS=""
28735 :
28736 fi
28737
28738
28739 rm -f conf.gtktest
28740
28741
28742 if test -z "$wx_cv_lib_gtk"; then
28743
28744 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28745 if test "${with_gtk_prefix+set}" = set; then
28746 withval="$with_gtk_prefix"
28747 gtk_config_prefix="$withval"
28748 else
28749 gtk_config_prefix=""
28750 fi;
28751
28752 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28753 if test "${with_gtk_exec_prefix+set}" = set; then
28754 withval="$with_gtk_exec_prefix"
28755 gtk_config_exec_prefix="$withval"
28756 else
28757 gtk_config_exec_prefix=""
28758 fi;
28759 # Check whether --enable-gtktest or --disable-gtktest was given.
28760 if test "${enable_gtktest+set}" = set; then
28761 enableval="$enable_gtktest"
28762
28763 else
28764 enable_gtktest=yes
28765 fi;
28766
28767 for module in . $GTK_MODULES
28768 do
28769 case "$module" in
28770 gthread)
28771 gtk_config_args="$gtk_config_args gthread"
28772 ;;
28773 esac
28774 done
28775
28776 if test x$gtk_config_exec_prefix != x ; then
28777 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28778 if test x${GTK_CONFIG+set} != xset ; then
28779 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28780 fi
28781 fi
28782 if test x$gtk_config_prefix != x ; then
28783 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28784 if test x${GTK_CONFIG+set} != xset ; then
28785 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28786 fi
28787 fi
28788
28789 # Extract the first word of "gtk-config", so it can be a program name with args.
28790 set dummy gtk-config; ac_word=$2
28791 echo "$as_me:$LINENO: checking for $ac_word" >&5
28792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28793 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28794 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 else
28796 case $GTK_CONFIG in
28797 [\\/]* | ?:[\\/]*)
28798 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28799 ;;
28800 *)
28801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28802 for as_dir in $PATH
28803 do
28804 IFS=$as_save_IFS
28805 test -z "$as_dir" && as_dir=.
28806 for ac_exec_ext in '' $ac_executable_extensions; do
28807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28808 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28810 break 2
28811 fi
28812 done
28813 done
28814
28815 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28816 ;;
28817 esac
28818 fi
28819 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28820
28821 if test -n "$GTK_CONFIG"; then
28822 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28823 echo "${ECHO_T}$GTK_CONFIG" >&6
28824 else
28825 echo "$as_me:$LINENO: result: no" >&5
28826 echo "${ECHO_T}no" >&6
28827 fi
28828
28829 min_gtk_version=1.2.3
28830 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28831 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28832 no_gtk=""
28833 if test "$GTK_CONFIG" = "no" ; then
28834 no_gtk=yes
28835 else
28836 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28837 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28838 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28840 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28842 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28844 if test "x$enable_gtktest" = "xyes" ; then
28845 ac_save_CFLAGS="$CFLAGS"
28846 ac_save_LIBS="$LIBS"
28847 CFLAGS="$CFLAGS $GTK_CFLAGS"
28848 LIBS="$GTK_LIBS $LIBS"
28849 rm -f conf.gtktest
28850 if test "$cross_compiling" = yes; then
28851 echo $ac_n "cross compiling; assumed OK... $ac_c"
28852 else
28853 cat >conftest.$ac_ext <<_ACEOF
28854 /* confdefs.h. */
28855 _ACEOF
28856 cat confdefs.h >>conftest.$ac_ext
28857 cat >>conftest.$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28859
28860 #include <gtk/gtk.h>
28861 #include <stdio.h>
28862 #include <stdlib.h>
28863
28864 int
28865 main ()
28866 {
28867 int major, minor, micro;
28868 char *tmp_version;
28869
28870 system ("touch conf.gtktest");
28871
28872 /* HP/UX 9 (%@#!) writes to sscanf strings */
28873 tmp_version = g_strdup("$min_gtk_version");
28874 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28875 printf("%s, bad version string\n", "$min_gtk_version");
28876 exit(1);
28877 }
28878
28879 if ((gtk_major_version != $gtk_config_major_version) ||
28880 (gtk_minor_version != $gtk_config_minor_version) ||
28881 (gtk_micro_version != $gtk_config_micro_version))
28882 {
28883 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28884 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28885 gtk_major_version, gtk_minor_version, gtk_micro_version);
28886 printf ("*** was found! If gtk-config was correct, then it is best\n");
28887 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28888 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28889 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28890 printf("*** required on your system.\n");
28891 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28892 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28893 printf("*** before re-running configure\n");
28894 }
28895 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28896 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28897 (gtk_minor_version != GTK_MINOR_VERSION) ||
28898 (gtk_micro_version != GTK_MICRO_VERSION))
28899 {
28900 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28901 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28902 printf("*** library (version %d.%d.%d)\n",
28903 gtk_major_version, gtk_minor_version, gtk_micro_version);
28904 }
28905 #endif /* defined (GTK_MAJOR_VERSION) ... */
28906 else
28907 {
28908 if ((gtk_major_version > major) ||
28909 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28910 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28911 {
28912 return 0;
28913 }
28914 else
28915 {
28916 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28917 gtk_major_version, gtk_minor_version, gtk_micro_version);
28918 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28919 major, minor, micro);
28920 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28921 printf("***\n");
28922 printf("*** If you have already installed a sufficiently new version, this error\n");
28923 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28924 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28925 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28926 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28927 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28928 printf("*** so that the correct libraries are found at run-time))\n");
28929 }
28930 }
28931 return 1;
28932 }
28933
28934 _ACEOF
28935 rm -f conftest$ac_exeext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28937 (eval $ac_link) 2>&5
28938 ac_status=$?
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; }; then
28946 :
28947 else
28948 echo "$as_me: program exited with status $ac_status" >&5
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.$ac_ext >&5
28951
28952 ( exit $ac_status )
28953 no_gtk=yes
28954 fi
28955 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28956 fi
28957 CFLAGS="$ac_save_CFLAGS"
28958 LIBS="$ac_save_LIBS"
28959 fi
28960 fi
28961 if test "x$no_gtk" = x ; then
28962 echo "$as_me:$LINENO: result: yes" >&5
28963 echo "${ECHO_T}yes" >&6
28964 wx_cv_lib_gtk=1.2.3
28965 else
28966 echo "$as_me:$LINENO: result: no" >&5
28967 echo "${ECHO_T}no" >&6
28968 if test "$GTK_CONFIG" = "no" ; then
28969 echo "*** The gtk-config script installed by GTK could not be found"
28970 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28971 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28972 echo "*** full path to gtk-config."
28973 else
28974 if test -f conf.gtktest ; then
28975 :
28976 else
28977 echo "*** Could not run GTK test program, checking why..."
28978 CFLAGS="$CFLAGS $GTK_CFLAGS"
28979 LIBS="$LIBS $GTK_LIBS"
28980 cat >conftest.$ac_ext <<_ACEOF
28981 /* confdefs.h. */
28982 _ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986
28987 #include <gtk/gtk.h>
28988 #include <stdio.h>
28989
28990 int
28991 main ()
28992 {
28993 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28994 ;
28995 return 0;
28996 }
28997 _ACEOF
28998 rm -f conftest.$ac_objext conftest$ac_exeext
28999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29000 (eval $ac_link) 2>conftest.er1
29001 ac_status=$?
29002 grep -v '^ *+' conftest.er1 >conftest.err
29003 rm -f conftest.er1
29004 cat conftest.err >&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); } &&
29007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29009 (eval $ac_try) 2>&5
29010 ac_status=$?
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); }; } &&
29013 { ac_try='test -s conftest$ac_exeext'
29014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29015 (eval $ac_try) 2>&5
29016 ac_status=$?
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 echo "*** The test program compiled, but did not run. This usually means"
29020 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29021 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29022 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29023 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29024 echo "*** is required on your system"
29025 echo "***"
29026 echo "*** If you have an old version installed, it is best to remove it, although"
29027 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29028 echo "***"
29029 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29030 echo "*** came with the system with the command"
29031 echo "***"
29032 echo "*** rpm --erase --nodeps gtk gtk-devel"
29033 else
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29036
29037 echo "*** The test program failed to compile or link. See the file config.log for the"
29038 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29039 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29040 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29041 fi
29042 rm -f conftest.err conftest.$ac_objext \
29043 conftest$ac_exeext conftest.$ac_ext
29044 CFLAGS="$ac_save_CFLAGS"
29045 LIBS="$ac_save_LIBS"
29046 fi
29047 fi
29048 GTK_CFLAGS=""
29049 GTK_LIBS=""
29050 :
29051 fi
29052
29053
29054 rm -f conf.gtktest
29055
29056 fi
29057 fi
29058 fi
29059
29060 if test -z "$wx_cv_lib_gtk"; then
29061 wx_cv_lib_gtk=none
29062 else
29063 wx_cv_cflags_gtk=$GTK_CFLAGS
29064 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29065 fi
29066
29067
29068 fi
29069
29070
29071 if test "$gtk_version_cached" = 1; then
29072 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29073 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29074 fi
29075
29076 case "$wx_cv_lib_gtk" in
29077 2.0) WXGTK20=1
29078 TOOLKIT_VERSION=2
29079 ;;
29080 1.2.7) WXGTK127=1
29081 WXGTK12=1
29082 ;;
29083 1.2.3) WXGTK12=1
29084 ;;
29085 *) { { echo "$as_me:$LINENO: error:
29086 The development files for GTK+ were not found. For GTK+ 2, please
29087 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29088 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29089 and that the version is 1.2.3 or above. Also check that the
29090 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29091 --libs' are in the LD_LIBRARY_PATH or equivalent.
29092 " >&5
29093 echo "$as_me: error:
29094 The development files for GTK+ were not found. For GTK+ 2, please
29095 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29096 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29097 and that the version is 1.2.3 or above. Also check that the
29098 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29099 --libs' are in the LD_LIBRARY_PATH or equivalent.
29100 " >&2;}
29101 { (exit 1); exit 1; }; }
29102 ;;
29103 esac
29104
29105 if test "$WXGTK20" = 1; then
29106 save_CFLAGS="$CFLAGS"
29107 save_LIBS="$LIBS"
29108 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29109 LIBS="$LIBS $wx_cv_libs_gtk"
29110
29111 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29112 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29113 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29114 echo $ECHO_N "(cached) $ECHO_C" >&6
29115 else
29116 cat >conftest.$ac_ext <<_ACEOF
29117 /* confdefs.h. */
29118 _ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29122 #include <gtk/gtk.h>
29123
29124 int
29125 main ()
29126 {
29127 #ifndef gtk_icon_size_lookup
29128 char *p = (char *) gtk_icon_size_lookup;
29129 #endif
29130
29131 ;
29132 return 0;
29133 }
29134 _ACEOF
29135 rm -f conftest.$ac_objext
29136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29137 (eval $ac_compile) 2>conftest.er1
29138 ac_status=$?
29139 grep -v '^ *+' conftest.er1 >conftest.err
29140 rm -f conftest.er1
29141 cat conftest.err >&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } &&
29144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 (eval $ac_try) 2>&5
29147 ac_status=$?
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); }; } &&
29150 { ac_try='test -s conftest.$ac_objext'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29153 ac_status=$?
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; }; then
29156 ac_cv_have_decl_gtk_icon_size_lookup=yes
29157 else
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29160
29161 ac_cv_have_decl_gtk_icon_size_lookup=no
29162 fi
29163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29164 fi
29165 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29166 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29167 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29168
29169 cat >>confdefs.h <<_ACEOF
29170 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29171 _ACEOF
29172
29173
29174 else
29175 cat >>confdefs.h <<_ACEOF
29176 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29177 _ACEOF
29178
29179 cat >>confdefs.h <<\_ACEOF
29180 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29181 _ACEOF
29182
29183 fi
29184
29185
29186
29187 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29188 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29189 cat >conftest.$ac_ext <<_ACEOF
29190 /* confdefs.h. */
29191 _ACEOF
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29195
29196 #include <gtk/gtk.h>
29197
29198 int
29199 main ()
29200 {
29201
29202 #if !GTK_CHECK_VERSION(2,6,0)
29203 Not GTK+ 2.6
29204 #endif
29205
29206 ;
29207 return 0;
29208 }
29209 _ACEOF
29210 rm -f conftest.$ac_objext
29211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29212 (eval $ac_compile) 2>conftest.er1
29213 ac_status=$?
29214 grep -v '^ *+' conftest.er1 >conftest.err
29215 rm -f conftest.er1
29216 cat conftest.err >&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); } &&
29219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29221 (eval $ac_try) 2>&5
29222 ac_status=$?
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); }; } &&
29225 { ac_try='test -s conftest.$ac_objext'
29226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227 (eval $ac_try) 2>&5
29228 ac_status=$?
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); }; }; then
29231
29232 cat >>confdefs.h <<\_ACEOF
29233 #define __WXGTK26__ 1
29234 _ACEOF
29235
29236 cat >>confdefs.h <<\_ACEOF
29237 #define __WXGTK24__ 1
29238 _ACEOF
29239
29240 echo "$as_me:$LINENO: result: yes" >&5
29241 echo "${ECHO_T}yes" >&6
29242 ac_wxgtk26=1
29243
29244 else
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248
29249 echo "$as_me:$LINENO: result: no" >&5
29250 echo "${ECHO_T}no" >&6
29251 ac_wxgtk26=0
29252
29253 fi
29254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29255
29256 if test "$ac_wxgtk26" = 0; then
29257 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29258 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29259 cat >conftest.$ac_ext <<_ACEOF
29260 /* confdefs.h. */
29261 _ACEOF
29262 cat confdefs.h >>conftest.$ac_ext
29263 cat >>conftest.$ac_ext <<_ACEOF
29264 /* end confdefs.h. */
29265
29266 #include <gtk/gtk.h>
29267
29268 int
29269 main ()
29270 {
29271
29272 #if !GTK_CHECK_VERSION(2,4,0)
29273 Not GTK+ 2.4
29274 #endif
29275
29276 ;
29277 return 0;
29278 }
29279 _ACEOF
29280 rm -f conftest.$ac_objext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29282 (eval $ac_compile) 2>conftest.er1
29283 ac_status=$?
29284 grep -v '^ *+' conftest.er1 >conftest.err
29285 rm -f conftest.er1
29286 cat conftest.err >&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } &&
29289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try='test -s conftest.$ac_objext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29298 ac_status=$?
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29301
29302 cat >>confdefs.h <<\_ACEOF
29303 #define __WXGTK24__ 1
29304 _ACEOF
29305
29306 echo "$as_me:$LINENO: result: yes" >&5
29307 echo "${ECHO_T}yes" >&6
29308
29309 else
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29312
29313
29314 echo "$as_me:$LINENO: result: no" >&5
29315 echo "${ECHO_T}no" >&6
29316
29317 fi
29318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29319 fi
29320
29321 CFLAGS="$save_CFLAGS"
29322 LIBS="$save_LIBS"
29323 else
29324 if test "$wxUSE_UNICODE" = "yes"; then
29325 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29326 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29327 wxUSE_UNICODE=no
29328 fi
29329
29330 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29331 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29332 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 else
29335 ac_check_lib_save_LIBS=$LIBS
29336 LIBS="-lgdk $LIBS"
29337 cat >conftest.$ac_ext <<_ACEOF
29338 /* confdefs.h. */
29339 _ACEOF
29340 cat confdefs.h >>conftest.$ac_ext
29341 cat >>conftest.$ac_ext <<_ACEOF
29342 /* end confdefs.h. */
29343
29344 /* Override any gcc2 internal prototype to avoid an error. */
29345 #ifdef __cplusplus
29346 extern "C"
29347 #endif
29348 /* We use char because int might match the return type of a gcc2
29349 builtin and then its argument prototype would still apply. */
29350 char gdk_im_open ();
29351 int
29352 main ()
29353 {
29354 gdk_im_open ();
29355 ;
29356 return 0;
29357 }
29358 _ACEOF
29359 rm -f conftest.$ac_objext conftest$ac_exeext
29360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29361 (eval $ac_link) 2>conftest.er1
29362 ac_status=$?
29363 grep -v '^ *+' conftest.er1 >conftest.err
29364 rm -f conftest.er1
29365 cat conftest.err >&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); } &&
29368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29371 ac_status=$?
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; } &&
29374 { ac_try='test -s conftest$ac_exeext'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 ac_cv_lib_gdk_gdk_im_open=yes
29381 else
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29384
29385 ac_cv_lib_gdk_gdk_im_open=no
29386 fi
29387 rm -f conftest.err conftest.$ac_objext \
29388 conftest$ac_exeext conftest.$ac_ext
29389 LIBS=$ac_check_lib_save_LIBS
29390 fi
29391 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29392 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29393 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29394 cat >>confdefs.h <<\_ACEOF
29395 #define HAVE_XIM 1
29396 _ACEOF
29397
29398 fi
29399
29400 fi
29401
29402 ac_ext=cc
29403 ac_cpp='$CXXCPP $CPPFLAGS'
29404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29407
29408
29409 if test "$USE_DARWIN" != 1; then
29410
29411 for ac_func in poll
29412 do
29413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29414 echo "$as_me:$LINENO: checking for $ac_func" >&5
29415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29416 if eval "test \"\${$as_ac_var+set}\" = set"; then
29417 echo $ECHO_N "(cached) $ECHO_C" >&6
29418 else
29419 cat >conftest.$ac_ext <<_ACEOF
29420 /* confdefs.h. */
29421 _ACEOF
29422 cat confdefs.h >>conftest.$ac_ext
29423 cat >>conftest.$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29427 #define $ac_func innocuous_$ac_func
29428
29429 /* System header to define __stub macros and hopefully few prototypes,
29430 which can conflict with char $ac_func (); below.
29431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29432 <limits.h> exists even on freestanding compilers. */
29433
29434 #ifdef __STDC__
29435 # include <limits.h>
29436 #else
29437 # include <assert.h>
29438 #endif
29439
29440 #undef $ac_func
29441
29442 /* Override any gcc2 internal prototype to avoid an error. */
29443 #ifdef __cplusplus
29444 extern "C"
29445 {
29446 #endif
29447 /* We use char because int might match the return type of a gcc2
29448 builtin and then its argument prototype would still apply. */
29449 char $ac_func ();
29450 /* The GNU C library defines this for functions which it implements
29451 to always fail with ENOSYS. Some functions are actually named
29452 something starting with __ and the normal name is an alias. */
29453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29454 choke me
29455 #else
29456 char (*f) () = $ac_func;
29457 #endif
29458 #ifdef __cplusplus
29459 }
29460 #endif
29461
29462 int
29463 main ()
29464 {
29465 return f != $ac_func;
29466 ;
29467 return 0;
29468 }
29469 _ACEOF
29470 rm -f conftest.$ac_objext conftest$ac_exeext
29471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29472 (eval $ac_link) 2>conftest.er1
29473 ac_status=$?
29474 grep -v '^ *+' conftest.er1 >conftest.err
29475 rm -f conftest.er1
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } &&
29479 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; } &&
29485 { ac_try='test -s conftest$ac_exeext'
29486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29487 (eval $ac_try) 2>&5
29488 ac_status=$?
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); }; }; then
29491 eval "$as_ac_var=yes"
29492 else
29493 echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.$ac_ext >&5
29495
29496 eval "$as_ac_var=no"
29497 fi
29498 rm -f conftest.err conftest.$ac_objext \
29499 conftest$ac_exeext conftest.$ac_ext
29500 fi
29501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29503 if test `eval echo '${'$as_ac_var'}'` = yes; then
29504 cat >>confdefs.h <<_ACEOF
29505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29506 _ACEOF
29507
29508 fi
29509 done
29510
29511 fi
29512
29513 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29514 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29515
29516 AFMINSTALL=afminstall
29517 TOOLKIT=GTK
29518 GUIDIST=GTK_DIST
29519
29520 if test "$wxUSE_GPE" = "yes"; then
29521 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29522 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29523
29524 ac_find_libraries=
29525 for ac_dir in $SEARCH_LIB;
29526 do
29527 for ac_extension in a so sl dylib dll.a; do
29528 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29529 ac_find_libraries=$ac_dir
29530 break 2
29531 fi
29532 done
29533 done
29534
29535 if test "$ac_find_libraries" != "" ; then
29536
29537 if test "$ac_find_libraries" = "default location"; then
29538 ac_path_to_link=""
29539 else
29540 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29541 result=$?
29542 if test $result = 0; then
29543 ac_path_to_link=""
29544 else
29545 ac_path_to_link=" -L$ac_find_libraries"
29546 fi
29547 fi
29548
29549 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29550 WXGPE=1
29551 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29552 echo "${ECHO_T}found in $ac_find_libraries" >&6
29553 else
29554 echo "$as_me:$LINENO: result: not found" >&5
29555 echo "${ECHO_T}not found" >&6
29556 fi
29557
29558 fi
29559 fi
29560
29561 if test "$wxUSE_MGL" = 1; then
29562 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29563 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29564 if test "x$MGL_ROOT" = x ; then
29565 echo "$as_me:$LINENO: result: not found" >&5
29566 echo "${ECHO_T}not found" >&6
29567 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29568 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29569 { (exit 1); exit 1; }; }
29570 else
29571 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29572 echo "${ECHO_T}$MGL_ROOT" >&6
29573 fi
29574
29575 echo "$as_me:$LINENO: checking for libmgl location" >&5
29576 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29577 case "${host}" in
29578 *-*-linux* )
29579 if test "x$wxUSE_SHARED" = xyes ; then
29580 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29581 else
29582 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29583 fi
29584 ;;
29585 *-pc-msdosdjgpp )
29586 mgl_os_candidates="dos32/dj2"
29587 ;;
29588 *)
29589 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29590 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29591 { (exit 1); exit 1; }; }
29592 esac
29593
29594 mgl_lib_type=""
29595 mgl_os=""
29596
29597 for mgl_os_i in $mgl_os_candidates ; do
29598 if test "x$mgl_os" = x ; then
29599 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29600 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29601 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29602 mgl_lib_type=debug
29603 mgl_os=$mgl_os_i
29604 fi
29605 fi
29606 if test "x$mgl_lib_type" = x ; then
29607 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29608 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29609 mgl_lib_type=release
29610 mgl_os=$mgl_os_i
29611 fi
29612 fi
29613 fi
29614 done
29615
29616 if test "x$mgl_os" = x ; then
29617 echo "$as_me:$LINENO: result: not found" >&5
29618 echo "${ECHO_T}not found" >&6
29619 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29620 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29621 { (exit 1); exit 1; }; }
29622 fi
29623 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29624 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29625
29626 wxUSE_UNIVERSAL="yes"
29627
29628 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29629 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29630
29631 AFMINSTALL=afminstall
29632 TOOLKIT=MGL
29633 GUIDIST=MGL_DIST
29634 fi
29635
29636 if test "$wxUSE_DFB" = 1; then
29637
29638
29639 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29640 if test -n "$ac_tool_prefix"; then
29641 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29642 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29643 echo "$as_me:$LINENO: checking for $ac_word" >&5
29644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29645 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 case $PKG_CONFIG in
29649 [\\/]* | ?:[\\/]*)
29650 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29651 ;;
29652 *)
29653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29654 for as_dir in $PATH
29655 do
29656 IFS=$as_save_IFS
29657 test -z "$as_dir" && as_dir=.
29658 for ac_exec_ext in '' $ac_executable_extensions; do
29659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29660 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29662 break 2
29663 fi
29664 done
29665 done
29666
29667 ;;
29668 esac
29669 fi
29670 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29671
29672 if test -n "$PKG_CONFIG"; then
29673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29674 echo "${ECHO_T}$PKG_CONFIG" >&6
29675 else
29676 echo "$as_me:$LINENO: result: no" >&5
29677 echo "${ECHO_T}no" >&6
29678 fi
29679
29680 fi
29681 if test -z "$ac_cv_path_PKG_CONFIG"; then
29682 ac_pt_PKG_CONFIG=$PKG_CONFIG
29683 # Extract the first word of "pkg-config", so it can be a program name with args.
29684 set dummy pkg-config; ac_word=$2
29685 echo "$as_me:$LINENO: checking for $ac_word" >&5
29686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29687 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29688 echo $ECHO_N "(cached) $ECHO_C" >&6
29689 else
29690 case $ac_pt_PKG_CONFIG in
29691 [\\/]* | ?:[\\/]*)
29692 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29693 ;;
29694 *)
29695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29696 for as_dir in $PATH
29697 do
29698 IFS=$as_save_IFS
29699 test -z "$as_dir" && as_dir=.
29700 for ac_exec_ext in '' $ac_executable_extensions; do
29701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29702 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29704 break 2
29705 fi
29706 done
29707 done
29708
29709 ;;
29710 esac
29711 fi
29712 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29713
29714 if test -n "$ac_pt_PKG_CONFIG"; then
29715 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29716 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29717 else
29718 echo "$as_me:$LINENO: result: no" >&5
29719 echo "${ECHO_T}no" >&6
29720 fi
29721
29722 PKG_CONFIG=$ac_pt_PKG_CONFIG
29723 else
29724 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29725 fi
29726
29727 fi
29728 if test -n "$PKG_CONFIG"; then
29729 _pkg_min_version=0.9.0
29730 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29731 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29733 echo "$as_me:$LINENO: result: yes" >&5
29734 echo "${ECHO_T}yes" >&6
29735 else
29736 echo "$as_me:$LINENO: result: no" >&5
29737 echo "${ECHO_T}no" >&6
29738 PKG_CONFIG=""
29739 fi
29740
29741 fi
29742
29743
29744 pkg_failed=no
29745 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29746 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29747
29748 if test -n "$PKG_CONFIG"; then
29749 if test -n "$DIRECTFB_CFLAGS"; then
29750 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29751 else
29752 if test -n "$PKG_CONFIG" && \
29753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29754 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; then
29758 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29759 else
29760 pkg_failed=yes
29761 fi
29762 fi
29763 else
29764 pkg_failed=untried
29765 fi
29766 if test -n "$PKG_CONFIG"; then
29767 if test -n "$DIRECTFB_LIBS"; then
29768 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29769 else
29770 if test -n "$PKG_CONFIG" && \
29771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29772 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29773 ac_status=$?
29774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775 (exit $ac_status); }; then
29776 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29777 else
29778 pkg_failed=yes
29779 fi
29780 fi
29781 else
29782 pkg_failed=untried
29783 fi
29784
29785
29786
29787 if test $pkg_failed = yes; then
29788
29789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29790 _pkg_short_errors_supported=yes
29791 else
29792 _pkg_short_errors_supported=no
29793 fi
29794 if test $_pkg_short_errors_supported = yes; then
29795 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29796 else
29797 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29798 fi
29799 # Put the nasty error message in config.log where it belongs
29800 echo "$DIRECTFB_PKG_ERRORS" >&5
29801
29802
29803 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29804 echo "$as_me: error: DirectFB not found." >&2;}
29805 { (exit 1); exit 1; }; }
29806
29807
29808 elif test $pkg_failed = untried; then
29809
29810 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29811 echo "$as_me: error: DirectFB not found." >&2;}
29812 { (exit 1); exit 1; }; }
29813
29814
29815 else
29816 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29817 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29818 echo "$as_me:$LINENO: result: yes" >&5
29819 echo "${ECHO_T}yes" >&6
29820
29821 wxUSE_UNIVERSAL="yes"
29822 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29823 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29824 TOOLKIT=DFB
29825 GUIDIST=DFB_DIST
29826
29827 fi
29828 fi
29829
29830 if test "$wxUSE_MICROWIN" = 1; then
29831 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29832 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29833 if test "x$MICROWINDOWS" = x ; then
29834 echo "$as_me:$LINENO: result: not found" >&5
29835 echo "${ECHO_T}not found" >&6
29836 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29837 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29838 { (exit 1); exit 1; }; }
29839 else
29840 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29841 echo "${ECHO_T}$MICROWINDOWS" >&6
29842 fi
29843
29844 if test -f $MICROWINDOWS/lib/libmwin.a; then
29845 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29846 echo "${ECHO_T}MicroWindows' libraries found." >&6
29847 else
29848 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29849 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29850 { (exit 1); exit 1; }; }
29851 fi
29852
29853 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29854 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29855
29856 wxUSE_UNIVERSAL="yes"
29857
29858 AFMINSTALL=afminstall
29859 TOOLKIT=MICROWIN
29860 GUIDIST=MICROWIN_DIST
29861
29862 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29863 fi
29864
29865 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29866
29867 if test "x$ac_path_x_has_been_run" != xyes; then
29868 echo "$as_me:$LINENO: checking for X" >&5
29869 echo $ECHO_N "checking for X... $ECHO_C" >&6
29870
29871 ac_path_x_has_been_run=yes
29872
29873 # Check whether --with-x or --without-x was given.
29874 if test "${with_x+set}" = set; then
29875 withval="$with_x"
29876
29877 fi;
29878 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29879 if test "x$with_x" = xno; then
29880 # The user explicitly disabled X.
29881 have_x=disabled
29882 else
29883 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29884 # Both variables are already set.
29885 have_x=yes
29886 else
29887 if test "${ac_cv_have_x+set}" = set; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29889 else
29890 # One or both of the vars are not set, and there is no cached value.
29891 ac_x_includes=no ac_x_libraries=no
29892 rm -fr conftest.dir
29893 if mkdir conftest.dir; then
29894 cd conftest.dir
29895 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29896 cat >Imakefile <<'_ACEOF'
29897 acfindx:
29898 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29899 _ACEOF
29900 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29901 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29902 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29903 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29904 for ac_extension in a so sl; do
29905 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29906 test -f $ac_im_libdir/libX11.$ac_extension; then
29907 ac_im_usrlibdir=$ac_im_libdir; break
29908 fi
29909 done
29910 # Screen out bogus values from the imake configuration. They are
29911 # bogus both because they are the default anyway, and because
29912 # using them would break gcc on systems where it needs fixed includes.
29913 case $ac_im_incroot in
29914 /usr/include) ;;
29915 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29916 esac
29917 case $ac_im_usrlibdir in
29918 /usr/lib | /lib) ;;
29919 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29920 esac
29921 fi
29922 cd ..
29923 rm -fr conftest.dir
29924 fi
29925
29926 # Standard set of common directories for X headers.
29927 # Check X11 before X11Rn because it is often a symlink to the current release.
29928 ac_x_header_dirs='
29929 /usr/X11/include
29930 /usr/X11R6/include
29931 /usr/X11R5/include
29932 /usr/X11R4/include
29933
29934 /usr/include/X11
29935 /usr/include/X11R6
29936 /usr/include/X11R5
29937 /usr/include/X11R4
29938
29939 /usr/local/X11/include
29940 /usr/local/X11R6/include
29941 /usr/local/X11R5/include
29942 /usr/local/X11R4/include
29943
29944 /usr/local/include/X11
29945 /usr/local/include/X11R6
29946 /usr/local/include/X11R5
29947 /usr/local/include/X11R4
29948
29949 /usr/X386/include
29950 /usr/x386/include
29951 /usr/XFree86/include/X11
29952
29953 /usr/include
29954 /usr/local/include
29955 /usr/unsupported/include
29956 /usr/athena/include
29957 /usr/local/x11r5/include
29958 /usr/lpp/Xamples/include
29959
29960 /usr/openwin/include
29961 /usr/openwin/share/include'
29962
29963 if test "$ac_x_includes" = no; then
29964 # Guess where to find include files, by looking for a specified header file.
29965 # First, try using that file with no special directory specified.
29966 cat >conftest.$ac_ext <<_ACEOF
29967 /* confdefs.h. */
29968 _ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29972 #include <X11/Intrinsic.h>
29973 _ACEOF
29974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29976 ac_status=$?
29977 grep -v '^ *+' conftest.er1 >conftest.err
29978 rm -f conftest.er1
29979 cat conftest.err >&5
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); } >/dev/null; then
29982 if test -s conftest.err; then
29983 ac_cpp_err=$ac_cxx_preproc_warn_flag
29984 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29985 else
29986 ac_cpp_err=
29987 fi
29988 else
29989 ac_cpp_err=yes
29990 fi
29991 if test -z "$ac_cpp_err"; then
29992 # We can compile using X headers with no special include directory.
29993 ac_x_includes=
29994 else
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.$ac_ext >&5
29997
29998 for ac_dir in $ac_x_header_dirs; do
29999 if test -r "$ac_dir/X11/Intrinsic.h"; then
30000 ac_x_includes=$ac_dir
30001 break
30002 fi
30003 done
30004 fi
30005 rm -f conftest.err conftest.$ac_ext
30006 fi # $ac_x_includes = no
30007
30008 if test "$ac_x_libraries" = no; then
30009 # Check for the libraries.
30010 # See if we find them without any special options.
30011 # Don't add to $LIBS permanently.
30012 ac_save_LIBS=$LIBS
30013 LIBS="-lXt $LIBS"
30014 cat >conftest.$ac_ext <<_ACEOF
30015 /* confdefs.h. */
30016 _ACEOF
30017 cat confdefs.h >>conftest.$ac_ext
30018 cat >>conftest.$ac_ext <<_ACEOF
30019 /* end confdefs.h. */
30020 #include <X11/Intrinsic.h>
30021 int
30022 main ()
30023 {
30024 XtMalloc (0)
30025 ;
30026 return 0;
30027 }
30028 _ACEOF
30029 rm -f conftest.$ac_objext conftest$ac_exeext
30030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30031 (eval $ac_link) 2>conftest.er1
30032 ac_status=$?
30033 grep -v '^ *+' conftest.er1 >conftest.err
30034 rm -f conftest.er1
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } &&
30038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30040 (eval $ac_try) 2>&5
30041 ac_status=$?
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); }; } &&
30044 { ac_try='test -s conftest$ac_exeext'
30045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30046 (eval $ac_try) 2>&5
30047 ac_status=$?
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); }; }; then
30050 LIBS=$ac_save_LIBS
30051 # We can link X programs with no special library path.
30052 ac_x_libraries=
30053 else
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30056
30057 LIBS=$ac_save_LIBS
30058 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30059 do
30060 # Don't even attempt the hair of trying to link an X program!
30061 for ac_extension in a so sl; do
30062 if test -r $ac_dir/libXt.$ac_extension; then
30063 ac_x_libraries=$ac_dir
30064 break 2
30065 fi
30066 done
30067 done
30068 fi
30069 rm -f conftest.err conftest.$ac_objext \
30070 conftest$ac_exeext conftest.$ac_ext
30071 fi # $ac_x_libraries = no
30072
30073 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30074 # Didn't find X anywhere. Cache the known absence of X.
30075 ac_cv_have_x="have_x=no"
30076 else
30077 # Record where we found X for the cache.
30078 ac_cv_have_x="have_x=yes \
30079 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30080 fi
30081 fi
30082
30083 fi
30084 eval "$ac_cv_have_x"
30085 fi # $with_x != no
30086
30087 if test "$have_x" != yes; then
30088 echo "$as_me:$LINENO: result: $have_x" >&5
30089 echo "${ECHO_T}$have_x" >&6
30090 no_x=yes
30091 else
30092 # If each of the values was on the command line, it overrides each guess.
30093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30095 # Update the cache value to reflect the command line values.
30096 ac_cv_have_x="have_x=yes \
30097 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30098 # It might be that x_includes is empty (headers are found in the
30099 # standard search path. Then output the corresponding message
30100 ac_out_x_includes=$x_includes
30101 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30102 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30103 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30104 fi
30105
30106 fi
30107 if test "$no_x" = yes; then
30108 # Not all programs may use this symbol, but it does not hurt to define it.
30109
30110 cat >>confdefs.h <<\_ACEOF
30111 #define X_DISPLAY_MISSING 1
30112 _ACEOF
30113
30114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30115 else
30116 if test -n "$x_includes"; then
30117 X_CFLAGS="$X_CFLAGS -I$x_includes"
30118 fi
30119
30120 # It would also be nice to do this for all -L options, not just this one.
30121 if test -n "$x_libraries"; then
30122 X_LIBS="$X_LIBS -L$x_libraries"
30123 # For Solaris; some versions of Sun CC require a space after -R and
30124 # others require no space. Words are not sufficient . . . .
30125 case `(uname -sr) 2>/dev/null` in
30126 "SunOS 5"*)
30127 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30128 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30129 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30130 cat >conftest.$ac_ext <<_ACEOF
30131 /* confdefs.h. */
30132 _ACEOF
30133 cat confdefs.h >>conftest.$ac_ext
30134 cat >>conftest.$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30136
30137 int
30138 main ()
30139 {
30140
30141 ;
30142 return 0;
30143 }
30144 _ACEOF
30145 rm -f conftest.$ac_objext conftest$ac_exeext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30147 (eval $ac_link) 2>conftest.er1
30148 ac_status=$?
30149 grep -v '^ *+' conftest.er1 >conftest.err
30150 rm -f conftest.er1
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30157 ac_status=$?
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; } &&
30160 { ac_try='test -s conftest$ac_exeext'
30161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162 (eval $ac_try) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; }; then
30166 ac_R_nospace=yes
30167 else
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30170
30171 ac_R_nospace=no
30172 fi
30173 rm -f conftest.err conftest.$ac_objext \
30174 conftest$ac_exeext conftest.$ac_ext
30175 if test $ac_R_nospace = yes; then
30176 echo "$as_me:$LINENO: result: no" >&5
30177 echo "${ECHO_T}no" >&6
30178 X_LIBS="$X_LIBS -R$x_libraries"
30179 else
30180 LIBS="$ac_xsave_LIBS -R $x_libraries"
30181 cat >conftest.$ac_ext <<_ACEOF
30182 /* confdefs.h. */
30183 _ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30187
30188 int
30189 main ()
30190 {
30191
30192 ;
30193 return 0;
30194 }
30195 _ACEOF
30196 rm -f conftest.$ac_objext conftest$ac_exeext
30197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30198 (eval $ac_link) 2>conftest.er1
30199 ac_status=$?
30200 grep -v '^ *+' conftest.er1 >conftest.err
30201 rm -f conftest.er1
30202 cat conftest.err >&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; } &&
30211 { ac_try='test -s conftest$ac_exeext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 ac_R_space=yes
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30221
30222 ac_R_space=no
30223 fi
30224 rm -f conftest.err conftest.$ac_objext \
30225 conftest$ac_exeext conftest.$ac_ext
30226 if test $ac_R_space = yes; then
30227 echo "$as_me:$LINENO: result: yes" >&5
30228 echo "${ECHO_T}yes" >&6
30229 X_LIBS="$X_LIBS -R $x_libraries"
30230 else
30231 echo "$as_me:$LINENO: result: neither works" >&5
30232 echo "${ECHO_T}neither works" >&6
30233 fi
30234 fi
30235 LIBS=$ac_xsave_LIBS
30236 esac
30237 fi
30238
30239 # Check for system-dependent libraries X programs must link with.
30240 # Do this before checking for the system-independent R6 libraries
30241 # (-lICE), since we may need -lsocket or whatever for X linking.
30242
30243 if test "$ISC" = yes; then
30244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30245 else
30246 # Martyn Johnson says this is needed for Ultrix, if the X
30247 # libraries were built with DECnet support. And Karl Berry says
30248 # the Alpha needs dnet_stub (dnet does not exist).
30249 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30250 cat >conftest.$ac_ext <<_ACEOF
30251 /* confdefs.h. */
30252 _ACEOF
30253 cat confdefs.h >>conftest.$ac_ext
30254 cat >>conftest.$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256
30257 /* Override any gcc2 internal prototype to avoid an error. */
30258 #ifdef __cplusplus
30259 extern "C"
30260 #endif
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30263 char XOpenDisplay ();
30264 int
30265 main ()
30266 {
30267 XOpenDisplay ();
30268 ;
30269 return 0;
30270 }
30271 _ACEOF
30272 rm -f conftest.$ac_objext conftest$ac_exeext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30274 (eval $ac_link) 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30283 (eval $ac_try) 2>&5
30284 ac_status=$?
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); }; } &&
30287 { ac_try='test -s conftest$ac_exeext'
30288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30289 (eval $ac_try) 2>&5
30290 ac_status=$?
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); }; }; then
30293 :
30294 else
30295 echo "$as_me: failed program was:" >&5
30296 sed 's/^/| /' conftest.$ac_ext >&5
30297
30298 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30299 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30300 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30302 else
30303 ac_check_lib_save_LIBS=$LIBS
30304 LIBS="-ldnet $LIBS"
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h. */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30311
30312 /* Override any gcc2 internal prototype to avoid an error. */
30313 #ifdef __cplusplus
30314 extern "C"
30315 #endif
30316 /* We use char because int might match the return type of a gcc2
30317 builtin and then its argument prototype would still apply. */
30318 char dnet_ntoa ();
30319 int
30320 main ()
30321 {
30322 dnet_ntoa ();
30323 ;
30324 return 0;
30325 }
30326 _ACEOF
30327 rm -f conftest.$ac_objext conftest$ac_exeext
30328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30329 (eval $ac_link) 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } &&
30336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30345 ac_status=$?
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_dnet_dnet_ntoa=yes
30349 else
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.$ac_ext >&5
30352
30353 ac_cv_lib_dnet_dnet_ntoa=no
30354 fi
30355 rm -f conftest.err conftest.$ac_objext \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30358 fi
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30360 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30361 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30362 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30363 fi
30364
30365 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30366 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30367 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30368 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30370 else
30371 ac_check_lib_save_LIBS=$LIBS
30372 LIBS="-ldnet_stub $LIBS"
30373 cat >conftest.$ac_ext <<_ACEOF
30374 /* confdefs.h. */
30375 _ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379
30380 /* Override any gcc2 internal prototype to avoid an error. */
30381 #ifdef __cplusplus
30382 extern "C"
30383 #endif
30384 /* We use char because int might match the return type of a gcc2
30385 builtin and then its argument prototype would still apply. */
30386 char dnet_ntoa ();
30387 int
30388 main ()
30389 {
30390 dnet_ntoa ();
30391 ;
30392 return 0;
30393 }
30394 _ACEOF
30395 rm -f conftest.$ac_objext conftest$ac_exeext
30396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30397 (eval $ac_link) 2>conftest.er1
30398 ac_status=$?
30399 grep -v '^ *+' conftest.er1 >conftest.err
30400 rm -f conftest.er1
30401 cat conftest.err >&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } &&
30404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30407 ac_status=$?
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30413 ac_status=$?
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30417 else
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.$ac_ext >&5
30420
30421 ac_cv_lib_dnet_stub_dnet_ntoa=no
30422 fi
30423 rm -f conftest.err conftest.$ac_objext \
30424 conftest$ac_exeext conftest.$ac_ext
30425 LIBS=$ac_check_lib_save_LIBS
30426 fi
30427 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30428 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30429 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30430 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30431 fi
30432
30433 fi
30434 fi
30435 rm -f conftest.err conftest.$ac_objext \
30436 conftest$ac_exeext conftest.$ac_ext
30437 LIBS="$ac_xsave_LIBS"
30438
30439 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30440 # to get the SysV transport functions.
30441 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30442 # needs -lnsl.
30443 # The nsl library prevents programs from opening the X display
30444 # on Irix 5.2, according to T.E. Dickey.
30445 # The functions gethostbyname, getservbyname, and inet_addr are
30446 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30447 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30448 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30449 if test "${ac_cv_func_gethostbyname+set}" = set; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30451 else
30452 cat >conftest.$ac_ext <<_ACEOF
30453 /* confdefs.h. */
30454 _ACEOF
30455 cat confdefs.h >>conftest.$ac_ext
30456 cat >>conftest.$ac_ext <<_ACEOF
30457 /* end confdefs.h. */
30458 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30460 #define gethostbyname innocuous_gethostbyname
30461
30462 /* System header to define __stub macros and hopefully few prototypes,
30463 which can conflict with char gethostbyname (); below.
30464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30465 <limits.h> exists even on freestanding compilers. */
30466
30467 #ifdef __STDC__
30468 # include <limits.h>
30469 #else
30470 # include <assert.h>
30471 #endif
30472
30473 #undef gethostbyname
30474
30475 /* Override any gcc2 internal prototype to avoid an error. */
30476 #ifdef __cplusplus
30477 extern "C"
30478 {
30479 #endif
30480 /* We use char because int might match the return type of a gcc2
30481 builtin and then its argument prototype would still apply. */
30482 char gethostbyname ();
30483 /* The GNU C library defines this for functions which it implements
30484 to always fail with ENOSYS. Some functions are actually named
30485 something starting with __ and the normal name is an alias. */
30486 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30487 choke me
30488 #else
30489 char (*f) () = gethostbyname;
30490 #endif
30491 #ifdef __cplusplus
30492 }
30493 #endif
30494
30495 int
30496 main ()
30497 {
30498 return f != gethostbyname;
30499 ;
30500 return 0;
30501 }
30502 _ACEOF
30503 rm -f conftest.$ac_objext conftest$ac_exeext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30505 (eval $ac_link) 2>conftest.er1
30506 ac_status=$?
30507 grep -v '^ *+' conftest.er1 >conftest.err
30508 rm -f conftest.er1
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30514 (eval $ac_try) 2>&5
30515 ac_status=$?
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); }; } &&
30518 { ac_try='test -s conftest$ac_exeext'
30519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 (eval $ac_try) 2>&5
30521 ac_status=$?
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); }; }; then
30524 ac_cv_func_gethostbyname=yes
30525 else
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.$ac_ext >&5
30528
30529 ac_cv_func_gethostbyname=no
30530 fi
30531 rm -f conftest.err conftest.$ac_objext \
30532 conftest$ac_exeext conftest.$ac_ext
30533 fi
30534 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30535 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30536
30537 if test $ac_cv_func_gethostbyname = no; then
30538 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30539 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30540 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30541 echo $ECHO_N "(cached) $ECHO_C" >&6
30542 else
30543 ac_check_lib_save_LIBS=$LIBS
30544 LIBS="-lnsl $LIBS"
30545 cat >conftest.$ac_ext <<_ACEOF
30546 /* confdefs.h. */
30547 _ACEOF
30548 cat confdefs.h >>conftest.$ac_ext
30549 cat >>conftest.$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30551
30552 /* Override any gcc2 internal prototype to avoid an error. */
30553 #ifdef __cplusplus
30554 extern "C"
30555 #endif
30556 /* We use char because int might match the return type of a gcc2
30557 builtin and then its argument prototype would still apply. */
30558 char gethostbyname ();
30559 int
30560 main ()
30561 {
30562 gethostbyname ();
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 rm -f conftest.$ac_objext conftest$ac_exeext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30569 (eval $ac_link) 2>conftest.er1
30570 ac_status=$?
30571 grep -v '^ *+' conftest.er1 >conftest.err
30572 rm -f conftest.er1
30573 cat conftest.err >&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; } &&
30582 { ac_try='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30588 ac_cv_lib_nsl_gethostbyname=yes
30589 else
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30592
30593 ac_cv_lib_nsl_gethostbyname=no
30594 fi
30595 rm -f conftest.err conftest.$ac_objext \
30596 conftest$ac_exeext conftest.$ac_ext
30597 LIBS=$ac_check_lib_save_LIBS
30598 fi
30599 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30600 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30601 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30603 fi
30604
30605 if test $ac_cv_lib_nsl_gethostbyname = no; then
30606 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30607 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30608 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30609 echo $ECHO_N "(cached) $ECHO_C" >&6
30610 else
30611 ac_check_lib_save_LIBS=$LIBS
30612 LIBS="-lbsd $LIBS"
30613 cat >conftest.$ac_ext <<_ACEOF
30614 /* confdefs.h. */
30615 _ACEOF
30616 cat confdefs.h >>conftest.$ac_ext
30617 cat >>conftest.$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30619
30620 /* Override any gcc2 internal prototype to avoid an error. */
30621 #ifdef __cplusplus
30622 extern "C"
30623 #endif
30624 /* We use char because int might match the return type of a gcc2
30625 builtin and then its argument prototype would still apply. */
30626 char gethostbyname ();
30627 int
30628 main ()
30629 {
30630 gethostbyname ();
30631 ;
30632 return 0;
30633 }
30634 _ACEOF
30635 rm -f conftest.$ac_objext conftest$ac_exeext
30636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30637 (eval $ac_link) 2>conftest.er1
30638 ac_status=$?
30639 grep -v '^ *+' conftest.er1 >conftest.err
30640 rm -f conftest.er1
30641 cat conftest.err >&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); } &&
30644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30646 (eval $ac_try) 2>&5
30647 ac_status=$?
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); }; } &&
30650 { ac_try='test -s conftest$ac_exeext'
30651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30652 (eval $ac_try) 2>&5
30653 ac_status=$?
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); }; }; then
30656 ac_cv_lib_bsd_gethostbyname=yes
30657 else
30658 echo "$as_me: failed program was:" >&5
30659 sed 's/^/| /' conftest.$ac_ext >&5
30660
30661 ac_cv_lib_bsd_gethostbyname=no
30662 fi
30663 rm -f conftest.err conftest.$ac_objext \
30664 conftest$ac_exeext conftest.$ac_ext
30665 LIBS=$ac_check_lib_save_LIBS
30666 fi
30667 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30668 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30669 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30670 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30671 fi
30672
30673 fi
30674 fi
30675
30676 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30677 # socket/setsockopt and other routines are undefined under SCO ODT
30678 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30679 # on later versions), says Simon Leinen: it contains gethostby*
30680 # variants that don't use the name server (or something). -lsocket
30681 # must be given before -lnsl if both are needed. We assume that
30682 # if connect needs -lnsl, so does gethostbyname.
30683 echo "$as_me:$LINENO: checking for connect" >&5
30684 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30685 if test "${ac_cv_func_connect+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30687 else
30688 cat >conftest.$ac_ext <<_ACEOF
30689 /* confdefs.h. */
30690 _ACEOF
30691 cat confdefs.h >>conftest.$ac_ext
30692 cat >>conftest.$ac_ext <<_ACEOF
30693 /* end confdefs.h. */
30694 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30696 #define connect innocuous_connect
30697
30698 /* System header to define __stub macros and hopefully few prototypes,
30699 which can conflict with char connect (); below.
30700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30701 <limits.h> exists even on freestanding compilers. */
30702
30703 #ifdef __STDC__
30704 # include <limits.h>
30705 #else
30706 # include <assert.h>
30707 #endif
30708
30709 #undef connect
30710
30711 /* Override any gcc2 internal prototype to avoid an error. */
30712 #ifdef __cplusplus
30713 extern "C"
30714 {
30715 #endif
30716 /* We use char because int might match the return type of a gcc2
30717 builtin and then its argument prototype would still apply. */
30718 char connect ();
30719 /* The GNU C library defines this for functions which it implements
30720 to always fail with ENOSYS. Some functions are actually named
30721 something starting with __ and the normal name is an alias. */
30722 #if defined (__stub_connect) || defined (__stub___connect)
30723 choke me
30724 #else
30725 char (*f) () = connect;
30726 #endif
30727 #ifdef __cplusplus
30728 }
30729 #endif
30730
30731 int
30732 main ()
30733 {
30734 return f != connect;
30735 ;
30736 return 0;
30737 }
30738 _ACEOF
30739 rm -f conftest.$ac_objext conftest$ac_exeext
30740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30741 (eval $ac_link) 2>conftest.er1
30742 ac_status=$?
30743 grep -v '^ *+' conftest.er1 >conftest.err
30744 rm -f conftest.er1
30745 cat conftest.err >&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } &&
30748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30751 ac_status=$?
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; } &&
30754 { ac_try='test -s conftest$ac_exeext'
30755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30756 (eval $ac_try) 2>&5
30757 ac_status=$?
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); }; }; then
30760 ac_cv_func_connect=yes
30761 else
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.$ac_ext >&5
30764
30765 ac_cv_func_connect=no
30766 fi
30767 rm -f conftest.err conftest.$ac_objext \
30768 conftest$ac_exeext conftest.$ac_ext
30769 fi
30770 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30771 echo "${ECHO_T}$ac_cv_func_connect" >&6
30772
30773 if test $ac_cv_func_connect = no; then
30774 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30775 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30776 if test "${ac_cv_lib_socket_connect+set}" = set; then
30777 echo $ECHO_N "(cached) $ECHO_C" >&6
30778 else
30779 ac_check_lib_save_LIBS=$LIBS
30780 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30781 cat >conftest.$ac_ext <<_ACEOF
30782 /* confdefs.h. */
30783 _ACEOF
30784 cat confdefs.h >>conftest.$ac_ext
30785 cat >>conftest.$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30787
30788 /* Override any gcc2 internal prototype to avoid an error. */
30789 #ifdef __cplusplus
30790 extern "C"
30791 #endif
30792 /* We use char because int might match the return type of a gcc2
30793 builtin and then its argument prototype would still apply. */
30794 char connect ();
30795 int
30796 main ()
30797 {
30798 connect ();
30799 ;
30800 return 0;
30801 }
30802 _ACEOF
30803 rm -f conftest.$ac_objext conftest$ac_exeext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30805 (eval $ac_link) 2>conftest.er1
30806 ac_status=$?
30807 grep -v '^ *+' conftest.er1 >conftest.err
30808 rm -f conftest.er1
30809 cat conftest.err >&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } &&
30812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30814 (eval $ac_try) 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; } &&
30818 { ac_try='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30821 ac_status=$?
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 ac_cv_lib_socket_connect=yes
30825 else
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.$ac_ext >&5
30828
30829 ac_cv_lib_socket_connect=no
30830 fi
30831 rm -f conftest.err conftest.$ac_objext \
30832 conftest$ac_exeext conftest.$ac_ext
30833 LIBS=$ac_check_lib_save_LIBS
30834 fi
30835 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30836 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30837 if test $ac_cv_lib_socket_connect = yes; then
30838 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30839 fi
30840
30841 fi
30842
30843 # Guillermo Gomez says -lposix is necessary on A/UX.
30844 echo "$as_me:$LINENO: checking for remove" >&5
30845 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30846 if test "${ac_cv_func_remove+set}" = set; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 else
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30857 #define remove innocuous_remove
30858
30859 /* System header to define __stub macros and hopefully few prototypes,
30860 which can conflict with char remove (); below.
30861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30862 <limits.h> exists even on freestanding compilers. */
30863
30864 #ifdef __STDC__
30865 # include <limits.h>
30866 #else
30867 # include <assert.h>
30868 #endif
30869
30870 #undef remove
30871
30872 /* Override any gcc2 internal prototype to avoid an error. */
30873 #ifdef __cplusplus
30874 extern "C"
30875 {
30876 #endif
30877 /* We use char because int might match the return type of a gcc2
30878 builtin and then its argument prototype would still apply. */
30879 char remove ();
30880 /* The GNU C library defines this for functions which it implements
30881 to always fail with ENOSYS. Some functions are actually named
30882 something starting with __ and the normal name is an alias. */
30883 #if defined (__stub_remove) || defined (__stub___remove)
30884 choke me
30885 #else
30886 char (*f) () = remove;
30887 #endif
30888 #ifdef __cplusplus
30889 }
30890 #endif
30891
30892 int
30893 main ()
30894 {
30895 return f != remove;
30896 ;
30897 return 0;
30898 }
30899 _ACEOF
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30902 (eval $ac_link) 2>conftest.er1
30903 ac_status=$?
30904 grep -v '^ *+' conftest.er1 >conftest.err
30905 rm -f conftest.er1
30906 cat conftest.err >&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } &&
30909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30912 ac_status=$?
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; } &&
30915 { ac_try='test -s conftest$ac_exeext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30918 ac_status=$?
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 ac_cv_func_remove=yes
30922 else
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.$ac_ext >&5
30925
30926 ac_cv_func_remove=no
30927 fi
30928 rm -f conftest.err conftest.$ac_objext \
30929 conftest$ac_exeext conftest.$ac_ext
30930 fi
30931 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30932 echo "${ECHO_T}$ac_cv_func_remove" >&6
30933
30934 if test $ac_cv_func_remove = no; then
30935 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30936 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30937 if test "${ac_cv_lib_posix_remove+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 else
30940 ac_check_lib_save_LIBS=$LIBS
30941 LIBS="-lposix $LIBS"
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948
30949 /* Override any gcc2 internal prototype to avoid an error. */
30950 #ifdef __cplusplus
30951 extern "C"
30952 #endif
30953 /* We use char because int might match the return type of a gcc2
30954 builtin and then its argument prototype would still apply. */
30955 char remove ();
30956 int
30957 main ()
30958 {
30959 remove ();
30960 ;
30961 return 0;
30962 }
30963 _ACEOF
30964 rm -f conftest.$ac_objext conftest$ac_exeext
30965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30966 (eval $ac_link) 2>conftest.er1
30967 ac_status=$?
30968 grep -v '^ *+' conftest.er1 >conftest.err
30969 rm -f conftest.er1
30970 cat conftest.err >&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } &&
30973 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30975 (eval $ac_try) 2>&5
30976 ac_status=$?
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); }; } &&
30979 { ac_try='test -s conftest$ac_exeext'
30980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30981 (eval $ac_try) 2>&5
30982 ac_status=$?
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); }; }; then
30985 ac_cv_lib_posix_remove=yes
30986 else
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.$ac_ext >&5
30989
30990 ac_cv_lib_posix_remove=no
30991 fi
30992 rm -f conftest.err conftest.$ac_objext \
30993 conftest$ac_exeext conftest.$ac_ext
30994 LIBS=$ac_check_lib_save_LIBS
30995 fi
30996 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30998 if test $ac_cv_lib_posix_remove = yes; then
30999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31000 fi
31001
31002 fi
31003
31004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31005 echo "$as_me:$LINENO: checking for shmat" >&5
31006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31007 if test "${ac_cv_func_shmat+set}" = set; then
31008 echo $ECHO_N "(cached) $ECHO_C" >&6
31009 else
31010 cat >conftest.$ac_ext <<_ACEOF
31011 /* confdefs.h. */
31012 _ACEOF
31013 cat confdefs.h >>conftest.$ac_ext
31014 cat >>conftest.$ac_ext <<_ACEOF
31015 /* end confdefs.h. */
31016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31018 #define shmat innocuous_shmat
31019
31020 /* System header to define __stub macros and hopefully few prototypes,
31021 which can conflict with char shmat (); below.
31022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31023 <limits.h> exists even on freestanding compilers. */
31024
31025 #ifdef __STDC__
31026 # include <limits.h>
31027 #else
31028 # include <assert.h>
31029 #endif
31030
31031 #undef shmat
31032
31033 /* Override any gcc2 internal prototype to avoid an error. */
31034 #ifdef __cplusplus
31035 extern "C"
31036 {
31037 #endif
31038 /* We use char because int might match the return type of a gcc2
31039 builtin and then its argument prototype would still apply. */
31040 char shmat ();
31041 /* The GNU C library defines this for functions which it implements
31042 to always fail with ENOSYS. Some functions are actually named
31043 something starting with __ and the normal name is an alias. */
31044 #if defined (__stub_shmat) || defined (__stub___shmat)
31045 choke me
31046 #else
31047 char (*f) () = shmat;
31048 #endif
31049 #ifdef __cplusplus
31050 }
31051 #endif
31052
31053 int
31054 main ()
31055 {
31056 return f != shmat;
31057 ;
31058 return 0;
31059 }
31060 _ACEOF
31061 rm -f conftest.$ac_objext conftest$ac_exeext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31063 (eval $ac_link) 2>conftest.er1
31064 ac_status=$?
31065 grep -v '^ *+' conftest.er1 >conftest.err
31066 rm -f conftest.er1
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } &&
31070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31073 ac_status=$?
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_func_shmat=yes
31083 else
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31086
31087 ac_cv_func_shmat=no
31088 fi
31089 rm -f conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 fi
31092 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31093 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31094
31095 if test $ac_cv_func_shmat = no; then
31096 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31097 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31098 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31099 echo $ECHO_N "(cached) $ECHO_C" >&6
31100 else
31101 ac_check_lib_save_LIBS=$LIBS
31102 LIBS="-lipc $LIBS"
31103 cat >conftest.$ac_ext <<_ACEOF
31104 /* confdefs.h. */
31105 _ACEOF
31106 cat confdefs.h >>conftest.$ac_ext
31107 cat >>conftest.$ac_ext <<_ACEOF
31108 /* end confdefs.h. */
31109
31110 /* Override any gcc2 internal prototype to avoid an error. */
31111 #ifdef __cplusplus
31112 extern "C"
31113 #endif
31114 /* We use char because int might match the return type of a gcc2
31115 builtin and then its argument prototype would still apply. */
31116 char shmat ();
31117 int
31118 main ()
31119 {
31120 shmat ();
31121 ;
31122 return 0;
31123 }
31124 _ACEOF
31125 rm -f conftest.$ac_objext conftest$ac_exeext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31127 (eval $ac_link) 2>conftest.er1
31128 ac_status=$?
31129 grep -v '^ *+' conftest.er1 >conftest.err
31130 rm -f conftest.er1
31131 cat conftest.err >&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } &&
31134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31136 (eval $ac_try) 2>&5
31137 ac_status=$?
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); }; } &&
31140 { ac_try='test -s conftest$ac_exeext'
31141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31142 (eval $ac_try) 2>&5
31143 ac_status=$?
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; }; then
31146 ac_cv_lib_ipc_shmat=yes
31147 else
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.$ac_ext >&5
31150
31151 ac_cv_lib_ipc_shmat=no
31152 fi
31153 rm -f conftest.err conftest.$ac_objext \
31154 conftest$ac_exeext conftest.$ac_ext
31155 LIBS=$ac_check_lib_save_LIBS
31156 fi
31157 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31158 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31159 if test $ac_cv_lib_ipc_shmat = yes; then
31160 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31161 fi
31162
31163 fi
31164 fi
31165
31166 # Check for libraries that X11R6 Xt/Xaw programs need.
31167 ac_save_LDFLAGS=$LDFLAGS
31168 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31169 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31170 # check for ICE first), but we must link in the order -lSM -lICE or
31171 # we get undefined symbols. So assume we have SM if we have ICE.
31172 # These have to be linked with before -lX11, unlike the other
31173 # libraries we check for below, so use a different variable.
31174 # John Interrante, Karl Berry
31175 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31176 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31177 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31179 else
31180 ac_check_lib_save_LIBS=$LIBS
31181 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31182 cat >conftest.$ac_ext <<_ACEOF
31183 /* confdefs.h. */
31184 _ACEOF
31185 cat confdefs.h >>conftest.$ac_ext
31186 cat >>conftest.$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31188
31189 /* Override any gcc2 internal prototype to avoid an error. */
31190 #ifdef __cplusplus
31191 extern "C"
31192 #endif
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31195 char IceConnectionNumber ();
31196 int
31197 main ()
31198 {
31199 IceConnectionNumber ();
31200 ;
31201 return 0;
31202 }
31203 _ACEOF
31204 rm -f conftest.$ac_objext conftest$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206 (eval $ac_link) 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31216 ac_status=$?
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; } &&
31219 { ac_try='test -s conftest$ac_exeext'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31222 ac_status=$?
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; }; then
31225 ac_cv_lib_ICE_IceConnectionNumber=yes
31226 else
31227 echo "$as_me: failed program was:" >&5
31228 sed 's/^/| /' conftest.$ac_ext >&5
31229
31230 ac_cv_lib_ICE_IceConnectionNumber=no
31231 fi
31232 rm -f conftest.err conftest.$ac_objext \
31233 conftest$ac_exeext conftest.$ac_ext
31234 LIBS=$ac_check_lib_save_LIBS
31235 fi
31236 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31237 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31238 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31239 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31240 fi
31241
31242 LDFLAGS=$ac_save_LDFLAGS
31243
31244 fi
31245
31246
31247 if test "$no_x" = "yes"; then
31248 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31249 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31250 { (exit 1); exit 1; }; }
31251 fi
31252
31253 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31254 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31255 AFMINSTALL=afminstall
31256 COMPILED_X_PROGRAM=0
31257
31258 fi
31259
31260 if test "$wxUSE_X11" = 1; then
31261 if test "$wxUSE_NANOX" = "yes"; then
31262 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31263 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31264 if test "x$MICROWIN" = x ; then
31265 echo "$as_me:$LINENO: result: not found" >&5
31266 echo "${ECHO_T}not found" >&6
31267 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31268 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31269 { (exit 1); exit 1; }; }
31270 else
31271 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31272 echo "${ECHO_T}$MICROWIN" >&6
31273 cat >>confdefs.h <<\_ACEOF
31274 #define wxUSE_NANOX 1
31275 _ACEOF
31276
31277 fi
31278 fi
31279
31280 if test "$wxUSE_UNICODE" = "yes"; then
31281
31282
31283 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31284 if test -n "$ac_tool_prefix"; then
31285 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31286 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31287 echo "$as_me:$LINENO: checking for $ac_word" >&5
31288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31289 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 case $PKG_CONFIG in
31293 [\\/]* | ?:[\\/]*)
31294 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31295 ;;
31296 *)
31297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31298 for as_dir in $PATH
31299 do
31300 IFS=$as_save_IFS
31301 test -z "$as_dir" && as_dir=.
31302 for ac_exec_ext in '' $ac_executable_extensions; do
31303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31304 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31306 break 2
31307 fi
31308 done
31309 done
31310
31311 ;;
31312 esac
31313 fi
31314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31315
31316 if test -n "$PKG_CONFIG"; then
31317 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31318 echo "${ECHO_T}$PKG_CONFIG" >&6
31319 else
31320 echo "$as_me:$LINENO: result: no" >&5
31321 echo "${ECHO_T}no" >&6
31322 fi
31323
31324 fi
31325 if test -z "$ac_cv_path_PKG_CONFIG"; then
31326 ac_pt_PKG_CONFIG=$PKG_CONFIG
31327 # Extract the first word of "pkg-config", so it can be a program name with args.
31328 set dummy pkg-config; ac_word=$2
31329 echo "$as_me:$LINENO: checking for $ac_word" >&5
31330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31331 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31333 else
31334 case $ac_pt_PKG_CONFIG in
31335 [\\/]* | ?:[\\/]*)
31336 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31337 ;;
31338 *)
31339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31340 for as_dir in $PATH
31341 do
31342 IFS=$as_save_IFS
31343 test -z "$as_dir" && as_dir=.
31344 for ac_exec_ext in '' $ac_executable_extensions; do
31345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31346 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31348 break 2
31349 fi
31350 done
31351 done
31352
31353 ;;
31354 esac
31355 fi
31356 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31357
31358 if test -n "$ac_pt_PKG_CONFIG"; then
31359 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31360 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31361 else
31362 echo "$as_me:$LINENO: result: no" >&5
31363 echo "${ECHO_T}no" >&6
31364 fi
31365
31366 PKG_CONFIG=$ac_pt_PKG_CONFIG
31367 else
31368 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31369 fi
31370
31371 fi
31372 if test -n "$PKG_CONFIG"; then
31373 _pkg_min_version=0.9.0
31374 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31375 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31376 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31377 echo "$as_me:$LINENO: result: yes" >&5
31378 echo "${ECHO_T}yes" >&6
31379 else
31380 echo "$as_me:$LINENO: result: no" >&5
31381 echo "${ECHO_T}no" >&6
31382 PKG_CONFIG=""
31383 fi
31384
31385 fi
31386
31387
31388 pkg_failed=no
31389 echo "$as_me:$LINENO: checking for PANGOX" >&5
31390 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31391
31392 if test -n "$PKG_CONFIG"; then
31393 if test -n "$PANGOX_CFLAGS"; then
31394 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31395 else
31396 if test -n "$PKG_CONFIG" && \
31397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31398 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; then
31402 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31403 else
31404 pkg_failed=yes
31405 fi
31406 fi
31407 else
31408 pkg_failed=untried
31409 fi
31410 if test -n "$PKG_CONFIG"; then
31411 if test -n "$PANGOX_LIBS"; then
31412 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31413 else
31414 if test -n "$PKG_CONFIG" && \
31415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31416 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31417 ac_status=$?
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); }; then
31420 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31421 else
31422 pkg_failed=yes
31423 fi
31424 fi
31425 else
31426 pkg_failed=untried
31427 fi
31428
31429
31430
31431 if test $pkg_failed = yes; then
31432
31433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31434 _pkg_short_errors_supported=yes
31435 else
31436 _pkg_short_errors_supported=no
31437 fi
31438 if test $_pkg_short_errors_supported = yes; then
31439 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31440 else
31441 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31442 fi
31443 # Put the nasty error message in config.log where it belongs
31444 echo "$PANGOX_PKG_ERRORS" >&5
31445
31446
31447 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31448 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31449 { (exit 1); exit 1; }; }
31450
31451
31452 elif test $pkg_failed = untried; then
31453
31454 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31455 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31456 { (exit 1); exit 1; }; }
31457
31458
31459 else
31460 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31461 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31462 echo "$as_me:$LINENO: result: yes" >&5
31463 echo "${ECHO_T}yes" >&6
31464
31465 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31466 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31467
31468 fi
31469
31470 pkg_failed=no
31471 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31472 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31473
31474 if test -n "$PKG_CONFIG"; then
31475 if test -n "$PANGOFT2_CFLAGS"; then
31476 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31477 else
31478 if test -n "$PKG_CONFIG" && \
31479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31480 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; then
31484 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31485 else
31486 pkg_failed=yes
31487 fi
31488 fi
31489 else
31490 pkg_failed=untried
31491 fi
31492 if test -n "$PKG_CONFIG"; then
31493 if test -n "$PANGOFT2_LIBS"; then
31494 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31495 else
31496 if test -n "$PKG_CONFIG" && \
31497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31498 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31499 ac_status=$?
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); }; then
31502 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31503 else
31504 pkg_failed=yes
31505 fi
31506 fi
31507 else
31508 pkg_failed=untried
31509 fi
31510
31511
31512
31513 if test $pkg_failed = yes; then
31514
31515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31516 _pkg_short_errors_supported=yes
31517 else
31518 _pkg_short_errors_supported=no
31519 fi
31520 if test $_pkg_short_errors_supported = yes; then
31521 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31522 else
31523 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31524 fi
31525 # Put the nasty error message in config.log where it belongs
31526 echo "$PANGOFT2_PKG_ERRORS" >&5
31527
31528
31529 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31530 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31531 wxUSE_PRINTING_ARCHITECTURE="no"
31532
31533
31534 elif test $pkg_failed = untried; then
31535
31536 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31537 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31538 wxUSE_PRINTING_ARCHITECTURE="no"
31539
31540
31541 else
31542 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31543 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31544 echo "$as_me:$LINENO: result: yes" >&5
31545 echo "${ECHO_T}yes" >&6
31546
31547 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31549
31550 fi
31551
31552 pkg_failed=no
31553 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31554 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31555
31556 if test -n "$PKG_CONFIG"; then
31557 if test -n "$PANGOXFT_CFLAGS"; then
31558 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31559 else
31560 if test -n "$PKG_CONFIG" && \
31561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31562 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31563 ac_status=$?
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; then
31566 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31567 else
31568 pkg_failed=yes
31569 fi
31570 fi
31571 else
31572 pkg_failed=untried
31573 fi
31574 if test -n "$PKG_CONFIG"; then
31575 if test -n "$PANGOXFT_LIBS"; then
31576 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31577 else
31578 if test -n "$PKG_CONFIG" && \
31579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31580 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; then
31584 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31585 else
31586 pkg_failed=yes
31587 fi
31588 fi
31589 else
31590 pkg_failed=untried
31591 fi
31592
31593
31594
31595 if test $pkg_failed = yes; then
31596
31597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31598 _pkg_short_errors_supported=yes
31599 else
31600 _pkg_short_errors_supported=no
31601 fi
31602 if test $_pkg_short_errors_supported = yes; then
31603 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31604 else
31605 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31606 fi
31607 # Put the nasty error message in config.log where it belongs
31608 echo "$PANGOXFT_PKG_ERRORS" >&5
31609
31610
31611 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31612 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31613
31614
31615 elif test $pkg_failed = untried; then
31616
31617 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31618 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31619
31620
31621 else
31622 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31623 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31624 echo "$as_me:$LINENO: result: yes" >&5
31625 echo "${ECHO_T}yes" >&6
31626
31627 cat >>confdefs.h <<\_ACEOF
31628 #define HAVE_PANGO_XFT 1
31629 _ACEOF
31630
31631 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31632 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31633
31634 fi
31635 save_CXXFLAGS="$CXXFLAGS"
31636 save_LIBS="$LIBS"
31637 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31638 LIBS="$LIBS $PANGOX_LIBS"
31639
31640 for ac_func in pango_font_family_is_monospace
31641 do
31642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31643 echo "$as_me:$LINENO: checking for $ac_func" >&5
31644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31645 if eval "test \"\${$as_ac_var+set}\" = set"; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647 else
31648 cat >conftest.$ac_ext <<_ACEOF
31649 /* confdefs.h. */
31650 _ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31656 #define $ac_func innocuous_$ac_func
31657
31658 /* System header to define __stub macros and hopefully few prototypes,
31659 which can conflict with char $ac_func (); below.
31660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31661 <limits.h> exists even on freestanding compilers. */
31662
31663 #ifdef __STDC__
31664 # include <limits.h>
31665 #else
31666 # include <assert.h>
31667 #endif
31668
31669 #undef $ac_func
31670
31671 /* Override any gcc2 internal prototype to avoid an error. */
31672 #ifdef __cplusplus
31673 extern "C"
31674 {
31675 #endif
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31678 char $ac_func ();
31679 /* The GNU C library defines this for functions which it implements
31680 to always fail with ENOSYS. Some functions are actually named
31681 something starting with __ and the normal name is an alias. */
31682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31683 choke me
31684 #else
31685 char (*f) () = $ac_func;
31686 #endif
31687 #ifdef __cplusplus
31688 }
31689 #endif
31690
31691 int
31692 main ()
31693 {
31694 return f != $ac_func;
31695 ;
31696 return 0;
31697 }
31698 _ACEOF
31699 rm -f conftest.$ac_objext conftest$ac_exeext
31700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31701 (eval $ac_link) 2>conftest.er1
31702 ac_status=$?
31703 grep -v '^ *+' conftest.er1 >conftest.err
31704 rm -f conftest.er1
31705 cat conftest.err >&5
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); } &&
31708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710 (eval $ac_try) 2>&5
31711 ac_status=$?
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; } &&
31714 { ac_try='test -s conftest$ac_exeext'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31717 ac_status=$?
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; }; then
31720 eval "$as_ac_var=yes"
31721 else
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.$ac_ext >&5
31724
31725 eval "$as_ac_var=no"
31726 fi
31727 rm -f conftest.err conftest.$ac_objext \
31728 conftest$ac_exeext conftest.$ac_ext
31729 fi
31730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31732 if test `eval echo '${'$as_ac_var'}'` = yes; then
31733 cat >>confdefs.h <<_ACEOF
31734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31735 _ACEOF
31736
31737 fi
31738 done
31739
31740 CXXFLAGS="$save_CXXFLAGS"
31741 LIBS="$save_LIBS"
31742 fi
31743
31744 wxUSE_UNIVERSAL="yes"
31745
31746 if test "$wxUSE_NANOX" = "yes"; then
31747 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31748 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"
31749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31750 else
31751 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31752 fi
31753
31754 TOOLKIT=X11
31755 GUIDIST=X11_DIST
31756 fi
31757
31758 if test "$wxUSE_MOTIF" = 1; then
31759 if test "$wxUSE_UNICODE" = "yes"; then
31760 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31761 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31762 { (exit 1); exit 1; }; }
31763 fi
31764
31765 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31766 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31767
31768 ac_find_includes=
31769 for ac_dir in $SEARCH_INCLUDE /usr/include;
31770 do
31771 if test -f "$ac_dir/Xm/Xm.h"; then
31772 ac_find_includes=$ac_dir
31773 break
31774 fi
31775 done
31776
31777 if test "$ac_find_includes" != "" ; then
31778 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31779 echo "${ECHO_T}found in $ac_find_includes" >&6
31780
31781 if test "x$ac_find_includes" = "x/usr/include"; then
31782 ac_path_to_include=""
31783 else
31784 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31785 result=$?
31786 if test $result = 0; then
31787 ac_path_to_include=""
31788 else
31789 ac_path_to_include=" -I$ac_find_includes"
31790 fi
31791 fi
31792
31793 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31794 else
31795 save_CXXFLAGS=$CXXFLAGS
31796 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31797
31798 cat >conftest.$ac_ext <<_ACEOF
31799 /* confdefs.h. */
31800 _ACEOF
31801 cat confdefs.h >>conftest.$ac_ext
31802 cat >>conftest.$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804
31805 #include <Xm/Xm.h>
31806
31807 int
31808 main ()
31809 {
31810
31811 int version;
31812 version = xmUseVersion;
31813
31814 ;
31815 return 0;
31816 }
31817 _ACEOF
31818 rm -f conftest.$ac_objext
31819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31820 (eval $ac_compile) 2>conftest.er1
31821 ac_status=$?
31822 grep -v '^ *+' conftest.er1 >conftest.err
31823 rm -f conftest.er1
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } &&
31827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31830 ac_status=$?
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try='test -s conftest.$ac_objext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839
31840 echo "$as_me:$LINENO: result: found in default search path" >&5
31841 echo "${ECHO_T}found in default search path" >&6
31842 COMPILED_X_PROGRAM=1
31843
31844 else
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.$ac_ext >&5
31847
31848
31849 echo "$as_me:$LINENO: result: no" >&5
31850 echo "${ECHO_T}no" >&6
31851 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31852 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31853 { (exit 1); exit 1; }; }
31854
31855
31856 fi
31857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31858
31859 CXXFLAGS=$save_CXXFLAGS
31860 fi
31861
31862
31863 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31864 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31865
31866 ac_find_libraries=
31867 for ac_dir in $SEARCH_LIB;
31868 do
31869 for ac_extension in a so sl dylib dll.a; do
31870 if test -f "$ac_dir/libXm.$ac_extension"; then
31871 ac_find_libraries=$ac_dir
31872 break 2
31873 fi
31874 done
31875 done
31876
31877
31878 if test "x$ac_find_libraries" != "x" ; then
31879 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31880 echo "${ECHO_T}found in $ac_find_libraries" >&6
31881
31882
31883 if test "$ac_find_libraries" = "default location"; then
31884 ac_path_to_link=""
31885 else
31886 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31887 result=$?
31888 if test $result = 0; then
31889 ac_path_to_link=""
31890 else
31891 ac_path_to_link=" -L$ac_find_libraries"
31892 fi
31893 fi
31894
31895 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31896 else
31897 save_CXXFLAGS=$CXXFLAGS
31898 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31899 save_LIBS="$LIBS"
31900 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31901
31902 cat >conftest.$ac_ext <<_ACEOF
31903 /* confdefs.h. */
31904 _ACEOF
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31908
31909 #include <Xm/Xm.h>
31910
31911 int
31912 main ()
31913 {
31914
31915 int version;
31916 version = xmUseVersion;
31917
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 rm -f conftest.$ac_objext conftest$ac_exeext
31923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31924 (eval $ac_link) 2>conftest.er1
31925 ac_status=$?
31926 grep -v '^ *+' conftest.er1 >conftest.err
31927 rm -f conftest.er1
31928 cat conftest.err >&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } &&
31931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31933 (eval $ac_try) 2>&5
31934 ac_status=$?
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); }; } &&
31937 { ac_try='test -s conftest$ac_exeext'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; }; then
31943
31944 echo "$as_me:$LINENO: result: found in default search path" >&5
31945 echo "${ECHO_T}found in default search path" >&6
31946 COMPILED_X_PROGRAM=1
31947
31948 else
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.$ac_ext >&5
31951
31952
31953 echo "$as_me:$LINENO: result: no" >&5
31954 echo "${ECHO_T}no" >&6
31955 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31956 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31957 { (exit 1); exit 1; }; }
31958
31959
31960 fi
31961 rm -f conftest.err conftest.$ac_objext \
31962 conftest$ac_exeext conftest.$ac_ext
31963
31964 CXXFLAGS=$save_CXXFLAGS
31965 LIBS="$save_LIBS"
31966 fi
31967
31968 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31969 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31970 libp_link=""
31971 libsm_ice_link=""
31972 libs_found=0
31973 for libp in "" " -lXp"; do
31974 if test "$libs_found" = "0"; then
31975 for libsm_ice in "" " -lSM -lICE"; do
31976 if test "$libs_found" = "0"; then
31977 save_LIBS="$LIBS"
31978 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31979 save_CXXFLAGS=$CXXFLAGS
31980 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31981
31982 cat >conftest.$ac_ext <<_ACEOF
31983 /* confdefs.h. */
31984 _ACEOF
31985 cat confdefs.h >>conftest.$ac_ext
31986 cat >>conftest.$ac_ext <<_ACEOF
31987 /* end confdefs.h. */
31988
31989 #include <Xm/Xm.h>
31990 #include <Xm/List.h>
31991
31992 int
31993 main ()
31994 {
31995
31996 XmString string = NULL;
31997 Widget w = NULL;
31998 int position = 0;
31999 XmListAddItem(w, string, position);
32000
32001 ;
32002 return 0;
32003 }
32004 _ACEOF
32005 rm -f conftest.$ac_objext conftest$ac_exeext
32006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32007 (eval $ac_link) 2>conftest.er1
32008 ac_status=$?
32009 grep -v '^ *+' conftest.er1 >conftest.err
32010 rm -f conftest.er1
32011 cat conftest.err >&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); } &&
32014 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32017 ac_status=$?
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; } &&
32020 { ac_try='test -s conftest$ac_exeext'
32021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 (eval $ac_try) 2>&5
32023 ac_status=$?
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); }; }; then
32026
32027 libp_link="$libp"
32028 libsm_ice_link="$libsm_ice"
32029 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32030 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32031 libs_found=1
32032
32033 else
32034 echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.$ac_ext >&5
32036
32037
32038
32039 fi
32040 rm -f conftest.err conftest.$ac_objext \
32041 conftest$ac_exeext conftest.$ac_ext
32042
32043 LIBS="$save_LIBS"
32044 CXXFLAGS=$save_CXXFLAGS
32045 fi
32046 done
32047 fi
32048 done
32049
32050 if test "$libs_found" = "0"; then
32051 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32052 echo "${ECHO_T}can't find the right libraries" >&6
32053 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32054 echo "$as_me: error: can't link a simple motif program" >&2;}
32055 { (exit 1); exit 1; }; }
32056 fi
32057
32058 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32059 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32060 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32062 else
32063 ac_check_lib_save_LIBS=$LIBS
32064 LIBS="-lSgm $LIBS"
32065 cat >conftest.$ac_ext <<_ACEOF
32066 /* confdefs.h. */
32067 _ACEOF
32068 cat confdefs.h >>conftest.$ac_ext
32069 cat >>conftest.$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32071
32072 /* Override any gcc2 internal prototype to avoid an error. */
32073 #ifdef __cplusplus
32074 extern "C"
32075 #endif
32076 /* We use char because int might match the return type of a gcc2
32077 builtin and then its argument prototype would still apply. */
32078 char SgCreateList ();
32079 int
32080 main ()
32081 {
32082 SgCreateList ();
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 rm -f conftest.$ac_objext conftest$ac_exeext
32088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32089 (eval $ac_link) 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } &&
32096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest$ac_exeext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 ac_cv_lib_Sgm_SgCreateList=yes
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32112
32113 ac_cv_lib_Sgm_SgCreateList=no
32114 fi
32115 rm -f conftest.err conftest.$ac_objext \
32116 conftest$ac_exeext conftest.$ac_ext
32117 LIBS=$ac_check_lib_save_LIBS
32118 fi
32119 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32120 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32121 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32122 libsgm_link=" -lSgm"
32123 fi
32124
32125
32126 save_CXXFLAGS=$CXXFLAGS
32127 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32128
32129 echo "$as_me:$LINENO: checking for Motif 2" >&5
32130 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32131 if test "${wx_cv_lib_motif2+set}" = set; then
32132 echo $ECHO_N "(cached) $ECHO_C" >&6
32133 else
32134 cat >conftest.$ac_ext <<_ACEOF
32135 /* confdefs.h. */
32136 _ACEOF
32137 cat confdefs.h >>conftest.$ac_ext
32138 cat >>conftest.$ac_ext <<_ACEOF
32139 /* end confdefs.h. */
32140
32141 #include <Xm/Xm.h>
32142
32143 int
32144 main ()
32145 {
32146
32147 #if XmVersion < 2000
32148 Not Motif 2
32149 #endif
32150
32151 ;
32152 return 0;
32153 }
32154 _ACEOF
32155 rm -f conftest.$ac_objext
32156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32157 (eval $ac_compile) 2>conftest.er1
32158 ac_status=$?
32159 grep -v '^ *+' conftest.er1 >conftest.err
32160 rm -f conftest.er1
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } &&
32164 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32166 (eval $ac_try) 2>&5
32167 ac_status=$?
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); }; } &&
32170 { ac_try='test -s conftest.$ac_objext'
32171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172 (eval $ac_try) 2>&5
32173 ac_status=$?
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); }; }; then
32176 wx_cv_lib_motif2="yes"
32177 else
32178 echo "$as_me: failed program was:" >&5
32179 sed 's/^/| /' conftest.$ac_ext >&5
32180
32181 wx_cv_lib_motif2="no"
32182 fi
32183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32184 fi
32185 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32186 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32187 if test "$wx_cv_lib_motif2" = "yes"; then
32188 cat >>confdefs.h <<\_ACEOF
32189 #define __WXMOTIF20__ 1
32190 _ACEOF
32191
32192 else
32193 cat >>confdefs.h <<\_ACEOF
32194 #define __WXMOTIF20__ 0
32195 _ACEOF
32196
32197 fi
32198
32199 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32200 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32201 if test "${wx_cv_lib_lesstif+set}" = set; then
32202 echo $ECHO_N "(cached) $ECHO_C" >&6
32203 else
32204 cat >conftest.$ac_ext <<_ACEOF
32205 /* confdefs.h. */
32206 _ACEOF
32207 cat confdefs.h >>conftest.$ac_ext
32208 cat >>conftest.$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32210
32211 #include <Xm/Xm.h>
32212
32213 int
32214 main ()
32215 {
32216
32217 #if !defined(LesstifVersion) || LesstifVersion <= 0
32218 Not Lesstif
32219 #endif
32220
32221 ;
32222 return 0;
32223 }
32224 _ACEOF
32225 rm -f conftest.$ac_objext
32226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32227 (eval $ac_compile) 2>conftest.er1
32228 ac_status=$?
32229 grep -v '^ *+' conftest.er1 >conftest.err
32230 rm -f conftest.er1
32231 cat conftest.err >&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); } &&
32234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236 (eval $ac_try) 2>&5
32237 ac_status=$?
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); }; } &&
32240 { ac_try='test -s conftest.$ac_objext'
32241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32242 (eval $ac_try) 2>&5
32243 ac_status=$?
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); }; }; then
32246 wx_cv_lib_lesstif="yes"
32247 else
32248 echo "$as_me: failed program was:" >&5
32249 sed 's/^/| /' conftest.$ac_ext >&5
32250
32251 wx_cv_lib_lesstif="no"
32252 fi
32253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32254
32255 fi
32256 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32257 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32258 if test "$wx_cv_lib_lesstif" = "yes"; then
32259 cat >>confdefs.h <<\_ACEOF
32260 #define __WXLESSTIF__ 1
32261 _ACEOF
32262
32263 else
32264 cat >>confdefs.h <<\_ACEOF
32265 #define __WXLESSTIF__ 0
32266 _ACEOF
32267
32268 fi
32269
32270 CXXFLAGS=$save_CXXFLAGS
32271
32272 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32273 TOOLKIT=MOTIF
32274 GUIDIST=MOTIF_DIST
32275 fi
32276
32277 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32278 if test "$wxUSE_LIBXPM" = "sys"; then
32279 echo "$as_me:$LINENO: checking for Xpm library" >&5
32280 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32281
32282 ac_find_libraries=
32283 for ac_dir in $SEARCH_LIB;
32284 do
32285 for ac_extension in a so sl dylib dll.a; do
32286 if test -f "$ac_dir/libXpm.$ac_extension"; then
32287 ac_find_libraries=$ac_dir
32288 break 2
32289 fi
32290 done
32291 done
32292
32293 if test "$ac_find_libraries" != "" ; then
32294
32295 if test "$ac_find_libraries" = "default location"; then
32296 ac_path_to_link=""
32297 else
32298 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32299 result=$?
32300 if test $result = 0; then
32301 ac_path_to_link=""
32302 else
32303 ac_path_to_link=" -L$ac_find_libraries"
32304 fi
32305 fi
32306
32307 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32308 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32309 echo "${ECHO_T}found in $ac_find_libraries" >&6
32310
32311 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32312 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32313 if test "${wx_cv_x11_xpm_h+set}" = set; then
32314 echo $ECHO_N "(cached) $ECHO_C" >&6
32315 else
32316
32317 save_CXXFLAGS=$CXXFLAGS
32318 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32319
32320 cat >conftest.$ac_ext <<_ACEOF
32321 /* confdefs.h. */
32322 _ACEOF
32323 cat confdefs.h >>conftest.$ac_ext
32324 cat >>conftest.$ac_ext <<_ACEOF
32325 /* end confdefs.h. */
32326
32327 #include <X11/xpm.h>
32328
32329 int
32330 main ()
32331 {
32332
32333 int version;
32334 version = XpmLibraryVersion();
32335
32336 ;
32337 return 0;
32338 }
32339 _ACEOF
32340 rm -f conftest.$ac_objext
32341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32342 (eval $ac_compile) 2>conftest.er1
32343 ac_status=$?
32344 grep -v '^ *+' conftest.er1 >conftest.err
32345 rm -f conftest.er1
32346 cat conftest.err >&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } &&
32349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32351 (eval $ac_try) 2>&5
32352 ac_status=$?
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); }; } &&
32355 { ac_try='test -s conftest.$ac_objext'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; }; then
32361 wx_cv_x11_xpm_h=yes
32362 else
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.$ac_ext >&5
32365
32366 wx_cv_x11_xpm_h=no
32367
32368 fi
32369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32370
32371 CXXFLAGS=$save_CXXFLAGS
32372
32373
32374 fi
32375 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32376 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32377
32378 if test $wx_cv_x11_xpm_h = "yes"; then
32379 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32380 cat >>confdefs.h <<\_ACEOF
32381 #define wxHAVE_LIB_XPM 1
32382 _ACEOF
32383
32384 else
32385 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32386 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32387 fi
32388 fi
32389
32390 fi
32391
32392 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32393 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32394 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32395 echo $ECHO_N "(cached) $ECHO_C" >&6
32396 else
32397 ac_check_lib_save_LIBS=$LIBS
32398 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405
32406 /* Override any gcc2 internal prototype to avoid an error. */
32407 #ifdef __cplusplus
32408 extern "C"
32409 #endif
32410 /* We use char because int might match the return type of a gcc2
32411 builtin and then its argument prototype would still apply. */
32412 char XShapeQueryExtension ();
32413 int
32414 main ()
32415 {
32416 XShapeQueryExtension ();
32417 ;
32418 return 0;
32419 }
32420 _ACEOF
32421 rm -f conftest.$ac_objext conftest$ac_exeext
32422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32423 (eval $ac_link) 2>conftest.er1
32424 ac_status=$?
32425 grep -v '^ *+' conftest.er1 >conftest.err
32426 rm -f conftest.er1
32427 cat conftest.err >&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); } &&
32430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32433 ac_status=$?
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; } &&
32436 { ac_try='test -s conftest$ac_exeext'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32439 ac_status=$?
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; }; then
32442 ac_cv_lib_Xext_XShapeQueryExtension=yes
32443 else
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32446
32447 ac_cv_lib_Xext_XShapeQueryExtension=no
32448 fi
32449 rm -f conftest.err conftest.$ac_objext \
32450 conftest$ac_exeext conftest.$ac_ext
32451 LIBS=$ac_check_lib_save_LIBS
32452 fi
32453 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32454 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32455 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32456
32457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32458 wxHAVE_XEXT_LIB=1
32459
32460 fi
32461
32462
32463 if test "$wxHAVE_XEXT_LIB" = 1; then
32464 save_CXXFLAGS="$CXXFLAGS"
32465 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32466
32467 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32468 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32469 cat >conftest.$ac_ext <<_ACEOF
32470 /* confdefs.h. */
32471 _ACEOF
32472 cat confdefs.h >>conftest.$ac_ext
32473 cat >>conftest.$ac_ext <<_ACEOF
32474 /* end confdefs.h. */
32475
32476 #include <X11/Xlib.h>
32477 #include <X11/extensions/shape.h>
32478
32479 int
32480 main ()
32481 {
32482
32483 int dummy1, dummy2;
32484 XShapeQueryExtension((Display*)NULL,
32485 (int*)NULL, (int*)NULL);
32486
32487 ;
32488 return 0;
32489 }
32490 _ACEOF
32491 rm -f conftest.$ac_objext
32492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32493 (eval $ac_compile) 2>conftest.er1
32494 ac_status=$?
32495 grep -v '^ *+' conftest.er1 >conftest.err
32496 rm -f conftest.er1
32497 cat conftest.err >&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } &&
32500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32503 ac_status=$?
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; } &&
32506 { ac_try='test -s conftest.$ac_objext'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32509 ac_status=$?
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; }; then
32512
32513 cat >>confdefs.h <<\_ACEOF
32514 #define HAVE_XSHAPE 1
32515 _ACEOF
32516
32517 echo "$as_me:$LINENO: result: found" >&5
32518 echo "${ECHO_T}found" >&6
32519
32520 else
32521 echo "$as_me: failed program was:" >&5
32522 sed 's/^/| /' conftest.$ac_ext >&5
32523
32524
32525 echo "$as_me:$LINENO: result: not found" >&5
32526 echo "${ECHO_T}not found" >&6
32527
32528 fi
32529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32530 CXXFLAGS="$save_CXXFLAGS"
32531
32532 fi
32533 fi
32534
32535 if test "$wxUSE_MAC" = 1; then
32536 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32537 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32538 if test "$GCC" = yes; then
32539 echo "$as_me:$LINENO: result: gcc" >&5
32540 echo "${ECHO_T}gcc" >&6
32541 CPPFLAGS_PASCAL="-fpascal-strings"
32542 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32543 echo "$as_me:$LINENO: result: xlc" >&5
32544 echo "${ECHO_T}xlc" >&6
32545 CPPFLAGS_PASCAL="-qmacpstr"
32546 else
32547 echo "$as_me:$LINENO: result: none" >&5
32548 echo "${ECHO_T}none" >&6
32549 fi
32550
32551 if test "x$wxUSE_UNIX" = "xyes"; then
32552 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32553 else
32554 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32555 fi
32556
32557 TOOLKIT=MAC
32558 GUIDIST=MACX_DIST
32559 WXBASEPORT="_carbon"
32560 fi
32561
32562 if test "$wxUSE_COCOA" = 1; then
32563 TOOLKIT=COCOA
32564 GUIDIST=COCOA_DIST
32565 fi
32566
32567 if test "$wxUSE_PM" = 1; then
32568 TOOLKIT=PM
32569 GUIDIST=PM_DIST
32570 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32571 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32572 if test "${wx_cv_spbcdata+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32574 else
32575
32576 cat >conftest.$ac_ext <<_ACEOF
32577 /* confdefs.h. */
32578 _ACEOF
32579 cat confdefs.h >>conftest.$ac_ext
32580 cat >>conftest.$ac_ext <<_ACEOF
32581 /* end confdefs.h. */
32582
32583 #define INCL_PM
32584 #include <os2.h>
32585
32586 int
32587 main ()
32588 {
32589
32590 SPBCDATA test;
32591
32592 ;
32593 return 0;
32594 }
32595 _ACEOF
32596 rm -f conftest.$ac_objext
32597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32598 (eval $ac_compile) 2>conftest.er1
32599 ac_status=$?
32600 grep -v '^ *+' conftest.er1 >conftest.err
32601 rm -f conftest.er1
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } &&
32605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32608 ac_status=$?
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; } &&
32611 { ac_try='test -s conftest.$ac_objext'
32612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32613 (eval $ac_try) 2>&5
32614 ac_status=$?
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); }; }; then
32617 wx_cv_spbcdata=yes
32618 else
32619 echo "$as_me: failed program was:" >&5
32620 sed 's/^/| /' conftest.$ac_ext >&5
32621
32622 wx_cv_spbcdata=no
32623
32624 fi
32625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32626
32627
32628 fi
32629 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32630 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32631
32632 if test $wx_cv_spbcdata = "yes"; then
32633 cat >>confdefs.h <<\_ACEOF
32634 #define HAVE_SPBCDATA 1
32635 _ACEOF
32636
32637 fi
32638 fi
32639
32640 if test "$TOOLKIT" = "PM" ; then
32641 TOOLKIT_DIR="os2"
32642 else
32643 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32644 fi
32645
32646 if test "$wxUSE_UNIVERSAL" = "yes"; then
32647 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32648 WIDGET_SET=univ
32649 fi
32650
32651 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32652 DISTDIR="wx\$(TOOLKIT)"
32653 else
32654 USE_GUI=0
32655
32656 TOOLKIT_DIR="base"
32657
32658 if test "$USE_WIN32" = 1 ; then
32659 TOOLKIT="MSW"
32660 fi
32661
32662 GUIDIST="BASE_DIST"
32663 DISTDIR="wxBase"
32664 fi
32665
32666
32667 if test "$wxUSE_GUI" = "yes"; then
32668 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32669
32670 for ac_header in X11/Xlib.h
32671 do
32672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32674 echo "$as_me:$LINENO: checking for $ac_header" >&5
32675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 fi
32679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32681 else
32682 # Is the header compilable?
32683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32685 cat >conftest.$ac_ext <<_ACEOF
32686 /* confdefs.h. */
32687 _ACEOF
32688 cat confdefs.h >>conftest.$ac_ext
32689 cat >>conftest.$ac_ext <<_ACEOF
32690 /* end confdefs.h. */
32691 $ac_includes_default
32692 #include <$ac_header>
32693 _ACEOF
32694 rm -f conftest.$ac_objext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32696 (eval $ac_compile) 2>conftest.er1
32697 ac_status=$?
32698 grep -v '^ *+' conftest.er1 >conftest.err
32699 rm -f conftest.er1
32700 cat conftest.err >&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } &&
32703 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32706 ac_status=$?
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; } &&
32709 { ac_try='test -s conftest.$ac_objext'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32712 ac_status=$?
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; }; then
32715 ac_header_compiler=yes
32716 else
32717 echo "$as_me: failed program was:" >&5
32718 sed 's/^/| /' conftest.$ac_ext >&5
32719
32720 ac_header_compiler=no
32721 fi
32722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32724 echo "${ECHO_T}$ac_header_compiler" >&6
32725
32726 # Is the header present?
32727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32729 cat >conftest.$ac_ext <<_ACEOF
32730 /* confdefs.h. */
32731 _ACEOF
32732 cat confdefs.h >>conftest.$ac_ext
32733 cat >>conftest.$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735 #include <$ac_header>
32736 _ACEOF
32737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32739 ac_status=$?
32740 grep -v '^ *+' conftest.er1 >conftest.err
32741 rm -f conftest.er1
32742 cat conftest.err >&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } >/dev/null; then
32745 if test -s conftest.err; then
32746 ac_cpp_err=$ac_cxx_preproc_warn_flag
32747 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32748 else
32749 ac_cpp_err=
32750 fi
32751 else
32752 ac_cpp_err=yes
32753 fi
32754 if test -z "$ac_cpp_err"; then
32755 ac_header_preproc=yes
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760 ac_header_preproc=no
32761 fi
32762 rm -f conftest.err conftest.$ac_ext
32763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32764 echo "${ECHO_T}$ac_header_preproc" >&6
32765
32766 # So? What about this header?
32767 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32768 yes:no: )
32769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32773 ac_header_preproc=yes
32774 ;;
32775 no:yes:* )
32776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32788 (
32789 cat <<\_ASBOX
32790 ## ----------------------------------------- ##
32791 ## Report this to wx-dev@lists.wxwidgets.org ##
32792 ## ----------------------------------------- ##
32793 _ASBOX
32794 ) |
32795 sed "s/^/$as_me: WARNING: /" >&2
32796 ;;
32797 esac
32798 echo "$as_me:$LINENO: checking for $ac_header" >&5
32799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32802 else
32803 eval "$as_ac_Header=\$ac_header_preproc"
32804 fi
32805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32807
32808 fi
32809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32810 cat >>confdefs.h <<_ACEOF
32811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32812 _ACEOF
32813
32814 fi
32815
32816 done
32817
32818
32819 for ac_header in X11/XKBlib.h
32820 do
32821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32822 echo "$as_me:$LINENO: checking for $ac_header" >&5
32823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32826 else
32827 cat >conftest.$ac_ext <<_ACEOF
32828 /* confdefs.h. */
32829 _ACEOF
32830 cat confdefs.h >>conftest.$ac_ext
32831 cat >>conftest.$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833
32834 #if HAVE_X11_XLIB_H
32835 #include <X11/Xlib.h>
32836 #endif
32837
32838
32839 #include <$ac_header>
32840 _ACEOF
32841 rm -f conftest.$ac_objext
32842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32843 (eval $ac_compile) 2>conftest.er1
32844 ac_status=$?
32845 grep -v '^ *+' conftest.er1 >conftest.err
32846 rm -f conftest.er1
32847 cat conftest.err >&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } &&
32850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32852 (eval $ac_try) 2>&5
32853 ac_status=$?
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); }; } &&
32856 { ac_try='test -s conftest.$ac_objext'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32859 ac_status=$?
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; }; then
32862 eval "$as_ac_Header=yes"
32863 else
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.$ac_ext >&5
32866
32867 eval "$as_ac_Header=no"
32868 fi
32869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32870 fi
32871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32874 cat >>confdefs.h <<_ACEOF
32875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32876 _ACEOF
32877
32878 fi
32879
32880 done
32881
32882 fi
32883 fi
32884
32885
32886
32887 IODBC_C_SRC=""
32888
32889
32890 if test "$TOOLKIT" != "MSW" ; then
32891
32892 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32893
32894 if test "${ac_cv_header_sql_h+set}" = set; then
32895 echo "$as_me:$LINENO: checking for sql.h" >&5
32896 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32897 if test "${ac_cv_header_sql_h+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32899 fi
32900 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32901 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32902 else
32903 # Is the header compilable?
32904 echo "$as_me:$LINENO: checking sql.h usability" >&5
32905 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32906 cat >conftest.$ac_ext <<_ACEOF
32907 /* confdefs.h. */
32908 _ACEOF
32909 cat confdefs.h >>conftest.$ac_ext
32910 cat >>conftest.$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32912 $ac_includes_default
32913 #include <sql.h>
32914 _ACEOF
32915 rm -f conftest.$ac_objext
32916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32917 (eval $ac_compile) 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; } &&
32930 { ac_try='test -s conftest.$ac_objext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 ac_header_compiler=yes
32937 else
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32940
32941 ac_header_compiler=no
32942 fi
32943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32945 echo "${ECHO_T}$ac_header_compiler" >&6
32946
32947 # Is the header present?
32948 echo "$as_me:$LINENO: checking sql.h presence" >&5
32949 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32950 cat >conftest.$ac_ext <<_ACEOF
32951 /* confdefs.h. */
32952 _ACEOF
32953 cat confdefs.h >>conftest.$ac_ext
32954 cat >>conftest.$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956 #include <sql.h>
32957 _ACEOF
32958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32960 ac_status=$?
32961 grep -v '^ *+' conftest.er1 >conftest.err
32962 rm -f conftest.er1
32963 cat conftest.err >&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } >/dev/null; then
32966 if test -s conftest.err; then
32967 ac_cpp_err=$ac_cxx_preproc_warn_flag
32968 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32969 else
32970 ac_cpp_err=
32971 fi
32972 else
32973 ac_cpp_err=yes
32974 fi
32975 if test -z "$ac_cpp_err"; then
32976 ac_header_preproc=yes
32977 else
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.$ac_ext >&5
32980
32981 ac_header_preproc=no
32982 fi
32983 rm -f conftest.err conftest.$ac_ext
32984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32985 echo "${ECHO_T}$ac_header_preproc" >&6
32986
32987 # So? What about this header?
32988 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32989 yes:no: )
32990 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32991 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32992 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32993 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32994 ac_header_preproc=yes
32995 ;;
32996 no:yes:* )
32997 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32998 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32999 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33000 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33001 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33002 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33003 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33004 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33005 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33006 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33007 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33008 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33009 (
33010 cat <<\_ASBOX
33011 ## ----------------------------------------- ##
33012 ## Report this to wx-dev@lists.wxwidgets.org ##
33013 ## ----------------------------------------- ##
33014 _ASBOX
33015 ) |
33016 sed "s/^/$as_me: WARNING: /" >&2
33017 ;;
33018 esac
33019 echo "$as_me:$LINENO: checking for sql.h" >&5
33020 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33021 if test "${ac_cv_header_sql_h+set}" = set; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33023 else
33024 ac_cv_header_sql_h=$ac_header_preproc
33025 fi
33026 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33027 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33028
33029 fi
33030 if test $ac_cv_header_sql_h = yes; then
33031 found_sql_h=1
33032 fi
33033
33034
33035 if test "x$found_sql_h" = "x1" ; then
33036 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33037 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33038 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33040 else
33041 ac_check_lib_save_LIBS=$LIBS
33042 LIBS="-liodbc $LIBS"
33043 cat >conftest.$ac_ext <<_ACEOF
33044 /* confdefs.h. */
33045 _ACEOF
33046 cat confdefs.h >>conftest.$ac_ext
33047 cat >>conftest.$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33049
33050 /* Override any gcc2 internal prototype to avoid an error. */
33051 #ifdef __cplusplus
33052 extern "C"
33053 #endif
33054 /* We use char because int might match the return type of a gcc2
33055 builtin and then its argument prototype would still apply. */
33056 char SQLAllocEnv ();
33057 int
33058 main ()
33059 {
33060 SQLAllocEnv ();
33061 ;
33062 return 0;
33063 }
33064 _ACEOF
33065 rm -f conftest.$ac_objext conftest$ac_exeext
33066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33067 (eval $ac_link) 2>conftest.er1
33068 ac_status=$?
33069 grep -v '^ *+' conftest.er1 >conftest.err
33070 rm -f conftest.er1
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } &&
33074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076 (eval $ac_try) 2>&5
33077 ac_status=$?
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); }; } &&
33080 { ac_try='test -s conftest$ac_exeext'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33083 ac_status=$?
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; }; then
33086 ac_cv_lib_iodbc_SQLAllocEnv=yes
33087 else
33088 echo "$as_me: failed program was:" >&5
33089 sed 's/^/| /' conftest.$ac_ext >&5
33090
33091 ac_cv_lib_iodbc_SQLAllocEnv=no
33092 fi
33093 rm -f conftest.err conftest.$ac_objext \
33094 conftest$ac_exeext conftest.$ac_ext
33095 LIBS=$ac_check_lib_save_LIBS
33096 fi
33097 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33098 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33099 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33100 ODBC_LINK=" -liodbc"
33101 else
33102
33103 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33104 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33105 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 else
33108 ac_check_lib_save_LIBS=$LIBS
33109 LIBS="-lunixodbc $LIBS"
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116
33117 /* Override any gcc2 internal prototype to avoid an error. */
33118 #ifdef __cplusplus
33119 extern "C"
33120 #endif
33121 /* We use char because int might match the return type of a gcc2
33122 builtin and then its argument prototype would still apply. */
33123 char SQLAllocEnv ();
33124 int
33125 main ()
33126 {
33127 SQLAllocEnv ();
33128 ;
33129 return 0;
33130 }
33131 _ACEOF
33132 rm -f conftest.$ac_objext conftest$ac_exeext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33134 (eval $ac_link) 2>conftest.er1
33135 ac_status=$?
33136 grep -v '^ *+' conftest.er1 >conftest.err
33137 rm -f conftest.er1
33138 cat conftest.err >&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33144 ac_status=$?
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try='test -s conftest$ac_exeext'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33150 ac_status=$?
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }; then
33153 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33154 else
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.$ac_ext >&5
33157
33158 ac_cv_lib_unixodbc_SQLAllocEnv=no
33159 fi
33160 rm -f conftest.err conftest.$ac_objext \
33161 conftest$ac_exeext conftest.$ac_ext
33162 LIBS=$ac_check_lib_save_LIBS
33163 fi
33164 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33165 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33166 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33167 ODBC_LINK=" -lunixodbc"
33168 else
33169
33170 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33171 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33172 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33174 else
33175 ac_check_lib_save_LIBS=$LIBS
33176 LIBS="-lodbc $LIBS"
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183
33184 /* Override any gcc2 internal prototype to avoid an error. */
33185 #ifdef __cplusplus
33186 extern "C"
33187 #endif
33188 /* We use char because int might match the return type of a gcc2
33189 builtin and then its argument prototype would still apply. */
33190 char SQLAllocEnv ();
33191 int
33192 main ()
33193 {
33194 SQLAllocEnv ();
33195 ;
33196 return 0;
33197 }
33198 _ACEOF
33199 rm -f conftest.$ac_objext conftest$ac_exeext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33201 (eval $ac_link) 2>conftest.er1
33202 ac_status=$?
33203 grep -v '^ *+' conftest.er1 >conftest.err
33204 rm -f conftest.er1
33205 cat conftest.err >&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } &&
33208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33211 ac_status=$?
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; } &&
33214 { ac_try='test -s conftest$ac_exeext'
33215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33216 (eval $ac_try) 2>&5
33217 ac_status=$?
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); }; }; then
33220 ac_cv_lib_odbc_SQLAllocEnv=yes
33221 else
33222 echo "$as_me: failed program was:" >&5
33223 sed 's/^/| /' conftest.$ac_ext >&5
33224
33225 ac_cv_lib_odbc_SQLAllocEnv=no
33226 fi
33227 rm -f conftest.err conftest.$ac_objext \
33228 conftest$ac_exeext conftest.$ac_ext
33229 LIBS=$ac_check_lib_save_LIBS
33230 fi
33231 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33232 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33233 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33234 ODBC_LINK=" -lodbc"
33235 fi
33236
33237
33238 fi
33239
33240
33241 fi
33242
33243 fi
33244 if test "x$ODBC_LINK" = "x" ; then
33245 if test "$wxUSE_ODBC" = "sys" ; then
33246 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33247 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33248 { (exit 1); exit 1; }; }
33249 else
33250 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33251 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33252 wxUSE_ODBC=builtin
33253 fi
33254 else
33255 wxUSE_ODBC=sys
33256 fi
33257 fi
33258
33259 if test "$wxUSE_ODBC" = "builtin" ; then
33260 cat >>confdefs.h <<\_ACEOF
33261 #define wxUSE_BUILTIN_IODBC 1
33262 _ACEOF
33263
33264 fi
33265 fi
33266
33267 if test "$wxUSE_ODBC" != "no" ; then
33268 cat >>confdefs.h <<\_ACEOF
33269 #define wxUSE_ODBC 1
33270 _ACEOF
33271
33272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33273
33274 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33275 fi
33276
33277
33278 if test "$wxUSE_DISPLAY" = "yes"; then
33279 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33280 echo "$as_me:$LINENO: checking for Xinerama" >&5
33281 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33282
33283 ac_find_libraries=
33284 for ac_dir in $SEARCH_LIB;
33285 do
33286 for ac_extension in a so sl dylib dll.a; do
33287 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33288 ac_find_libraries=$ac_dir
33289 break 2
33290 fi
33291 done
33292 done
33293
33294 if test "$ac_find_libraries" != "" ; then
33295
33296 if test "$ac_find_libraries" = "default location"; then
33297 ac_path_to_link=""
33298 else
33299 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33300 result=$?
33301 if test $result = 0; then
33302 ac_path_to_link=""
33303 else
33304 ac_path_to_link=" -L$ac_find_libraries"
33305 fi
33306 fi
33307
33308 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33309 LDFLAGS="$LDFLAGS $ac_path_to_link"
33310 fi
33311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33312 echo "$as_me:$LINENO: result: yes" >&5
33313 echo "${ECHO_T}yes" >&6
33314
33315 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33316 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33317
33318 ac_find_libraries=
33319 for ac_dir in $SEARCH_LIB;
33320 do
33321 for ac_extension in a so sl dylib dll.a; do
33322 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33323 ac_find_libraries=$ac_dir
33324 break 2
33325 fi
33326 done
33327 done
33328
33329 if test "$ac_find_libraries" != "" ; then
33330 echo "$as_me:$LINENO: result: yes" >&5
33331 echo "${ECHO_T}yes" >&6
33332
33333 for ac_header in X11/extensions/xf86vmode.h
33334 do
33335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33336 echo "$as_me:$LINENO: checking for $ac_header" >&5
33337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33339 echo $ECHO_N "(cached) $ECHO_C" >&6
33340 else
33341 cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h. */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347
33348 #if HAVE_X11_XLIB_H
33349 #include <X11/Xlib.h>
33350 #endif
33351
33352
33353 #include <$ac_header>
33354 _ACEOF
33355 rm -f conftest.$ac_objext
33356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33357 (eval $ac_compile) 2>conftest.er1
33358 ac_status=$?
33359 grep -v '^ *+' conftest.er1 >conftest.err
33360 rm -f conftest.er1
33361 cat conftest.err >&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } &&
33364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33367 ac_status=$?
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; } &&
33370 { ac_try='test -s conftest.$ac_objext'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33373 ac_status=$?
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }; then
33376 eval "$as_ac_Header=yes"
33377 else
33378 echo "$as_me: failed program was:" >&5
33379 sed 's/^/| /' conftest.$ac_ext >&5
33380
33381 eval "$as_ac_Header=no"
33382 fi
33383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33384 fi
33385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33388 cat >>confdefs.h <<_ACEOF
33389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33390 _ACEOF
33391
33392 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33393
33394 fi
33395
33396 done
33397
33398 else
33399 echo "$as_me:$LINENO: result: no" >&5
33400 echo "${ECHO_T}no" >&6
33401 fi
33402
33403 else
33404 echo "$as_me:$LINENO: result: no" >&5
33405 echo "${ECHO_T}no" >&6
33406 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33407 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33408 wxUSE_DISPLAY="no"
33409 fi
33410 elif test "$wxUSE_MSW" = 1; then
33411
33412 for ac_header in ddraw.h
33413 do
33414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33415 echo "$as_me:$LINENO: checking for $ac_header" >&5
33416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 else
33420 cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h. */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426 #include <windows.h>
33427
33428 #include <$ac_header>
33429 _ACEOF
33430 rm -f conftest.$ac_objext
33431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33432 (eval $ac_compile) 2>conftest.er1
33433 ac_status=$?
33434 grep -v '^ *+' conftest.er1 >conftest.err
33435 rm -f conftest.er1
33436 cat conftest.err >&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } &&
33439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33442 ac_status=$?
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33445 { ac_try='test -s conftest.$ac_objext'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33448 ac_status=$?
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; }; then
33451 eval "$as_ac_Header=yes"
33452 else
33453 echo "$as_me: failed program was:" >&5
33454 sed 's/^/| /' conftest.$ac_ext >&5
33455
33456 eval "$as_ac_Header=no"
33457 fi
33458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33459 fi
33460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33463 cat >>confdefs.h <<_ACEOF
33464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33465 _ACEOF
33466
33467 fi
33468
33469 done
33470
33471 fi
33472 fi
33473
33474 if test "$wxUSE_DETECT_SM" = "yes"; then
33475 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33476 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33477 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33478
33479 ac_find_libraries=
33480 for ac_dir in $SEARCH_LIB;
33481 do
33482 for ac_extension in a so sl dylib dll.a; do
33483 if test -f "$ac_dir/libSM.$ac_extension"; then
33484 ac_find_libraries=$ac_dir
33485 break 2
33486 fi
33487 done
33488 done
33489
33490 if test "$ac_find_libraries" != "" ; then
33491
33492 if test "$ac_find_libraries" = "default location"; then
33493 ac_path_to_link=""
33494 else
33495 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33496 result=$?
33497 if test $result = 0; then
33498 ac_path_to_link=""
33499 else
33500 ac_path_to_link=" -L$ac_find_libraries"
33501 fi
33502 fi
33503
33504 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33505 LDFLAGS="$LDFLAGS $ac_path_to_link"
33506 fi
33507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33508 echo "$as_me:$LINENO: result: yes" >&5
33509 echo "${ECHO_T}yes" >&6
33510 else
33511 echo "$as_me:$LINENO: result: no" >&5
33512 echo "${ECHO_T}no" >&6
33513 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33514 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33515 wxUSE_DETECT_SM="no"
33516 fi
33517 else
33518 wxUSE_DETECT_SM="no"
33519 fi
33520 fi
33521
33522
33523
33524 USE_OPENGL=0
33525 if test "$wxUSE_OPENGL" = "yes"; then
33526 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33527 OPENGL_LIBS="-framework OpenGL -framework AGL"
33528 elif test "$wxUSE_MSW" = 1; then
33529 OPENGL_LIBS="-lopengl32 -lglu32"
33530 else
33531
33532
33533 ac_find_includes=
33534 for ac_dir in $SEARCH_INCLUDE /usr/include;
33535 do
33536 if test -f "$ac_dir/GL/gl.h"; then
33537 ac_find_includes=$ac_dir
33538 break
33539 fi
33540 done
33541
33542 if test "$ac_find_includes" != "" ; then
33543 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33544 echo "${ECHO_T}found in $ac_find_includes" >&6
33545
33546 if test "x$ac_find_includes" = "x/usr/include"; then
33547 ac_path_to_include=""
33548 else
33549 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33550 result=$?
33551 if test $result = 0; then
33552 ac_path_to_include=""
33553 else
33554 ac_path_to_include=" -I$ac_find_includes"
33555 fi
33556 fi
33557
33558 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33559 fi
33560
33561 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33562 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33563 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33564 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33565 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 fi
33567 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33568 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33569 else
33570 # Is the header compilable?
33571 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33572 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33573 cat >conftest.$ac_ext <<_ACEOF
33574 /* confdefs.h. */
33575 _ACEOF
33576 cat confdefs.h >>conftest.$ac_ext
33577 cat >>conftest.$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33579 $ac_includes_default
33580 #include <GL/gl.h>
33581 _ACEOF
33582 rm -f conftest.$ac_objext
33583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33584 (eval $ac_compile) 2>conftest.er1
33585 ac_status=$?
33586 grep -v '^ *+' conftest.er1 >conftest.err
33587 rm -f conftest.er1
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } &&
33591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33594 ac_status=$?
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; } &&
33597 { ac_try='test -s conftest.$ac_objext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33600 ac_status=$?
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33603 ac_header_compiler=yes
33604 else
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.$ac_ext >&5
33607
33608 ac_header_compiler=no
33609 fi
33610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33612 echo "${ECHO_T}$ac_header_compiler" >&6
33613
33614 # Is the header present?
33615 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33616 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33617 cat >conftest.$ac_ext <<_ACEOF
33618 /* confdefs.h. */
33619 _ACEOF
33620 cat confdefs.h >>conftest.$ac_ext
33621 cat >>conftest.$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623 #include <GL/gl.h>
33624 _ACEOF
33625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33627 ac_status=$?
33628 grep -v '^ *+' conftest.er1 >conftest.err
33629 rm -f conftest.er1
33630 cat conftest.err >&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } >/dev/null; then
33633 if test -s conftest.err; then
33634 ac_cpp_err=$ac_cxx_preproc_warn_flag
33635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33636 else
33637 ac_cpp_err=
33638 fi
33639 else
33640 ac_cpp_err=yes
33641 fi
33642 if test -z "$ac_cpp_err"; then
33643 ac_header_preproc=yes
33644 else
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.$ac_ext >&5
33647
33648 ac_header_preproc=no
33649 fi
33650 rm -f conftest.err conftest.$ac_ext
33651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33652 echo "${ECHO_T}$ac_header_preproc" >&6
33653
33654 # So? What about this header?
33655 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33656 yes:no: )
33657 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33658 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33659 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33660 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33661 ac_header_preproc=yes
33662 ;;
33663 no:yes:* )
33664 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33665 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33666 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33667 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33668 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33669 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33670 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33671 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33672 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33673 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33674 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33675 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33676 (
33677 cat <<\_ASBOX
33678 ## ----------------------------------------- ##
33679 ## Report this to wx-dev@lists.wxwidgets.org ##
33680 ## ----------------------------------------- ##
33681 _ASBOX
33682 ) |
33683 sed "s/^/$as_me: WARNING: /" >&2
33684 ;;
33685 esac
33686 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33687 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33688 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 else
33691 ac_cv_header_GL_gl_h=$ac_header_preproc
33692 fi
33693 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33694 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33695
33696 fi
33697 if test $ac_cv_header_GL_gl_h = yes; then
33698
33699 found_gl=0
33700
33701 echo "$as_me:$LINENO: checking for -lGL" >&5
33702 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33703
33704 ac_find_libraries=
33705 for ac_dir in $SEARCH_LIB;
33706 do
33707 for ac_extension in a so sl dylib dll.a; do
33708 if test -f "$ac_dir/libGL.$ac_extension"; then
33709 ac_find_libraries=$ac_dir
33710 break 2
33711 fi
33712 done
33713 done
33714
33715 if test "$ac_find_libraries" != "" ; then
33716 echo "$as_me:$LINENO: result: yes" >&5
33717 echo "${ECHO_T}yes" >&6
33718
33719
33720 if test "$ac_find_libraries" = "default location"; then
33721 ac_path_to_link=""
33722 else
33723 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33724 result=$?
33725 if test $result = 0; then
33726 ac_path_to_link=""
33727 else
33728 ac_path_to_link=" -L$ac_find_libraries"
33729 fi
33730 fi
33731
33732 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33733 LDFLAGS_GL="$ac_path_to_link"
33734 fi
33735
33736 echo "$as_me:$LINENO: checking for -lGLU" >&5
33737 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33738
33739 ac_find_libraries=
33740 for ac_dir in $SEARCH_LIB;
33741 do
33742 for ac_extension in a so sl dylib dll.a; do
33743 if test -f "$ac_dir/libGLU.$ac_extension"; then
33744 ac_find_libraries=$ac_dir
33745 break 2
33746 fi
33747 done
33748 done
33749
33750 if test "$ac_find_libraries" != "" ; then
33751
33752 if test "$ac_find_libraries" = "default location"; then
33753 ac_path_to_link=""
33754 else
33755 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33756 result=$?
33757 if test $result = 0; then
33758 ac_path_to_link=""
33759 else
33760 ac_path_to_link=" -L$ac_find_libraries"
33761 fi
33762 fi
33763
33764 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33765 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33766 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33767 fi
33768
33769 found_gl=1
33770 OPENGL_LIBS="-lGL -lGLU"
33771 echo "$as_me:$LINENO: result: yes" >&5
33772 echo "${ECHO_T}yes" >&6
33773 else
33774 echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6
33776 fi
33777 else
33778 echo "$as_me:$LINENO: result: no" >&5
33779 echo "${ECHO_T}no" >&6
33780 fi
33781
33782 if test "$found_gl" != 1; then
33783 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33784 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33785
33786 ac_find_libraries=
33787 for ac_dir in $SEARCH_LIB;
33788 do
33789 for ac_extension in a so sl dylib dll.a; do
33790 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33791 ac_find_libraries=$ac_dir
33792 break 2
33793 fi
33794 done
33795 done
33796
33797 if test "$ac_find_libraries" != "" ; then
33798
33799 if test "$ac_find_libraries" = "default location"; then
33800 ac_path_to_link=""
33801 else
33802 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33803 result=$?
33804 if test $result = 0; then
33805 ac_path_to_link=""
33806 else
33807 ac_path_to_link=" -L$ac_find_libraries"
33808 fi
33809 fi
33810
33811 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33812 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33813 echo "$as_me:$LINENO: result: yes" >&5
33814 echo "${ECHO_T}yes" >&6
33815 else
33816 echo "$as_me:$LINENO: result: no" >&5
33817 echo "${ECHO_T}no" >&6
33818 fi
33819 fi
33820
33821 fi
33822
33823
33824
33825 if test "x$OPENGL_LIBS" = "x"; then
33826 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33827 echo "$as_me: error: OpenGL libraries not available" >&2;}
33828 { (exit 1); exit 1; }; }
33829 fi
33830 fi
33831
33832 if test "$wxUSE_OPENGL" = "yes"; then
33833 USE_OPENGL=1
33834 cat >>confdefs.h <<\_ACEOF
33835 #define wxUSE_OPENGL 1
33836 _ACEOF
33837
33838 cat >>confdefs.h <<\_ACEOF
33839 #define wxUSE_GLCANVAS 1
33840 _ACEOF
33841
33842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33843 fi
33844 fi
33845
33846
33847 if test -n "$TOOLKIT" ; then
33848 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33849 fi
33850
33851
33852
33853 if test "$wxUSE_SHARED" = "yes"; then
33854 case "${host}" in
33855 *-pc-msdosdjgpp )
33856 wxUSE_SHARED=no
33857 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33858 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33859 ;;
33860 esac
33861 fi
33862
33863 if test "$wxUSE_SHARED" = "yes"; then
33864
33865
33866 found_versioning=no
33867
33868
33869 if test $found_versioning = no ; then
33870 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33871 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33872 if test "${wx_cv_version_script+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 else
33875
33876 echo "VER_1 { *; };" >conftest.sym
33877 echo "int main() { return 0; }" >conftest.cpp
33878
33879 if { ac_try='
33880 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33881 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33884 ac_status=$?
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; } ; then
33887 if test -s conftest.stderr ; then
33888 wx_cv_version_script=no
33889 else
33890 wx_cv_version_script=yes
33891 fi
33892 else
33893 wx_cv_version_script=no
33894 fi
33895
33896 if test $wx_cv_version_script = yes
33897 then
33898 echo "struct B { virtual ~B() { } }; \
33899 struct D : public B { }; \
33900 void F() { D d; }" > conftest.cpp
33901
33902 if { ac_try='
33903 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33904 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33907 ac_status=$?
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; } &&
33910 { ac_try='
33911 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33912 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33915 ac_status=$?
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }
33918 then
33919 if { ac_try='
33920 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33921 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33924 ac_status=$?
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; }
33927 then
33928 wx_cv_version_script=yes
33929 else
33930 wx_cv_version_script=no
33931 fi
33932 fi
33933 fi
33934
33935 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33936 rm -f conftest1.output conftest2.output conftest3.output
33937
33938 fi
33939 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33940 echo "${ECHO_T}$wx_cv_version_script" >&6
33941 if test $wx_cv_version_script = yes ; then
33942 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33943 fi
33944 fi
33945
33946
33947 case "${host}" in
33948 *-*-linux* | *-*-gnu* )
33949 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33950 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33951 ;;
33952
33953 *-*-solaris2* )
33954 if test "$GCC" = yes ; then
33955 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33956
33957 saveLdflags="$LDFLAGS"
33958 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33959 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33960 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33961 cat >conftest.$ac_ext <<_ACEOF
33962 /* confdefs.h. */
33963 _ACEOF
33964 cat confdefs.h >>conftest.$ac_ext
33965 cat >>conftest.$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33967
33968 int
33969 main ()
33970 {
33971
33972 ;
33973 return 0;
33974 }
33975 _ACEOF
33976 rm -f conftest.$ac_objext conftest$ac_exeext
33977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33978 (eval $ac_link) 2>conftest.er1
33979 ac_status=$?
33980 grep -v '^ *+' conftest.er1 >conftest.err
33981 rm -f conftest.er1
33982 cat conftest.err >&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); } &&
33985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33987 (eval $ac_try) 2>&5
33988 ac_status=$?
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); }; } &&
33991 { ac_try='test -s conftest$ac_exeext'
33992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33993 (eval $ac_try) 2>&5
33994 ac_status=$?
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); }; }; then
33997
33998 echo "$as_me:$LINENO: result: yes" >&5
33999 echo "${ECHO_T}yes" >&6
34000 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
34001 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34002
34003 else
34004 echo "$as_me: failed program was:" >&5
34005 sed 's/^/| /' conftest.$ac_ext >&5
34006
34007
34008 echo "$as_me:$LINENO: result: no" >&5
34009 echo "${ECHO_T}no" >&6
34010 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34011 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34012 LDFLAGS="$saveLdflags -Wl,-R,/"
34013 cat >conftest.$ac_ext <<_ACEOF
34014 /* confdefs.h. */
34015 _ACEOF
34016 cat confdefs.h >>conftest.$ac_ext
34017 cat >>conftest.$ac_ext <<_ACEOF
34018 /* end confdefs.h. */
34019
34020 int
34021 main ()
34022 {
34023
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34031 ac_status=$?
34032 grep -v '^ *+' conftest.er1 >conftest.err
34033 rm -f conftest.er1
34034 cat conftest.err >&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34040 ac_status=$?
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; } &&
34043 { ac_try='test -s conftest$ac_exeext'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; }; then
34049
34050 echo "$as_me:$LINENO: result: yes" >&5
34051 echo "${ECHO_T}yes" >&6
34052 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
34053 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34054
34055 else
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.$ac_ext >&5
34058
34059
34060 echo "$as_me:$LINENO: result: no" >&5
34061 echo "${ECHO_T}no" >&6
34062
34063 fi
34064 rm -f conftest.err conftest.$ac_objext \
34065 conftest$ac_exeext conftest.$ac_ext
34066
34067 fi
34068 rm -f conftest.err conftest.$ac_objext \
34069 conftest$ac_exeext conftest.$ac_ext
34070 LDFLAGS="$saveLdflags"
34071 else
34072 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
34073 WXCONFIG_RPATH="-R\$libdir"
34074 fi
34075 ;;
34076
34077 *-*-darwin* )
34078 install_name_tool=`which install_name_tool`
34079 if test "$install_name_tool" -a -x "$install_name_tool"; then
34080 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34081 cat <<EOF >change-install-names
34082 #!/bin/sh
34083 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34084 inst_cmd="install_name_tool "
34085 for i in \${libnames} ; do
34086 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34087 done
34088 \${inst_cmd} \${3}
34089 EOF
34090 chmod +x change-install-names
34091 fi
34092 ;;
34093
34094 *-*-cygwin* | *-*-mingw32* )
34095 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34096 ;;
34097
34098 *-*-hpux* )
34099 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
34100 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34101 ;;
34102
34103 esac
34104
34105 if test $wxUSE_RPATH = "no"; then
34106 SAMPLES_RPATH_FLAG=''
34107 SAMPLES_RPATH_POSTLINK=''
34108 WXCONFIG_RPATH=''
34109 fi
34110
34111 SHARED=1
34112
34113 else
34114
34115 config_linkage_component="-static"
34116 SHARED=0
34117
34118 fi
34119
34120
34121 UNICODE=0
34122 lib_unicode_suffix=
34123 WX_CHARTYPE="ansi"
34124 if test "$wxUSE_UNICODE" = "yes"; then
34125 lib_unicode_suffix=u
34126 WX_CHARTYPE="unicode"
34127 UNICODE=1
34128 fi
34129
34130 lib_debug_suffix=
34131 WX_DEBUGTYPE="release"
34132 DEBUG_FLAG=0
34133 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34134 lib_debug_suffix=d
34135 WX_DEBUGTYPE="debug"
34136 DEBUG_FLAG=1
34137 fi
34138
34139 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34140 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34141
34142 DEBUG_INFO=0
34143 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34144 DEBUG_INFO=1
34145 fi
34146
34147 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34148
34149 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34150
34151 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34152
34153 if test "$cross_compiling" = "yes"; then
34154 HOST_SUFFIX="-$host_alias"
34155 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34156 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34157 fi
34158
34159 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34160 if test "${TOOLKIT_DIR}" = "os2"; then
34161 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34162 else
34163 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34164 fi
34165
34166
34167
34168 if test "$wxUSE_COCOA" = 1; then
34169
34170
34171 ac_ext=c
34172 ac_cpp='$CPP $CPPFLAGS'
34173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34176
34177 ac_ext=m
34178
34179 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34180 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34181 cat >conftest.$ac_ext <<_ACEOF
34182 /* confdefs.h. */
34183 _ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34187 #include <AppKit/NSEvent.h>
34188 #include <CoreFoundation/CoreFoundation.h>
34189
34190 int
34191 main ()
34192 {
34193
34194 ;
34195 return 0;
34196 }
34197 _ACEOF
34198 rm -f conftest.$ac_objext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34200 (eval $ac_compile) 2>conftest.er1
34201 ac_status=$?
34202 grep -v '^ *+' conftest.er1 >conftest.err
34203 rm -f conftest.er1
34204 cat conftest.err >&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } &&
34207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34209 (eval $ac_try) 2>&5
34210 ac_status=$?
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); }; } &&
34213 { ac_try='test -s conftest.$ac_objext'
34214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215 (eval $ac_try) 2>&5
34216 ac_status=$?
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); }; }; then
34219 echo "$as_me:$LINENO: result: no" >&5
34220 echo "${ECHO_T}no" >&6
34221 else
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.$ac_ext >&5
34224
34225 echo "$as_me:$LINENO: result: yes" >&5
34226 echo "${ECHO_T}yes" >&6
34227 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34228 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34229 cat >conftest.$ac_ext <<_ACEOF
34230 /* confdefs.h. */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235 #define __Point__ 1
34236 #include <AppKit/NSEvent.h>
34237 #include <CoreFoundation/CoreFoundation.h>
34238
34239 int
34240 main ()
34241 {
34242
34243 ;
34244 return 0;
34245 }
34246 _ACEOF
34247 rm -f conftest.$ac_objext
34248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34249 (eval $ac_compile) 2>conftest.er1
34250 ac_status=$?
34251 grep -v '^ *+' conftest.er1 >conftest.err
34252 rm -f conftest.er1
34253 cat conftest.err >&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); } &&
34256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34258 (eval $ac_try) 2>&5
34259 ac_status=$?
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); }; } &&
34262 { ac_try='test -s conftest.$ac_objext'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34265 ac_status=$?
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; }; then
34268 echo "$as_me:$LINENO: result: yes" >&5
34269 echo "${ECHO_T}yes" >&6
34270 cat >>confdefs.h <<\_ACEOF
34271 #define __Point__ 1
34272 _ACEOF
34273
34274
34275 else
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34278
34279 { { echo "$as_me:$LINENO: error: no
34280 See \`config.log' for more details." >&5
34281 echo "$as_me: error: no
34282 See \`config.log' for more details." >&2;}
34283 { (exit 1); exit 1; }; }
34284
34285 fi
34286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34287
34288 fi
34289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34290 ac_ext=cc
34291 ac_cpp='$CXXCPP $CPPFLAGS'
34292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34295
34296 fi
34297
34298 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34299 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34300 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34301
34302 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34303
34304 # Extract the first word of "Rez", so it can be a program name with args.
34305 set dummy Rez; ac_word=$2
34306 echo "$as_me:$LINENO: checking for $ac_word" >&5
34307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34308 if test "${ac_cv_prog_REZ+set}" = set; then
34309 echo $ECHO_N "(cached) $ECHO_C" >&6
34310 else
34311 if test -n "$REZ"; then
34312 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34313 else
34314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34315 for as_dir in $PATH
34316 do
34317 IFS=$as_save_IFS
34318 test -z "$as_dir" && as_dir=.
34319 for ac_exec_ext in '' $ac_executable_extensions; do
34320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34321 ac_cv_prog_REZ="Rez"
34322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34323 break 2
34324 fi
34325 done
34326 done
34327
34328 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34329 fi
34330 fi
34331 REZ=$ac_cv_prog_REZ
34332 if test -n "$REZ"; then
34333 echo "$as_me:$LINENO: result: $REZ" >&5
34334 echo "${ECHO_T}$REZ" >&6
34335 else
34336 echo "$as_me:$LINENO: result: no" >&5
34337 echo "${ECHO_T}no" >&6
34338 fi
34339
34340 # Extract the first word of "DeRez", so it can be a program name with args.
34341 set dummy DeRez; ac_word=$2
34342 echo "$as_me:$LINENO: checking for $ac_word" >&5
34343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34344 if test "${ac_cv_prog_DEREZ+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 else
34347 if test -n "$DEREZ"; then
34348 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34349 else
34350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34351 for as_dir in $PATH
34352 do
34353 IFS=$as_save_IFS
34354 test -z "$as_dir" && as_dir=.
34355 for ac_exec_ext in '' $ac_executable_extensions; do
34356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34357 ac_cv_prog_DEREZ="DeRez"
34358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34359 break 2
34360 fi
34361 done
34362 done
34363
34364 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34365 fi
34366 fi
34367 DEREZ=$ac_cv_prog_DEREZ
34368 if test -n "$DEREZ"; then
34369 echo "$as_me:$LINENO: result: $DEREZ" >&5
34370 echo "${ECHO_T}$DEREZ" >&6
34371 else
34372 echo "$as_me:$LINENO: result: no" >&5
34373 echo "${ECHO_T}no" >&6
34374 fi
34375
34376 # Extract the first word of "SetFile", so it can be a program name with args.
34377 set dummy SetFile; ac_word=$2
34378 echo "$as_me:$LINENO: checking for $ac_word" >&5
34379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34380 if test "${ac_cv_prog_SETFILE+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 else
34383 if test -n "$SETFILE"; then
34384 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34385 else
34386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34387 for as_dir in $PATH
34388 do
34389 IFS=$as_save_IFS
34390 test -z "$as_dir" && as_dir=.
34391 for ac_exec_ext in '' $ac_executable_extensions; do
34392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34393 ac_cv_prog_SETFILE="SetFile"
34394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34395 break 2
34396 fi
34397 done
34398 done
34399
34400 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34401 fi
34402 fi
34403 SETFILE=$ac_cv_prog_SETFILE
34404 if test -n "$SETFILE"; then
34405 echo "$as_me:$LINENO: result: $SETFILE" >&5
34406 echo "${ECHO_T}$SETFILE" >&6
34407 else
34408 echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6
34410 fi
34411
34412
34413 MACSETFILE="\$(SETFILE)"
34414
34415 if test "$wxUSE_MAC" = 1; then
34416 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34417 RESCOMP="$REZ"
34418 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34419 else
34420 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34421 RESCOMP="echo -n \| $REZ"
34422 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34423 fi
34424
34425 else
34426 MACSETFILE="@true"
34427
34428 if test "$wxUSE_PM" = 1; then
34429 RESCOMP="emxbind"
34430 WXCONFIG_RESFLAGS="-ep"
34431
34432 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34433 else
34434 POSTLINK_COMMAND="@true"
34435 fi
34436
34437 fi
34438
34439
34440
34441 echo "$as_me:$LINENO: checking for mode_t" >&5
34442 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34443 if test "${ac_cv_type_mode_t+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 else
34446 cat >conftest.$ac_ext <<_ACEOF
34447 /* confdefs.h. */
34448 _ACEOF
34449 cat confdefs.h >>conftest.$ac_ext
34450 cat >>conftest.$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 $ac_includes_default
34453 int
34454 main ()
34455 {
34456 if ((mode_t *) 0)
34457 return 0;
34458 if (sizeof (mode_t))
34459 return 0;
34460 ;
34461 return 0;
34462 }
34463 _ACEOF
34464 rm -f conftest.$ac_objext
34465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34466 (eval $ac_compile) 2>conftest.er1
34467 ac_status=$?
34468 grep -v '^ *+' conftest.er1 >conftest.err
34469 rm -f conftest.er1
34470 cat conftest.err >&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } &&
34473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34476 ac_status=$?
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; } &&
34479 { ac_try='test -s conftest.$ac_objext'
34480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34481 (eval $ac_try) 2>&5
34482 ac_status=$?
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; }; then
34485 ac_cv_type_mode_t=yes
34486 else
34487 echo "$as_me: failed program was:" >&5
34488 sed 's/^/| /' conftest.$ac_ext >&5
34489
34490 ac_cv_type_mode_t=no
34491 fi
34492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34493 fi
34494 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34495 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34496 if test $ac_cv_type_mode_t = yes; then
34497 :
34498 else
34499
34500 cat >>confdefs.h <<_ACEOF
34501 #define mode_t int
34502 _ACEOF
34503
34504 fi
34505
34506 echo "$as_me:$LINENO: checking for off_t" >&5
34507 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34508 if test "${ac_cv_type_off_t+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510 else
34511 cat >conftest.$ac_ext <<_ACEOF
34512 /* confdefs.h. */
34513 _ACEOF
34514 cat confdefs.h >>conftest.$ac_ext
34515 cat >>conftest.$ac_ext <<_ACEOF
34516 /* end confdefs.h. */
34517 $ac_includes_default
34518 int
34519 main ()
34520 {
34521 if ((off_t *) 0)
34522 return 0;
34523 if (sizeof (off_t))
34524 return 0;
34525 ;
34526 return 0;
34527 }
34528 _ACEOF
34529 rm -f conftest.$ac_objext
34530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34531 (eval $ac_compile) 2>conftest.er1
34532 ac_status=$?
34533 grep -v '^ *+' conftest.er1 >conftest.err
34534 rm -f conftest.er1
34535 cat conftest.err >&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34541 ac_status=$?
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; } &&
34544 { ac_try='test -s conftest.$ac_objext'
34545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546 (eval $ac_try) 2>&5
34547 ac_status=$?
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); }; }; then
34550 ac_cv_type_off_t=yes
34551 else
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.$ac_ext >&5
34554
34555 ac_cv_type_off_t=no
34556 fi
34557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34558 fi
34559 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34560 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34561 if test $ac_cv_type_off_t = yes; then
34562 :
34563 else
34564
34565 cat >>confdefs.h <<_ACEOF
34566 #define off_t long
34567 _ACEOF
34568
34569 fi
34570
34571 echo "$as_me:$LINENO: checking for pid_t" >&5
34572 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34573 if test "${ac_cv_type_pid_t+set}" = set; then
34574 echo $ECHO_N "(cached) $ECHO_C" >&6
34575 else
34576 cat >conftest.$ac_ext <<_ACEOF
34577 /* confdefs.h. */
34578 _ACEOF
34579 cat confdefs.h >>conftest.$ac_ext
34580 cat >>conftest.$ac_ext <<_ACEOF
34581 /* end confdefs.h. */
34582 $ac_includes_default
34583 int
34584 main ()
34585 {
34586 if ((pid_t *) 0)
34587 return 0;
34588 if (sizeof (pid_t))
34589 return 0;
34590 ;
34591 return 0;
34592 }
34593 _ACEOF
34594 rm -f conftest.$ac_objext
34595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34596 (eval $ac_compile) 2>conftest.er1
34597 ac_status=$?
34598 grep -v '^ *+' conftest.er1 >conftest.err
34599 rm -f conftest.er1
34600 cat conftest.err >&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } &&
34603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; } &&
34609 { ac_try='test -s conftest.$ac_objext'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; }; then
34615 ac_cv_type_pid_t=yes
34616 else
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.$ac_ext >&5
34619
34620 ac_cv_type_pid_t=no
34621 fi
34622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34623 fi
34624 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34625 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34626 if test $ac_cv_type_pid_t = yes; then
34627 :
34628 else
34629
34630 cat >>confdefs.h <<_ACEOF
34631 #define pid_t int
34632 _ACEOF
34633
34634 fi
34635
34636 echo "$as_me:$LINENO: checking for size_t" >&5
34637 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34638 if test "${ac_cv_type_size_t+set}" = set; then
34639 echo $ECHO_N "(cached) $ECHO_C" >&6
34640 else
34641 cat >conftest.$ac_ext <<_ACEOF
34642 /* confdefs.h. */
34643 _ACEOF
34644 cat confdefs.h >>conftest.$ac_ext
34645 cat >>conftest.$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647 $ac_includes_default
34648 int
34649 main ()
34650 {
34651 if ((size_t *) 0)
34652 return 0;
34653 if (sizeof (size_t))
34654 return 0;
34655 ;
34656 return 0;
34657 }
34658 _ACEOF
34659 rm -f conftest.$ac_objext
34660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34661 (eval $ac_compile) 2>conftest.er1
34662 ac_status=$?
34663 grep -v '^ *+' conftest.er1 >conftest.err
34664 rm -f conftest.er1
34665 cat conftest.err >&5
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); } &&
34668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670 (eval $ac_try) 2>&5
34671 ac_status=$?
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); }; } &&
34674 { ac_try='test -s conftest.$ac_objext'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34677 ac_status=$?
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; }; then
34680 ac_cv_type_size_t=yes
34681 else
34682 echo "$as_me: failed program was:" >&5
34683 sed 's/^/| /' conftest.$ac_ext >&5
34684
34685 ac_cv_type_size_t=no
34686 fi
34687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34688 fi
34689 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34690 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34691 if test $ac_cv_type_size_t = yes; then
34692 :
34693 else
34694
34695 cat >>confdefs.h <<_ACEOF
34696 #define size_t unsigned
34697 _ACEOF
34698
34699 fi
34700
34701 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34702 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34703 if test "${ac_cv_type_uid_t+set}" = set; then
34704 echo $ECHO_N "(cached) $ECHO_C" >&6
34705 else
34706 cat >conftest.$ac_ext <<_ACEOF
34707 /* confdefs.h. */
34708 _ACEOF
34709 cat confdefs.h >>conftest.$ac_ext
34710 cat >>conftest.$ac_ext <<_ACEOF
34711 /* end confdefs.h. */
34712 #include <sys/types.h>
34713
34714 _ACEOF
34715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34716 $EGREP "uid_t" >/dev/null 2>&1; then
34717 ac_cv_type_uid_t=yes
34718 else
34719 ac_cv_type_uid_t=no
34720 fi
34721 rm -f conftest*
34722
34723 fi
34724 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34725 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34726 if test $ac_cv_type_uid_t = no; then
34727
34728 cat >>confdefs.h <<\_ACEOF
34729 #define uid_t int
34730 _ACEOF
34731
34732
34733 cat >>confdefs.h <<\_ACEOF
34734 #define gid_t int
34735 _ACEOF
34736
34737 fi
34738
34739
34740 echo "$as_me:$LINENO: checking for ssize_t" >&5
34741 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34742 if test "${ac_cv_type_ssize_t+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 else
34745 cat >conftest.$ac_ext <<_ACEOF
34746 /* confdefs.h. */
34747 _ACEOF
34748 cat confdefs.h >>conftest.$ac_ext
34749 cat >>conftest.$ac_ext <<_ACEOF
34750 /* end confdefs.h. */
34751 $ac_includes_default
34752 int
34753 main ()
34754 {
34755 if ((ssize_t *) 0)
34756 return 0;
34757 if (sizeof (ssize_t))
34758 return 0;
34759 ;
34760 return 0;
34761 }
34762 _ACEOF
34763 rm -f conftest.$ac_objext
34764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34765 (eval $ac_compile) 2>conftest.er1
34766 ac_status=$?
34767 grep -v '^ *+' conftest.er1 >conftest.err
34768 rm -f conftest.er1
34769 cat conftest.err >&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } &&
34772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34775 ac_status=$?
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; } &&
34778 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34784 ac_cv_type_ssize_t=yes
34785 else
34786 echo "$as_me: failed program was:" >&5
34787 sed 's/^/| /' conftest.$ac_ext >&5
34788
34789 ac_cv_type_ssize_t=no
34790 fi
34791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34792 fi
34793 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34794 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34795 if test $ac_cv_type_ssize_t = yes; then
34796
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE_SSIZE_T 1
34799 _ACEOF
34800
34801
34802 fi
34803
34804
34805 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34806 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34807 if test "${wx_cv_size_t_is_uint+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 else
34810
34811 cat >conftest.$ac_ext <<_ACEOF
34812 /* confdefs.h. */
34813 _ACEOF
34814 cat confdefs.h >>conftest.$ac_ext
34815 cat >>conftest.$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 #include <stddef.h>
34818 int
34819 main ()
34820 {
34821
34822 return 0; }
34823
34824 struct Foo { void foo(size_t); void foo(unsigned int); };
34825
34826 int bar() {
34827
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 rm -f conftest.$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34835 ac_status=$?
34836 grep -v '^ *+' conftest.er1 >conftest.err
34837 rm -f conftest.er1
34838 cat conftest.err >&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34844 ac_status=$?
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34850 ac_status=$?
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853 wx_cv_size_t_is_uint=no
34854 else
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.$ac_ext >&5
34857
34858 wx_cv_size_t_is_uint=yes
34859
34860 fi
34861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34862
34863
34864 fi
34865 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34866 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34867
34868 if test "$wx_cv_size_t_is_uint" = "yes"; then
34869 cat >>confdefs.h <<\_ACEOF
34870 #define wxSIZE_T_IS_UINT 1
34871 _ACEOF
34872
34873 else
34874 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34875 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34876 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 else
34879 cat >conftest.$ac_ext <<_ACEOF
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 #include <stddef.h>
34886 int
34887 main ()
34888 {
34889
34890 return 0; }
34891
34892 struct Foo { void foo(size_t); void foo(unsigned long); };
34893
34894 int bar() {
34895
34896 ;
34897 return 0;
34898 }
34899 _ACEOF
34900 rm -f conftest.$ac_objext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34902 (eval $ac_compile) 2>conftest.er1
34903 ac_status=$?
34904 grep -v '^ *+' conftest.er1 >conftest.err
34905 rm -f conftest.er1
34906 cat conftest.err >&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34912 ac_status=$?
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34921 wx_cv_size_t_is_ulong=no
34922 else
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.$ac_ext >&5
34925
34926 wx_cv_size_t_is_ulong=yes
34927
34928 fi
34929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34930
34931 fi
34932 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34933 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34934
34935 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34936 cat >>confdefs.h <<\_ACEOF
34937 #define wxSIZE_T_IS_ULONG 1
34938 _ACEOF
34939
34940 fi
34941 fi
34942
34943
34944 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34945 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34946 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34947 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 else
34949
34950 cat >conftest.$ac_ext <<_ACEOF
34951 /* confdefs.h. */
34952 _ACEOF
34953 cat confdefs.h >>conftest.$ac_ext
34954 cat >>conftest.$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 #include <pwd.h>
34957 int
34958 main ()
34959 {
34960
34961 char *p;
34962 struct passwd *pw;
34963 p = pw->pw_gecos;
34964
34965 ;
34966 return 0;
34967 }
34968 _ACEOF
34969 rm -f conftest.$ac_objext
34970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34971 (eval $ac_compile) 2>conftest.er1
34972 ac_status=$?
34973 grep -v '^ *+' conftest.er1 >conftest.err
34974 rm -f conftest.er1
34975 cat conftest.err >&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); } &&
34978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34980 (eval $ac_try) 2>&5
34981 ac_status=$?
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); }; } &&
34984 { ac_try='test -s conftest.$ac_objext'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34987 ac_status=$?
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; }; then
34990
34991 wx_cv_struct_pw_gecos=yes
34992
34993 else
34994 echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.$ac_ext >&5
34996
34997
34998 wx_cv_struct_pw_gecos=no
34999
35000
35001 fi
35002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35003
35004
35005 fi
35006 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35007 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35008
35009 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35010 cat >>confdefs.h <<\_ACEOF
35011 #define HAVE_PW_GECOS 1
35012 _ACEOF
35013
35014 fi
35015
35016
35017 if test "$wxUSE_WCHAR_T" = "yes"; then
35018 cat >>confdefs.h <<\_ACEOF
35019 #define wxUSE_WCHAR_T 1
35020 _ACEOF
35021
35022
35023 WCSLEN_FOUND=0
35024 WCHAR_LINK=
35025
35026 for ac_func in wcslen
35027 do
35028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35029 echo "$as_me:$LINENO: checking for $ac_func" >&5
35030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35031 if eval "test \"\${$as_ac_var+set}\" = set"; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35033 else
35034 cat >conftest.$ac_ext <<_ACEOF
35035 /* confdefs.h. */
35036 _ACEOF
35037 cat confdefs.h >>conftest.$ac_ext
35038 cat >>conftest.$ac_ext <<_ACEOF
35039 /* end confdefs.h. */
35040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35042 #define $ac_func innocuous_$ac_func
35043
35044 /* System header to define __stub macros and hopefully few prototypes,
35045 which can conflict with char $ac_func (); below.
35046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35047 <limits.h> exists even on freestanding compilers. */
35048
35049 #ifdef __STDC__
35050 # include <limits.h>
35051 #else
35052 # include <assert.h>
35053 #endif
35054
35055 #undef $ac_func
35056
35057 /* Override any gcc2 internal prototype to avoid an error. */
35058 #ifdef __cplusplus
35059 extern "C"
35060 {
35061 #endif
35062 /* We use char because int might match the return type of a gcc2
35063 builtin and then its argument prototype would still apply. */
35064 char $ac_func ();
35065 /* The GNU C library defines this for functions which it implements
35066 to always fail with ENOSYS. Some functions are actually named
35067 something starting with __ and the normal name is an alias. */
35068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35069 choke me
35070 #else
35071 char (*f) () = $ac_func;
35072 #endif
35073 #ifdef __cplusplus
35074 }
35075 #endif
35076
35077 int
35078 main ()
35079 {
35080 return f != $ac_func;
35081 ;
35082 return 0;
35083 }
35084 _ACEOF
35085 rm -f conftest.$ac_objext conftest$ac_exeext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35087 (eval $ac_link) 2>conftest.er1
35088 ac_status=$?
35089 grep -v '^ *+' conftest.er1 >conftest.err
35090 rm -f conftest.er1
35091 cat conftest.err >&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35096 (eval $ac_try) 2>&5
35097 ac_status=$?
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; } &&
35100 { ac_try='test -s conftest$ac_exeext'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35103 ac_status=$?
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; }; then
35106 eval "$as_ac_var=yes"
35107 else
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.$ac_ext >&5
35110
35111 eval "$as_ac_var=no"
35112 fi
35113 rm -f conftest.err conftest.$ac_objext \
35114 conftest$ac_exeext conftest.$ac_ext
35115 fi
35116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35118 if test `eval echo '${'$as_ac_var'}'` = yes; then
35119 cat >>confdefs.h <<_ACEOF
35120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35121 _ACEOF
35122 WCSLEN_FOUND=1
35123 fi
35124 done
35125
35126
35127 if test "$WCSLEN_FOUND" = 0; then
35128 if test "$TOOLKIT" = "MSW"; then
35129 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35130 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35131 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 else
35134 ac_check_lib_save_LIBS=$LIBS
35135 LIBS="-lmsvcrt $LIBS"
35136 cat >conftest.$ac_ext <<_ACEOF
35137 /* confdefs.h. */
35138 _ACEOF
35139 cat confdefs.h >>conftest.$ac_ext
35140 cat >>conftest.$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35142
35143 /* Override any gcc2 internal prototype to avoid an error. */
35144 #ifdef __cplusplus
35145 extern "C"
35146 #endif
35147 /* We use char because int might match the return type of a gcc2
35148 builtin and then its argument prototype would still apply. */
35149 char wcslen ();
35150 int
35151 main ()
35152 {
35153 wcslen ();
35154 ;
35155 return 0;
35156 }
35157 _ACEOF
35158 rm -f conftest.$ac_objext conftest$ac_exeext
35159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35160 (eval $ac_link) 2>conftest.er1
35161 ac_status=$?
35162 grep -v '^ *+' conftest.er1 >conftest.err
35163 rm -f conftest.er1
35164 cat conftest.err >&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } &&
35167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35169 (eval $ac_try) 2>&5
35170 ac_status=$?
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); }; } &&
35173 { ac_try='test -s conftest$ac_exeext'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35176 ac_status=$?
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; }; then
35179 ac_cv_lib_msvcrt_wcslen=yes
35180 else
35181 echo "$as_me: failed program was:" >&5
35182 sed 's/^/| /' conftest.$ac_ext >&5
35183
35184 ac_cv_lib_msvcrt_wcslen=no
35185 fi
35186 rm -f conftest.err conftest.$ac_objext \
35187 conftest$ac_exeext conftest.$ac_ext
35188 LIBS=$ac_check_lib_save_LIBS
35189 fi
35190 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35191 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35192 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35193 WCHAR_OK=1
35194 fi
35195
35196 else
35197 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35198 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35199 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35200 echo $ECHO_N "(cached) $ECHO_C" >&6
35201 else
35202 ac_check_lib_save_LIBS=$LIBS
35203 LIBS="-lw $LIBS"
35204 cat >conftest.$ac_ext <<_ACEOF
35205 /* confdefs.h. */
35206 _ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210
35211 /* Override any gcc2 internal prototype to avoid an error. */
35212 #ifdef __cplusplus
35213 extern "C"
35214 #endif
35215 /* We use char because int might match the return type of a gcc2
35216 builtin and then its argument prototype would still apply. */
35217 char wcslen ();
35218 int
35219 main ()
35220 {
35221 wcslen ();
35222 ;
35223 return 0;
35224 }
35225 _ACEOF
35226 rm -f conftest.$ac_objext conftest$ac_exeext
35227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35228 (eval $ac_link) 2>conftest.er1
35229 ac_status=$?
35230 grep -v '^ *+' conftest.er1 >conftest.err
35231 rm -f conftest.er1
35232 cat conftest.err >&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } &&
35235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 (eval $ac_try) 2>&5
35238 ac_status=$?
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); }; } &&
35241 { ac_try='test -s conftest$ac_exeext'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; }; then
35247 ac_cv_lib_w_wcslen=yes
35248 else
35249 echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.$ac_ext >&5
35251
35252 ac_cv_lib_w_wcslen=no
35253 fi
35254 rm -f conftest.err conftest.$ac_objext \
35255 conftest$ac_exeext conftest.$ac_ext
35256 LIBS=$ac_check_lib_save_LIBS
35257 fi
35258 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35259 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35260 if test $ac_cv_lib_w_wcslen = yes; then
35261
35262 WCHAR_LINK=" -lw"
35263 WCSLEN_FOUND=1
35264
35265 fi
35266
35267 fi
35268 fi
35269
35270 if test "$WCSLEN_FOUND" = 1; then
35271 cat >>confdefs.h <<\_ACEOF
35272 #define HAVE_WCSLEN 1
35273 _ACEOF
35274
35275 fi
35276
35277 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35278 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35279 fi
35280
35281 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35282 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35283 if test "${ac_cv_type_mbstate_t+set}" = set; then
35284 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 else
35286 cat >conftest.$ac_ext <<_ACEOF
35287 /* confdefs.h. */
35288 _ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292 #include <wchar.h>
35293
35294 int
35295 main ()
35296 {
35297 if ((mbstate_t *) 0)
35298 return 0;
35299 if (sizeof (mbstate_t))
35300 return 0;
35301 ;
35302 return 0;
35303 }
35304 _ACEOF
35305 rm -f conftest.$ac_objext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35307 (eval $ac_compile) 2>conftest.er1
35308 ac_status=$?
35309 grep -v '^ *+' conftest.er1 >conftest.err
35310 rm -f conftest.er1
35311 cat conftest.err >&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35317 ac_status=$?
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; } &&
35320 { ac_try='test -s conftest.$ac_objext'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; }; then
35326 ac_cv_type_mbstate_t=yes
35327 else
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.$ac_ext >&5
35330
35331 ac_cv_type_mbstate_t=no
35332 fi
35333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35334 fi
35335 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35336 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35337 if test $ac_cv_type_mbstate_t = yes; then
35338
35339 cat >>confdefs.h <<_ACEOF
35340 #define HAVE_MBSTATE_T 1
35341 _ACEOF
35342
35343
35344 for ac_func in wcsrtombs
35345 do
35346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35347 echo "$as_me:$LINENO: checking for $ac_func" >&5
35348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35349 if eval "test \"\${$as_ac_var+set}\" = set"; then
35350 echo $ECHO_N "(cached) $ECHO_C" >&6
35351 else
35352 cat >conftest.$ac_ext <<_ACEOF
35353 /* confdefs.h. */
35354 _ACEOF
35355 cat confdefs.h >>conftest.$ac_ext
35356 cat >>conftest.$ac_ext <<_ACEOF
35357 /* end confdefs.h. */
35358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35360 #define $ac_func innocuous_$ac_func
35361
35362 /* System header to define __stub macros and hopefully few prototypes,
35363 which can conflict with char $ac_func (); below.
35364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35365 <limits.h> exists even on freestanding compilers. */
35366
35367 #ifdef __STDC__
35368 # include <limits.h>
35369 #else
35370 # include <assert.h>
35371 #endif
35372
35373 #undef $ac_func
35374
35375 /* Override any gcc2 internal prototype to avoid an error. */
35376 #ifdef __cplusplus
35377 extern "C"
35378 {
35379 #endif
35380 /* We use char because int might match the return type of a gcc2
35381 builtin and then its argument prototype would still apply. */
35382 char $ac_func ();
35383 /* The GNU C library defines this for functions which it implements
35384 to always fail with ENOSYS. Some functions are actually named
35385 something starting with __ and the normal name is an alias. */
35386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35387 choke me
35388 #else
35389 char (*f) () = $ac_func;
35390 #endif
35391 #ifdef __cplusplus
35392 }
35393 #endif
35394
35395 int
35396 main ()
35397 {
35398 return f != $ac_func;
35399 ;
35400 return 0;
35401 }
35402 _ACEOF
35403 rm -f conftest.$ac_objext conftest$ac_exeext
35404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35405 (eval $ac_link) 2>conftest.er1
35406 ac_status=$?
35407 grep -v '^ *+' conftest.er1 >conftest.err
35408 rm -f conftest.er1
35409 cat conftest.err >&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); } &&
35412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35414 (eval $ac_try) 2>&5
35415 ac_status=$?
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); }; } &&
35418 { ac_try='test -s conftest$ac_exeext'
35419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35420 (eval $ac_try) 2>&5
35421 ac_status=$?
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); }; }; then
35424 eval "$as_ac_var=yes"
35425 else
35426 echo "$as_me: failed program was:" >&5
35427 sed 's/^/| /' conftest.$ac_ext >&5
35428
35429 eval "$as_ac_var=no"
35430 fi
35431 rm -f conftest.err conftest.$ac_objext \
35432 conftest$ac_exeext conftest.$ac_ext
35433 fi
35434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35436 if test `eval echo '${'$as_ac_var'}'` = yes; then
35437 cat >>confdefs.h <<_ACEOF
35438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35439 _ACEOF
35440
35441 fi
35442 done
35443
35444 fi
35445
35446 else
35447 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35448 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35449 fi
35450
35451
35452
35453 for ac_func in snprintf vsnprintf
35454 do
35455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35456 echo "$as_me:$LINENO: checking for $ac_func" >&5
35457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35458 if eval "test \"\${$as_ac_var+set}\" = set"; then
35459 echo $ECHO_N "(cached) $ECHO_C" >&6
35460 else
35461 cat >conftest.$ac_ext <<_ACEOF
35462 /* confdefs.h. */
35463 _ACEOF
35464 cat confdefs.h >>conftest.$ac_ext
35465 cat >>conftest.$ac_ext <<_ACEOF
35466 /* end confdefs.h. */
35467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35469 #define $ac_func innocuous_$ac_func
35470
35471 /* System header to define __stub macros and hopefully few prototypes,
35472 which can conflict with char $ac_func (); below.
35473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35474 <limits.h> exists even on freestanding compilers. */
35475
35476 #ifdef __STDC__
35477 # include <limits.h>
35478 #else
35479 # include <assert.h>
35480 #endif
35481
35482 #undef $ac_func
35483
35484 /* Override any gcc2 internal prototype to avoid an error. */
35485 #ifdef __cplusplus
35486 extern "C"
35487 {
35488 #endif
35489 /* We use char because int might match the return type of a gcc2
35490 builtin and then its argument prototype would still apply. */
35491 char $ac_func ();
35492 /* The GNU C library defines this for functions which it implements
35493 to always fail with ENOSYS. Some functions are actually named
35494 something starting with __ and the normal name is an alias. */
35495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35496 choke me
35497 #else
35498 char (*f) () = $ac_func;
35499 #endif
35500 #ifdef __cplusplus
35501 }
35502 #endif
35503
35504 int
35505 main ()
35506 {
35507 return f != $ac_func;
35508 ;
35509 return 0;
35510 }
35511 _ACEOF
35512 rm -f conftest.$ac_objext conftest$ac_exeext
35513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35514 (eval $ac_link) 2>conftest.er1
35515 ac_status=$?
35516 grep -v '^ *+' conftest.er1 >conftest.err
35517 rm -f conftest.er1
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } &&
35521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35524 ac_status=$?
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; } &&
35527 { ac_try='test -s conftest$ac_exeext'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35530 ac_status=$?
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; }; then
35533 eval "$as_ac_var=yes"
35534 else
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.$ac_ext >&5
35537
35538 eval "$as_ac_var=no"
35539 fi
35540 rm -f conftest.err conftest.$ac_objext \
35541 conftest$ac_exeext conftest.$ac_ext
35542 fi
35543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35545 if test `eval echo '${'$as_ac_var'}'` = yes; then
35546 cat >>confdefs.h <<_ACEOF
35547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35548 _ACEOF
35549
35550 fi
35551 done
35552
35553
35554 if test "$ac_cv_func_vsnprintf" = "yes"; then
35555 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35556 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35557 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 else
35560
35561 cat >conftest.$ac_ext <<_ACEOF
35562 /* confdefs.h. */
35563 _ACEOF
35564 cat confdefs.h >>conftest.$ac_ext
35565 cat >>conftest.$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35567
35568 #include <stdio.h>
35569 #include <stdarg.h>
35570 #ifdef __MSL__
35571 #if __MSL__ >= 0x6000
35572 namespace std {}
35573 using namespace std;
35574 #endif
35575 #endif
35576
35577 int
35578 main ()
35579 {
35580
35581 char *buf;
35582 va_list ap;
35583 vsnprintf(buf, 10u, "%s", ap);
35584
35585 ;
35586 return 0;
35587 }
35588 _ACEOF
35589 rm -f conftest.$ac_objext
35590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35591 (eval $ac_compile) 2>conftest.er1
35592 ac_status=$?
35593 grep -v '^ *+' conftest.er1 >conftest.err
35594 rm -f conftest.er1
35595 cat conftest.err >&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); } &&
35598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35601 ac_status=$?
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; } &&
35604 { ac_try='test -s conftest.$ac_objext'
35605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606 (eval $ac_try) 2>&5
35607 ac_status=$?
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; }; then
35610 wx_cv_func_vsnprintf_decl=yes
35611 else
35612 echo "$as_me: failed program was:" >&5
35613 sed 's/^/| /' conftest.$ac_ext >&5
35614
35615 wx_cv_func_vsnprintf_decl=no
35616
35617 fi
35618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35619
35620
35621 fi
35622 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35623 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35624
35625 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define HAVE_VSNPRINTF_DECL 1
35628 _ACEOF
35629
35630
35631 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35632 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35633 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35634 echo $ECHO_N "(cached) $ECHO_C" >&6
35635 else
35636
35637 cat >conftest.$ac_ext <<_ACEOF
35638 /* confdefs.h. */
35639 _ACEOF
35640 cat confdefs.h >>conftest.$ac_ext
35641 cat >>conftest.$ac_ext <<_ACEOF
35642 /* end confdefs.h. */
35643
35644 #include <stdio.h>
35645 #include <stdarg.h>
35646 #ifdef __MSL__
35647 #if __MSL__ >= 0x6000
35648 namespace std {}
35649 using namespace std;
35650 #endif
35651 #endif
35652
35653 int
35654 main ()
35655 {
35656
35657 char *buf;
35658 va_list ap;
35659 const char *fmt = "%s";
35660 vsnprintf(buf, 10u, fmt, ap);
35661
35662 ;
35663 return 0;
35664 }
35665 _ACEOF
35666 rm -f conftest.$ac_objext
35667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35668 (eval $ac_compile) 2>conftest.er1
35669 ac_status=$?
35670 grep -v '^ *+' conftest.er1 >conftest.err
35671 rm -f conftest.er1
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } &&
35675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35677 (eval $ac_try) 2>&5
35678 ac_status=$?
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); }; } &&
35681 { ac_try='test -s conftest.$ac_objext'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35684 ac_status=$?
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; }; then
35687 wx_cv_func_broken_vsnprintf_decl=no
35688 else
35689 echo "$as_me: failed program was:" >&5
35690 sed 's/^/| /' conftest.$ac_ext >&5
35691
35692 wx_cv_func_broken_vsnprintf_decl=yes
35693
35694 fi
35695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35696
35697
35698 fi
35699 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35700 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35701
35702 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35703 cat >>confdefs.h <<\_ACEOF
35704 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35705 _ACEOF
35706
35707 fi
35708 fi
35709 fi
35710
35711 if test "$ac_cv_func_snprintf" = "yes"; then
35712 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35713 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35714 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35715 echo $ECHO_N "(cached) $ECHO_C" >&6
35716 else
35717
35718 cat >conftest.$ac_ext <<_ACEOF
35719 /* confdefs.h. */
35720 _ACEOF
35721 cat confdefs.h >>conftest.$ac_ext
35722 cat >>conftest.$ac_ext <<_ACEOF
35723 /* end confdefs.h. */
35724
35725 #include <stdio.h>
35726 #include <stdarg.h>
35727 #ifdef __MSL__
35728 #if __MSL__ >= 0x6000
35729 namespace std {}
35730 using namespace std;
35731 #endif
35732 #endif
35733
35734 int
35735 main ()
35736 {
35737
35738 char *buf;
35739 snprintf(buf, 10u, "%s", "wx");
35740
35741 ;
35742 return 0;
35743 }
35744 _ACEOF
35745 rm -f conftest.$ac_objext
35746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35747 (eval $ac_compile) 2>conftest.er1
35748 ac_status=$?
35749 grep -v '^ *+' conftest.er1 >conftest.err
35750 rm -f conftest.er1
35751 cat conftest.err >&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); } &&
35754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35757 ac_status=$?
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; } &&
35760 { ac_try='test -s conftest.$ac_objext'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; }; then
35766 wx_cv_func_snprintf_decl=yes
35767 else
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.$ac_ext >&5
35770
35771 wx_cv_func_snprintf_decl=no
35772
35773 fi
35774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35775
35776
35777 fi
35778 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35779 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35780
35781 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35782 cat >>confdefs.h <<\_ACEOF
35783 #define HAVE_SNPRINTF_DECL 1
35784 _ACEOF
35785
35786
35787 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35788 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35789 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792
35793 cat >conftest.$ac_ext <<_ACEOF
35794 /* confdefs.h. */
35795 _ACEOF
35796 cat confdefs.h >>conftest.$ac_ext
35797 cat >>conftest.$ac_ext <<_ACEOF
35798 /* end confdefs.h. */
35799
35800 #include <stdio.h>
35801 #include <stdarg.h>
35802 #ifdef __MSL__
35803 #if __MSL__ >= 0x6000
35804 namespace std {}
35805 using namespace std;
35806 #endif
35807 #endif
35808
35809 int
35810 main ()
35811 {
35812
35813 char *buf;
35814 const char *fmt = "%s";
35815 snprintf(buf, 10u, fmt, "wx");
35816
35817 ;
35818 return 0;
35819 }
35820 _ACEOF
35821 rm -f conftest.$ac_objext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35823 (eval $ac_compile) 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try='test -s conftest.$ac_objext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 wx_cv_func_broken_snprintf_decl=no
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35846
35847 wx_cv_func_broken_snprintf_decl=yes
35848
35849 fi
35850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35851
35852
35853 fi
35854 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35855 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35856
35857 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35858 cat >>confdefs.h <<\_ACEOF
35859 #define HAVE_BROKEN_SNPRINTF_DECL 1
35860 _ACEOF
35861
35862 fi
35863 fi
35864
35865 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35866
35867 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35868 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35869 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35870 echo $ECHO_N "(cached) $ECHO_C" >&6
35871 else
35872
35873 if test "$cross_compiling" = yes; then
35874
35875 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35876 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35877 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35878 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35879 wx_cv_func_snprintf_pos_params=no
35880
35881
35882 else
35883 cat >conftest.$ac_ext <<_ACEOF
35884 /* confdefs.h. */
35885 _ACEOF
35886 cat confdefs.h >>conftest.$ac_ext
35887 cat >>conftest.$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889
35890 #include <stdio.h>
35891
35892 int main (void)
35893 {
35894 char buffer[128];
35895 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35896 if (strcmp ("2 3 1", buffer) == 0)
35897 exit (0);
35898 exit (1);
35899 }
35900
35901 _ACEOF
35902 rm -f conftest$ac_exeext
35903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35904 (eval $ac_link) 2>&5
35905 ac_status=$?
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35910 ac_status=$?
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }; then
35913 wx_cv_func_snprintf_pos_params=no
35914 else
35915 echo "$as_me: program exited with status $ac_status" >&5
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.$ac_ext >&5
35918
35919 ( exit $ac_status )
35920 wx_cv_func_snprintf_pos_params=yes
35921 fi
35922 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35923 fi
35924
35925
35926 fi
35927 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35928 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35929
35930 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35931 cat >>confdefs.h <<\_ACEOF
35932 #define HAVE_UNIX98_PRINTF 1
35933 _ACEOF
35934
35935 fi
35936 fi
35937 fi
35938
35939 if test "$wxUSE_UNICODE" = yes; then
35940
35941
35942 for ac_func in swprintf
35943 do
35944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35945 echo "$as_me:$LINENO: checking for $ac_func" >&5
35946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35947 if eval "test \"\${$as_ac_var+set}\" = set"; then
35948 echo $ECHO_N "(cached) $ECHO_C" >&6
35949 else
35950 cat >conftest.$ac_ext <<_ACEOF
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35958 #define $ac_func innocuous_$ac_func
35959
35960 /* System header to define __stub macros and hopefully few prototypes,
35961 which can conflict with char $ac_func (); below.
35962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35963 <limits.h> exists even on freestanding compilers. */
35964
35965 #ifdef __STDC__
35966 # include <limits.h>
35967 #else
35968 # include <assert.h>
35969 #endif
35970
35971 #undef $ac_func
35972
35973 /* Override any gcc2 internal prototype to avoid an error. */
35974 #ifdef __cplusplus
35975 extern "C"
35976 {
35977 #endif
35978 /* We use char because int might match the return type of a gcc2
35979 builtin and then its argument prototype would still apply. */
35980 char $ac_func ();
35981 /* The GNU C library defines this for functions which it implements
35982 to always fail with ENOSYS. Some functions are actually named
35983 something starting with __ and the normal name is an alias. */
35984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35985 choke me
35986 #else
35987 char (*f) () = $ac_func;
35988 #endif
35989 #ifdef __cplusplus
35990 }
35991 #endif
35992
35993 int
35994 main ()
35995 {
35996 return f != $ac_func;
35997 ;
35998 return 0;
35999 }
36000 _ACEOF
36001 rm -f conftest.$ac_objext conftest$ac_exeext
36002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36003 (eval $ac_link) 2>conftest.er1
36004 ac_status=$?
36005 grep -v '^ *+' conftest.er1 >conftest.err
36006 rm -f conftest.er1
36007 cat conftest.err >&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); } &&
36010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36012 (eval $ac_try) 2>&5
36013 ac_status=$?
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); }; } &&
36016 { ac_try='test -s conftest$ac_exeext'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36019 ac_status=$?
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; }; then
36022 eval "$as_ac_var=yes"
36023 else
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.$ac_ext >&5
36026
36027 eval "$as_ac_var=no"
36028 fi
36029 rm -f conftest.err conftest.$ac_objext \
36030 conftest$ac_exeext conftest.$ac_ext
36031 fi
36032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36034 if test `eval echo '${'$as_ac_var'}'` = yes; then
36035 cat >>confdefs.h <<_ACEOF
36036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36037 _ACEOF
36038
36039 fi
36040 done
36041
36042
36043 if test "$ac_cv_func_swprintf" = "yes"; then
36044 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36045 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36046 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36049
36050 cat >conftest.$ac_ext <<_ACEOF
36051 /* confdefs.h. */
36052 _ACEOF
36053 cat confdefs.h >>conftest.$ac_ext
36054 cat >>conftest.$ac_ext <<_ACEOF
36055 /* end confdefs.h. */
36056
36057 #include <stdio.h>
36058 #include <stdarg.h>
36059 #include <wchar.h>
36060
36061 int
36062 main ()
36063 {
36064
36065 wchar_t *buf;
36066 const wchar_t *fmt = L"test";
36067 swprintf(buf, 10u, fmt);
36068
36069 ;
36070 return 0;
36071 }
36072 _ACEOF
36073 rm -f conftest.$ac_objext
36074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36075 (eval $ac_compile) 2>conftest.er1
36076 ac_status=$?
36077 grep -v '^ *+' conftest.er1 >conftest.err
36078 rm -f conftest.er1
36079 cat conftest.err >&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); } &&
36082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36084 (eval $ac_try) 2>&5
36085 ac_status=$?
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); }; } &&
36088 { ac_try='test -s conftest.$ac_objext'
36089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36090 (eval $ac_try) 2>&5
36091 ac_status=$?
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); }; }; then
36094 wx_cv_func_broken_swprintf_decl=no
36095 else
36096 echo "$as_me: failed program was:" >&5
36097 sed 's/^/| /' conftest.$ac_ext >&5
36098
36099 wx_cv_func_broken_swprintf_decl=yes
36100
36101 fi
36102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36103
36104
36105 fi
36106 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36107 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36108
36109 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36110 cat >>confdefs.h <<\_ACEOF
36111 #define HAVE_BROKEN_SWPRINTF_DECL 1
36112 _ACEOF
36113
36114 fi
36115 fi
36116
36117
36118
36119
36120
36121
36122
36123 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36124 do
36125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36126 echo "$as_me:$LINENO: checking for $ac_func" >&5
36127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36128 if eval "test \"\${$as_ac_var+set}\" = set"; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36139 #define $ac_func innocuous_$ac_func
36140
36141 /* System header to define __stub macros and hopefully few prototypes,
36142 which can conflict with char $ac_func (); below.
36143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36144 <limits.h> exists even on freestanding compilers. */
36145
36146 #ifdef __STDC__
36147 # include <limits.h>
36148 #else
36149 # include <assert.h>
36150 #endif
36151
36152 #undef $ac_func
36153
36154 /* Override any gcc2 internal prototype to avoid an error. */
36155 #ifdef __cplusplus
36156 extern "C"
36157 {
36158 #endif
36159 /* We use char because int might match the return type of a gcc2
36160 builtin and then its argument prototype would still apply. */
36161 char $ac_func ();
36162 /* The GNU C library defines this for functions which it implements
36163 to always fail with ENOSYS. Some functions are actually named
36164 something starting with __ and the normal name is an alias. */
36165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36166 choke me
36167 #else
36168 char (*f) () = $ac_func;
36169 #endif
36170 #ifdef __cplusplus
36171 }
36172 #endif
36173
36174 int
36175 main ()
36176 {
36177 return f != $ac_func;
36178 ;
36179 return 0;
36180 }
36181 _ACEOF
36182 rm -f conftest.$ac_objext conftest$ac_exeext
36183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36184 (eval $ac_link) 2>conftest.er1
36185 ac_status=$?
36186 grep -v '^ *+' conftest.er1 >conftest.err
36187 rm -f conftest.er1
36188 cat conftest.err >&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); } &&
36191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36194 ac_status=$?
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; } &&
36197 { ac_try='test -s conftest$ac_exeext'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36200 ac_status=$?
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; }; then
36203 eval "$as_ac_var=yes"
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36207
36208 eval "$as_ac_var=no"
36209 fi
36210 rm -f conftest.err conftest.$ac_objext \
36211 conftest$ac_exeext conftest.$ac_ext
36212 fi
36213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36215 if test `eval echo '${'$as_ac_var'}'` = yes; then
36216 cat >>confdefs.h <<_ACEOF
36217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36218 _ACEOF
36219
36220 fi
36221 done
36222
36223
36224 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36225 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36226 cat >conftest.$ac_ext <<_ACEOF
36227 /* confdefs.h. */
36228 _ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 #include <wchar.h>
36233 int
36234 main ()
36235 {
36236 &_vsnwprintf;
36237 ;
36238 return 0;
36239 }
36240 _ACEOF
36241 rm -f conftest.$ac_objext
36242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36243 (eval $ac_compile) 2>conftest.er1
36244 ac_status=$?
36245 grep -v '^ *+' conftest.er1 >conftest.err
36246 rm -f conftest.er1
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } &&
36250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36253 ac_status=$?
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; } &&
36256 { ac_try='test -s conftest.$ac_objext'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36259 ac_status=$?
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; }; then
36262 echo "$as_me:$LINENO: result: yes" >&5
36263 echo "${ECHO_T}yes" >&6
36264 cat >>confdefs.h <<\_ACEOF
36265 #define HAVE__VSNWPRINTF 1
36266 _ACEOF
36267
36268 else
36269 echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.$ac_ext >&5
36271
36272 echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6
36274 fi
36275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36276 fi
36277
36278 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36279
36280 for ac_func in fnmatch
36281 do
36282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36283 echo "$as_me:$LINENO: checking for $ac_func" >&5
36284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36285 if eval "test \"\${$as_ac_var+set}\" = set"; then
36286 echo $ECHO_N "(cached) $ECHO_C" >&6
36287 else
36288 cat >conftest.$ac_ext <<_ACEOF
36289 /* confdefs.h. */
36290 _ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36296 #define $ac_func innocuous_$ac_func
36297
36298 /* System header to define __stub macros and hopefully few prototypes,
36299 which can conflict with char $ac_func (); below.
36300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36301 <limits.h> exists even on freestanding compilers. */
36302
36303 #ifdef __STDC__
36304 # include <limits.h>
36305 #else
36306 # include <assert.h>
36307 #endif
36308
36309 #undef $ac_func
36310
36311 /* Override any gcc2 internal prototype to avoid an error. */
36312 #ifdef __cplusplus
36313 extern "C"
36314 {
36315 #endif
36316 /* We use char because int might match the return type of a gcc2
36317 builtin and then its argument prototype would still apply. */
36318 char $ac_func ();
36319 /* The GNU C library defines this for functions which it implements
36320 to always fail with ENOSYS. Some functions are actually named
36321 something starting with __ and the normal name is an alias. */
36322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36323 choke me
36324 #else
36325 char (*f) () = $ac_func;
36326 #endif
36327 #ifdef __cplusplus
36328 }
36329 #endif
36330
36331 int
36332 main ()
36333 {
36334 return f != $ac_func;
36335 ;
36336 return 0;
36337 }
36338 _ACEOF
36339 rm -f conftest.$ac_objext conftest$ac_exeext
36340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36341 (eval $ac_link) 2>conftest.er1
36342 ac_status=$?
36343 grep -v '^ *+' conftest.er1 >conftest.err
36344 rm -f conftest.er1
36345 cat conftest.err >&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } &&
36348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36351 ac_status=$?
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; } &&
36354 { ac_try='test -s conftest$ac_exeext'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36357 ac_status=$?
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; }; then
36360 eval "$as_ac_var=yes"
36361 else
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.$ac_ext >&5
36364
36365 eval "$as_ac_var=no"
36366 fi
36367 rm -f conftest.err conftest.$ac_objext \
36368 conftest$ac_exeext conftest.$ac_ext
36369 fi
36370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36372 if test `eval echo '${'$as_ac_var'}'` = yes; then
36373 cat >>confdefs.h <<_ACEOF
36374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36375 _ACEOF
36376
36377 fi
36378 done
36379
36380 fi
36381
36382 if test "$wxUSE_FILE" = "yes"; then
36383
36384 for ac_func in fsync
36385 do
36386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36387 echo "$as_me:$LINENO: checking for $ac_func" >&5
36388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36389 if eval "test \"\${$as_ac_var+set}\" = set"; then
36390 echo $ECHO_N "(cached) $ECHO_C" >&6
36391 else
36392 cat >conftest.$ac_ext <<_ACEOF
36393 /* confdefs.h. */
36394 _ACEOF
36395 cat confdefs.h >>conftest.$ac_ext
36396 cat >>conftest.$ac_ext <<_ACEOF
36397 /* end confdefs.h. */
36398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36400 #define $ac_func innocuous_$ac_func
36401
36402 /* System header to define __stub macros and hopefully few prototypes,
36403 which can conflict with char $ac_func (); below.
36404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36405 <limits.h> exists even on freestanding compilers. */
36406
36407 #ifdef __STDC__
36408 # include <limits.h>
36409 #else
36410 # include <assert.h>
36411 #endif
36412
36413 #undef $ac_func
36414
36415 /* Override any gcc2 internal prototype to avoid an error. */
36416 #ifdef __cplusplus
36417 extern "C"
36418 {
36419 #endif
36420 /* We use char because int might match the return type of a gcc2
36421 builtin and then its argument prototype would still apply. */
36422 char $ac_func ();
36423 /* The GNU C library defines this for functions which it implements
36424 to always fail with ENOSYS. Some functions are actually named
36425 something starting with __ and the normal name is an alias. */
36426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36427 choke me
36428 #else
36429 char (*f) () = $ac_func;
36430 #endif
36431 #ifdef __cplusplus
36432 }
36433 #endif
36434
36435 int
36436 main ()
36437 {
36438 return f != $ac_func;
36439 ;
36440 return 0;
36441 }
36442 _ACEOF
36443 rm -f conftest.$ac_objext conftest$ac_exeext
36444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36445 (eval $ac_link) 2>conftest.er1
36446 ac_status=$?
36447 grep -v '^ *+' conftest.er1 >conftest.err
36448 rm -f conftest.er1
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } &&
36452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36454 (eval $ac_try) 2>&5
36455 ac_status=$?
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); }; } &&
36458 { ac_try='test -s conftest$ac_exeext'
36459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36460 (eval $ac_try) 2>&5
36461 ac_status=$?
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); }; }; then
36464 eval "$as_ac_var=yes"
36465 else
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.$ac_ext >&5
36468
36469 eval "$as_ac_var=no"
36470 fi
36471 rm -f conftest.err conftest.$ac_objext \
36472 conftest$ac_exeext conftest.$ac_ext
36473 fi
36474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36476 if test `eval echo '${'$as_ac_var'}'` = yes; then
36477 cat >>confdefs.h <<_ACEOF
36478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36479 _ACEOF
36480
36481 fi
36482 done
36483
36484 fi
36485
36486
36487 for ac_func in round
36488 do
36489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36490 echo "$as_me:$LINENO: checking for $ac_func" >&5
36491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36492 if eval "test \"\${$as_ac_var+set}\" = set"; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36494 else
36495 cat >conftest.$ac_ext <<_ACEOF
36496 /* confdefs.h. */
36497 _ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36503 #define $ac_func innocuous_$ac_func
36504
36505 /* System header to define __stub macros and hopefully few prototypes,
36506 which can conflict with char $ac_func (); below.
36507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36508 <limits.h> exists even on freestanding compilers. */
36509
36510 #ifdef __STDC__
36511 # include <limits.h>
36512 #else
36513 # include <assert.h>
36514 #endif
36515
36516 #undef $ac_func
36517
36518 /* Override any gcc2 internal prototype to avoid an error. */
36519 #ifdef __cplusplus
36520 extern "C"
36521 {
36522 #endif
36523 /* We use char because int might match the return type of a gcc2
36524 builtin and then its argument prototype would still apply. */
36525 char $ac_func ();
36526 /* The GNU C library defines this for functions which it implements
36527 to always fail with ENOSYS. Some functions are actually named
36528 something starting with __ and the normal name is an alias. */
36529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36530 choke me
36531 #else
36532 char (*f) () = $ac_func;
36533 #endif
36534 #ifdef __cplusplus
36535 }
36536 #endif
36537
36538 int
36539 main ()
36540 {
36541 return f != $ac_func;
36542 ;
36543 return 0;
36544 }
36545 _ACEOF
36546 rm -f conftest.$ac_objext conftest$ac_exeext
36547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36548 (eval $ac_link) 2>conftest.er1
36549 ac_status=$?
36550 grep -v '^ *+' conftest.er1 >conftest.err
36551 rm -f conftest.er1
36552 cat conftest.err >&5
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); } &&
36555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36557 (eval $ac_try) 2>&5
36558 ac_status=$?
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; } &&
36561 { ac_try='test -s conftest$ac_exeext'
36562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563 (eval $ac_try) 2>&5
36564 ac_status=$?
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; }; then
36567 eval "$as_ac_var=yes"
36568 else
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.$ac_ext >&5
36571
36572 eval "$as_ac_var=no"
36573 fi
36574 rm -f conftest.err conftest.$ac_objext \
36575 conftest$ac_exeext conftest.$ac_ext
36576 fi
36577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36579 if test `eval echo '${'$as_ac_var'}'` = yes; then
36580 cat >>confdefs.h <<_ACEOF
36581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36582 _ACEOF
36583
36584 fi
36585 done
36586
36587 if test "$ac_cv_func_round" = yes; then
36588 echo "$as_me:$LINENO: checking whether round is declared" >&5
36589 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36590 if test "${ac_cv_have_decl_round+set}" = set; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 else
36593 cat >conftest.$ac_ext <<_ACEOF
36594 /* confdefs.h. */
36595 _ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 #include <math.h>
36600
36601 int
36602 main ()
36603 {
36604 #ifndef round
36605 char *p = (char *) round;
36606 #endif
36607
36608 ;
36609 return 0;
36610 }
36611 _ACEOF
36612 rm -f conftest.$ac_objext
36613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36614 (eval $ac_compile) 2>conftest.er1
36615 ac_status=$?
36616 grep -v '^ *+' conftest.er1 >conftest.err
36617 rm -f conftest.er1
36618 cat conftest.err >&5
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); } &&
36621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36623 (eval $ac_try) 2>&5
36624 ac_status=$?
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); }; } &&
36627 { ac_try='test -s conftest.$ac_objext'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36630 ac_status=$?
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; }; then
36633 ac_cv_have_decl_round=yes
36634 else
36635 echo "$as_me: failed program was:" >&5
36636 sed 's/^/| /' conftest.$ac_ext >&5
36637
36638 ac_cv_have_decl_round=no
36639 fi
36640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36641 fi
36642 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36643 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36644 if test $ac_cv_have_decl_round = yes; then
36645
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE_DECL_ROUND 1
36648 _ACEOF
36649
36650
36651 else
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_DECL_ROUND 0
36654 _ACEOF
36655
36656
36657 fi
36658
36659
36660 fi
36661
36662
36663 if test "$TOOLKIT" != "MSW"; then
36664
36665
36666
36667
36668
36669 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36670 if test "${with_libiconv_prefix+set}" = set; then
36671 withval="$with_libiconv_prefix"
36672
36673 for dir in `echo "$withval" | tr : ' '`; do
36674 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36675 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36676 done
36677
36678 fi;
36679
36680 echo "$as_me:$LINENO: checking for iconv" >&5
36681 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36682 if test "${am_cv_func_iconv+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36684 else
36685
36686 am_cv_func_iconv="no, consider installing GNU libiconv"
36687 am_cv_lib_iconv=no
36688 cat >conftest.$ac_ext <<_ACEOF
36689 /* confdefs.h. */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h. */
36694 #include <stdlib.h>
36695 #include <iconv.h>
36696 int
36697 main ()
36698 {
36699 iconv_t cd = iconv_open("","");
36700 iconv(cd,NULL,NULL,NULL,NULL);
36701 iconv_close(cd);
36702 ;
36703 return 0;
36704 }
36705 _ACEOF
36706 rm -f conftest.$ac_objext conftest$ac_exeext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36708 (eval $ac_link) 2>conftest.er1
36709 ac_status=$?
36710 grep -v '^ *+' conftest.er1 >conftest.err
36711 rm -f conftest.er1
36712 cat conftest.err >&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36718 ac_status=$?
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; } &&
36721 { ac_try='test -s conftest$ac_exeext'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36724 ac_status=$?
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; }; then
36727 am_cv_func_iconv=yes
36728 else
36729 echo "$as_me: failed program was:" >&5
36730 sed 's/^/| /' conftest.$ac_ext >&5
36731
36732 fi
36733 rm -f conftest.err conftest.$ac_objext \
36734 conftest$ac_exeext conftest.$ac_ext
36735 if test "$am_cv_func_iconv" != yes; then
36736 am_save_LIBS="$LIBS"
36737 LIBS="$LIBS -liconv"
36738 cat >conftest.$ac_ext <<_ACEOF
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744 #include <stdlib.h>
36745 #include <iconv.h>
36746 int
36747 main ()
36748 {
36749 iconv_t cd = iconv_open("","");
36750 iconv(cd,NULL,NULL,NULL,NULL);
36751 iconv_close(cd);
36752 ;
36753 return 0;
36754 }
36755 _ACEOF
36756 rm -f conftest.$ac_objext conftest$ac_exeext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36758 (eval $ac_link) 2>conftest.er1
36759 ac_status=$?
36760 grep -v '^ *+' conftest.er1 >conftest.err
36761 rm -f conftest.er1
36762 cat conftest.err >&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36768 ac_status=$?
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; } &&
36771 { ac_try='test -s conftest$ac_exeext'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36774 ac_status=$?
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; }; then
36777 am_cv_lib_iconv=yes
36778 am_cv_func_iconv=yes
36779 else
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.$ac_ext >&5
36782
36783 fi
36784 rm -f conftest.err conftest.$ac_objext \
36785 conftest$ac_exeext conftest.$ac_ext
36786 LIBS="$am_save_LIBS"
36787 fi
36788
36789 fi
36790 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36791 echo "${ECHO_T}$am_cv_func_iconv" >&6
36792 if test "$am_cv_func_iconv" = yes; then
36793
36794 cat >>confdefs.h <<\_ACEOF
36795 #define HAVE_ICONV 1
36796 _ACEOF
36797
36798 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36799 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36800 if test "${wx_cv_func_iconv_const+set}" = set; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36802 else
36803 cat >conftest.$ac_ext <<_ACEOF
36804 /* confdefs.h. */
36805 _ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809
36810 #include <stdlib.h>
36811 #include <iconv.h>
36812 extern
36813 #ifdef __cplusplus
36814 "C"
36815 #endif
36816 #if defined(__STDC__) || defined(__cplusplus)
36817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36818 #else
36819 size_t iconv();
36820 #endif
36821
36822 int
36823 main ()
36824 {
36825
36826 ;
36827 return 0;
36828 }
36829 _ACEOF
36830 rm -f conftest.$ac_objext
36831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36832 (eval $ac_compile) 2>conftest.er1
36833 ac_status=$?
36834 grep -v '^ *+' conftest.er1 >conftest.err
36835 rm -f conftest.er1
36836 cat conftest.err >&5
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); } &&
36839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36842 ac_status=$?
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; } &&
36845 { ac_try='test -s conftest.$ac_objext'
36846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36847 (eval $ac_try) 2>&5
36848 ac_status=$?
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); }; }; then
36851 wx_cv_func_iconv_const="no"
36852 else
36853 echo "$as_me: failed program was:" >&5
36854 sed 's/^/| /' conftest.$ac_ext >&5
36855
36856 wx_cv_func_iconv_const="yes"
36857
36858 fi
36859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36860
36861 fi
36862 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36863 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36864
36865 iconv_const=
36866 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36867 iconv_const="const"
36868 fi
36869
36870
36871 cat >>confdefs.h <<_ACEOF
36872 #define ICONV_CONST $iconv_const
36873 _ACEOF
36874
36875 fi
36876 LIBICONV=
36877 if test "$am_cv_lib_iconv" = yes; then
36878 LIBICONV="-liconv"
36879 fi
36880
36881
36882 LIBS="$LIBICONV $LIBS"
36883
36884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36885
36886 for ac_func in sigaction
36887 do
36888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36889 echo "$as_me:$LINENO: checking for $ac_func" >&5
36890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36891 if eval "test \"\${$as_ac_var+set}\" = set"; then
36892 echo $ECHO_N "(cached) $ECHO_C" >&6
36893 else
36894 cat >conftest.$ac_ext <<_ACEOF
36895 /* confdefs.h. */
36896 _ACEOF
36897 cat confdefs.h >>conftest.$ac_ext
36898 cat >>conftest.$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36902 #define $ac_func innocuous_$ac_func
36903
36904 /* System header to define __stub macros and hopefully few prototypes,
36905 which can conflict with char $ac_func (); below.
36906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36907 <limits.h> exists even on freestanding compilers. */
36908
36909 #ifdef __STDC__
36910 # include <limits.h>
36911 #else
36912 # include <assert.h>
36913 #endif
36914
36915 #undef $ac_func
36916
36917 /* Override any gcc2 internal prototype to avoid an error. */
36918 #ifdef __cplusplus
36919 extern "C"
36920 {
36921 #endif
36922 /* We use char because int might match the return type of a gcc2
36923 builtin and then its argument prototype would still apply. */
36924 char $ac_func ();
36925 /* The GNU C library defines this for functions which it implements
36926 to always fail with ENOSYS. Some functions are actually named
36927 something starting with __ and the normal name is an alias. */
36928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36929 choke me
36930 #else
36931 char (*f) () = $ac_func;
36932 #endif
36933 #ifdef __cplusplus
36934 }
36935 #endif
36936
36937 int
36938 main ()
36939 {
36940 return f != $ac_func;
36941 ;
36942 return 0;
36943 }
36944 _ACEOF
36945 rm -f conftest.$ac_objext conftest$ac_exeext
36946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36947 (eval $ac_link) 2>conftest.er1
36948 ac_status=$?
36949 grep -v '^ *+' conftest.er1 >conftest.err
36950 rm -f conftest.er1
36951 cat conftest.err >&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } &&
36954 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36957 ac_status=$?
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; } &&
36960 { ac_try='test -s conftest$ac_exeext'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36963 ac_status=$?
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; }; then
36966 eval "$as_ac_var=yes"
36967 else
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.$ac_ext >&5
36970
36971 eval "$as_ac_var=no"
36972 fi
36973 rm -f conftest.err conftest.$ac_objext \
36974 conftest$ac_exeext conftest.$ac_ext
36975 fi
36976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36978 if test `eval echo '${'$as_ac_var'}'` = yes; then
36979 cat >>confdefs.h <<_ACEOF
36980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36981 _ACEOF
36982
36983 fi
36984 done
36985
36986
36987 if test "$ac_cv_func_sigaction" = "no"; then
36988 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36989 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36990 wxUSE_ON_FATAL_EXCEPTION=no
36991 fi
36992
36993 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36994 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36995 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36996 if test "${wx_cv_type_sa_handler+set}" = set; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
36998 else
36999
37000 cat >conftest.$ac_ext <<_ACEOF
37001 /* confdefs.h. */
37002 _ACEOF
37003 cat confdefs.h >>conftest.$ac_ext
37004 cat >>conftest.$ac_ext <<_ACEOF
37005 /* end confdefs.h. */
37006 #include <signal.h>
37007 int
37008 main ()
37009 {
37010
37011 extern void testSigHandler(int);
37012
37013 struct sigaction sa;
37014 sa.sa_handler = testSigHandler;
37015
37016 ;
37017 return 0;
37018 }
37019 _ACEOF
37020 rm -f conftest.$ac_objext
37021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37022 (eval $ac_compile) 2>conftest.er1
37023 ac_status=$?
37024 grep -v '^ *+' conftest.er1 >conftest.err
37025 rm -f conftest.er1
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } &&
37029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37031 (eval $ac_try) 2>&5
37032 ac_status=$?
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); }; } &&
37035 { ac_try='test -s conftest.$ac_objext'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; }; then
37041
37042 wx_cv_type_sa_handler=int
37043
37044 else
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.$ac_ext >&5
37047
37048
37049 wx_cv_type_sa_handler=void
37050
37051 fi
37052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37053
37054 fi
37055 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37056 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37057
37058 cat >>confdefs.h <<_ACEOF
37059 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37060 _ACEOF
37061
37062 fi
37063 fi
37064
37065 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37066 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37067 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37068 if test "${wx_cv_func_backtrace+set}" = set; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071
37072 cat >conftest.$ac_ext <<_ACEOF
37073 /* confdefs.h. */
37074 _ACEOF
37075 cat confdefs.h >>conftest.$ac_ext
37076 cat >>conftest.$ac_ext <<_ACEOF
37077 /* end confdefs.h. */
37078 #include <execinfo.h>
37079 int
37080 main ()
37081 {
37082
37083 void *trace[1];
37084 char **messages;
37085
37086 backtrace(trace, 1);
37087 messages = backtrace_symbols(trace, 1);
37088
37089 ;
37090 return 0;
37091 }
37092 _ACEOF
37093 rm -f conftest.$ac_objext
37094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37095 (eval $ac_compile) 2>conftest.er1
37096 ac_status=$?
37097 grep -v '^ *+' conftest.er1 >conftest.err
37098 rm -f conftest.er1
37099 cat conftest.err >&5
37100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101 (exit $ac_status); } &&
37102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104 (eval $ac_try) 2>&5
37105 ac_status=$?
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); }; } &&
37108 { ac_try='test -s conftest.$ac_objext'
37109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37110 (eval $ac_try) 2>&5
37111 ac_status=$?
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); }; }; then
37114 wx_cv_func_backtrace=yes
37115 else
37116 echo "$as_me: failed program was:" >&5
37117 sed 's/^/| /' conftest.$ac_ext >&5
37118
37119 wx_cv_func_backtrace=no
37120
37121 fi
37122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37123
37124
37125 fi
37126 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37127 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37128
37129
37130 if test "$wx_cv_func_backtrace" = "no"; then
37131 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37132 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37133 wxUSE_STACKWALKER=no
37134 else
37135 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37136 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37137 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37138 echo $ECHO_N "(cached) $ECHO_C" >&6
37139 else
37140
37141 cat >conftest.$ac_ext <<_ACEOF
37142 /* confdefs.h. */
37143 _ACEOF
37144 cat confdefs.h >>conftest.$ac_ext
37145 cat >>conftest.$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37147 #include <cxxabi.h>
37148 int
37149 main ()
37150 {
37151
37152 int rc;
37153 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37154
37155 ;
37156 return 0;
37157 }
37158 _ACEOF
37159 rm -f conftest.$ac_objext conftest$ac_exeext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37161 (eval $ac_link) 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37171 ac_status=$?
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; } &&
37174 { ac_try='test -s conftest$ac_exeext'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; }; then
37180 wx_cv_func_cxa_demangle=yes
37181 else
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.$ac_ext >&5
37184
37185 wx_cv_func_cxa_demangle=no
37186
37187 fi
37188 rm -f conftest.err conftest.$ac_objext \
37189 conftest$ac_exeext conftest.$ac_ext
37190
37191
37192 fi
37193 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37194 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37195
37196 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37197 cat >>confdefs.h <<\_ACEOF
37198 #define HAVE_CXA_DEMANGLE 1
37199 _ACEOF
37200
37201 fi
37202 fi
37203 fi
37204
37205 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37206 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37207 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37208 wxUSE_STACKWALKER=no
37209 fi
37210
37211
37212
37213
37214 for ac_func in mkstemp mktemp
37215 do
37216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37219 if eval "test \"\${$as_ac_var+set}\" = set"; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37230 #define $ac_func innocuous_$ac_func
37231
37232 /* System header to define __stub macros and hopefully few prototypes,
37233 which can conflict with char $ac_func (); below.
37234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235 <limits.h> exists even on freestanding compilers. */
37236
37237 #ifdef __STDC__
37238 # include <limits.h>
37239 #else
37240 # include <assert.h>
37241 #endif
37242
37243 #undef $ac_func
37244
37245 /* Override any gcc2 internal prototype to avoid an error. */
37246 #ifdef __cplusplus
37247 extern "C"
37248 {
37249 #endif
37250 /* We use char because int might match the return type of a gcc2
37251 builtin and then its argument prototype would still apply. */
37252 char $ac_func ();
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37257 choke me
37258 #else
37259 char (*f) () = $ac_func;
37260 #endif
37261 #ifdef __cplusplus
37262 }
37263 #endif
37264
37265 int
37266 main ()
37267 {
37268 return f != $ac_func;
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 rm -f conftest.$ac_objext conftest$ac_exeext
37274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37275 (eval $ac_link) 2>conftest.er1
37276 ac_status=$?
37277 grep -v '^ *+' conftest.er1 >conftest.err
37278 rm -f conftest.er1
37279 cat conftest.err >&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } &&
37282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284 (eval $ac_try) 2>&5
37285 ac_status=$?
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; } &&
37288 { ac_try='test -s conftest$ac_exeext'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37291 ac_status=$?
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; }; then
37294 eval "$as_ac_var=yes"
37295 else
37296 echo "$as_me: failed program was:" >&5
37297 sed 's/^/| /' conftest.$ac_ext >&5
37298
37299 eval "$as_ac_var=no"
37300 fi
37301 rm -f conftest.err conftest.$ac_objext \
37302 conftest$ac_exeext conftest.$ac_ext
37303 fi
37304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h <<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37309 _ACEOF
37310 break
37311 fi
37312 done
37313
37314
37315 echo "$as_me:$LINENO: checking for statfs" >&5
37316 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37317 if test "${wx_cv_func_statfs+set}" = set; then
37318 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 else
37320 cat >conftest.$ac_ext <<_ACEOF
37321 /* confdefs.h. */
37322 _ACEOF
37323 cat confdefs.h >>conftest.$ac_ext
37324 cat >>conftest.$ac_ext <<_ACEOF
37325 /* end confdefs.h. */
37326
37327 #if defined(__BSD__)
37328 #include <sys/param.h>
37329 #include <sys/mount.h>
37330 #else
37331 #include <sys/vfs.h>
37332 #endif
37333
37334 int
37335 main ()
37336 {
37337
37338 long l;
37339 struct statfs fs;
37340 statfs("/", &fs);
37341 l = fs.f_bsize;
37342 l += fs.f_blocks;
37343 l += fs.f_bavail;
37344
37345 ;
37346 return 0;
37347 }
37348 _ACEOF
37349 rm -f conftest.$ac_objext
37350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37351 (eval $ac_compile) 2>conftest.er1
37352 ac_status=$?
37353 grep -v '^ *+' conftest.er1 >conftest.err
37354 rm -f conftest.er1
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } &&
37358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try='test -s conftest.$ac_objext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 wx_cv_func_statfs=yes
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37374
37375 wx_cv_func_statfs=no
37376
37377 fi
37378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37379
37380 fi
37381 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37382 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37383
37384 if test "$wx_cv_func_statfs" = "yes"; then
37385 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37386 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37387 if test "${wx_cv_func_statfs_decl+set}" = set; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 else
37390 cat >conftest.$ac_ext <<_ACEOF
37391 /* confdefs.h. */
37392 _ACEOF
37393 cat confdefs.h >>conftest.$ac_ext
37394 cat >>conftest.$ac_ext <<_ACEOF
37395 /* end confdefs.h. */
37396
37397 #if defined(__BSD__)
37398 #include <sys/param.h>
37399 #include <sys/mount.h>
37400 #else
37401 #include <sys/vfs.h>
37402 #endif
37403
37404 int
37405 main ()
37406 {
37407
37408 struct statfs fs;
37409 statfs("", &fs);
37410
37411 ;
37412 return 0;
37413 }
37414 _ACEOF
37415 rm -f conftest.$ac_objext
37416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37417 (eval $ac_compile) 2>conftest.er1
37418 ac_status=$?
37419 grep -v '^ *+' conftest.er1 >conftest.err
37420 rm -f conftest.er1
37421 cat conftest.err >&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); } &&
37424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37426 (eval $ac_try) 2>&5
37427 ac_status=$?
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); }; } &&
37430 { ac_try='test -s conftest.$ac_objext'
37431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432 (eval $ac_try) 2>&5
37433 ac_status=$?
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); }; }; then
37436 wx_cv_func_statfs_decl=yes
37437 else
37438 echo "$as_me: failed program was:" >&5
37439 sed 's/^/| /' conftest.$ac_ext >&5
37440
37441 wx_cv_func_statfs_decl=no
37442
37443 fi
37444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37445
37446 fi
37447 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37448 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37449
37450 if test "$wx_cv_func_statfs_decl" = "yes"; then
37451 cat >>confdefs.h <<\_ACEOF
37452 #define HAVE_STATFS_DECL 1
37453 _ACEOF
37454
37455 fi
37456
37457 wx_cv_type_statvfs_t="struct statfs"
37458 cat >>confdefs.h <<\_ACEOF
37459 #define HAVE_STATFS 1
37460 _ACEOF
37461
37462 else
37463 echo "$as_me:$LINENO: checking for statvfs" >&5
37464 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37465 if test "${wx_cv_func_statvfs+set}" = set; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37467 else
37468 cat >conftest.$ac_ext <<_ACEOF
37469 /* confdefs.h. */
37470 _ACEOF
37471 cat confdefs.h >>conftest.$ac_ext
37472 cat >>conftest.$ac_ext <<_ACEOF
37473 /* end confdefs.h. */
37474
37475 #include <stddef.h>
37476 #include <sys/statvfs.h>
37477
37478 int
37479 main ()
37480 {
37481
37482 statvfs("/", NULL);
37483
37484 ;
37485 return 0;
37486 }
37487 _ACEOF
37488 rm -f conftest.$ac_objext
37489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37490 (eval $ac_compile) 2>conftest.er1
37491 ac_status=$?
37492 grep -v '^ *+' conftest.er1 >conftest.err
37493 rm -f conftest.er1
37494 cat conftest.err >&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } &&
37497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37499 (eval $ac_try) 2>&5
37500 ac_status=$?
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); }; } &&
37503 { ac_try='test -s conftest.$ac_objext'
37504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505 (eval $ac_try) 2>&5
37506 ac_status=$?
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); }; }; then
37509 wx_cv_func_statvfs=yes
37510 else
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.$ac_ext >&5
37513
37514 wx_cv_func_statvfs=no
37515
37516 fi
37517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37518
37519 fi
37520 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37521 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37522
37523 if test "$wx_cv_func_statvfs" = "yes"; then
37524 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37525 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37526 if test "${wx_cv_type_statvfs_t+set}" = set; then
37527 echo $ECHO_N "(cached) $ECHO_C" >&6
37528 else
37529 cat >conftest.$ac_ext <<_ACEOF
37530 /* confdefs.h. */
37531 _ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535
37536 #include <sys/statvfs.h>
37537
37538 int
37539 main ()
37540 {
37541
37542 long l;
37543 statvfs_t fs;
37544 statvfs("/", &fs);
37545 l = fs.f_bsize;
37546 l += fs.f_blocks;
37547 l += fs.f_bavail;
37548
37549 ;
37550 return 0;
37551 }
37552 _ACEOF
37553 rm -f conftest.$ac_objext
37554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37555 (eval $ac_compile) 2>conftest.er1
37556 ac_status=$?
37557 grep -v '^ *+' conftest.er1 >conftest.err
37558 rm -f conftest.er1
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } &&
37562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37565 ac_status=$?
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try='test -s conftest.$ac_objext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37571 ac_status=$?
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 wx_cv_type_statvfs_t=statvfs_t
37575 else
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37578
37579
37580 cat >conftest.$ac_ext <<_ACEOF
37581 /* confdefs.h. */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37586
37587 #include <sys/statvfs.h>
37588
37589 int
37590 main ()
37591 {
37592
37593 long l;
37594 struct statvfs fs;
37595 statvfs("/", &fs);
37596 l = fs.f_bsize;
37597 l += fs.f_blocks;
37598 l += fs.f_bavail;
37599
37600 ;
37601 return 0;
37602 }
37603 _ACEOF
37604 rm -f conftest.$ac_objext
37605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37606 (eval $ac_compile) 2>conftest.er1
37607 ac_status=$?
37608 grep -v '^ *+' conftest.er1 >conftest.err
37609 rm -f conftest.er1
37610 cat conftest.err >&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); } &&
37613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615 (eval $ac_try) 2>&5
37616 ac_status=$?
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); }; } &&
37619 { ac_try='test -s conftest.$ac_objext'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37622 ac_status=$?
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; }; then
37625 wx_cv_type_statvfs_t="struct statvfs"
37626 else
37627 echo "$as_me: failed program was:" >&5
37628 sed 's/^/| /' conftest.$ac_ext >&5
37629
37630 wx_cv_type_statvfs_t="unknown"
37631
37632 fi
37633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37634
37635
37636 fi
37637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37638
37639 fi
37640 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37641 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37642
37643 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37644 cat >>confdefs.h <<\_ACEOF
37645 #define HAVE_STATVFS 1
37646 _ACEOF
37647
37648 fi
37649 else
37650 wx_cv_type_statvfs_t="unknown"
37651 fi
37652 fi
37653
37654 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37655 cat >>confdefs.h <<_ACEOF
37656 #define WX_STATFS_T $wx_cv_type_statvfs_t
37657 _ACEOF
37658
37659 else
37660 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37661 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37662 fi
37663
37664 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37665
37666
37667 for ac_func in fcntl flock
37668 do
37669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37670 echo "$as_me:$LINENO: checking for $ac_func" >&5
37671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37672 if eval "test \"\${$as_ac_var+set}\" = set"; then
37673 echo $ECHO_N "(cached) $ECHO_C" >&6
37674 else
37675 cat >conftest.$ac_ext <<_ACEOF
37676 /* confdefs.h. */
37677 _ACEOF
37678 cat confdefs.h >>conftest.$ac_ext
37679 cat >>conftest.$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37683 #define $ac_func innocuous_$ac_func
37684
37685 /* System header to define __stub macros and hopefully few prototypes,
37686 which can conflict with char $ac_func (); below.
37687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37688 <limits.h> exists even on freestanding compilers. */
37689
37690 #ifdef __STDC__
37691 # include <limits.h>
37692 #else
37693 # include <assert.h>
37694 #endif
37695
37696 #undef $ac_func
37697
37698 /* Override any gcc2 internal prototype to avoid an error. */
37699 #ifdef __cplusplus
37700 extern "C"
37701 {
37702 #endif
37703 /* We use char because int might match the return type of a gcc2
37704 builtin and then its argument prototype would still apply. */
37705 char $ac_func ();
37706 /* The GNU C library defines this for functions which it implements
37707 to always fail with ENOSYS. Some functions are actually named
37708 something starting with __ and the normal name is an alias. */
37709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37710 choke me
37711 #else
37712 char (*f) () = $ac_func;
37713 #endif
37714 #ifdef __cplusplus
37715 }
37716 #endif
37717
37718 int
37719 main ()
37720 {
37721 return f != $ac_func;
37722 ;
37723 return 0;
37724 }
37725 _ACEOF
37726 rm -f conftest.$ac_objext conftest$ac_exeext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37728 (eval $ac_link) 2>conftest.er1
37729 ac_status=$?
37730 grep -v '^ *+' conftest.er1 >conftest.err
37731 rm -f conftest.er1
37732 cat conftest.err >&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37737 (eval $ac_try) 2>&5
37738 ac_status=$?
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); }; } &&
37741 { ac_try='test -s conftest$ac_exeext'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37744 ac_status=$?
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; }; then
37747 eval "$as_ac_var=yes"
37748 else
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.$ac_ext >&5
37751
37752 eval "$as_ac_var=no"
37753 fi
37754 rm -f conftest.err conftest.$ac_objext \
37755 conftest$ac_exeext conftest.$ac_ext
37756 fi
37757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37759 if test `eval echo '${'$as_ac_var'}'` = yes; then
37760 cat >>confdefs.h <<_ACEOF
37761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37762 _ACEOF
37763 break
37764 fi
37765 done
37766
37767
37768 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37769 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37770 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37771 wxUSE_SNGLINST_CHECKER=no
37772 fi
37773 fi
37774
37775
37776 for ac_func in timegm
37777 do
37778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37779 echo "$as_me:$LINENO: checking for $ac_func" >&5
37780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37781 if eval "test \"\${$as_ac_var+set}\" = set"; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 else
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37792 #define $ac_func innocuous_$ac_func
37793
37794 /* System header to define __stub macros and hopefully few prototypes,
37795 which can conflict with char $ac_func (); below.
37796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37797 <limits.h> exists even on freestanding compilers. */
37798
37799 #ifdef __STDC__
37800 # include <limits.h>
37801 #else
37802 # include <assert.h>
37803 #endif
37804
37805 #undef $ac_func
37806
37807 /* Override any gcc2 internal prototype to avoid an error. */
37808 #ifdef __cplusplus
37809 extern "C"
37810 {
37811 #endif
37812 /* We use char because int might match the return type of a gcc2
37813 builtin and then its argument prototype would still apply. */
37814 char $ac_func ();
37815 /* The GNU C library defines this for functions which it implements
37816 to always fail with ENOSYS. Some functions are actually named
37817 something starting with __ and the normal name is an alias. */
37818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37819 choke me
37820 #else
37821 char (*f) () = $ac_func;
37822 #endif
37823 #ifdef __cplusplus
37824 }
37825 #endif
37826
37827 int
37828 main ()
37829 {
37830 return f != $ac_func;
37831 ;
37832 return 0;
37833 }
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37838 ac_status=$?
37839 grep -v '^ *+' conftest.er1 >conftest.err
37840 rm -f conftest.er1
37841 cat conftest.err >&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37846 (eval $ac_try) 2>&5
37847 ac_status=$?
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); }; } &&
37850 { ac_try='test -s conftest$ac_exeext'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37853 ac_status=$?
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; }; then
37856 eval "$as_ac_var=yes"
37857 else
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37860
37861 eval "$as_ac_var=no"
37862 fi
37863 rm -f conftest.err conftest.$ac_objext \
37864 conftest$ac_exeext conftest.$ac_ext
37865 fi
37866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37868 if test `eval echo '${'$as_ac_var'}'` = yes; then
37869 cat >>confdefs.h <<_ACEOF
37870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37871 _ACEOF
37872
37873 fi
37874 done
37875
37876
37877
37878
37879 for ac_func in putenv setenv
37880 do
37881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37882 echo "$as_me:$LINENO: checking for $ac_func" >&5
37883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37884 if eval "test \"\${$as_ac_var+set}\" = set"; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 else
37887 cat >conftest.$ac_ext <<_ACEOF
37888 /* confdefs.h. */
37889 _ACEOF
37890 cat confdefs.h >>conftest.$ac_ext
37891 cat >>conftest.$ac_ext <<_ACEOF
37892 /* end confdefs.h. */
37893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37895 #define $ac_func innocuous_$ac_func
37896
37897 /* System header to define __stub macros and hopefully few prototypes,
37898 which can conflict with char $ac_func (); below.
37899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37900 <limits.h> exists even on freestanding compilers. */
37901
37902 #ifdef __STDC__
37903 # include <limits.h>
37904 #else
37905 # include <assert.h>
37906 #endif
37907
37908 #undef $ac_func
37909
37910 /* Override any gcc2 internal prototype to avoid an error. */
37911 #ifdef __cplusplus
37912 extern "C"
37913 {
37914 #endif
37915 /* We use char because int might match the return type of a gcc2
37916 builtin and then its argument prototype would still apply. */
37917 char $ac_func ();
37918 /* The GNU C library defines this for functions which it implements
37919 to always fail with ENOSYS. Some functions are actually named
37920 something starting with __ and the normal name is an alias. */
37921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37922 choke me
37923 #else
37924 char (*f) () = $ac_func;
37925 #endif
37926 #ifdef __cplusplus
37927 }
37928 #endif
37929
37930 int
37931 main ()
37932 {
37933 return f != $ac_func;
37934 ;
37935 return 0;
37936 }
37937 _ACEOF
37938 rm -f conftest.$ac_objext conftest$ac_exeext
37939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37940 (eval $ac_link) 2>conftest.er1
37941 ac_status=$?
37942 grep -v '^ *+' conftest.er1 >conftest.err
37943 rm -f conftest.er1
37944 cat conftest.err >&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } &&
37947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37949 (eval $ac_try) 2>&5
37950 ac_status=$?
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); }; } &&
37953 { ac_try='test -s conftest$ac_exeext'
37954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37955 (eval $ac_try) 2>&5
37956 ac_status=$?
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; }; then
37959 eval "$as_ac_var=yes"
37960 else
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37963
37964 eval "$as_ac_var=no"
37965 fi
37966 rm -f conftest.err conftest.$ac_objext \
37967 conftest$ac_exeext conftest.$ac_ext
37968 fi
37969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37971 if test `eval echo '${'$as_ac_var'}'` = yes; then
37972 cat >>confdefs.h <<_ACEOF
37973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37974 _ACEOF
37975 break
37976 fi
37977 done
37978
37979
37980 HAVE_SOME_SLEEP_FUNC=0
37981 if test "$USE_BEOS" = 1; then
37982 cat >>confdefs.h <<\_ACEOF
37983 #define HAVE_SLEEP 1
37984 _ACEOF
37985
37986 HAVE_SOME_SLEEP_FUNC=1
37987 fi
37988
37989 if test "$USE_DARWIN" = 1; then
37990 cat >>confdefs.h <<\_ACEOF
37991 #define HAVE_USLEEP 1
37992 _ACEOF
37993
37994 HAVE_SOME_SLEEP_FUNC=1
37995 fi
37996
37997 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37998 POSIX4_LINK=
37999
38000 for ac_func in nanosleep
38001 do
38002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38003 echo "$as_me:$LINENO: checking for $ac_func" >&5
38004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38005 if eval "test \"\${$as_ac_var+set}\" = set"; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008 cat >conftest.$ac_ext <<_ACEOF
38009 /* confdefs.h. */
38010 _ACEOF
38011 cat confdefs.h >>conftest.$ac_ext
38012 cat >>conftest.$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38016 #define $ac_func innocuous_$ac_func
38017
38018 /* System header to define __stub macros and hopefully few prototypes,
38019 which can conflict with char $ac_func (); below.
38020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38021 <limits.h> exists even on freestanding compilers. */
38022
38023 #ifdef __STDC__
38024 # include <limits.h>
38025 #else
38026 # include <assert.h>
38027 #endif
38028
38029 #undef $ac_func
38030
38031 /* Override any gcc2 internal prototype to avoid an error. */
38032 #ifdef __cplusplus
38033 extern "C"
38034 {
38035 #endif
38036 /* We use char because int might match the return type of a gcc2
38037 builtin and then its argument prototype would still apply. */
38038 char $ac_func ();
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38043 choke me
38044 #else
38045 char (*f) () = $ac_func;
38046 #endif
38047 #ifdef __cplusplus
38048 }
38049 #endif
38050
38051 int
38052 main ()
38053 {
38054 return f != $ac_func;
38055 ;
38056 return 0;
38057 }
38058 _ACEOF
38059 rm -f conftest.$ac_objext conftest$ac_exeext
38060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38061 (eval $ac_link) 2>conftest.er1
38062 ac_status=$?
38063 grep -v '^ *+' conftest.er1 >conftest.err
38064 rm -f conftest.er1
38065 cat conftest.err >&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } &&
38068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38071 ac_status=$?
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; } &&
38074 { ac_try='test -s conftest$ac_exeext'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38077 ac_status=$?
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 eval "$as_ac_var=yes"
38081 else
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38084
38085 eval "$as_ac_var=no"
38086 fi
38087 rm -f conftest.err conftest.$ac_objext \
38088 conftest$ac_exeext conftest.$ac_ext
38089 fi
38090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38092 if test `eval echo '${'$as_ac_var'}'` = yes; then
38093 cat >>confdefs.h <<_ACEOF
38094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38095 _ACEOF
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_NANOSLEEP 1
38098 _ACEOF
38099
38100 else
38101
38102 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38103 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38104 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38106 else
38107 ac_check_lib_save_LIBS=$LIBS
38108 LIBS="-lposix4 $LIBS"
38109 cat >conftest.$ac_ext <<_ACEOF
38110 /* confdefs.h. */
38111 _ACEOF
38112 cat confdefs.h >>conftest.$ac_ext
38113 cat >>conftest.$ac_ext <<_ACEOF
38114 /* end confdefs.h. */
38115
38116 /* Override any gcc2 internal prototype to avoid an error. */
38117 #ifdef __cplusplus
38118 extern "C"
38119 #endif
38120 /* We use char because int might match the return type of a gcc2
38121 builtin and then its argument prototype would still apply. */
38122 char nanosleep ();
38123 int
38124 main ()
38125 {
38126 nanosleep ();
38127 ;
38128 return 0;
38129 }
38130 _ACEOF
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38133 (eval $ac_link) 2>conftest.er1
38134 ac_status=$?
38135 grep -v '^ *+' conftest.er1 >conftest.err
38136 rm -f conftest.er1
38137 cat conftest.err >&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } &&
38140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38142 (eval $ac_try) 2>&5
38143 ac_status=$?
38144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145 (exit $ac_status); }; } &&
38146 { ac_try='test -s conftest$ac_exeext'
38147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38148 (eval $ac_try) 2>&5
38149 ac_status=$?
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); }; }; then
38152 ac_cv_lib_posix4_nanosleep=yes
38153 else
38154 echo "$as_me: failed program was:" >&5
38155 sed 's/^/| /' conftest.$ac_ext >&5
38156
38157 ac_cv_lib_posix4_nanosleep=no
38158 fi
38159 rm -f conftest.err conftest.$ac_objext \
38160 conftest$ac_exeext conftest.$ac_ext
38161 LIBS=$ac_check_lib_save_LIBS
38162 fi
38163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38164 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38165 if test $ac_cv_lib_posix4_nanosleep = yes; then
38166
38167 cat >>confdefs.h <<\_ACEOF
38168 #define HAVE_NANOSLEEP 1
38169 _ACEOF
38170
38171 POSIX4_LINK=" -lposix4"
38172
38173 else
38174
38175
38176 for ac_func in usleep
38177 do
38178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38179 echo "$as_me:$LINENO: checking for $ac_func" >&5
38180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38181 if eval "test \"\${$as_ac_var+set}\" = set"; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38183 else
38184 cat >conftest.$ac_ext <<_ACEOF
38185 /* confdefs.h. */
38186 _ACEOF
38187 cat confdefs.h >>conftest.$ac_ext
38188 cat >>conftest.$ac_ext <<_ACEOF
38189 /* end confdefs.h. */
38190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38192 #define $ac_func innocuous_$ac_func
38193
38194 /* System header to define __stub macros and hopefully few prototypes,
38195 which can conflict with char $ac_func (); below.
38196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38197 <limits.h> exists even on freestanding compilers. */
38198
38199 #ifdef __STDC__
38200 # include <limits.h>
38201 #else
38202 # include <assert.h>
38203 #endif
38204
38205 #undef $ac_func
38206
38207 /* Override any gcc2 internal prototype to avoid an error. */
38208 #ifdef __cplusplus
38209 extern "C"
38210 {
38211 #endif
38212 /* We use char because int might match the return type of a gcc2
38213 builtin and then its argument prototype would still apply. */
38214 char $ac_func ();
38215 /* The GNU C library defines this for functions which it implements
38216 to always fail with ENOSYS. Some functions are actually named
38217 something starting with __ and the normal name is an alias. */
38218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38219 choke me
38220 #else
38221 char (*f) () = $ac_func;
38222 #endif
38223 #ifdef __cplusplus
38224 }
38225 #endif
38226
38227 int
38228 main ()
38229 {
38230 return f != $ac_func;
38231 ;
38232 return 0;
38233 }
38234 _ACEOF
38235 rm -f conftest.$ac_objext conftest$ac_exeext
38236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38237 (eval $ac_link) 2>conftest.er1
38238 ac_status=$?
38239 grep -v '^ *+' conftest.er1 >conftest.err
38240 rm -f conftest.er1
38241 cat conftest.err >&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } &&
38244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38246 (eval $ac_try) 2>&5
38247 ac_status=$?
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); }; } &&
38250 { ac_try='test -s conftest$ac_exeext'
38251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38252 (eval $ac_try) 2>&5
38253 ac_status=$?
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); }; }; then
38256 eval "$as_ac_var=yes"
38257 else
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38260
38261 eval "$as_ac_var=no"
38262 fi
38263 rm -f conftest.err conftest.$ac_objext \
38264 conftest$ac_exeext conftest.$ac_ext
38265 fi
38266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38268 if test `eval echo '${'$as_ac_var'}'` = yes; then
38269 cat >>confdefs.h <<_ACEOF
38270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38271 _ACEOF
38272 cat >>confdefs.h <<\_ACEOF
38273 #define HAVE_USLEEP 1
38274 _ACEOF
38275
38276 else
38277 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38278 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38279
38280 fi
38281 done
38282
38283
38284
38285 fi
38286
38287
38288
38289 fi
38290 done
38291
38292 fi
38293
38294
38295
38296 for ac_func in uname gethostname
38297 do
38298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38299 echo "$as_me:$LINENO: checking for $ac_func" >&5
38300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38301 if eval "test \"\${$as_ac_var+set}\" = set"; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 else
38304 cat >conftest.$ac_ext <<_ACEOF
38305 /* confdefs.h. */
38306 _ACEOF
38307 cat confdefs.h >>conftest.$ac_ext
38308 cat >>conftest.$ac_ext <<_ACEOF
38309 /* end confdefs.h. */
38310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38312 #define $ac_func innocuous_$ac_func
38313
38314 /* System header to define __stub macros and hopefully few prototypes,
38315 which can conflict with char $ac_func (); below.
38316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38317 <limits.h> exists even on freestanding compilers. */
38318
38319 #ifdef __STDC__
38320 # include <limits.h>
38321 #else
38322 # include <assert.h>
38323 #endif
38324
38325 #undef $ac_func
38326
38327 /* Override any gcc2 internal prototype to avoid an error. */
38328 #ifdef __cplusplus
38329 extern "C"
38330 {
38331 #endif
38332 /* We use char because int might match the return type of a gcc2
38333 builtin and then its argument prototype would still apply. */
38334 char $ac_func ();
38335 /* The GNU C library defines this for functions which it implements
38336 to always fail with ENOSYS. Some functions are actually named
38337 something starting with __ and the normal name is an alias. */
38338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38339 choke me
38340 #else
38341 char (*f) () = $ac_func;
38342 #endif
38343 #ifdef __cplusplus
38344 }
38345 #endif
38346
38347 int
38348 main ()
38349 {
38350 return f != $ac_func;
38351 ;
38352 return 0;
38353 }
38354 _ACEOF
38355 rm -f conftest.$ac_objext conftest$ac_exeext
38356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38357 (eval $ac_link) 2>conftest.er1
38358 ac_status=$?
38359 grep -v '^ *+' conftest.er1 >conftest.err
38360 rm -f conftest.er1
38361 cat conftest.err >&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } &&
38364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366 (eval $ac_try) 2>&5
38367 ac_status=$?
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); }; } &&
38370 { ac_try='test -s conftest$ac_exeext'
38371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372 (eval $ac_try) 2>&5
38373 ac_status=$?
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); }; }; then
38376 eval "$as_ac_var=yes"
38377 else
38378 echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.$ac_ext >&5
38380
38381 eval "$as_ac_var=no"
38382 fi
38383 rm -f conftest.err conftest.$ac_objext \
38384 conftest$ac_exeext conftest.$ac_ext
38385 fi
38386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38388 if test `eval echo '${'$as_ac_var'}'` = yes; then
38389 cat >>confdefs.h <<_ACEOF
38390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38391 _ACEOF
38392 break
38393 fi
38394 done
38395
38396
38397
38398 for wx_func in strtok_r
38399 do
38400 echo "$as_me:$LINENO: checking for $wx_func" >&5
38401 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38402 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38403 echo $ECHO_N "(cached) $ECHO_C" >&6
38404 else
38405
38406 cat >conftest.$ac_ext <<_ACEOF
38407
38408 /* confdefs.h. */
38409 _ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413
38414 #define _REENTRANT
38415 $ac_includes_default
38416
38417 int
38418 main ()
38419 {
38420
38421 #ifndef $wx_func
38422 &$wx_func;
38423 #endif
38424
38425
38426 ;
38427 return 0;
38428 }
38429
38430 _ACEOF
38431 rm -f conftest.$ac_objext conftest$ac_exeext
38432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38433 (eval $ac_link) 2>conftest.er1
38434 ac_status=$?
38435 grep -v '^ *+' conftest.er1 >conftest.err
38436 rm -f conftest.er1
38437 cat conftest.err >&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); } &&
38440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38442 (eval $ac_try) 2>&5
38443 ac_status=$?
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); }; } &&
38446 { ac_try='test -s conftest$ac_exeext'
38447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38448 (eval $ac_try) 2>&5
38449 ac_status=$?
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); }; }; then
38452 eval wx_cv_func_$wx_func=yes
38453 else
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.$ac_ext >&5
38456
38457 eval wx_cv_func_$wx_func=no
38458 fi
38459 rm -f conftest.err conftest.$ac_objext \
38460 conftest$ac_exeext conftest.$ac_ext
38461
38462 fi
38463 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38464 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38465
38466 if eval test \$wx_cv_func_$wx_func = yes
38467 then
38468 cat >>confdefs.h <<_ACEOF
38469 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38470 _ACEOF
38471
38472
38473 else
38474 :
38475
38476 fi
38477 done
38478
38479
38480 INET_LINK=
38481
38482 for ac_func in inet_addr
38483 do
38484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38485 echo "$as_me:$LINENO: checking for $ac_func" >&5
38486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38487 if eval "test \"\${$as_ac_var+set}\" = set"; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 else
38490 cat >conftest.$ac_ext <<_ACEOF
38491 /* confdefs.h. */
38492 _ACEOF
38493 cat confdefs.h >>conftest.$ac_ext
38494 cat >>conftest.$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38498 #define $ac_func innocuous_$ac_func
38499
38500 /* System header to define __stub macros and hopefully few prototypes,
38501 which can conflict with char $ac_func (); below.
38502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38503 <limits.h> exists even on freestanding compilers. */
38504
38505 #ifdef __STDC__
38506 # include <limits.h>
38507 #else
38508 # include <assert.h>
38509 #endif
38510
38511 #undef $ac_func
38512
38513 /* Override any gcc2 internal prototype to avoid an error. */
38514 #ifdef __cplusplus
38515 extern "C"
38516 {
38517 #endif
38518 /* We use char because int might match the return type of a gcc2
38519 builtin and then its argument prototype would still apply. */
38520 char $ac_func ();
38521 /* The GNU C library defines this for functions which it implements
38522 to always fail with ENOSYS. Some functions are actually named
38523 something starting with __ and the normal name is an alias. */
38524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38525 choke me
38526 #else
38527 char (*f) () = $ac_func;
38528 #endif
38529 #ifdef __cplusplus
38530 }
38531 #endif
38532
38533 int
38534 main ()
38535 {
38536 return f != $ac_func;
38537 ;
38538 return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext conftest$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38544 ac_status=$?
38545 grep -v '^ *+' conftest.er1 >conftest.err
38546 rm -f conftest.er1
38547 cat conftest.err >&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38553 ac_status=$?
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try='test -s conftest$ac_exeext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38559 ac_status=$?
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 eval "$as_ac_var=yes"
38563 else
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.$ac_ext >&5
38566
38567 eval "$as_ac_var=no"
38568 fi
38569 rm -f conftest.err conftest.$ac_objext \
38570 conftest$ac_exeext conftest.$ac_ext
38571 fi
38572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38574 if test `eval echo '${'$as_ac_var'}'` = yes; then
38575 cat >>confdefs.h <<_ACEOF
38576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38577 _ACEOF
38578 cat >>confdefs.h <<\_ACEOF
38579 #define HAVE_INET_ADDR 1
38580 _ACEOF
38581
38582 else
38583
38584 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38585 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38586 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38589 ac_check_lib_save_LIBS=$LIBS
38590 LIBS="-lnsl $LIBS"
38591 cat >conftest.$ac_ext <<_ACEOF
38592 /* confdefs.h. */
38593 _ACEOF
38594 cat confdefs.h >>conftest.$ac_ext
38595 cat >>conftest.$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38597
38598 /* Override any gcc2 internal prototype to avoid an error. */
38599 #ifdef __cplusplus
38600 extern "C"
38601 #endif
38602 /* We use char because int might match the return type of a gcc2
38603 builtin and then its argument prototype would still apply. */
38604 char inet_addr ();
38605 int
38606 main ()
38607 {
38608 inet_addr ();
38609 ;
38610 return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext conftest$ac_exeext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38615 (eval $ac_link) 2>conftest.er1
38616 ac_status=$?
38617 grep -v '^ *+' conftest.er1 >conftest.err
38618 rm -f conftest.er1
38619 cat conftest.err >&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } &&
38622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38624 (eval $ac_try) 2>&5
38625 ac_status=$?
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); }; } &&
38628 { ac_try='test -s conftest$ac_exeext'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38631 ac_status=$?
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; }; then
38634 ac_cv_lib_nsl_inet_addr=yes
38635 else
38636 echo "$as_me: failed program was:" >&5
38637 sed 's/^/| /' conftest.$ac_ext >&5
38638
38639 ac_cv_lib_nsl_inet_addr=no
38640 fi
38641 rm -f conftest.err conftest.$ac_objext \
38642 conftest$ac_exeext conftest.$ac_ext
38643 LIBS=$ac_check_lib_save_LIBS
38644 fi
38645 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38646 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38647 if test $ac_cv_lib_nsl_inet_addr = yes; then
38648 INET_LINK="nsl"
38649 else
38650
38651 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38652 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38653 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38655 else
38656 ac_check_lib_save_LIBS=$LIBS
38657 LIBS="-lresolv $LIBS"
38658 cat >conftest.$ac_ext <<_ACEOF
38659 /* confdefs.h. */
38660 _ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38664
38665 /* Override any gcc2 internal prototype to avoid an error. */
38666 #ifdef __cplusplus
38667 extern "C"
38668 #endif
38669 /* We use char because int might match the return type of a gcc2
38670 builtin and then its argument prototype would still apply. */
38671 char inet_addr ();
38672 int
38673 main ()
38674 {
38675 inet_addr ();
38676 ;
38677 return 0;
38678 }
38679 _ACEOF
38680 rm -f conftest.$ac_objext conftest$ac_exeext
38681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38682 (eval $ac_link) 2>conftest.er1
38683 ac_status=$?
38684 grep -v '^ *+' conftest.er1 >conftest.err
38685 rm -f conftest.er1
38686 cat conftest.err >&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); } &&
38689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38692 ac_status=$?
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; } &&
38695 { ac_try='test -s conftest$ac_exeext'
38696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38697 (eval $ac_try) 2>&5
38698 ac_status=$?
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); }; }; then
38701 ac_cv_lib_resolv_inet_addr=yes
38702 else
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38705
38706 ac_cv_lib_resolv_inet_addr=no
38707 fi
38708 rm -f conftest.err conftest.$ac_objext \
38709 conftest$ac_exeext conftest.$ac_ext
38710 LIBS=$ac_check_lib_save_LIBS
38711 fi
38712 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38713 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38714 if test $ac_cv_lib_resolv_inet_addr = yes; then
38715 INET_LINK="resolv"
38716 else
38717
38718 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38719 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38720 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 else
38723 ac_check_lib_save_LIBS=$LIBS
38724 LIBS="-lsocket $LIBS"
38725 cat >conftest.$ac_ext <<_ACEOF
38726 /* confdefs.h. */
38727 _ACEOF
38728 cat confdefs.h >>conftest.$ac_ext
38729 cat >>conftest.$ac_ext <<_ACEOF
38730 /* end confdefs.h. */
38731
38732 /* Override any gcc2 internal prototype to avoid an error. */
38733 #ifdef __cplusplus
38734 extern "C"
38735 #endif
38736 /* We use char because int might match the return type of a gcc2
38737 builtin and then its argument prototype would still apply. */
38738 char inet_addr ();
38739 int
38740 main ()
38741 {
38742 inet_addr ();
38743 ;
38744 return 0;
38745 }
38746 _ACEOF
38747 rm -f conftest.$ac_objext conftest$ac_exeext
38748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38749 (eval $ac_link) 2>conftest.er1
38750 ac_status=$?
38751 grep -v '^ *+' conftest.er1 >conftest.err
38752 rm -f conftest.er1
38753 cat conftest.err >&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } &&
38756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38759 ac_status=$?
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; } &&
38762 { ac_try='test -s conftest$ac_exeext'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38765 ac_status=$?
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; }; then
38768 ac_cv_lib_socket_inet_addr=yes
38769 else
38770 echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.$ac_ext >&5
38772
38773 ac_cv_lib_socket_inet_addr=no
38774 fi
38775 rm -f conftest.err conftest.$ac_objext \
38776 conftest$ac_exeext conftest.$ac_ext
38777 LIBS=$ac_check_lib_save_LIBS
38778 fi
38779 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38780 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38781 if test $ac_cv_lib_socket_inet_addr = yes; then
38782 INET_LINK="socket"
38783
38784 fi
38785
38786
38787
38788 fi
38789
38790
38791
38792 fi
38793
38794
38795
38796 fi
38797 done
38798
38799
38800
38801 for ac_func in inet_aton
38802 do
38803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38804 echo "$as_me:$LINENO: checking for $ac_func" >&5
38805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38806 if eval "test \"\${$as_ac_var+set}\" = set"; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 else
38809 cat >conftest.$ac_ext <<_ACEOF
38810 /* confdefs.h. */
38811 _ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38817 #define $ac_func innocuous_$ac_func
38818
38819 /* System header to define __stub macros and hopefully few prototypes,
38820 which can conflict with char $ac_func (); below.
38821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38822 <limits.h> exists even on freestanding compilers. */
38823
38824 #ifdef __STDC__
38825 # include <limits.h>
38826 #else
38827 # include <assert.h>
38828 #endif
38829
38830 #undef $ac_func
38831
38832 /* Override any gcc2 internal prototype to avoid an error. */
38833 #ifdef __cplusplus
38834 extern "C"
38835 {
38836 #endif
38837 /* We use char because int might match the return type of a gcc2
38838 builtin and then its argument prototype would still apply. */
38839 char $ac_func ();
38840 /* The GNU C library defines this for functions which it implements
38841 to always fail with ENOSYS. Some functions are actually named
38842 something starting with __ and the normal name is an alias. */
38843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38844 choke me
38845 #else
38846 char (*f) () = $ac_func;
38847 #endif
38848 #ifdef __cplusplus
38849 }
38850 #endif
38851
38852 int
38853 main ()
38854 {
38855 return f != $ac_func;
38856 ;
38857 return 0;
38858 }
38859 _ACEOF
38860 rm -f conftest.$ac_objext conftest$ac_exeext
38861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38862 (eval $ac_link) 2>conftest.er1
38863 ac_status=$?
38864 grep -v '^ *+' conftest.er1 >conftest.err
38865 rm -f conftest.er1
38866 cat conftest.err >&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } &&
38869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38871 (eval $ac_try) 2>&5
38872 ac_status=$?
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); }; } &&
38875 { ac_try='test -s conftest$ac_exeext'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38878 ac_status=$?
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; }; then
38881 eval "$as_ac_var=yes"
38882 else
38883 echo "$as_me: failed program was:" >&5
38884 sed 's/^/| /' conftest.$ac_ext >&5
38885
38886 eval "$as_ac_var=no"
38887 fi
38888 rm -f conftest.err conftest.$ac_objext \
38889 conftest$ac_exeext conftest.$ac_ext
38890 fi
38891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38893 if test `eval echo '${'$as_ac_var'}'` = yes; then
38894 cat >>confdefs.h <<_ACEOF
38895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38896 _ACEOF
38897 cat >>confdefs.h <<\_ACEOF
38898 #define HAVE_INET_ATON 1
38899 _ACEOF
38900
38901 else
38902
38903 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38904 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38905 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38906 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38908 else
38909 ac_check_lib_save_LIBS=$LIBS
38910 LIBS="-l$INET_LINK $LIBS"
38911 cat >conftest.$ac_ext <<_ACEOF
38912 /* confdefs.h. */
38913 _ACEOF
38914 cat confdefs.h >>conftest.$ac_ext
38915 cat >>conftest.$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38917
38918 /* Override any gcc2 internal prototype to avoid an error. */
38919 #ifdef __cplusplus
38920 extern "C"
38921 #endif
38922 /* We use char because int might match the return type of a gcc2
38923 builtin and then its argument prototype would still apply. */
38924 char inet_aton ();
38925 int
38926 main ()
38927 {
38928 inet_aton ();
38929 ;
38930 return 0;
38931 }
38932 _ACEOF
38933 rm -f conftest.$ac_objext conftest$ac_exeext
38934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38935 (eval $ac_link) 2>conftest.er1
38936 ac_status=$?
38937 grep -v '^ *+' conftest.er1 >conftest.err
38938 rm -f conftest.er1
38939 cat conftest.err >&5
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); } &&
38942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38944 (eval $ac_try) 2>&5
38945 ac_status=$?
38946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947 (exit $ac_status); }; } &&
38948 { ac_try='test -s conftest$ac_exeext'
38949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950 (eval $ac_try) 2>&5
38951 ac_status=$?
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); }; }; then
38954 eval "$as_ac_Lib=yes"
38955 else
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38958
38959 eval "$as_ac_Lib=no"
38960 fi
38961 rm -f conftest.err conftest.$ac_objext \
38962 conftest$ac_exeext conftest.$ac_ext
38963 LIBS=$ac_check_lib_save_LIBS
38964 fi
38965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38966 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38967 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38968 cat >>confdefs.h <<\_ACEOF
38969 #define HAVE_INET_ATON 1
38970 _ACEOF
38971
38972 fi
38973
38974
38975 fi
38976 done
38977
38978
38979 if test "x$INET_LINK" != "x"; then
38980 cat >>confdefs.h <<\_ACEOF
38981 #define HAVE_INET_ADDR 1
38982 _ACEOF
38983
38984 INET_LINK=" -l$INET_LINK"
38985 fi
38986
38987
38988 for wx_func in fdopen
38989 do
38990 echo "$as_me:$LINENO: checking for $wx_func" >&5
38991 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38992 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 else
38995
38996 cat >conftest.$ac_ext <<_ACEOF
38997
38998 /* confdefs.h. */
38999 _ACEOF
39000 cat confdefs.h >>conftest.$ac_ext
39001 cat >>conftest.$ac_ext <<_ACEOF
39002 /* end confdefs.h. */
39003
39004
39005 $ac_includes_default
39006
39007 int
39008 main ()
39009 {
39010
39011 #ifndef $wx_func
39012 &$wx_func;
39013 #endif
39014
39015
39016 ;
39017 return 0;
39018 }
39019
39020 _ACEOF
39021 rm -f conftest.$ac_objext conftest$ac_exeext
39022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39023 (eval $ac_link) 2>conftest.er1
39024 ac_status=$?
39025 grep -v '^ *+' conftest.er1 >conftest.err
39026 rm -f conftest.er1
39027 cat conftest.err >&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); } &&
39030 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39032 (eval $ac_try) 2>&5
39033 ac_status=$?
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); }; } &&
39036 { ac_try='test -s conftest$ac_exeext'
39037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39038 (eval $ac_try) 2>&5
39039 ac_status=$?
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); }; }; then
39042 eval wx_cv_func_$wx_func=yes
39043 else
39044 echo "$as_me: failed program was:" >&5
39045 sed 's/^/| /' conftest.$ac_ext >&5
39046
39047 eval wx_cv_func_$wx_func=no
39048 fi
39049 rm -f conftest.err conftest.$ac_objext \
39050 conftest$ac_exeext conftest.$ac_ext
39051
39052 fi
39053 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39054 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39055
39056 if eval test \$wx_cv_func_$wx_func = yes
39057 then
39058 cat >>confdefs.h <<_ACEOF
39059 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39060 _ACEOF
39061
39062
39063 else
39064 :
39065
39066 fi
39067 done
39068
39069
39070 fi
39071
39072
39073
39074
39075 EXTRALIBS_ESD=
39076 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39077 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39078 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39079 echo $ECHO_N "(cached) $ECHO_C" >&6
39080 else
39081 ac_check_lib_save_LIBS=$LIBS
39082 LIBS="-lesd $LIBS"
39083 cat >conftest.$ac_ext <<_ACEOF
39084 /* confdefs.h. */
39085 _ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089
39090 /* Override any gcc2 internal prototype to avoid an error. */
39091 #ifdef __cplusplus
39092 extern "C"
39093 #endif
39094 /* We use char because int might match the return type of a gcc2
39095 builtin and then its argument prototype would still apply. */
39096 char esd_close ();
39097 int
39098 main ()
39099 {
39100 esd_close ();
39101 ;
39102 return 0;
39103 }
39104 _ACEOF
39105 rm -f conftest.$ac_objext conftest$ac_exeext
39106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39107 (eval $ac_link) 2>conftest.er1
39108 ac_status=$?
39109 grep -v '^ *+' conftest.er1 >conftest.err
39110 rm -f conftest.er1
39111 cat conftest.err >&5
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); } &&
39114 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116 (eval $ac_try) 2>&5
39117 ac_status=$?
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); }; } &&
39120 { ac_try='test -s conftest$ac_exeext'
39121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122 (eval $ac_try) 2>&5
39123 ac_status=$?
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); }; }; then
39126 ac_cv_lib_esd_esd_close=yes
39127 else
39128 echo "$as_me: failed program was:" >&5
39129 sed 's/^/| /' conftest.$ac_ext >&5
39130
39131 ac_cv_lib_esd_esd_close=no
39132 fi
39133 rm -f conftest.err conftest.$ac_objext \
39134 conftest$ac_exeext conftest.$ac_ext
39135 LIBS=$ac_check_lib_save_LIBS
39136 fi
39137 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39138 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39139 if test $ac_cv_lib_esd_esd_close = yes; then
39140
39141
39142 for ac_header in esd.h
39143 do
39144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39146 echo "$as_me:$LINENO: checking for $ac_header" >&5
39147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39149 echo $ECHO_N "(cached) $ECHO_C" >&6
39150 fi
39151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39153 else
39154 # Is the header compilable?
39155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39157 cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h. */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 $ac_includes_default
39164 #include <$ac_header>
39165 _ACEOF
39166 rm -f conftest.$ac_objext
39167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39168 (eval $ac_compile) 2>conftest.er1
39169 ac_status=$?
39170 grep -v '^ *+' conftest.er1 >conftest.err
39171 rm -f conftest.er1
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } &&
39175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39178 ac_status=$?
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; } &&
39181 { ac_try='test -s conftest.$ac_objext'
39182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183 (eval $ac_try) 2>&5
39184 ac_status=$?
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); }; }; then
39187 ac_header_compiler=yes
39188 else
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39191
39192 ac_header_compiler=no
39193 fi
39194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39196 echo "${ECHO_T}$ac_header_compiler" >&6
39197
39198 # Is the header present?
39199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39201 cat >conftest.$ac_ext <<_ACEOF
39202 /* confdefs.h. */
39203 _ACEOF
39204 cat confdefs.h >>conftest.$ac_ext
39205 cat >>conftest.$ac_ext <<_ACEOF
39206 /* end confdefs.h. */
39207 #include <$ac_header>
39208 _ACEOF
39209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39211 ac_status=$?
39212 grep -v '^ *+' conftest.er1 >conftest.err
39213 rm -f conftest.er1
39214 cat conftest.err >&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); } >/dev/null; then
39217 if test -s conftest.err; then
39218 ac_cpp_err=$ac_cxx_preproc_warn_flag
39219 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39220 else
39221 ac_cpp_err=
39222 fi
39223 else
39224 ac_cpp_err=yes
39225 fi
39226 if test -z "$ac_cpp_err"; then
39227 ac_header_preproc=yes
39228 else
39229 echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.$ac_ext >&5
39231
39232 ac_header_preproc=no
39233 fi
39234 rm -f conftest.err conftest.$ac_ext
39235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39236 echo "${ECHO_T}$ac_header_preproc" >&6
39237
39238 # So? What about this header?
39239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39240 yes:no: )
39241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39245 ac_header_preproc=yes
39246 ;;
39247 no:yes:* )
39248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39260 (
39261 cat <<\_ASBOX
39262 ## ----------------------------------------- ##
39263 ## Report this to wx-dev@lists.wxwidgets.org ##
39264 ## ----------------------------------------- ##
39265 _ASBOX
39266 ) |
39267 sed "s/^/$as_me: WARNING: /" >&2
39268 ;;
39269 esac
39270 echo "$as_me:$LINENO: checking for $ac_header" >&5
39271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39273 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 else
39275 eval "$as_ac_Header=\$ac_header_preproc"
39276 fi
39277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39279
39280 fi
39281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39282 cat >>confdefs.h <<_ACEOF
39283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39284 _ACEOF
39285
39286 EXTRALIBS_ESD="-lesd"
39287
39288 fi
39289
39290 done
39291
39292
39293 fi
39294
39295
39296
39297 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39298 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39299 cat >conftest.$ac_ext <<_ACEOF
39300 /* confdefs.h. */
39301 _ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305 #ifdef __linux__
39306 #include <linux/cdrom.h>
39307 #else
39308 /* For Solaris */
39309 #include <sys/cdio.h>
39310 #endif
39311
39312 int
39313 main ()
39314 {
39315 struct cdrom_tocentry entry, old_entry;
39316 ;
39317 return 0;
39318 }
39319 _ACEOF
39320 rm -f conftest.$ac_objext
39321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39322 (eval $ac_compile) 2>conftest.er1
39323 ac_status=$?
39324 grep -v '^ *+' conftest.er1 >conftest.err
39325 rm -f conftest.er1
39326 cat conftest.err >&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); } &&
39329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331 (eval $ac_try) 2>&5
39332 ac_status=$?
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); }; } &&
39335 { ac_try='test -s conftest.$ac_objext'
39336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39337 (eval $ac_try) 2>&5
39338 ac_status=$?
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); }; }; then
39341 echo "$as_me:$LINENO: result: yes" >&5
39342 echo "${ECHO_T}yes" >&6
39343 cat >>confdefs.h <<\_ACEOF
39344 #define HAVE_KNOWN_CDROM_INTERFACE 1
39345 _ACEOF
39346
39347 else
39348 echo "$as_me: failed program was:" >&5
39349 sed 's/^/| /' conftest.$ac_ext >&5
39350
39351 echo "$as_me:$LINENO: result: no" >&5
39352 echo "${ECHO_T}no" >&6
39353 fi
39354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39355
39356
39357 cat >confcache <<\_ACEOF
39358 # This file is a shell script that caches the results of configure
39359 # tests run on this system so they can be shared between configure
39360 # scripts and configure runs, see configure's option --config-cache.
39361 # It is not useful on other systems. If it contains results you don't
39362 # want to keep, you may remove or edit it.
39363 #
39364 # config.status only pays attention to the cache file if you give it
39365 # the --recheck option to rerun configure.
39366 #
39367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39369 # following values.
39370
39371 _ACEOF
39372
39373 # The following way of writing the cache mishandles newlines in values,
39374 # but we know of no workaround that is simple, portable, and efficient.
39375 # So, don't put newlines in cache variables' values.
39376 # Ultrix sh set writes to stderr and can't be redirected directly,
39377 # and sets the high bit in the cache file unless we assign to the vars.
39378 {
39379 (set) 2>&1 |
39380 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39381 *ac_space=\ *)
39382 # `set' does not quote correctly, so add quotes (double-quote
39383 # substitution turns \\\\ into \\, and sed turns \\ into \).
39384 sed -n \
39385 "s/'/'\\\\''/g;
39386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39387 ;;
39388 *)
39389 # `set' quotes correctly as required by POSIX, so do not add quotes.
39390 sed -n \
39391 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39392 ;;
39393 esac;
39394 } |
39395 sed '
39396 t clear
39397 : clear
39398 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39399 t end
39400 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39401 : end' >>confcache
39402 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39403 if test -w $cache_file; then
39404 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39405 cat confcache >$cache_file
39406 else
39407 echo "not updating unwritable cache $cache_file"
39408 fi
39409 fi
39410 rm -f confcache
39411
39412
39413 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39414
39415
39416 THREADS_LINK=
39417 THREADS_CXXFLAGS=
39418
39419 if test "$wxUSE_THREADS" = "yes" ; then
39420 if test "$USE_BEOS" = 1; then
39421 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39422 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39423 wxUSE_THREADS="no"
39424 fi
39425 fi
39426
39427 if test "$wxUSE_THREADS" = "yes" ; then
39428
39429
39430 THREAD_OPTS="-pthread"
39431 case "${host}" in
39432 *-*-solaris2* | *-*-sunos4* )
39433 if test "x$GCC" = "xyes"; then
39434 THREAD_OPTS="-pthreads $THREAD_OPTS"
39435 else
39436 THREAD_OPTS="-mt $THREAD_OPTS"
39437 fi
39438 ;;
39439 *-*-freebsd*)
39440 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39441 ;;
39442 *-*-darwin* | *-*-cygwin* )
39443 THREAD_OPTS=""
39444 ;;
39445 *-*-aix*)
39446 THREAD_OPTS="pthreads"
39447 ;;
39448 *-hp-hpux* )
39449 if test "x$GCC" = "xyes"; then
39450 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39451 THREAD_OPTS=""
39452 else
39453 THREAD_OPTS="-mt"
39454 fi
39455 ;;
39456
39457 *-*-irix* )
39458 if test "x$GCC" = "xyes"; then
39459 THREAD_OPTS=""
39460 fi
39461 ;;
39462
39463 *-*-*UnixWare*)
39464 if test "x$GCC" != "xyes"; then
39465 THREAD_OPTS="-Ethread"
39466 fi
39467 ;;
39468 esac
39469
39470 THREAD_OPTS="$THREAD_OPTS pthread none"
39471
39472 THREADS_OK=no
39473 for flag in $THREAD_OPTS; do
39474 case $flag in
39475 none)
39476 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39477 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39478 ;;
39479
39480 -*)
39481 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39482 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39483 THREADS_CXXFLAGS="$flag"
39484 ;;
39485
39486 *)
39487 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39488 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39489 THREADS_LINK="-l$flag"
39490 ;;
39491 esac
39492
39493 save_LIBS="$LIBS"
39494 save_CXXFLAGS="$CXXFLAGS"
39495 LIBS="$THREADS_LINK $LIBS"
39496 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39497
39498 cat >conftest.$ac_ext <<_ACEOF
39499 /* confdefs.h. */
39500 _ACEOF
39501 cat confdefs.h >>conftest.$ac_ext
39502 cat >>conftest.$ac_ext <<_ACEOF
39503 /* end confdefs.h. */
39504 #include <pthread.h>
39505 int
39506 main ()
39507 {
39508 pthread_create(0,0,0,0);
39509 ;
39510 return 0;
39511 }
39512 _ACEOF
39513 rm -f conftest.$ac_objext conftest$ac_exeext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39515 (eval $ac_link) 2>conftest.er1
39516 ac_status=$?
39517 grep -v '^ *+' conftest.er1 >conftest.err
39518 rm -f conftest.er1
39519 cat conftest.err >&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39524 (eval $ac_try) 2>&5
39525 ac_status=$?
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try='test -s conftest$ac_exeext'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39531 ac_status=$?
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; }; then
39534 THREADS_OK=yes
39535 else
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.$ac_ext >&5
39538
39539 fi
39540 rm -f conftest.err conftest.$ac_objext \
39541 conftest$ac_exeext conftest.$ac_ext
39542
39543 LIBS="$save_LIBS"
39544 CXXFLAGS="$save_CXXFLAGS"
39545
39546 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39547 echo "${ECHO_T}$THREADS_OK" >&6
39548 if test "x$THREADS_OK" = "xyes"; then
39549 break;
39550 fi
39551
39552 THREADS_LINK=""
39553 THREADS_CXXFLAGS=""
39554 done
39555
39556 if test "x$THREADS_OK" != "xyes"; then
39557 wxUSE_THREADS=no
39558 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39559 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39560 else
39561 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39562 LIBS="$THREADS_LINK $LIBS"
39563
39564 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39565 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39566 flag=no
39567 case "${host}" in
39568 *-aix*)
39569 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39570 flag="-D_THREAD_SAFE"
39571 ;;
39572 *-freebsd*)
39573 flag="-D_THREAD_SAFE"
39574 ;;
39575 *-hp-hpux* )
39576 flag="-D_REENTRANT"
39577 if test "x$GCC" != "xyes"; then
39578 flag="$flag -D_RWSTD_MULTI_THREAD"
39579 fi
39580 ;;
39581 *solaris* | alpha*-osf*)
39582 flag="-D_REENTRANT"
39583 ;;
39584 esac
39585 echo "$as_me:$LINENO: result: ${flag}" >&5
39586 echo "${ECHO_T}${flag}" >&6
39587 if test "x$flag" != xno; then
39588 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39589 fi
39590
39591 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39592 fi
39593 fi
39594
39595 if test "$wxUSE_THREADS" = "yes" ; then
39596
39597 for ac_func in thr_setconcurrency
39598 do
39599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39600 echo "$as_me:$LINENO: checking for $ac_func" >&5
39601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39602 if eval "test \"\${$as_ac_var+set}\" = set"; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39604 else
39605 cat >conftest.$ac_ext <<_ACEOF
39606 /* confdefs.h. */
39607 _ACEOF
39608 cat confdefs.h >>conftest.$ac_ext
39609 cat >>conftest.$ac_ext <<_ACEOF
39610 /* end confdefs.h. */
39611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39613 #define $ac_func innocuous_$ac_func
39614
39615 /* System header to define __stub macros and hopefully few prototypes,
39616 which can conflict with char $ac_func (); below.
39617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39618 <limits.h> exists even on freestanding compilers. */
39619
39620 #ifdef __STDC__
39621 # include <limits.h>
39622 #else
39623 # include <assert.h>
39624 #endif
39625
39626 #undef $ac_func
39627
39628 /* Override any gcc2 internal prototype to avoid an error. */
39629 #ifdef __cplusplus
39630 extern "C"
39631 {
39632 #endif
39633 /* We use char because int might match the return type of a gcc2
39634 builtin and then its argument prototype would still apply. */
39635 char $ac_func ();
39636 /* The GNU C library defines this for functions which it implements
39637 to always fail with ENOSYS. Some functions are actually named
39638 something starting with __ and the normal name is an alias. */
39639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39640 choke me
39641 #else
39642 char (*f) () = $ac_func;
39643 #endif
39644 #ifdef __cplusplus
39645 }
39646 #endif
39647
39648 int
39649 main ()
39650 {
39651 return f != $ac_func;
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 rm -f conftest.$ac_objext conftest$ac_exeext
39657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39658 (eval $ac_link) 2>conftest.er1
39659 ac_status=$?
39660 grep -v '^ *+' conftest.er1 >conftest.err
39661 rm -f conftest.er1
39662 cat conftest.err >&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } &&
39665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39667 (eval $ac_try) 2>&5
39668 ac_status=$?
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); }; } &&
39671 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39677 eval "$as_ac_var=yes"
39678 else
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.$ac_ext >&5
39681
39682 eval "$as_ac_var=no"
39683 fi
39684 rm -f conftest.err conftest.$ac_objext \
39685 conftest$ac_exeext conftest.$ac_ext
39686 fi
39687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39689 if test `eval echo '${'$as_ac_var'}'` = yes; then
39690 cat >>confdefs.h <<_ACEOF
39691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39692 _ACEOF
39693
39694 fi
39695 done
39696
39697
39698 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39699 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39700 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39703
39704 cat >conftest.$ac_ext <<_ACEOF
39705 /* confdefs.h. */
39706 _ACEOF
39707 cat confdefs.h >>conftest.$ac_ext
39708 cat >>conftest.$ac_ext <<_ACEOF
39709 /* end confdefs.h. */
39710 #include <pthread.h>
39711 void ThreadCleanupFunc(void *p);
39712
39713 int
39714 main ()
39715 {
39716
39717 void *p;
39718 pthread_cleanup_push(ThreadCleanupFunc, p);
39719 pthread_cleanup_pop(0);
39720
39721 ;
39722 return 0;
39723 }
39724 _ACEOF
39725 rm -f conftest.$ac_objext
39726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39727 (eval $ac_compile) 2>conftest.er1
39728 ac_status=$?
39729 grep -v '^ *+' conftest.er1 >conftest.err
39730 rm -f conftest.er1
39731 cat conftest.err >&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); } &&
39734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; } &&
39740 { ac_try='test -s conftest.$ac_objext'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39743 ac_status=$?
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; }; then
39746
39747 wx_cv_func_pthread_cleanup=yes
39748
39749 else
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.$ac_ext >&5
39752
39753
39754 wx_cv_func_pthread_cleanup=no
39755
39756
39757 fi
39758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39759
39760 fi
39761 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39762 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39763 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39764 cat >>confdefs.h <<\_ACEOF
39765 #define wxHAVE_PTHREAD_CLEANUP 1
39766 _ACEOF
39767
39768 fi
39769
39770
39771 for ac_header in sched.h
39772 do
39773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39775 echo "$as_me:$LINENO: checking for $ac_header" >&5
39776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 fi
39780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39782 else
39783 # Is the header compilable?
39784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39786 cat >conftest.$ac_ext <<_ACEOF
39787 /* confdefs.h. */
39788 _ACEOF
39789 cat confdefs.h >>conftest.$ac_ext
39790 cat >>conftest.$ac_ext <<_ACEOF
39791 /* end confdefs.h. */
39792 $ac_includes_default
39793 #include <$ac_header>
39794 _ACEOF
39795 rm -f conftest.$ac_objext
39796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39797 (eval $ac_compile) 2>conftest.er1
39798 ac_status=$?
39799 grep -v '^ *+' conftest.er1 >conftest.err
39800 rm -f conftest.er1
39801 cat conftest.err >&5
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); } &&
39804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39807 ac_status=$?
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; } &&
39810 { ac_try='test -s conftest.$ac_objext'
39811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39812 (eval $ac_try) 2>&5
39813 ac_status=$?
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); }; }; then
39816 ac_header_compiler=yes
39817 else
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39820
39821 ac_header_compiler=no
39822 fi
39823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39825 echo "${ECHO_T}$ac_header_compiler" >&6
39826
39827 # Is the header present?
39828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39830 cat >conftest.$ac_ext <<_ACEOF
39831 /* confdefs.h. */
39832 _ACEOF
39833 cat confdefs.h >>conftest.$ac_ext
39834 cat >>conftest.$ac_ext <<_ACEOF
39835 /* end confdefs.h. */
39836 #include <$ac_header>
39837 _ACEOF
39838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39840 ac_status=$?
39841 grep -v '^ *+' conftest.er1 >conftest.err
39842 rm -f conftest.er1
39843 cat conftest.err >&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } >/dev/null; then
39846 if test -s conftest.err; then
39847 ac_cpp_err=$ac_cxx_preproc_warn_flag
39848 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39849 else
39850 ac_cpp_err=
39851 fi
39852 else
39853 ac_cpp_err=yes
39854 fi
39855 if test -z "$ac_cpp_err"; then
39856 ac_header_preproc=yes
39857 else
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.$ac_ext >&5
39860
39861 ac_header_preproc=no
39862 fi
39863 rm -f conftest.err conftest.$ac_ext
39864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39865 echo "${ECHO_T}$ac_header_preproc" >&6
39866
39867 # So? What about this header?
39868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39869 yes:no: )
39870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39874 ac_header_preproc=yes
39875 ;;
39876 no:yes:* )
39877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39889 (
39890 cat <<\_ASBOX
39891 ## ----------------------------------------- ##
39892 ## Report this to wx-dev@lists.wxwidgets.org ##
39893 ## ----------------------------------------- ##
39894 _ASBOX
39895 ) |
39896 sed "s/^/$as_me: WARNING: /" >&2
39897 ;;
39898 esac
39899 echo "$as_me:$LINENO: checking for $ac_header" >&5
39900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39902 echo $ECHO_N "(cached) $ECHO_C" >&6
39903 else
39904 eval "$as_ac_Header=\$ac_header_preproc"
39905 fi
39906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39908
39909 fi
39910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39911 cat >>confdefs.h <<_ACEOF
39912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39913 _ACEOF
39914
39915 fi
39916
39917 done
39918
39919 if test "$ac_cv_header_sched_h" = "yes"; then
39920 echo "$as_me:$LINENO: checking for sched_yield" >&5
39921 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39922 if test "${ac_cv_func_sched_yield+set}" = set; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 else
39925 cat >conftest.$ac_ext <<_ACEOF
39926 /* confdefs.h. */
39927 _ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39933 #define sched_yield innocuous_sched_yield
39934
39935 /* System header to define __stub macros and hopefully few prototypes,
39936 which can conflict with char sched_yield (); below.
39937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938 <limits.h> exists even on freestanding compilers. */
39939
39940 #ifdef __STDC__
39941 # include <limits.h>
39942 #else
39943 # include <assert.h>
39944 #endif
39945
39946 #undef sched_yield
39947
39948 /* Override any gcc2 internal prototype to avoid an error. */
39949 #ifdef __cplusplus
39950 extern "C"
39951 {
39952 #endif
39953 /* We use char because int might match the return type of a gcc2
39954 builtin and then its argument prototype would still apply. */
39955 char sched_yield ();
39956 /* The GNU C library defines this for functions which it implements
39957 to always fail with ENOSYS. Some functions are actually named
39958 something starting with __ and the normal name is an alias. */
39959 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39960 choke me
39961 #else
39962 char (*f) () = sched_yield;
39963 #endif
39964 #ifdef __cplusplus
39965 }
39966 #endif
39967
39968 int
39969 main ()
39970 {
39971 return f != sched_yield;
39972 ;
39973 return 0;
39974 }
39975 _ACEOF
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39978 (eval $ac_link) 2>conftest.er1
39979 ac_status=$?
39980 grep -v '^ *+' conftest.er1 >conftest.err
39981 rm -f conftest.er1
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } &&
39985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39987 (eval $ac_try) 2>&5
39988 ac_status=$?
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); }; } &&
39991 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39997 ac_cv_func_sched_yield=yes
39998 else
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40001
40002 ac_cv_func_sched_yield=no
40003 fi
40004 rm -f conftest.err conftest.$ac_objext \
40005 conftest$ac_exeext conftest.$ac_ext
40006 fi
40007 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40008 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40009 if test $ac_cv_func_sched_yield = yes; then
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_SCHED_YIELD 1
40012 _ACEOF
40013
40014 else
40015
40016 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40017 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40018 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 else
40021 ac_check_lib_save_LIBS=$LIBS
40022 LIBS="-lposix4 $LIBS"
40023 cat >conftest.$ac_ext <<_ACEOF
40024 /* confdefs.h. */
40025 _ACEOF
40026 cat confdefs.h >>conftest.$ac_ext
40027 cat >>conftest.$ac_ext <<_ACEOF
40028 /* end confdefs.h. */
40029
40030 /* Override any gcc2 internal prototype to avoid an error. */
40031 #ifdef __cplusplus
40032 extern "C"
40033 #endif
40034 /* We use char because int might match the return type of a gcc2
40035 builtin and then its argument prototype would still apply. */
40036 char sched_yield ();
40037 int
40038 main ()
40039 {
40040 sched_yield ();
40041 ;
40042 return 0;
40043 }
40044 _ACEOF
40045 rm -f conftest.$ac_objext conftest$ac_exeext
40046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40047 (eval $ac_link) 2>conftest.er1
40048 ac_status=$?
40049 grep -v '^ *+' conftest.er1 >conftest.err
40050 rm -f conftest.er1
40051 cat conftest.err >&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); } &&
40054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40057 ac_status=$?
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; } &&
40060 { ac_try='test -s conftest$ac_exeext'
40061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40062 (eval $ac_try) 2>&5
40063 ac_status=$?
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); }; }; then
40066 ac_cv_lib_posix4_sched_yield=yes
40067 else
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.$ac_ext >&5
40070
40071 ac_cv_lib_posix4_sched_yield=no
40072 fi
40073 rm -f conftest.err conftest.$ac_objext \
40074 conftest$ac_exeext conftest.$ac_ext
40075 LIBS=$ac_check_lib_save_LIBS
40076 fi
40077 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40079 if test $ac_cv_lib_posix4_sched_yield = yes; then
40080 cat >>confdefs.h <<\_ACEOF
40081 #define HAVE_SCHED_YIELD 1
40082 _ACEOF
40083 POSIX4_LINK=" -lposix4"
40084 else
40085 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40086 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40087
40088 fi
40089
40090
40091
40092 fi
40093
40094 fi
40095
40096 HAVE_PRIOR_FUNCS=0
40097 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40098 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40099 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40100 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 else
40102 cat >conftest.$ac_ext <<_ACEOF
40103 /* confdefs.h. */
40104 _ACEOF
40105 cat confdefs.h >>conftest.$ac_ext
40106 cat >>conftest.$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40108 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40110 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40111
40112 /* System header to define __stub macros and hopefully few prototypes,
40113 which can conflict with char pthread_attr_getschedpolicy (); below.
40114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40115 <limits.h> exists even on freestanding compilers. */
40116
40117 #ifdef __STDC__
40118 # include <limits.h>
40119 #else
40120 # include <assert.h>
40121 #endif
40122
40123 #undef pthread_attr_getschedpolicy
40124
40125 /* Override any gcc2 internal prototype to avoid an error. */
40126 #ifdef __cplusplus
40127 extern "C"
40128 {
40129 #endif
40130 /* We use char because int might match the return type of a gcc2
40131 builtin and then its argument prototype would still apply. */
40132 char pthread_attr_getschedpolicy ();
40133 /* The GNU C library defines this for functions which it implements
40134 to always fail with ENOSYS. Some functions are actually named
40135 something starting with __ and the normal name is an alias. */
40136 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40137 choke me
40138 #else
40139 char (*f) () = pthread_attr_getschedpolicy;
40140 #endif
40141 #ifdef __cplusplus
40142 }
40143 #endif
40144
40145 int
40146 main ()
40147 {
40148 return f != pthread_attr_getschedpolicy;
40149 ;
40150 return 0;
40151 }
40152 _ACEOF
40153 rm -f conftest.$ac_objext conftest$ac_exeext
40154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40155 (eval $ac_link) 2>conftest.er1
40156 ac_status=$?
40157 grep -v '^ *+' conftest.er1 >conftest.err
40158 rm -f conftest.er1
40159 cat conftest.err >&5
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); } &&
40162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40164 (eval $ac_try) 2>&5
40165 ac_status=$?
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); }; } &&
40168 { ac_try='test -s conftest$ac_exeext'
40169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40170 (eval $ac_try) 2>&5
40171 ac_status=$?
40172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40173 (exit $ac_status); }; }; then
40174 ac_cv_func_pthread_attr_getschedpolicy=yes
40175 else
40176 echo "$as_me: failed program was:" >&5
40177 sed 's/^/| /' conftest.$ac_ext >&5
40178
40179 ac_cv_func_pthread_attr_getschedpolicy=no
40180 fi
40181 rm -f conftest.err conftest.$ac_objext \
40182 conftest$ac_exeext conftest.$ac_ext
40183 fi
40184 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40185 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40186 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40187 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40188 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40189 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40190 echo $ECHO_N "(cached) $ECHO_C" >&6
40191 else
40192 cat >conftest.$ac_ext <<_ACEOF
40193 /* confdefs.h. */
40194 _ACEOF
40195 cat confdefs.h >>conftest.$ac_ext
40196 cat >>conftest.$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40200 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40201
40202 /* System header to define __stub macros and hopefully few prototypes,
40203 which can conflict with char pthread_attr_setschedparam (); below.
40204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40205 <limits.h> exists even on freestanding compilers. */
40206
40207 #ifdef __STDC__
40208 # include <limits.h>
40209 #else
40210 # include <assert.h>
40211 #endif
40212
40213 #undef pthread_attr_setschedparam
40214
40215 /* Override any gcc2 internal prototype to avoid an error. */
40216 #ifdef __cplusplus
40217 extern "C"
40218 {
40219 #endif
40220 /* We use char because int might match the return type of a gcc2
40221 builtin and then its argument prototype would still apply. */
40222 char pthread_attr_setschedparam ();
40223 /* The GNU C library defines this for functions which it implements
40224 to always fail with ENOSYS. Some functions are actually named
40225 something starting with __ and the normal name is an alias. */
40226 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40227 choke me
40228 #else
40229 char (*f) () = pthread_attr_setschedparam;
40230 #endif
40231 #ifdef __cplusplus
40232 }
40233 #endif
40234
40235 int
40236 main ()
40237 {
40238 return f != pthread_attr_setschedparam;
40239 ;
40240 return 0;
40241 }
40242 _ACEOF
40243 rm -f conftest.$ac_objext conftest$ac_exeext
40244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40245 (eval $ac_link) 2>conftest.er1
40246 ac_status=$?
40247 grep -v '^ *+' conftest.er1 >conftest.err
40248 rm -f conftest.er1
40249 cat conftest.err >&5
40250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251 (exit $ac_status); } &&
40252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40254 (eval $ac_try) 2>&5
40255 ac_status=$?
40256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257 (exit $ac_status); }; } &&
40258 { ac_try='test -s conftest$ac_exeext'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40261 ac_status=$?
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; }; then
40264 ac_cv_func_pthread_attr_setschedparam=yes
40265 else
40266 echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.$ac_ext >&5
40268
40269 ac_cv_func_pthread_attr_setschedparam=no
40270 fi
40271 rm -f conftest.err conftest.$ac_objext \
40272 conftest$ac_exeext conftest.$ac_ext
40273 fi
40274 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40275 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40276 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40277 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40278 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40279 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40280 echo $ECHO_N "(cached) $ECHO_C" >&6
40281 else
40282 cat >conftest.$ac_ext <<_ACEOF
40283 /* confdefs.h. */
40284 _ACEOF
40285 cat confdefs.h >>conftest.$ac_ext
40286 cat >>conftest.$ac_ext <<_ACEOF
40287 /* end confdefs.h. */
40288 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40290 #define sched_get_priority_max innocuous_sched_get_priority_max
40291
40292 /* System header to define __stub macros and hopefully few prototypes,
40293 which can conflict with char sched_get_priority_max (); below.
40294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40295 <limits.h> exists even on freestanding compilers. */
40296
40297 #ifdef __STDC__
40298 # include <limits.h>
40299 #else
40300 # include <assert.h>
40301 #endif
40302
40303 #undef sched_get_priority_max
40304
40305 /* Override any gcc2 internal prototype to avoid an error. */
40306 #ifdef __cplusplus
40307 extern "C"
40308 {
40309 #endif
40310 /* We use char because int might match the return type of a gcc2
40311 builtin and then its argument prototype would still apply. */
40312 char sched_get_priority_max ();
40313 /* The GNU C library defines this for functions which it implements
40314 to always fail with ENOSYS. Some functions are actually named
40315 something starting with __ and the normal name is an alias. */
40316 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40317 choke me
40318 #else
40319 char (*f) () = sched_get_priority_max;
40320 #endif
40321 #ifdef __cplusplus
40322 }
40323 #endif
40324
40325 int
40326 main ()
40327 {
40328 return f != sched_get_priority_max;
40329 ;
40330 return 0;
40331 }
40332 _ACEOF
40333 rm -f conftest.$ac_objext conftest$ac_exeext
40334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40335 (eval $ac_link) 2>conftest.er1
40336 ac_status=$?
40337 grep -v '^ *+' conftest.er1 >conftest.err
40338 rm -f conftest.er1
40339 cat conftest.err >&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); } &&
40342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40344 (eval $ac_try) 2>&5
40345 ac_status=$?
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); }; } &&
40348 { ac_try='test -s conftest$ac_exeext'
40349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40350 (eval $ac_try) 2>&5
40351 ac_status=$?
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); }; }; then
40354 ac_cv_func_sched_get_priority_max=yes
40355 else
40356 echo "$as_me: failed program was:" >&5
40357 sed 's/^/| /' conftest.$ac_ext >&5
40358
40359 ac_cv_func_sched_get_priority_max=no
40360 fi
40361 rm -f conftest.err conftest.$ac_objext \
40362 conftest$ac_exeext conftest.$ac_ext
40363 fi
40364 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40365 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40366 if test $ac_cv_func_sched_get_priority_max = yes; then
40367 HAVE_PRIOR_FUNCS=1
40368 else
40369 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40370 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40371 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40372 echo $ECHO_N "(cached) $ECHO_C" >&6
40373 else
40374 ac_check_lib_save_LIBS=$LIBS
40375 LIBS="-lposix4 $LIBS"
40376 cat >conftest.$ac_ext <<_ACEOF
40377 /* confdefs.h. */
40378 _ACEOF
40379 cat confdefs.h >>conftest.$ac_ext
40380 cat >>conftest.$ac_ext <<_ACEOF
40381 /* end confdefs.h. */
40382
40383 /* Override any gcc2 internal prototype to avoid an error. */
40384 #ifdef __cplusplus
40385 extern "C"
40386 #endif
40387 /* We use char because int might match the return type of a gcc2
40388 builtin and then its argument prototype would still apply. */
40389 char sched_get_priority_max ();
40390 int
40391 main ()
40392 {
40393 sched_get_priority_max ();
40394 ;
40395 return 0;
40396 }
40397 _ACEOF
40398 rm -f conftest.$ac_objext conftest$ac_exeext
40399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40400 (eval $ac_link) 2>conftest.er1
40401 ac_status=$?
40402 grep -v '^ *+' conftest.er1 >conftest.err
40403 rm -f conftest.er1
40404 cat conftest.err >&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); } &&
40407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40409 (eval $ac_try) 2>&5
40410 ac_status=$?
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; } &&
40413 { ac_try='test -s conftest$ac_exeext'
40414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40415 (eval $ac_try) 2>&5
40416 ac_status=$?
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); }; }; then
40419 ac_cv_lib_posix4_sched_get_priority_max=yes
40420 else
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.$ac_ext >&5
40423
40424 ac_cv_lib_posix4_sched_get_priority_max=no
40425 fi
40426 rm -f conftest.err conftest.$ac_objext \
40427 conftest$ac_exeext conftest.$ac_ext
40428 LIBS=$ac_check_lib_save_LIBS
40429 fi
40430 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40431 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40432 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40433
40434 HAVE_PRIOR_FUNCS=1
40435 POSIX4_LINK=" -lposix4"
40436
40437 fi
40438
40439
40440 fi
40441
40442
40443 fi
40444
40445
40446 fi
40447
40448
40449 if test "$HAVE_PRIOR_FUNCS" = 1; then
40450 cat >>confdefs.h <<\_ACEOF
40451 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40452 _ACEOF
40453
40454 else
40455 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40456 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40457 fi
40458
40459 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40460 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40461 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40462 echo $ECHO_N "(cached) $ECHO_C" >&6
40463 else
40464 cat >conftest.$ac_ext <<_ACEOF
40465 /* confdefs.h. */
40466 _ACEOF
40467 cat confdefs.h >>conftest.$ac_ext
40468 cat >>conftest.$ac_ext <<_ACEOF
40469 /* end confdefs.h. */
40470 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40472 #define pthread_cancel innocuous_pthread_cancel
40473
40474 /* System header to define __stub macros and hopefully few prototypes,
40475 which can conflict with char pthread_cancel (); below.
40476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40477 <limits.h> exists even on freestanding compilers. */
40478
40479 #ifdef __STDC__
40480 # include <limits.h>
40481 #else
40482 # include <assert.h>
40483 #endif
40484
40485 #undef pthread_cancel
40486
40487 /* Override any gcc2 internal prototype to avoid an error. */
40488 #ifdef __cplusplus
40489 extern "C"
40490 {
40491 #endif
40492 /* We use char because int might match the return type of a gcc2
40493 builtin and then its argument prototype would still apply. */
40494 char pthread_cancel ();
40495 /* The GNU C library defines this for functions which it implements
40496 to always fail with ENOSYS. Some functions are actually named
40497 something starting with __ and the normal name is an alias. */
40498 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40499 choke me
40500 #else
40501 char (*f) () = pthread_cancel;
40502 #endif
40503 #ifdef __cplusplus
40504 }
40505 #endif
40506
40507 int
40508 main ()
40509 {
40510 return f != pthread_cancel;
40511 ;
40512 return 0;
40513 }
40514 _ACEOF
40515 rm -f conftest.$ac_objext conftest$ac_exeext
40516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40517 (eval $ac_link) 2>conftest.er1
40518 ac_status=$?
40519 grep -v '^ *+' conftest.er1 >conftest.err
40520 rm -f conftest.er1
40521 cat conftest.err >&5
40522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40523 (exit $ac_status); } &&
40524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40526 (eval $ac_try) 2>&5
40527 ac_status=$?
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); }; } &&
40530 { ac_try='test -s conftest$ac_exeext'
40531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40532 (eval $ac_try) 2>&5
40533 ac_status=$?
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); }; }; then
40536 ac_cv_func_pthread_cancel=yes
40537 else
40538 echo "$as_me: failed program was:" >&5
40539 sed 's/^/| /' conftest.$ac_ext >&5
40540
40541 ac_cv_func_pthread_cancel=no
40542 fi
40543 rm -f conftest.err conftest.$ac_objext \
40544 conftest$ac_exeext conftest.$ac_ext
40545 fi
40546 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40547 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40548 if test $ac_cv_func_pthread_cancel = yes; then
40549 cat >>confdefs.h <<\_ACEOF
40550 #define HAVE_PTHREAD_CANCEL 1
40551 _ACEOF
40552
40553 else
40554 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40555 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40556 fi
40557
40558
40559 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40560 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40561 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 else
40564 cat >conftest.$ac_ext <<_ACEOF
40565 /* confdefs.h. */
40566 _ACEOF
40567 cat confdefs.h >>conftest.$ac_ext
40568 cat >>conftest.$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40573
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char pthread_attr_setstacksize (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40578
40579 #ifdef __STDC__
40580 # include <limits.h>
40581 #else
40582 # include <assert.h>
40583 #endif
40584
40585 #undef pthread_attr_setstacksize
40586
40587 /* Override any gcc2 internal prototype to avoid an error. */
40588 #ifdef __cplusplus
40589 extern "C"
40590 {
40591 #endif
40592 /* We use char because int might match the return type of a gcc2
40593 builtin and then its argument prototype would still apply. */
40594 char pthread_attr_setstacksize ();
40595 /* The GNU C library defines this for functions which it implements
40596 to always fail with ENOSYS. Some functions are actually named
40597 something starting with __ and the normal name is an alias. */
40598 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40599 choke me
40600 #else
40601 char (*f) () = pthread_attr_setstacksize;
40602 #endif
40603 #ifdef __cplusplus
40604 }
40605 #endif
40606
40607 int
40608 main ()
40609 {
40610 return f != pthread_attr_setstacksize;
40611 ;
40612 return 0;
40613 }
40614 _ACEOF
40615 rm -f conftest.$ac_objext conftest$ac_exeext
40616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40617 (eval $ac_link) 2>conftest.er1
40618 ac_status=$?
40619 grep -v '^ *+' conftest.er1 >conftest.err
40620 rm -f conftest.er1
40621 cat conftest.err >&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } &&
40624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40626 (eval $ac_try) 2>&5
40627 ac_status=$?
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); }; } &&
40630 { ac_try='test -s conftest$ac_exeext'
40631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40632 (eval $ac_try) 2>&5
40633 ac_status=$?
40634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635 (exit $ac_status); }; }; then
40636 ac_cv_func_pthread_attr_setstacksize=yes
40637 else
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40640
40641 ac_cv_func_pthread_attr_setstacksize=no
40642 fi
40643 rm -f conftest.err conftest.$ac_objext \
40644 conftest$ac_exeext conftest.$ac_ext
40645 fi
40646 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40647 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40648 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40649 cat >>confdefs.h <<\_ACEOF
40650 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40651 _ACEOF
40652
40653 fi
40654
40655
40656
40657 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40658 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40659 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40661 else
40662
40663 cat >conftest.$ac_ext <<_ACEOF
40664 /* confdefs.h. */
40665 _ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669 #include <pthread.h>
40670 int
40671 main ()
40672 {
40673
40674 pthread_mutexattr_t attr;
40675 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40676
40677 ;
40678 return 0;
40679 }
40680 _ACEOF
40681 rm -f conftest.$ac_objext
40682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40683 (eval $ac_compile) 2>conftest.er1
40684 ac_status=$?
40685 grep -v '^ *+' conftest.er1 >conftest.err
40686 rm -f conftest.er1
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } &&
40690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40692 (eval $ac_try) 2>&5
40693 ac_status=$?
40694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40695 (exit $ac_status); }; } &&
40696 { ac_try='test -s conftest.$ac_objext'
40697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40698 (eval $ac_try) 2>&5
40699 ac_status=$?
40700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701 (exit $ac_status); }; }; then
40702 wx_cv_type_pthread_mutexattr_t=yes
40703 else
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707 wx_cv_type_pthread_mutexattr_t=no
40708
40709 fi
40710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40711
40712 fi
40713 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40714 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40715
40716 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40717 cat >>confdefs.h <<\_ACEOF
40718 #define HAVE_PTHREAD_MUTEXATTR_T 1
40719 _ACEOF
40720
40721
40722 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40723 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40724 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40725 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 else
40727
40728 cat >conftest.$ac_ext <<_ACEOF
40729 /* confdefs.h. */
40730 _ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734 #include <pthread.h>
40735 int
40736 main ()
40737 {
40738
40739 pthread_mutexattr_t attr;
40740 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40741
40742 ;
40743 return 0;
40744 }
40745 _ACEOF
40746 rm -f conftest.$ac_objext
40747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40748 (eval $ac_compile) 2>conftest.er1
40749 ac_status=$?
40750 grep -v '^ *+' conftest.er1 >conftest.err
40751 rm -f conftest.er1
40752 cat conftest.err >&5
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); } &&
40755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757 (eval $ac_try) 2>&5
40758 ac_status=$?
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; } &&
40761 { ac_try='test -s conftest.$ac_objext'
40762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763 (eval $ac_try) 2>&5
40764 ac_status=$?
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); }; }; then
40767 wx_cv_func_pthread_mutexattr_settype_decl=yes
40768 else
40769 echo "$as_me: failed program was:" >&5
40770 sed 's/^/| /' conftest.$ac_ext >&5
40771
40772 wx_cv_func_pthread_mutexattr_settype_decl=no
40773
40774 fi
40775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40776
40777 fi
40778 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40779 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40780 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40781 cat >>confdefs.h <<\_ACEOF
40782 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40783 _ACEOF
40784
40785 fi
40786 else
40787 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40788 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40789 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40791 else
40792
40793 cat >conftest.$ac_ext <<_ACEOF
40794 /* confdefs.h. */
40795 _ACEOF
40796 cat confdefs.h >>conftest.$ac_ext
40797 cat >>conftest.$ac_ext <<_ACEOF
40798 /* end confdefs.h. */
40799 #include <pthread.h>
40800 int
40801 main ()
40802 {
40803
40804 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40805
40806 ;
40807 return 0;
40808 }
40809 _ACEOF
40810 rm -f conftest.$ac_objext
40811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40812 (eval $ac_compile) 2>conftest.er1
40813 ac_status=$?
40814 grep -v '^ *+' conftest.er1 >conftest.err
40815 rm -f conftest.er1
40816 cat conftest.err >&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); } &&
40819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40822 ac_status=$?
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; } &&
40825 { ac_try='test -s conftest.$ac_objext'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40828 ac_status=$?
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; }; then
40831
40832 wx_cv_type_pthread_rec_mutex_init=yes
40833
40834 else
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.$ac_ext >&5
40837
40838
40839 wx_cv_type_pthread_rec_mutex_init=no
40840
40841
40842 fi
40843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40844
40845 fi
40846 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40847 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40848 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40849 cat >>confdefs.h <<\_ACEOF
40850 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40851 _ACEOF
40852
40853 else
40854 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40855 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40856 fi
40857 fi
40858 fi
40859
40860 else
40861 if test "$wxUSE_THREADS" = "yes" ; then
40862 case "${host}" in
40863 *-*-mingw32* )
40864 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40865 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40866 if test "${wx_cv_cflags_mthread+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 else
40869
40870 CXXFLAGS_OLD="$CXXFLAGS"
40871 CXXFLAGS="-mthreads $CXXFLAGS"
40872 cat >conftest.$ac_ext <<_ACEOF
40873 /* confdefs.h. */
40874 _ACEOF
40875 cat confdefs.h >>conftest.$ac_ext
40876 cat >>conftest.$ac_ext <<_ACEOF
40877 /* end confdefs.h. */
40878
40879 int
40880 main ()
40881 {
40882
40883 ;
40884 return 0;
40885 }
40886 _ACEOF
40887 rm -f conftest.$ac_objext
40888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40889 (eval $ac_compile) 2>conftest.er1
40890 ac_status=$?
40891 grep -v '^ *+' conftest.er1 >conftest.err
40892 rm -f conftest.er1
40893 cat conftest.err >&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } &&
40896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40899 ac_status=$?
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; } &&
40902 { ac_try='test -s conftest.$ac_objext'
40903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40904 (eval $ac_try) 2>&5
40905 ac_status=$?
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); }; }; then
40908 wx_cv_cflags_mthread=yes
40909 else
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40912
40913 wx_cv_cflags_mthread=no
40914
40915 fi
40916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40917
40918
40919 fi
40920 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40921 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40922
40923 if test "$wx_cv_cflags_mthread" = "yes"; then
40924 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40925 LDFLAGS="$LDFLAGS -mthreads"
40926 else
40927 CXXFLAGS="$CXXFLAGS_OLD"
40928 fi
40929 ;;
40930 *-pc-os2*emx )
40931 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40932 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40933 LDFLAGS="$LDFLAGS -Zmt"
40934 ;;
40935 esac
40936 fi
40937 fi
40938
40939 echo "$as_me:$LINENO: checking for localtime_r" >&5
40940 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40941 if test "${ac_cv_func_localtime_r+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40943 else
40944 cat >conftest.$ac_ext <<_ACEOF
40945 /* confdefs.h. */
40946 _ACEOF
40947 cat confdefs.h >>conftest.$ac_ext
40948 cat >>conftest.$ac_ext <<_ACEOF
40949 /* end confdefs.h. */
40950 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40952 #define localtime_r innocuous_localtime_r
40953
40954 /* System header to define __stub macros and hopefully few prototypes,
40955 which can conflict with char localtime_r (); below.
40956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40957 <limits.h> exists even on freestanding compilers. */
40958
40959 #ifdef __STDC__
40960 # include <limits.h>
40961 #else
40962 # include <assert.h>
40963 #endif
40964
40965 #undef localtime_r
40966
40967 /* Override any gcc2 internal prototype to avoid an error. */
40968 #ifdef __cplusplus
40969 extern "C"
40970 {
40971 #endif
40972 /* We use char because int might match the return type of a gcc2
40973 builtin and then its argument prototype would still apply. */
40974 char localtime_r ();
40975 /* The GNU C library defines this for functions which it implements
40976 to always fail with ENOSYS. Some functions are actually named
40977 something starting with __ and the normal name is an alias. */
40978 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40979 choke me
40980 #else
40981 char (*f) () = localtime_r;
40982 #endif
40983 #ifdef __cplusplus
40984 }
40985 #endif
40986
40987 int
40988 main ()
40989 {
40990 return f != localtime_r;
40991 ;
40992 return 0;
40993 }
40994 _ACEOF
40995 rm -f conftest.$ac_objext conftest$ac_exeext
40996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40997 (eval $ac_link) 2>conftest.er1
40998 ac_status=$?
40999 grep -v '^ *+' conftest.er1 >conftest.err
41000 rm -f conftest.er1
41001 cat conftest.err >&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); } &&
41004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41006 (eval $ac_try) 2>&5
41007 ac_status=$?
41008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); }; } &&
41010 { ac_try='test -s conftest$ac_exeext'
41011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41012 (eval $ac_try) 2>&5
41013 ac_status=$?
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); }; }; then
41016 ac_cv_func_localtime_r=yes
41017 else
41018 echo "$as_me: failed program was:" >&5
41019 sed 's/^/| /' conftest.$ac_ext >&5
41020
41021 ac_cv_func_localtime_r=no
41022 fi
41023 rm -f conftest.err conftest.$ac_objext \
41024 conftest$ac_exeext conftest.$ac_ext
41025 fi
41026 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41027 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41028 if test $ac_cv_func_localtime_r = yes; then
41029 cat >>confdefs.h <<\_ACEOF
41030 #define HAVE_LOCALTIME_R 1
41031 _ACEOF
41032
41033 fi
41034
41035 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41036 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41037 if test "${ac_cv_func_gmtime_r+set}" = set; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 else
41040 cat >conftest.$ac_ext <<_ACEOF
41041 /* confdefs.h. */
41042 _ACEOF
41043 cat confdefs.h >>conftest.$ac_ext
41044 cat >>conftest.$ac_ext <<_ACEOF
41045 /* end confdefs.h. */
41046 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41048 #define gmtime_r innocuous_gmtime_r
41049
41050 /* System header to define __stub macros and hopefully few prototypes,
41051 which can conflict with char gmtime_r (); below.
41052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41053 <limits.h> exists even on freestanding compilers. */
41054
41055 #ifdef __STDC__
41056 # include <limits.h>
41057 #else
41058 # include <assert.h>
41059 #endif
41060
41061 #undef gmtime_r
41062
41063 /* Override any gcc2 internal prototype to avoid an error. */
41064 #ifdef __cplusplus
41065 extern "C"
41066 {
41067 #endif
41068 /* We use char because int might match the return type of a gcc2
41069 builtin and then its argument prototype would still apply. */
41070 char gmtime_r ();
41071 /* The GNU C library defines this for functions which it implements
41072 to always fail with ENOSYS. Some functions are actually named
41073 something starting with __ and the normal name is an alias. */
41074 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41075 choke me
41076 #else
41077 char (*f) () = gmtime_r;
41078 #endif
41079 #ifdef __cplusplus
41080 }
41081 #endif
41082
41083 int
41084 main ()
41085 {
41086 return f != gmtime_r;
41087 ;
41088 return 0;
41089 }
41090 _ACEOF
41091 rm -f conftest.$ac_objext conftest$ac_exeext
41092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41093 (eval $ac_link) 2>conftest.er1
41094 ac_status=$?
41095 grep -v '^ *+' conftest.er1 >conftest.err
41096 rm -f conftest.er1
41097 cat conftest.err >&5
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); } &&
41100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41102 (eval $ac_try) 2>&5
41103 ac_status=$?
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); }; } &&
41106 { ac_try='test -s conftest$ac_exeext'
41107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108 (eval $ac_try) 2>&5
41109 ac_status=$?
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); }; }; then
41112 ac_cv_func_gmtime_r=yes
41113 else
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.$ac_ext >&5
41116
41117 ac_cv_func_gmtime_r=no
41118 fi
41119 rm -f conftest.err conftest.$ac_objext \
41120 conftest$ac_exeext conftest.$ac_ext
41121 fi
41122 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41123 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41124 if test $ac_cv_func_gmtime_r = yes; then
41125 cat >>confdefs.h <<\_ACEOF
41126 #define HAVE_GMTIME_R 1
41127 _ACEOF
41128
41129 fi
41130
41131 echo "$as_me:$LINENO: checking for readdir_r" >&5
41132 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41133 if test "${ac_cv_func_readdir_r+set}" = set; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41135 else
41136 cat >conftest.$ac_ext <<_ACEOF
41137 /* confdefs.h. */
41138 _ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41144 #define readdir_r innocuous_readdir_r
41145
41146 /* System header to define __stub macros and hopefully few prototypes,
41147 which can conflict with char readdir_r (); below.
41148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41149 <limits.h> exists even on freestanding compilers. */
41150
41151 #ifdef __STDC__
41152 # include <limits.h>
41153 #else
41154 # include <assert.h>
41155 #endif
41156
41157 #undef readdir_r
41158
41159 /* Override any gcc2 internal prototype to avoid an error. */
41160 #ifdef __cplusplus
41161 extern "C"
41162 {
41163 #endif
41164 /* We use char because int might match the return type of a gcc2
41165 builtin and then its argument prototype would still apply. */
41166 char readdir_r ();
41167 /* The GNU C library defines this for functions which it implements
41168 to always fail with ENOSYS. Some functions are actually named
41169 something starting with __ and the normal name is an alias. */
41170 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41171 choke me
41172 #else
41173 char (*f) () = readdir_r;
41174 #endif
41175 #ifdef __cplusplus
41176 }
41177 #endif
41178
41179 int
41180 main ()
41181 {
41182 return f != readdir_r;
41183 ;
41184 return 0;
41185 }
41186 _ACEOF
41187 rm -f conftest.$ac_objext conftest$ac_exeext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41189 (eval $ac_link) 2>conftest.er1
41190 ac_status=$?
41191 grep -v '^ *+' conftest.er1 >conftest.err
41192 rm -f conftest.er1
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } &&
41196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41199 ac_status=$?
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; } &&
41202 { ac_try='test -s conftest$ac_exeext'
41203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204 (eval $ac_try) 2>&5
41205 ac_status=$?
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); }; }; then
41208 ac_cv_func_readdir_r=yes
41209 else
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41212
41213 ac_cv_func_readdir_r=no
41214 fi
41215 rm -f conftest.err conftest.$ac_objext \
41216 conftest$ac_exeext conftest.$ac_ext
41217 fi
41218 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41219 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41220 if test $ac_cv_func_readdir_r = yes; then
41221 cat >>confdefs.h <<\_ACEOF
41222 #define HAVE_READDIR_R 1
41223 _ACEOF
41224
41225 fi
41226
41227
41228
41229
41230 ac_ext=c
41231 ac_cpp='$CPP $CPPFLAGS'
41232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41235
41236 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41237 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41238
41239 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41240 echo $ECHO_N "(cached) $ECHO_C" >&6
41241 else
41242
41243
41244 ################################################################
41245
41246 ac_cv_func_which_gethostbyname_r=unknown
41247
41248 #
41249 # ONE ARGUMENT (sanity check)
41250 #
41251
41252 # This should fail, as there is no variant of gethostbyname_r() that takes
41253 # a single argument. If it actually compiles, then we can assume that
41254 # netdb.h is not declaring the function, and the compiler is thereby
41255 # assuming an implicit prototype. In which case, we're out of luck.
41256 #
41257 cat >conftest.$ac_ext <<_ACEOF
41258 /* confdefs.h. */
41259 _ACEOF
41260 cat confdefs.h >>conftest.$ac_ext
41261 cat >>conftest.$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41263 #include <netdb.h>
41264 int
41265 main ()
41266 {
41267
41268 char *name = "www.gnu.org";
41269 (void)gethostbyname_r(name) /* ; */
41270
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 rm -f conftest.$ac_objext
41276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41277 (eval $ac_compile) 2>conftest.er1
41278 ac_status=$?
41279 grep -v '^ *+' conftest.er1 >conftest.err
41280 rm -f conftest.er1
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } &&
41284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41286 (eval $ac_try) 2>&5
41287 ac_status=$?
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); }; } &&
41290 { ac_try='test -s conftest.$ac_objext'
41291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41292 (eval $ac_try) 2>&5
41293 ac_status=$?
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); }; }; then
41296 ac_cv_func_which_gethostbyname_r=no
41297 else
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.$ac_ext >&5
41300
41301 fi
41302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41303
41304 #
41305 # SIX ARGUMENTS
41306 # (e.g. Linux)
41307 #
41308
41309 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41310
41311 cat >conftest.$ac_ext <<_ACEOF
41312 /* confdefs.h. */
41313 _ACEOF
41314 cat confdefs.h >>conftest.$ac_ext
41315 cat >>conftest.$ac_ext <<_ACEOF
41316 /* end confdefs.h. */
41317 #include <netdb.h>
41318 int
41319 main ()
41320 {
41321
41322 char *name = "www.gnu.org";
41323 struct hostent ret, *retp;
41324 char buf[1024];
41325 int buflen = 1024;
41326 int my_h_errno;
41327 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41328
41329 ;
41330 return 0;
41331 }
41332 _ACEOF
41333 rm -f conftest.$ac_objext
41334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41335 (eval $ac_compile) 2>conftest.er1
41336 ac_status=$?
41337 grep -v '^ *+' conftest.er1 >conftest.err
41338 rm -f conftest.er1
41339 cat conftest.err >&5
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); } &&
41342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41344 (eval $ac_try) 2>&5
41345 ac_status=$?
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); }; } &&
41348 { ac_try='test -s conftest.$ac_objext'
41349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41350 (eval $ac_try) 2>&5
41351 ac_status=$?
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); }; }; then
41354 ac_cv_func_which_gethostbyname_r=six
41355 else
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.$ac_ext >&5
41358
41359 fi
41360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41361
41362 fi
41363
41364 #
41365 # FIVE ARGUMENTS
41366 # (e.g. Solaris)
41367 #
41368
41369 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41370
41371 cat >conftest.$ac_ext <<_ACEOF
41372 /* confdefs.h. */
41373 _ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41377 #include <netdb.h>
41378 int
41379 main ()
41380 {
41381
41382 char *name = "www.gnu.org";
41383 struct hostent ret;
41384 char buf[1024];
41385 int buflen = 1024;
41386 int my_h_errno;
41387 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41388
41389 ;
41390 return 0;
41391 }
41392 _ACEOF
41393 rm -f conftest.$ac_objext
41394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41395 (eval $ac_compile) 2>conftest.er1
41396 ac_status=$?
41397 grep -v '^ *+' conftest.er1 >conftest.err
41398 rm -f conftest.er1
41399 cat conftest.err >&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); } &&
41402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41404 (eval $ac_try) 2>&5
41405 ac_status=$?
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); }; } &&
41408 { ac_try='test -s conftest.$ac_objext'
41409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41410 (eval $ac_try) 2>&5
41411 ac_status=$?
41412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41413 (exit $ac_status); }; }; then
41414 ac_cv_func_which_gethostbyname_r=five
41415 else
41416 echo "$as_me: failed program was:" >&5
41417 sed 's/^/| /' conftest.$ac_ext >&5
41418
41419 fi
41420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41421
41422 fi
41423
41424 #
41425 # THREE ARGUMENTS
41426 # (e.g. AIX, HP-UX, Tru64)
41427 #
41428
41429 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41430
41431 cat >conftest.$ac_ext <<_ACEOF
41432 /* confdefs.h. */
41433 _ACEOF
41434 cat confdefs.h >>conftest.$ac_ext
41435 cat >>conftest.$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41437 #include <netdb.h>
41438 int
41439 main ()
41440 {
41441
41442 char *name = "www.gnu.org";
41443 struct hostent ret;
41444 struct hostent_data data;
41445 (void)gethostbyname_r(name, &ret, &data) /* ; */
41446
41447 ;
41448 return 0;
41449 }
41450 _ACEOF
41451 rm -f conftest.$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453 (eval $ac_compile) 2>conftest.er1
41454 ac_status=$?
41455 grep -v '^ *+' conftest.er1 >conftest.err
41456 rm -f conftest.er1
41457 cat conftest.err >&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41463 ac_status=$?
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try='test -s conftest.$ac_objext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41469 ac_status=$?
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 ac_cv_func_which_gethostbyname_r=three
41473 else
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.$ac_ext >&5
41476
41477 fi
41478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41479
41480 fi
41481
41482 ################################################################
41483
41484
41485 fi
41486
41487 case "$ac_cv_func_which_gethostbyname_r" in
41488 three)
41489 echo "$as_me:$LINENO: result: three" >&5
41490 echo "${ECHO_T}three" >&6
41491 cat >>confdefs.h <<\_ACEOF
41492 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41493 _ACEOF
41494
41495 ;;
41496
41497 five)
41498 echo "$as_me:$LINENO: result: five" >&5
41499 echo "${ECHO_T}five" >&6
41500 cat >>confdefs.h <<\_ACEOF
41501 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41502 _ACEOF
41503
41504 ;;
41505
41506 six)
41507 echo "$as_me:$LINENO: result: six" >&5
41508 echo "${ECHO_T}six" >&6
41509 cat >>confdefs.h <<\_ACEOF
41510 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41511 _ACEOF
41512
41513 ;;
41514
41515 no)
41516 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41517 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41518 ;;
41519
41520 unknown)
41521 echo "$as_me:$LINENO: result: can't tell" >&5
41522 echo "${ECHO_T}can't tell" >&6
41523 ;;
41524
41525 *)
41526 { { echo "$as_me:$LINENO: error: internal error" >&5
41527 echo "$as_me: error: internal error" >&2;}
41528 { (exit 1); exit 1; }; }
41529 ;;
41530 esac
41531
41532 ac_ext=cc
41533 ac_cpp='$CXXCPP $CPPFLAGS'
41534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41537
41538
41539
41540 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41541 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41542 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41543 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41544 if test "${ac_cv_func_gethostbyname+set}" = set; then
41545 echo $ECHO_N "(cached) $ECHO_C" >&6
41546 else
41547 cat >conftest.$ac_ext <<_ACEOF
41548 /* confdefs.h. */
41549 _ACEOF
41550 cat confdefs.h >>conftest.$ac_ext
41551 cat >>conftest.$ac_ext <<_ACEOF
41552 /* end confdefs.h. */
41553 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41555 #define gethostbyname innocuous_gethostbyname
41556
41557 /* System header to define __stub macros and hopefully few prototypes,
41558 which can conflict with char gethostbyname (); below.
41559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41560 <limits.h> exists even on freestanding compilers. */
41561
41562 #ifdef __STDC__
41563 # include <limits.h>
41564 #else
41565 # include <assert.h>
41566 #endif
41567
41568 #undef gethostbyname
41569
41570 /* Override any gcc2 internal prototype to avoid an error. */
41571 #ifdef __cplusplus
41572 extern "C"
41573 {
41574 #endif
41575 /* We use char because int might match the return type of a gcc2
41576 builtin and then its argument prototype would still apply. */
41577 char gethostbyname ();
41578 /* The GNU C library defines this for functions which it implements
41579 to always fail with ENOSYS. Some functions are actually named
41580 something starting with __ and the normal name is an alias. */
41581 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41582 choke me
41583 #else
41584 char (*f) () = gethostbyname;
41585 #endif
41586 #ifdef __cplusplus
41587 }
41588 #endif
41589
41590 int
41591 main ()
41592 {
41593 return f != gethostbyname;
41594 ;
41595 return 0;
41596 }
41597 _ACEOF
41598 rm -f conftest.$ac_objext conftest$ac_exeext
41599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41600 (eval $ac_link) 2>conftest.er1
41601 ac_status=$?
41602 grep -v '^ *+' conftest.er1 >conftest.err
41603 rm -f conftest.er1
41604 cat conftest.err >&5
41605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41606 (exit $ac_status); } &&
41607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41609 (eval $ac_try) 2>&5
41610 ac_status=$?
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); }; } &&
41613 { ac_try='test -s conftest$ac_exeext'
41614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41615 (eval $ac_try) 2>&5
41616 ac_status=$?
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); }; }; then
41619 ac_cv_func_gethostbyname=yes
41620 else
41621 echo "$as_me: failed program was:" >&5
41622 sed 's/^/| /' conftest.$ac_ext >&5
41623
41624 ac_cv_func_gethostbyname=no
41625 fi
41626 rm -f conftest.err conftest.$ac_objext \
41627 conftest$ac_exeext conftest.$ac_ext
41628 fi
41629 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41630 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41631 if test $ac_cv_func_gethostbyname = yes; then
41632 cat >>confdefs.h <<\_ACEOF
41633 #define HAVE_GETHOSTBYNAME 1
41634 _ACEOF
41635
41636 fi
41637
41638 fi
41639
41640 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41641 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41642 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41643 echo $ECHO_N "(cached) $ECHO_C" >&6
41644 else
41645
41646 cat >conftest.$ac_ext <<_ACEOF
41647 /* confdefs.h. */
41648 _ACEOF
41649 cat confdefs.h >>conftest.$ac_ext
41650 cat >>conftest.$ac_ext <<_ACEOF
41651 /* end confdefs.h. */
41652 #include <netdb.h>
41653 int
41654 main ()
41655 {
41656
41657 char *name;
41658 char *proto;
41659 struct servent *se, *res;
41660 char buffer[2048];
41661 int buflen = 2048;
41662 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41663
41664 ;
41665 return 0;
41666 }
41667 _ACEOF
41668 rm -f conftest.$ac_objext
41669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41670 (eval $ac_compile) 2>conftest.er1
41671 ac_status=$?
41672 grep -v '^ *+' conftest.er1 >conftest.err
41673 rm -f conftest.er1
41674 cat conftest.err >&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); } &&
41677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41679 (eval $ac_try) 2>&5
41680 ac_status=$?
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); }; } &&
41683 { ac_try='test -s conftest.$ac_objext'
41684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41685 (eval $ac_try) 2>&5
41686 ac_status=$?
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); }; }; then
41689 ac_cv_func_which_getservbyname_r=six
41690 else
41691 echo "$as_me: failed program was:" >&5
41692 sed 's/^/| /' conftest.$ac_ext >&5
41693
41694
41695 cat >conftest.$ac_ext <<_ACEOF
41696 /* confdefs.h. */
41697 _ACEOF
41698 cat confdefs.h >>conftest.$ac_ext
41699 cat >>conftest.$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701 #include <netdb.h>
41702 int
41703 main ()
41704 {
41705
41706 char *name;
41707 char *proto;
41708 struct servent *se;
41709 char buffer[2048];
41710 int buflen = 2048;
41711 (void) getservbyname_r(name, proto, se, buffer, buflen)
41712
41713 ;
41714 return 0;
41715 }
41716 _ACEOF
41717 rm -f conftest.$ac_objext
41718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41719 (eval $ac_compile) 2>conftest.er1
41720 ac_status=$?
41721 grep -v '^ *+' conftest.er1 >conftest.err
41722 rm -f conftest.er1
41723 cat conftest.err >&5
41724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725 (exit $ac_status); } &&
41726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41728 (eval $ac_try) 2>&5
41729 ac_status=$?
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); }; } &&
41732 { ac_try='test -s conftest.$ac_objext'
41733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41734 (eval $ac_try) 2>&5
41735 ac_status=$?
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; }; then
41738 ac_cv_func_which_getservbyname_r=five
41739 else
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.$ac_ext >&5
41742
41743
41744 cat >conftest.$ac_ext <<_ACEOF
41745 /* confdefs.h. */
41746 _ACEOF
41747 cat confdefs.h >>conftest.$ac_ext
41748 cat >>conftest.$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41750 #include <netdb.h>
41751 int
41752 main ()
41753 {
41754
41755 char *name;
41756 char *proto;
41757 struct servent *se;
41758 struct servent_data data;
41759 (void) getservbyname_r(name, proto, se, &data);
41760
41761 ;
41762 return 0;
41763 }
41764 _ACEOF
41765 rm -f conftest.$ac_objext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41767 (eval $ac_compile) 2>conftest.er1
41768 ac_status=$?
41769 grep -v '^ *+' conftest.er1 >conftest.err
41770 rm -f conftest.er1
41771 cat conftest.err >&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); } &&
41774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41776 (eval $ac_try) 2>&5
41777 ac_status=$?
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); }; } &&
41780 { ac_try='test -s conftest.$ac_objext'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; }; then
41786 ac_cv_func_which_getservbyname_r=four
41787 else
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.$ac_ext >&5
41790
41791 ac_cv_func_which_getservbyname_r=no
41792
41793 fi
41794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41795
41796
41797 fi
41798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41799
41800
41801 fi
41802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41803
41804
41805 fi
41806 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41807 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41808
41809 if test $ac_cv_func_which_getservbyname_r = six; then
41810 cat >>confdefs.h <<\_ACEOF
41811 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41812 _ACEOF
41813
41814 elif test $ac_cv_func_which_getservbyname_r = five; then
41815 cat >>confdefs.h <<\_ACEOF
41816 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41817 _ACEOF
41818
41819 elif test $ac_cv_func_which_getservbyname_r = four; then
41820 cat >>confdefs.h <<\_ACEOF
41821 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41822 _ACEOF
41823
41824 fi
41825
41826
41827 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41828 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41829
41830 for ac_func in getservbyname
41831 do
41832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41833 echo "$as_me:$LINENO: checking for $ac_func" >&5
41834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41835 if eval "test \"\${$as_ac_var+set}\" = set"; then
41836 echo $ECHO_N "(cached) $ECHO_C" >&6
41837 else
41838 cat >conftest.$ac_ext <<_ACEOF
41839 /* confdefs.h. */
41840 _ACEOF
41841 cat confdefs.h >>conftest.$ac_ext
41842 cat >>conftest.$ac_ext <<_ACEOF
41843 /* end confdefs.h. */
41844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41846 #define $ac_func innocuous_$ac_func
41847
41848 /* System header to define __stub macros and hopefully few prototypes,
41849 which can conflict with char $ac_func (); below.
41850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41851 <limits.h> exists even on freestanding compilers. */
41852
41853 #ifdef __STDC__
41854 # include <limits.h>
41855 #else
41856 # include <assert.h>
41857 #endif
41858
41859 #undef $ac_func
41860
41861 /* Override any gcc2 internal prototype to avoid an error. */
41862 #ifdef __cplusplus
41863 extern "C"
41864 {
41865 #endif
41866 /* We use char because int might match the return type of a gcc2
41867 builtin and then its argument prototype would still apply. */
41868 char $ac_func ();
41869 /* The GNU C library defines this for functions which it implements
41870 to always fail with ENOSYS. Some functions are actually named
41871 something starting with __ and the normal name is an alias. */
41872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41873 choke me
41874 #else
41875 char (*f) () = $ac_func;
41876 #endif
41877 #ifdef __cplusplus
41878 }
41879 #endif
41880
41881 int
41882 main ()
41883 {
41884 return f != $ac_func;
41885 ;
41886 return 0;
41887 }
41888 _ACEOF
41889 rm -f conftest.$ac_objext conftest$ac_exeext
41890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41891 (eval $ac_link) 2>conftest.er1
41892 ac_status=$?
41893 grep -v '^ *+' conftest.er1 >conftest.err
41894 rm -f conftest.er1
41895 cat conftest.err >&5
41896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41897 (exit $ac_status); } &&
41898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41900 (eval $ac_try) 2>&5
41901 ac_status=$?
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); }; } &&
41904 { ac_try='test -s conftest$ac_exeext'
41905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41906 (eval $ac_try) 2>&5
41907 ac_status=$?
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); }; }; then
41910 eval "$as_ac_var=yes"
41911 else
41912 echo "$as_me: failed program was:" >&5
41913 sed 's/^/| /' conftest.$ac_ext >&5
41914
41915 eval "$as_ac_var=no"
41916 fi
41917 rm -f conftest.err conftest.$ac_objext \
41918 conftest$ac_exeext conftest.$ac_ext
41919 fi
41920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41922 if test `eval echo '${'$as_ac_var'}'` = yes; then
41923 cat >>confdefs.h <<_ACEOF
41924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41925 _ACEOF
41926 cat >>confdefs.h <<\_ACEOF
41927 #define HAVE_GETSERVBYNAME 1
41928 _ACEOF
41929
41930 fi
41931 done
41932
41933 fi
41934
41935 if test "$wxUSE_THREADS" = "yes"; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define wxUSE_THREADS 1
41938 _ACEOF
41939
41940
41941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41942 else
41943 if test "$wx_cv_func_strtok_r" = "yes"; then
41944 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41945 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41946 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41947 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41948 echo "$as_me:$LINENO: result: yes" >&5
41949 echo "${ECHO_T}yes" >&6
41950 else
41951 echo "$as_me:$LINENO: result: no" >&5
41952 echo "${ECHO_T}no" >&6
41953 fi
41954 fi
41955 fi
41956
41957 if test "$WXGTK20" = 1 ; then
41958 cat >>confdefs.h <<_ACEOF
41959 #define __WXGTK20__ $WXGTK20
41960 _ACEOF
41961
41962 WXGTK12=1
41963 fi
41964
41965 if test "$WXGTK12" = 1 ; then
41966 cat >>confdefs.h <<_ACEOF
41967 #define __WXGTK12__ $WXGTK12
41968 _ACEOF
41969
41970 fi
41971
41972 if test "$WXGTK127" = 1 ; then
41973 cat >>confdefs.h <<_ACEOF
41974 #define __WXGTK127__ $WXGTK127
41975 _ACEOF
41976
41977 fi
41978
41979 if test "$WXGPE" = 1 ; then
41980 cat >>confdefs.h <<_ACEOF
41981 #define __WXGPE__ $WXGPE
41982 _ACEOF
41983
41984 fi
41985
41986 DEBUG_CFLAGS=
41987 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41988 DEBUG_CFLAGS="-g"
41989 wxUSE_OPTIMISE=no
41990 fi
41991
41992 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41993 wxUSE_DEBUG_INFO=yes
41994 if test "$GCC" = yes; then
41995 DEBUG_CFLAGS="-ggdb"
41996 fi
41997 fi
41998
41999 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42000 cat >>confdefs.h <<\_ACEOF
42001 #define WXDEBUG 1
42002 _ACEOF
42003
42004 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42005 else
42006 if test "$wxUSE_GTK" = 1 ; then
42007 if test "x$wxGTK_VERSION" = "x1" ; then
42008 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42009 fi
42010 fi
42011 fi
42012
42013 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42014 cat >>confdefs.h <<\_ACEOF
42015 #define wxUSE_MEMORY_TRACING 1
42016 _ACEOF
42017
42018 cat >>confdefs.h <<\_ACEOF
42019 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42020 _ACEOF
42021
42022 cat >>confdefs.h <<\_ACEOF
42023 #define wxUSE_DEBUG_NEW_ALWAYS 1
42024 _ACEOF
42025
42026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42027 fi
42028
42029 if test "$wxUSE_DMALLOC" = "yes" ; then
42030 DMALLOC_LIBS="-ldmallocthcxx"
42031 fi
42032
42033 PROFILE_FLAGS=
42034 if test "$wxUSE_PROFILE" = "yes" ; then
42035 PROFILE_FLAGS=" -pg"
42036 fi
42037
42038 if test "$GCC" = "yes" ; then
42039 if test "$wxUSE_NO_RTTI" = "yes" ; then
42040 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42041 fi
42042 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42043 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42044 fi
42045 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42046 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42047 fi
42048
42049 case "${host}" in
42050 powerpc*-*-aix* )
42051 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42052 ;;
42053 *-hppa* )
42054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42055 ;;
42056 esac
42057 fi
42058
42059 OPTIMISE_CFLAGS=
42060 if test "$wxUSE_OPTIMISE" = "no" ; then
42061 if test "$GCC" = yes ; then
42062 OPTIMISE_CFLAGS="-O0"
42063 fi
42064 else
42065 if test "$GCC" = yes ; then
42066 case "${host}" in
42067 *-pc-os2_emx | *-pc-os2-emx )
42068 OPTIMISE_CFLAGS="-O2"
42069 ;;
42070 *)
42071 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42072 ;;
42073 esac
42074 else
42075 OPTIMISE_CFLAGS="-O"
42076 fi
42077 fi
42078
42079
42080 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42081 cat >>confdefs.h <<\_ACEOF
42082 #define WXWIN_COMPATIBILITY_2_4 1
42083 _ACEOF
42084
42085
42086 WXWIN_COMPATIBILITY_2_6="yes"
42087 fi
42088
42089 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define WXWIN_COMPATIBILITY_2_6 1
42092 _ACEOF
42093
42094 fi
42095
42096
42097 if test "$wxUSE_GUI" = "yes"; then
42098 cat >>confdefs.h <<\_ACEOF
42099 #define wxUSE_GUI 1
42100 _ACEOF
42101
42102
42103 fi
42104
42105
42106 if test "$wxUSE_UNIX" = "yes"; then
42107 cat >>confdefs.h <<\_ACEOF
42108 #define wxUSE_UNIX 1
42109 _ACEOF
42110
42111 fi
42112
42113
42114 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42115
42116 HAVE_DL_FUNCS=0
42117 HAVE_SHL_FUNCS=0
42118 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42119 if test "$USE_DARWIN" = 1; then
42120 HAVE_DL_FUNCS=1
42121 elif test "$USE_DOS" = 1; then
42122 HAVE_DL_FUNCS=0
42123 else
42124
42125 for ac_func in dlopen
42126 do
42127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42128 echo "$as_me:$LINENO: checking for $ac_func" >&5
42129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42130 if eval "test \"\${$as_ac_var+set}\" = set"; then
42131 echo $ECHO_N "(cached) $ECHO_C" >&6
42132 else
42133 cat >conftest.$ac_ext <<_ACEOF
42134 /* confdefs.h. */
42135 _ACEOF
42136 cat confdefs.h >>conftest.$ac_ext
42137 cat >>conftest.$ac_ext <<_ACEOF
42138 /* end confdefs.h. */
42139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42141 #define $ac_func innocuous_$ac_func
42142
42143 /* System header to define __stub macros and hopefully few prototypes,
42144 which can conflict with char $ac_func (); below.
42145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42146 <limits.h> exists even on freestanding compilers. */
42147
42148 #ifdef __STDC__
42149 # include <limits.h>
42150 #else
42151 # include <assert.h>
42152 #endif
42153
42154 #undef $ac_func
42155
42156 /* Override any gcc2 internal prototype to avoid an error. */
42157 #ifdef __cplusplus
42158 extern "C"
42159 {
42160 #endif
42161 /* We use char because int might match the return type of a gcc2
42162 builtin and then its argument prototype would still apply. */
42163 char $ac_func ();
42164 /* The GNU C library defines this for functions which it implements
42165 to always fail with ENOSYS. Some functions are actually named
42166 something starting with __ and the normal name is an alias. */
42167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42168 choke me
42169 #else
42170 char (*f) () = $ac_func;
42171 #endif
42172 #ifdef __cplusplus
42173 }
42174 #endif
42175
42176 int
42177 main ()
42178 {
42179 return f != $ac_func;
42180 ;
42181 return 0;
42182 }
42183 _ACEOF
42184 rm -f conftest.$ac_objext conftest$ac_exeext
42185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42186 (eval $ac_link) 2>conftest.er1
42187 ac_status=$?
42188 grep -v '^ *+' conftest.er1 >conftest.err
42189 rm -f conftest.er1
42190 cat conftest.err >&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } &&
42193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42195 (eval $ac_try) 2>&5
42196 ac_status=$?
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); }; } &&
42199 { ac_try='test -s conftest$ac_exeext'
42200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42201 (eval $ac_try) 2>&5
42202 ac_status=$?
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); }; }; then
42205 eval "$as_ac_var=yes"
42206 else
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42209
42210 eval "$as_ac_var=no"
42211 fi
42212 rm -f conftest.err conftest.$ac_objext \
42213 conftest$ac_exeext conftest.$ac_ext
42214 fi
42215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42217 if test `eval echo '${'$as_ac_var'}'` = yes; then
42218 cat >>confdefs.h <<_ACEOF
42219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42220 _ACEOF
42221
42222 cat >>confdefs.h <<\_ACEOF
42223 #define HAVE_DLOPEN 1
42224 _ACEOF
42225
42226 HAVE_DL_FUNCS=1
42227
42228 else
42229
42230 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42231 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42232 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42233 echo $ECHO_N "(cached) $ECHO_C" >&6
42234 else
42235 ac_check_lib_save_LIBS=$LIBS
42236 LIBS="-ldl $LIBS"
42237 cat >conftest.$ac_ext <<_ACEOF
42238 /* confdefs.h. */
42239 _ACEOF
42240 cat confdefs.h >>conftest.$ac_ext
42241 cat >>conftest.$ac_ext <<_ACEOF
42242 /* end confdefs.h. */
42243
42244 /* Override any gcc2 internal prototype to avoid an error. */
42245 #ifdef __cplusplus
42246 extern "C"
42247 #endif
42248 /* We use char because int might match the return type of a gcc2
42249 builtin and then its argument prototype would still apply. */
42250 char dlopen ();
42251 int
42252 main ()
42253 {
42254 dlopen ();
42255 ;
42256 return 0;
42257 }
42258 _ACEOF
42259 rm -f conftest.$ac_objext conftest$ac_exeext
42260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42261 (eval $ac_link) 2>conftest.er1
42262 ac_status=$?
42263 grep -v '^ *+' conftest.er1 >conftest.err
42264 rm -f conftest.er1
42265 cat conftest.err >&5
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); } &&
42268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42270 (eval $ac_try) 2>&5
42271 ac_status=$?
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); }; } &&
42274 { ac_try='test -s conftest$ac_exeext'
42275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42276 (eval $ac_try) 2>&5
42277 ac_status=$?
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); }; }; then
42280 ac_cv_lib_dl_dlopen=yes
42281 else
42282 echo "$as_me: failed program was:" >&5
42283 sed 's/^/| /' conftest.$ac_ext >&5
42284
42285 ac_cv_lib_dl_dlopen=no
42286 fi
42287 rm -f conftest.err conftest.$ac_objext \
42288 conftest$ac_exeext conftest.$ac_ext
42289 LIBS=$ac_check_lib_save_LIBS
42290 fi
42291 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42292 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42293 if test $ac_cv_lib_dl_dlopen = yes; then
42294
42295 cat >>confdefs.h <<\_ACEOF
42296 #define HAVE_DLOPEN 1
42297 _ACEOF
42298
42299 HAVE_DL_FUNCS=1
42300 DL_LINK=" -ldl$DL_LINK"
42301
42302 else
42303
42304
42305 for ac_func in shl_load
42306 do
42307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42308 echo "$as_me:$LINENO: checking for $ac_func" >&5
42309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42310 if eval "test \"\${$as_ac_var+set}\" = set"; then
42311 echo $ECHO_N "(cached) $ECHO_C" >&6
42312 else
42313 cat >conftest.$ac_ext <<_ACEOF
42314 /* confdefs.h. */
42315 _ACEOF
42316 cat confdefs.h >>conftest.$ac_ext
42317 cat >>conftest.$ac_ext <<_ACEOF
42318 /* end confdefs.h. */
42319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42321 #define $ac_func innocuous_$ac_func
42322
42323 /* System header to define __stub macros and hopefully few prototypes,
42324 which can conflict with char $ac_func (); below.
42325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42326 <limits.h> exists even on freestanding compilers. */
42327
42328 #ifdef __STDC__
42329 # include <limits.h>
42330 #else
42331 # include <assert.h>
42332 #endif
42333
42334 #undef $ac_func
42335
42336 /* Override any gcc2 internal prototype to avoid an error. */
42337 #ifdef __cplusplus
42338 extern "C"
42339 {
42340 #endif
42341 /* We use char because int might match the return type of a gcc2
42342 builtin and then its argument prototype would still apply. */
42343 char $ac_func ();
42344 /* The GNU C library defines this for functions which it implements
42345 to always fail with ENOSYS. Some functions are actually named
42346 something starting with __ and the normal name is an alias. */
42347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42348 choke me
42349 #else
42350 char (*f) () = $ac_func;
42351 #endif
42352 #ifdef __cplusplus
42353 }
42354 #endif
42355
42356 int
42357 main ()
42358 {
42359 return f != $ac_func;
42360 ;
42361 return 0;
42362 }
42363 _ACEOF
42364 rm -f conftest.$ac_objext conftest$ac_exeext
42365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42366 (eval $ac_link) 2>conftest.er1
42367 ac_status=$?
42368 grep -v '^ *+' conftest.er1 >conftest.err
42369 rm -f conftest.er1
42370 cat conftest.err >&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } &&
42373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42375 (eval $ac_try) 2>&5
42376 ac_status=$?
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); }; } &&
42379 { ac_try='test -s conftest$ac_exeext'
42380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42381 (eval $ac_try) 2>&5
42382 ac_status=$?
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); }; }; then
42385 eval "$as_ac_var=yes"
42386 else
42387 echo "$as_me: failed program was:" >&5
42388 sed 's/^/| /' conftest.$ac_ext >&5
42389
42390 eval "$as_ac_var=no"
42391 fi
42392 rm -f conftest.err conftest.$ac_objext \
42393 conftest$ac_exeext conftest.$ac_ext
42394 fi
42395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42397 if test `eval echo '${'$as_ac_var'}'` = yes; then
42398 cat >>confdefs.h <<_ACEOF
42399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42400 _ACEOF
42401
42402 cat >>confdefs.h <<\_ACEOF
42403 #define HAVE_SHL_LOAD 1
42404 _ACEOF
42405
42406 HAVE_SHL_FUNCS=1
42407
42408 else
42409
42410 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42411 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42412 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42413 echo $ECHO_N "(cached) $ECHO_C" >&6
42414 else
42415 ac_check_lib_save_LIBS=$LIBS
42416 LIBS="-lshl_load $LIBS"
42417 cat >conftest.$ac_ext <<_ACEOF
42418 /* confdefs.h. */
42419 _ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423
42424 /* Override any gcc2 internal prototype to avoid an error. */
42425 #ifdef __cplusplus
42426 extern "C"
42427 #endif
42428 /* We use char because int might match the return type of a gcc2
42429 builtin and then its argument prototype would still apply. */
42430 char dld ();
42431 int
42432 main ()
42433 {
42434 dld ();
42435 ;
42436 return 0;
42437 }
42438 _ACEOF
42439 rm -f conftest.$ac_objext conftest$ac_exeext
42440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42441 (eval $ac_link) 2>conftest.er1
42442 ac_status=$?
42443 grep -v '^ *+' conftest.er1 >conftest.err
42444 rm -f conftest.er1
42445 cat conftest.err >&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } &&
42448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42450 (eval $ac_try) 2>&5
42451 ac_status=$?
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; } &&
42454 { ac_try='test -s conftest$ac_exeext'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42457 ac_status=$?
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; }; then
42460 ac_cv_lib_shl_load_dld=yes
42461 else
42462 echo "$as_me: failed program was:" >&5
42463 sed 's/^/| /' conftest.$ac_ext >&5
42464
42465 ac_cv_lib_shl_load_dld=no
42466 fi
42467 rm -f conftest.err conftest.$ac_objext \
42468 conftest$ac_exeext conftest.$ac_ext
42469 LIBS=$ac_check_lib_save_LIBS
42470 fi
42471 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42472 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42473 if test $ac_cv_lib_shl_load_dld = yes; then
42474
42475 HAVE_SHL_FUNCS=1
42476 DL_LINK=" -ldld$DL_LINK"
42477
42478 fi
42479
42480
42481 fi
42482 done
42483
42484
42485 fi
42486
42487
42488 fi
42489 done
42490
42491
42492 if test "$HAVE_DL_FUNCS" = 1; then
42493
42494 for ac_func in dlerror
42495 do
42496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42497 echo "$as_me:$LINENO: checking for $ac_func" >&5
42498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42499 if eval "test \"\${$as_ac_var+set}\" = set"; then
42500 echo $ECHO_N "(cached) $ECHO_C" >&6
42501 else
42502 cat >conftest.$ac_ext <<_ACEOF
42503 /* confdefs.h. */
42504 _ACEOF
42505 cat confdefs.h >>conftest.$ac_ext
42506 cat >>conftest.$ac_ext <<_ACEOF
42507 /* end confdefs.h. */
42508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42510 #define $ac_func innocuous_$ac_func
42511
42512 /* System header to define __stub macros and hopefully few prototypes,
42513 which can conflict with char $ac_func (); below.
42514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42515 <limits.h> exists even on freestanding compilers. */
42516
42517 #ifdef __STDC__
42518 # include <limits.h>
42519 #else
42520 # include <assert.h>
42521 #endif
42522
42523 #undef $ac_func
42524
42525 /* Override any gcc2 internal prototype to avoid an error. */
42526 #ifdef __cplusplus
42527 extern "C"
42528 {
42529 #endif
42530 /* We use char because int might match the return type of a gcc2
42531 builtin and then its argument prototype would still apply. */
42532 char $ac_func ();
42533 /* The GNU C library defines this for functions which it implements
42534 to always fail with ENOSYS. Some functions are actually named
42535 something starting with __ and the normal name is an alias. */
42536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42537 choke me
42538 #else
42539 char (*f) () = $ac_func;
42540 #endif
42541 #ifdef __cplusplus
42542 }
42543 #endif
42544
42545 int
42546 main ()
42547 {
42548 return f != $ac_func;
42549 ;
42550 return 0;
42551 }
42552 _ACEOF
42553 rm -f conftest.$ac_objext conftest$ac_exeext
42554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42555 (eval $ac_link) 2>conftest.er1
42556 ac_status=$?
42557 grep -v '^ *+' conftest.er1 >conftest.err
42558 rm -f conftest.er1
42559 cat conftest.err >&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } &&
42562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42564 (eval $ac_try) 2>&5
42565 ac_status=$?
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); }; } &&
42568 { ac_try='test -s conftest$ac_exeext'
42569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42570 (eval $ac_try) 2>&5
42571 ac_status=$?
42572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42573 (exit $ac_status); }; }; then
42574 eval "$as_ac_var=yes"
42575 else
42576 echo "$as_me: failed program was:" >&5
42577 sed 's/^/| /' conftest.$ac_ext >&5
42578
42579 eval "$as_ac_var=no"
42580 fi
42581 rm -f conftest.err conftest.$ac_objext \
42582 conftest$ac_exeext conftest.$ac_ext
42583 fi
42584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42586 if test `eval echo '${'$as_ac_var'}'` = yes; then
42587 cat >>confdefs.h <<_ACEOF
42588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42589 _ACEOF
42590 cat >>confdefs.h <<\_ACEOF
42591 #define HAVE_DLERROR 1
42592 _ACEOF
42593
42594 else
42595
42596 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42597 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42598 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42599 echo $ECHO_N "(cached) $ECHO_C" >&6
42600 else
42601 ac_check_lib_save_LIBS=$LIBS
42602 LIBS="-ldl $LIBS"
42603 cat >conftest.$ac_ext <<_ACEOF
42604 /* confdefs.h. */
42605 _ACEOF
42606 cat confdefs.h >>conftest.$ac_ext
42607 cat >>conftest.$ac_ext <<_ACEOF
42608 /* end confdefs.h. */
42609
42610 /* Override any gcc2 internal prototype to avoid an error. */
42611 #ifdef __cplusplus
42612 extern "C"
42613 #endif
42614 /* We use char because int might match the return type of a gcc2
42615 builtin and then its argument prototype would still apply. */
42616 char dlerror ();
42617 int
42618 main ()
42619 {
42620 dlerror ();
42621 ;
42622 return 0;
42623 }
42624 _ACEOF
42625 rm -f conftest.$ac_objext conftest$ac_exeext
42626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42627 (eval $ac_link) 2>conftest.er1
42628 ac_status=$?
42629 grep -v '^ *+' conftest.er1 >conftest.err
42630 rm -f conftest.er1
42631 cat conftest.err >&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } &&
42634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42637 ac_status=$?
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; } &&
42640 { ac_try='test -s conftest$ac_exeext'
42641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42642 (eval $ac_try) 2>&5
42643 ac_status=$?
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; }; then
42646 ac_cv_lib_dl_dlerror=yes
42647 else
42648 echo "$as_me: failed program was:" >&5
42649 sed 's/^/| /' conftest.$ac_ext >&5
42650
42651 ac_cv_lib_dl_dlerror=no
42652 fi
42653 rm -f conftest.err conftest.$ac_objext \
42654 conftest$ac_exeext conftest.$ac_ext
42655 LIBS=$ac_check_lib_save_LIBS
42656 fi
42657 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42658 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42659 if test $ac_cv_lib_dl_dlerror = yes; then
42660 cat >>confdefs.h <<\_ACEOF
42661 #define HAVE_DLERROR 1
42662 _ACEOF
42663
42664 fi
42665
42666
42667
42668 fi
42669 done
42670
42671 fi
42672 fi
42673
42674 if test "$HAVE_DL_FUNCS" = 0; then
42675 if test "$HAVE_SHL_FUNCS" = 0; then
42676 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42677 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42678 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42679 wxUSE_DYNAMIC_LOADER=no
42680 wxUSE_DYNLIB_CLASS=no
42681 else
42682 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42683 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42684 fi
42685 fi
42686 fi
42687 fi
42688 fi
42689
42690 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define wxUSE_DYNAMIC_LOADER 1
42693 _ACEOF
42694
42695 fi
42696 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42697 cat >>confdefs.h <<\_ACEOF
42698 #define wxUSE_DYNLIB_CLASS 1
42699 _ACEOF
42700
42701 fi
42702
42703
42704
42705 if test "$wxUSE_PLUGINS" = "yes" ; then
42706 if test "$wxUSE_SHARED" = "no" ; then
42707 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42708 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42709 wxUSE_PLUGINS=no
42710 fi
42711 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42712 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42713 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42714 wxUSE_PLUGINS=no
42715 fi
42716 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42717 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42718 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42719 wxUSE_PLUGINS=no
42720 fi
42721 if test "$wxUSE_PLUGINS" = "yes" ; then
42722 cat >>confdefs.h <<\_ACEOF
42723 #define wxUSE_PLUGINS 1
42724 _ACEOF
42725
42726 fi
42727 fi
42728
42729
42730 if test "$wxUSE_STL" = "yes"; then
42731 cat >>confdefs.h <<\_ACEOF
42732 #define wxUSE_STL 1
42733 _ACEOF
42734
42735 fi
42736
42737 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42738 cat >>confdefs.h <<\_ACEOF
42739 #define wxUSE_APPLE_IEEE 1
42740 _ACEOF
42741
42742 fi
42743
42744 if test "$wxUSE_TIMER" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_TIMER 1
42747 _ACEOF
42748
42749 fi
42750
42751 if test "$USE_UNIX" = "1" ; then
42752 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42753 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42754 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42756 else
42757
42758 cat >conftest.$ac_ext <<_ACEOF
42759 /* confdefs.h. */
42760 _ACEOF
42761 cat confdefs.h >>conftest.$ac_ext
42762 cat >>conftest.$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42764
42765 #include <sys/ioctl.h>
42766 #include <sys/soundcard.h>
42767
42768 int
42769 main ()
42770 {
42771
42772 ioctl(0, SNDCTL_DSP_SPEED, 0);
42773
42774 ;
42775 return 0;
42776 }
42777 _ACEOF
42778 rm -f conftest.$ac_objext conftest$ac_exeext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42780 (eval $ac_link) 2>conftest.er1
42781 ac_status=$?
42782 grep -v '^ *+' conftest.er1 >conftest.err
42783 rm -f conftest.er1
42784 cat conftest.err >&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); } &&
42787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42789 (eval $ac_try) 2>&5
42790 ac_status=$?
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); }; } &&
42793 { ac_try='test -s conftest$ac_exeext'
42794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42795 (eval $ac_try) 2>&5
42796 ac_status=$?
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 ac_cv_header_sys_soundcard=yes
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42803
42804
42805 saveLibs="$LIBS"
42806 LIBS="$saveLibs -lossaudio"
42807 cat >conftest.$ac_ext <<_ACEOF
42808 /* confdefs.h. */
42809 _ACEOF
42810 cat confdefs.h >>conftest.$ac_ext
42811 cat >>conftest.$ac_ext <<_ACEOF
42812 /* end confdefs.h. */
42813
42814 #include <sys/ioctl.h>
42815 #include <sys/soundcard.h>
42816
42817 int
42818 main ()
42819 {
42820
42821 ioctl(0, SNDCTL_DSP_SPEED, 0);
42822
42823 ;
42824 return 0;
42825 }
42826 _ACEOF
42827 rm -f conftest.$ac_objext conftest$ac_exeext
42828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42829 (eval $ac_link) 2>conftest.er1
42830 ac_status=$?
42831 grep -v '^ *+' conftest.er1 >conftest.err
42832 rm -f conftest.er1
42833 cat conftest.err >&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); } &&
42836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838 (eval $ac_try) 2>&5
42839 ac_status=$?
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); }; } &&
42842 { ac_try='test -s conftest$ac_exeext'
42843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42844 (eval $ac_try) 2>&5
42845 ac_status=$?
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); }; }; then
42848 ac_cv_header_sys_soundcard=yes
42849 else
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.$ac_ext >&5
42852
42853
42854 LIBS="$saveLibs"
42855 ac_cv_header_sys_soundcard=no
42856
42857
42858 fi
42859 rm -f conftest.err conftest.$ac_objext \
42860 conftest$ac_exeext conftest.$ac_ext
42861
42862
42863 fi
42864 rm -f conftest.err conftest.$ac_objext \
42865 conftest$ac_exeext conftest.$ac_ext
42866
42867 fi
42868 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42869 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42870
42871 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42872 cat >>confdefs.h <<\_ACEOF
42873 #define HAVE_SYS_SOUNDCARD_H 1
42874 _ACEOF
42875
42876 else
42877 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42878 fi
42879 fi
42880 WITH_PLUGIN_SDL=0
42881 if test "$wxUSE_SOUND" = "yes"; then
42882 if test "$USE_UNIX" = "1" ; then
42883 if test "$wxUSE_LIBSDL" != "no"; then
42884
42885 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42886 if test "${with_sdl_prefix+set}" = set; then
42887 withval="$with_sdl_prefix"
42888 sdl_prefix="$withval"
42889 else
42890 sdl_prefix=""
42891 fi;
42892
42893 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42894 if test "${with_sdl_exec_prefix+set}" = set; then
42895 withval="$with_sdl_exec_prefix"
42896 sdl_exec_prefix="$withval"
42897 else
42898 sdl_exec_prefix=""
42899 fi;
42900 # Check whether --enable-sdltest or --disable-sdltest was given.
42901 if test "${enable_sdltest+set}" = set; then
42902 enableval="$enable_sdltest"
42903
42904 else
42905 enable_sdltest=yes
42906 fi;
42907
42908 if test x$sdl_exec_prefix != x ; then
42909 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42910 if test x${SDL_CONFIG+set} != xset ; then
42911 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42912 fi
42913 fi
42914 if test x$sdl_prefix != x ; then
42915 sdl_args="$sdl_args --prefix=$sdl_prefix"
42916 if test x${SDL_CONFIG+set} != xset ; then
42917 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42918 fi
42919 fi
42920
42921 if test "x$prefix" != xNONE; then
42922 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42923 fi
42924 # Extract the first word of "sdl-config", so it can be a program name with args.
42925 set dummy sdl-config; ac_word=$2
42926 echo "$as_me:$LINENO: checking for $ac_word" >&5
42927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42928 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42929 echo $ECHO_N "(cached) $ECHO_C" >&6
42930 else
42931 case $SDL_CONFIG in
42932 [\\/]* | ?:[\\/]*)
42933 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42934 ;;
42935 *)
42936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42937 for as_dir in $PATH
42938 do
42939 IFS=$as_save_IFS
42940 test -z "$as_dir" && as_dir=.
42941 for ac_exec_ext in '' $ac_executable_extensions; do
42942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42943 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42945 break 2
42946 fi
42947 done
42948 done
42949
42950 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42951 ;;
42952 esac
42953 fi
42954 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42955
42956 if test -n "$SDL_CONFIG"; then
42957 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42958 echo "${ECHO_T}$SDL_CONFIG" >&6
42959 else
42960 echo "$as_me:$LINENO: result: no" >&5
42961 echo "${ECHO_T}no" >&6
42962 fi
42963
42964 min_sdl_version=1.2.0
42965 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42966 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42967 no_sdl=""
42968 if test "$SDL_CONFIG" = "no" ; then
42969 no_sdl=yes
42970 else
42971 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42972 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42973
42974 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42976 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42978 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42980 if test "x$enable_sdltest" = "xyes" ; then
42981 ac_save_CFLAGS="$CFLAGS"
42982 ac_save_CXXFLAGS="$CXXFLAGS"
42983 ac_save_LIBS="$LIBS"
42984 CFLAGS="$CFLAGS $SDL_CFLAGS"
42985 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42986 LIBS="$LIBS $SDL_LIBS"
42987 rm -f conf.sdltest
42988 if test "$cross_compiling" = yes; then
42989 echo $ac_n "cross compiling; assumed OK... $ac_c"
42990 else
42991 cat >conftest.$ac_ext <<_ACEOF
42992 /* confdefs.h. */
42993 _ACEOF
42994 cat confdefs.h >>conftest.$ac_ext
42995 cat >>conftest.$ac_ext <<_ACEOF
42996 /* end confdefs.h. */
42997
42998 #include <stdio.h>
42999 #include <stdlib.h>
43000 #include <string.h>
43001 #include "SDL.h"
43002
43003 char*
43004 my_strdup (char *str)
43005 {
43006 char *new_str;
43007
43008 if (str)
43009 {
43010 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43011 strcpy (new_str, str);
43012 }
43013 else
43014 new_str = NULL;
43015
43016 return new_str;
43017 }
43018
43019 int main (int argc, char *argv[])
43020 {
43021 int major, minor, micro;
43022 char *tmp_version;
43023
43024 /* This hangs on some systems (?)
43025 system ("touch conf.sdltest");
43026 */
43027 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43028
43029 /* HP/UX 9 (%@#!) writes to sscanf strings */
43030 tmp_version = my_strdup("$min_sdl_version");
43031 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43032 printf("%s, bad version string\n", "$min_sdl_version");
43033 exit(1);
43034 }
43035
43036 if (($sdl_major_version > major) ||
43037 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43038 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43039 {
43040 return 0;
43041 }
43042 else
43043 {
43044 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43045 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43046 printf("*** best to upgrade to the required version.\n");
43047 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43048 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43049 printf("*** config.cache before re-running configure\n");
43050 return 1;
43051 }
43052 }
43053
43054
43055 _ACEOF
43056 rm -f conftest$ac_exeext
43057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43058 (eval $ac_link) 2>&5
43059 ac_status=$?
43060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43064 ac_status=$?
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; }; then
43067 :
43068 else
43069 echo "$as_me: program exited with status $ac_status" >&5
43070 echo "$as_me: failed program was:" >&5
43071 sed 's/^/| /' conftest.$ac_ext >&5
43072
43073 ( exit $ac_status )
43074 no_sdl=yes
43075 fi
43076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43077 fi
43078 CFLAGS="$ac_save_CFLAGS"
43079 CXXFLAGS="$ac_save_CXXFLAGS"
43080 LIBS="$ac_save_LIBS"
43081 fi
43082 fi
43083 if test "x$no_sdl" = x ; then
43084 echo "$as_me:$LINENO: result: yes" >&5
43085 echo "${ECHO_T}yes" >&6
43086
43087 EXTRALIBS_SDL="$SDL_LIBS"
43088 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43089 cat >>confdefs.h <<\_ACEOF
43090 #define wxUSE_LIBSDL 1
43091 _ACEOF
43092
43093
43094 else
43095 echo "$as_me:$LINENO: result: no" >&5
43096 echo "${ECHO_T}no" >&6
43097 if test "$SDL_CONFIG" = "no" ; then
43098 echo "*** The sdl-config script installed by SDL could not be found"
43099 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43100 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43101 echo "*** full path to sdl-config."
43102 else
43103 if test -f conf.sdltest ; then
43104 :
43105 else
43106 echo "*** Could not run SDL test program, checking why..."
43107 CFLAGS="$CFLAGS $SDL_CFLAGS"
43108 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43109 LIBS="$LIBS $SDL_LIBS"
43110 cat >conftest.$ac_ext <<_ACEOF
43111 /* confdefs.h. */
43112 _ACEOF
43113 cat confdefs.h >>conftest.$ac_ext
43114 cat >>conftest.$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43116
43117 #include <stdio.h>
43118 #include "SDL.h"
43119
43120 int main(int argc, char *argv[])
43121 { return 0; }
43122 #undef main
43123 #define main K_and_R_C_main
43124
43125 int
43126 main ()
43127 {
43128 return 0;
43129 ;
43130 return 0;
43131 }
43132 _ACEOF
43133 rm -f conftest.$ac_objext conftest$ac_exeext
43134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43135 (eval $ac_link) 2>conftest.er1
43136 ac_status=$?
43137 grep -v '^ *+' conftest.er1 >conftest.err
43138 rm -f conftest.er1
43139 cat conftest.err >&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); } &&
43142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43145 ac_status=$?
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; } &&
43148 { ac_try='test -s conftest$ac_exeext'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43151 ac_status=$?
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; }; then
43154 echo "*** The test program compiled, but did not run. This usually means"
43155 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43156 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43157 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43158 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43159 echo "*** is required on your system"
43160 echo "***"
43161 echo "*** If you have an old version installed, it is best to remove it, although"
43162 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43163 else
43164 echo "$as_me: failed program was:" >&5
43165 sed 's/^/| /' conftest.$ac_ext >&5
43166
43167 echo "*** The test program failed to compile or link. See the file config.log for the"
43168 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43169 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43170 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43171 fi
43172 rm -f conftest.err conftest.$ac_objext \
43173 conftest$ac_exeext conftest.$ac_ext
43174 CFLAGS="$ac_save_CFLAGS"
43175 CXXFLAGS="$ac_save_CXXFLAGS"
43176 LIBS="$ac_save_LIBS"
43177 fi
43178 fi
43179 SDL_CFLAGS=""
43180 SDL_LIBS=""
43181 wxUSE_LIBSDL="no"
43182 fi
43183
43184
43185 rm -f conf.sdltest
43186
43187 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43188 WITH_PLUGIN_SDL=1
43189 fi
43190 fi
43191 fi
43192
43193 cat >>confdefs.h <<\_ACEOF
43194 #define wxUSE_SOUND 1
43195 _ACEOF
43196
43197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43198 fi
43199
43200 if test "$WXGTK20" = 1; then
43201
43202
43203 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43204 if test -n "$ac_tool_prefix"; then
43205 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43206 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43207 echo "$as_me:$LINENO: checking for $ac_word" >&5
43208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43209 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43211 else
43212 case $PKG_CONFIG in
43213 [\\/]* | ?:[\\/]*)
43214 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43215 ;;
43216 *)
43217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43218 for as_dir in $PATH
43219 do
43220 IFS=$as_save_IFS
43221 test -z "$as_dir" && as_dir=.
43222 for ac_exec_ext in '' $ac_executable_extensions; do
43223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43224 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43226 break 2
43227 fi
43228 done
43229 done
43230
43231 ;;
43232 esac
43233 fi
43234 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43235
43236 if test -n "$PKG_CONFIG"; then
43237 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43238 echo "${ECHO_T}$PKG_CONFIG" >&6
43239 else
43240 echo "$as_me:$LINENO: result: no" >&5
43241 echo "${ECHO_T}no" >&6
43242 fi
43243
43244 fi
43245 if test -z "$ac_cv_path_PKG_CONFIG"; then
43246 ac_pt_PKG_CONFIG=$PKG_CONFIG
43247 # Extract the first word of "pkg-config", so it can be a program name with args.
43248 set dummy pkg-config; ac_word=$2
43249 echo "$as_me:$LINENO: checking for $ac_word" >&5
43250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43251 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43252 echo $ECHO_N "(cached) $ECHO_C" >&6
43253 else
43254 case $ac_pt_PKG_CONFIG in
43255 [\\/]* | ?:[\\/]*)
43256 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43257 ;;
43258 *)
43259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43260 for as_dir in $PATH
43261 do
43262 IFS=$as_save_IFS
43263 test -z "$as_dir" && as_dir=.
43264 for ac_exec_ext in '' $ac_executable_extensions; do
43265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43266 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43268 break 2
43269 fi
43270 done
43271 done
43272
43273 ;;
43274 esac
43275 fi
43276 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43277
43278 if test -n "$ac_pt_PKG_CONFIG"; then
43279 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43280 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43281 else
43282 echo "$as_me:$LINENO: result: no" >&5
43283 echo "${ECHO_T}no" >&6
43284 fi
43285
43286 PKG_CONFIG=$ac_pt_PKG_CONFIG
43287 else
43288 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43289 fi
43290
43291 fi
43292 if test -n "$PKG_CONFIG"; then
43293 _pkg_min_version=0.9.0
43294 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43295 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43296 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43297 echo "$as_me:$LINENO: result: yes" >&5
43298 echo "${ECHO_T}yes" >&6
43299 else
43300 echo "$as_me:$LINENO: result: no" >&5
43301 echo "${ECHO_T}no" >&6
43302 PKG_CONFIG=""
43303 fi
43304
43305 fi
43306
43307 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43308 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43309
43310
43311 pkg_failed=no
43312 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43313 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43314
43315 if test -n "$PKG_CONFIG"; then
43316 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43317 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43318 else
43319 if test -n "$PKG_CONFIG" && \
43320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43321 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43322 ac_status=$?
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); }; then
43325 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43326 else
43327 pkg_failed=yes
43328 fi
43329 fi
43330 else
43331 pkg_failed=untried
43332 fi
43333 if test -n "$PKG_CONFIG"; then
43334 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43335 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43336 else
43337 if test -n "$PKG_CONFIG" && \
43338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43339 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43340 ac_status=$?
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); }; then
43343 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43344 else
43345 pkg_failed=yes
43346 fi
43347 fi
43348 else
43349 pkg_failed=untried
43350 fi
43351
43352
43353
43354 if test $pkg_failed = yes; then
43355
43356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43357 _pkg_short_errors_supported=yes
43358 else
43359 _pkg_short_errors_supported=no
43360 fi
43361 if test $_pkg_short_errors_supported = yes; then
43362 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43363 else
43364 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43365 fi
43366 # Put the nasty error message in config.log where it belongs
43367 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43368
43369
43370 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43371 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43372 wxUSE_LIBGNOMEPRINT="no"
43373
43374
43375 elif test $pkg_failed = untried; then
43376
43377 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43378 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43379 wxUSE_LIBGNOMEPRINT="no"
43380
43381
43382 else
43383 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43384 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43385 echo "$as_me:$LINENO: result: yes" >&5
43386 echo "${ECHO_T}yes" >&6
43387
43388 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43389 cat >>confdefs.h <<\_ACEOF
43390 #define wxUSE_LIBGNOMEPRINT 1
43391 _ACEOF
43392
43393
43394 fi
43395 fi
43396 fi
43397
43398 if test "$wxUSE_MIMETYPE" = "yes" ; then
43399 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43400
43401
43402 pkg_failed=no
43403 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43404 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43405
43406 if test -n "$PKG_CONFIG"; then
43407 if test -n "$GNOMEVFS_CFLAGS"; then
43408 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43409 else
43410 if test -n "$PKG_CONFIG" && \
43411 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43412 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43413 ac_status=$?
43414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43415 (exit $ac_status); }; then
43416 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43417 else
43418 pkg_failed=yes
43419 fi
43420 fi
43421 else
43422 pkg_failed=untried
43423 fi
43424 if test -n "$PKG_CONFIG"; then
43425 if test -n "$GNOMEVFS_LIBS"; then
43426 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43427 else
43428 if test -n "$PKG_CONFIG" && \
43429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43430 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43431 ac_status=$?
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); }; then
43434 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43435 else
43436 pkg_failed=yes
43437 fi
43438 fi
43439 else
43440 pkg_failed=untried
43441 fi
43442
43443
43444
43445 if test $pkg_failed = yes; then
43446
43447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43448 _pkg_short_errors_supported=yes
43449 else
43450 _pkg_short_errors_supported=no
43451 fi
43452 if test $_pkg_short_errors_supported = yes; then
43453 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43454 else
43455 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43456 fi
43457 # Put the nasty error message in config.log where it belongs
43458 echo "$GNOMEVFS_PKG_ERRORS" >&5
43459
43460
43461 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43462 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43463 wxUSE_LIBGNOMEVFS="no"
43464
43465
43466 elif test $pkg_failed = untried; then
43467
43468 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43469 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43470 wxUSE_LIBGNOMEVFS="no"
43471
43472
43473 else
43474 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43475 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43476 echo "$as_me:$LINENO: result: yes" >&5
43477 echo "${ECHO_T}yes" >&6
43478
43479 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_LIBGNOMEVFS 1
43482 _ACEOF
43483
43484
43485 fi
43486 fi
43487 fi
43488
43489 if test "$wxUSE_LIBHILDON" = "yes" ; then
43490
43491 pkg_failed=no
43492 echo "$as_me:$LINENO: checking for HILDON" >&5
43493 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43494
43495 if test -n "$PKG_CONFIG"; then
43496 if test -n "$HILDON_CFLAGS"; then
43497 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43498 else
43499 if test -n "$PKG_CONFIG" && \
43500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43501 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43502 ac_status=$?
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); }; then
43505 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43506 else
43507 pkg_failed=yes
43508 fi
43509 fi
43510 else
43511 pkg_failed=untried
43512 fi
43513 if test -n "$PKG_CONFIG"; then
43514 if test -n "$HILDON_LIBS"; then
43515 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43516 else
43517 if test -n "$PKG_CONFIG" && \
43518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43519 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43520 ac_status=$?
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); }; then
43523 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43524 else
43525 pkg_failed=yes
43526 fi
43527 fi
43528 else
43529 pkg_failed=untried
43530 fi
43531
43532
43533
43534 if test $pkg_failed = yes; then
43535
43536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43537 _pkg_short_errors_supported=yes
43538 else
43539 _pkg_short_errors_supported=no
43540 fi
43541 if test $_pkg_short_errors_supported = yes; then
43542 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43543 else
43544 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43545 fi
43546 # Put the nasty error message in config.log where it belongs
43547 echo "$HILDON_PKG_ERRORS" >&5
43548
43549
43550 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43551 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43552 wxUSE_LIBHILDON="no"
43553
43554
43555 elif test $pkg_failed = untried; then
43556
43557 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43558 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43559 wxUSE_LIBHILDON="no"
43560
43561
43562 else
43563 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43564 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43565 echo "$as_me:$LINENO: result: yes" >&5
43566 echo "${ECHO_T}yes" >&6
43567
43568 EXTRALIBS_HILDON="$HILDON_LIBS"
43569 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43570 cat >>confdefs.h <<\_ACEOF
43571 #define wxUSE_LIBHILDON 1
43572 _ACEOF
43573
43574
43575 fi
43576 fi
43577 fi
43578
43579 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43580 cat >>confdefs.h <<\_ACEOF
43581 #define wxUSE_CMDLINE_PARSER 1
43582 _ACEOF
43583
43584 fi
43585
43586 if test "$wxUSE_STOPWATCH" = "yes"; then
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_STOPWATCH 1
43589 _ACEOF
43590
43591 fi
43592
43593 if test "$wxUSE_DATETIME" = "yes"; then
43594 cat >>confdefs.h <<\_ACEOF
43595 #define wxUSE_DATETIME 1
43596 _ACEOF
43597
43598 fi
43599
43600 if test "$wxUSE_FILE" = "yes"; then
43601 cat >>confdefs.h <<\_ACEOF
43602 #define wxUSE_FILE 1
43603 _ACEOF
43604
43605 fi
43606
43607 if test "$wxUSE_FFILE" = "yes"; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxUSE_FFILE 1
43610 _ACEOF
43611
43612 fi
43613
43614 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43615 if test "$wxUSE_STREAMS" != yes; then
43616 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43617 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43618 wxUSE_ARCHIVE_STREAMS=no
43619 else
43620 cat >>confdefs.h <<\_ACEOF
43621 #define wxUSE_ARCHIVE_STREAMS 1
43622 _ACEOF
43623
43624 fi
43625 fi
43626
43627 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43628 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43629 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43630 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43631 elif test "$wxUSE_ZLIB" = "no"; then
43632 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43633 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43634 else
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_ZIPSTREAM 1
43637 _ACEOF
43638
43639 fi
43640 fi
43641
43642 if test "$wxUSE_TARSTREAM" = "yes"; then
43643 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43644 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43645 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43646 else
43647 cat >>confdefs.h <<\_ACEOF
43648 #define wxUSE_TARSTREAM 1
43649 _ACEOF
43650
43651 fi
43652 fi
43653
43654 if test "$wxUSE_FILESYSTEM" = "yes"; then
43655 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43656 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43657 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43658 wxUSE_FILESYSTEM=no
43659 else
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_FILESYSTEM 1
43662 _ACEOF
43663
43664 fi
43665 fi
43666
43667 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43668 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43669 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43670 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43671 else
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_FS_ARCHIVE 1
43674 _ACEOF
43675
43676 fi
43677 fi
43678
43679 if test "$wxUSE_FS_ZIP" = "yes"; then
43680 if test "$wxUSE_FS_ARCHIVE" != yes; then
43681 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43682 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43683 else
43684 cat >>confdefs.h <<\_ACEOF
43685 #define wxUSE_FS_ZIP 1
43686 _ACEOF
43687
43688 fi
43689 fi
43690
43691 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43692 if test "$USE_UNIX" != 1; then
43693 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43694 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43695 wxUSE_ON_FATAL_EXCEPTION=no
43696 else
43697 cat >>confdefs.h <<\_ACEOF
43698 #define wxUSE_ON_FATAL_EXCEPTION 1
43699 _ACEOF
43700
43701 fi
43702 fi
43703
43704 if test "$wxUSE_STACKWALKER" = "yes"; then
43705 cat >>confdefs.h <<\_ACEOF
43706 #define wxUSE_STACKWALKER 1
43707 _ACEOF
43708
43709 fi
43710
43711 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43712 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43713 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43714 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43715 wxUSE_DEBUGREPORT=no
43716 else
43717 cat >>confdefs.h <<\_ACEOF
43718 #define wxUSE_DEBUGREPORT 1
43719 _ACEOF
43720
43721 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43723 fi
43724 fi
43725 fi
43726
43727 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_SNGLINST_CHECKER 1
43730 _ACEOF
43731
43732 fi
43733
43734 if test "$wxUSE_BUSYINFO" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_BUSYINFO 1
43737 _ACEOF
43738
43739 fi
43740
43741 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define wxUSE_STD_IOSTREAM 1
43744 _ACEOF
43745
43746 fi
43747
43748 if test "$wxUSE_STD_STRING" = "yes"; then
43749 cat >>confdefs.h <<\_ACEOF
43750 #define wxUSE_STD_STRING 1
43751 _ACEOF
43752
43753 fi
43754
43755 if test "$wxUSE_STDPATHS" = "yes"; then
43756 cat >>confdefs.h <<\_ACEOF
43757 #define wxUSE_STDPATHS 1
43758 _ACEOF
43759
43760 fi
43761
43762 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43763 cat >>confdefs.h <<\_ACEOF
43764 #define wxUSE_TEXTBUFFER 1
43765 _ACEOF
43766
43767 fi
43768
43769 if test "$wxUSE_TEXTFILE" = "yes"; then
43770 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43771 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43772 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43773 else
43774 cat >>confdefs.h <<\_ACEOF
43775 #define wxUSE_TEXTFILE 1
43776 _ACEOF
43777
43778 fi
43779 fi
43780
43781 if test "$wxUSE_CONFIG" = "yes" ; then
43782 if test "$wxUSE_TEXTFILE" != "yes"; then
43783 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43784 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43785 else
43786 cat >>confdefs.h <<\_ACEOF
43787 #define wxUSE_CONFIG 1
43788 _ACEOF
43789
43790 cat >>confdefs.h <<\_ACEOF
43791 #define wxUSE_CONFIG_NATIVE 1
43792 _ACEOF
43793
43794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43795 fi
43796 fi
43797
43798 if test "$wxUSE_INTL" = "yes" ; then
43799 if test "$wxUSE_FILE" != "yes"; then
43800 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43801 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43802 else
43803 cat >>confdefs.h <<\_ACEOF
43804 #define wxUSE_INTL 1
43805 _ACEOF
43806
43807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43808 GUIDIST="$GUIDIST INTL_DIST"
43809 fi
43810 fi
43811
43812 if test "$wxUSE_LOG" = "yes"; then
43813 cat >>confdefs.h <<\_ACEOF
43814 #define wxUSE_LOG 1
43815 _ACEOF
43816
43817
43818 if test "$wxUSE_LOGGUI" = "yes"; then
43819 cat >>confdefs.h <<\_ACEOF
43820 #define wxUSE_LOGGUI 1
43821 _ACEOF
43822
43823 fi
43824
43825 if test "$wxUSE_LOGWINDOW" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxUSE_LOGWINDOW 1
43828 _ACEOF
43829
43830 fi
43831
43832 if test "$wxUSE_LOGDIALOG" = "yes"; then
43833 cat >>confdefs.h <<\_ACEOF
43834 #define wxUSE_LOG_DIALOG 1
43835 _ACEOF
43836
43837 fi
43838
43839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43840 fi
43841
43842 if test "$wxUSE_LONGLONG" = "yes"; then
43843 cat >>confdefs.h <<\_ACEOF
43844 #define wxUSE_LONGLONG 1
43845 _ACEOF
43846
43847 fi
43848
43849 if test "$wxUSE_GEOMETRY" = "yes"; then
43850 cat >>confdefs.h <<\_ACEOF
43851 #define wxUSE_GEOMETRY 1
43852 _ACEOF
43853
43854 fi
43855
43856 if test "$wxUSE_STREAMS" = "yes" ; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define wxUSE_STREAMS 1
43859 _ACEOF
43860
43861 fi
43862
43863 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_PRINTF_POS_PARAMS 1
43866 _ACEOF
43867
43868 fi
43869
43870
43871
43872 if test "$wxUSE_DATETIME" = "yes"; then
43873
43874 for ac_func in strptime
43875 do
43876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43877 echo "$as_me:$LINENO: checking for $ac_func" >&5
43878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43879 if eval "test \"\${$as_ac_var+set}\" = set"; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43881 else
43882 cat >conftest.$ac_ext <<_ACEOF
43883 /* confdefs.h. */
43884 _ACEOF
43885 cat confdefs.h >>conftest.$ac_ext
43886 cat >>conftest.$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43890 #define $ac_func innocuous_$ac_func
43891
43892 /* System header to define __stub macros and hopefully few prototypes,
43893 which can conflict with char $ac_func (); below.
43894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43895 <limits.h> exists even on freestanding compilers. */
43896
43897 #ifdef __STDC__
43898 # include <limits.h>
43899 #else
43900 # include <assert.h>
43901 #endif
43902
43903 #undef $ac_func
43904
43905 /* Override any gcc2 internal prototype to avoid an error. */
43906 #ifdef __cplusplus
43907 extern "C"
43908 {
43909 #endif
43910 /* We use char because int might match the return type of a gcc2
43911 builtin and then its argument prototype would still apply. */
43912 char $ac_func ();
43913 /* The GNU C library defines this for functions which it implements
43914 to always fail with ENOSYS. Some functions are actually named
43915 something starting with __ and the normal name is an alias. */
43916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43917 choke me
43918 #else
43919 char (*f) () = $ac_func;
43920 #endif
43921 #ifdef __cplusplus
43922 }
43923 #endif
43924
43925 int
43926 main ()
43927 {
43928 return f != $ac_func;
43929 ;
43930 return 0;
43931 }
43932 _ACEOF
43933 rm -f conftest.$ac_objext conftest$ac_exeext
43934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43935 (eval $ac_link) 2>conftest.er1
43936 ac_status=$?
43937 grep -v '^ *+' conftest.er1 >conftest.err
43938 rm -f conftest.er1
43939 cat conftest.err >&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); } &&
43942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944 (eval $ac_try) 2>&5
43945 ac_status=$?
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); }; } &&
43948 { ac_try='test -s conftest$ac_exeext'
43949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43950 (eval $ac_try) 2>&5
43951 ac_status=$?
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); }; }; then
43954 eval "$as_ac_var=yes"
43955 else
43956 echo "$as_me: failed program was:" >&5
43957 sed 's/^/| /' conftest.$ac_ext >&5
43958
43959 eval "$as_ac_var=no"
43960 fi
43961 rm -f conftest.err conftest.$ac_objext \
43962 conftest$ac_exeext conftest.$ac_ext
43963 fi
43964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43966 if test `eval echo '${'$as_ac_var'}'` = yes; then
43967 cat >>confdefs.h <<_ACEOF
43968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43969 _ACEOF
43970
43971 fi
43972 done
43973
43974 if test "$ac_cv_func_strptime" = "yes"; then
43975 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43976 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43977 if test "${wx_cv_func_strptime_decl+set}" = set; then
43978 echo $ECHO_N "(cached) $ECHO_C" >&6
43979 else
43980
43981 cat >conftest.$ac_ext <<_ACEOF
43982 /* confdefs.h. */
43983 _ACEOF
43984 cat confdefs.h >>conftest.$ac_ext
43985 cat >>conftest.$ac_ext <<_ACEOF
43986 /* end confdefs.h. */
43987
43988 #include <time.h>
43989
43990 int
43991 main ()
43992 {
43993
43994 struct tm t;
43995 strptime("foo", "bar", &t);
43996
43997 ;
43998 return 0;
43999 }
44000 _ACEOF
44001 rm -f conftest.$ac_objext
44002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44003 (eval $ac_compile) 2>conftest.er1
44004 ac_status=$?
44005 grep -v '^ *+' conftest.er1 >conftest.err
44006 rm -f conftest.er1
44007 cat conftest.err >&5
44008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44009 (exit $ac_status); } &&
44010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44012 (eval $ac_try) 2>&5
44013 ac_status=$?
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); }; } &&
44016 { ac_try='test -s conftest.$ac_objext'
44017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44018 (eval $ac_try) 2>&5
44019 ac_status=$?
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); }; }; then
44022 wx_cv_func_strptime_decl=yes
44023 else
44024 echo "$as_me: failed program was:" >&5
44025 sed 's/^/| /' conftest.$ac_ext >&5
44026
44027 wx_cv_func_strptime_decl=no
44028
44029 fi
44030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44031
44032
44033 fi
44034 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44035 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44036 fi
44037 if test "$wx_cv_func_strptime_decl" = "yes"; then
44038 cat >>confdefs.h <<\_ACEOF
44039 #define HAVE_STRPTIME_DECL 1
44040 _ACEOF
44041
44042 fi
44043
44044 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44045 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44046 if test "${wx_cv_var_timezone+set}" = set; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44048 else
44049
44050 cat >conftest.$ac_ext <<_ACEOF
44051 /* confdefs.h. */
44052 _ACEOF
44053 cat confdefs.h >>conftest.$ac_ext
44054 cat >>conftest.$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44056
44057 #include <time.h>
44058
44059 int
44060 main ()
44061 {
44062
44063 int tz;
44064 tz = timezone;
44065
44066 ;
44067 return 0;
44068 }
44069 _ACEOF
44070 rm -f conftest.$ac_objext
44071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44072 (eval $ac_compile) 2>conftest.er1
44073 ac_status=$?
44074 grep -v '^ *+' conftest.er1 >conftest.err
44075 rm -f conftest.er1
44076 cat conftest.err >&5
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); } &&
44079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44081 (eval $ac_try) 2>&5
44082 ac_status=$?
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); }; } &&
44085 { ac_try='test -s conftest.$ac_objext'
44086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44087 (eval $ac_try) 2>&5
44088 ac_status=$?
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); }; }; then
44091
44092 wx_cv_var_timezone=timezone
44093
44094 else
44095 echo "$as_me: failed program was:" >&5
44096 sed 's/^/| /' conftest.$ac_ext >&5
44097
44098
44099 cat >conftest.$ac_ext <<_ACEOF
44100 /* confdefs.h. */
44101 _ACEOF
44102 cat confdefs.h >>conftest.$ac_ext
44103 cat >>conftest.$ac_ext <<_ACEOF
44104 /* end confdefs.h. */
44105
44106 #include <time.h>
44107
44108 int
44109 main ()
44110 {
44111
44112 int tz;
44113 tz = _timezone;
44114
44115 ;
44116 return 0;
44117 }
44118 _ACEOF
44119 rm -f conftest.$ac_objext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44121 (eval $ac_compile) 2>conftest.er1
44122 ac_status=$?
44123 grep -v '^ *+' conftest.er1 >conftest.err
44124 rm -f conftest.er1
44125 cat conftest.err >&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } &&
44128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130 (eval $ac_try) 2>&5
44131 ac_status=$?
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; } &&
44134 { ac_try='test -s conftest.$ac_objext'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44137 ac_status=$?
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; }; then
44140
44141 wx_cv_var_timezone=_timezone
44142
44143 else
44144 echo "$as_me: failed program was:" >&5
44145 sed 's/^/| /' conftest.$ac_ext >&5
44146
44147
44148 cat >conftest.$ac_ext <<_ACEOF
44149 /* confdefs.h. */
44150 _ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44154
44155 #include <time.h>
44156
44157 int
44158 main ()
44159 {
44160
44161 int tz;
44162 tz = __timezone;
44163
44164 ;
44165 return 0;
44166 }
44167 _ACEOF
44168 rm -f conftest.$ac_objext
44169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44170 (eval $ac_compile) 2>conftest.er1
44171 ac_status=$?
44172 grep -v '^ *+' conftest.er1 >conftest.err
44173 rm -f conftest.er1
44174 cat conftest.err >&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); } &&
44177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; } &&
44183 { ac_try='test -s conftest.$ac_objext'
44184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44185 (eval $ac_try) 2>&5
44186 ac_status=$?
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); }; }; then
44189
44190 wx_cv_var_timezone=__timezone
44191
44192 else
44193 echo "$as_me: failed program was:" >&5
44194 sed 's/^/| /' conftest.$ac_ext >&5
44195
44196
44197 if test "$USE_DOS" = 0 ; then
44198 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44199 echo "$as_me: WARNING: no timezone variable" >&2;}
44200 fi
44201
44202
44203 fi
44204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44205
44206
44207 fi
44208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44209
44210
44211 fi
44212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44213
44214
44215 fi
44216 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44217 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44218
44219 if test "x$wx_cv_var_timezone" != x ; then
44220 cat >>confdefs.h <<_ACEOF
44221 #define WX_TIMEZONE $wx_cv_var_timezone
44222 _ACEOF
44223
44224 fi
44225
44226
44227 for ac_func in localtime
44228 do
44229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44230 echo "$as_me:$LINENO: checking for $ac_func" >&5
44231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44232 if eval "test \"\${$as_ac_var+set}\" = set"; then
44233 echo $ECHO_N "(cached) $ECHO_C" >&6
44234 else
44235 cat >conftest.$ac_ext <<_ACEOF
44236 /* confdefs.h. */
44237 _ACEOF
44238 cat confdefs.h >>conftest.$ac_ext
44239 cat >>conftest.$ac_ext <<_ACEOF
44240 /* end confdefs.h. */
44241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44243 #define $ac_func innocuous_$ac_func
44244
44245 /* System header to define __stub macros and hopefully few prototypes,
44246 which can conflict with char $ac_func (); below.
44247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44248 <limits.h> exists even on freestanding compilers. */
44249
44250 #ifdef __STDC__
44251 # include <limits.h>
44252 #else
44253 # include <assert.h>
44254 #endif
44255
44256 #undef $ac_func
44257
44258 /* Override any gcc2 internal prototype to avoid an error. */
44259 #ifdef __cplusplus
44260 extern "C"
44261 {
44262 #endif
44263 /* We use char because int might match the return type of a gcc2
44264 builtin and then its argument prototype would still apply. */
44265 char $ac_func ();
44266 /* The GNU C library defines this for functions which it implements
44267 to always fail with ENOSYS. Some functions are actually named
44268 something starting with __ and the normal name is an alias. */
44269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44270 choke me
44271 #else
44272 char (*f) () = $ac_func;
44273 #endif
44274 #ifdef __cplusplus
44275 }
44276 #endif
44277
44278 int
44279 main ()
44280 {
44281 return f != $ac_func;
44282 ;
44283 return 0;
44284 }
44285 _ACEOF
44286 rm -f conftest.$ac_objext conftest$ac_exeext
44287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44288 (eval $ac_link) 2>conftest.er1
44289 ac_status=$?
44290 grep -v '^ *+' conftest.er1 >conftest.err
44291 rm -f conftest.er1
44292 cat conftest.err >&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); } &&
44295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44297 (eval $ac_try) 2>&5
44298 ac_status=$?
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); }; } &&
44301 { ac_try='test -s conftest$ac_exeext'
44302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44303 (eval $ac_try) 2>&5
44304 ac_status=$?
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); }; }; then
44307 eval "$as_ac_var=yes"
44308 else
44309 echo "$as_me: failed program was:" >&5
44310 sed 's/^/| /' conftest.$ac_ext >&5
44311
44312 eval "$as_ac_var=no"
44313 fi
44314 rm -f conftest.err conftest.$ac_objext \
44315 conftest$ac_exeext conftest.$ac_ext
44316 fi
44317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44319 if test `eval echo '${'$as_ac_var'}'` = yes; then
44320 cat >>confdefs.h <<_ACEOF
44321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44322 _ACEOF
44323
44324 fi
44325 done
44326
44327
44328 if test "$ac_cv_func_localtime" = "yes"; then
44329 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44330 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44331 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44332 echo $ECHO_N "(cached) $ECHO_C" >&6
44333 else
44334
44335 cat >conftest.$ac_ext <<_ACEOF
44336 /* confdefs.h. */
44337 _ACEOF
44338 cat confdefs.h >>conftest.$ac_ext
44339 cat >>conftest.$ac_ext <<_ACEOF
44340 /* end confdefs.h. */
44341
44342 #include <time.h>
44343
44344 int
44345 main ()
44346 {
44347
44348 struct tm tm;
44349 tm.tm_gmtoff++;
44350
44351 ;
44352 return 0;
44353 }
44354 _ACEOF
44355 rm -f conftest.$ac_objext
44356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44357 (eval $ac_compile) 2>conftest.er1
44358 ac_status=$?
44359 grep -v '^ *+' conftest.er1 >conftest.err
44360 rm -f conftest.er1
44361 cat conftest.err >&5
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); } &&
44364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44366 (eval $ac_try) 2>&5
44367 ac_status=$?
44368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44369 (exit $ac_status); }; } &&
44370 { ac_try='test -s conftest.$ac_objext'
44371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44372 (eval $ac_try) 2>&5
44373 ac_status=$?
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); }; }; then
44376
44377 wx_cv_struct_tm_has_gmtoff=yes
44378
44379 else
44380 echo "$as_me: failed program was:" >&5
44381 sed 's/^/| /' conftest.$ac_ext >&5
44382
44383 wx_cv_struct_tm_has_gmtoff=no
44384
44385 fi
44386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44387
44388 fi
44389 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44390 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44391 fi
44392
44393 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define WX_GMTOFF_IN_TM 1
44396 _ACEOF
44397
44398 fi
44399
44400
44401
44402 for ac_func in gettimeofday ftime
44403 do
44404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44405 echo "$as_me:$LINENO: checking for $ac_func" >&5
44406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44407 if eval "test \"\${$as_ac_var+set}\" = set"; then
44408 echo $ECHO_N "(cached) $ECHO_C" >&6
44409 else
44410 cat >conftest.$ac_ext <<_ACEOF
44411 /* confdefs.h. */
44412 _ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44418 #define $ac_func innocuous_$ac_func
44419
44420 /* System header to define __stub macros and hopefully few prototypes,
44421 which can conflict with char $ac_func (); below.
44422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44423 <limits.h> exists even on freestanding compilers. */
44424
44425 #ifdef __STDC__
44426 # include <limits.h>
44427 #else
44428 # include <assert.h>
44429 #endif
44430
44431 #undef $ac_func
44432
44433 /* Override any gcc2 internal prototype to avoid an error. */
44434 #ifdef __cplusplus
44435 extern "C"
44436 {
44437 #endif
44438 /* We use char because int might match the return type of a gcc2
44439 builtin and then its argument prototype would still apply. */
44440 char $ac_func ();
44441 /* The GNU C library defines this for functions which it implements
44442 to always fail with ENOSYS. Some functions are actually named
44443 something starting with __ and the normal name is an alias. */
44444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44445 choke me
44446 #else
44447 char (*f) () = $ac_func;
44448 #endif
44449 #ifdef __cplusplus
44450 }
44451 #endif
44452
44453 int
44454 main ()
44455 {
44456 return f != $ac_func;
44457 ;
44458 return 0;
44459 }
44460 _ACEOF
44461 rm -f conftest.$ac_objext conftest$ac_exeext
44462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44463 (eval $ac_link) 2>conftest.er1
44464 ac_status=$?
44465 grep -v '^ *+' conftest.er1 >conftest.err
44466 rm -f conftest.er1
44467 cat conftest.err >&5
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); } &&
44470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472 (eval $ac_try) 2>&5
44473 ac_status=$?
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); }; } &&
44476 { ac_try='test -s conftest$ac_exeext'
44477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478 (eval $ac_try) 2>&5
44479 ac_status=$?
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); }; }; then
44482 eval "$as_ac_var=yes"
44483 else
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44486
44487 eval "$as_ac_var=no"
44488 fi
44489 rm -f conftest.err conftest.$ac_objext \
44490 conftest$ac_exeext conftest.$ac_ext
44491 fi
44492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44494 if test `eval echo '${'$as_ac_var'}'` = yes; then
44495 cat >>confdefs.h <<_ACEOF
44496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44497 _ACEOF
44498 break
44499 fi
44500 done
44501
44502
44503 if test "$ac_cv_func_gettimeofday" = "yes"; then
44504 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44505 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44506 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44507 echo $ECHO_N "(cached) $ECHO_C" >&6
44508 else
44509
44510 cat >conftest.$ac_ext <<_ACEOF
44511 /* confdefs.h. */
44512 _ACEOF
44513 cat confdefs.h >>conftest.$ac_ext
44514 cat >>conftest.$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44516
44517 #include <sys/time.h>
44518 #include <unistd.h>
44519
44520 int
44521 main ()
44522 {
44523
44524 struct timeval tv;
44525 gettimeofday(&tv, NULL);
44526
44527 ;
44528 return 0;
44529 }
44530 _ACEOF
44531 rm -f conftest.$ac_objext
44532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44533 (eval $ac_compile) 2>conftest.er1
44534 ac_status=$?
44535 grep -v '^ *+' conftest.er1 >conftest.err
44536 rm -f conftest.er1
44537 cat conftest.err >&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } &&
44540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44542 (eval $ac_try) 2>&5
44543 ac_status=$?
44544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44545 (exit $ac_status); }; } &&
44546 { ac_try='test -s conftest.$ac_objext'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44549 ac_status=$?
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; }; then
44552 wx_cv_func_gettimeofday_has_2_args=yes
44553 else
44554 echo "$as_me: failed program was:" >&5
44555 sed 's/^/| /' conftest.$ac_ext >&5
44556
44557 cat >conftest.$ac_ext <<_ACEOF
44558 /* confdefs.h. */
44559 _ACEOF
44560 cat confdefs.h >>conftest.$ac_ext
44561 cat >>conftest.$ac_ext <<_ACEOF
44562 /* end confdefs.h. */
44563
44564 #include <sys/time.h>
44565 #include <unistd.h>
44566
44567 int
44568 main ()
44569 {
44570
44571 struct timeval tv;
44572 gettimeofday(&tv);
44573
44574 ;
44575 return 0;
44576 }
44577 _ACEOF
44578 rm -f conftest.$ac_objext
44579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44580 (eval $ac_compile) 2>conftest.er1
44581 ac_status=$?
44582 grep -v '^ *+' conftest.er1 >conftest.err
44583 rm -f conftest.er1
44584 cat conftest.err >&5
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); } &&
44587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589 (eval $ac_try) 2>&5
44590 ac_status=$?
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; } &&
44593 { ac_try='test -s conftest.$ac_objext'
44594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44595 (eval $ac_try) 2>&5
44596 ac_status=$?
44597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44598 (exit $ac_status); }; }; then
44599 wx_cv_func_gettimeofday_has_2_args=no
44600 else
44601 echo "$as_me: failed program was:" >&5
44602 sed 's/^/| /' conftest.$ac_ext >&5
44603
44604
44605 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44606 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44607 wx_cv_func_gettimeofday_has_2_args=unknown
44608
44609
44610 fi
44611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44612
44613 fi
44614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44615
44616 fi
44617 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44618 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44619
44620 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44621 cat >>confdefs.h <<\_ACEOF
44622 #define WX_GETTIMEOFDAY_NO_TZ 1
44623 _ACEOF
44624
44625 fi
44626 fi
44627
44628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44629 fi
44630
44631
44632 if test "$wxUSE_SOCKETS" = "yes"; then
44633 if test "$wxUSE_MGL" = "1"; then
44634 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44635 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44636 wxUSE_SOCKETS="no"
44637 fi
44638 fi
44639
44640 if test "$wxUSE_SOCKETS" = "yes"; then
44641 if test "$TOOLKIT" != "MSW"; then
44642 echo "$as_me:$LINENO: checking for socket" >&5
44643 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44644 if test "${ac_cv_func_socket+set}" = set; then
44645 echo $ECHO_N "(cached) $ECHO_C" >&6
44646 else
44647 cat >conftest.$ac_ext <<_ACEOF
44648 /* confdefs.h. */
44649 _ACEOF
44650 cat confdefs.h >>conftest.$ac_ext
44651 cat >>conftest.$ac_ext <<_ACEOF
44652 /* end confdefs.h. */
44653 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44655 #define socket innocuous_socket
44656
44657 /* System header to define __stub macros and hopefully few prototypes,
44658 which can conflict with char socket (); below.
44659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44660 <limits.h> exists even on freestanding compilers. */
44661
44662 #ifdef __STDC__
44663 # include <limits.h>
44664 #else
44665 # include <assert.h>
44666 #endif
44667
44668 #undef socket
44669
44670 /* Override any gcc2 internal prototype to avoid an error. */
44671 #ifdef __cplusplus
44672 extern "C"
44673 {
44674 #endif
44675 /* We use char because int might match the return type of a gcc2
44676 builtin and then its argument prototype would still apply. */
44677 char socket ();
44678 /* The GNU C library defines this for functions which it implements
44679 to always fail with ENOSYS. Some functions are actually named
44680 something starting with __ and the normal name is an alias. */
44681 #if defined (__stub_socket) || defined (__stub___socket)
44682 choke me
44683 #else
44684 char (*f) () = socket;
44685 #endif
44686 #ifdef __cplusplus
44687 }
44688 #endif
44689
44690 int
44691 main ()
44692 {
44693 return f != socket;
44694 ;
44695 return 0;
44696 }
44697 _ACEOF
44698 rm -f conftest.$ac_objext conftest$ac_exeext
44699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44700 (eval $ac_link) 2>conftest.er1
44701 ac_status=$?
44702 grep -v '^ *+' conftest.er1 >conftest.err
44703 rm -f conftest.er1
44704 cat conftest.err >&5
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); } &&
44707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; } &&
44713 { ac_try='test -s conftest$ac_exeext'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44716 ac_status=$?
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; }; then
44719 ac_cv_func_socket=yes
44720 else
44721 echo "$as_me: failed program was:" >&5
44722 sed 's/^/| /' conftest.$ac_ext >&5
44723
44724 ac_cv_func_socket=no
44725 fi
44726 rm -f conftest.err conftest.$ac_objext \
44727 conftest$ac_exeext conftest.$ac_ext
44728 fi
44729 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44730 echo "${ECHO_T}$ac_cv_func_socket" >&6
44731 if test $ac_cv_func_socket = yes; then
44732 :
44733 else
44734
44735 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44736 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44737 if test "${ac_cv_lib_socket_socket+set}" = set; then
44738 echo $ECHO_N "(cached) $ECHO_C" >&6
44739 else
44740 ac_check_lib_save_LIBS=$LIBS
44741 LIBS="-lsocket $LIBS"
44742 cat >conftest.$ac_ext <<_ACEOF
44743 /* confdefs.h. */
44744 _ACEOF
44745 cat confdefs.h >>conftest.$ac_ext
44746 cat >>conftest.$ac_ext <<_ACEOF
44747 /* end confdefs.h. */
44748
44749 /* Override any gcc2 internal prototype to avoid an error. */
44750 #ifdef __cplusplus
44751 extern "C"
44752 #endif
44753 /* We use char because int might match the return type of a gcc2
44754 builtin and then its argument prototype would still apply. */
44755 char socket ();
44756 int
44757 main ()
44758 {
44759 socket ();
44760 ;
44761 return 0;
44762 }
44763 _ACEOF
44764 rm -f conftest.$ac_objext conftest$ac_exeext
44765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44766 (eval $ac_link) 2>conftest.er1
44767 ac_status=$?
44768 grep -v '^ *+' conftest.er1 >conftest.err
44769 rm -f conftest.er1
44770 cat conftest.err >&5
44771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44772 (exit $ac_status); } &&
44773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44775 (eval $ac_try) 2>&5
44776 ac_status=$?
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); }; } &&
44779 { ac_try='test -s conftest$ac_exeext'
44780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44781 (eval $ac_try) 2>&5
44782 ac_status=$?
44783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784 (exit $ac_status); }; }; then
44785 ac_cv_lib_socket_socket=yes
44786 else
44787 echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.$ac_ext >&5
44789
44790 ac_cv_lib_socket_socket=no
44791 fi
44792 rm -f conftest.err conftest.$ac_objext \
44793 conftest$ac_exeext conftest.$ac_ext
44794 LIBS=$ac_check_lib_save_LIBS
44795 fi
44796 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44797 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44798 if test $ac_cv_lib_socket_socket = yes; then
44799 if test "$INET_LINK" != " -lsocket"; then
44800 INET_LINK="$INET_LINK -lsocket"
44801 fi
44802 else
44803
44804 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44805 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44806 wxUSE_SOCKETS=no
44807
44808
44809 fi
44810
44811
44812
44813 fi
44814
44815 fi
44816 fi
44817
44818 if test "$wxUSE_SOCKETS" = "yes" ; then
44819 if test "$TOOLKIT" != "MSW"; then
44820 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44821 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44822 if test "${wx_cv_type_getsockname3+set}" = set; then
44823 echo $ECHO_N "(cached) $ECHO_C" >&6
44824 else
44825
44826 cat >conftest.$ac_ext <<_ACEOF
44827 /* confdefs.h. */
44828 _ACEOF
44829 cat confdefs.h >>conftest.$ac_ext
44830 cat >>conftest.$ac_ext <<_ACEOF
44831 /* end confdefs.h. */
44832
44833 #include <sys/types.h>
44834 #include <sys/socket.h>
44835
44836 int
44837 main ()
44838 {
44839
44840 socklen_t len;
44841 getsockname(0, 0, &len);
44842
44843 ;
44844 return 0;
44845 }
44846 _ACEOF
44847 rm -f conftest.$ac_objext
44848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44849 (eval $ac_compile) 2>conftest.er1
44850 ac_status=$?
44851 grep -v '^ *+' conftest.er1 >conftest.err
44852 rm -f conftest.er1
44853 cat conftest.err >&5
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); } &&
44856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44858 (eval $ac_try) 2>&5
44859 ac_status=$?
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); }; } &&
44862 { ac_try='test -s conftest.$ac_objext'
44863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864 (eval $ac_try) 2>&5
44865 ac_status=$?
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); }; }; then
44868 wx_cv_type_getsockname3=socklen_t
44869 else
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.$ac_ext >&5
44872
44873
44874 CXXFLAGS_OLD="$CXXFLAGS"
44875 if test "$GCC" = yes ; then
44876 CXXFLAGS="-Werror $CXXFLAGS"
44877 fi
44878
44879 cat >conftest.$ac_ext <<_ACEOF
44880 /* confdefs.h. */
44881 _ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44885
44886 #include <sys/types.h>
44887 #include <sys/socket.h>
44888
44889 int
44890 main ()
44891 {
44892
44893 size_t len;
44894 getsockname(0, 0, &len);
44895
44896 ;
44897 return 0;
44898 }
44899 _ACEOF
44900 rm -f conftest.$ac_objext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44902 (eval $ac_compile) 2>conftest.er1
44903 ac_status=$?
44904 grep -v '^ *+' conftest.er1 >conftest.err
44905 rm -f conftest.er1
44906 cat conftest.err >&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44912 ac_status=$?
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try='test -s conftest.$ac_objext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44918 ac_status=$?
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 wx_cv_type_getsockname3=size_t
44922 else
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.$ac_ext >&5
44925
44926 cat >conftest.$ac_ext <<_ACEOF
44927 /* confdefs.h. */
44928 _ACEOF
44929 cat confdefs.h >>conftest.$ac_ext
44930 cat >>conftest.$ac_ext <<_ACEOF
44931 /* end confdefs.h. */
44932
44933 #include <sys/types.h>
44934 #include <sys/socket.h>
44935
44936 int
44937 main ()
44938 {
44939
44940 int len;
44941 getsockname(0, 0, &len);
44942
44943 ;
44944 return 0;
44945 }
44946 _ACEOF
44947 rm -f conftest.$ac_objext
44948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44949 (eval $ac_compile) 2>conftest.er1
44950 ac_status=$?
44951 grep -v '^ *+' conftest.er1 >conftest.err
44952 rm -f conftest.er1
44953 cat conftest.err >&5
44954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44955 (exit $ac_status); } &&
44956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44958 (eval $ac_try) 2>&5
44959 ac_status=$?
44960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961 (exit $ac_status); }; } &&
44962 { ac_try='test -s conftest.$ac_objext'
44963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44964 (eval $ac_try) 2>&5
44965 ac_status=$?
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); }; }; then
44968 wx_cv_type_getsockname3=int
44969 else
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44972
44973 wx_cv_type_getsockname3=unknown
44974
44975 fi
44976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44977
44978 fi
44979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44980
44981 CXXFLAGS="$CXXFLAGS_OLD"
44982
44983
44984 fi
44985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44986
44987 fi
44988 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44989 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44990
44991 if test "$wx_cv_type_getsockname3" = "unknown"; then
44992 wxUSE_SOCKETS=no
44993 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44994 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44995 else
44996 cat >>confdefs.h <<_ACEOF
44997 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44998 _ACEOF
44999
45000 fi
45001 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45002 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45003 if test "${wx_cv_type_getsockopt5+set}" = set; then
45004 echo $ECHO_N "(cached) $ECHO_C" >&6
45005 else
45006
45007 cat >conftest.$ac_ext <<_ACEOF
45008 /* confdefs.h. */
45009 _ACEOF
45010 cat confdefs.h >>conftest.$ac_ext
45011 cat >>conftest.$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45013
45014 #include <sys/types.h>
45015 #include <sys/socket.h>
45016
45017 int
45018 main ()
45019 {
45020
45021 socklen_t len;
45022 getsockopt(0, 0, 0, 0, &len);
45023
45024 ;
45025 return 0;
45026 }
45027 _ACEOF
45028 rm -f conftest.$ac_objext
45029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45030 (eval $ac_compile) 2>conftest.er1
45031 ac_status=$?
45032 grep -v '^ *+' conftest.er1 >conftest.err
45033 rm -f conftest.er1
45034 cat conftest.err >&5
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); } &&
45037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45039 (eval $ac_try) 2>&5
45040 ac_status=$?
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; } &&
45043 { ac_try='test -s conftest.$ac_objext'
45044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45045 (eval $ac_try) 2>&5
45046 ac_status=$?
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; }; then
45049 wx_cv_type_getsockopt5=socklen_t
45050 else
45051 echo "$as_me: failed program was:" >&5
45052 sed 's/^/| /' conftest.$ac_ext >&5
45053
45054
45055 CXXFLAGS_OLD="$CXXFLAGS"
45056 if test "$GCC" = yes ; then
45057 CXXFLAGS="-Werror $CXXFLAGS"
45058 fi
45059
45060 cat >conftest.$ac_ext <<_ACEOF
45061 /* confdefs.h. */
45062 _ACEOF
45063 cat confdefs.h >>conftest.$ac_ext
45064 cat >>conftest.$ac_ext <<_ACEOF
45065 /* end confdefs.h. */
45066
45067 #include <sys/types.h>
45068 #include <sys/socket.h>
45069
45070 int
45071 main ()
45072 {
45073
45074 size_t len;
45075 getsockopt(0, 0, 0, 0, &len);
45076
45077 ;
45078 return 0;
45079 }
45080 _ACEOF
45081 rm -f conftest.$ac_objext
45082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45083 (eval $ac_compile) 2>conftest.er1
45084 ac_status=$?
45085 grep -v '^ *+' conftest.er1 >conftest.err
45086 rm -f conftest.er1
45087 cat conftest.err >&5
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); } &&
45090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45092 (eval $ac_try) 2>&5
45093 ac_status=$?
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); }; } &&
45096 { ac_try='test -s conftest.$ac_objext'
45097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45098 (eval $ac_try) 2>&5
45099 ac_status=$?
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); }; }; then
45102 wx_cv_type_getsockopt5=size_t
45103 else
45104 echo "$as_me: failed program was:" >&5
45105 sed 's/^/| /' conftest.$ac_ext >&5
45106
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
45114 #include <sys/types.h>
45115 #include <sys/socket.h>
45116
45117 int
45118 main ()
45119 {
45120
45121 int len;
45122 getsockopt(0, 0, 0, 0, &len);
45123
45124 ;
45125 return 0;
45126 }
45127 _ACEOF
45128 rm -f conftest.$ac_objext
45129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45130 (eval $ac_compile) 2>conftest.er1
45131 ac_status=$?
45132 grep -v '^ *+' conftest.er1 >conftest.err
45133 rm -f conftest.er1
45134 cat conftest.err >&5
45135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45136 (exit $ac_status); } &&
45137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45139 (eval $ac_try) 2>&5
45140 ac_status=$?
45141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142 (exit $ac_status); }; } &&
45143 { ac_try='test -s conftest.$ac_objext'
45144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45145 (eval $ac_try) 2>&5
45146 ac_status=$?
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); }; }; then
45149 wx_cv_type_getsockopt5=int
45150 else
45151 echo "$as_me: failed program was:" >&5
45152 sed 's/^/| /' conftest.$ac_ext >&5
45153
45154 wx_cv_type_getsockopt5=unknown
45155
45156 fi
45157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45158
45159 fi
45160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45161
45162 CXXFLAGS="$CXXFLAGS_OLD"
45163
45164
45165 fi
45166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45167
45168 fi
45169 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45170 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45171
45172 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45173 wxUSE_SOCKETS=no
45174 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45175 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45176 else
45177 cat >>confdefs.h <<_ACEOF
45178 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45179 _ACEOF
45180
45181 fi
45182 fi
45183 fi
45184
45185 if test "$wxUSE_SOCKETS" = "yes" ; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_SOCKETS 1
45188 _ACEOF
45189
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45191 fi
45192
45193 if test "$wxUSE_PROTOCOL" = "yes"; then
45194 if test "$wxUSE_SOCKETS" != "yes"; then
45195 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45196 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45197 wxUSE_PROTOCOL=no
45198 fi
45199 fi
45200
45201 if test "$wxUSE_PROTOCOL" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_PROTOCOL 1
45204 _ACEOF
45205
45206
45207 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_PROTOCOL_HTTP 1
45210 _ACEOF
45211
45212 fi
45213 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_PROTOCOL_FTP 1
45216 _ACEOF
45217
45218 fi
45219 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_PROTOCOL_FILE 1
45222 _ACEOF
45223
45224 fi
45225 else
45226 if test "$wxUSE_FS_INET" = "yes"; then
45227 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45228 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45229 wxUSE_FS_INET="no"
45230 fi
45231 fi
45232
45233 if test "$wxUSE_URL" = "yes"; then
45234 if test "$wxUSE_PROTOCOL" != "yes"; then
45235 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45236 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45237 wxUSE_URL=no
45238 fi
45239 if test "$wxUSE_URL" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_URL 1
45242 _ACEOF
45243
45244 fi
45245 fi
45246
45247 if test "$wxUSE_VARIANT" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_VARIANT 1
45250 _ACEOF
45251
45252 fi
45253
45254 if test "$wxUSE_FS_INET" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_FS_INET 1
45257 _ACEOF
45258
45259 fi
45260
45261
45262 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45263 wxUSE_JOYSTICK=no
45264
45265 if test "$TOOLKIT" = "MSW"; then
45266 wxUSE_JOYSTICK=yes
45267
45268 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45269 if test "$USE_DARWIN" = 1; then
45270 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45271 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45272 cat >conftest.$ac_ext <<_ACEOF
45273 /* confdefs.h. */
45274 _ACEOF
45275 cat confdefs.h >>conftest.$ac_ext
45276 cat >>conftest.$ac_ext <<_ACEOF
45277 /* end confdefs.h. */
45278 #include <IOKit/hid/IOHIDLib.h>
45279 int
45280 main ()
45281 {
45282 IOHIDQueueInterface *qi = NULL;
45283 IOHIDCallbackFunction cb = NULL;
45284 qi->setEventCallout(NULL, cb, NULL, NULL);
45285 ;
45286 return 0;
45287 }
45288 _ACEOF
45289 rm -f conftest.$ac_objext
45290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45291 (eval $ac_compile) 2>conftest.er1
45292 ac_status=$?
45293 grep -v '^ *+' conftest.er1 >conftest.err
45294 rm -f conftest.er1
45295 cat conftest.err >&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); } &&
45298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45300 (eval $ac_try) 2>&5
45301 ac_status=$?
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); }; } &&
45304 { ac_try='test -s conftest.$ac_objext'
45305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45306 (eval $ac_try) 2>&5
45307 ac_status=$?
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); }; }; then
45310 wxUSE_JOYSTICK=yes
45311
45312 else
45313 echo "$as_me: failed program was:" >&5
45314 sed 's/^/| /' conftest.$ac_ext >&5
45315
45316 fi
45317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45318 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45319 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45320 fi
45321
45322 else
45323
45324 for ac_header in linux/joystick.h
45325 do
45326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45328 echo "$as_me:$LINENO: checking for $ac_header" >&5
45329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45332 fi
45333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45335 else
45336 # Is the header compilable?
45337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45339 cat >conftest.$ac_ext <<_ACEOF
45340 /* confdefs.h. */
45341 _ACEOF
45342 cat confdefs.h >>conftest.$ac_ext
45343 cat >>conftest.$ac_ext <<_ACEOF
45344 /* end confdefs.h. */
45345 $ac_includes_default
45346 #include <$ac_header>
45347 _ACEOF
45348 rm -f conftest.$ac_objext
45349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45350 (eval $ac_compile) 2>conftest.er1
45351 ac_status=$?
45352 grep -v '^ *+' conftest.er1 >conftest.err
45353 rm -f conftest.er1
45354 cat conftest.err >&5
45355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45356 (exit $ac_status); } &&
45357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45359 (eval $ac_try) 2>&5
45360 ac_status=$?
45361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45362 (exit $ac_status); }; } &&
45363 { ac_try='test -s conftest.$ac_objext'
45364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45365 (eval $ac_try) 2>&5
45366 ac_status=$?
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); }; }; then
45369 ac_header_compiler=yes
45370 else
45371 echo "$as_me: failed program was:" >&5
45372 sed 's/^/| /' conftest.$ac_ext >&5
45373
45374 ac_header_compiler=no
45375 fi
45376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45378 echo "${ECHO_T}$ac_header_compiler" >&6
45379
45380 # Is the header present?
45381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45383 cat >conftest.$ac_ext <<_ACEOF
45384 /* confdefs.h. */
45385 _ACEOF
45386 cat confdefs.h >>conftest.$ac_ext
45387 cat >>conftest.$ac_ext <<_ACEOF
45388 /* end confdefs.h. */
45389 #include <$ac_header>
45390 _ACEOF
45391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45393 ac_status=$?
45394 grep -v '^ *+' conftest.er1 >conftest.err
45395 rm -f conftest.er1
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } >/dev/null; then
45399 if test -s conftest.err; then
45400 ac_cpp_err=$ac_cxx_preproc_warn_flag
45401 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45402 else
45403 ac_cpp_err=
45404 fi
45405 else
45406 ac_cpp_err=yes
45407 fi
45408 if test -z "$ac_cpp_err"; then
45409 ac_header_preproc=yes
45410 else
45411 echo "$as_me: failed program was:" >&5
45412 sed 's/^/| /' conftest.$ac_ext >&5
45413
45414 ac_header_preproc=no
45415 fi
45416 rm -f conftest.err conftest.$ac_ext
45417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45418 echo "${ECHO_T}$ac_header_preproc" >&6
45419
45420 # So? What about this header?
45421 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45422 yes:no: )
45423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45427 ac_header_preproc=yes
45428 ;;
45429 no:yes:* )
45430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45442 (
45443 cat <<\_ASBOX
45444 ## ----------------------------------------- ##
45445 ## Report this to wx-dev@lists.wxwidgets.org ##
45446 ## ----------------------------------------- ##
45447 _ASBOX
45448 ) |
45449 sed "s/^/$as_me: WARNING: /" >&2
45450 ;;
45451 esac
45452 echo "$as_me:$LINENO: checking for $ac_header" >&5
45453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45455 echo $ECHO_N "(cached) $ECHO_C" >&6
45456 else
45457 eval "$as_ac_Header=\$ac_header_preproc"
45458 fi
45459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45461
45462 fi
45463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45464 cat >>confdefs.h <<_ACEOF
45465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45466 _ACEOF
45467 wxUSE_JOYSTICK=yes
45468 fi
45469
45470 done
45471
45472 fi
45473
45474 if test "$wxUSE_JOYSTICK" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_JOYSTICK 1
45477 _ACEOF
45478
45479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45480 else
45481 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45482 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45483 fi
45484 fi
45485
45486
45487
45488 if test "$wxUSE_FONTMAP" = "yes" ; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_FONTMAP 1
45491 _ACEOF
45492
45493 fi
45494
45495 if test "$wxUSE_UNICODE" = "yes" ; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_UNICODE 1
45498 _ACEOF
45499
45500
45501 if test "$USE_WIN32" != 1; then
45502 wxUSE_UNICODE_MSLU=no
45503 fi
45504
45505 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45506 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45507 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45508 if test "${ac_cv_lib_unicows_main+set}" = set; then
45509 echo $ECHO_N "(cached) $ECHO_C" >&6
45510 else
45511 ac_check_lib_save_LIBS=$LIBS
45512 LIBS="-lunicows $LIBS"
45513 cat >conftest.$ac_ext <<_ACEOF
45514 /* confdefs.h. */
45515 _ACEOF
45516 cat confdefs.h >>conftest.$ac_ext
45517 cat >>conftest.$ac_ext <<_ACEOF
45518 /* end confdefs.h. */
45519
45520
45521 int
45522 main ()
45523 {
45524 main ();
45525 ;
45526 return 0;
45527 }
45528 _ACEOF
45529 rm -f conftest.$ac_objext conftest$ac_exeext
45530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45531 (eval $ac_link) 2>conftest.er1
45532 ac_status=$?
45533 grep -v '^ *+' conftest.er1 >conftest.err
45534 rm -f conftest.er1
45535 cat conftest.err >&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } &&
45538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45540 (eval $ac_try) 2>&5
45541 ac_status=$?
45542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45543 (exit $ac_status); }; } &&
45544 { ac_try='test -s conftest$ac_exeext'
45545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45546 (eval $ac_try) 2>&5
45547 ac_status=$?
45548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45549 (exit $ac_status); }; }; then
45550 ac_cv_lib_unicows_main=yes
45551 else
45552 echo "$as_me: failed program was:" >&5
45553 sed 's/^/| /' conftest.$ac_ext >&5
45554
45555 ac_cv_lib_unicows_main=no
45556 fi
45557 rm -f conftest.err conftest.$ac_objext \
45558 conftest$ac_exeext conftest.$ac_ext
45559 LIBS=$ac_check_lib_save_LIBS
45560 fi
45561 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45562 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45563 if test $ac_cv_lib_unicows_main = yes; then
45564
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_UNICODE_MSLU 1
45567 _ACEOF
45568
45569
45570 else
45571
45572 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45573 Applications will only run on Windows NT/2000/XP!" >&5
45574 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45575 Applications will only run on Windows NT/2000/XP!" >&2;}
45576 wxUSE_UNICODE_MSLU=no
45577
45578 fi
45579
45580 fi
45581 fi
45582
45583 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_EXPERIMENTAL_PRINTF 1
45586 _ACEOF
45587
45588 fi
45589
45590
45591 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_POSTSCRIPT 1
45594 _ACEOF
45595
45596 fi
45597
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45600 _ACEOF
45601
45602
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_NORMALIZED_PS_FONTS 1
45605 _ACEOF
45606
45607
45608
45609 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_CONSTRAINTS 1
45612 _ACEOF
45613
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45615 fi
45616
45617 if test "$wxUSE_MDI" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_MDI 1
45620 _ACEOF
45621
45622
45623 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_MDI_ARCHITECTURE 1
45626 _ACEOF
45627
45628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45629 fi
45630 fi
45631
45632 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45635 _ACEOF
45636
45637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45638 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45640 fi
45641 fi
45642
45643 if test "$wxUSE_HELP" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_HELP 1
45646 _ACEOF
45647
45648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45649
45650 if test "$wxUSE_MSW" = 1; then
45651 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_MS_HTML_HELP 1
45654 _ACEOF
45655
45656 fi
45657 fi
45658
45659 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45660 if test "$wxUSE_HTML" = "yes"; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_WXHTML_HELP 1
45663 _ACEOF
45664
45665 else
45666 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45667 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45668 wxUSE_WXHTML_HELP=no
45669 fi
45670 fi
45671 fi
45672
45673 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45674 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45675 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45676 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45677 else
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_PRINTING_ARCHITECTURE 1
45680 _ACEOF
45681
45682 fi
45683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45684 fi
45685
45686 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45687 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45688 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45689 { (exit 1); exit 1; }; }
45690 fi
45691
45692
45693 if test "$wxUSE_METAFILE" = "yes"; then
45694 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45695 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45696 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45697 wxUSE_METAFILE=no
45698 fi
45699 fi
45700
45701
45702 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45703 -o "$wxUSE_CLIPBOARD" = "yes" \
45704 -o "$wxUSE_OLE" = "yes" \
45705 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45706
45707 for ac_header in ole2.h
45708 do
45709 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45711 echo "$as_me:$LINENO: checking for $ac_header" >&5
45712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45714 echo $ECHO_N "(cached) $ECHO_C" >&6
45715 fi
45716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45718 else
45719 # Is the header compilable?
45720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45722 cat >conftest.$ac_ext <<_ACEOF
45723 /* confdefs.h. */
45724 _ACEOF
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728 $ac_includes_default
45729 #include <$ac_header>
45730 _ACEOF
45731 rm -f conftest.$ac_objext
45732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45733 (eval $ac_compile) 2>conftest.er1
45734 ac_status=$?
45735 grep -v '^ *+' conftest.er1 >conftest.err
45736 rm -f conftest.er1
45737 cat conftest.err >&5
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); } &&
45740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45742 (eval $ac_try) 2>&5
45743 ac_status=$?
45744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45745 (exit $ac_status); }; } &&
45746 { ac_try='test -s conftest.$ac_objext'
45747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45748 (eval $ac_try) 2>&5
45749 ac_status=$?
45750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45751 (exit $ac_status); }; }; then
45752 ac_header_compiler=yes
45753 else
45754 echo "$as_me: failed program was:" >&5
45755 sed 's/^/| /' conftest.$ac_ext >&5
45756
45757 ac_header_compiler=no
45758 fi
45759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45761 echo "${ECHO_T}$ac_header_compiler" >&6
45762
45763 # Is the header present?
45764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45766 cat >conftest.$ac_ext <<_ACEOF
45767 /* confdefs.h. */
45768 _ACEOF
45769 cat confdefs.h >>conftest.$ac_ext
45770 cat >>conftest.$ac_ext <<_ACEOF
45771 /* end confdefs.h. */
45772 #include <$ac_header>
45773 _ACEOF
45774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45776 ac_status=$?
45777 grep -v '^ *+' conftest.er1 >conftest.err
45778 rm -f conftest.er1
45779 cat conftest.err >&5
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); } >/dev/null; then
45782 if test -s conftest.err; then
45783 ac_cpp_err=$ac_cxx_preproc_warn_flag
45784 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45785 else
45786 ac_cpp_err=
45787 fi
45788 else
45789 ac_cpp_err=yes
45790 fi
45791 if test -z "$ac_cpp_err"; then
45792 ac_header_preproc=yes
45793 else
45794 echo "$as_me: failed program was:" >&5
45795 sed 's/^/| /' conftest.$ac_ext >&5
45796
45797 ac_header_preproc=no
45798 fi
45799 rm -f conftest.err conftest.$ac_ext
45800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45801 echo "${ECHO_T}$ac_header_preproc" >&6
45802
45803 # So? What about this header?
45804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45805 yes:no: )
45806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45810 ac_header_preproc=yes
45811 ;;
45812 no:yes:* )
45813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45825 (
45826 cat <<\_ASBOX
45827 ## ----------------------------------------- ##
45828 ## Report this to wx-dev@lists.wxwidgets.org ##
45829 ## ----------------------------------------- ##
45830 _ASBOX
45831 ) |
45832 sed "s/^/$as_me: WARNING: /" >&2
45833 ;;
45834 esac
45835 echo "$as_me:$LINENO: checking for $ac_header" >&5
45836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45838 echo $ECHO_N "(cached) $ECHO_C" >&6
45839 else
45840 eval "$as_ac_Header=\$ac_header_preproc"
45841 fi
45842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45844
45845 fi
45846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45847 cat >>confdefs.h <<_ACEOF
45848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45849 _ACEOF
45850
45851 fi
45852
45853 done
45854
45855
45856 if test "$ac_cv_header_ole2_h" = "yes" ; then
45857 if test "$GCC" = yes ; then
45858 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45859 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45860 cat >conftest.$ac_ext <<_ACEOF
45861 /* confdefs.h. */
45862 _ACEOF
45863 cat confdefs.h >>conftest.$ac_ext
45864 cat >>conftest.$ac_ext <<_ACEOF
45865 /* end confdefs.h. */
45866 #include <windows.h>
45867 #include <ole2.h>
45868 int
45869 main ()
45870 {
45871
45872 ;
45873 return 0;
45874 }
45875 _ACEOF
45876 rm -f conftest.$ac_objext
45877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45878 (eval $ac_compile) 2>conftest.er1
45879 ac_status=$?
45880 grep -v '^ *+' conftest.er1 >conftest.err
45881 rm -f conftest.er1
45882 cat conftest.err >&5
45883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884 (exit $ac_status); } &&
45885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45887 (eval $ac_try) 2>&5
45888 ac_status=$?
45889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45890 (exit $ac_status); }; } &&
45891 { ac_try='test -s conftest.$ac_objext'
45892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45893 (eval $ac_try) 2>&5
45894 ac_status=$?
45895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45896 (exit $ac_status); }; }; then
45897 echo "$as_me:$LINENO: result: no" >&5
45898 echo "${ECHO_T}no" >&6
45899 else
45900 echo "$as_me: failed program was:" >&5
45901 sed 's/^/| /' conftest.$ac_ext >&5
45902
45903 echo "$as_me:$LINENO: result: yes" >&5
45904 echo "${ECHO_T}yes" >&6
45905 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45906 fi
45907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45908 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45909 if test "$wxUSE_OLE" = "yes" ; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_OLE 1
45912 _ACEOF
45913
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_OLE_AUTOMATION 1
45916 _ACEOF
45917
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_OLE_ACTIVEX 1
45920 _ACEOF
45921
45922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45923 fi
45924 fi
45925
45926 if test "$wxUSE_DATAOBJ" = "yes" ; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_DATAOBJ 1
45929 _ACEOF
45930
45931 fi
45932 else
45933 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45934 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45935
45936 wxUSE_CLIPBOARD=no
45937 wxUSE_DRAG_AND_DROP=no
45938 wxUSE_DATAOBJ=no
45939 wxUSE_OLE=no
45940 fi
45941
45942 if test "$wxUSE_METAFILE" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_METAFILE 1
45945 _ACEOF
45946
45947
45948 cat >>confdefs.h <<\_ACEOF
45949 #define wxUSE_ENH_METAFILE 1
45950 _ACEOF
45951
45952 fi
45953 fi
45954
45955 if test "$wxUSE_IPC" = "yes"; then
45956 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45957 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45958 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45959 wxUSE_IPC=no
45960 fi
45961
45962 if test "$wxUSE_IPC" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_IPC 1
45965 _ACEOF
45966
45967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45968 fi
45969 fi
45970
45971 if test "$wxUSE_DATAOBJ" = "yes"; then
45972 if test "$wxUSE_MGL" = 1; then
45973 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45974 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45975 wxUSE_DATAOBJ=no
45976 else
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_DATAOBJ 1
45979 _ACEOF
45980
45981 fi
45982 else
45983 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45984 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45985 wxUSE_CLIPBOARD=no
45986 wxUSE_DRAG_AND_DROP=no
45987 fi
45988
45989 if test "$wxUSE_CLIPBOARD" = "yes"; then
45990 if test "$wxUSE_MGL" = 1; then
45991 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45992 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45993 wxUSE_CLIPBOARD=no
45994 fi
45995
45996 if test "$wxUSE_CLIPBOARD" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_CLIPBOARD 1
45999 _ACEOF
46000
46001 fi
46002 fi
46003
46004 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46005 if test "$wxUSE_GTK" = 1; then
46006 if test "$WXGTK12" != 1; then
46007 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46008 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46009 wxUSE_DRAG_AND_DROP=no
46010 fi
46011 fi
46012
46013 if test "$wxUSE_MOTIF" = 1; then
46014 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46015 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46016 wxUSE_DRAG_AND_DROP=no
46017 fi
46018
46019 if test "$wxUSE_X11" = 1; then
46020 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46021 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46022 wxUSE_DRAG_AND_DROP=no
46023 fi
46024
46025 if test "$wxUSE_MGL" = 1; then
46026 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46027 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46028 wxUSE_DRAG_AND_DROP=no
46029 fi
46030
46031 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define wxUSE_DRAG_AND_DROP 1
46034 _ACEOF
46035
46036 fi
46037
46038 fi
46039
46040 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46042 fi
46043
46044 if test "$wxUSE_SPLINES" = "yes" ; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_SPLINES 1
46047 _ACEOF
46048
46049 fi
46050
46051 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46052 cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_MOUSEWHEEL 1
46054 _ACEOF
46055
46056 fi
46057
46058
46059 USES_CONTROLS=0
46060 if test "$wxUSE_CONTROLS" = "yes"; then
46061 USES_CONTROLS=1
46062 fi
46063
46064 if test "$wxUSE_ACCEL" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define wxUSE_ACCEL 1
46067 _ACEOF
46068
46069 USES_CONTROLS=1
46070 fi
46071
46072 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_ANIMATIONCTRL 1
46075 _ACEOF
46076
46077 USES_CONTROLS=1
46078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46079 fi
46080
46081 if test "$wxUSE_BUTTON" = "yes"; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define wxUSE_BUTTON 1
46084 _ACEOF
46085
46086 USES_CONTROLS=1
46087 fi
46088
46089 if test "$wxUSE_BMPBUTTON" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_BMPBUTTON 1
46092 _ACEOF
46093
46094 USES_CONTROLS=1
46095 fi
46096
46097 if test "$wxUSE_CALCTRL" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_CALENDARCTRL 1
46100 _ACEOF
46101
46102 USES_CONTROLS=1
46103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46104 fi
46105
46106 if test "$wxUSE_CARET" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_CARET 1
46109 _ACEOF
46110
46111 USES_CONTROLS=1
46112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46113 fi
46114
46115 if test "$wxUSE_COLLPANE" = "yes"; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_COLLPANE 1
46118 _ACEOF
46119
46120 USES_CONTROLS=1
46121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46122 fi
46123
46124 if test "$wxUSE_COMBOBOX" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_COMBOBOX 1
46127 _ACEOF
46128
46129 USES_CONTROLS=1
46130 fi
46131
46132 if test "$wxUSE_COMBOCTRL" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_COMBOCTRL 1
46135 _ACEOF
46136
46137 USES_CONTROLS=1
46138 fi
46139
46140 if test "$wxUSE_CHOICE" = "yes"; then
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_CHOICE 1
46143 _ACEOF
46144
46145 USES_CONTROLS=1
46146 fi
46147
46148 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_CHOICEBOOK 1
46151 _ACEOF
46152
46153 USES_CONTROLS=1
46154 fi
46155
46156 if test "$wxUSE_CHECKBOX" = "yes"; then
46157 cat >>confdefs.h <<\_ACEOF
46158 #define wxUSE_CHECKBOX 1
46159 _ACEOF
46160
46161 USES_CONTROLS=1
46162 fi
46163
46164 if test "$wxUSE_CHECKLST" = "yes"; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_CHECKLISTBOX 1
46167 _ACEOF
46168
46169 USES_CONTROLS=1
46170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46171 fi
46172
46173 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_COLOURPICKERCTRL 1
46176 _ACEOF
46177
46178 USES_CONTROLS=1
46179 fi
46180
46181 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_DATEPICKCTRL 1
46184 _ACEOF
46185
46186 USES_CONTROLS=1
46187 fi
46188
46189 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46190 cat >>confdefs.h <<\_ACEOF
46191 #define wxUSE_DIRPICKERCTRL 1
46192 _ACEOF
46193
46194 USES_CONTROLS=1
46195 fi
46196
46197 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_FILEPICKERCTRL 1
46200 _ACEOF
46201
46202 USES_CONTROLS=1
46203 fi
46204
46205 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_FONTPICKERCTRL 1
46208 _ACEOF
46209
46210 USES_CONTROLS=1
46211 fi
46212
46213 if test "$wxUSE_DISPLAY" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_DISPLAY 1
46216 _ACEOF
46217
46218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46219 fi
46220
46221 if test "$wxUSE_DETECT_SM" = "yes"; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_DETECT_SM 1
46224 _ACEOF
46225
46226 fi
46227
46228 if test "$wxUSE_GAUGE" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_GAUGE 1
46231 _ACEOF
46232
46233 USES_CONTROLS=1
46234 fi
46235
46236 if test "$wxUSE_GRID" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_GRID 1
46239 _ACEOF
46240
46241 USES_CONTROLS=1
46242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46243 fi
46244
46245 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46246 cat >>confdefs.h <<\_ACEOF
46247 #define wxUSE_HYPERLINKCTRL 1
46248 _ACEOF
46249
46250 USES_CONTROLS=1
46251 fi
46252
46253 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46254 cat >>confdefs.h <<\_ACEOF
46255 #define wxUSE_BITMAPCOMBOBOX 1
46256 _ACEOF
46257
46258 USES_CONTROLS=1
46259 fi
46260
46261 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_DATAVIEWCTRL 1
46264 _ACEOF
46265
46266 USES_CONTROLS=1
46267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46268 fi
46269
46270 if test "$wxUSE_IMAGLIST" = "yes"; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_IMAGLIST 1
46273 _ACEOF
46274
46275 fi
46276
46277 if test "$wxUSE_LISTBOOK" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_LISTBOOK 1
46280 _ACEOF
46281
46282 USES_CONTROLS=1
46283 fi
46284
46285 if test "$wxUSE_LISTBOX" = "yes"; then
46286 cat >>confdefs.h <<\_ACEOF
46287 #define wxUSE_LISTBOX 1
46288 _ACEOF
46289
46290 USES_CONTROLS=1
46291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46292 fi
46293
46294 if test "$wxUSE_LISTCTRL" = "yes"; then
46295 if test "$wxUSE_IMAGLIST" = "yes"; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_LISTCTRL 1
46298 _ACEOF
46299
46300 USES_CONTROLS=1
46301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46302 else
46303 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46304 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46305 fi
46306 fi
46307
46308 if test "$wxUSE_NOTEBOOK" = "yes"; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_NOTEBOOK 1
46311 _ACEOF
46312
46313 USES_CONTROLS=1
46314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46315 fi
46316
46317 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_ODCOMBOBOX 1
46320 _ACEOF
46321
46322 USES_CONTROLS=1
46323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46324 fi
46325
46326
46327 if test "$wxUSE_RADIOBOX" = "yes"; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_RADIOBOX 1
46330 _ACEOF
46331
46332 USES_CONTROLS=1
46333 fi
46334
46335 if test "$wxUSE_RADIOBTN" = "yes"; then
46336 cat >>confdefs.h <<\_ACEOF
46337 #define wxUSE_RADIOBTN 1
46338 _ACEOF
46339
46340 USES_CONTROLS=1
46341 fi
46342
46343 if test "$wxUSE_SASH" = "yes"; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_SASH 1
46346 _ACEOF
46347
46348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46349 fi
46350
46351 if test "$wxUSE_SCROLLBAR" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_SCROLLBAR 1
46354 _ACEOF
46355
46356 USES_CONTROLS=1
46357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46358 fi
46359
46360 if test "$wxUSE_SLIDER" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_SLIDER 1
46363 _ACEOF
46364
46365 USES_CONTROLS=1
46366 fi
46367
46368 if test "$wxUSE_SPINBTN" = "yes"; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_SPINBTN 1
46371 _ACEOF
46372
46373 USES_CONTROLS=1
46374 fi
46375
46376 if test "$wxUSE_SPINCTRL" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_SPINCTRL 1
46379 _ACEOF
46380
46381 USES_CONTROLS=1
46382 fi
46383
46384 if test "$wxUSE_SPLITTER" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_SPLITTER 1
46387 _ACEOF
46388
46389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46390 fi
46391
46392 if test "$wxUSE_STATBMP" = "yes"; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_STATBMP 1
46395 _ACEOF
46396
46397 USES_CONTROLS=1
46398 fi
46399
46400 if test "$wxUSE_STATBOX" = "yes"; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_STATBOX 1
46403 _ACEOF
46404
46405 USES_CONTROLS=1
46406 fi
46407
46408 if test "$wxUSE_STATTEXT" = "yes"; then
46409 cat >>confdefs.h <<\_ACEOF
46410 #define wxUSE_STATTEXT 1
46411 _ACEOF
46412
46413 USES_CONTROLS=1
46414 fi
46415
46416 if test "$wxUSE_STATLINE" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define wxUSE_STATLINE 1
46419 _ACEOF
46420
46421 USES_CONTROLS=1
46422 fi
46423
46424 if test "$wxUSE_STATUSBAR" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_NATIVE_STATUSBAR 1
46427 _ACEOF
46428
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_STATUSBAR 1
46431 _ACEOF
46432
46433 USES_CONTROLS=1
46434
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46436 fi
46437
46438 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_TAB_DIALOG 1
46441 _ACEOF
46442
46443 fi
46444
46445 if test "$wxUSE_TEXTCTRL" = "yes"; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_TEXTCTRL 1
46448 _ACEOF
46449
46450 USES_CONTROLS=1
46451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46452 fi
46453
46454 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46455 if test "$wxUSE_COCOA" = 1 ; then
46456 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46457 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46458 wxUSE_TOGGLEBTN=no
46459 fi
46460
46461 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_TOGGLEBTN 1
46464 _ACEOF
46465
46466 USES_CONTROLS=1
46467 fi
46468 fi
46469
46470 if test "$wxUSE_TOOLBAR" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_TOOLBAR 1
46473 _ACEOF
46474
46475 USES_CONTROLS=1
46476
46477 if test "$wxUSE_UNIVERSAL" = "yes"; then
46478 wxUSE_TOOLBAR_NATIVE="no"
46479 else
46480 wxUSE_TOOLBAR_NATIVE="yes"
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_TOOLBAR_NATIVE 1
46483 _ACEOF
46484
46485 fi
46486
46487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46488 fi
46489
46490 if test "$wxUSE_TOOLTIPS" = "yes"; then
46491 if test "$wxUSE_MOTIF" = 1; then
46492 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46493 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46494 else
46495 if test "$wxUSE_UNIVERSAL" = "yes"; then
46496 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46497 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46498 else
46499 cat >>confdefs.h <<\_ACEOF
46500 #define wxUSE_TOOLTIPS 1
46501 _ACEOF
46502
46503 fi
46504 fi
46505 fi
46506
46507 if test "$wxUSE_TREEBOOK" = "yes"; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_TREEBOOK 1
46510 _ACEOF
46511
46512 USES_CONTROLS=1
46513 fi
46514
46515 if test "$wxUSE_TOOLBOOK" = "yes"; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_TOOLBOOK 1
46518 _ACEOF
46519
46520 USES_CONTROLS=1
46521 fi
46522
46523 if test "$wxUSE_TREECTRL" = "yes"; then
46524 if test "$wxUSE_IMAGLIST" = "yes"; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_TREECTRL 1
46527 _ACEOF
46528
46529 USES_CONTROLS=1
46530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46531 else
46532 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46533 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46534 fi
46535 fi
46536
46537 if test "$wxUSE_POPUPWIN" = "yes"; then
46538 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46539 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46540 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46541 else
46542 if test "$wxUSE_PM" = 1; then
46543 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46544 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46545 else
46546 cat >>confdefs.h <<\_ACEOF
46547 #define wxUSE_POPUPWIN 1
46548 _ACEOF
46549
46550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46551
46552 USES_CONTROLS=1
46553 fi
46554 fi
46555 fi
46556
46557 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46558 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46559 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46560 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46561 else
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_DIALUP_MANAGER 1
46564 _ACEOF
46565
46566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46567 fi
46568 fi
46569
46570 if test "$wxUSE_TIPWINDOW" = "yes"; then
46571 if test "$wxUSE_PM" = 1; then
46572 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46573 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46574 else
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_TIPWINDOW 1
46577 _ACEOF
46578
46579 fi
46580 fi
46581
46582 if test "$USES_CONTROLS" = 1; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_CONTROLS 1
46585 _ACEOF
46586
46587 fi
46588
46589
46590 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_ACCESSIBILITY 1
46593 _ACEOF
46594
46595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46596 fi
46597
46598 if test "$wxUSE_DC_CACHEING" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_DC_CACHEING 1
46601 _ACEOF
46602
46603 fi
46604
46605 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_DRAGIMAGE 1
46608 _ACEOF
46609
46610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46611 fi
46612
46613 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46614 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46615 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46616 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46617 else
46618 cat >>confdefs.h <<\_ACEOF
46619 #define wxUSE_EXCEPTIONS 1
46620 _ACEOF
46621
46622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46623 fi
46624 fi
46625
46626 USE_HTML=0
46627 if test "$wxUSE_HTML" = "yes"; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_HTML 1
46630 _ACEOF
46631
46632 USE_HTML=1
46633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46634 if test "$wxUSE_MAC" = 1; then
46635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46636 fi
46637 fi
46638 if test "$wxUSE_WEBKIT" = "yes"; then
46639 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46640 old_CPPFLAGS="$CPPFLAGS"
46641 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46642 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46643 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46644 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46645 echo $ECHO_N "(cached) $ECHO_C" >&6
46646 else
46647 cat >conftest.$ac_ext <<_ACEOF
46648 /* confdefs.h. */
46649 _ACEOF
46650 cat confdefs.h >>conftest.$ac_ext
46651 cat >>conftest.$ac_ext <<_ACEOF
46652 /* end confdefs.h. */
46653 #include <Carbon/Carbon.h>
46654
46655 #include <WebKit/HIWebView.h>
46656 _ACEOF
46657 rm -f conftest.$ac_objext
46658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46659 (eval $ac_compile) 2>conftest.er1
46660 ac_status=$?
46661 grep -v '^ *+' conftest.er1 >conftest.err
46662 rm -f conftest.er1
46663 cat conftest.err >&5
46664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665 (exit $ac_status); } &&
46666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46668 (eval $ac_try) 2>&5
46669 ac_status=$?
46670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671 (exit $ac_status); }; } &&
46672 { ac_try='test -s conftest.$ac_objext'
46673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46674 (eval $ac_try) 2>&5
46675 ac_status=$?
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); }; }; then
46678 ac_cv_header_WebKit_HIWebView_h=yes
46679 else
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.$ac_ext >&5
46682
46683 ac_cv_header_WebKit_HIWebView_h=no
46684 fi
46685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46686 fi
46687 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46688 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46689 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46690
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_WEBKIT 1
46693 _ACEOF
46694
46695 WEBKIT_LINK="-framework WebKit"
46696
46697 else
46698
46699 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46700 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46701 wxUSE_WEBKIT=no
46702
46703 fi
46704
46705
46706 CPPFLAGS="$old_CPPFLAGS"
46707 elif test "$wxUSE_COCOA" = 1; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_WEBKIT 1
46710 _ACEOF
46711
46712 else
46713 wxUSE_WEBKIT=no
46714 fi
46715 fi
46716
46717 USE_XRC=0
46718 if test "$wxUSE_XRC" = "yes"; then
46719 if test "$wxUSE_XML" != "yes"; then
46720 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46721 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46722 wxUSE_XRC=no
46723 else
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_XRC 1
46726 _ACEOF
46727
46728 USE_XRC=1
46729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46730 fi
46731 fi
46732
46733 USE_AUI=0
46734 if test "$wxUSE_AUI" = "yes"; then
46735 cat >>confdefs.h <<\_ACEOF
46736 #define wxUSE_AUI 1
46737 _ACEOF
46738
46739 USE_AUI=1
46740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46741 fi
46742
46743 if test "$wxUSE_MENUS" = "yes"; then
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_MENUS 1
46746 _ACEOF
46747
46748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46749 fi
46750
46751 if test "$wxUSE_METAFILE" = "yes"; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_METAFILE 1
46754 _ACEOF
46755
46756 fi
46757
46758 if test "$wxUSE_MIMETYPE" = "yes"; then
46759 cat >>confdefs.h <<\_ACEOF
46760 #define wxUSE_MIMETYPE 1
46761 _ACEOF
46762
46763 fi
46764
46765 if test "$wxUSE_MINIFRAME" = "yes"; then
46766 cat >>confdefs.h <<\_ACEOF
46767 #define wxUSE_MINIFRAME 1
46768 _ACEOF
46769
46770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46771 fi
46772
46773 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46774 cat >>confdefs.h <<\_ACEOF
46775 #define wxUSE_SYSTEM_OPTIONS 1
46776 _ACEOF
46777
46778 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46779 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46781 fi
46782 fi
46783
46784
46785 if test "$wxUSE_VALIDATORS" = "yes"; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define wxUSE_VALIDATORS 1
46788 _ACEOF
46789
46790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46791 fi
46792
46793 if test "$wxUSE_PALETTE" = "yes" ; then
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_PALETTE 1
46796 _ACEOF
46797
46798 fi
46799
46800 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46801 LIBS=" -lunicows $LIBS"
46802 fi
46803
46804 USE_RICHTEXT=0
46805 if test "$wxUSE_RICHTEXT" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_RICHTEXT 1
46808 _ACEOF
46809
46810 USE_RICHTEXT=1
46811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46812 fi
46813
46814
46815 if test "$wxUSE_IMAGE" = "yes" ; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_IMAGE 1
46818 _ACEOF
46819
46820
46821 if test "$wxUSE_GIF" = "yes" ; then
46822 cat >>confdefs.h <<\_ACEOF
46823 #define wxUSE_GIF 1
46824 _ACEOF
46825
46826 fi
46827
46828 if test "$wxUSE_PCX" = "yes" ; then
46829 cat >>confdefs.h <<\_ACEOF
46830 #define wxUSE_PCX 1
46831 _ACEOF
46832
46833 fi
46834
46835 if test "$wxUSE_TGA" = "yes" ; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_TGA 1
46838 _ACEOF
46839
46840 fi
46841
46842 if test "$wxUSE_IFF" = "yes" ; then
46843 cat >>confdefs.h <<\_ACEOF
46844 #define wxUSE_IFF 1
46845 _ACEOF
46846
46847 fi
46848
46849 if test "$wxUSE_PNM" = "yes" ; then
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_PNM 1
46852 _ACEOF
46853
46854 fi
46855
46856 if test "$wxUSE_XPM" = "yes" ; then
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_XPM 1
46859 _ACEOF
46860
46861 fi
46862
46863 if test "$wxUSE_ICO_CUR" = "yes" ; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_ICO_CUR 1
46866 _ACEOF
46867
46868 fi
46869 fi
46870
46871
46872 if test "$wxUSE_ABOUTDLG" = "yes"; then
46873 cat >>confdefs.h <<\_ACEOF
46874 #define wxUSE_ABOUTDLG 1
46875 _ACEOF
46876
46877 fi
46878
46879 if test "$wxUSE_CHOICEDLG" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_CHOICEDLG 1
46882 _ACEOF
46883
46884 fi
46885
46886 if test "$wxUSE_COLOURDLG" = "yes"; then
46887 cat >>confdefs.h <<\_ACEOF
46888 #define wxUSE_COLOURDLG 1
46889 _ACEOF
46890
46891 fi
46892
46893 if test "$wxUSE_FILEDLG" = "yes"; then
46894 cat >>confdefs.h <<\_ACEOF
46895 #define wxUSE_FILEDLG 1
46896 _ACEOF
46897
46898 fi
46899
46900 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46901 cat >>confdefs.h <<\_ACEOF
46902 #define wxUSE_FINDREPLDLG 1
46903 _ACEOF
46904
46905 fi
46906
46907 if test "$wxUSE_FONTDLG" = "yes"; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_FONTDLG 1
46910 _ACEOF
46911
46912 fi
46913
46914 if test "$wxUSE_DIRDLG" = "yes"; then
46915 if test "$wxUSE_TREECTRL" != "yes"; then
46916 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46917 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46918 else
46919 cat >>confdefs.h <<\_ACEOF
46920 #define wxUSE_DIRDLG 1
46921 _ACEOF
46922
46923 fi
46924 fi
46925
46926 if test "$wxUSE_MSGDLG" = "yes"; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_MSGDLG 1
46929 _ACEOF
46930
46931 fi
46932
46933 if test "$wxUSE_NUMBERDLG" = "yes"; then
46934 cat >>confdefs.h <<\_ACEOF
46935 #define wxUSE_NUMBERDLG 1
46936 _ACEOF
46937
46938 fi
46939
46940 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46941 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46942 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46943 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46944 else
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_PROGRESSDLG 1
46947 _ACEOF
46948
46949 fi
46950 fi
46951
46952 if test "$wxUSE_SPLASH" = "yes"; then
46953 cat >>confdefs.h <<\_ACEOF
46954 #define wxUSE_SPLASH 1
46955 _ACEOF
46956
46957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46958 fi
46959
46960 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46961 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46962 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46963 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46964 else
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_STARTUP_TIPS 1
46967 _ACEOF
46968
46969 fi
46970 fi
46971
46972 if test "$wxUSE_TEXTDLG" = "yes"; then
46973 cat >>confdefs.h <<\_ACEOF
46974 #define wxUSE_TEXTDLG 1
46975 _ACEOF
46976
46977 fi
46978
46979 if test "$wxUSE_WIZARDDLG" = "yes"; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_WIZARDDLG 1
46982 _ACEOF
46983
46984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46985 fi
46986
46987
46988 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_GRAPHICS_CONTEXT 1
46992 _ACEOF
46993
46994 elif test "$wxUSE_GTK" != 1; then
46995 cat >>confdefs.h <<\_ACEOF
46996 #define wxUSE_GRAPHICS_CONTEXT 1
46997 _ACEOF
46998
46999 else
47000
47001 pkg_failed=no
47002 echo "$as_me:$LINENO: checking for CAIRO" >&5
47003 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47004
47005 if test -n "$PKG_CONFIG"; then
47006 if test -n "$CAIRO_CFLAGS"; then
47007 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47008 else
47009 if test -n "$PKG_CONFIG" && \
47010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47011 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47012 ac_status=$?
47013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47014 (exit $ac_status); }; then
47015 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47016 else
47017 pkg_failed=yes
47018 fi
47019 fi
47020 else
47021 pkg_failed=untried
47022 fi
47023 if test -n "$PKG_CONFIG"; then
47024 if test -n "$CAIRO_LIBS"; then
47025 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47026 else
47027 if test -n "$PKG_CONFIG" && \
47028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47029 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47030 ac_status=$?
47031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032 (exit $ac_status); }; then
47033 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47034 else
47035 pkg_failed=yes
47036 fi
47037 fi
47038 else
47039 pkg_failed=untried
47040 fi
47041
47042
47043
47044 if test $pkg_failed = yes; then
47045
47046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47047 _pkg_short_errors_supported=yes
47048 else
47049 _pkg_short_errors_supported=no
47050 fi
47051 if test $_pkg_short_errors_supported = yes; then
47052 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47053 else
47054 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47055 fi
47056 # Put the nasty error message in config.log where it belongs
47057 echo "$CAIRO_PKG_ERRORS" >&5
47058
47059 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47060 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47061
47062 elif test $pkg_failed = untried; then
47063 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47064 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47065
47066 else
47067 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47068 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47069 echo "$as_me:$LINENO: result: yes" >&5
47070 echo "${ECHO_T}yes" >&6
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_GRAPHICS_CONTEXT 1
47073 _ACEOF
47074
47075 fi
47076 fi
47077 fi
47078
47079
47080 USE_MEDIA=0
47081
47082 if test "$wxUSE_MEDIACTRL" = "yes"; then
47083 USE_MEDIA=1
47084
47085 if test "$wxUSE_GTK" = 1; then
47086 wxUSE_GSTREAMER="no"
47087
47088 GST_VERSION_MAJOR=0
47089 GST_VERSION_MINOR=10
47090 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47091
47092 if test "$wxUSE_GSTREAMER8" = "no"; then
47093
47094 pkg_failed=no
47095 echo "$as_me:$LINENO: checking for GST" >&5
47096 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47097
47098 if test -n "$PKG_CONFIG"; then
47099 if test -n "$GST_CFLAGS"; then
47100 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47101 else
47102 if test -n "$PKG_CONFIG" && \
47103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47104 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47105 ac_status=$?
47106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47107 (exit $ac_status); }; then
47108 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47109 else
47110 pkg_failed=yes
47111 fi
47112 fi
47113 else
47114 pkg_failed=untried
47115 fi
47116 if test -n "$PKG_CONFIG"; then
47117 if test -n "$GST_LIBS"; then
47118 pkg_cv_GST_LIBS="$GST_LIBS"
47119 else
47120 if test -n "$PKG_CONFIG" && \
47121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47122 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47123 ac_status=$?
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; then
47126 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47127 else
47128 pkg_failed=yes
47129 fi
47130 fi
47131 else
47132 pkg_failed=untried
47133 fi
47134
47135
47136
47137 if test $pkg_failed = yes; then
47138
47139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47140 _pkg_short_errors_supported=yes
47141 else
47142 _pkg_short_errors_supported=no
47143 fi
47144 if test $_pkg_short_errors_supported = yes; then
47145 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47146 else
47147 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47148 fi
47149 # Put the nasty error message in config.log where it belongs
47150 echo "$GST_PKG_ERRORS" >&5
47151
47152
47153 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47154 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47155 GST_VERSION_MINOR=8
47156
47157
47158 elif test $pkg_failed = untried; then
47159
47160 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47161 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47162 GST_VERSION_MINOR=8
47163
47164
47165 else
47166 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47167 GST_LIBS=$pkg_cv_GST_LIBS
47168 echo "$as_me:$LINENO: result: yes" >&5
47169 echo "${ECHO_T}yes" >&6
47170
47171 wxUSE_GSTREAMER="yes"
47172 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47173
47174 fi
47175 else
47176 GST_VERSION_MINOR=8
47177 fi
47178
47179 if test $GST_VERSION_MINOR = "8"; then
47180 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47181
47182 pkg_failed=no
47183 echo "$as_me:$LINENO: checking for GST" >&5
47184 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47185
47186 if test -n "$PKG_CONFIG"; then
47187 if test -n "$GST_CFLAGS"; then
47188 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47189 else
47190 if test -n "$PKG_CONFIG" && \
47191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47192 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47193 ac_status=$?
47194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47195 (exit $ac_status); }; then
47196 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47197 else
47198 pkg_failed=yes
47199 fi
47200 fi
47201 else
47202 pkg_failed=untried
47203 fi
47204 if test -n "$PKG_CONFIG"; then
47205 if test -n "$GST_LIBS"; then
47206 pkg_cv_GST_LIBS="$GST_LIBS"
47207 else
47208 if test -n "$PKG_CONFIG" && \
47209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47210 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47211 ac_status=$?
47212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213 (exit $ac_status); }; then
47214 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47215 else
47216 pkg_failed=yes
47217 fi
47218 fi
47219 else
47220 pkg_failed=untried
47221 fi
47222
47223
47224
47225 if test $pkg_failed = yes; then
47226
47227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47228 _pkg_short_errors_supported=yes
47229 else
47230 _pkg_short_errors_supported=no
47231 fi
47232 if test $_pkg_short_errors_supported = yes; then
47233 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47234 else
47235 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47236 fi
47237 # Put the nasty error message in config.log where it belongs
47238 echo "$GST_PKG_ERRORS" >&5
47239
47240
47241 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47242 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47243
47244 elif test $pkg_failed = untried; then
47245
47246 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47247 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47248
47249 else
47250 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47251 GST_LIBS=$pkg_cv_GST_LIBS
47252 echo "$as_me:$LINENO: result: yes" >&5
47253 echo "${ECHO_T}yes" >&6
47254 wxUSE_GSTREAMER="yes"
47255 fi
47256 fi
47257
47258
47259 if test "$wxUSE_GSTREAMER" = "yes"; then
47260 case "${host}" in
47261 *-*-solaris2* )
47262 if "$GCC" = yes; then
47263 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47264 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47265 fi
47266 esac
47267
47268 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47269 LIBS="$GST_LIBS $LIBS"
47270
47271 cat >>confdefs.h <<\_ACEOF
47272 #define wxUSE_GSTREAMER 1
47273 _ACEOF
47274
47275 else
47276 USE_MEDIA=0
47277 fi
47278 fi
47279
47280 if test $USE_MEDIA = 1; then
47281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_MEDIACTRL 1
47284 _ACEOF
47285
47286 fi
47287 fi
47288
47289
47290 if test "$cross_compiling" = "yes"; then
47291 OSINFO="\"$host\""
47292 else
47293 OSINFO=`uname -s -r -m`
47294 OSINFO="\"$OSINFO\""
47295 fi
47296
47297 cat >>confdefs.h <<_ACEOF
47298 #define WXWIN_OS_DESCRIPTION $OSINFO
47299 _ACEOF
47300
47301
47302
47303 if test "x$prefix" != "xNONE"; then
47304 wxPREFIX=$prefix
47305 else
47306 wxPREFIX=$ac_default_prefix
47307 fi
47308
47309 cat >>confdefs.h <<_ACEOF
47310 #define wxINSTALL_PREFIX "$wxPREFIX"
47311 _ACEOF
47312
47313
47314
47315
47316 CORE_BASE_LIBS="net base"
47317 CORE_GUI_LIBS="adv core"
47318
47319 if test "$wxUSE_XML" = "yes" ; then
47320 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47321 fi
47322 if test "$wxUSE_ODBC" != "no" ; then
47323 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47324 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47325 fi
47326 if test "$wxUSE_HTML" = "yes" ; then
47327 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47328 fi
47329 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47330 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47331 fi
47332 if test "$wxUSE_XRC" = "yes" ; then
47333 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47334 fi
47335 if test "$wxUSE_AUI" = "yes" ; then
47336 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47337 fi
47338
47339 if test "$wxUSE_GUI" != "yes"; then
47340 CORE_GUI_LIBS=""
47341 fi
47342
47343
47344
47345
47346
47347 ac_ext=c
47348 ac_cpp='$CPP $CPPFLAGS'
47349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47352
47353
47354
47355 if test "$wxUSE_MAC" = 1 ; then
47356 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47357 if test "$USE_DARWIN" = 1; then
47358 LDFLAGS="$LDFLAGS -framework QuickTime"
47359 else
47360 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47361 fi
47362 fi
47363 if test "$USE_DARWIN" = 1; then
47364 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47365 else
47366 LDFLAGS="$LDFLAGS -lCarbonLib"
47367 fi
47368 fi
47369 if test "$wxUSE_COCOA" = 1 ; then
47370 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47371 if test "$wxUSE_MEDIACTRL" = "yes"; then
47372 LDFLAGS="$LDFLAGS -framework QuickTime"
47373 fi
47374 fi
47375 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47376 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47377 fi
47378
47379 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47380
47381 if test "$wxUSE_GUI" = "yes"; then
47382
47383
47384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47385 dynamic erase event exec font image minimal mobile \
47386 mobile/wxedit mobile/styles propsize render \
47387 rotate shaped vscroll widgets"
47388
47389 if test "$wxUSE_MONOLITHIC" != "yes"; then
47390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47391 fi
47392 if test "$TOOLKIT" = "MSW"; then
47393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47394 if test "$wxUSE_UNIVERSAL" != "yes"; then
47395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47396 fi
47397 fi
47398 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47400 fi
47401 else
47402 SAMPLES_SUBDIRS="console"
47403 fi
47404
47405
47406 if test "x$INTELCC" = "xyes" ; then
47407 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47408 elif test "$GCC" = yes ; then
47409 CWARNINGS="-Wall -Wundef"
47410 fi
47411
47412 if test "x$INTELCXX" = "xyes" ; then
47413 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47414 elif test "$GXX" = yes ; then
47415 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47416 fi
47417
47418
47419 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47420 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47421
47422
47423 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47424 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47425 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47426 $CPPFLAGS `
47427
47428 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47429 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47430 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47431
47432 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47433
47434
47435 if test "x$MWCC" = "xyes"; then
47436
47437 CC="$CC -cwd source -I-"
47438 CXX="$CXX -cwd source -I-"
47439 fi
47440
47441
47442 LIBS=`echo $LIBS`
47443 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47444 EXTRALIBS_XML="$EXPAT_LINK"
47445 EXTRALIBS_HTML="$MSPACK_LINK"
47446 EXTRALIBS_ODBC="$ODBC_LINK"
47447 if test "$wxUSE_GUI" = "yes"; then
47448 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47449 fi
47450 if test "$wxUSE_OPENGL" = "yes"; then
47451 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47452 fi
47453
47454 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47455
47456 WXCONFIG_LIBS="$LIBS"
47457
47458 if test "$wxUSE_REGEX" = "builtin" ; then
47459 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47460 fi
47461 if test "$wxUSE_EXPAT" = "builtin" ; then
47462 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47463 fi
47464 if test "$wxUSE_ODBC" = "builtin" ; then
47465 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47466 fi
47467 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47468 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47469 fi
47470 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47471 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47472 fi
47473 if test "$wxUSE_LIBPNG" = "builtin" ; then
47474 wxconfig_3rdparty="png $wxconfig_3rdparty"
47475 fi
47476 if test "$wxUSE_ZLIB" = "builtin" ; then
47477 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47478 fi
47479
47480 for i in $wxconfig_3rdparty ; do
47481 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47482 done
47483
47484
47485 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47486 WXUNIV=1
47487
47488 case "$wxUNIV_THEMES" in
47489 ''|all)
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_ALL_THEMES 1
47492 _ACEOF
47493
47494 ;;
47495
47496 *)
47497 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47498 cat >>confdefs.h <<_ACEOF
47499 #define wxUSE_THEME_$t 1
47500 _ACEOF
47501
47502 done
47503 esac
47504 else
47505 WXUNIV=0
47506 fi
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516 if test $wxUSE_MONOLITHIC = "yes" ; then
47517 MONOLITHIC=1
47518 else
47519 MONOLITHIC=0
47520 fi
47521
47522 if test $wxUSE_PLUGINS = "yes" ; then
47523 USE_PLUGINS=1
47524 else
47525 USE_PLUGINS=0
47526 fi
47527
47528 if test $wxUSE_ODBC != "no" ; then
47529 USE_ODBC=1
47530 else
47531 USE_ODBC=0
47532 fi
47533
47534 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47535 USE_QA=1
47536 else
47537 USE_QA=0
47538 fi
47539
47540 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47541 OFFICIAL_BUILD=1
47542 else
47543 OFFICIAL_BUILD=0
47544 fi
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47571
47572
47573
47574
47575
47576
47577
47578
47579 case "$TOOLKIT" in
47580 GTK)
47581 TOOLKIT_DESC="GTK+"
47582 if test "$WXGTK20" = 1; then
47583 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47584 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47585 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47586 fi
47587 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47588 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47589 fi
47590 if test "$wxUSE_LIBHILDON" = "yes"; then
47591 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47592 fi
47593
47594 if test "$TOOLKIT_EXTRA" != ""; then
47595 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47596 fi
47597 fi
47598 ;;
47599
47600 ?*)
47601 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47602 ;;
47603
47604 *)
47605 TOOLKIT_DESC="base only"
47606 ;;
47607 esac
47608
47609 if test "$wxUSE_WINE" = "yes"; then
47610 BAKEFILE_FORCE_PLATFORM=win32
47611 fi
47612
47613 if test "$wxUSE_MAC" = 1 ; then
47614 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47615 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47616 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47617 else
47618 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47619 fi
47620 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47621 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47622 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47623 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47624 bk_use_pch=no
47625 fi
47626 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47627 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47628 fi
47629
47630 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47631 then
47632 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47633 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47634 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47635 echo $ECHO_N "(cached) $ECHO_C" >&6
47636 else
47637
47638 echo '#include <stdio.h>
47639 const wchar_t test_var[] = L"awidetest";' > conftest.h
47640
47641 echo '#include "conftest.h"
47642 int main()
47643 {
47644 printf("%ls", test_var);
47645 return 0;
47646 }' > conftest.cpp
47647
47648 wx_cv_gcc_pch_bug="pch not supported"
47649
47650 if $CXX conftest.h >/dev/null 2>&1
47651 then
47652 wx_cv_gcc_pch_bug=
47653
47654 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47655 then
47656 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47657 grep awidetest >/dev/null
47658 then
47659 wx_cv_gcc_pch_bug=no
47660 else
47661 wx_cv_gcc_pch_bug=yes
47662 fi
47663 fi
47664 fi
47665
47666 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47667
47668 fi
47669 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47670 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47671
47672 if test "$wx_cv_gcc_pch_bug" = yes; then
47673 bk_use_pch=no
47674 fi
47675 fi
47676
47677
47678
47679
47680 if test "x$BAKEFILE_HOST" = "x"; then
47681 if test "x${host}" = "x" ; then
47682 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47683 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47684 { (exit 1); exit 1; }; }
47685 fi
47686
47687 BAKEFILE_HOST="${host}"
47688 fi
47689
47690 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47691
47692 if test -n "$ac_tool_prefix"; then
47693 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47694 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47695 echo "$as_me:$LINENO: checking for $ac_word" >&5
47696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47697 if test "${ac_cv_prog_RANLIB+set}" = set; then
47698 echo $ECHO_N "(cached) $ECHO_C" >&6
47699 else
47700 if test -n "$RANLIB"; then
47701 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47702 else
47703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47704 for as_dir in $PATH
47705 do
47706 IFS=$as_save_IFS
47707 test -z "$as_dir" && as_dir=.
47708 for ac_exec_ext in '' $ac_executable_extensions; do
47709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47710 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47712 break 2
47713 fi
47714 done
47715 done
47716
47717 fi
47718 fi
47719 RANLIB=$ac_cv_prog_RANLIB
47720 if test -n "$RANLIB"; then
47721 echo "$as_me:$LINENO: result: $RANLIB" >&5
47722 echo "${ECHO_T}$RANLIB" >&6
47723 else
47724 echo "$as_me:$LINENO: result: no" >&5
47725 echo "${ECHO_T}no" >&6
47726 fi
47727
47728 fi
47729 if test -z "$ac_cv_prog_RANLIB"; then
47730 ac_ct_RANLIB=$RANLIB
47731 # Extract the first word of "ranlib", so it can be a program name with args.
47732 set dummy ranlib; ac_word=$2
47733 echo "$as_me:$LINENO: checking for $ac_word" >&5
47734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47735 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47736 echo $ECHO_N "(cached) $ECHO_C" >&6
47737 else
47738 if test -n "$ac_ct_RANLIB"; then
47739 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47740 else
47741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47742 for as_dir in $PATH
47743 do
47744 IFS=$as_save_IFS
47745 test -z "$as_dir" && as_dir=.
47746 for ac_exec_ext in '' $ac_executable_extensions; do
47747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47748 ac_cv_prog_ac_ct_RANLIB="ranlib"
47749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47750 break 2
47751 fi
47752 done
47753 done
47754
47755 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47756 fi
47757 fi
47758 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47759 if test -n "$ac_ct_RANLIB"; then
47760 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47761 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47762 else
47763 echo "$as_me:$LINENO: result: no" >&5
47764 echo "${ECHO_T}no" >&6
47765 fi
47766
47767 RANLIB=$ac_ct_RANLIB
47768 else
47769 RANLIB="$ac_cv_prog_RANLIB"
47770 fi
47771
47772 # Find a good install program. We prefer a C program (faster),
47773 # so one script is as good as another. But avoid the broken or
47774 # incompatible versions:
47775 # SysV /etc/install, /usr/sbin/install
47776 # SunOS /usr/etc/install
47777 # IRIX /sbin/install
47778 # AIX /bin/install
47779 # AmigaOS /C/install, which installs bootblocks on floppy discs
47780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47783 # OS/2's system install, which has a completely different semantic
47784 # ./install, which can be erroneously created by make from ./install.sh.
47785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47787 if test -z "$INSTALL"; then
47788 if test "${ac_cv_path_install+set}" = set; then
47789 echo $ECHO_N "(cached) $ECHO_C" >&6
47790 else
47791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47792 for as_dir in $PATH
47793 do
47794 IFS=$as_save_IFS
47795 test -z "$as_dir" && as_dir=.
47796 # Account for people who put trailing slashes in PATH elements.
47797 case $as_dir/ in
47798 ./ | .// | /cC/* | \
47799 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47800 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47801 /usr/ucb/* ) ;;
47802 *)
47803 # OSF1 and SCO ODT 3.0 have their own names for install.
47804 # Don't use installbsd from OSF since it installs stuff as root
47805 # by default.
47806 for ac_prog in ginstall scoinst install; do
47807 for ac_exec_ext in '' $ac_executable_extensions; do
47808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47809 if test $ac_prog = install &&
47810 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47811 # AIX install. It has an incompatible calling convention.
47812 :
47813 elif test $ac_prog = install &&
47814 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47815 # program-specific install script used by HP pwplus--don't use.
47816 :
47817 else
47818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47819 break 3
47820 fi
47821 fi
47822 done
47823 done
47824 ;;
47825 esac
47826 done
47827
47828
47829 fi
47830 if test "${ac_cv_path_install+set}" = set; then
47831 INSTALL=$ac_cv_path_install
47832 else
47833 # As a last resort, use the slow shell script. We don't cache a
47834 # path for INSTALL within a source directory, because that will
47835 # break other packages using the cache if that directory is
47836 # removed, or if the path is relative.
47837 INSTALL=$ac_install_sh
47838 fi
47839 fi
47840 echo "$as_me:$LINENO: result: $INSTALL" >&5
47841 echo "${ECHO_T}$INSTALL" >&6
47842
47843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47844 # It thinks the first close brace ends the variable substitution.
47845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47846
47847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47848
47849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47850
47851 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47853 LN_S=$as_ln_s
47854 if test "$LN_S" = "ln -s"; then
47855 echo "$as_me:$LINENO: result: yes" >&5
47856 echo "${ECHO_T}yes" >&6
47857 else
47858 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47859 echo "${ECHO_T}no, using $LN_S" >&6
47860 fi
47861
47862
47863 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47864 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47865 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47866 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47867 echo $ECHO_N "(cached) $ECHO_C" >&6
47868 else
47869 cat >conftest.make <<\_ACEOF
47870 all:
47871 @echo 'ac_maketemp="$(MAKE)"'
47872 _ACEOF
47873 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47874 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47875 if test -n "$ac_maketemp"; then
47876 eval ac_cv_prog_make_${ac_make}_set=yes
47877 else
47878 eval ac_cv_prog_make_${ac_make}_set=no
47879 fi
47880 rm -f conftest.make
47881 fi
47882 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47883 echo "$as_me:$LINENO: result: yes" >&5
47884 echo "${ECHO_T}yes" >&6
47885 SET_MAKE=
47886 else
47887 echo "$as_me:$LINENO: result: no" >&5
47888 echo "${ECHO_T}no" >&6
47889 SET_MAKE="MAKE=${MAKE-make}"
47890 fi
47891
47892
47893
47894 if test -n "$ac_tool_prefix"; then
47895 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47896 set dummy ${ac_tool_prefix}ar; ac_word=$2
47897 echo "$as_me:$LINENO: checking for $ac_word" >&5
47898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47899 if test "${ac_cv_prog_AR+set}" = set; then
47900 echo $ECHO_N "(cached) $ECHO_C" >&6
47901 else
47902 if test -n "$AR"; then
47903 ac_cv_prog_AR="$AR" # Let the user override the test.
47904 else
47905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47906 for as_dir in $PATH
47907 do
47908 IFS=$as_save_IFS
47909 test -z "$as_dir" && as_dir=.
47910 for ac_exec_ext in '' $ac_executable_extensions; do
47911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47912 ac_cv_prog_AR="${ac_tool_prefix}ar"
47913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47914 break 2
47915 fi
47916 done
47917 done
47918
47919 fi
47920 fi
47921 AR=$ac_cv_prog_AR
47922 if test -n "$AR"; then
47923 echo "$as_me:$LINENO: result: $AR" >&5
47924 echo "${ECHO_T}$AR" >&6
47925 else
47926 echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6
47928 fi
47929
47930 fi
47931 if test -z "$ac_cv_prog_AR"; then
47932 ac_ct_AR=$AR
47933 # Extract the first word of "ar", so it can be a program name with args.
47934 set dummy ar; ac_word=$2
47935 echo "$as_me:$LINENO: checking for $ac_word" >&5
47936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47937 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47938 echo $ECHO_N "(cached) $ECHO_C" >&6
47939 else
47940 if test -n "$ac_ct_AR"; then
47941 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47942 else
47943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47944 for as_dir in $PATH
47945 do
47946 IFS=$as_save_IFS
47947 test -z "$as_dir" && as_dir=.
47948 for ac_exec_ext in '' $ac_executable_extensions; do
47949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47950 ac_cv_prog_ac_ct_AR="ar"
47951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47952 break 2
47953 fi
47954 done
47955 done
47956
47957 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47958 fi
47959 fi
47960 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47961 if test -n "$ac_ct_AR"; then
47962 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47963 echo "${ECHO_T}$ac_ct_AR" >&6
47964 else
47965 echo "$as_me:$LINENO: result: no" >&5
47966 echo "${ECHO_T}no" >&6
47967 fi
47968
47969 AR=$ac_ct_AR
47970 else
47971 AR="$ac_cv_prog_AR"
47972 fi
47973
47974 if test -n "$ac_tool_prefix"; then
47975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47976 set dummy ${ac_tool_prefix}strip; ac_word=$2
47977 echo "$as_me:$LINENO: checking for $ac_word" >&5
47978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47979 if test "${ac_cv_prog_STRIP+set}" = set; then
47980 echo $ECHO_N "(cached) $ECHO_C" >&6
47981 else
47982 if test -n "$STRIP"; then
47983 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47984 else
47985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47986 for as_dir in $PATH
47987 do
47988 IFS=$as_save_IFS
47989 test -z "$as_dir" && as_dir=.
47990 for ac_exec_ext in '' $ac_executable_extensions; do
47991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47992 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47994 break 2
47995 fi
47996 done
47997 done
47998
47999 fi
48000 fi
48001 STRIP=$ac_cv_prog_STRIP
48002 if test -n "$STRIP"; then
48003 echo "$as_me:$LINENO: result: $STRIP" >&5
48004 echo "${ECHO_T}$STRIP" >&6
48005 else
48006 echo "$as_me:$LINENO: result: no" >&5
48007 echo "${ECHO_T}no" >&6
48008 fi
48009
48010 fi
48011 if test -z "$ac_cv_prog_STRIP"; then
48012 ac_ct_STRIP=$STRIP
48013 # Extract the first word of "strip", so it can be a program name with args.
48014 set dummy strip; ac_word=$2
48015 echo "$as_me:$LINENO: checking for $ac_word" >&5
48016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48017 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48018 echo $ECHO_N "(cached) $ECHO_C" >&6
48019 else
48020 if test -n "$ac_ct_STRIP"; then
48021 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48022 else
48023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48024 for as_dir in $PATH
48025 do
48026 IFS=$as_save_IFS
48027 test -z "$as_dir" && as_dir=.
48028 for ac_exec_ext in '' $ac_executable_extensions; do
48029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48030 ac_cv_prog_ac_ct_STRIP="strip"
48031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48032 break 2
48033 fi
48034 done
48035 done
48036
48037 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48038 fi
48039 fi
48040 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48041 if test -n "$ac_ct_STRIP"; then
48042 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48043 echo "${ECHO_T}$ac_ct_STRIP" >&6
48044 else
48045 echo "$as_me:$LINENO: result: no" >&5
48046 echo "${ECHO_T}no" >&6
48047 fi
48048
48049 STRIP=$ac_ct_STRIP
48050 else
48051 STRIP="$ac_cv_prog_STRIP"
48052 fi
48053
48054 if test -n "$ac_tool_prefix"; then
48055 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48056 set dummy ${ac_tool_prefix}nm; ac_word=$2
48057 echo "$as_me:$LINENO: checking for $ac_word" >&5
48058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48059 if test "${ac_cv_prog_NM+set}" = set; then
48060 echo $ECHO_N "(cached) $ECHO_C" >&6
48061 else
48062 if test -n "$NM"; then
48063 ac_cv_prog_NM="$NM" # Let the user override the test.
48064 else
48065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48066 for as_dir in $PATH
48067 do
48068 IFS=$as_save_IFS
48069 test -z "$as_dir" && as_dir=.
48070 for ac_exec_ext in '' $ac_executable_extensions; do
48071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48072 ac_cv_prog_NM="${ac_tool_prefix}nm"
48073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48074 break 2
48075 fi
48076 done
48077 done
48078
48079 fi
48080 fi
48081 NM=$ac_cv_prog_NM
48082 if test -n "$NM"; then
48083 echo "$as_me:$LINENO: result: $NM" >&5
48084 echo "${ECHO_T}$NM" >&6
48085 else
48086 echo "$as_me:$LINENO: result: no" >&5
48087 echo "${ECHO_T}no" >&6
48088 fi
48089
48090 fi
48091 if test -z "$ac_cv_prog_NM"; then
48092 ac_ct_NM=$NM
48093 # Extract the first word of "nm", so it can be a program name with args.
48094 set dummy nm; ac_word=$2
48095 echo "$as_me:$LINENO: checking for $ac_word" >&5
48096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48097 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48098 echo $ECHO_N "(cached) $ECHO_C" >&6
48099 else
48100 if test -n "$ac_ct_NM"; then
48101 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48102 else
48103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48104 for as_dir in $PATH
48105 do
48106 IFS=$as_save_IFS
48107 test -z "$as_dir" && as_dir=.
48108 for ac_exec_ext in '' $ac_executable_extensions; do
48109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48110 ac_cv_prog_ac_ct_NM="nm"
48111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48112 break 2
48113 fi
48114 done
48115 done
48116
48117 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48118 fi
48119 fi
48120 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48121 if test -n "$ac_ct_NM"; then
48122 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48123 echo "${ECHO_T}$ac_ct_NM" >&6
48124 else
48125 echo "$as_me:$LINENO: result: no" >&5
48126 echo "${ECHO_T}no" >&6
48127 fi
48128
48129 NM=$ac_ct_NM
48130 else
48131 NM="$ac_cv_prog_NM"
48132 fi
48133
48134
48135 case ${BAKEFILE_HOST} in
48136 *-hp-hpux* )
48137 INSTALL_DIR="mkdir -p"
48138 ;;
48139 *) INSTALL_DIR="$INSTALL -d"
48140 ;;
48141 esac
48142
48143
48144 LDFLAGS_GUI=
48145 case ${BAKEFILE_HOST} in
48146 *-*-cygwin* | *-*-mingw32* )
48147 LDFLAGS_GUI="-mwindows"
48148 esac
48149
48150
48151 fi
48152
48153 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48154 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48155 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48156 echo $ECHO_N "(cached) $ECHO_C" >&6
48157 else
48158
48159 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48160 egrep -s GNU > /dev/null); then
48161 bakefile_cv_prog_makeisgnu="yes"
48162 else
48163 bakefile_cv_prog_makeisgnu="no"
48164 fi
48165
48166 fi
48167 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48168 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48169
48170 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48171 IF_GNU_MAKE=""
48172 else
48173 IF_GNU_MAKE="#"
48174 fi
48175
48176
48177
48178 PLATFORM_UNIX=0
48179 PLATFORM_WIN32=0
48180 PLATFORM_MSDOS=0
48181 PLATFORM_MAC=0
48182 PLATFORM_MACOS=0
48183 PLATFORM_MACOSX=0
48184 PLATFORM_OS2=0
48185 PLATFORM_BEOS=0
48186
48187 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48188 case "${BAKEFILE_HOST}" in
48189 *-*-mingw32* )
48190 PLATFORM_WIN32=1
48191 ;;
48192 *-pc-msdosdjgpp )
48193 PLATFORM_MSDOS=1
48194 ;;
48195 *-pc-os2_emx | *-pc-os2-emx )
48196 PLATFORM_OS2=1
48197 ;;
48198 *-*-darwin* )
48199 PLATFORM_MAC=1
48200 PLATFORM_MACOSX=1
48201 ;;
48202 *-*-beos* )
48203 PLATFORM_BEOS=1
48204 ;;
48205 powerpc-apple-macos* )
48206 PLATFORM_MAC=1
48207 PLATFORM_MACOS=1
48208 ;;
48209 * )
48210 PLATFORM_UNIX=1
48211 ;;
48212 esac
48213 else
48214 case "$BAKEFILE_FORCE_PLATFORM" in
48215 win32 )
48216 PLATFORM_WIN32=1
48217 ;;
48218 msdos )
48219 PLATFORM_MSDOS=1
48220 ;;
48221 os2 )
48222 PLATFORM_OS2=1
48223 ;;
48224 darwin )
48225 PLATFORM_MAC=1
48226 PLATFORM_MACOSX=1
48227 ;;
48228 unix )
48229 PLATFORM_UNIX=1
48230 ;;
48231 beos )
48232 PLATFORM_BEOS=1
48233 ;;
48234 * )
48235 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48236 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48237 { (exit 1); exit 1; }; }
48238 ;;
48239 esac
48240 fi
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252 # Check whether --enable-omf or --disable-omf was given.
48253 if test "${enable_omf+set}" = set; then
48254 enableval="$enable_omf"
48255 bk_os2_use_omf="$enableval"
48256 fi;
48257
48258 case "${BAKEFILE_HOST}" in
48259 *-*-darwin* )
48260 if test "x$GCC" = "xyes"; then
48261 CFLAGS="$CFLAGS -fno-common"
48262 CXXFLAGS="$CXXFLAGS -fno-common"
48263 fi
48264 if test "x$XLCC" = "xyes"; then
48265 CFLAGS="$CFLAGS -qnocommon"
48266 CXXFLAGS="$CXXFLAGS -qnocommon"
48267 fi
48268 ;;
48269
48270 *-pc-os2_emx | *-pc-os2-emx )
48271 if test "x$bk_os2_use_omf" = "xyes" ; then
48272 AR=emxomfar
48273 RANLIB=:
48274 LDFLAGS="-Zomf $LDFLAGS"
48275 CFLAGS="-Zomf $CFLAGS"
48276 CXXFLAGS="-Zomf $CXXFLAGS"
48277 OS2_LIBEXT="lib"
48278 else
48279 OS2_LIBEXT="a"
48280 fi
48281 ;;
48282
48283 i*86-*-beos* )
48284 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48285 ;;
48286 esac
48287
48288
48289 SO_SUFFIX="so"
48290 SO_SUFFIX_MODULE="so"
48291 EXEEXT=""
48292 LIBPREFIX="lib"
48293 LIBEXT=".a"
48294 DLLPREFIX="lib"
48295 DLLPREFIX_MODULE=""
48296 DLLIMP_SUFFIX=""
48297 dlldir="$libdir"
48298
48299 case "${BAKEFILE_HOST}" in
48300 *-hp-hpux* )
48301 SO_SUFFIX="sl"
48302 SO_SUFFIX_MODULE="sl"
48303 ;;
48304 *-*-aix* )
48305 SO_SUFFIX="a"
48306 SO_SUFFIX_MODULE="a"
48307 ;;
48308 *-*-cygwin* )
48309 SO_SUFFIX="dll"
48310 SO_SUFFIX_MODULE="dll"
48311 DLLIMP_SUFFIX="dll.a"
48312 EXEEXT=".exe"
48313 DLLPREFIX="cyg"
48314 dlldir="$bindir"
48315 ;;
48316 *-*-mingw32* )
48317 SO_SUFFIX="dll"
48318 SO_SUFFIX_MODULE="dll"
48319 DLLIMP_SUFFIX="dll.a"
48320 EXEEXT=".exe"
48321 DLLPREFIX=""
48322 dlldir="$bindir"
48323 ;;
48324 *-pc-msdosdjgpp )
48325 EXEEXT=".exe"
48326 DLLPREFIX=""
48327 dlldir="$bindir"
48328 ;;
48329 *-pc-os2_emx | *-pc-os2-emx )
48330 SO_SUFFIX="dll"
48331 SO_SUFFIX_MODULE="dll"
48332 DLLIMP_SUFFIX=$OS2_LIBEXT
48333 EXEEXT=".exe"
48334 DLLPREFIX=""
48335 LIBPREFIX=""
48336 LIBEXT=".$OS2_LIBEXT"
48337 dlldir="$bindir"
48338 ;;
48339 *-*-darwin* )
48340 SO_SUFFIX="dylib"
48341 SO_SUFFIX_MODULE="bundle"
48342 ;;
48343 esac
48344
48345 if test "x$DLLIMP_SUFFIX" = "x" ; then
48346 DLLIMP_SUFFIX="$SO_SUFFIX"
48347 fi
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360 PIC_FLAG=""
48361 if test "x$GCC" = "xyes"; then
48362 PIC_FLAG="-fPIC"
48363 fi
48364
48365 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48366 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48367 WINDOWS_IMPLIB=0
48368
48369 case "${BAKEFILE_HOST}" in
48370 *-hp-hpux* )
48371 if test "x$GCC" != "xyes"; then
48372 LDFLAGS="$LDFLAGS -L/usr/lib"
48373
48374 SHARED_LD_CC="${CC} -b -o"
48375 SHARED_LD_CXX="${CXX} -b -o"
48376 PIC_FLAG="+Z"
48377 fi
48378 ;;
48379
48380 *-*-linux* )
48381 if test "x$GCC" != "xyes"; then
48382 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48383 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48384 if test "${bakefile_cv_prog_icc+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48386 else
48387
48388 cat >conftest.$ac_ext <<_ACEOF
48389 /* confdefs.h. */
48390 _ACEOF
48391 cat confdefs.h >>conftest.$ac_ext
48392 cat >>conftest.$ac_ext <<_ACEOF
48393 /* end confdefs.h. */
48394
48395 int
48396 main ()
48397 {
48398
48399 #ifndef __INTEL_COMPILER
48400 This is not ICC
48401 #endif
48402
48403 ;
48404 return 0;
48405 }
48406 _ACEOF
48407 rm -f conftest.$ac_objext
48408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48409 (eval $ac_compile) 2>conftest.er1
48410 ac_status=$?
48411 grep -v '^ *+' conftest.er1 >conftest.err
48412 rm -f conftest.er1
48413 cat conftest.err >&5
48414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48415 (exit $ac_status); } &&
48416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48418 (eval $ac_try) 2>&5
48419 ac_status=$?
48420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421 (exit $ac_status); }; } &&
48422 { ac_try='test -s conftest.$ac_objext'
48423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48424 (eval $ac_try) 2>&5
48425 ac_status=$?
48426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427 (exit $ac_status); }; }; then
48428 bakefile_cv_prog_icc=yes
48429 else
48430 echo "$as_me: failed program was:" >&5
48431 sed 's/^/| /' conftest.$ac_ext >&5
48432
48433 bakefile_cv_prog_icc=no
48434
48435 fi
48436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48437
48438 fi
48439 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48440 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48441 if test "$bakefile_cv_prog_icc" = "yes"; then
48442 PIC_FLAG="-KPIC"
48443 fi
48444 fi
48445 ;;
48446
48447 *-*-solaris2* )
48448 if test "x$GCC" != xyes ; then
48449 SHARED_LD_CC="${CC} -G -o"
48450 SHARED_LD_CXX="${CXX} -G -o"
48451 PIC_FLAG="-KPIC"
48452 fi
48453 ;;
48454
48455 *-*-darwin* )
48456
48457 D='$'
48458 cat <<EOF >shared-ld-sh
48459 #!/bin/sh
48460 #-----------------------------------------------------------------------------
48461 #-- Name: distrib/mac/shared-ld-sh
48462 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48463 #-- Author: Gilles Depeyrot
48464 #-- Copyright: (c) 2002 Gilles Depeyrot
48465 #-- Licence: any use permitted
48466 #-----------------------------------------------------------------------------
48467
48468 verbose=0
48469 args=""
48470 objects=""
48471 linking_flag="-dynamiclib"
48472 ldargs="-r -keep_private_externs -nostdlib"
48473
48474 while test ${D}# -gt 0; do
48475 case ${D}1 in
48476
48477 -v)
48478 verbose=1
48479 ;;
48480
48481 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48482 # collect these options and values
48483 args="${D}{args} ${D}1 ${D}2"
48484 shift
48485 ;;
48486
48487 -s|-Wl,*)
48488 # collect these load args
48489 ldargs="${D}{ldargs} ${D}1"
48490 ;;
48491
48492 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48493 # collect these options
48494 args="${D}{args} ${D}1"
48495 ;;
48496
48497 -dynamiclib|-bundle)
48498 linking_flag="${D}1"
48499 ;;
48500
48501 -*)
48502 echo "shared-ld: unhandled option '${D}1'"
48503 exit 1
48504 ;;
48505
48506 *.o | *.a | *.dylib)
48507 # collect object files
48508 objects="${D}{objects} ${D}1"
48509 ;;
48510
48511 *)
48512 echo "shared-ld: unhandled argument '${D}1'"
48513 exit 1
48514 ;;
48515
48516 esac
48517 shift
48518 done
48519
48520 status=0
48521
48522 #
48523 # Link one module containing all the others
48524 #
48525 if test ${D}{verbose} = 1; then
48526 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48527 fi
48528 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48529 status=${D}?
48530
48531 #
48532 # Link the shared library from the single module created, but only if the
48533 # previous command didn't fail:
48534 #
48535 if test ${D}{status} = 0; then
48536 if test ${D}{verbose} = 1; then
48537 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48538 fi
48539 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48540 status=${D}?
48541 fi
48542
48543 #
48544 # Remove intermediate module
48545 #
48546 rm -f master.${D}${D}.o
48547
48548 exit ${D}status
48549 EOF
48550
48551 chmod +x shared-ld-sh
48552
48553 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48554 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48555
48556
48557 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48558 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48559 if test "${bakefile_cv_gcc31+set}" = set; then
48560 echo $ECHO_N "(cached) $ECHO_C" >&6
48561 else
48562
48563 cat >conftest.$ac_ext <<_ACEOF
48564 /* confdefs.h. */
48565 _ACEOF
48566 cat confdefs.h >>conftest.$ac_ext
48567 cat >>conftest.$ac_ext <<_ACEOF
48568 /* end confdefs.h. */
48569
48570 int
48571 main ()
48572 {
48573
48574 #if (__GNUC__ < 3) || \
48575 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48576 This is old gcc
48577 #endif
48578
48579 ;
48580 return 0;
48581 }
48582 _ACEOF
48583 rm -f conftest.$ac_objext
48584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48585 (eval $ac_compile) 2>conftest.er1
48586 ac_status=$?
48587 grep -v '^ *+' conftest.er1 >conftest.err
48588 rm -f conftest.er1
48589 cat conftest.err >&5
48590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48591 (exit $ac_status); } &&
48592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48594 (eval $ac_try) 2>&5
48595 ac_status=$?
48596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48597 (exit $ac_status); }; } &&
48598 { ac_try='test -s conftest.$ac_objext'
48599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48600 (eval $ac_try) 2>&5
48601 ac_status=$?
48602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48603 (exit $ac_status); }; }; then
48604
48605 bakefile_cv_gcc31=yes
48606
48607 else
48608 echo "$as_me: failed program was:" >&5
48609 sed 's/^/| /' conftest.$ac_ext >&5
48610
48611
48612 bakefile_cv_gcc31=no
48613
48614
48615 fi
48616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48617
48618 fi
48619 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48620 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48621 if test "$bakefile_cv_gcc31" = "no"; then
48622 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48623 SHARED_LD_CXX="$SHARED_LD_CC"
48624 else
48625 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48626 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48627 fi
48628
48629 if test "x$GCC" == "xyes"; then
48630 PIC_FLAG="-dynamic -fPIC"
48631 fi
48632 if test "x$XLCC" = "xyes"; then
48633 PIC_FLAG="-dynamic -DPIC"
48634 fi
48635 ;;
48636
48637 *-*-aix* )
48638 if test "x$GCC" = "xyes"; then
48639 PIC_FLAG=""
48640
48641 case "${BAKEFILE_HOST}" in
48642 *-*-aix5* )
48643 LD_EXPFULL="-Wl,-bexpfull"
48644 ;;
48645 esac
48646
48647 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48648 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48649 else
48650 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48651 set dummy makeC++SharedLib; ac_word=$2
48652 echo "$as_me:$LINENO: checking for $ac_word" >&5
48653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48654 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48655 echo $ECHO_N "(cached) $ECHO_C" >&6
48656 else
48657 if test -n "$AIX_CXX_LD"; then
48658 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48659 else
48660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48661 for as_dir in $PATH
48662 do
48663 IFS=$as_save_IFS
48664 test -z "$as_dir" && as_dir=.
48665 for ac_exec_ext in '' $ac_executable_extensions; do
48666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48667 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48669 break 2
48670 fi
48671 done
48672 done
48673
48674 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48675 fi
48676 fi
48677 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48678 if test -n "$AIX_CXX_LD"; then
48679 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48680 echo "${ECHO_T}$AIX_CXX_LD" >&6
48681 else
48682 echo "$as_me:$LINENO: result: no" >&5
48683 echo "${ECHO_T}no" >&6
48684 fi
48685
48686 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48687 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48688 fi
48689 ;;
48690
48691 *-*-beos* )
48692 SHARED_LD_CC="${LD} -nostart -o"
48693 SHARED_LD_CXX="${LD} -nostart -o"
48694 ;;
48695
48696 *-*-irix* )
48697 if test "x$GCC" != "xyes"; then
48698 PIC_FLAG="-KPIC"
48699 fi
48700 ;;
48701
48702 *-*-cygwin* | *-*-mingw32* )
48703 PIC_FLAG=""
48704 SHARED_LD_CC="\$(CC) -shared -o"
48705 SHARED_LD_CXX="\$(CXX) -shared -o"
48706 WINDOWS_IMPLIB=1
48707 ;;
48708
48709 *-pc-os2_emx | *-pc-os2-emx )
48710 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48711 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48712 PIC_FLAG=""
48713
48714 D='$'
48715 cat <<EOF >dllar.sh
48716 #!/bin/sh
48717 #
48718 # dllar - a tool to build both a .dll and an .a file
48719 # from a set of object (.o) files for EMX/OS2.
48720 #
48721 # Written by Andrew Zabolotny, bit@freya.etu.ru
48722 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48723 #
48724 # This script will accept a set of files on the command line.
48725 # All the public symbols from the .o files will be exported into
48726 # a .DEF file, then linker will be run (through gcc) against them to
48727 # build a shared library consisting of all given .o files. All libraries
48728 # (.a) will be first decompressed into component .o files then act as
48729 # described above. You can optionally give a description (-d "description")
48730 # which will be put into .DLL. To see the list of accepted options (as well
48731 # as command-line format) simply run this program without options. The .DLL
48732 # is built to be imported by name (there is no guarantee that new versions
48733 # of the library you build will have same ordinals for same symbols).
48734 #
48735 # dllar is free software; you can redistribute it and/or modify
48736 # it under the terms of the GNU General Public License as published by
48737 # the Free Software Foundation; either version 2, or (at your option)
48738 # any later version.
48739 #
48740 # dllar is distributed in the hope that it will be useful,
48741 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48743 # GNU General Public License for more details.
48744 #
48745 # You should have received a copy of the GNU General Public License
48746 # along with dllar; see the file COPYING. If not, write to the Free
48747 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48748 # 02111-1307, USA.
48749
48750 # To successfuly run this program you will need:
48751 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48752 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48753 # - gcc
48754 # (used to build the .dll)
48755 # - emxexp
48756 # (used to create .def file from .o files)
48757 # - emximp
48758 # (used to create .a file from .def file)
48759 # - GNU text utilites (cat, sort, uniq)
48760 # used to process emxexp output
48761 # - GNU file utilities (mv, rm)
48762 # - GNU sed
48763 # - lxlite (optional, see flag below)
48764 # (used for general .dll cleanup)
48765 #
48766
48767 flag_USE_LXLITE=1;
48768
48769 #
48770 # helper functions
48771 # basnam, variant of basename, which does _not_ remove the path, _iff_
48772 # second argument (suffix to remove) is given
48773 basnam(){
48774 case ${D}# in
48775 1)
48776 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48777 ;;
48778 2)
48779 echo ${D}1 | sed 's/'${D}2'${D}//'
48780 ;;
48781 *)
48782 echo "error in basnam ${D}*"
48783 exit 8
48784 ;;
48785 esac
48786 }
48787
48788 # Cleanup temporary files and output
48789 CleanUp() {
48790 cd ${D}curDir
48791 for i in ${D}inputFiles ; do
48792 case ${D}i in
48793 *!)
48794 rm -rf \`basnam ${D}i !\`
48795 ;;
48796 *)
48797 ;;
48798 esac
48799 done
48800
48801 # Kill result in case of failure as there is just to many stupid make/nmake
48802 # things out there which doesn't do this.
48803 if [ ${D}# -eq 0 ]; then
48804 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48805 fi
48806 }
48807
48808 # Print usage and exit script with rc=1.
48809 PrintHelp() {
48810 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48811 echo ' [-name-mangler-script script.sh]'
48812 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48813 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48814 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48815 echo ' [*.o] [*.a]'
48816 echo '*> "output_file" should have no extension.'
48817 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48818 echo ' The import library name is derived from this and is set to "name".a,'
48819 echo ' unless overridden by -import'
48820 echo '*> "importlib_name" should have no extension.'
48821 echo ' If it has the .o, or .a extension, it is automatically removed.'
48822 echo ' This name is used as the import library name and may be longer and'
48823 echo ' more descriptive than the DLL name which has to follow the old '
48824 echo ' 8.3 convention of FAT.'
48825 echo '*> "script.sh may be given to override the output_file name by a'
48826 echo ' different name. It is mainly useful if the regular make process'
48827 echo ' of some package does not take into account OS/2 restriction of'
48828 echo ' DLL name lengths. It takes the importlib name as input and is'
48829 echo ' supposed to procude a shorter name as output. The script should'
48830 echo ' expect to get importlib_name without extension and should produce'
48831 echo ' a (max.) 8 letter name without extension.'
48832 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48833 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48834 echo ' These flags will be put at the start of GCC command line.'
48835 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48836 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48837 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48838 echo ' If the last character of a symbol is "*", all symbols beginning'
48839 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48840 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48841 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48842 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48843 echo ' C runtime DLLs.'
48844 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48845 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48846 echo ' unchanged to GCC at the end of command line.'
48847 echo '*> If you create a DLL from a library and you do not specify -o,'
48848 echo ' the basename for DLL and import library will be set to library name,'
48849 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48850 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48851 echo ' library will be renamed into gcc_s.a.'
48852 echo '--------'
48853 echo 'Example:'
48854 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48855 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48856 CleanUp
48857 exit 1
48858 }
48859
48860 # Execute a command.
48861 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48862 # @Uses Whatever CleanUp() uses.
48863 doCommand() {
48864 echo "${D}*"
48865 eval ${D}*
48866 rcCmd=${D}?
48867
48868 if [ ${D}rcCmd -ne 0 ]; then
48869 echo "command failed, exit code="${D}rcCmd
48870 CleanUp
48871 exit ${D}rcCmd
48872 fi
48873 }
48874
48875 # main routine
48876 # setup globals
48877 cmdLine=${D}*
48878 outFile=""
48879 outimpFile=""
48880 inputFiles=""
48881 renameScript=""
48882 description=""
48883 CC=gcc.exe
48884 CFLAGS="-s -Zcrtdll"
48885 EXTRA_CFLAGS=""
48886 EXPORT_BY_ORDINALS=0
48887 exclude_symbols=""
48888 library_flags=""
48889 curDir=\`pwd\`
48890 curDirS=curDir
48891 case ${D}curDirS in
48892 */)
48893 ;;
48894 *)
48895 curDirS=${D}{curDirS}"/"
48896 ;;
48897 esac
48898 # Parse commandline
48899 libsToLink=0
48900 omfLinking=0
48901 while [ ${D}1 ]; do
48902 case ${D}1 in
48903 -ord*)
48904 EXPORT_BY_ORDINALS=1;
48905 ;;
48906 -o*)
48907 shift
48908 outFile=${D}1
48909 ;;
48910 -i*)
48911 shift
48912 outimpFile=${D}1
48913 ;;
48914 -name-mangler-script)
48915 shift
48916 renameScript=${D}1
48917 ;;
48918 -d*)
48919 shift
48920 description=${D}1
48921 ;;
48922 -f*)
48923 shift
48924 CFLAGS=${D}1
48925 ;;
48926 -c*)
48927 shift
48928 CC=${D}1
48929 ;;
48930 -h*)
48931 PrintHelp
48932 ;;
48933 -ex*)
48934 shift
48935 exclude_symbols=${D}{exclude_symbols}${D}1" "
48936 ;;
48937 -libf*)
48938 shift
48939 library_flags=${D}{library_flags}${D}1" "
48940 ;;
48941 -nocrt*)
48942 CFLAGS="-s"
48943 ;;
48944 -nolxl*)
48945 flag_USE_LXLITE=0
48946 ;;
48947 -* | /*)
48948 case ${D}1 in
48949 -L* | -l*)
48950 libsToLink=1
48951 ;;
48952 -Zomf)
48953 omfLinking=1
48954 ;;
48955 *)
48956 ;;
48957 esac
48958 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48959 ;;
48960 *.dll)
48961 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48962 if [ ${D}omfLinking -eq 1 ]; then
48963 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48964 else
48965 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48966 fi
48967 ;;
48968 *)
48969 found=0;
48970 if [ ${D}libsToLink -ne 0 ]; then
48971 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48972 else
48973 for file in ${D}1 ; do
48974 if [ -f ${D}file ]; then
48975 inputFiles="${D}{inputFiles} ${D}file"
48976 found=1
48977 fi
48978 done
48979 if [ ${D}found -eq 0 ]; then
48980 echo "ERROR: No file(s) found: "${D}1
48981 exit 8
48982 fi
48983 fi
48984 ;;
48985 esac
48986 shift
48987 done # iterate cmdline words
48988
48989 #
48990 if [ -z "${D}inputFiles" ]; then
48991 echo "dllar: no input files"
48992 PrintHelp
48993 fi
48994
48995 # Now extract all .o files from .a files
48996 newInputFiles=""
48997 for file in ${D}inputFiles ; do
48998 case ${D}file in
48999 *.a | *.lib)
49000 case ${D}file in
49001 *.a)
49002 suffix=".a"
49003 AR="ar"
49004 ;;
49005 *.lib)
49006 suffix=".lib"
49007 AR="emxomfar"
49008 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49009 ;;
49010 *)
49011 ;;
49012 esac
49013 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49014 mkdir ${D}dirname
49015 if [ ${D}? -ne 0 ]; then
49016 echo "Failed to create subdirectory ./${D}dirname"
49017 CleanUp
49018 exit 8;
49019 fi
49020 # Append '!' to indicate archive
49021 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49022 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49023 cd ${D}curDir
49024 found=0;
49025 for subfile in ${D}dirname/*.o* ; do
49026 if [ -f ${D}subfile ]; then
49027 found=1
49028 if [ -s ${D}subfile ]; then
49029 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49030 newInputFiles="${D}newInputFiles ${D}subfile"
49031 fi
49032 fi
49033 done
49034 if [ ${D}found -eq 0 ]; then
49035 echo "WARNING: there are no files in archive \\'${D}file\\'"
49036 fi
49037 ;;
49038 *)
49039 newInputFiles="${D}{newInputFiles} ${D}file"
49040 ;;
49041 esac
49042 done
49043 inputFiles="${D}newInputFiles"
49044
49045 # Output filename(s).
49046 do_backup=0;
49047 if [ -z ${D}outFile ]; then
49048 do_backup=1;
49049 set outFile ${D}inputFiles; outFile=${D}2
49050 fi
49051
49052 # If it is an archive, remove the '!' and the '_%' suffixes
49053 case ${D}outFile in
49054 *_%!)
49055 outFile=\`basnam ${D}outFile _%!\`
49056 ;;
49057 *)
49058 ;;
49059 esac
49060 case ${D}outFile in
49061 *.dll)
49062 outFile=\`basnam ${D}outFile .dll\`
49063 ;;
49064 *.DLL)
49065 outFile=\`basnam ${D}outFile .DLL\`
49066 ;;
49067 *.o)
49068 outFile=\`basnam ${D}outFile .o\`
49069 ;;
49070 *.obj)
49071 outFile=\`basnam ${D}outFile .obj\`
49072 ;;
49073 *.a)
49074 outFile=\`basnam ${D}outFile .a\`
49075 ;;
49076 *.lib)
49077 outFile=\`basnam ${D}outFile .lib\`
49078 ;;
49079 *)
49080 ;;
49081 esac
49082 case ${D}outimpFile in
49083 *.a)
49084 outimpFile=\`basnam ${D}outimpFile .a\`
49085 ;;
49086 *.lib)
49087 outimpFile=\`basnam ${D}outimpFile .lib\`
49088 ;;
49089 *)
49090 ;;
49091 esac
49092 if [ -z ${D}outimpFile ]; then
49093 outimpFile=${D}outFile
49094 fi
49095 defFile="${D}{outFile}.def"
49096 arcFile="${D}{outimpFile}.a"
49097 arcFile2="${D}{outimpFile}.lib"
49098
49099 #create ${D}dllFile as something matching 8.3 restrictions,
49100 if [ -z ${D}renameScript ] ; then
49101 dllFile="${D}outFile"
49102 else
49103 dllFile=\`${D}renameScript ${D}outimpFile\`
49104 fi
49105
49106 if [ ${D}do_backup -ne 0 ] ; then
49107 if [ -f ${D}arcFile ] ; then
49108 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49109 fi
49110 if [ -f ${D}arcFile2 ] ; then
49111 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49112 fi
49113 fi
49114
49115 # Extract public symbols from all the object files.
49116 tmpdefFile=${D}{defFile}_%
49117 rm -f ${D}tmpdefFile
49118 for file in ${D}inputFiles ; do
49119 case ${D}file in
49120 *!)
49121 ;;
49122 *)
49123 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49124 ;;
49125 esac
49126 done
49127
49128 # Create the def file.
49129 rm -f ${D}defFile
49130 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49131 dllFile="${D}{dllFile}.dll"
49132 if [ ! -z ${D}description ]; then
49133 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49134 fi
49135 echo "EXPORTS" >> ${D}defFile
49136
49137 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49138 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49139
49140 # Checks if the export is ok or not.
49141 for word in ${D}exclude_symbols; do
49142 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49143 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49144 done
49145
49146
49147 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49148 sed "=" < ${D}tmpdefFile | \\
49149 sed '
49150 N
49151 : loop
49152 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49153 t loop
49154 ' > ${D}{tmpdefFile}%
49155 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49156 else
49157 rm -f ${D}{tmpdefFile}%
49158 fi
49159 cat ${D}tmpdefFile >> ${D}defFile
49160 rm -f ${D}tmpdefFile
49161
49162 # Do linking, create implib, and apply lxlite.
49163 gccCmdl="";
49164 for file in ${D}inputFiles ; do
49165 case ${D}file in
49166 *!)
49167 ;;
49168 *)
49169 gccCmdl="${D}gccCmdl ${D}file"
49170 ;;
49171 esac
49172 done
49173 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49174 touch "${D}{outFile}.dll"
49175
49176 doCommand "emximp -o ${D}arcFile ${D}defFile"
49177 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49178 add_flags="";
49179 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49180 add_flags="-ynd"
49181 fi
49182 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49183 fi
49184 doCommand "emxomf -s -l ${D}arcFile"
49185
49186 # Successful exit.
49187 CleanUp 1
49188 exit 0
49189 EOF
49190
49191 chmod +x dllar.sh
49192 ;;
49193
49194 powerpc-apple-macos* | \
49195 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49196 *-*-sunos4* | \
49197 *-*-osf* | \
49198 *-*-dgux5* | \
49199 *-*-sysv5* | \
49200 *-pc-msdosdjgpp )
49201 ;;
49202
49203 *)
49204 esac
49205
49206 if test "x$PIC_FLAG" != "x" ; then
49207 PIC_FLAG="$PIC_FLAG -DPIC"
49208 fi
49209
49210 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49211 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49212 fi
49213 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49214 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49215 fi
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225 USE_SOVERSION=0
49226 USE_SOVERLINUX=0
49227 USE_SOVERSOLARIS=0
49228 USE_SOVERCYGWIN=0
49229 USE_SOSYMLINKS=0
49230 USE_MACVERSION=0
49231 SONAME_FLAG=
49232
49233 case "${BAKEFILE_HOST}" in
49234 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49235 SONAME_FLAG="-Wl,-soname,"
49236 USE_SOVERSION=1
49237 USE_SOVERLINUX=1
49238 USE_SOSYMLINKS=1
49239 ;;
49240
49241 *-*-solaris2* )
49242 SONAME_FLAG="-h "
49243 USE_SOVERSION=1
49244 USE_SOVERSOLARIS=1
49245 USE_SOSYMLINKS=1
49246 ;;
49247
49248 *-*-darwin* )
49249 USE_MACVERSION=1
49250 USE_SOVERSION=1
49251 USE_SOSYMLINKS=1
49252 ;;
49253
49254 *-*-cygwin* )
49255 USE_SOVERSION=1
49256 USE_SOVERCYGWIN=1
49257 ;;
49258 esac
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49270 if test "${enable_dependency_tracking+set}" = set; then
49271 enableval="$enable_dependency_tracking"
49272 bk_use_trackdeps="$enableval"
49273 fi;
49274
49275 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49276 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49277
49278 if test "x$bk_use_trackdeps" = "xno" ; then
49279 DEPS_TRACKING=0
49280 echo "$as_me:$LINENO: result: disabled" >&5
49281 echo "${ECHO_T}disabled" >&6
49282 else
49283 DEPS_TRACKING=1
49284
49285 if test "x$GCC" = "xyes"; then
49286 DEPSMODE=gcc
49287 case "${BAKEFILE_HOST}" in
49288 *-*-darwin* )
49289 DEPSFLAG="-no-cpp-precomp -MMD"
49290 ;;
49291 * )
49292 DEPSFLAG="-MMD"
49293 ;;
49294 esac
49295 echo "$as_me:$LINENO: result: gcc" >&5
49296 echo "${ECHO_T}gcc" >&6
49297 elif test "x$MWCC" = "xyes"; then
49298 DEPSMODE=mwcc
49299 DEPSFLAG="-MM"
49300 echo "$as_me:$LINENO: result: mwcc" >&5
49301 echo "${ECHO_T}mwcc" >&6
49302 elif test "x$SUNCC" = "xyes"; then
49303 DEPSMODE=unixcc
49304 DEPSFLAG="-xM1"
49305 echo "$as_me:$LINENO: result: Sun cc" >&5
49306 echo "${ECHO_T}Sun cc" >&6
49307 elif test "x$SGICC" = "xyes"; then
49308 DEPSMODE=unixcc
49309 DEPSFLAG="-M"
49310 echo "$as_me:$LINENO: result: SGI cc" >&5
49311 echo "${ECHO_T}SGI cc" >&6
49312 elif test "x$HPCC" = "xyes"; then
49313 DEPSMODE=unixcc
49314 DEPSFLAG="+make"
49315 echo "$as_me:$LINENO: result: HP cc" >&5
49316 echo "${ECHO_T}HP cc" >&6
49317 elif test "x$COMPAQCC" = "xyes"; then
49318 DEPSMODE=gcc
49319 DEPSFLAG="-MD"
49320 echo "$as_me:$LINENO: result: Compaq cc" >&5
49321 echo "${ECHO_T}Compaq cc" >&6
49322 else
49323 DEPS_TRACKING=0
49324 echo "$as_me:$LINENO: result: none" >&5
49325 echo "${ECHO_T}none" >&6
49326 fi
49327
49328 if test $DEPS_TRACKING = 1 ; then
49329
49330 D='$'
49331 cat <<EOF >bk-deps
49332 #!/bin/sh
49333
49334 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49335 # script. It is used to track C/C++ files dependencies in portable way.
49336 #
49337 # Permission is given to use this file in any way.
49338
49339 DEPSMODE=${DEPSMODE}
49340 DEPSDIR=.deps
49341 DEPSFLAG="${DEPSFLAG}"
49342
49343 mkdir -p ${D}DEPSDIR
49344
49345 if test ${D}DEPSMODE = gcc ; then
49346 ${D}* ${D}{DEPSFLAG}
49347 status=${D}?
49348 if test ${D}{status} != 0 ; then
49349 exit ${D}{status}
49350 fi
49351 # move created file to the location we want it in:
49352 while test ${D}# -gt 0; do
49353 case "${D}1" in
49354 -o )
49355 shift
49356 objfile=${D}1
49357 ;;
49358 -* )
49359 ;;
49360 * )
49361 srcfile=${D}1
49362 ;;
49363 esac
49364 shift
49365 done
49366 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49367 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49368 if test -f ${D}depfile ; then
49369 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49370 rm -f ${D}depfile
49371 else
49372 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49373 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49374 if test ! -f ${D}depfile ; then
49375 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49376 depfile="${D}objfile.d"
49377 fi
49378 if test -f ${D}depfile ; then
49379 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49380 rm -f ${D}depfile
49381 fi
49382 fi
49383 exit 0
49384 elif test ${D}DEPSMODE = mwcc ; then
49385 ${D}* || exit ${D}?
49386 # Run mwcc again with -MM and redirect into the dep file we want
49387 # NOTE: We can't use shift here because we need ${D}* to be valid
49388 prevarg=
49389 for arg in ${D}* ; do
49390 if test "${D}prevarg" = "-o"; then
49391 objfile=${D}arg
49392 else
49393 case "${D}arg" in
49394 -* )
49395 ;;
49396 * )
49397 srcfile=${D}arg
49398 ;;
49399 esac
49400 fi
49401 prevarg="${D}arg"
49402 done
49403 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49404 exit 0
49405 elif test ${D}DEPSMODE = unixcc; then
49406 ${D}* || exit ${D}?
49407 # Run compiler again with deps flag and redirect into the dep file.
49408 # It doesn't work if the '-o FILE' option is used, but without it the
49409 # dependency file will contain the wrong name for the object. So it is
49410 # removed from the command line, and the dep file is fixed with sed.
49411 cmd=""
49412 while test ${D}# -gt 0; do
49413 case "${D}1" in
49414 -o )
49415 shift
49416 objfile=${D}1
49417 ;;
49418 * )
49419 eval arg${D}#=\\${D}1
49420 cmd="${D}cmd \\${D}arg${D}#"
49421 ;;
49422 esac
49423 shift
49424 done
49425 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49426 exit 0
49427 else
49428 ${D}*
49429 exit ${D}?
49430 fi
49431 EOF
49432
49433 chmod +x bk-deps
49434 fi
49435 fi
49436
49437
49438
49439
49440 case ${BAKEFILE_HOST} in
49441 *-*-cygwin* | *-*-mingw32* )
49442 if test -n "$ac_tool_prefix"; then
49443 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49444 set dummy ${ac_tool_prefix}windres; ac_word=$2
49445 echo "$as_me:$LINENO: checking for $ac_word" >&5
49446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49447 if test "${ac_cv_prog_WINDRES+set}" = set; then
49448 echo $ECHO_N "(cached) $ECHO_C" >&6
49449 else
49450 if test -n "$WINDRES"; then
49451 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49452 else
49453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49454 for as_dir in $PATH
49455 do
49456 IFS=$as_save_IFS
49457 test -z "$as_dir" && as_dir=.
49458 for ac_exec_ext in '' $ac_executable_extensions; do
49459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49460 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49462 break 2
49463 fi
49464 done
49465 done
49466
49467 fi
49468 fi
49469 WINDRES=$ac_cv_prog_WINDRES
49470 if test -n "$WINDRES"; then
49471 echo "$as_me:$LINENO: result: $WINDRES" >&5
49472 echo "${ECHO_T}$WINDRES" >&6
49473 else
49474 echo "$as_me:$LINENO: result: no" >&5
49475 echo "${ECHO_T}no" >&6
49476 fi
49477
49478 fi
49479 if test -z "$ac_cv_prog_WINDRES"; then
49480 ac_ct_WINDRES=$WINDRES
49481 # Extract the first word of "windres", so it can be a program name with args.
49482 set dummy windres; ac_word=$2
49483 echo "$as_me:$LINENO: checking for $ac_word" >&5
49484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49485 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49486 echo $ECHO_N "(cached) $ECHO_C" >&6
49487 else
49488 if test -n "$ac_ct_WINDRES"; then
49489 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49490 else
49491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49492 for as_dir in $PATH
49493 do
49494 IFS=$as_save_IFS
49495 test -z "$as_dir" && as_dir=.
49496 for ac_exec_ext in '' $ac_executable_extensions; do
49497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49498 ac_cv_prog_ac_ct_WINDRES="windres"
49499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49500 break 2
49501 fi
49502 done
49503 done
49504
49505 fi
49506 fi
49507 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49508 if test -n "$ac_ct_WINDRES"; then
49509 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49510 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49511 else
49512 echo "$as_me:$LINENO: result: no" >&5
49513 echo "${ECHO_T}no" >&6
49514 fi
49515
49516 WINDRES=$ac_ct_WINDRES
49517 else
49518 WINDRES="$ac_cv_prog_WINDRES"
49519 fi
49520
49521 ;;
49522
49523 *-*-darwin* | powerpc-apple-macos* )
49524 # Extract the first word of "Rez", so it can be a program name with args.
49525 set dummy Rez; ac_word=$2
49526 echo "$as_me:$LINENO: checking for $ac_word" >&5
49527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49528 if test "${ac_cv_prog_REZ+set}" = set; then
49529 echo $ECHO_N "(cached) $ECHO_C" >&6
49530 else
49531 if test -n "$REZ"; then
49532 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49533 else
49534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49535 for as_dir in $PATH
49536 do
49537 IFS=$as_save_IFS
49538 test -z "$as_dir" && as_dir=.
49539 for ac_exec_ext in '' $ac_executable_extensions; do
49540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49541 ac_cv_prog_REZ="Rez"
49542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49543 break 2
49544 fi
49545 done
49546 done
49547
49548 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49549 fi
49550 fi
49551 REZ=$ac_cv_prog_REZ
49552 if test -n "$REZ"; then
49553 echo "$as_me:$LINENO: result: $REZ" >&5
49554 echo "${ECHO_T}$REZ" >&6
49555 else
49556 echo "$as_me:$LINENO: result: no" >&5
49557 echo "${ECHO_T}no" >&6
49558 fi
49559
49560 # Extract the first word of "SetFile", so it can be a program name with args.
49561 set dummy SetFile; ac_word=$2
49562 echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49564 if test "${ac_cv_prog_SETFILE+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49567 if test -n "$SETFILE"; then
49568 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49569 else
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49572 do
49573 IFS=$as_save_IFS
49574 test -z "$as_dir" && as_dir=.
49575 for ac_exec_ext in '' $ac_executable_extensions; do
49576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49577 ac_cv_prog_SETFILE="SetFile"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49579 break 2
49580 fi
49581 done
49582 done
49583
49584 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49585 fi
49586 fi
49587 SETFILE=$ac_cv_prog_SETFILE
49588 if test -n "$SETFILE"; then
49589 echo "$as_me:$LINENO: result: $SETFILE" >&5
49590 echo "${ECHO_T}$SETFILE" >&6
49591 else
49592 echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6
49594 fi
49595
49596 ;;
49597 esac
49598
49599
49600
49601
49602
49603
49604 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49605
49606
49607 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49608
49609
49610
49611 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49612 if test "${enable_precomp_headers+set}" = set; then
49613 enableval="$enable_precomp_headers"
49614 bk_use_pch="$enableval"
49615 fi;
49616
49617 GCC_PCH=0
49618 ICC_PCH=0
49619 USE_PCH=0
49620
49621 case ${BAKEFILE_HOST} in
49622 *-*-cygwin* )
49623 bk_use_pch="no"
49624 ;;
49625 esac
49626
49627 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49628 if test "x$GCC" = "xyes"; then
49629 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49630 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49631 cat >conftest.$ac_ext <<_ACEOF
49632 /* confdefs.h. */
49633 _ACEOF
49634 cat confdefs.h >>conftest.$ac_ext
49635 cat >>conftest.$ac_ext <<_ACEOF
49636 /* end confdefs.h. */
49637
49638 int
49639 main ()
49640 {
49641
49642 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49643 There is no PCH support
49644 #endif
49645 #if (__GNUC__ < 3)
49646 There is no PCH support
49647 #endif
49648 #if (__GNUC__ == 3) && \
49649 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49650 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49651 ( defined(__INTEL_COMPILER) )
49652 There is no PCH support
49653 #endif
49654
49655 ;
49656 return 0;
49657 }
49658 _ACEOF
49659 rm -f conftest.$ac_objext
49660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49661 (eval $ac_compile) 2>conftest.er1
49662 ac_status=$?
49663 grep -v '^ *+' conftest.er1 >conftest.err
49664 rm -f conftest.er1
49665 cat conftest.err >&5
49666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49667 (exit $ac_status); } &&
49668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49670 (eval $ac_try) 2>&5
49671 ac_status=$?
49672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49673 (exit $ac_status); }; } &&
49674 { ac_try='test -s conftest.$ac_objext'
49675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676 (eval $ac_try) 2>&5
49677 ac_status=$?
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); }; }; then
49680
49681 echo "$as_me:$LINENO: result: yes" >&5
49682 echo "${ECHO_T}yes" >&6
49683 GCC_PCH=1
49684
49685 else
49686 echo "$as_me: failed program was:" >&5
49687 sed 's/^/| /' conftest.$ac_ext >&5
49688
49689
49690 cat >conftest.$ac_ext <<_ACEOF
49691 /* confdefs.h. */
49692 _ACEOF
49693 cat confdefs.h >>conftest.$ac_ext
49694 cat >>conftest.$ac_ext <<_ACEOF
49695 /* end confdefs.h. */
49696
49697 int
49698 main ()
49699 {
49700
49701 #if !defined(__INTEL_COMPILER) || \
49702 (__INTEL_COMPILER < 800)
49703 There is no PCH support
49704 #endif
49705
49706 ;
49707 return 0;
49708 }
49709 _ACEOF
49710 rm -f conftest.$ac_objext
49711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49712 (eval $ac_compile) 2>conftest.er1
49713 ac_status=$?
49714 grep -v '^ *+' conftest.er1 >conftest.err
49715 rm -f conftest.er1
49716 cat conftest.err >&5
49717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49718 (exit $ac_status); } &&
49719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721 (eval $ac_try) 2>&5
49722 ac_status=$?
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); }; } &&
49725 { ac_try='test -s conftest.$ac_objext'
49726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727 (eval $ac_try) 2>&5
49728 ac_status=$?
49729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730 (exit $ac_status); }; }; then
49731
49732 echo "$as_me:$LINENO: result: yes" >&5
49733 echo "${ECHO_T}yes" >&6
49734 ICC_PCH=1
49735
49736 else
49737 echo "$as_me: failed program was:" >&5
49738 sed 's/^/| /' conftest.$ac_ext >&5
49739
49740
49741 echo "$as_me:$LINENO: result: no" >&5
49742 echo "${ECHO_T}no" >&6
49743
49744 fi
49745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49746
49747 fi
49748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49749 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49750 USE_PCH=1
49751
49752 D='$'
49753 cat <<EOF >bk-make-pch
49754 #!/bin/sh
49755
49756 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49757 # script. It is used to generated precompiled headers.
49758 #
49759 # Permission is given to use this file in any way.
49760
49761 outfile="${D}{1}"
49762 header="${D}{2}"
49763 shift
49764 shift
49765
49766 compiler=""
49767 headerfile=""
49768
49769 while test ${D}{#} -gt 0; do
49770 add_to_cmdline=1
49771 case "${D}{1}" in
49772 -I* )
49773 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49774 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49775 headerfile="${D}{incdir}/${D}{header}"
49776 fi
49777 ;;
49778 -use-pch|-use_pch )
49779 shift
49780 add_to_cmdline=0
49781 ;;
49782 esac
49783 if test ${D}add_to_cmdline = 1 ; then
49784 compiler="${D}{compiler} ${D}{1}"
49785 fi
49786 shift
49787 done
49788
49789 if test "x${D}{headerfile}" = "x" ; then
49790 echo "error: can't find header ${D}{header} in include paths" >&2
49791 else
49792 if test -f ${D}{outfile} ; then
49793 rm -f ${D}{outfile}
49794 else
49795 mkdir -p \`dirname ${D}{outfile}\`
49796 fi
49797 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49798 mkdir -p .deps
49799 if test "x${GCC_PCH}" = "x1" ; then
49800 # can do this because gcc is >= 3.4:
49801 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49802 elif test "x${ICC_PCH}" = "x1" ; then
49803 filename=pch_gen-${D}${D}
49804 file=${D}{filename}.c
49805 dfile=${D}{filename}.d
49806 cat > ${D}file <<EOT
49807 #include "${D}header"
49808 EOT
49809 # using -MF icc complains about differing command lines in creation/use
49810 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49811 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49812 rm -f ${D}file ${D}dfile ${D}{filename}.o
49813 fi
49814 exit ${D}{?}
49815 fi
49816 EOF
49817
49818 chmod +x bk-make-pch
49819 fi
49820 fi
49821 fi
49822
49823
49824
49825
49826 COND_BUILD_DEBUG="#"
49827 if test "x$BUILD" = "xdebug" ; then
49828 COND_BUILD_DEBUG=""
49829 fi
49830
49831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49832 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49833 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49834 fi
49835
49836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49837 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49838 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49839 fi
49840
49841 COND_BUILD_DEBUG_UNICODE_0="#"
49842 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49843 COND_BUILD_DEBUG_UNICODE_0=""
49844 fi
49845
49846 COND_BUILD_DEBUG_UNICODE_1="#"
49847 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49848 COND_BUILD_DEBUG_UNICODE_1=""
49849 fi
49850
49851 COND_BUILD_RELEASE="#"
49852 if test "x$BUILD" = "xrelease" ; then
49853 COND_BUILD_RELEASE=""
49854 fi
49855
49856 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49857 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49858 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49859 fi
49860
49861 COND_BUILD_RELEASE_UNICODE_0="#"
49862 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49863 COND_BUILD_RELEASE_UNICODE_0=""
49864 fi
49865
49866 COND_BUILD_RELEASE_UNICODE_1="#"
49867 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49868 COND_BUILD_RELEASE_UNICODE_1=""
49869 fi
49870
49871 COND_DEBUG_FLAG_1="#"
49872 if test "x$DEBUG_FLAG" = "x1" ; then
49873 COND_DEBUG_FLAG_1=""
49874 fi
49875
49876 COND_DEBUG_INFO_0="#"
49877 if test "x$DEBUG_INFO" = "x0" ; then
49878 COND_DEBUG_INFO_0=""
49879 fi
49880
49881 COND_DEBUG_INFO_1="#"
49882 if test "x$DEBUG_INFO" = "x1" ; then
49883 COND_DEBUG_INFO_1=""
49884 fi
49885
49886 COND_DEPS_TRACKING_0="#"
49887 if test "x$DEPS_TRACKING" = "x0" ; then
49888 COND_DEPS_TRACKING_0=""
49889 fi
49890
49891 COND_DEPS_TRACKING_1="#"
49892 if test "x$DEPS_TRACKING" = "x1" ; then
49893 COND_DEPS_TRACKING_1=""
49894 fi
49895
49896 COND_GCC_PCH_1="#"
49897 if test "x$GCC_PCH" = "x1" ; then
49898 COND_GCC_PCH_1=""
49899 fi
49900
49901 COND_ICC_PCH_1="#"
49902 if test "x$ICC_PCH" = "x1" ; then
49903 COND_ICC_PCH_1=""
49904 fi
49905
49906 COND_MONOLITHIC_0="#"
49907 if test "x$MONOLITHIC" = "x0" ; then
49908 COND_MONOLITHIC_0=""
49909 fi
49910
49911 COND_MONOLITHIC_0_SHARED_0="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49913 COND_MONOLITHIC_0_SHARED_0=""
49914 fi
49915
49916 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49919 fi
49920
49921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49924 fi
49925
49926 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49929 fi
49930
49931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49934 fi
49935
49936 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49939 fi
49940
49941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49944 fi
49945
49946 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49949 fi
49950
49951 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49953 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49954 fi
49955
49956 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49958 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49959 fi
49960
49961 COND_MONOLITHIC_0_SHARED_1="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49963 COND_MONOLITHIC_0_SHARED_1=""
49964 fi
49965
49966 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49968 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49969 fi
49970
49971 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49974 fi
49975
49976 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49978 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49979 fi
49980
49981 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49983 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49984 fi
49985
49986 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49988 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49989 fi
49990
49991 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49994 fi
49995
49996 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49998 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49999 fi
50000
50001 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50003 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50004 fi
50005
50006 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50008 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50009 fi
50010
50011 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50012 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50013 COND_MONOLITHIC_0_USE_MEDIA_1=""
50014 fi
50015
50016 COND_MONOLITHIC_0_USE_ODBC_1="#"
50017 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50018 COND_MONOLITHIC_0_USE_ODBC_1=""
50019 fi
50020
50021 COND_MONOLITHIC_1="#"
50022 if test "x$MONOLITHIC" = "x1" ; then
50023 COND_MONOLITHIC_1=""
50024 fi
50025
50026 COND_MONOLITHIC_1_SHARED_0="#"
50027 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50028 COND_MONOLITHIC_1_SHARED_0=""
50029 fi
50030
50031 COND_MONOLITHIC_1_SHARED_1="#"
50032 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50033 COND_MONOLITHIC_1_SHARED_1=""
50034 fi
50035
50036 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50037 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50038 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50039 fi
50040
50041 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50042 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50043 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50044 fi
50045
50046 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50047 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50048 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50049 fi
50050
50051 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50052 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50053 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50054 fi
50055
50056 COND_PLATFORM_MACOSX_1="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1=""
50059 fi
50060
50061 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50063 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50064 fi
50065
50066 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50068 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50069 fi
50070
50071 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50073 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50074 fi
50075
50076 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50078 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50079 fi
50080
50081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50083 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50084 fi
50085
50086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50088 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50089 fi
50090
50091 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50093 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50094 fi
50095
50096 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50097 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50099 fi
50100
50101 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50102 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50103 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50104 fi
50105
50106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50107 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50108 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50109 fi
50110
50111 COND_PLATFORM_MACOS_1="#"
50112 if test "x$PLATFORM_MACOS" = "x1" ; then
50113 COND_PLATFORM_MACOS_1=""
50114 fi
50115
50116 COND_PLATFORM_MAC_1="#"
50117 if test "x$PLATFORM_MAC" = "x1" ; then
50118 COND_PLATFORM_MAC_1=""
50119 fi
50120
50121 COND_PLATFORM_MSDOS_0="#"
50122 if test "x$PLATFORM_MSDOS" = "x0" ; then
50123 COND_PLATFORM_MSDOS_0=""
50124 fi
50125
50126 COND_PLATFORM_MSDOS_1="#"
50127 if test "x$PLATFORM_MSDOS" = "x1" ; then
50128 COND_PLATFORM_MSDOS_1=""
50129 fi
50130
50131 COND_PLATFORM_OS2_1="#"
50132 if test "x$PLATFORM_OS2" = "x1" ; then
50133 COND_PLATFORM_OS2_1=""
50134 fi
50135
50136 COND_PLATFORM_UNIX_0="#"
50137 if test "x$PLATFORM_UNIX" = "x0" ; then
50138 COND_PLATFORM_UNIX_0=""
50139 fi
50140
50141 COND_PLATFORM_UNIX_1="#"
50142 if test "x$PLATFORM_UNIX" = "x1" ; then
50143 COND_PLATFORM_UNIX_1=""
50144 fi
50145
50146 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50147 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50148 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50149 fi
50150
50151 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50152 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50153 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50154 fi
50155
50156 COND_PLATFORM_WIN32_0="#"
50157 if test "x$PLATFORM_WIN32" = "x0" ; then
50158 COND_PLATFORM_WIN32_0=""
50159 fi
50160
50161 COND_PLATFORM_WIN32_1="#"
50162 if test "x$PLATFORM_WIN32" = "x1" ; then
50163 COND_PLATFORM_WIN32_1=""
50164 fi
50165
50166 COND_SHARED_0="#"
50167 if test "x$SHARED" = "x0" ; then
50168 COND_SHARED_0=""
50169 fi
50170
50171 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50172 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50173 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50174 fi
50175
50176 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50177 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50178 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50179 fi
50180
50181 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50182 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50183 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50184 fi
50185
50186 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50188 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50189 fi
50190
50191 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50193 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50194 fi
50195
50196 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50198 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50199 fi
50200
50201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50202 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50203 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50204 fi
50205
50206 COND_SHARED_0_USE_XRC_1="#"
50207 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50208 COND_SHARED_0_USE_XRC_1=""
50209 fi
50210
50211 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50212 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50213 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50214 fi
50215
50216 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50217 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50218 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50219 fi
50220
50221 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50222 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50223 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50224 fi
50225
50226 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50227 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50228 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50229 fi
50230
50231 COND_SHARED_1="#"
50232 if test "x$SHARED" = "x1" ; then
50233 COND_SHARED_1=""
50234 fi
50235
50236 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50237 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50238 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50239 fi
50240
50241 COND_SHARED_1_USE_XRC_1="#"
50242 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50243 COND_SHARED_1_USE_XRC_1=""
50244 fi
50245
50246 COND_TOOLKIT_="#"
50247 if test "x$TOOLKIT" = "x" ; then
50248 COND_TOOLKIT_=""
50249 fi
50250
50251 COND_TOOLKIT_COCOA="#"
50252 if test "x$TOOLKIT" = "xCOCOA" ; then
50253 COND_TOOLKIT_COCOA=""
50254 fi
50255
50256 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50257 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50258 COND_TOOLKIT_COCOA_USE_GUI_1=""
50259 fi
50260
50261 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50262 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50263 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50264 fi
50265
50266 COND_TOOLKIT_DFB="#"
50267 if test "x$TOOLKIT" = "xDFB" ; then
50268 COND_TOOLKIT_DFB=""
50269 fi
50270
50271 COND_TOOLKIT_DFB_USE_GUI_1="#"
50272 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_DFB_USE_GUI_1=""
50274 fi
50275
50276 COND_TOOLKIT_GTK="#"
50277 if test "x$TOOLKIT" = "xGTK" ; then
50278 COND_TOOLKIT_GTK=""
50279 fi
50280
50281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50284 fi
50285
50286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50287 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50289 fi
50290
50291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50292 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50293 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50294 fi
50295
50296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50297 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50299 fi
50300
50301 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50302 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50304 fi
50305
50306 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50307 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50308 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50309 fi
50310
50311 COND_TOOLKIT_GTK_USE_GUI_1="#"
50312 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_GTK_USE_GUI_1=""
50314 fi
50315
50316 COND_TOOLKIT_MAC="#"
50317 if test "x$TOOLKIT" = "xMAC" ; then
50318 COND_TOOLKIT_MAC=""
50319 fi
50320
50321 COND_TOOLKIT_MAC_USE_GUI_1="#"
50322 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50323 COND_TOOLKIT_MAC_USE_GUI_1=""
50324 fi
50325
50326 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50327 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50328 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50329 fi
50330
50331 COND_TOOLKIT_MGL="#"
50332 if test "x$TOOLKIT" = "xMGL" ; then
50333 COND_TOOLKIT_MGL=""
50334 fi
50335
50336 COND_TOOLKIT_MGL_USE_GUI_1="#"
50337 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50338 COND_TOOLKIT_MGL_USE_GUI_1=""
50339 fi
50340
50341 COND_TOOLKIT_MOTIF="#"
50342 if test "x$TOOLKIT" = "xMOTIF" ; then
50343 COND_TOOLKIT_MOTIF=""
50344 fi
50345
50346 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50347 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50348 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50349 fi
50350
50351 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50352 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50353 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50354 fi
50355
50356 COND_TOOLKIT_MSW="#"
50357 if test "x$TOOLKIT" = "xMSW" ; then
50358 COND_TOOLKIT_MSW=""
50359 fi
50360
50361 COND_TOOLKIT_MSW_USE_GUI_1="#"
50362 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50363 COND_TOOLKIT_MSW_USE_GUI_1=""
50364 fi
50365
50366 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50367 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50368 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50369 fi
50370
50371 COND_TOOLKIT_MSW_WXUNIV_0="#"
50372 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50373 COND_TOOLKIT_MSW_WXUNIV_0=""
50374 fi
50375
50376 COND_TOOLKIT_PM="#"
50377 if test "x$TOOLKIT" = "xPM" ; then
50378 COND_TOOLKIT_PM=""
50379 fi
50380
50381 COND_TOOLKIT_PM_USE_GUI_1="#"
50382 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50383 COND_TOOLKIT_PM_USE_GUI_1=""
50384 fi
50385
50386 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50387 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50388 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50389 fi
50390
50391 COND_TOOLKIT_WINCE="#"
50392 if test "x$TOOLKIT" = "xWINCE" ; then
50393 COND_TOOLKIT_WINCE=""
50394 fi
50395
50396 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50397 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50398 COND_TOOLKIT_WINCE_USE_GUI_1=""
50399 fi
50400
50401 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50402 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50403 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50404 fi
50405
50406 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50407 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50408 COND_TOOLKIT_WINCE_WXUNIV_0=""
50409 fi
50410
50411 COND_TOOLKIT_X11="#"
50412 if test "x$TOOLKIT" = "xX11" ; then
50413 COND_TOOLKIT_X11=""
50414 fi
50415
50416 COND_TOOLKIT_X11_USE_GUI_1="#"
50417 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50418 COND_TOOLKIT_X11_USE_GUI_1=""
50419 fi
50420
50421 COND_UNICODE_1="#"
50422 if test "x$UNICODE" = "x1" ; then
50423 COND_UNICODE_1=""
50424 fi
50425
50426 COND_USE_EXCEPTIONS_0="#"
50427 if test "x$USE_EXCEPTIONS" = "x0" ; then
50428 COND_USE_EXCEPTIONS_0=""
50429 fi
50430
50431 COND_USE_EXCEPTIONS_1="#"
50432 if test "x$USE_EXCEPTIONS" = "x1" ; then
50433 COND_USE_EXCEPTIONS_1=""
50434 fi
50435
50436 COND_USE_GUI_0="#"
50437 if test "x$USE_GUI" = "x0" ; then
50438 COND_USE_GUI_0=""
50439 fi
50440
50441 COND_USE_GUI_1="#"
50442 if test "x$USE_GUI" = "x1" ; then
50443 COND_USE_GUI_1=""
50444 fi
50445
50446 COND_USE_GUI_1_WXUNIV_0="#"
50447 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50448 COND_USE_GUI_1_WXUNIV_0=""
50449 fi
50450
50451 COND_USE_GUI_1_WXUNIV_1="#"
50452 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50453 COND_USE_GUI_1_WXUNIV_1=""
50454 fi
50455
50456 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50457 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50458 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50459 fi
50460
50461 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50462 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50463 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50464 fi
50465
50466 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50467 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50468 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50469 fi
50470
50471 COND_USE_ODBC_1="#"
50472 if test "x$USE_ODBC" = "x1" ; then
50473 COND_USE_ODBC_1=""
50474 fi
50475
50476 COND_USE_OPENGL_1="#"
50477 if test "x$USE_OPENGL" = "x1" ; then
50478 COND_USE_OPENGL_1=""
50479 fi
50480
50481 COND_USE_PCH_1="#"
50482 if test "x$USE_PCH" = "x1" ; then
50483 COND_USE_PCH_1=""
50484 fi
50485
50486 COND_USE_PLUGINS_0="#"
50487 if test "x$USE_PLUGINS" = "x0" ; then
50488 COND_USE_PLUGINS_0=""
50489 fi
50490
50491 COND_USE_RTTI_0="#"
50492 if test "x$USE_RTTI" = "x0" ; then
50493 COND_USE_RTTI_0=""
50494 fi
50495
50496 COND_USE_RTTI_1="#"
50497 if test "x$USE_RTTI" = "x1" ; then
50498 COND_USE_RTTI_1=""
50499 fi
50500
50501 COND_USE_SOSYMLINKS_1="#"
50502 if test "x$USE_SOSYMLINKS" = "x1" ; then
50503 COND_USE_SOSYMLINKS_1=""
50504 fi
50505
50506 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50507 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50508 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50509 fi
50510
50511 COND_USE_SOVERLINUX_1="#"
50512 if test "x$USE_SOVERLINUX" = "x1" ; then
50513 COND_USE_SOVERLINUX_1=""
50514 fi
50515
50516 COND_USE_SOVERSION_0="#"
50517 if test "x$USE_SOVERSION" = "x0" ; then
50518 COND_USE_SOVERSION_0=""
50519 fi
50520
50521 COND_USE_SOVERSOLARIS_1="#"
50522 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50523 COND_USE_SOVERSOLARIS_1=""
50524 fi
50525
50526 COND_USE_THREADS_0="#"
50527 if test "x$USE_THREADS" = "x0" ; then
50528 COND_USE_THREADS_0=""
50529 fi
50530
50531 COND_USE_THREADS_1="#"
50532 if test "x$USE_THREADS" = "x1" ; then
50533 COND_USE_THREADS_1=""
50534 fi
50535
50536 COND_USE_XRC_1="#"
50537 if test "x$USE_XRC" = "x1" ; then
50538 COND_USE_XRC_1=""
50539 fi
50540
50541 COND_WINDOWS_IMPLIB_1="#"
50542 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50543 COND_WINDOWS_IMPLIB_1=""
50544 fi
50545
50546 COND_WITH_PLUGIN_SDL_1="#"
50547 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50548 COND_WITH_PLUGIN_SDL_1=""
50549 fi
50550
50551 COND_WXUNIV_0="#"
50552 if test "x$WXUNIV" = "x0" ; then
50553 COND_WXUNIV_0=""
50554 fi
50555
50556 COND_WXUNIV_1="#"
50557 if test "x$WXUNIV" = "x1" ; then
50558 COND_WXUNIV_1=""
50559 fi
50560
50561 COND_WXUSE_EXPAT_BUILTIN="#"
50562 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50563 COND_WXUSE_EXPAT_BUILTIN=""
50564 fi
50565
50566 COND_WXUSE_LIBJPEG_BUILTIN="#"
50567 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50568 COND_WXUSE_LIBJPEG_BUILTIN=""
50569 fi
50570
50571 COND_WXUSE_LIBPNG_BUILTIN="#"
50572 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50573 COND_WXUSE_LIBPNG_BUILTIN=""
50574 fi
50575
50576 COND_WXUSE_LIBTIFF_BUILTIN="#"
50577 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50578 COND_WXUSE_LIBTIFF_BUILTIN=""
50579 fi
50580
50581 COND_WXUSE_ODBC_BUILTIN="#"
50582 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50583 COND_WXUSE_ODBC_BUILTIN=""
50584 fi
50585
50586 COND_WXUSE_REGEX_BUILTIN="#"
50587 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50588 COND_WXUSE_REGEX_BUILTIN=""
50589 fi
50590
50591 COND_WXUSE_ZLIB_BUILTIN="#"
50592 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50593 COND_WXUSE_ZLIB_BUILTIN=""
50594 fi
50595
50596
50597
50598 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50599 { { 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
50600 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;}
50601 { (exit 1); exit 1; }; }
50602 fi
50603
50604 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50605 { { 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
50606 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;}
50607 { (exit 1); exit 1; }; }
50608 fi
50609
50610
50611 if test $GCC_PCH = 1
50612 then
50613 if test "$wx_cv_gcc_pch_bug" = yes; then
50614 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50615 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50616 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50617 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50618 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50619 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50620 fi
50621
50622 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50623 fi
50624
50625
50626 if test "$wxUSE_MAC" = 1 ; then
50627 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50628 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50629 mv temp bk-deps
50630 chmod +x bk-deps
50631 fi
50632 fi
50633
50634 if test "$wxUSE_SHARED" = "yes"; then
50635
50636 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50637 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50638
50639 case "${host}" in
50640 *-pc-os2_emx | *-pc-os2-emx )
50641 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50642 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50643 cp -p ${srcdir}/src/os2/dllnames.sh .
50644 cp -p ${srcdir}/src/os2/dllar.sh .
50645 ;;
50646 esac
50647 else
50648
50649 EXE_LINKER="$CXX -o"
50650
50651 fi
50652 if test "$wxUSE_OMF" = "yes"; then
50653 case "${host}" in
50654 *-pc-os2_emx | *-pc-os2-emx )
50655 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50656 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50657 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50658 ;;
50659 esac
50660 fi
50661
50662 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50663
50664 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50665
50666
50667
50668
50669
50670
50671
50672
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685
50686
50687
50688
50689
50690
50691
50692
50693
50694
50695
50696
50697
50698
50699
50700
50701
50702
50703
50704
50705
50706
50707
50708
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50727 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50728 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50729 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50730 echo $ECHO_N "(cached) $ECHO_C" >&6
50731 else
50732 cat >conftest.make <<\_ACEOF
50733 all:
50734 @echo 'ac_maketemp="$(MAKE)"'
50735 _ACEOF
50736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50737 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50738 if test -n "$ac_maketemp"; then
50739 eval ac_cv_prog_make_${ac_make}_set=yes
50740 else
50741 eval ac_cv_prog_make_${ac_make}_set=no
50742 fi
50743 rm -f conftest.make
50744 fi
50745 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50746 echo "$as_me:$LINENO: result: yes" >&5
50747 echo "${ECHO_T}yes" >&6
50748 SET_MAKE=
50749 else
50750 echo "$as_me:$LINENO: result: no" >&5
50751 echo "${ECHO_T}no" >&6
50752 SET_MAKE="MAKE=${MAKE-make}"
50753 fi
50754
50755
50756
50757 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50758
50759
50760 if test "$USE_WIN32" = 1; then
50761 ac_config_commands="$ac_config_commands
50762 rcdefs.h
50763 "
50764
50765 fi
50766
50767 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50768
50769
50770 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50771
50772
50773 ac_config_files="$ac_config_files version-script Makefile"
50774
50775
50776 ac_config_commands="$ac_config_commands wx-config"
50777
50778
50779
50780 if test "$wxWITH_SUBDIRS" != "no"; then
50781 if test "$wxUSE_GUI" = "yes"; then
50782 SUBDIRS="samples demos utils contrib"
50783 else SUBDIRS="samples utils"
50784 fi
50785
50786
50787
50788 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50789 if test "${with_cppunit_prefix+set}" = set; then
50790 withval="$with_cppunit_prefix"
50791 cppunit_config_prefix="$withval"
50792 else
50793 cppunit_config_prefix=""
50794 fi;
50795
50796 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50797 if test "${with_cppunit_exec_prefix+set}" = set; then
50798 withval="$with_cppunit_exec_prefix"
50799 cppunit_config_exec_prefix="$withval"
50800 else
50801 cppunit_config_exec_prefix=""
50802 fi;
50803
50804 if test x$cppunit_config_exec_prefix != x ; then
50805 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50806 if test x${CPPUNIT_CONFIG+set} != xset ; then
50807 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50808 fi
50809 fi
50810 if test x$cppunit_config_prefix != x ; then
50811 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50812 if test x${CPPUNIT_CONFIG+set} != xset ; then
50813 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50814 fi
50815 fi
50816
50817 # Extract the first word of "cppunit-config", so it can be a program name with args.
50818 set dummy cppunit-config; ac_word=$2
50819 echo "$as_me:$LINENO: checking for $ac_word" >&5
50820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50821 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50822 echo $ECHO_N "(cached) $ECHO_C" >&6
50823 else
50824 case $CPPUNIT_CONFIG in
50825 [\\/]* | ?:[\\/]*)
50826 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50827 ;;
50828 *)
50829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50830 for as_dir in $PATH
50831 do
50832 IFS=$as_save_IFS
50833 test -z "$as_dir" && as_dir=.
50834 for ac_exec_ext in '' $ac_executable_extensions; do
50835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50836 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50838 break 2
50839 fi
50840 done
50841 done
50842
50843 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50844 ;;
50845 esac
50846 fi
50847 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50848
50849 if test -n "$CPPUNIT_CONFIG"; then
50850 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50851 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50852 else
50853 echo "$as_me:$LINENO: result: no" >&5
50854 echo "${ECHO_T}no" >&6
50855 fi
50856
50857 cppunit_version_min=1.8.0
50858
50859 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50860 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50861 no_cppunit=""
50862 if test "$CPPUNIT_CONFIG" = "no" ; then
50863 echo "$as_me:$LINENO: result: no" >&5
50864 echo "${ECHO_T}no" >&6
50865 no_cppunit=yes
50866 else
50867 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50868 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50869 cppunit_version=`$CPPUNIT_CONFIG --version`
50870
50871 cppunit_major_version=`echo $cppunit_version | \
50872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50873 cppunit_minor_version=`echo $cppunit_version | \
50874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50875 cppunit_micro_version=`echo $cppunit_version | \
50876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50877
50878 cppunit_major_min=`echo $cppunit_version_min | \
50879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50880 cppunit_minor_min=`echo $cppunit_version_min | \
50881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50882 cppunit_micro_min=`echo $cppunit_version_min | \
50883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50884
50885 cppunit_version_proper=`expr \
50886 $cppunit_major_version \> $cppunit_major_min \| \
50887 $cppunit_major_version \= $cppunit_major_min \& \
50888 $cppunit_minor_version \> $cppunit_minor_min \| \
50889 $cppunit_major_version \= $cppunit_major_min \& \
50890 $cppunit_minor_version \= $cppunit_minor_min \& \
50891 $cppunit_micro_version \>= $cppunit_micro_min `
50892
50893 if test "$cppunit_version_proper" = "1" ; then
50894 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50895 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50896 else
50897 echo "$as_me:$LINENO: result: no" >&5
50898 echo "${ECHO_T}no" >&6
50899 no_cppunit=yes
50900 fi
50901 fi
50902
50903 if test "x$no_cppunit" = x ; then
50904 SUBDIRS="$SUBDIRS tests"
50905 else
50906 CPPUNIT_CFLAGS=""
50907 CPPUNIT_LIBS=""
50908 :
50909 fi
50910
50911
50912
50913
50914
50915 for subdir in `echo $SUBDIRS`; do
50916 if test -d ${srcdir}/${subdir} ; then
50917 if test "$wxUSE_GUI" = "yes"; then
50918 if test ${subdir} = "samples"; then
50919 makefiles="samples/Makefile.in $makefiles"
50920 for sample in `echo $SAMPLES_SUBDIRS`; do
50921 if test -d $srcdir/samples/$sample; then
50922 makefiles="samples/$sample/Makefile.in $makefiles"
50923 fi
50924 done
50925 else
50926 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50927 eval "disabled=\$$disabled_var"
50928 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50929 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50930 fi
50931 else if test ${subdir} = "samples"; then
50932 makefiles="samples/Makefile.in samples/console/Makefile.in"
50933 elif test ${subdir} = "utils"; then
50934 makefiles=""
50935 for util in HelpGen tex2rtf ; do
50936 if test -d $srcdir/utils/$util ; then
50937 makefiles="utils/$util/Makefile.in \
50938 utils/$util/src/Makefile.in \
50939 $makefiles"
50940 fi
50941 done
50942 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50943 fi
50944 fi
50945
50946 for mkin in $makefiles ; do
50947 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50948 ac_config_files="$ac_config_files $mk"
50949
50950 done
50951 fi
50952 done
50953 fi
50954 cat >confcache <<\_ACEOF
50955 # This file is a shell script that caches the results of configure
50956 # tests run on this system so they can be shared between configure
50957 # scripts and configure runs, see configure's option --config-cache.
50958 # It is not useful on other systems. If it contains results you don't
50959 # want to keep, you may remove or edit it.
50960 #
50961 # config.status only pays attention to the cache file if you give it
50962 # the --recheck option to rerun configure.
50963 #
50964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50966 # following values.
50967
50968 _ACEOF
50969
50970 # The following way of writing the cache mishandles newlines in values,
50971 # but we know of no workaround that is simple, portable, and efficient.
50972 # So, don't put newlines in cache variables' values.
50973 # Ultrix sh set writes to stderr and can't be redirected directly,
50974 # and sets the high bit in the cache file unless we assign to the vars.
50975 {
50976 (set) 2>&1 |
50977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50978 *ac_space=\ *)
50979 # `set' does not quote correctly, so add quotes (double-quote
50980 # substitution turns \\\\ into \\, and sed turns \\ into \).
50981 sed -n \
50982 "s/'/'\\\\''/g;
50983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50984 ;;
50985 *)
50986 # `set' quotes correctly as required by POSIX, so do not add quotes.
50987 sed -n \
50988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50989 ;;
50990 esac;
50991 } |
50992 sed '
50993 t clear
50994 : clear
50995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50996 t end
50997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50998 : end' >>confcache
50999 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51000 if test -w $cache_file; then
51001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51002 cat confcache >$cache_file
51003 else
51004 echo "not updating unwritable cache $cache_file"
51005 fi
51006 fi
51007 rm -f confcache
51008
51009 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51010 # Let make expand exec_prefix.
51011 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51012
51013 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51015 # trailing colons and then remove the whole line if VPATH becomes empty
51016 # (actually we leave an empty line to preserve line numbers).
51017 if test "x$srcdir" = x.; then
51018 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51019 s/:*\$(srcdir):*/:/;
51020 s/:*\${srcdir}:*/:/;
51021 s/:*@srcdir@:*/:/;
51022 s/^\([^=]*=[ ]*\):*/\1/;
51023 s/:*$//;
51024 s/^[^=]*=[ ]*$//;
51025 }'
51026 fi
51027
51028 DEFS=-DHAVE_CONFIG_H
51029
51030 ac_libobjs=
51031 ac_ltlibobjs=
51032 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51033 # 1. Remove the extension, and $U if already installed.
51034 ac_i=`echo "$ac_i" |
51035 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51036 # 2. Add them.
51037 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51038 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51039 done
51040 LIBOBJS=$ac_libobjs
51041
51042 LTLIBOBJS=$ac_ltlibobjs
51043
51044
51045
51046 : ${CONFIG_STATUS=./config.status}
51047 ac_clean_files_save=$ac_clean_files
51048 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51049 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51050 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51051 cat >$CONFIG_STATUS <<_ACEOF
51052 #! $SHELL
51053 # Generated by $as_me.
51054 # Run this file to recreate the current configuration.
51055 # Compiler output produced by configure, useful for debugging
51056 # configure, is in config.log if it exists.
51057
51058 debug=false
51059 ac_cs_recheck=false
51060 ac_cs_silent=false
51061 SHELL=\${CONFIG_SHELL-$SHELL}
51062 _ACEOF
51063
51064 cat >>$CONFIG_STATUS <<\_ACEOF
51065 ## --------------------- ##
51066 ## M4sh Initialization. ##
51067 ## --------------------- ##
51068
51069 # Be Bourne compatible
51070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51071 emulate sh
51072 NULLCMD=:
51073 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51074 # is contrary to our usage. Disable this feature.
51075 alias -g '${1+"$@"}'='"$@"'
51076 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51077 set -o posix
51078 fi
51079 DUALCASE=1; export DUALCASE # for MKS sh
51080
51081 # Support unset when possible.
51082 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51083 as_unset=unset
51084 else
51085 as_unset=false
51086 fi
51087
51088
51089 # Work around bugs in pre-3.0 UWIN ksh.
51090 $as_unset ENV MAIL MAILPATH
51091 PS1='$ '
51092 PS2='> '
51093 PS4='+ '
51094
51095 # NLS nuisances.
51096 for as_var in \
51097 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51098 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51099 LC_TELEPHONE LC_TIME
51100 do
51101 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51102 eval $as_var=C; export $as_var
51103 else
51104 $as_unset $as_var
51105 fi
51106 done
51107
51108 # Required to use basename.
51109 if expr a : '\(a\)' >/dev/null 2>&1; then
51110 as_expr=expr
51111 else
51112 as_expr=false
51113 fi
51114
51115 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51116 as_basename=basename
51117 else
51118 as_basename=false
51119 fi
51120
51121
51122 # Name of the executable.
51123 as_me=`$as_basename "$0" ||
51124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51125 X"$0" : 'X\(//\)$' \| \
51126 X"$0" : 'X\(/\)$' \| \
51127 . : '\(.\)' 2>/dev/null ||
51128 echo X/"$0" |
51129 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51130 /^X\/\(\/\/\)$/{ s//\1/; q; }
51131 /^X\/\(\/\).*/{ s//\1/; q; }
51132 s/.*/./; q'`
51133
51134
51135 # PATH needs CR, and LINENO needs CR and PATH.
51136 # Avoid depending upon Character Ranges.
51137 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51138 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51139 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51140 as_cr_digits='0123456789'
51141 as_cr_alnum=$as_cr_Letters$as_cr_digits
51142
51143 # The user is always right.
51144 if test "${PATH_SEPARATOR+set}" != set; then
51145 echo "#! /bin/sh" >conf$$.sh
51146 echo "exit 0" >>conf$$.sh
51147 chmod +x conf$$.sh
51148 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51149 PATH_SEPARATOR=';'
51150 else
51151 PATH_SEPARATOR=:
51152 fi
51153 rm -f conf$$.sh
51154 fi
51155
51156
51157 as_lineno_1=$LINENO
51158 as_lineno_2=$LINENO
51159 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51160 test "x$as_lineno_1" != "x$as_lineno_2" &&
51161 test "x$as_lineno_3" = "x$as_lineno_2" || {
51162 # Find who we are. Look in the path if we contain no path at all
51163 # relative or not.
51164 case $0 in
51165 *[\\/]* ) as_myself=$0 ;;
51166 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51167 for as_dir in $PATH
51168 do
51169 IFS=$as_save_IFS
51170 test -z "$as_dir" && as_dir=.
51171 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51172 done
51173
51174 ;;
51175 esac
51176 # We did not find ourselves, most probably we were run as `sh COMMAND'
51177 # in which case we are not to be found in the path.
51178 if test "x$as_myself" = x; then
51179 as_myself=$0
51180 fi
51181 if test ! -f "$as_myself"; then
51182 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51183 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51184 { (exit 1); exit 1; }; }
51185 fi
51186 case $CONFIG_SHELL in
51187 '')
51188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51190 do
51191 IFS=$as_save_IFS
51192 test -z "$as_dir" && as_dir=.
51193 for as_base in sh bash ksh sh5; do
51194 case $as_dir in
51195 /*)
51196 if ("$as_dir/$as_base" -c '
51197 as_lineno_1=$LINENO
51198 as_lineno_2=$LINENO
51199 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51200 test "x$as_lineno_1" != "x$as_lineno_2" &&
51201 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51202 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51203 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51204 CONFIG_SHELL=$as_dir/$as_base
51205 export CONFIG_SHELL
51206 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51207 fi;;
51208 esac
51209 done
51210 done
51211 ;;
51212 esac
51213
51214 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51215 # uniformly replaced by the line number. The first 'sed' inserts a
51216 # line-number line before each line; the second 'sed' does the real
51217 # work. The second script uses 'N' to pair each line-number line
51218 # with the numbered line, and appends trailing '-' during
51219 # substitution so that $LINENO is not a special case at line end.
51220 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51221 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51222 sed '=' <$as_myself |
51223 sed '
51224 N
51225 s,$,-,
51226 : loop
51227 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51228 t loop
51229 s,-$,,
51230 s,^['$as_cr_digits']*\n,,
51231 ' >$as_me.lineno &&
51232 chmod +x $as_me.lineno ||
51233 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51234 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51235 { (exit 1); exit 1; }; }
51236
51237 # Don't try to exec as it changes $[0], causing all sort of problems
51238 # (the dirname of $[0] is not the place where we might find the
51239 # original and so on. Autoconf is especially sensible to this).
51240 . ./$as_me.lineno
51241 # Exit status is that of the last command.
51242 exit
51243 }
51244
51245
51246 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51247 *c*,-n*) ECHO_N= ECHO_C='
51248 ' ECHO_T=' ' ;;
51249 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51250 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51251 esac
51252
51253 if expr a : '\(a\)' >/dev/null 2>&1; then
51254 as_expr=expr
51255 else
51256 as_expr=false
51257 fi
51258
51259 rm -f conf$$ conf$$.exe conf$$.file
51260 echo >conf$$.file
51261 if ln -s conf$$.file conf$$ 2>/dev/null; then
51262 # We could just check for DJGPP; but this test a) works b) is more generic
51263 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51264 if test -f conf$$.exe; then
51265 # Don't use ln at all; we don't have any links
51266 as_ln_s='cp -p'
51267 else
51268 as_ln_s='ln -s'
51269 fi
51270 elif ln conf$$.file conf$$ 2>/dev/null; then
51271 as_ln_s=ln
51272 else
51273 as_ln_s='cp -p'
51274 fi
51275 rm -f conf$$ conf$$.exe conf$$.file
51276
51277 if mkdir -p . 2>/dev/null; then
51278 as_mkdir_p=:
51279 else
51280 test -d ./-p && rmdir ./-p
51281 as_mkdir_p=false
51282 fi
51283
51284 as_executable_p="test -f"
51285
51286 # Sed expression to map a string onto a valid CPP name.
51287 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51288
51289 # Sed expression to map a string onto a valid variable name.
51290 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51291
51292
51293 # IFS
51294 # We need space, tab and new line, in precisely that order.
51295 as_nl='
51296 '
51297 IFS=" $as_nl"
51298
51299 # CDPATH.
51300 $as_unset CDPATH
51301
51302 exec 6>&1
51303
51304 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51305 # report actual input values of CONFIG_FILES etc. instead of their
51306 # values after options handling. Logging --version etc. is OK.
51307 exec 5>>config.log
51308 {
51309 echo
51310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51311 ## Running $as_me. ##
51312 _ASBOX
51313 } >&5
51314 cat >&5 <<_CSEOF
51315
51316 This file was extended by wxWidgets $as_me 2.7.1, which was
51317 generated by GNU Autoconf 2.59. Invocation command line was
51318
51319 CONFIG_FILES = $CONFIG_FILES
51320 CONFIG_HEADERS = $CONFIG_HEADERS
51321 CONFIG_LINKS = $CONFIG_LINKS
51322 CONFIG_COMMANDS = $CONFIG_COMMANDS
51323 $ $0 $@
51324
51325 _CSEOF
51326 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51327 echo >&5
51328 _ACEOF
51329
51330 # Files that config.status was made for.
51331 if test -n "$ac_config_files"; then
51332 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51333 fi
51334
51335 if test -n "$ac_config_headers"; then
51336 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51337 fi
51338
51339 if test -n "$ac_config_links"; then
51340 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51341 fi
51342
51343 if test -n "$ac_config_commands"; then
51344 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51345 fi
51346
51347 cat >>$CONFIG_STATUS <<\_ACEOF
51348
51349 ac_cs_usage="\
51350 \`$as_me' instantiates files from templates according to the
51351 current configuration.
51352
51353 Usage: $0 [OPTIONS] [FILE]...
51354
51355 -h, --help print this help, then exit
51356 -V, --version print version number, then exit
51357 -q, --quiet do not print progress messages
51358 -d, --debug don't remove temporary files
51359 --recheck update $as_me by reconfiguring in the same conditions
51360 --file=FILE[:TEMPLATE]
51361 instantiate the configuration file FILE
51362 --header=FILE[:TEMPLATE]
51363 instantiate the configuration header FILE
51364
51365 Configuration files:
51366 $config_files
51367
51368 Configuration headers:
51369 $config_headers
51370
51371 Configuration commands:
51372 $config_commands
51373
51374 Report bugs to <bug-autoconf@gnu.org>."
51375 _ACEOF
51376
51377 cat >>$CONFIG_STATUS <<_ACEOF
51378 ac_cs_version="\\
51379 wxWidgets config.status 2.7.1
51380 configured by $0, generated by GNU Autoconf 2.59,
51381 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51382
51383 Copyright (C) 2003 Free Software Foundation, Inc.
51384 This config.status script is free software; the Free Software Foundation
51385 gives unlimited permission to copy, distribute and modify it."
51386 srcdir=$srcdir
51387 INSTALL="$INSTALL"
51388 _ACEOF
51389
51390 cat >>$CONFIG_STATUS <<\_ACEOF
51391 # If no file are specified by the user, then we need to provide default
51392 # value. By we need to know if files were specified by the user.
51393 ac_need_defaults=:
51394 while test $# != 0
51395 do
51396 case $1 in
51397 --*=*)
51398 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51399 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51400 ac_shift=:
51401 ;;
51402 -*)
51403 ac_option=$1
51404 ac_optarg=$2
51405 ac_shift=shift
51406 ;;
51407 *) # This is not an option, so the user has probably given explicit
51408 # arguments.
51409 ac_option=$1
51410 ac_need_defaults=false;;
51411 esac
51412
51413 case $ac_option in
51414 # Handling of the options.
51415 _ACEOF
51416 cat >>$CONFIG_STATUS <<\_ACEOF
51417 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51418 ac_cs_recheck=: ;;
51419 --version | --vers* | -V )
51420 echo "$ac_cs_version"; exit 0 ;;
51421 --he | --h)
51422 # Conflict between --help and --header
51423 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51424 Try \`$0 --help' for more information." >&5
51425 echo "$as_me: error: ambiguous option: $1
51426 Try \`$0 --help' for more information." >&2;}
51427 { (exit 1); exit 1; }; };;
51428 --help | --hel | -h )
51429 echo "$ac_cs_usage"; exit 0 ;;
51430 --debug | --d* | -d )
51431 debug=: ;;
51432 --file | --fil | --fi | --f )
51433 $ac_shift
51434 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51435 ac_need_defaults=false;;
51436 --header | --heade | --head | --hea )
51437 $ac_shift
51438 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51439 ac_need_defaults=false;;
51440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51441 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51442 ac_cs_silent=: ;;
51443
51444 # This is an error.
51445 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51446 Try \`$0 --help' for more information." >&5
51447 echo "$as_me: error: unrecognized option: $1
51448 Try \`$0 --help' for more information." >&2;}
51449 { (exit 1); exit 1; }; } ;;
51450
51451 *) ac_config_targets="$ac_config_targets $1" ;;
51452
51453 esac
51454 shift
51455 done
51456
51457 ac_configure_extra_args=
51458
51459 if $ac_cs_silent; then
51460 exec 6>/dev/null
51461 ac_configure_extra_args="$ac_configure_extra_args --silent"
51462 fi
51463
51464 _ACEOF
51465 cat >>$CONFIG_STATUS <<_ACEOF
51466 if \$ac_cs_recheck; then
51467 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51468 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51469 fi
51470
51471 _ACEOF
51472
51473 cat >>$CONFIG_STATUS <<_ACEOF
51474 #
51475 # INIT-COMMANDS section.
51476 #
51477
51478
51479 CPP="$CPP"
51480 infile="$srcdir/include/wx/msw/genrcdefs.h"
51481 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51482
51483
51484 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51485 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51486 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51487 LN_S="${LN_S}"
51488
51489
51490 _ACEOF
51491
51492
51493
51494 cat >>$CONFIG_STATUS <<\_ACEOF
51495 for ac_config_target in $ac_config_targets
51496 do
51497 case "$ac_config_target" in
51498 # Handling of arguments.
51499 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51500 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51501 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51502 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51503 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51504 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51505 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51506 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51507 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51508 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51509 { (exit 1); exit 1; }; };;
51510 esac
51511 done
51512
51513 # If the user did not use the arguments to specify the items to instantiate,
51514 # then the envvar interface is used. Set only those that are not.
51515 # We use the long form for the default assignment because of an extremely
51516 # bizarre bug on SunOS 4.1.3.
51517 if $ac_need_defaults; then
51518 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51519 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51521 fi
51522
51523 # Have a temporary directory for convenience. Make it in the build tree
51524 # simply because there is no reason to put it here, and in addition,
51525 # creating and moving files from /tmp can sometimes cause problems.
51526 # Create a temporary directory, and hook for its removal unless debugging.
51527 $debug ||
51528 {
51529 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51530 trap '{ (exit 1); exit 1; }' 1 2 13 15
51531 }
51532
51533 # Create a (secure) tmp directory for tmp files.
51534
51535 {
51536 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51537 test -n "$tmp" && test -d "$tmp"
51538 } ||
51539 {
51540 tmp=./confstat$$-$RANDOM
51541 (umask 077 && mkdir $tmp)
51542 } ||
51543 {
51544 echo "$me: cannot create a temporary directory in ." >&2
51545 { (exit 1); exit 1; }
51546 }
51547
51548 _ACEOF
51549
51550 cat >>$CONFIG_STATUS <<_ACEOF
51551
51552 #
51553 # CONFIG_FILES section.
51554 #
51555
51556 # No need to generate the scripts if there are no CONFIG_FILES.
51557 # This happens for instance when ./config.status config.h
51558 if test -n "\$CONFIG_FILES"; then
51559 # Protect against being on the right side of a sed subst in config.status.
51560 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51561 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51562 s,@SHELL@,$SHELL,;t t
51563 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51564 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51565 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51566 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51567 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51568 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51569 s,@exec_prefix@,$exec_prefix,;t t
51570 s,@prefix@,$prefix,;t t
51571 s,@program_transform_name@,$program_transform_name,;t t
51572 s,@bindir@,$bindir,;t t
51573 s,@sbindir@,$sbindir,;t t
51574 s,@libexecdir@,$libexecdir,;t t
51575 s,@datadir@,$datadir,;t t
51576 s,@sysconfdir@,$sysconfdir,;t t
51577 s,@sharedstatedir@,$sharedstatedir,;t t
51578 s,@localstatedir@,$localstatedir,;t t
51579 s,@libdir@,$libdir,;t t
51580 s,@includedir@,$includedir,;t t
51581 s,@oldincludedir@,$oldincludedir,;t t
51582 s,@infodir@,$infodir,;t t
51583 s,@mandir@,$mandir,;t t
51584 s,@build_alias@,$build_alias,;t t
51585 s,@host_alias@,$host_alias,;t t
51586 s,@target_alias@,$target_alias,;t t
51587 s,@DEFS@,$DEFS,;t t
51588 s,@ECHO_C@,$ECHO_C,;t t
51589 s,@ECHO_N@,$ECHO_N,;t t
51590 s,@ECHO_T@,$ECHO_T,;t t
51591 s,@LIBS@,$LIBS,;t t
51592 s,@build@,$build,;t t
51593 s,@build_cpu@,$build_cpu,;t t
51594 s,@build_vendor@,$build_vendor,;t t
51595 s,@build_os@,$build_os,;t t
51596 s,@host@,$host,;t t
51597 s,@host_cpu@,$host_cpu,;t t
51598 s,@host_vendor@,$host_vendor,;t t
51599 s,@host_os@,$host_os,;t t
51600 s,@target@,$target,;t t
51601 s,@target_cpu@,$target_cpu,;t t
51602 s,@target_vendor@,$target_vendor,;t t
51603 s,@target_os@,$target_os,;t t
51604 s,@CC@,$CC,;t t
51605 s,@CFLAGS@,$CFLAGS,;t t
51606 s,@LDFLAGS@,$LDFLAGS,;t t
51607 s,@CPPFLAGS@,$CPPFLAGS,;t t
51608 s,@ac_ct_CC@,$ac_ct_CC,;t t
51609 s,@EXEEXT@,$EXEEXT,;t t
51610 s,@OBJEXT@,$OBJEXT,;t t
51611 s,@CPP@,$CPP,;t t
51612 s,@EGREP@,$EGREP,;t t
51613 s,@CXX@,$CXX,;t t
51614 s,@CXXFLAGS@,$CXXFLAGS,;t t
51615 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51616 s,@RANLIB@,$RANLIB,;t t
51617 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51618 s,@AR@,$AR,;t t
51619 s,@ac_ct_AR@,$ac_ct_AR,;t t
51620 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51621 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51622 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51623 s,@STRIP@,$STRIP,;t t
51624 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51625 s,@WINDRES@,$WINDRES,;t t
51626 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51627 s,@DLLTOOL@,$DLLTOOL,;t t
51628 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51629 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51630 s,@LN_S@,$LN_S,;t t
51631 s,@CXXCPP@,$CXXCPP,;t t
51632 s,@subdirs@,$subdirs,;t t
51633 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51634 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51635 s,@GTK_LIBS@,$GTK_LIBS,;t t
51636 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51637 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51638 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51639 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51640 s,@X_CFLAGS@,$X_CFLAGS,;t t
51641 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51642 s,@X_LIBS@,$X_LIBS,;t t
51643 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51644 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51645 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51646 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51647 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51648 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51649 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51650 s,@REZ@,$REZ,;t t
51651 s,@DEREZ@,$DEREZ,;t t
51652 s,@SETFILE@,$SETFILE,;t t
51653 s,@LIBICONV@,$LIBICONV,;t t
51654 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51655 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51656 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51657 s,@SDL_LIBS@,$SDL_LIBS,;t t
51658 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51659 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51660 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51661 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51662 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51663 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51664 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51665 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51666 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51667 s,@GST_LIBS@,$GST_LIBS,;t t
51668 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51669 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51670 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51671 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51672 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51673 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51674 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51675 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51676 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51677 s,@VENDOR@,$VENDOR,;t t
51678 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51679 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51680 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51681 s,@WXUNIV@,$WXUNIV,;t t
51682 s,@MONOLITHIC@,$MONOLITHIC,;t t
51683 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51684 s,@EXTRALIBS@,$EXTRALIBS,;t t
51685 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51686 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51687 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51688 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51689 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51690 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51691 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51692 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51693 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51694 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51695 s,@UNICODE@,$UNICODE,;t t
51696 s,@BUILD@,$BUILD,;t t
51697 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51698 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51699 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51700 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51701 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51702 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51703 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51704 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51705 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51706 s,@SET_MAKE@,$SET_MAKE,;t t
51707 s,@MAKE_SET@,$MAKE_SET,;t t
51708 s,@NM@,$NM,;t t
51709 s,@ac_ct_NM@,$ac_ct_NM,;t t
51710 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51711 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51712 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51713 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51714 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51715 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51716 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51717 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51718 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51719 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51720 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51721 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51722 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51723 s,@LIBPREFIX@,$LIBPREFIX,;t t
51724 s,@LIBEXT@,$LIBEXT,;t t
51725 s,@DLLPREFIX@,$DLLPREFIX,;t t
51726 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51727 s,@dlldir@,$dlldir,;t t
51728 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51729 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51730 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51731 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51732 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51733 s,@PIC_FLAG@,$PIC_FLAG,;t t
51734 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51735 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51736 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51737 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51738 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51739 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51740 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51741 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51742 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51743 s,@GCC_PCH@,$GCC_PCH,;t t
51744 s,@ICC_PCH@,$ICC_PCH,;t t
51745 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51746 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51747 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51748 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51749 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51750 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51751 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51752 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51753 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51754 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51755 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51756 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51757 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51758 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51759 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51760 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51761 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51762 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51763 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51764 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51765 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
51766 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
51767 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
51768 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
51769 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51770 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51771 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51772 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51773 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51774 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51775 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
51776 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
51777 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
51778 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
51779 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51780 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51781 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51782 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51783 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51784 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51785 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51786 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51787 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51788 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51789 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51790 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51791 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51792 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51793 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51794 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51795 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51796 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51797 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
51798 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51799 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51800 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51801 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51802 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51803 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51804 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51805 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51806 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51807 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51808 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51809 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51810 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51811 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51812 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51813 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51814 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51815 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51816 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51817 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51818 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51819 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51820 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51821 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51822 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51823 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51824 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51825 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51826 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51827 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51828 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51829 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51830 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51831 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51832 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51833 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51834 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51835 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51836 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51837 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51838 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51839 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
51840 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51841 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51842 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51843 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51844 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51845 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51846 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51847 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51848 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51849 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51850 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51851 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51852 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51853 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51854 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51855 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51856 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51857 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51858 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51859 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51860 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51861 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51862 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51863 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51864 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51865 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51866 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51867 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51868 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51869 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51870 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51871 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51872 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51873 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51874 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51875 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51876 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51877 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51878 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51879 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51880 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51881 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51882 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51883 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51884 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51885 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51886 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51887 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51888 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51889 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51890 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51891 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51892 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51893 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51894 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51895 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51896 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51897 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51898 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51899 s,@SHARED@,$SHARED,;t t
51900 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51901 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51902 s,@USE_GUI@,$USE_GUI,;t t
51903 s,@AFMINSTALL@,$AFMINSTALL,;t t
51904 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51905 s,@TOOLKIT@,$TOOLKIT,;t t
51906 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51907 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51908 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51909 s,@cross_compiling@,$cross_compiling,;t t
51910 s,@WIDGET_SET@,$WIDGET_SET,;t t
51911 s,@WX_RELEASE@,$WX_RELEASE,;t t
51912 s,@WX_VERSION@,$WX_VERSION,;t t
51913 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51914 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51915 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51916 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51917 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51918 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51919 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51920 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51921 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51922 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51923 s,@EXE_LINKER@,$EXE_LINKER,;t t
51924 s,@GUIDIST@,$GUIDIST,;t t
51925 s,@DISTDIR@,$DISTDIR,;t t
51926 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51927 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51928 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51929 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51930 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51931 s,@RESCOMP@,$RESCOMP,;t t
51932 s,@RESFLAGS@,$RESFLAGS,;t t
51933 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51934 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51935 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51936 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51937 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51938 s,@MACSETFILE@,$MACSETFILE,;t t
51939 s,@GCC@,$GCC,;t t
51940 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51941 s,@LIBOBJS@,$LIBOBJS,;t t
51942 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51943 CEOF
51944
51945 _ACEOF
51946
51947 cat >>$CONFIG_STATUS <<\_ACEOF
51948 # Split the substitutions into bite-sized pieces for seds with
51949 # small command number limits, like on Digital OSF/1 and HP-UX.
51950 ac_max_sed_lines=48
51951 ac_sed_frag=1 # Number of current file.
51952 ac_beg=1 # First line for current file.
51953 ac_end=$ac_max_sed_lines # Line after last line for current file.
51954 ac_more_lines=:
51955 ac_sed_cmds=
51956 while $ac_more_lines; do
51957 if test $ac_beg -gt 1; then
51958 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51959 else
51960 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51961 fi
51962 if test ! -s $tmp/subs.frag; then
51963 ac_more_lines=false
51964 else
51965 # The purpose of the label and of the branching condition is to
51966 # speed up the sed processing (if there are no `@' at all, there
51967 # is no need to browse any of the substitutions).
51968 # These are the two extra sed commands mentioned above.
51969 (echo ':t
51970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51971 if test -z "$ac_sed_cmds"; then
51972 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51973 else
51974 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51975 fi
51976 ac_sed_frag=`expr $ac_sed_frag + 1`
51977 ac_beg=$ac_end
51978 ac_end=`expr $ac_end + $ac_max_sed_lines`
51979 fi
51980 done
51981 if test -z "$ac_sed_cmds"; then
51982 ac_sed_cmds=cat
51983 fi
51984 fi # test -n "$CONFIG_FILES"
51985
51986 _ACEOF
51987 cat >>$CONFIG_STATUS <<\_ACEOF
51988 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51989 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51990 case $ac_file in
51991 - | *:- | *:-:* ) # input from stdin
51992 cat >$tmp/stdin
51993 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51994 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51995 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51996 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51997 * ) ac_file_in=$ac_file.in ;;
51998 esac
51999
52000 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52001 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52003 X"$ac_file" : 'X\(//\)[^/]' \| \
52004 X"$ac_file" : 'X\(//\)$' \| \
52005 X"$ac_file" : 'X\(/\)' \| \
52006 . : '\(.\)' 2>/dev/null ||
52007 echo X"$ac_file" |
52008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52010 /^X\(\/\/\)$/{ s//\1/; q; }
52011 /^X\(\/\).*/{ s//\1/; q; }
52012 s/.*/./; q'`
52013 { if $as_mkdir_p; then
52014 mkdir -p "$ac_dir"
52015 else
52016 as_dir="$ac_dir"
52017 as_dirs=
52018 while test ! -d "$as_dir"; do
52019 as_dirs="$as_dir $as_dirs"
52020 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52022 X"$as_dir" : 'X\(//\)[^/]' \| \
52023 X"$as_dir" : 'X\(//\)$' \| \
52024 X"$as_dir" : 'X\(/\)' \| \
52025 . : '\(.\)' 2>/dev/null ||
52026 echo X"$as_dir" |
52027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52029 /^X\(\/\/\)$/{ s//\1/; q; }
52030 /^X\(\/\).*/{ s//\1/; q; }
52031 s/.*/./; q'`
52032 done
52033 test ! -n "$as_dirs" || mkdir $as_dirs
52034 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52035 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52036 { (exit 1); exit 1; }; }; }
52037
52038 ac_builddir=.
52039
52040 if test "$ac_dir" != .; then
52041 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52042 # A "../" for each directory in $ac_dir_suffix.
52043 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52044 else
52045 ac_dir_suffix= ac_top_builddir=
52046 fi
52047
52048 case $srcdir in
52049 .) # No --srcdir option. We are building in place.
52050 ac_srcdir=.
52051 if test -z "$ac_top_builddir"; then
52052 ac_top_srcdir=.
52053 else
52054 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52055 fi ;;
52056 [\\/]* | ?:[\\/]* ) # Absolute path.
52057 ac_srcdir=$srcdir$ac_dir_suffix;
52058 ac_top_srcdir=$srcdir ;;
52059 *) # Relative path.
52060 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52061 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52062 esac
52063
52064 # Do not use `cd foo && pwd` to compute absolute paths, because
52065 # the directories may not exist.
52066 case `pwd` in
52067 .) ac_abs_builddir="$ac_dir";;
52068 *)
52069 case "$ac_dir" in
52070 .) ac_abs_builddir=`pwd`;;
52071 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52072 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52073 esac;;
52074 esac
52075 case $ac_abs_builddir in
52076 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52077 *)
52078 case ${ac_top_builddir}. in
52079 .) ac_abs_top_builddir=$ac_abs_builddir;;
52080 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52081 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52082 esac;;
52083 esac
52084 case $ac_abs_builddir in
52085 .) ac_abs_srcdir=$ac_srcdir;;
52086 *)
52087 case $ac_srcdir in
52088 .) ac_abs_srcdir=$ac_abs_builddir;;
52089 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52090 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52091 esac;;
52092 esac
52093 case $ac_abs_builddir in
52094 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52095 *)
52096 case $ac_top_srcdir in
52097 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52098 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52099 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52100 esac;;
52101 esac
52102
52103
52104 case $INSTALL in
52105 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52106 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52107 esac
52108
52109 # Let's still pretend it is `configure' which instantiates (i.e., don't
52110 # use $as_me), people would be surprised to read:
52111 # /* config.h. Generated by config.status. */
52112 if test x"$ac_file" = x-; then
52113 configure_input=
52114 else
52115 configure_input="$ac_file. "
52116 fi
52117 configure_input=$configure_input"Generated from `echo $ac_file_in |
52118 sed 's,.*/,,'` by configure."
52119
52120 # First look for the input files in the build tree, otherwise in the
52121 # src tree.
52122 ac_file_inputs=`IFS=:
52123 for f in $ac_file_in; do
52124 case $f in
52125 -) echo $tmp/stdin ;;
52126 [\\/$]*)
52127 # Absolute (can't be DOS-style, as IFS=:)
52128 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52129 echo "$as_me: error: cannot find input file: $f" >&2;}
52130 { (exit 1); exit 1; }; }
52131 echo "$f";;
52132 *) # Relative
52133 if test -f "$f"; then
52134 # Build tree
52135 echo "$f"
52136 elif test -f "$srcdir/$f"; then
52137 # Source tree
52138 echo "$srcdir/$f"
52139 else
52140 # /dev/null tree
52141 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52142 echo "$as_me: error: cannot find input file: $f" >&2;}
52143 { (exit 1); exit 1; }; }
52144 fi;;
52145 esac
52146 done` || { (exit 1); exit 1; }
52147
52148 if test x"$ac_file" != x-; then
52149 { echo "$as_me:$LINENO: creating $ac_file" >&5
52150 echo "$as_me: creating $ac_file" >&6;}
52151 rm -f "$ac_file"
52152 fi
52153 _ACEOF
52154 cat >>$CONFIG_STATUS <<_ACEOF
52155 sed "$ac_vpsub
52156 $extrasub
52157 _ACEOF
52158 cat >>$CONFIG_STATUS <<\_ACEOF
52159 :t
52160 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52161 s,@configure_input@,$configure_input,;t t
52162 s,@srcdir@,$ac_srcdir,;t t
52163 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52164 s,@top_srcdir@,$ac_top_srcdir,;t t
52165 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52166 s,@builddir@,$ac_builddir,;t t
52167 s,@abs_builddir@,$ac_abs_builddir,;t t
52168 s,@top_builddir@,$ac_top_builddir,;t t
52169 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52170 s,@INSTALL@,$ac_INSTALL,;t t
52171 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52172 rm -f $tmp/stdin
52173 if test x"$ac_file" != x-; then
52174 mv $tmp/out $ac_file
52175 else
52176 cat $tmp/out
52177 rm -f $tmp/out
52178 fi
52179
52180 # Run the commands associated with the file.
52181 case $ac_file in
52182 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52183 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52184 esac
52185 done
52186 _ACEOF
52187 cat >>$CONFIG_STATUS <<\_ACEOF
52188
52189 #
52190 # CONFIG_HEADER section.
52191 #
52192
52193 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52194 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52195 #
52196 # ac_d sets the value in "#define NAME VALUE" lines.
52197 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52198 ac_dB='[ ].*$,\1#\2'
52199 ac_dC=' '
52200 ac_dD=',;t'
52201 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52202 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52203 ac_uB='$,\1#\2define\3'
52204 ac_uC=' '
52205 ac_uD=',;t'
52206
52207 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52208 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52209 case $ac_file in
52210 - | *:- | *:-:* ) # input from stdin
52211 cat >$tmp/stdin
52212 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52213 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52214 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52216 * ) ac_file_in=$ac_file.in ;;
52217 esac
52218
52219 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52220 echo "$as_me: creating $ac_file" >&6;}
52221
52222 # First look for the input files in the build tree, otherwise in the
52223 # src tree.
52224 ac_file_inputs=`IFS=:
52225 for f in $ac_file_in; do
52226 case $f in
52227 -) echo $tmp/stdin ;;
52228 [\\/$]*)
52229 # Absolute (can't be DOS-style, as IFS=:)
52230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52231 echo "$as_me: error: cannot find input file: $f" >&2;}
52232 { (exit 1); exit 1; }; }
52233 # Do quote $f, to prevent DOS paths from being IFS'd.
52234 echo "$f";;
52235 *) # Relative
52236 if test -f "$f"; then
52237 # Build tree
52238 echo "$f"
52239 elif test -f "$srcdir/$f"; then
52240 # Source tree
52241 echo "$srcdir/$f"
52242 else
52243 # /dev/null tree
52244 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52245 echo "$as_me: error: cannot find input file: $f" >&2;}
52246 { (exit 1); exit 1; }; }
52247 fi;;
52248 esac
52249 done` || { (exit 1); exit 1; }
52250 # Remove the trailing spaces.
52251 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52252
52253 _ACEOF
52254
52255 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52256 # `conftest.undefs', that substitutes the proper values into
52257 # config.h.in to produce config.h. The first handles `#define'
52258 # templates, and the second `#undef' templates.
52259 # And first: Protect against being on the right side of a sed subst in
52260 # config.status. Protect against being in an unquoted here document
52261 # in config.status.
52262 rm -f conftest.defines conftest.undefs
52263 # Using a here document instead of a string reduces the quoting nightmare.
52264 # Putting comments in sed scripts is not portable.
52265 #
52266 # `end' is used to avoid that the second main sed command (meant for
52267 # 0-ary CPP macros) applies to n-ary macro definitions.
52268 # See the Autoconf documentation for `clear'.
52269 cat >confdef2sed.sed <<\_ACEOF
52270 s/[\\&,]/\\&/g
52271 s,[\\$`],\\&,g
52272 t clear
52273 : clear
52274 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52275 t end
52276 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52277 : end
52278 _ACEOF
52279 # If some macros were called several times there might be several times
52280 # the same #defines, which is useless. Nevertheless, we may not want to
52281 # sort them, since we want the *last* AC-DEFINE to be honored.
52282 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52283 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52284 rm -f confdef2sed.sed
52285
52286 # This sed command replaces #undef with comments. This is necessary, for
52287 # example, in the case of _POSIX_SOURCE, which is predefined and required
52288 # on some systems where configure will not decide to define it.
52289 cat >>conftest.undefs <<\_ACEOF
52290 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52291 _ACEOF
52292
52293 # Break up conftest.defines because some shells have a limit on the size
52294 # of here documents, and old seds have small limits too (100 cmds).
52295 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52296 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52297 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52298 echo ' :' >>$CONFIG_STATUS
52299 rm -f conftest.tail
52300 while grep . conftest.defines >/dev/null
52301 do
52302 # Write a limited-size here document to $tmp/defines.sed.
52303 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52304 # Speed up: don't consider the non `#define' lines.
52305 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52306 # Work around the forget-to-reset-the-flag bug.
52307 echo 't clr' >>$CONFIG_STATUS
52308 echo ': clr' >>$CONFIG_STATUS
52309 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52310 echo 'CEOF
52311 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52312 rm -f $tmp/in
52313 mv $tmp/out $tmp/in
52314 ' >>$CONFIG_STATUS
52315 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52316 rm -f conftest.defines
52317 mv conftest.tail conftest.defines
52318 done
52319 rm -f conftest.defines
52320 echo ' fi # grep' >>$CONFIG_STATUS
52321 echo >>$CONFIG_STATUS
52322
52323 # Break up conftest.undefs because some shells have a limit on the size
52324 # of here documents, and old seds have small limits too (100 cmds).
52325 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52326 rm -f conftest.tail
52327 while grep . conftest.undefs >/dev/null
52328 do
52329 # Write a limited-size here document to $tmp/undefs.sed.
52330 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52331 # Speed up: don't consider the non `#undef'
52332 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52333 # Work around the forget-to-reset-the-flag bug.
52334 echo 't clr' >>$CONFIG_STATUS
52335 echo ': clr' >>$CONFIG_STATUS
52336 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52337 echo 'CEOF
52338 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52339 rm -f $tmp/in
52340 mv $tmp/out $tmp/in
52341 ' >>$CONFIG_STATUS
52342 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52343 rm -f conftest.undefs
52344 mv conftest.tail conftest.undefs
52345 done
52346 rm -f conftest.undefs
52347
52348 cat >>$CONFIG_STATUS <<\_ACEOF
52349 # Let's still pretend it is `configure' which instantiates (i.e., don't
52350 # use $as_me), people would be surprised to read:
52351 # /* config.h. Generated by config.status. */
52352 if test x"$ac_file" = x-; then
52353 echo "/* Generated by configure. */" >$tmp/config.h
52354 else
52355 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52356 fi
52357 cat $tmp/in >>$tmp/config.h
52358 rm -f $tmp/in
52359 if test x"$ac_file" != x-; then
52360 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52361 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52362 echo "$as_me: $ac_file is unchanged" >&6;}
52363 else
52364 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52365 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52366 X"$ac_file" : 'X\(//\)[^/]' \| \
52367 X"$ac_file" : 'X\(//\)$' \| \
52368 X"$ac_file" : 'X\(/\)' \| \
52369 . : '\(.\)' 2>/dev/null ||
52370 echo X"$ac_file" |
52371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52373 /^X\(\/\/\)$/{ s//\1/; q; }
52374 /^X\(\/\).*/{ s//\1/; q; }
52375 s/.*/./; q'`
52376 { if $as_mkdir_p; then
52377 mkdir -p "$ac_dir"
52378 else
52379 as_dir="$ac_dir"
52380 as_dirs=
52381 while test ! -d "$as_dir"; do
52382 as_dirs="$as_dir $as_dirs"
52383 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52385 X"$as_dir" : 'X\(//\)[^/]' \| \
52386 X"$as_dir" : 'X\(//\)$' \| \
52387 X"$as_dir" : 'X\(/\)' \| \
52388 . : '\(.\)' 2>/dev/null ||
52389 echo X"$as_dir" |
52390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52392 /^X\(\/\/\)$/{ s//\1/; q; }
52393 /^X\(\/\).*/{ s//\1/; q; }
52394 s/.*/./; q'`
52395 done
52396 test ! -n "$as_dirs" || mkdir $as_dirs
52397 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52398 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52399 { (exit 1); exit 1; }; }; }
52400
52401 rm -f $ac_file
52402 mv $tmp/config.h $ac_file
52403 fi
52404 else
52405 cat $tmp/config.h
52406 rm -f $tmp/config.h
52407 fi
52408 done
52409 _ACEOF
52410 cat >>$CONFIG_STATUS <<\_ACEOF
52411
52412 #
52413 # CONFIG_COMMANDS section.
52414 #
52415 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52416 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52417 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52418 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52419 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52420 X"$ac_dest" : 'X\(//\)[^/]' \| \
52421 X"$ac_dest" : 'X\(//\)$' \| \
52422 X"$ac_dest" : 'X\(/\)' \| \
52423 . : '\(.\)' 2>/dev/null ||
52424 echo X"$ac_dest" |
52425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52426 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52427 /^X\(\/\/\)$/{ s//\1/; q; }
52428 /^X\(\/\).*/{ s//\1/; q; }
52429 s/.*/./; q'`
52430 { if $as_mkdir_p; then
52431 mkdir -p "$ac_dir"
52432 else
52433 as_dir="$ac_dir"
52434 as_dirs=
52435 while test ! -d "$as_dir"; do
52436 as_dirs="$as_dir $as_dirs"
52437 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52438 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52439 X"$as_dir" : 'X\(//\)[^/]' \| \
52440 X"$as_dir" : 'X\(//\)$' \| \
52441 X"$as_dir" : 'X\(/\)' \| \
52442 . : '\(.\)' 2>/dev/null ||
52443 echo X"$as_dir" |
52444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52445 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52446 /^X\(\/\/\)$/{ s//\1/; q; }
52447 /^X\(\/\).*/{ s//\1/; q; }
52448 s/.*/./; q'`
52449 done
52450 test ! -n "$as_dirs" || mkdir $as_dirs
52451 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52452 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52453 { (exit 1); exit 1; }; }; }
52454
52455 ac_builddir=.
52456
52457 if test "$ac_dir" != .; then
52458 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52459 # A "../" for each directory in $ac_dir_suffix.
52460 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52461 else
52462 ac_dir_suffix= ac_top_builddir=
52463 fi
52464
52465 case $srcdir in
52466 .) # No --srcdir option. We are building in place.
52467 ac_srcdir=.
52468 if test -z "$ac_top_builddir"; then
52469 ac_top_srcdir=.
52470 else
52471 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52472 fi ;;
52473 [\\/]* | ?:[\\/]* ) # Absolute path.
52474 ac_srcdir=$srcdir$ac_dir_suffix;
52475 ac_top_srcdir=$srcdir ;;
52476 *) # Relative path.
52477 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52478 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52479 esac
52480
52481 # Do not use `cd foo && pwd` to compute absolute paths, because
52482 # the directories may not exist.
52483 case `pwd` in
52484 .) ac_abs_builddir="$ac_dir";;
52485 *)
52486 case "$ac_dir" in
52487 .) ac_abs_builddir=`pwd`;;
52488 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52489 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52490 esac;;
52491 esac
52492 case $ac_abs_builddir in
52493 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52494 *)
52495 case ${ac_top_builddir}. in
52496 .) ac_abs_top_builddir=$ac_abs_builddir;;
52497 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52498 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52499 esac;;
52500 esac
52501 case $ac_abs_builddir in
52502 .) ac_abs_srcdir=$ac_srcdir;;
52503 *)
52504 case $ac_srcdir in
52505 .) ac_abs_srcdir=$ac_abs_builddir;;
52506 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52507 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52508 esac;;
52509 esac
52510 case $ac_abs_builddir in
52511 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52512 *)
52513 case $ac_top_srcdir in
52514 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52515 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52516 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52517 esac;;
52518 esac
52519
52520
52521 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52522 echo "$as_me: executing $ac_dest commands" >&6;}
52523 case $ac_dest in
52524 rcdefs.h )
52525 mkdir -p $outdir &&
52526 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52527 ;;
52528 wx-config ) rm -f wx-config
52529 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52530 ;;
52531 esac
52532 done
52533 _ACEOF
52534
52535 cat >>$CONFIG_STATUS <<\_ACEOF
52536
52537 { (exit 0); exit 0; }
52538 _ACEOF
52539 chmod +x $CONFIG_STATUS
52540 ac_clean_files=$ac_clean_files_save
52541
52542
52543 # configure is writing to config.log, and then calls config.status.
52544 # config.status does its own redirection, appending to config.log.
52545 # Unfortunately, on DOS this fails, as config.log is still kept open
52546 # by configure, so config.status won't be able to write to it; its
52547 # output is simply discarded. So we exec the FD to /dev/null,
52548 # effectively closing config.log, so it can be properly (re)opened and
52549 # appended to by config.status. When coming back to configure, we
52550 # need to make the FD available again.
52551 if test "$no_create" != yes; then
52552 ac_cs_success=:
52553 ac_config_status_args=
52554 test "$silent" = yes &&
52555 ac_config_status_args="$ac_config_status_args --quiet"
52556 exec 5>/dev/null
52557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52558 exec 5>>config.log
52559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52560 # would make configure fail if this is the last instruction.
52561 $ac_cs_success || { (exit 1); exit 1; }
52562 fi
52563
52564 #
52565 # CONFIG_SUBDIRS section.
52566 #
52567 if test "$no_recursion" != yes; then
52568
52569 # Remove --cache-file and --srcdir arguments so they do not pile up.
52570 ac_sub_configure_args=
52571 ac_prev=
52572 for ac_arg in $ac_configure_args; do
52573 if test -n "$ac_prev"; then
52574 ac_prev=
52575 continue
52576 fi
52577 case $ac_arg in
52578 -cache-file | --cache-file | --cache-fil | --cache-fi \
52579 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52580 ac_prev=cache_file ;;
52581 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52582 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52583 | --c=*)
52584 ;;
52585 --config-cache | -C)
52586 ;;
52587 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52588 ac_prev=srcdir ;;
52589 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52590 ;;
52591 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52592 ac_prev=prefix ;;
52593 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52594 ;;
52595 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52596 esac
52597 done
52598
52599 # Always prepend --prefix to ensure using the same prefix
52600 # in subdir configurations.
52601 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52602
52603 ac_popdir=`pwd`
52604 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52605
52606 # Do not complain, so a configure script can configure whichever
52607 # parts of a large source tree are present.
52608 test -d $srcdir/$ac_dir || continue
52609
52610 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52611 echo "$as_me: configuring in $ac_dir" >&6;}
52612 { if $as_mkdir_p; then
52613 mkdir -p "$ac_dir"
52614 else
52615 as_dir="$ac_dir"
52616 as_dirs=
52617 while test ! -d "$as_dir"; do
52618 as_dirs="$as_dir $as_dirs"
52619 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52621 X"$as_dir" : 'X\(//\)[^/]' \| \
52622 X"$as_dir" : 'X\(//\)$' \| \
52623 X"$as_dir" : 'X\(/\)' \| \
52624 . : '\(.\)' 2>/dev/null ||
52625 echo X"$as_dir" |
52626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52628 /^X\(\/\/\)$/{ s//\1/; q; }
52629 /^X\(\/\).*/{ s//\1/; q; }
52630 s/.*/./; q'`
52631 done
52632 test ! -n "$as_dirs" || mkdir $as_dirs
52633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52635 { (exit 1); exit 1; }; }; }
52636
52637 ac_builddir=.
52638
52639 if test "$ac_dir" != .; then
52640 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52641 # A "../" for each directory in $ac_dir_suffix.
52642 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52643 else
52644 ac_dir_suffix= ac_top_builddir=
52645 fi
52646
52647 case $srcdir in
52648 .) # No --srcdir option. We are building in place.
52649 ac_srcdir=.
52650 if test -z "$ac_top_builddir"; then
52651 ac_top_srcdir=.
52652 else
52653 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52654 fi ;;
52655 [\\/]* | ?:[\\/]* ) # Absolute path.
52656 ac_srcdir=$srcdir$ac_dir_suffix;
52657 ac_top_srcdir=$srcdir ;;
52658 *) # Relative path.
52659 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52660 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52661 esac
52662
52663 # Do not use `cd foo && pwd` to compute absolute paths, because
52664 # the directories may not exist.
52665 case `pwd` in
52666 .) ac_abs_builddir="$ac_dir";;
52667 *)
52668 case "$ac_dir" in
52669 .) ac_abs_builddir=`pwd`;;
52670 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52671 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52672 esac;;
52673 esac
52674 case $ac_abs_builddir in
52675 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52676 *)
52677 case ${ac_top_builddir}. in
52678 .) ac_abs_top_builddir=$ac_abs_builddir;;
52679 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52680 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52681 esac;;
52682 esac
52683 case $ac_abs_builddir in
52684 .) ac_abs_srcdir=$ac_srcdir;;
52685 *)
52686 case $ac_srcdir in
52687 .) ac_abs_srcdir=$ac_abs_builddir;;
52688 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52689 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52690 esac;;
52691 esac
52692 case $ac_abs_builddir in
52693 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52694 *)
52695 case $ac_top_srcdir in
52696 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52697 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52698 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52699 esac;;
52700 esac
52701
52702
52703 cd $ac_dir
52704
52705 # Check for guested configure; otherwise get Cygnus style configure.
52706 if test -f $ac_srcdir/configure.gnu; then
52707 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52708 elif test -f $ac_srcdir/configure; then
52709 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52710 elif test -f $ac_srcdir/configure.in; then
52711 ac_sub_configure=$ac_configure
52712 else
52713 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52714 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52715 ac_sub_configure=
52716 fi
52717
52718 # The recursion is here.
52719 if test -n "$ac_sub_configure"; then
52720 # Make the cache file name correct relative to the subdirectory.
52721 case $cache_file in
52722 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52723 *) # Relative path.
52724 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52725 esac
52726
52727 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52728 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52729 # The eval makes quoting arguments work.
52730 eval $ac_sub_configure $ac_sub_configure_args \
52731 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52732 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52733 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52734 { (exit 1); exit 1; }; }
52735 fi
52736
52737 cd "$ac_popdir"
52738 done
52739 fi
52740
52741
52742 echo
52743 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52744 echo ""
52745 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52746 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52747
52748 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52749 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52750 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52751
52752 echo " What level of wxWidgets compatibility should be enabled?"
52753 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52754 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52755
52756 echo " Which libraries should wxWidgets use?"
52757 echo " jpeg ${wxUSE_LIBJPEG-none}"
52758 echo " png ${wxUSE_LIBPNG-none}"
52759 echo " regex ${wxUSE_REGEX}"
52760 echo " tiff ${wxUSE_LIBTIFF-none}"
52761 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52762 echo " xpm ${wxUSE_LIBXPM-none}"
52763 fi
52764 echo " zlib ${wxUSE_ZLIB}"
52765 echo " odbc ${wxUSE_ODBC}"
52766 echo " expat ${wxUSE_EXPAT}"
52767 echo " libmspack ${wxUSE_LIBMSPACK}"
52768 echo " sdl ${wxUSE_LIBSDL}"
52769
52770 echo ""
52771